/* ========================================================================
   The Dry Pros — premium tech aesthetic
   Space Grotesk + JetBrains Mono, navy+orange, scroll-animated.
   ======================================================================== */

:root {
  /* Brand */
  --navy-950: #050d1f;
  --navy-900: #08152e;
  --navy-850: #0a1a36;
  --navy-800: #0b1e3f;
  --navy-700: #11295a;
  --navy-600: #1a3a78;
  --navy-500: #2956a4;
  --navy-200: #93b1d8;
  --navy-100: #dde7f7;
  --navy-50:  #eef3fb;

  --orange-700: #c14a0c;
  --orange-600: #e85a14;
  --orange-500: #ff6a1a;
  --orange-400: #ff8a3d;
  --orange-300: #ffb685;
  --orange-100: #ffe4d1;

  --cyan-500:  #22d3ee;
  --cyan-400:  #67e8f9;

  --ink:        #0e1720;
  --ink-2:      #1f2732;
  --ink-3:      #4b5563;
  --muted:      #6b7280;

  --paper:      #fbf8f3;
  --paper-2:    #f3ede2;
  --paper-warm: #f6efe1;
  --white:      #ffffff;
  --hairline:   rgba(11, 30, 63, 0.10);
  --hairline-strong: rgba(11, 30, 63, 0.18);

  /* Type */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-card: 0 1px 0 rgba(11,30,63,0.04), 0 12px 30px rgba(11,30,63,0.08);
  --shadow-lift: 0 4px 8px rgba(11,30,63,0.06), 0 32px 70px rgba(11,30,63,0.18);
  --shadow-deep: 0 8px 16px rgba(11,30,63,0.12), 0 48px 96px rgba(11,30,63,0.24);
  --shadow-orange: 0 12px 30px rgba(255,106,26,0.30);

  /* Easing */
  --e-out: cubic-bezier(.22,1,.36,1);
  --e-in-out: cubic-bezier(.65,0,.35,1);
  --e-bounce: cubic-bezier(.34,1.56,.64,1);

  /* Other */
  --tilt: 1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-feature-settings: 'ss01', 'ss02', 'cv01', 'tnum';
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--orange-500); color: white; }

/* ---------- Type system ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(46px, 7.2vw, 104px); letter-spacing: -0.03em; line-height: 0.98; font-weight: 800; }
h2 { font-size: clamp(34px, 4.6vw, 68px); font-weight: 700; }
h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.01em; line-height: 1.15; font-weight: 700; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.005em; }

p { line-height: 1.55; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.lead { font-size: 20px; color: var(--ink-2); line-height: 1.45; max-width: 56ch; }

.mono {
  font-family: var(--font-mono);
  font-feature-settings: 'zero','ss01';
  letter-spacing: -0.02em;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%; max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-wide {
  width: 100%; max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 140px 0;
  position: relative;
}
.section--sm { padding: 96px 0; }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--paper2 { background: var(--paper-2); }

/* ---------- Type details ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--orange-500);
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--orange-500);
}
.eyebrow--center::before { display: none; }
.eyebrow--invert { color: var(--orange-400); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  transition: transform 220ms var(--e-out), box-shadow 220ms var(--e-out), background 200ms var(--e-out);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms var(--e-out);
  pointer-events: none;
  z-index: -1;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 18px 40px rgba(255,106,26,0.40); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost-invert {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost-invert:hover { border-color: var(--white); }

.btn .material-symbols-outlined { font-size: 18px; }

.phone-cta { position: relative; }
.phone-cta .pulse {
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255,106,26,0.55);
  animation: pulse 1.8s infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,106,26,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(255,106,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,106,26,0); }
}

/* ========================================================================
   MOTION primitives — used by motion.jsx
   ======================================================================== */
.reveal { opacity: 0; will-change: transform, opacity; }
.reveal.is-in { opacity: 1; }

.reveal--fade-up   { transform: translateY(28px); transition: opacity .9s var(--e-out), transform .9s var(--e-out); }
.reveal--fade-up.is-in { transform: translateY(0); }

.reveal--fade-in   { transition: opacity 1.0s var(--e-out); }

.reveal--zoom      { transform: scale(.94); transition: opacity .9s var(--e-out), transform .9s var(--e-out); }
.reveal--zoom.is-in { transform: scale(1); }

.reveal--slide-l   { transform: translateX(-40px); transition: opacity 1s var(--e-out), transform 1s var(--e-out); }
.reveal--slide-l.is-in { transform: translateX(0); }
.reveal--slide-r   { transform: translateX(40px); transition: opacity 1s var(--e-out), transform 1s var(--e-out); }
.reveal--slide-r.is-in { transform: translateX(0); }

