/* =============================================================================
   Mitchell's Engineering — premium design system
   Brand: navy #000c3e · blue #375ae6 · ember #ff9a3d
   Type:  Chakra Petch (display) · Archivo (body)
   ========================================================================== */

:root {
  /* brand */
  --navy:        #000c3e;
  --navy-700:    #071a52;
  --navy-800:    #04113d;
  --navy-900:    #030b2b;
  --blue:        #375ae6;
  --blue-600:    #2b49c4;
  --blue-400:    #5b7bf0;
  --blue-300:    #7fb0ff;
  --blue-200:    #a9c6ff;
  --ember:       #ff9a3d;
  --ember-600:   #ff8123;
  --whatsapp:    #25d366;

  /* ink / surfaces */
  --ink:         #000c3e;
  --ink-70:      rgba(0,12,62,.70);
  --ink-55:      rgba(0,12,62,.55);
  --ink-45:      rgba(0,12,62,.45);
  --line:        rgba(0,12,62,.10);
  --line-soft:   rgba(0,12,62,.07);
  --bg:          #ffffff;
  --bg-soft:     #f4f6fc;
  --bg-tint:     #eef2fc;

  /* on-dark */
  --on-dark:     #f5f8ff;
  --on-dark-72:  rgba(255,255,255,.72);
  --on-dark-60:  rgba(255,255,255,.60);
  --on-dark-line:rgba(255,255,255,.12);

  /* type scale (fluid) */
  --fs-eyebrow:  .78rem;
  --fs-body:     1.0625rem;
  --fs-lead:     clamp(1.06rem, 1.5vw, 1.28rem);
  --fs-h3:       1.31rem;
  --fs-h2:       clamp(1.95rem, 4vw, 2.9rem);
  --fs-h1:       clamp(2.4rem, 5.6vw, 4.3rem);
  --fs-display:  clamp(2.6rem, 6vw, 4.6rem);

  /* space */
  --container:   1240px;
  --gutter:      24px;
  --section-y:   clamp(64px, 9vw, 116px);

  /* radii */
  --r-sm: 8px;  --r: 12px;  --r-lg: 16px;  --r-xl: 22px;  --r-pill: 999px;

  /* elevation */
  --sh-sm:   0 2px 8px rgba(0,12,62,.06);
  --sh-card: 0 12px 40px rgba(0,12,62,.08);
  --sh-hover:0 26px 60px rgba(0,12,62,.16);
  --sh-nav:  0 10px 40px rgba(0,12,62,.10);

  /* motion */
  --ease: cubic-bezier(.22,.72,.2,1);
  --dur:  .28s;

  --font-display: 'Chakra Petch', 'Archivo', system-ui, sans-serif;
  --font-body:    'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure { margin: 0; }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; line-height: 1.05; }
h3, h4 { font-family: var(--font-body); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section   { padding: var(--section-y) 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 14px;
}
.eyebrow--light { color: var(--blue-300); }
.section-head { max-width: 660px; margin: 0 0 clamp(40px, 5vw, 56px); }
.section-head h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); color: var(--ink-70); line-height: 1.62; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 30px; border-radius: var(--r); border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-400), var(--blue));
  box-shadow: 0 10px 26px rgba(55,90,230,.34), inset 0 1px 0 rgba(255,255,255,.22);
  color: #fff;
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(55,90,230,.42), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-ghost { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.15); border-color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--sh-card); }
.btn-light:hover { color: var(--navy); transform: translateY(-2px); box-shadow: var(--sh-hover); }
.btn-wa:hover { color: #fff; border-color: var(--whatsapp); box-shadow: 0 14px 30px rgba(37,211,102,.28); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn:active { transform: translateY(0); }

/* ---------- pills / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill); padding: 9px 17px;
  color: #fff; font-size: .86rem; font-weight: 500;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.chip svg { width: 14px; height: 14px; }
.stars { color: var(--ember); letter-spacing: 2px; }

/* =============================================================================
   NAV
   ========================================================================== */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  --nav-fg: #fff;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.site-nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-nav.is-scrolled {
  background: rgba(4,11,45,.82);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 12px 40px rgba(0,0,0,.35);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand__mark { height: 40px; width: auto; mix-blend-mode: screen; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.brand__lockup { height: 40px; width: auto; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: .01em; color: var(--nav-fg); }
.brand__name span { font-weight: 600; font-size: .58rem; letter-spacing: .34em; color: var(--blue-300); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  position: relative; color: var(--nav-fg); opacity: .92; font-weight: 500; font-size: .95rem;
  padding: 6px 2px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--blue-300); transition: right var(--dur) var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; opacity: 1; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link svg { width: 11px; height: 11px; transition: transform var(--dur) var(--ease); }

.has-drop { position: relative; }
.has-drop:hover .nav-link svg, .has-drop:focus-within .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 264px; background: #fff; border-radius: var(--r); padding: 8px;
  box-shadow: 0 22px 60px rgba(0,12,62,.22); border: 1px solid rgba(0,12,62,.06);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content:""; position:absolute; top:-14px; left:0; right:0; height:14px; }
.dropdown a { display: block; padding: 11px 14px; border-radius: var(--r-sm); color: var(--navy); font-weight: 600; font-size: .9rem; }
.dropdown a span { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-55); margin-top: 3px; }
.dropdown a:hover { background: var(--bg-tint); color: var(--blue); }

