/* ==========================================================================
   Future Technology Holdings Enterprise - site styles
   Palette from the brand deck: navy #12173F, ink #1E2761, blue #3B54C4,
   teal #3FD9C0, logo orange #E8641B, light #F4F6FC.
   ========================================================================== */

:root {
  --navy: #12173F;
  --ink: #1E2761;
  --blue: #3B54C4;
  --blue-2: #5568D6;
  --blue-3: #6A7CE0;
  --blue-soft: #CADCFC;
  --teal: #3FD9C0;
  --teal-dark: #1FB39B;
  --orange: #E8641B;
  --slate: #38414B;
  --light: #F4F6FC;
  --white: #FFFFFF;
  --text: #1B2038;
  --muted: #5B6480;
  --line: #E1E6F5;

  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(18, 23, 63, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 23, 63, 0.18);
  --container: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: var(--navy);
  padding: .5rem 1rem; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-head);
  font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  line-height: 1.2; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(59, 84, 196, .35); }
.btn-primary:hover { background: #2f45ad; }
.btn-teal { background: var(--teal); color: var(--navy); box-shadow: 0 8px 20px rgba(63, 217, 192, .35); }
.btn-teal:hover { background: #5ce3cd; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: .65rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.link-btn { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(18, 23, 63, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(18, 23, 63, .96); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand-mark { width: 84px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: .06em; white-space: nowrap; }
.brand-sub { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-top: .25rem; white-space: nowrap; }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.25rem; }
.nav-menu a:not(.btn) {
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: .9rem; position: relative; padding: .4rem 0; white-space: nowrap;
}
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-menu a:not(.btn):hover::after, .nav-menu a.is-active::after { transform: scaleX(1); }
.nav-menu a.is-active { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu li { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-menu li a:not(.btn) { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .nav-menu .nav-cta { border: 0; padding-top: 1rem; }
  .nav-menu .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 80% -10%, #2a3a9a 0%, transparent 60%),
              linear-gradient(160deg, #0f1436 0%, var(--navy) 45%, #1a2570 100%);
  color: #fff; overflow: hidden; padding: 5rem 0 4rem;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -120px; top: 10%;
  background: radial-gradient(circle, rgba(63,217,192,.28), transparent 65%); filter: blur(10px); pointer-events: none;
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-24px) } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero .accent { color: var(--orange); }
.hero .accent-teal { color: var(--teal); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin-bottom: 1.2rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(63,217,192,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63,217,192,.6) } 100% { box-shadow: 0 0 0 12px rgba(63,217,192,0) } }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--teal); line-height: 1.1; white-space: nowrap; }
.hero-stats span { font-size: .85rem; color: rgba(255,255,255,.8); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.logo-card {
  background: #fff; border-radius: 24px; padding: 2rem 2.4rem 1.8rem; box-shadow: var(--shadow-lg);
  transform: rotate(-2deg); animation: rise 1s var(--ease) both .2s; max-width: 440px; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.logo-card img { width: 78%; }
.lockup-name { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 8vw, 6rem); letter-spacing: .08em; color: var(--slate); line-height: .95; margin-top: -.4rem; }
.lockup-sub { font-family: var(--font-head); font-weight: 700; font-size: clamp(.8rem, 1.5vw, 1rem); letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-top: .5rem; white-space: nowrap; }
.lockup-rule { display: block; width: 100%; height: 3px; background: #1F4BA6; margin: .6rem 0 .45rem; }
.lockup-tag { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .45em; text-transform: uppercase; color: var(--slate); padding-left: .45em; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) rotate(-2deg) } to { opacity: 1; transform: translateY(0) rotate(-2deg) } }
.hero-chip {
  position: absolute; background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.28);
  padding: .55rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  animation: float 6s ease-in-out infinite;
}
.chip-a { top: -7%; left: 2%; animation-delay: -1s; }
.chip-b { bottom: -11%; left: 10%; animation-delay: -3s; }
.chip-c { top: 6%; right: -5%; animation-delay: -5s; color: var(--teal); }
.chip-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: ping 1.8s infinite; }

@media (max-width: 960px) {
  .hero { min-height: auto; padding: 4rem 0 4.5rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1.5rem; }
  .logo-card { max-width: 380px; padding: 1.5rem; }
}

/* ---------- Capabilities ticker ---------- */
.ticker { background: var(--ink); color: #fff; display: flex; align-items: stretch; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 3px solid var(--teal); }
.ticker-label {
  flex: 0 0 auto; display: flex; align-items: center; padding: .85rem 1.4rem; background: var(--teal); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.ticker-viewport { flex: 1 1 auto; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 1.4rem; padding: .85rem 1.4rem .85rem 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .04em; white-space: nowrap; color: rgba(255,255,255,.85); }
.ticker-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } }
@media (max-width: 560px) { .ticker-label { padding: .85rem .9rem; font-size: .7rem; } }