.reveal--rise      { transform: translateY(40px) rotateX(8deg); transform-origin: bottom; transition: opacity 1s var(--e-out), transform 1s var(--e-out); }
.reveal--rise.is-in { transform: translateY(0) rotateX(0); }

/* stagger inline children — set --reveal-stagger and they auto-cascade */
.reveal[data-stagger] > * { transition-delay: calc(var(--ci, 0) * var(--reveal-stagger, 80ms)); }

/* SplitText */
.splittext { display: inline; }
.splittext-word { display: inline-block; white-space: nowrap; }
.splittext-char {
  display: inline-block;
  transform: translateY(0.7em);
  opacity: 0;
  animation-fill-mode: both;
}
.splittext.is-in .splittext-char {
  animation: splitcharin 0.85s var(--e-out) forwards;
}
@keyframes splitcharin {
  from { transform: translateY(0.85em) rotate(2deg); opacity: 0; }
  to   { transform: translateY(0) rotate(0); opacity: 1; }
}

/* Marquee */
.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee var(--marquee-dur, 50s) linear infinite;
}
.marquee[data-dir="right"] .marquee-track { animation-direction: reverse; }
@keyframes marquee {
  to { transform: translateX(-33.3333%); }
}

/* Parallax */
.parallax-el { transform: translate3d(0, var(--py, 0), 0); transition: transform 80ms linear; }

/* ========================================================================
   HEADER
   ======================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: grid; place-items: center;
  color: var(--orange-500);
  position: relative;
  box-shadow: 0 4px 10px rgba(11,30,63,0.20), inset 0 1px 0 rgba(255,255,255,0.10);
}
.brand-mark svg { width: 22px; height: 22px; }

nav.main-nav {
  display: flex; align-items: center; gap: 28px;
}
nav.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  position: relative;
  transition: color 150ms;
}
nav.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--orange-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--e-out);
}
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a:hover::after { transform: scaleX(1); }

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

.badge-emergency {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-50);
  color: var(--navy-800);
  border-radius: var(--radius-pill);
  padding: 7px 13px 7px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--hairline);
}
.badge-emergency .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.6);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* ========================================================================
   HERO — premium animated
   ======================================================================== */
.hero {
  position: relative;
  padding: 60px 0 140px;
  background: var(--paper);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Aurora gradient mesh */
.hero-aurora {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-aurora::before,
.hero-aurora::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,106,26,0.20), transparent 38%),
    radial-gradient(circle at 78% 28%, rgba(56,189,248,0.10), transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(41,86,164,0.12), transparent 50%),
    radial-gradient(circle at 88% 78%, rgba(255,106,26,0.10), transparent 45%);
  animation: aurora-pan 30s ease-in-out infinite;
  mix-blend-mode: normal;
}
.hero-aurora::after {
  animation-direction: reverse;
  animation-duration: 40s;
  opacity: 0.6;
}
@keyframes aurora-pan {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-3%, 2%) scale(1.08); }
}

/* hairline grid backdrop */
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,30,63,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,30,63,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  z-index: 1;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero h1 .underline {
  position: relative; display: inline-block;
}
.hero h1 .underline::after {
  content: ""; position: absolute;
  left: -2px; right: -2px; bottom: 4px; height: 14px;
  background: var(--orange-500);
  opacity: 0.20;
  border-radius: 2px;
  z-index: -1;
}
.hero-cta {
  display: flex; gap: 14px; align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hero-meta .stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--navy-800);
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum';
}
.hero-meta .stat .num small {
  color: var(--orange-500);
  font-size: 22px;
  vertical-align: top;
  margin-left: 2px;
}
.hero-meta .stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 10px;
}

/* Hero stage container — holds the BeforeAfter slider */
.iso-stage {
  position: relative;
  width: 100%;
  perspective: 1600px;
}
.iso-stage > .ba { width: 100%; }

/* Hero status ticker - tiny mono bar at top */
.hero-ticker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 11px;
  background: rgba(11,30,63,0.07);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  border: 1px solid var(--hairline);
}
.hero-ticker::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.20);
}

/* ========================================================================
   MARQUEE / TRUST STRIP
   ======================================================================== */
.trust-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
  background: var(--white);
}
.trust-strip .marquee-track {
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.trust-strip .marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.trust-strip .marquee-item .material-symbols-outlined {
  color: var(--orange-500); font-size: 18px;
}
.trust-strip .marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--orange-500);
}

/* ========================================================================
   SECTION HEAD
   ======================================================================== */
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 760px;
  margin-bottom: 72px;
}
.section-head.center {
  align-items: center; text-align: center;
  margin-left: auto; margin-right: auto;
}
.section-head p { font-size: 18px; }

/* ========================================================================
   PROCESS (3D centerpiece)
   ======================================================================== */
