/* ARCTECH landing page (modern styling)
   Keeps dependencies minimal and uses your existing assets under assets/img/. */

:root {
  --brand: #D50C2D;
  --brand-2: #FF4A5E;
  --text: #0b1220;
  --muted: #4b5563;
  --bg: #f7f8fb;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 14px 35px rgba(2, 6, 23, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  z-index: 99999;
}
.skip-link:focus {
  left: 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.brand-title {
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 14px;
  text-transform: uppercase;
}
.brand-title span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.4px;
  margin-top: 2px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-desktop a {
  font-weight: 700;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:hover {
  color: var(--brand);
  border-bottom-color: rgba(213, 12, 45, 0.4);
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Details-based mobile menu (no JS needed) */
.nav-details {
  display: none;
  position: relative;
}

.nav-summary {
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 13px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 42px;
  gap: 10px;
}

.btn-ghost__label {
  display: inline;
}

.nav-summary__label {
  display: inline;
}

.nav-details summary::-webkit-details-marker {
  display: none;
}

.nav-details[open] .nav-summary {
  border-color: rgba(213, 12, 45, 0.35);
}

.nav-panel {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

.nav-panel a {
  display: flex;
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.84);
}
.nav-panel a:hover {
  background: rgba(213, 12, 45, 0.08);
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.08s ease-in-out, background 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 12px 26px rgba(213, 12, 45, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #B00922, var(--brand-2));
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  border-color: rgba(213, 12, 45, 0.35);
}

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 50px 0 30px;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.90) 0%, rgba(11, 18, 32, 0.55) 48%, rgba(11, 18, 32, 0.2) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 300px at 20% 30%, rgba(213, 12, 45, 0.35), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.hero-copy {
  color: #fff;
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12px;
  margin-bottom: 16px;
}

.kicker .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(213, 12, 45, 0.2);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.7px;
}

.hero p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hero-media {
  display: grid;
  gap: 14px;
}

.media-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
}

.media-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.media-card__caption {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.media-card__caption strong {
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.media-card__caption span {
  font-weight: 800;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: -0.4px;
}

.section-subtitle {
  margin: 12px 0 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.about-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0b1220;
  min-height: 420px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.02);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(11, 18, 32, 0.75) 100%);
  pointer-events: none;
}

.about-media__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12px;
}

.about-copy {
  padding: 26px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(213, 12, 45, 0.04);
}

.feature i {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(213, 12, 45, 0.12);
  color: var(--brand);
  font-size: 16px;
}

.feature strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.feature span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.stat {
  flex: 1 1 160px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
}

.stat b {
  font-size: 28px;
  letter-spacing: -0.4px;
}

.stat small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 8px;
}

/* Services */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.05);
}

.service-card__media {
  position: relative;
  height: 170px;
  background: #0b1220;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
  transform: scale(1.02);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(11, 18, 32, 0.55) 100%);
}

.service-card__body {
  padding: 14px 16px 18px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Highlight CTA */
.cta-strip {
  border-radius: var(--radius);
  border: 1px solid rgba(213, 12, 45, 0.18);
  background: linear-gradient(135deg, rgba(213, 12, 45, 0.14), rgba(213, 12, 45, 0.06));
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cta-strip strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.cta-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

details.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
  padding: 14px 16px;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

details.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.contact-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 460px;
  background: #0b1220;
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.25) 0%, rgba(11, 18, 32, 0.75) 100%);
}

.contact-media__overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
}

.contact-media__overlay strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.contact-media__overlay .contact-lines {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-lines a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}
.contact-lines a:hover {
  color: #fff;
}

.contact-panel {
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.75);
}

input,
select,
textarea {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 12px 12px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 14px;
  flex-wrap: wrap;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background-size: cover;
  background-position: center;
}

.footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.footer a {
  color: #fff;
}

/* Responsiveness */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media .media-card img {
    height: 240px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-desktop {
    display: none;
  }

  /* Hide "Call Now" in mobile header */
  .header-cta .btn-ghost {
    display: none;
  }

  .nav-details {
    display: block;
  }

  .header-inner {
    padding: 10px 0;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 12px;
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.2;
  }

  .brand-title span {
    display: none;
  }

  .header-cta {
    gap: 8px;
    padding-right: 6px;
  }

  .btn-ghost {
    padding: 10px 12px;
    min-width: 110px;
    min-height: 42px;
  }

  .btn-ghost__label {
    display: none;
  }

  .nav-summary {
    padding: 10px 16px;
    min-width: 110px;
    min-height: 42px;
  }

  .nav-summary__label {
    display: none;
  }

  .nav-panel {
    position: absolute;
    right: 10px;
    left: auto;
    top: calc(100% + 10px);
    width: 230px;
    margin-top: 0;
  }

  /* Emergency Shutdown CTA */
  .cta-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }

  .cta-strip strong {
    font-size: 13px;
  }

  .cta-strip span {
    font-size: 14px;
    margin-top: 6px;
  }

  .cta-strip .btn-primary {
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
  }
}