.nav-phone { color: var(--nav-fg); font-weight: 600; font-size: .95rem; }
.nav-phone:hover { color: #fff; }

.nav-burger { display: none; background: transparent; border: 0; color: var(--nav-fg); cursor: pointer; padding: 8px; margin: -8px; }
.nav-burger svg { width: 26px; height: 26px; }

.mobile-menu {
  display: none; background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08);
  padding: 8px var(--gutter) 26px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font-weight: 600; font-size: 1.06rem; }
.mobile-menu a.mm-cta { text-align: center; margin-top: 18px; background: var(--blue); border-radius: var(--r); border: 0; padding: 15px; }

/* =============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--navy-900); overflow: hidden; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,11,43,.62) 0%, rgba(3,11,43,.5) 42%, rgba(3,11,43,.92) 100%),
    radial-gradient(ellipse 60% 40% at 50% 116%, rgba(55,90,230,.4), transparent 72%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(143,181,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143,181,255,.07) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 82% 88% at 50% 32%, #000 32%, transparent 92%);
  mask-image: radial-gradient(ellipse 82% 88% at 50% 32%, #000 32%, transparent 92%);
}
.hero__sparks { position: absolute; inset: 0; pointer-events: none; }
.hero__inner {
  position: relative; z-index: 3; width: 100%; max-width: 1000px; margin: 0 auto;
  padding: 148px var(--gutter) 110px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(12px,1.4vw,14px);
  letter-spacing: .34em; color: var(--blue-300); margin-bottom: 24px;
}
.hero h1 { color: #fff; font-size: var(--fs-h1); max-width: 15ch; margin-bottom: 22px; }
.hero h1 .accent {
  display: block;
  background: linear-gradient(92deg, var(--ember) 0%, #ffb765 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { color: var(--on-dark-72); font-size: var(--fs-lead); max-width: 62ch; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__chips { margin-top: 34px; justify-content: center; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  color: var(--on-dark-60); display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
}
.scroll-cue svg { width: 20px; height: 20px; animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(6px); } }

/* =============================================================================
   TRUST BAR
   ========================================================================== */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar__inner { padding: 24px var(--gutter); display: flex; align-items: center; justify-content: center; gap: 14px 20px; flex-wrap: wrap; text-align: center; }
.trustbar__label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.trustbar__sectors { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem,2vw,1.28rem); color: var(--navy); display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trustbar__sectors i { color: var(--blue); font-style: normal; }

/* =============================================================================
   SERVICES
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 26px; }
.svc-card {
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-card); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-hover); border-color: rgba(55,90,230,.28); color: var(--ink); }
.svc-card__img { aspect-ratio: 16/11; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: 10px; }
.svc-card p { font-size: .95rem; color: var(--ink-70); margin-bottom: 18px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.svc-card:hover .more svg { transform: translateX(4px); }

/* =============================================================================
   WHY US (dark)
   ========================================================================== */