.process {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,30,63,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,30,63,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.process-stage {
  position: relative;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.process-iso {
  position: relative;
  aspect-ratio: 4 / 3;
  perspective: 1800px;
  min-height: 460px;
}
.process-iso > .phx,
.process-iso > .reveal,
.process-iso > .reveal > .phx {
  width: 100%; height: 100%;
}

.process-step-list {
  display: flex; flex-direction: column; gap: 10px;
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 22px 20px 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: transform 240ms var(--e-out), box-shadow 240ms var(--e-out), border-color 240ms var(--e-out);
  overflow: hidden;
}
.process-step::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--orange-500);
  transform: scaleY(0); transform-origin: top;
  transition: transform 360ms var(--e-out);
}
.process-step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}
.process-step.active {
  border-color: rgba(255,106,26,0.5);
  box-shadow: 0 0 0 3px rgba(255,106,26,0.15), var(--shadow-card);
}
.process-step.active::before { transform: scaleY(1); }
.process-step .num {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  transition: all 300ms var(--e-out);
}
.process-step.active .num {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255,106,26,0.30);
}
.process-step h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.process-step p { font-size: 14px; color: var(--ink-3); }
.process-step .when {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--orange-600);
}

/* ========================================================================
   WHY US — stats with count-up
   ======================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.stat-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: transform 280ms var(--e-out), box-shadow 280ms var(--e-out), border-color 280ms var(--e-out);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(255,106,26,0.30);
}
.stat-card .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-800);
  font-feature-settings: 'tnum';
}
.stat-card .num small { font-size: 36px; color: var(--orange-500); }
.stat-card .lbl {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 16px;
}
.stat-card .desc {
  margin-top: 10px;
  font-size: 14px; color: var(--ink-3);
}
.stat-card::after {
  content: ""; position: absolute;
  right: -40px; bottom: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,106,26,0.10), transparent 70%);
  pointer-events: none;
  transition: transform 600ms var(--e-out);
}
.stat-card:hover::after { transform: scale(1.4); }

/* ========================================================================
   EQUIPMENT — dark section with tilt cards
   ======================================================================== */
.equipment {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.equipment::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(56,189,248,0.10), transparent 38%),
    radial-gradient(circle at 82% 72%, rgba(255,106,26,0.10), transparent 50%);
  animation: aurora-pan 40s ease-in-out infinite reverse;
}
.equipment::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}
.equipment .section-head h2 { color: var(--white); }
.equipment .section-head p { color: rgba(255,255,255,0.65); }

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.equip-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 360ms var(--e-out), border-color 360ms var(--e-out), background 360ms var(--e-out);
  cursor: default;
}
.equip-card::before {
  content: ""; position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,106,26,0.10), transparent 40%);
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
}
.equip-card:hover::before { opacity: 1; }
.equip-card:hover {
  border-color: rgba(255,106,26,0.35);
}
.equip-card .iso-mini {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(56,189,248,0.06), transparent 70%);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}
.equip-card .iso-mini::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.equip-card .iso-mini svg {
  position: relative;
  width: 80%; height: 80%;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,0.5));
  z-index: 1;
}
.equip-card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 10px;
}
.equip-card h3 { color: var(--white); margin-bottom: 10px; }
.equip-card p { color: rgba(255,255,255,0.6); font-size: 14px; }

/* ========================================================================
   SERVICES
   ======================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 240ms var(--e-out), box-shadow 240ms var(--e-out), border-color 240ms var(--e-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute;
  inset: auto -20% -20% auto;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(255,106,26,0.10), transparent 70%);
  opacity: 0;
  transition: opacity 400ms var(--e-out);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255,106,26,0.30);
}
.service-card .ic-box {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: grid; place-items: center;
  color: var(--orange-400);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.service-card .ic-box .material-symbols-outlined { font-size: 28px; }
.service-card h4 { font-size: 19px; font-weight: 600; }
.service-card p { font-size: 14px; color: var(--ink-3); }
.service-card .more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; color: var(--orange-600);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.04em;
  transition: gap 220ms var(--e-out);
}
.service-card:hover .more { gap: 12px; }

/* ========================================================================
   SERVICE AREA / MAP
   ======================================================================== */