/* ---------- "Doesn't fit a box" banner ---------- */
.need-banner {
  margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--blue), var(--blue-3)); color: #fff; border-radius: var(--radius); padding: 1.8rem 2.2rem;
  box-shadow: 0 16px 40px rgba(59,84,196,.35);
}
.need-banner h3 { color: #fff; margin-bottom: .3rem; font-size: 1.35rem; }
.need-banner p { margin: 0; color: rgba(255,255,255,.85); max-width: 60ch; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; scroll-margin-top: var(--header-h); }
.section-light { background: var(--light); }
.section-dark { background: linear-gradient(160deg, var(--navy), #1a2570); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.8rem; }
.kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: .6rem; }
.kicker-teal { color: var(--teal); }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-sub { color: rgba(255,255,255,.7); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-dark h3 { color: #fff; }
.card-number { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--teal); line-height: 1; display: block; margin-bottom: 1rem; }
.challenge-card p { margin: 0; color: var(--muted); }
.card-dark p { color: rgba(255,255,255,.78); }

/* ---------- Services ---------- */
.services-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
.service-tabs { display: grid; gap: .9rem; }
.service-tab {
  display: flex; gap: 1rem; align-items: center; text-align: left; width: 100%; background: var(--light);
  border: 2px solid transparent; border-radius: var(--radius); padding: 1.1rem 1.2rem; cursor: pointer; font: inherit; color: var(--text);
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.service-tab:hover { transform: translateX(4px); background: #fff; box-shadow: var(--shadow); }
.service-tab.is-active { background: #fff; border-color: var(--tint); box-shadow: var(--shadow); }
.service-tab:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.service-icon {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 14px; background: var(--tint); display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(59,84,196,.3);
}
.service-icon img { width: 30px; height: 30px; }
.service-tab-text { display: flex; flex-direction: column; gap: .15rem; }
.service-tab-text strong { font-family: var(--font-head); color: var(--navy); font-size: 1rem; }
.service-tab-text span { font-size: .88rem; color: var(--muted); }

.service-panels { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.service-panel {
  background: linear-gradient(160deg, var(--navy), var(--ink)); color: #fff; padding: 2.4rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); animation: panel .35s var(--ease);
}
.service-panel h3 { color: #fff; font-size: 1.5rem; }
.service-panel p { color: rgba(255,255,255,.8); }
.service-panel .kicker { color: var(--teal); }
@keyframes panel { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .55rem; }
.check-list li { padding-left: 1.8rem; position: relative; color: rgba(255,255,255,.92); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--teal); color: var(--navy);
  font-size: .75rem; font-weight: 800; display: grid; place-items: center; top: .2rem;
}
@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; }
  .service-panels { position: static; }
}

/* ---------- Estimator ---------- */
.estimator {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line);
}
.estimator-form { padding: 2.2rem; display: grid; gap: 1.4rem; }
.estimator-form label { font-weight: 600; font-size: .95rem; color: var(--navy); display: block; margin-bottom: .5rem; }
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row output { font-family: var(--font-head); font-weight: 700; color: var(--blue); min-width: 3.6rem; text-align: right; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--pct, 50%), var(--line) var(--pct, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: grab; transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: grab; }
input[type="range"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.estimator-results { background: linear-gradient(160deg, var(--navy), var(--ink)); color: #fff; padding: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.result-block { display: flex; flex-direction: column; gap: .2rem; }
.result-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); font-weight: 600; }
.result-value { font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result-highlight .result-value { color: var(--teal); }
.result-note { font-size: .88rem; color: rgba(255,255,255,.7); }
.result-bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.result-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--blue-3)); border-radius: 5px; transition: width .5s var(--ease); }
.result-disclaimer { font-size: .82rem; color: rgba(255,255,255,.78); margin: 0 0 .2rem; }
.estimator-results .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }

/* ---------- Why FTH ---------- */
.why-list { display: grid; gap: 1.2rem; max-width: 900px; }
.why-item {
  display: flex; gap: 1.3rem; align-items: flex-start; padding: 1.6rem 1.8rem; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .25s, transform .25s var(--ease);
}
.why-item:hover { background: rgba(255,255,255,.09); transform: translateX(6px); }
.why-item p { margin: 0; color: rgba(255,255,255,.78); }
.why-check {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: var(--navy); font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(63,217,192,.35);
}

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.step {
  background: var(--light); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; border: 2px solid transparent;
  transition: border-color .25s, background .25s, transform .25s var(--ease); cursor: pointer;
}
.step:hover { transform: translateY(-4px); }
.step.is-active { background: #fff; border-color: var(--blue); box-shadow: var(--shadow); }
.step-btn { display: flex; align-items: center; gap: .9rem; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; width: 100%; }
.step-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 6px; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800;
  display: grid; place-items: center; font-size: 1.15rem; flex: 0 0 auto; transition: background .25s, transform .25s;
}
.step:nth-child(2) .step-num { background: var(--ink); }
.step.is-active .step-num { background: var(--teal); color: var(--navy); transform: scale(1.08); }
.step-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.step-text { margin: 1rem 0 0; color: var(--muted); }
.step-detail { margin: .8rem 0 0; font-size: .93rem; color: var(--text); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.step.is-active .step-detail { max-height: 200px; opacity: 1; }
.steps-track { height: 6px; background: var(--line); border-radius: 3px; margin-top: 1.6rem; overflow: hidden; }
.steps-progress { height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 3px; transition: width .45s var(--ease); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step.is-active .step-detail { max-height: 300px; } }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry {
  background: #fff; border: 2px solid transparent; border-radius: var(--radius); padding: 1.4rem .8rem 1.1rem; display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font: inherit; color: var(--navy); cursor: pointer; text-align: center; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; line-height: 1.3;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.industry img, .industry svg { width: 44px; height: 44px; padding: 8px; background: var(--blue-soft); border-radius: 12px; box-sizing: content-box; transition: transform .25s var(--ease); }
.industry:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.industry:hover img, .industry:hover svg { transform: scale(1.1) rotate(-4deg); }
.industry.is-active { border-color: var(--blue); }
.industry.is-active img, .industry.is-active svg { background: var(--teal); }
.industry:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.industry-detail {
  margin-top: 1.6rem; background: #fff; border-radius: var(--radius); padding: 1.8rem 2rem; border-left: 6px solid var(--teal); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 2rem; align-items: center;
}
.industry-detail .kicker, .industry-detail h3, .industry-detail p { grid-column: 1; margin: 0; }
.industry-detail .kicker { margin-bottom: .3rem; }
.industry-detail p { color: var(--muted); }
.industry-detail .btn { grid-column: 2; grid-row: 1 / span 3; }
.industry-detail.is-swapping { animation: panel .35s var(--ease); }
@media (max-width: 1000px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-detail { grid-template-columns: 1fr; }
  .industry-detail .btn { grid-column: 1; grid-row: auto; margin-top: 1rem; justify-self: start; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; display: grid; gap: .8rem; }
.faq { background: var(--light); border-radius: var(--radius); border: 2px solid transparent; transition: border-color .2s, background .2s; }
.faq[open] { background: #fff; border-color: var(--blue-soft); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.4rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; transition: transform .2s; }
.faq[open] summary::after { content: "–"; background: var(--teal); color: var(--navy); }
.faq summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: var(--radius); }
.faq p { margin: 0; padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-copy .lead { color: rgba(255,255,255,.8); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .8rem; }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; }
.contact-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-list a:hover { border-color: var(--teal); }
.contact-mark { width: 300px; filter: brightness(0) invert(1); opacity: .18; margin-top: 2rem; }

.contact-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-lg); }
.contact-form h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: .2rem; }
.form-intro { color: var(--muted); margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.optional { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 2px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: .98rem; color: var(--text);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,84,196,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d63a3a; }
.field textarea { resize: vertical; min-height: 110px; }
.field-error { display: block; color: #c62828; font-size: .82rem; margin-top: .35rem; min-height: 1em; }
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: .5rem .9rem; border-radius: 999px; border: 2px solid var(--line); font-size: .88rem; font-weight: 500; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s; user-select: none;
}
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { margin-bottom: 1rem; }
.turnstile-slot .field-error { margin-top: .3rem; }
.estimate-attached { background: var(--light); border-radius: var(--radius-sm); padding: .7rem .9rem; font-size: .88rem; color: var(--navy); }
.btn-spinner { display: none; width: 18px; height: 18px; border: 3px solid rgba(18,23,63,.25); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg) } }
.form-status { margin: .9rem 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.is-success { color: #1a8a63; }
.form-status.is-error { color: #c62828; }
.form-fine { font-size: .78rem; color: var(--muted); margin: .8rem 0 0; }
.form-success { text-align: center; padding: 2rem 1rem; animation: panel .4s var(--ease); }
.form-success .success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--teal); color: var(--navy); display: grid; place-items: center; font-size: 2rem; font-weight: 800; margin: 0 auto 1.2rem; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.form-success h3 { color: var(--navy); }
.form-success p { color: var(--muted); }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } .contact-mark { display: none; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .contact-form { padding: 1.5rem; } }

/* ---------- Footer ---------- */
.site-footer { background: #0c1030; color: rgba(255,255,255,.75); padding: 3rem 0 2rem; border-top: 3px solid var(--blue); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: start; }
.footer-brand .brand-name { color: #fff; display: block; }
.footer-brand .brand-sub { display: block; }
.motto { margin-top: .8rem; font-family: var(--font-head); font-size: .9rem; letter-spacing: .14em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: var(--teal); }
.footer-meta { display: grid; gap: .3rem; justify-items: end; text-align: right; font-size: .88rem; }
.footer-meta a { color: #fff; text-decoration: none; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { justify-items: start; text-align: left; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff;
  font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-lg); z-index: 40; transition: transform .2s, opacity .2s;
}
.back-to-top:hover { transform: translateY(-3px); background: #2f45ad; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--delay, 0s), transform .7s var(--ease) var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