.section-dark { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.section-dark__photo { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; opacity: .18; }
.section-dark__veil { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 38%, rgba(0,12,62,.35) 100%); }
.section-dark > .container { position: relative; }
.feature-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 560px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--navy); padding: 32px 28px; transition: background var(--dur) var(--ease); }
.feature:hover { background: var(--navy-700); }
.feature__ic { color: var(--blue-300); margin-bottom: 14px; display: inline-flex; }
.feature__ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: .9rem; line-height: 1.55; color: var(--on-dark-60); }

/* =============================================================================
   STATS
   ========================================================================== */
.stats { background: linear-gradient(120deg, var(--blue), var(--blue-600)); color: #fff; }
.stats__inner { padding: clamp(48px,6vw,76px) var(--gutter); display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: clamp(64px,12vw,140px); text-align: center; }
@media (max-width: 440px) { .stats__inner { grid-template-columns: 1fr; gap: 34px; } }
.stat__n { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.stat__l { font-size: .88rem; color: rgba(255,255,255,.85); margin-top: 8px; font-weight: 500; }

/* =============================================================================
   PROCESS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
.step { border-top: 3px solid var(--line); padding-top: 22px; transition: border-color var(--dur) var(--ease); }
.step--active, .step:hover { border-top-color: var(--blue); }
.step__n { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--blue); letter-spacing: .06em; margin-bottom: 14px; }
.step h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 9px; }
.step p { font-size: .95rem; color: var(--ink-70); }

/* =============================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-sm); }
.testi__stars { color: var(--blue); letter-spacing: 2px; font-size: 1rem; margin-bottom: 14px; }
.testi p { font-size: .98rem; line-height: 1.62; color: var(--ink); margin-bottom: 20px; }
.testi__who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .92rem; flex: none; }
.testi__who b { display: block; font-size: .92rem; }
.testi__who small { color: var(--ink-45); font-size: .8rem; }

/* =============================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: 0; cursor: pointer; font-family: var(--font-body);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; text-align: left; color: var(--navy); font-size: 1.12rem; font-weight: 600;
}
.faq-q__ic { color: var(--blue); flex: none; transition: transform var(--dur) var(--ease); }
.faq-q__ic svg { width: 22px; height: 22px; }
.faq-item.is-open .faq-q__ic { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.faq-a p { font-size: .98rem; line-height: 1.65; color: var(--ink-70); padding: 0 0 24px; }

/* =============================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.cta-band__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta-band__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,12,62,.82), rgba(3,11,43,.94)); }
.cta-band__inner { position: relative; max-width: 900px; margin: 0 auto; padding: clamp(64px,9vw,108px) var(--gutter); text-align: center; }
.cta-band h2 { font-size: clamp(2rem,4.6vw,3.2rem); margin-bottom: 16px; }
.cta-band p { font-size: var(--fs-lead); color: var(--on-dark-72); margin-bottom: 34px; }
.cta-band .hero__cta { justify-content: center; }

/* =============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-900); color: #fff; }
.footer__top { max-width: var(--container); margin: 0 auto; padding: 72px var(--gutter) 44px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer .brand { margin-bottom: 18px; }
.footer .brand__lockup { height: 46px; }
.footer .brand__name b, .footer .brand__name span { color: #fff; }
.footer .brand__name span { color: var(--blue-300); }
.footer__blurb { color: var(--on-dark-60); font-size: .95rem; line-height: 1.7; max-width: 340px; margin: 0 0 22px; }
.footer__contact { display: flex; flex-direction: column; gap: 9px; }
.footer h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--blue-300); margin: 0 0 16px; font-weight: 700; }
.footlink { display: block; color: var(--on-dark-60); font-size: .92rem; line-height: 2.05; }
.footlink:hover { color: var(--blue-300); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar-inner { max-width: var(--container); margin: 0 auto; padding: 22px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__bar span { color: rgba(255,255,255,.42); font-size: .8rem; }

/* =============================================================================
   MOBILE ACTION BAR
   ========================================================================== */
.action-bar { display: none; position: fixed; inset: auto 0 0 0; z-index: 1500; box-shadow: 0 -6px 24px rgba(0,0,0,.24); }
.action-bar > div { display: grid; grid-template-columns: 1fr 1fr; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 9px; color: #fff; font-weight: 600; font-size: 1rem; padding: 16px 12px; min-height: 52px; }
.action-bar a svg { width: 19px; height: 19px; }
.ab-call { background: var(--navy); }
.ab-wa { background: var(--whatsapp); }

/* =============================================================================
   REVEAL
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal-d="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-d="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-d="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scroll-cue svg { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .action-bar { display: block; }
  body { padding-bottom: 52px; } /* room for fixed action bar */
  .hero__inner { padding-top: 120px; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band .btn { width: 100%; }
}
@media (min-width: 761px) {
  .action-bar { display: none !important; }
}

/* =============================================================================
   SUB-PAGES (service + contact)
   ========================================================================== */
.subhero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; }
.subhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subhero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,12,62,.78) 0%, rgba(0,12,62,.5) 40%, rgba(3,11,43,.94) 100%); }
.subhero__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 150px var(--gutter) 62px; width: 100%; }
.subhero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 20ch; }
.subhero__lead { color: var(--on-dark-72); font-size: var(--fs-lead); margin-top: 20px; max-width: 64ch; }
.subhero--contact { min-height: 0; }
.subhero--contact .subhero__img { opacity: .28; }
.subhero--contact .subhero__veil { background: linear-gradient(180deg, rgba(0,12,62,.82), rgba(3,11,43,.95)); }