.area { background: var(--white); }
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.area-map {
  position: relative;
  background: linear-gradient(180deg, var(--navy-50), var(--paper));
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.area-map svg { width: 100%; height: auto; }
.area-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.area-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.area-list li::before {
  content: ""; width: 6px; height: 6px; background: var(--orange-500);
  border-radius: 50%;
}

/* ========================================================================
   TESTIMONIALS
   ======================================================================== */
.testimonials { background: var(--paper-2); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.test-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: transform 240ms var(--e-out), box-shadow 240ms var(--e-out);
}
.test-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.test-card .stars {
  color: var(--orange-500);
  display: flex; gap: 2px;
  font-size: 18px;
}
.test-card .stars .material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}
.test-card blockquote {
  margin: 0;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.test-card .who {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.test-card .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.test-card .name { font-weight: 600; font-size: 14px; }
.test-card .where {
  font-family: var(--font-mono);
  font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em;
}

/* ========================================================================
   FAQ
   ======================================================================== */
.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: flex-start;
}
.faq-list {
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 220ms var(--e-out), box-shadow 220ms var(--e-out);
}
.faq-item.open {
  border-color: rgba(255,106,26,0.40);
  box-shadow: 0 0 0 3px rgba(255,106,26,0.10);
}
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.faq-q .material-symbols-outlined {
  color: var(--orange-500);
  transition: transform 280ms var(--e-out);
}
.faq-item.open .faq-q .material-symbols-outlined { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--e-out);
}
.faq-item.open .faq-a { max-height: 360px; }
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}

/* ========================================================================
   CTA BAND
   ======================================================================== */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 50%, rgba(255,106,26,0.28), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(56,189,248,0.12), transparent 50%);
  animation: aurora-pan 25s ease-in-out infinite;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 18px; margin-top: 16px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background: var(--navy-950);
  color: var(--white);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.50);
  margin: 0 0 18px 0;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer li a { color: rgba(255,255,255,0.80); font-size: 14px; transition: color 200ms; }
.footer li a:hover { color: var(--orange-400); }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer .brand { color: var(--white); }

/* ========================================================================
   CHAT WIDGET (unchanged from previous)
   ======================================================================== */
.chat-launcher {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  background: var(--orange-500);
  color: var(--white);
  height: 60px;
  padding: 0 22px 0 20px;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-orange), var(--shadow-lift);
  transition: transform 220ms var(--e-out);
}
.chat-launcher:hover { transform: translateY(-2px) scale(1.02); }
.chat-launcher .material-symbols-outlined { font-size: 24px; }
.chat-launcher .ping {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: pulse-dot 1.6s infinite;
}
.chat-panel {
  position: fixed;
  right: 22px; bottom: 96px;
  z-index: 60;
  width: 380px;
  max-width: calc(100vw - 44px);
  height: 560px;
  max-height: calc(100vh - 130px);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(11,30,63,0.30), 0 4px 12px rgba(11,30,63,0.10);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-in 260ms var(--e-bounce);
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-head {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.chat-head .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange-500);
  display: grid; place-items: center;
  color: var(--white); font-weight: 700;
  position: relative;
}
.chat-head .avatar::after {
  content: ""; position: absolute;
  right: -2px; bottom: -2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid var(--navy-900);
}
.chat-head .title { font-weight: 600; font-size: 15px; }
.chat-head .sub { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.65); }
.chat-head .close { margin-left: auto; color: rgba(255,255,255,0.7); }
.chat-head .close:hover { color: var(--white); }

.chat-body {
  flex: 1; overflow-y: auto;
  padding: 18px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px; line-height: 1.4;
  animation: msg-in 220ms var(--e-out);
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  background: var(--white);
  border: 1px solid var(--hairline);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--navy-800);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-options {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 4px 0 6px;
}
.chat-options button {
  background: var(--white);
  border: 1.5px solid var(--navy-100);
  color: var(--navy-800);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  transition: all 180ms var(--e-out);
}
.chat-options button:hover {
  border-color: var(--orange-500);
  background: var(--orange-100);
  color: var(--orange-700);
}
.chat-typing {
  display: inline-flex; gap: 4px; align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 12px 14px;
  border-radius: 16px;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--muted);
  animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-input {
  display: flex; gap: 8px;
  padding: 12px 14px;
  background: var(--white);
  border-top: 1px solid var(--hairline);
}
.chat-input input, .chat-input textarea {
  flex: 1;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font: inherit; font-size: 14px;
  outline: none;
  transition: border-color 180ms;
}
.chat-input input:focus { border-color: var(--orange-500); }
.chat-input button.send {
  background: var(--orange-500);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.chat-input button.send:disabled { opacity: 0.4; cursor: not-allowed; }
.chat-input button.send:hover:not(:disabled) { background: var(--orange-600); }
.chat-summary-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 14px;
  align-self: stretch;
}
.chat-summary-card .row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; padding: 4px 0;
}
.chat-summary-card .row .lbl { color: var(--muted); font-weight: 500; }
.chat-summary-card .row .val { color: var(--ink); font-weight: 600; text-align: right; }
.chat-cta {
  margin-top: 10px;
  width: 100%;
  background: var(--orange-500);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.chat-cta:hover { background: var(--orange-600); }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .process-stage, .area-grid, .faq-grid, .cta-inner {
    grid-template-columns: 1fr; gap: 40px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid, .services-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  .section { padding: 96px 0; }
  .wrap, .wrap-wide { padding: 0 22px; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(40px, 10vw, 64px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .equip-grid, .services-grid, .test-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 90px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
}