.breadcrumb { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue-300); }
.breadcrumb a:hover { color: #fff; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(40px, 5vw, 56px); align-items: start; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 22px; }
.prose p { font-size: 1.02rem; line-height: 1.75; color: var(--ink-70); margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.spec-card { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 36px); }
.spec-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 22px; }
.spec-list { display: flex; flex-direction: column; gap: 16px; }
.spec-item { display: flex; gap: 13px; align-items: flex-start; font-size: .98rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.spec-item svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--blue); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.related-card { display: flex; gap: 20px; align-items: center; background: #fff; color: var(--ink); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); color: var(--ink); }
.related-card:hover .more svg { transform: translateX(4px); }
.related-card img { width: 130px; height: 130px; object-fit: cover; flex: none; }
.related-card__body { padding: 18px 18px 18px 0; }
.related-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.related-card .more { margin-top: 0; }

.quote-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(40px, 5vw, 52px); align-items: start; }
.contact-line { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-line a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.contact-line a:hover { color: var(--ink); }
.contact-line .ic { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.contact-line .ic svg { width: 18px; height: 18px; }
.ic-navy { background: var(--navy); }
.ic-blue { background: var(--blue); }

/* FORM */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); box-shadow: var(--sh-card); }
.quote-form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; }
.label { font-size: .78rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.label .opt { font-weight: 400; color: var(--ink-45); }
.input { width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff; border: 1.5px solid rgba(0,12,62,.16); border-radius: 9px; padding: 13px 14px; outline: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.input::placeholder { color: rgba(0,12,62,.4); }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(55,90,230,.12); }
.input.invalid { border-color: #c8321f; }
textarea.input { resize: vertical; min-height: 104px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000c3e' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field-err { color: #c8321f; font-size: .75rem; margin-top: 5px; }
.form-note { text-align: center; font-size: .75rem; color: var(--ink-45); margin-top: 2px; }
.form-success { text-align: center; padding: 38px 26px; }
.form-success__ic { width: 60px; height: 60px; border-radius: 50%; background: rgba(55,90,230,.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: var(--blue); }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--ink-55); font-size: .95rem; line-height: 1.6; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 32px; }
.info-card h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin-bottom: 24px; }
.info-row { display: flex; gap: 15px; align-items: center; color: #fff; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row:hover { color: #fff; }
.info-row .ic { width: 46px; height: 46px; border-radius: 11px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex: none; color: var(--blue-300); }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .ic-wa { background: var(--blue); color: #fff; }
.info-row small { display: block; font-size: .72rem; color: rgba(255,255,255,.55); letter-spacing: .05em; text-transform: uppercase; }
.info-row b { font-size: 1.02rem; font-weight: 600; }
.info-row b.break { word-break: break-all; font-size: .95rem; }
.where-card { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px; }
.where-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.where-card p { font-size: .95rem; line-height: 1.6; color: var(--ink-70); margin-bottom: 14px; }
.where-card .status { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink); font-weight: 500; }
.where-card .dot { width: 9px; height: 9px; border-radius: 50%; background: #2fae5f; }

@media (max-width: 760px) {
  .subhero__inner { padding-top: 120px; }
  .related-card img { width: 104px; height: 104px; }
}
