/* =========================================================
   BRS HAVALANDIRMA — 2026 Clean-Air Premium Design System
   Single fixed theme (no dark/light toggle) · TR / EN
   ========================================================= */

:root {
  /* Surfaces (cool, airy light theme) */
  --c-bg: #eef4f6;
  --c-bg-soft: #ffffff;
  --c-bg-elevated: #ffffff;
  --c-surface: #ffffff;
  --c-line: #dde8ec;
  --c-line-strong: #c6d6dc;

  --c-text: #0a1b22;
  --c-text-muted: #4a606a;
  --c-text-faint: #7d949d;

  /* Brand — clean-air teal / cyan */
  --c-accent: #0eb5cb;
  --c-accent-soft: #2ccfe3;
  --c-accent-deep: #0a8fa3;
  --c-accent-glow: rgba(14,181,203,.30);
  --c-sky: #5fd6e6;
  --c-success: #18a96a;
  --c-danger: #e2433b;
  --c-wa: #25d366;

  /* Dark (deep teal-ink) palette */
  --c-dark-bg: #08171d;
  --c-dark-bg-soft: #0c2128;
  --c-dark-bg-elevated: #112c35;
  --c-dark-line: rgba(255,255,255,.08);
  --c-dark-line-strong: rgba(255,255,255,.16);
  --c-dark-text: #f1f8fa;
  --c-dark-text-muted: #a7bcc4;
  --c-dark-text-faint: #6a838d;

  /* Type */
  --f-display: "Sora", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --container: 1280px;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-xl: 32px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: 180ms var(--ease);
  --t-mid: 360ms var(--ease);
  --t-slow: 700ms var(--ease-out);

  --shadow-sm: 0 2px 12px rgba(10,27,34,.06);
  --shadow: 0 24px 60px -24px rgba(10,27,34,.22);
  --shadow-glow: 0 30px 80px -30px var(--c-accent-glow);
  --header-h: 78px;
}

.dark-section {
  --c-bg: var(--c-dark-bg); --c-bg-soft: var(--c-dark-bg-soft); --c-bg-elevated: var(--c-dark-bg-elevated);
  --c-surface: var(--c-dark-bg-elevated); --c-line: var(--c-dark-line); --c-line-strong: var(--c-dark-line-strong);
  --c-text: var(--c-dark-text); --c-text-muted: var(--c-dark-text-muted); --c-text-faint: var(--c-dark-text-faint);
  background: var(--c-dark-bg); color: var(--c-dark-text);
}
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 { color: var(--c-dark-text); }
.dark-section p, .dark-section .lead { color: var(--c-dark-text-muted); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  color: var(--c-text); background: var(--c-bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
section { position: relative; padding: clamp(70px, 10vw, 140px) 0; }
.section-tight { padding: clamp(50px, 7vw, 90px) 0; }
.section-soft { background: #e4eef1; }
.section-light { background: #ffffff; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c-accent), transparent); }
.dark-section .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--c-accent-soft); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; margin: 0; color: var(--c-text); }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: 1.03; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 4vw, 3.2rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.05rem; }
p { margin: 0; color: var(--c-text-muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--c-text-muted); max-width: 65ch; line-height: 1.55; }

.gradient-text {
  background: linear-gradient(120deg, #fff 0%, #fff 38%, var(--c-accent-soft) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border-radius: 999px; font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  position: relative; overflow: hidden; white-space: nowrap;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-mid), border-color var(--t-fast);
}
.btn .arr { transition: transform var(--t-mid); display: inline-flex; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--c-accent); color: #042029; box-shadow: 0 12px 32px -12px var(--c-accent-glow); }
.btn-primary:hover { background: var(--c-accent-soft); transform: translateY(-2px); box-shadow: 0 20px 50px -12px var(--c-accent-glow); }
.btn-ghost { background: transparent; border: 1px solid var(--c-line-strong); color: var(--c-text); }
.btn-ghost:hover { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.dark-section .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .site-footer .btn-ghost {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(10px);
}
.dark-section .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .site-footer .btn-ghost:hover {
  background: rgba(255,255,255,.12); border-color: var(--c-accent-soft); color: #fff;
}
.btn-text { padding: 10px 0; gap: 8px; color: var(--c-accent-deep); font-weight: 600; }
.btn-text:hover { color: var(--c-accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background var(--t-mid), border-color var(--t-mid), backdrop-filter var(--t-mid);
}
.site-header > .container { height: 100%; }
.site-header.scrolled {
  background: rgba(255,255,255,.82); backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%); border-bottom-color: rgba(10,27,34,.08);
}
body.has-dark-hero .site-header:not(.scrolled) .brand-logo { filter: brightness(0) invert(1); }
body.has-dark-hero .site-header:not(.scrolled) .nav-list a { color: rgba(255,255,255,.8); }
body.has-dark-hero .site-header:not(.scrolled) .nav-list a:hover,
body.has-dark-hero .site-header:not(.scrolled) .nav-list a.active { color: #fff; background: rgba(255,255,255,.09); }
body.has-dark-hero .site-header:not(.scrolled) .nav-phone { color: rgba(255,255,255,.82); }
body.has-dark-hero .site-header:not(.scrolled) .menu-toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
body.has-dark-hero .site-header:not(.scrolled) .menu-toggle span { background: #fff; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; height: 100%; flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; object-fit: contain; transition: opacity var(--t-fast), filter var(--t-mid); }
.brand:hover .brand-logo { opacity: .85; }

.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; min-width: 0; }
.nav-list a { position: relative; padding: 10px 14px; font-size: .92rem; color: var(--c-text-muted); border-radius: 999px; white-space: nowrap; transition: color var(--t-fast), background var(--t-fast); }
.nav-list a:hover, .nav-list a.active { color: var(--c-text); background: rgba(14,181,203,.08); }
.nav-list a.active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent); transform: translateX(-50%); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switch { display: inline-flex; background: rgba(10,27,34,.05); border: 1px solid var(--c-line); border-radius: 999px; padding: 3px; font-family: var(--f-mono); }
.lang-switch button { padding: 6px 12px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--c-text-muted); border-radius: 999px; transition: all var(--t-fast); line-height: 1; }
.lang-switch button:hover { color: var(--c-text); }
.lang-switch button.is-active { background: var(--c-accent); color: #042029; }
body.has-dark-hero .site-header:not(.scrolled) .lang-switch { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
body.has-dark-hero .site-header:not(.scrolled) .lang-switch button { color: rgba(255,255,255,.72); }
body.has-dark-hero .site-header:not(.scrolled) .lang-switch button:hover { color: #fff; }
body.has-dark-hero .site-header:not(.scrolled) .lang-switch button.is-active { background: var(--c-accent); color: #042029; }

.nav-phone { display: none; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: .85rem; color: var(--c-text-muted); white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; }
.nav-phone:hover { color: var(--c-accent); }
@media (min-width: 1240px) { .nav-phone { display: inline-flex; } }
.nav-cta .btn { padding: 12px 22px; font-size: .88rem; }
@media (max-width: 1180px) { .nav-list { gap: 0; } .nav-list a { padding: 10px 11px; font-size: .88rem; } }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-line-strong); background: rgba(255,255,255,.04); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.menu-toggle span { width: 18px; height: 1.6px; background: var(--c-text); display: block; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav-list { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta .btn-primary { display: none; }
  .brand-logo { height: 40px; }
  .nav-list.mobile-open { display: flex; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(8,23,29,.97); backdrop-filter: blur(30px); flex-direction: column; padding: 40px 24px; gap: 4px; }
  .nav-list.mobile-open a { width: 100%; padding: 18px 20px; font-size: 1.15rem; color: rgba(255,255,255,.85); border-bottom: 1px solid var(--c-dark-line); border-radius: 0; }
  .nav-list.mobile-open a.active { color: var(--c-accent-soft); }
}

/* ---------- HERO ---------- */
.hero {
  padding: clamp(150px, 18vh, 220px) 0 clamp(80px, 10vw, 140px);
  position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center;
  background: var(--c-dark-bg); color: var(--c-dark-text);
}
.hero h1, .hero h2, .hero h3 { color: var(--c-dark-text); }
.hero p, .hero .lead { color: var(--c-dark-text-muted); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(58% 58% at 82% 18%, rgba(14,181,203,.30) 0%, transparent 62%),
    radial-gradient(50% 50% at 8% 92%, rgba(95,214,230,.16) 0%, transparent 60%),
    linear-gradient(180deg, #0b212a 0%, #05121a 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 38%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 62% at 50% 38%, #000 30%, transparent 80%);
}
/* airflow motif */
.hero-flow {
  position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(95,214,230,.12) 38px 39px, transparent 39px 78px);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 85% 30%, #000 0%, transparent 70%);
  animation: flow 18s linear infinite;
}
@keyframes flow { to { background-position: 320px 0; } }
.hero > .container, .hero > .scroll-hint { position: relative; z-index: 2; }
.hero-content { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: end; }
@media (max-width: 980px) { .hero-content { grid-template-columns: 1fr; gap: 50px; } }
.hero h1 { margin-top: 18px; }
.hero h1 .word-highlight { position: relative; display: inline-block; color: var(--c-accent-soft); font-style: italic; font-weight: 500; }
.hero h1 .word-highlight::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6%; height: 16%; background: linear-gradient(90deg, var(--c-accent-glow), transparent); z-index: -1; filter: blur(8px); }
.hero-desc { margin-top: 26px; max-width: 540px; font-size: clamp(1.05rem, 1.3vw, 1.18rem); }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%); border: 1px solid var(--c-dark-line-strong); backdrop-filter: blur(10px); }
.hero-meta-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-chip-val { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; color: #fff; }
.hero-chip-lab { font-size: 11px; font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-dark-text-faint); margin-top: 4px; }
.hero-meta-strip { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--c-dark-line); font-size: .82rem; color: var(--c-dark-text-faint); font-family: var(--f-mono); }
.live-dot { width: 8px; height: 8px; background: var(--c-success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(24,169,106,.2); animation: pulse 2.4s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(24,169,106,.2); } 50% { box-shadow: 0 0 0 7px rgba(24,169,106,0); } }
.scroll-hint { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .25em; color: var(--c-dark-text-faint); text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.scroll-hint::after { content: ""; width: 1px; height: 28px; background: linear-gradient(180deg, var(--c-accent), transparent); animation: drop 2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 50% { transform: scaleY(1); transform-origin: top; opacity: 1; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee-section { padding: 26px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: #fff; overflow: hidden; }
.marquee { display: flex; gap: 80px; animation: scroll-x 42s linear infinite; white-space: nowrap; width: max-content; }
.marquee span { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 1.4vw, 1.4rem); letter-spacing: .04em; color: var(--c-text-faint); flex-shrink: 0; display: inline-flex; align-items: center; gap: 80px; }
.marquee span::after { content: "❋"; color: var(--c-accent); font-size: .8em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Section heads & feature grid ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 70px; align-items: end; }
.section-head p { max-width: 50ch; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.feature { background: var(--c-bg-soft); padding: 36px 30px 40px; position: relative; transition: background var(--t-mid), transform var(--t-mid); }
.feature::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--c-accent), var(--c-sky)); transition: width var(--t-mid); }
.feature:hover { background: #f7fbfc; transform: translateY(-2px); }
.feature:hover::after { width: 100%; }
.dark-section .feature:hover { background: var(--c-dark-bg-elevated); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(14,181,203,.16), rgba(95,214,230,.1)); display: grid; place-items: center; color: var(--c-accent-deep); margin-bottom: 22px; transition: transform var(--t-mid); }
.feature:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature h3 { font-size: 1.2rem; margin-bottom: 12px; }
.feature p { font-size: .94rem; }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }
.showcase-image { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); border: 1px solid var(--c-line); }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.showcase-image:hover img { transform: scale(1.04); }
.showcase-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,18,26,.62)); }
.showcase-badge { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgba(8,23,29,.72); backdrop-filter: blur(12px); border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.showcase-bullets { margin-top: 32px; display: grid; gap: 14px; }
.showcase-bullets li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; color: var(--c-text); }
.showcase-bullets li::before { content: ""; width: 20px; height: 20px; border-radius: 6px; background: rgba(14,181,203,.16); flex-shrink: 0; margin-top: 3px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a8fa3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); background-repeat: no-repeat; background-position: center; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.story-image { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); border: 1px solid var(--c-line); }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.story-image:hover img { transform: scale(1.05); }

/* ---------- Stats ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.stats-strip .stat { background: #fff; padding: 56px 32px; text-align: center; }
.dark-section .stats-strip .stat { background: var(--c-dark-bg); }
.stat-val { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.025em; }
.stat-val.gradient { background: linear-gradient(120deg, var(--c-text) 0%, var(--c-accent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dark-section .stat-val.gradient { background: linear-gradient(120deg, #fff, var(--c-accent-soft)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-lab { color: var(--c-text-muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 700px) { .stats-strip { grid-template-columns: 1fr 1fr !important; } }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: radial-gradient(80% 80% at 100% 0%, rgba(14,181,203,.5) 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(95,214,230,.22) 0%, transparent 60%), linear-gradient(180deg, #0c2128 0%, #08171d 100%); border: 1px solid var(--c-dark-line); padding: clamp(50px, 7vw, 90px) clamp(40px, 5vw, 80px); display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
.cta-banner h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 22ch; color: #fff; }
.cta-banner p { margin-top: 16px; max-width: 50ch; color: var(--c-dark-text-muted); }
.cta-banner-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.cta-banner-actions .btn { width: 100%; justify-content: center; }
.cta-banner::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--c-accent); opacity: .16; filter: blur(80px); }
@media (max-width: 800px) { .cta-banner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #05121a; color: var(--c-dark-text); border-top: 1px solid var(--c-dark-line); padding-top: clamp(70px, 8vw, 110px); padding-bottom: 36px; --c-text: var(--c-dark-text); --c-text-muted: var(--c-dark-text-muted); --c-text-faint: var(--c-dark-text-faint); --c-line: var(--c-dark-line); --c-line-strong: var(--c-dark-line-strong); }
.site-footer h4 { color: var(--c-dark-text); }
.site-footer .brand-logo { filter: brightness(0) invert(1); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 60px); margin-bottom: 70px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; row-gap: 50px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { max-width: 38ch; font-size: .95rem; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 22px; font-weight: 600; }
.footer-col li a { color: var(--c-text-muted); font-size: .92rem; padding: 6px 0; display: inline-block; }
.footer-col li a:hover { color: var(--c-accent-soft); }
.footer-contact-line { display: block; color: var(--c-text-muted); font-size: .92rem; margin-bottom: 8px; }
.footer-contact-line strong { color: var(--c-text); display: block; font-size: 1rem; font-weight: 600; }
a.footer-contact-line:hover { color: var(--c-accent-soft); }
.footer-bottom { border-top: 1px solid var(--c-line); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--c-text-faint); }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: 10px; color: var(--c-text-muted); transition: all var(--t-fast); }
.social a:hover { border-color: var(--c-accent); color: var(--c-accent-soft); transform: translateY(-2px); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(160px, 18vh, 220px) 0 clamp(60px, 7vw, 100px); position: relative; overflow: hidden; background: var(--c-dark-bg); color: var(--c-dark-text); }
.page-hero h1, .page-hero h2 { color: var(--c-dark-text); }
.page-hero p, .page-hero .lead { color: var(--c-dark-text-muted); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 70% at 72% 28%, rgba(14,181,203,.26) 0%, transparent 62%), radial-gradient(40% 60% at 0% 100%, rgba(95,214,230,.12) 0%, transparent 60%), linear-gradient(180deg, #0b212a 0%, #05121a 100%); }
.page-hero-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 18ch; }
.page-hero p { margin-top: 22px; max-width: 62ch; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.svc-card { position: relative; overflow: hidden; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius-lg); transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid); box-shadow: var(--shadow-sm); }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(14,181,203,.45); box-shadow: var(--shadow); }
.svc-card-img { aspect-ratio: 16/10; overflow: hidden; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc-card:hover .svc-card-img img { transform: scale(1.06); }
.svc-card-body { padding: 28px 28px 32px; }
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { font-size: .95rem; }
.svc-card-features { margin-top: 18px; display: grid; gap: 8px; font-size: .9rem; color: var(--c-text-muted); }
.svc-card-features li { padding-left: 22px; position: relative; }
.svc-card-features li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 2px; border-radius: 2px; background: var(--c-accent); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); }
@media (max-width: 800px) { .process-grid { grid-template-columns: 1fr 1fr; } }
.process-step { background: var(--c-bg-soft); padding: 36px 28px 38px; position: relative; transition: background var(--t-mid); }
.process-step:hover { background: #f7fbfc; }
.process-step .num { font-family: var(--f-mono); font-size: .82rem; color: var(--c-accent-deep); letter-spacing: .15em; margin-bottom: 18px; display: block; }
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { font-size: .92rem; }

/* ---------- Products ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-bar button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--c-line-strong); background: #fff; color: var(--c-text-muted); font-size: .9rem; transition: all var(--t-fast); }
.filter-bar button:hover { color: var(--c-text); border-color: var(--c-text); }
.filter-bar button.active { background: var(--c-accent); color: #042029; border-color: var(--c-accent); }
.products-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); transition: opacity .2s var(--ease); }
.product-card { position: relative; overflow: hidden; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: all var(--t-mid); box-shadow: var(--shadow-sm); }
.product-card.highlight { grid-column: span 2; }
@media (max-width: 700px) { .product-card.highlight { grid-column: span 1; } }
.product-card:hover { transform: translateY(-6px); border-color: rgba(14,181,203,.45); box-shadow: var(--shadow); }
.product-card-img { aspect-ratio: 4/3; overflow: hidden; background: #eef3f5; }
.product-card.highlight .product-card-img { aspect-ratio: 16/9; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 26px 26px 30px; }
.product-card h3 { font-size: 1.2rem; }
.product-card .sub { color: var(--c-accent-deep); font-size: .82rem; font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.product-card p { font-size: .92rem; margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { font-size: 11px; padding: 4px 10px; border: 1px solid var(--c-line-strong); border-radius: 999px; color: var(--c-text-muted); font-family: var(--f-mono); }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.project-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4/5; border: 1px solid var(--c-line); background: var(--c-bg-soft); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); filter: brightness(.86); }
.project-card:hover img { transform: scale(1.06); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,18,26,.93) 100%); }
.project-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 28px; z-index: 2; }
.project-card .sector { font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--c-accent-soft); margin-bottom: 8px; display: block; }
.project-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.project-card .client { color: rgba(255,255,255,.72); font-size: .85rem; }
.project-card .desc { color: rgba(255,255,255,.86); font-size: .9rem; margin-top: 14px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out), margin .4s var(--ease-out); }
.project-card:hover .desc { max-height: 220px; }
.project-metrics { display: flex; gap: 22px; margin-top: 16px; }
.project-metrics .m { font-family: var(--f-mono); }
.project-metrics .m strong { display: block; font-size: 1.15rem; color: var(--c-accent-soft); }
.project-metrics .m span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--c-line); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; font-size: .82rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(5,18,26,.86)); opacity: 0; transform: translateY(8px); transition: all var(--t-mid); }
.gallery-item:hover figcaption { opacity: 1; transform: none; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.testimonial { background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px 30px; position: relative; box-shadow: var(--shadow-sm); }
.testimonial::before { content: "\201C"; position: absolute; right: 24px; top: -6px; font-family: Georgia, serif; font-size: 90px; color: var(--c-accent); opacity: .22; line-height: 1; }
.testimonial p { color: var(--c-text); font-size: 1.02rem; line-height: 1.5; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: .95rem; color: var(--c-text); }
.testimonial-author span { font-size: .82rem; color: var(--c-text-faint); }

/* ---------- Logos ---------- */
.logos-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
@media (max-width: 800px) { .logos-strip { grid-template-columns: repeat(3, 1fr); } }
.logos-strip span { background: var(--c-bg-soft); padding: 28px 16px; text-align: center; font-family: var(--f-display); font-weight: 700; letter-spacing: .03em; color: var(--c-text-faint); transition: color var(--t-fast), background var(--t-fast); font-size: .86rem; }
.logos-strip span:hover { color: var(--c-accent-deep); background: #f3f9fa; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; transition: opacity .2s var(--ease); }
.post-card { background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid); box-shadow: var(--shadow-sm); }
.post-card:hover { transform: translateY(-6px); border-color: rgba(14,181,203,.45); box-shadow: var(--shadow); }
.post-card-img { aspect-ratio: 16/10; overflow: hidden; background: #eef3f5; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--c-text-faint); font-family: var(--f-mono); margin-bottom: 14px; flex-wrap: wrap; }
.post-meta .cat { color: var(--c-accent-deep); }
.post-card h3 { font-size: 1.25rem; margin-bottom: 12px; transition: color var(--t-fast); }
.post-card:hover h3 { color: var(--c-accent-deep); }
.post-card .read-more { margin-top: auto; padding-top: 22px; font-size: .85rem; color: var(--c-text-muted); display: inline-flex; align-items: center; gap: 8px; }

/* ---------- About lead ---------- */
.about-lead { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 4vw, 60px); align-items: stretch; }
@media (max-width: 900px) { .about-lead { grid-template-columns: 1fr; } }
.about-lead > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.about-cards { align-self: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 4px 26px; box-shadow: var(--shadow-sm); transition: border-color var(--t-fast); }
.faq-item[open] { border-color: rgba(14,181,203,.4); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; color: var(--c-text); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--c-accent-deep); transition: transform var(--t-mid); flex-shrink: 0; transform: rotate(90deg); }
.faq-item[open] .faq-ic { transform: rotate(-90deg); }
.faq-a { padding: 0 0 24px; color: var(--c-text-muted); font-size: .98rem; line-height: 1.6; max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-channels { display: grid; gap: 1px; background: var(--c-line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); }
.channel { background: var(--c-bg-soft); padding: 24px 28px; display: flex; gap: 18px; align-items: center; transition: background var(--t-fast); }
.channel:hover { background: #f3f9fa; }
.channel .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(14,181,203,.16), rgba(95,214,230,.1)); color: var(--c-accent-deep); flex-shrink: 0; }
.channel .lab { font-size: 11px; font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-faint); }
.channel .val { font-size: 1rem; color: var(--c-text); margin-top: 4px; }
.contact-form { background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: block; }
.field label { display: block; font-size: 12px; font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-faint); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; background: #f4f8fa; border: 1px solid var(--c-line); border-radius: 12px; color: var(--c-text); font-size: .95rem; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-accent); background: #fff; box-shadow: 0 0 0 4px rgba(14,181,203,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%234a606a' stroke-width='1.5' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); aspect-ratio: 21/9; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.12) saturate(.95); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--c-accent), transparent); }
.timeline-item { position: relative; padding: 18px 0 36px; }
.timeline-item::before { content: ""; position: absolute; left: -27px; top: 26px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--c-accent); box-shadow: 0 0 0 5px var(--c-bg); }
.timeline-year { font-family: var(--f-mono); color: var(--c-accent-deep); font-size: .82rem; letter-spacing: .12em; }
.timeline-item h3 { margin: 6px 0; font-size: 1.2rem; }
.timeline-item p { font-size: .95rem; max-width: 56ch; }

/* ---------- Floating actions ---------- */
.fab-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 95; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(10,27,34,.4); transition: transform var(--t-fast), opacity var(--t-mid), visibility var(--t-mid); }
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab-wa { background: var(--c-wa); color: #fff; }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: ring 2.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.fab-top { background: var(--c-text); color: #fff; opacity: 0; visibility: hidden; }
.fab-wrap.show-top .fab-top { opacity: 1; visibility: visible; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .scroll-hint::after, .hero-flow { animation: none; }
  .marquee { animation: none; }
}

/* ---------- Cursor ---------- */
.cursor-dot { position: fixed; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent); pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease); display: none; }
@media (hover: hover) and (pointer: fine) { .cursor-dot { display: block; } }
.cursor-dot.is-hover { width: 36px; height: 36px; background: rgba(14,181,203,.85); }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; top: -200px; left: 16px; z-index: 9999; background: var(--c-dark-bg); color: #fff; padding: 12px 22px; border-radius: 8px; font-size: .9rem; border: 2px solid var(--c-accent); transition: top .25s ease; }
.skip-link:focus { top: 16px; outline: none; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }

/* =========================================================
   AWARD LAYER — 2026 premium refinement
   ========================================================= */
:root { --f-serif: "Fraunces", Georgia, "Times New Roman", serif; }

/* Editorial serif accent on highlighted hero/heading words */
.word-highlight { font-family: var(--f-serif) !important; font-style: italic; font-weight: 500; letter-spacing: -.01em; }

/* Film-grain texture for tactile, premium depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .045; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Subtle mesh tints for airy depth (light sections) */
body { background-image: radial-gradient(60% 50% at 100% 0%, rgba(14,181,203,.05), transparent 60%), radial-gradient(50% 40% at 0% 100%, rgba(95,214,230,.05), transparent 55%); background-attachment: fixed; }
.section-light { background-color: #fff; background-image: radial-gradient(48% 60% at 92% 8%, rgba(14,181,203,.045), transparent 60%); }
.section-soft { background-color: #e7f1f3; background-image: radial-gradient(50% 60% at 6% 4%, rgba(95,214,230,.12), transparent 60%); }

/* Larger, more confident eyebrow */
.eyebrow { font-size: 12.5px; }
.eyebrow::before { width: 34px; }

/* ---------- HERO refinement ---------- */
.hero-content { align-items: center; }
.hero-main h1 { font-size: clamp(2.7rem, 6.8vw, 5.7rem); }
.hero-trust { display: inline-flex; align-items: center; gap: 12px; margin-top: 38px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--c-dark-line-strong); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; color: var(--c-dark-text-muted); }

.hero-visual { position: relative; min-height: clamp(380px, 44vw, 560px); display: grid; place-items: center; }
.airflow { position: absolute; inset: -6% -4%; width: 108%; height: 112%; opacity: .95; }
.airflow path { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 5 24; stroke-dashoffset: 0; animation: airdash 3s linear infinite; animation-delay: calc(var(--i) * -0.52s); filter: drop-shadow(0 0 7px rgba(44,207,227,.45)); }
@keyframes airdash { to { stroke-dashoffset: -290; } }
.hero-card { position: relative; z-index: 2; width: min(100%, 360px); padding: 30px 30px 28px; border-radius: var(--radius-lg); background: linear-gradient(165deg, rgba(18,52,63,.72), rgba(8,23,29,.66)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 40px 90px -40px rgba(0,0,0,.7); }
.hero-card-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-soft); margin-bottom: 22px; }
.hero-card-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent-soft); box-shadow: 0 0 0 4px rgba(44,207,227,.18); }
.hero-card .hero-meta-chips { grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .hero-visual { min-height: 280px; } .hero-card { width: 100%; } }

/* ---------- Section heads: editorial marker ---------- */
.section-head > div { position: relative; }
.section-head h2 { letter-spacing: -.03em; }

/* ---------- Buttons: light shine sweep ---------- */
.btn-primary::before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); transition: left .6s var(--ease-out); }
.btn-primary:hover::before { left: 130%; }

/* ---------- Cards: cohesive teal image wash + crisper lift ---------- */
.svc-card-img, .product-card-img, .post-card-img { position: relative; }
.svc-card-img::after, .product-card-img::after, .post-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,23,29,0) 55%, rgba(8,23,29,.28)); opacity: 0; transition: opacity var(--t-mid); pointer-events: none; }
.svc-card:hover .svc-card-img::after, .product-card:hover .product-card-img::after, .post-card:hover .post-card-img::after { opacity: 1; }
.svc-card, .product-card, .post-card, .testimonial, .feature-grid, .process-grid, .logos-strip, .contact-channels { box-shadow: 0 1px 0 rgba(10,27,34,.03), var(--shadow-sm); }
.svc-card:hover, .product-card:hover, .post-card:hover { box-shadow: 0 32px 70px -28px rgba(10,27,34,.28); }

/* ---------- Stats: bigger editorial numerals ---------- */
.stat-val { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
.stat-lab { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Testimonials: serif quote ---------- */
.testimonial p { font-family: var(--f-serif); font-size: 1.12rem; font-weight: 400; line-height: 1.55; letter-spacing: -.005em; }

/* ---------- Feature icons: richer ---------- */
.feature-icon { box-shadow: inset 0 0 0 1px rgba(14,181,203,.18); }

/* ---------- CTA banner: deeper glow ---------- */
.cta-banner h2 { letter-spacing: -.03em; }
.cta-banner::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 380px; height: 380px; border-radius: 50%; background: var(--c-sky); opacity: .1; filter: blur(90px); }

/* ---------- Dark hero scrollbar-safe & reduced motion ---------- */
@media (prefers-reduced-motion: reduce) { .airflow path { animation: none; stroke-dasharray: none; } }

/* ---------- Live air-quality card ---------- */
.air-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--c-dark-line); font-size: .82rem; line-height: 1.5; color: var(--c-dark-text-muted); }
#air-card .hero-chip-val { transition: color var(--t-mid); }
#air-card .hero-chip-lab { min-height: 2.4em; }
.air-loc { position: relative; }
#air-card .hero-card-tag { color: var(--c-accent-soft); }

/* ---------- Live air card · enriched slider ---------- */
.air-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.air-pin { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, rgba(14,181,203,.22), rgba(95,214,230,.12)); color: var(--c-accent-soft); }
.air-pin svg { width: 18px; height: 18px; }
.air-headtext { min-width: 0; flex: 1; }
.air-city { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; color: #fff; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.air-sub { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-dark-text-faint); margin-top: 3px; }
.air-live { flex-shrink: 0; }

.air-slider { position: relative; min-height: 92px; }
.air-track { position: relative; min-height: 92px; }
.air-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); pointer-events: none; }
.air-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.air-k { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-soft); margin-bottom: 12px; }
.air-big { font-family: var(--f-display); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -.03em; color: #fff; display: flex; align-items: baseline; gap: 12px; }
.air-big small { font-family: var(--f-body); font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--c-dark-text-muted); }
.air-metrics { display: flex; gap: 26px; flex-wrap: wrap; }
.air-m b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em; color: #fff; }
.air-m span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-dark-text-faint); }
.air-advice { font-family: var(--f-serif); font-style: italic; font-size: 1.02rem; line-height: 1.45; color: var(--c-dark-text); margin: 0; }

.air-dots { display: flex; gap: 7px; margin-top: 18px; }
.air-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); transition: all var(--t-fast); padding: 0; }
.air-dot:hover { background: rgba(255,255,255,.5); }
.air-dot.is-active { width: 22px; border-radius: 4px; background: var(--c-accent); }

/* ---------- Live air card · single static panel (no slider) ---------- */
.air-aqi-row { display: flex; align-items: center; gap: 16px; margin-top: 2px; }
.air-aqi-big { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.035em; color: #fff; transition: color var(--t-mid); }
.air-aqi-meta { display: flex; flex-direction: column; gap: 3px; }
.air-aqi-cat { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; line-height: 1.1; color: var(--c-accent-soft); transition: color var(--t-mid); }
.air-aqi-unit { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-dark-text-faint); }

.air-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--c-dark-line); }
.air-grid .air-m b { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-display); font-weight: 700; font-size: 1.42rem; letter-spacing: -.02em; color: #fff; }
.air-grid .air-m b i { font-family: var(--f-mono); font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: .04em; color: var(--c-dark-text-faint); }
.air-grid .air-m span { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-dark-text-faint); }

#air-card .air-advice { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-dark-line); font-family: var(--f-serif); font-style: italic; font-size: .96rem; line-height: 1.5; color: var(--c-dark-text-muted); }

/* Responsive sizing */
.hero-card { width: min(100%, 380px); }
@media (max-width: 480px) {
  .hero-card { padding: 24px 22px 22px; }
  .air-grid { gap: 14px 10px; }
  .air-grid .air-m b { font-size: 1.25rem; }
}

/* ---------- Fan → airflow → filtration scene (above the card) ---------- */
.hero-visual { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-height: 0; }
.fan-scene { width: 100%; max-width: 440px; padding: 14px 16px; border-radius: var(--radius-lg); background: linear-gradient(165deg, rgba(18,52,63,.4), rgba(8,23,29,.25)); border: 1px solid rgba(255,255,255,.08); }
.fan-scene .fanfx { width: 100%; height: auto; overflow: visible; display: block; }
.fan-ring { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.4; }
.fan-blades path { fill: url(#fanGrad); opacity: .95; filter: drop-shadow(0 0 5px rgba(44,207,227,.35)); }
.fan-hub { fill: #0b212a; stroke: var(--c-accent-soft); stroke-width: 2; }
.fan-hub-dot { fill: var(--c-accent-soft); }
.fan-stream { fill: none; stroke: var(--c-accent-soft); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 14; opacity: .6; animation: airdash 2.2s linear infinite; }
.fan-stream.clean { stroke: var(--c-sky); stroke-dasharray: none; opacity: .9; filter: drop-shadow(0 0 4px rgba(95,214,230,.5)); animation: cleanpulse 2.6s ease-in-out infinite; }
@keyframes cleanpulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.fan-dust { fill: #e3c489; }
.fan-filter { fill: rgba(14,181,203,.12); stroke: var(--c-accent-soft); stroke-width: 1.6; }
.fan-pleat { stroke: rgba(95,214,230,.45); stroke-width: 1.3; }
.fan-caught { fill: #e3c489; }
.fan-label { fill: var(--c-dark-text-faint); font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; }
.fan-label-clean { fill: var(--c-sky); }
@media (prefers-reduced-motion: reduce) { .fan-stream { animation: none; } }
@media (max-width: 980px) { .hero-visual { align-items: stretch; } .fan-scene { max-width: 100%; } }

/* ---------- Fan speed: CSS-driven rotation + control ---------- */
.fan-blades { transform-box: fill-box; transform-origin: 50% 50%; animation: fanspin var(--fan-dur, .6s) linear infinite; }
@keyframes fanspin { to { transform: rotate(360deg); } }
.fan-stream { animation-duration: var(--flow-dur, 2.2s); }
.fan-scene.fan-stopped .fan-blades { animation-play-state: paused; }
.fan-scene.fan-stopped .fan-stream { animation-play-state: paused; opacity: .22; }
.fan-scene.fan-stopped .fan-stream.clean { opacity: .3; }

.fan-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.fan-rpm { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; min-width: 58px; }
.fan-rpm b { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; color: #fff; letter-spacing: -.02em; }
.fan-rpm span { font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; color: var(--c-accent-soft); margin-top: 4px; }
.fan-ctrl-r { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.fan-ctrl-lab { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-dark-text-faint); }
.fan-range { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--c-accent) 40%, rgba(255,255,255,.14) 40%); outline: none; cursor: pointer; }
.fan-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--c-accent); box-shadow: 0 2px 8px rgba(0,0,0,.4); transition: transform var(--t-fast); }
.fan-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.fan-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--c-accent); box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: pointer; }
.fan-range:focus-visible { outline: 2px solid var(--c-accent-soft); outline-offset: 4px; }

/* ---------- Hero ambient airflow (merged background) ---------- */
.hero-airflow { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: .4; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 92% 78% at 58% 42%, #000 28%, transparent 86%);
  mask-image: radial-gradient(ellipse 92% 78% at 58% 42%, #000 28%, transparent 86%); }
.hero-airflow path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 28; animation: airdash 7s linear infinite; animation-delay: calc(var(--i) * -1.4s); }
@media (prefers-reduced-motion: reduce) { .hero-airflow path { animation: none; } }

/* ---------- On-page SEO: breadcrumb, service areas, related links ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-dark-text-faint); margin-bottom: 18px; }
.crumbs a { color: var(--c-dark-text-muted); }
.crumbs a:hover { color: var(--c-accent-soft); }
.crumb-sep { color: var(--c-accent-soft); }
.crumb-now { color: var(--c-dark-text); }

.areas-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-bg-soft); font-size: .92rem; color: var(--c-text); box-shadow: var(--shadow-sm); transition: border-color var(--t-fast), transform var(--t-fast), color var(--t-fast); }
.area-chip svg { width: 16px; height: 16px; color: var(--c-accent-deep); }
.area-chip:hover { border-color: rgba(14,181,203,.5); color: var(--c-accent-deep); transform: translateY(-2px); }

.svc-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.svc-link { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--c-accent-deep); }
.svc-link .arr { transition: transform var(--t-mid); display: inline-flex; }
.svc-link:hover { color: var(--c-accent); }
.svc-link:hover .arr { transform: translateX(4px); }

/* ---------- Calculation tools ---------- */
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .calc-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }
.calc { position: relative; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.calc-k { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .15em; color: var(--c-accent-deep); }
.calc h3 { margin: 12px 0 8px; font-size: 1.25rem; }
.calc-d { font-size: .92rem; min-height: 2.6em; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld.fld-wide { grid-column: 1 / -1; }
.fld span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-faint); }
.fld input, .fld select { width: 100%; padding: 12px 14px; background: #f4f8fa; border: 1px solid var(--c-line); border-radius: 11px; color: var(--c-text); font-size: .98rem; font-family: var(--f-display); font-weight: 600; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--c-accent); background: #fff; box-shadow: 0 0 0 4px rgba(14,181,203,.14); }
.fld select { appearance: none; font-weight: 500; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%234a606a' stroke-width='1.5' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.calc-out { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--c-line); }
.calc-res { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.calc-res b { font-family: var(--f-display); font-weight: 700; font-size: 2.4rem; letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg, var(--c-text), var(--c-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.calc-res span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-faint); }
.calc-sub { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: .88rem; color: var(--c-text-muted); }
.calc-sub b { color: var(--c-text); font-weight: 700; }
.calc-note { max-width: 760px; margin: 36px auto 0; text-align: center; font-size: .88rem; color: var(--c-text-faint); }
.calc-cta { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding: 26px; border-radius: var(--radius-lg); background: #e7f1f3; }
.calc-cta span { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--c-text); }

/* ---------- Calculator live visualizations ---------- */
.calc-viz { height: 96px; margin: 6px 0 22px; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(165deg, #0c2128, #08171d); border: 1px solid rgba(255,255,255,.07); }
.calc-viz svg { width: 100%; height: 100%; }
.v-ring { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.5; }
.v-hub { fill: #0b212a; stroke: var(--c-accent-soft); stroke-width: 2; }
.v1-blades { transform-box: fill-box; transform-origin: center; animation: fanspin var(--v1-dur, 1.2s) linear infinite; }
.v1-blades path { fill: var(--c-accent-soft); filter: drop-shadow(0 0 4px rgba(44,207,227,.4)); }
.v1-flow path { fill: none; stroke: var(--c-sky); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 14; opacity: .7; animation: airdash var(--v1-flow, 2s) linear infinite; }
.viz2 .g-bg { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 10; stroke-linecap: round; }
.viz2 .g-val { fill: none; stroke: var(--c-accent-soft); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: 251.3; transition: stroke-dashoffset .6s var(--ease-out), stroke .4s var(--ease); }
.viz2 .g-needle { stroke: #fff; stroke-width: 3; stroke-linecap: round; transform-box: view-box; transform-origin: 110px 108px; transform: rotate(-90deg); transition: transform .6s var(--ease-out); }
.viz2 .g-cap { fill: #fff; }
.v3-flow path { fill: none; stroke: var(--c-sky); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 14; opacity: .55; animation: airdash var(--v3-flow, 2s) linear infinite; }
.v3-duct { fill: rgba(14,181,203,.16); stroke: var(--c-accent-soft); stroke-width: 3; transition: r .55s var(--ease-out); }
.calc-viz.viz-stop .v1-blades, .calc-viz.viz-stop .v1-flow path { animation-play-state: paused; }

/* result count-up pop */
.calc-res b.pop { animation: respop .45s var(--ease-out); }
@keyframes respop { 0% { transform: scale(1); } 35% { transform: scale(1.07); } 100% { transform: scale(1); } }
.calc-res b { display: inline-block; transform-origin: left center; }

@media (prefers-reduced-motion: reduce) { .v1-blades, .v1-flow path, .v3-flow path { animation: none; } .calc-res b.pop { animation: none; } }

/* ---------- Calculator playful extras ---------- */
.viz-canvas { width: 100%; height: 100%; display: block; }
.fld-slider { position: relative; }
.mini-range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin-top: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--c-accent), rgba(10,27,34,.12)); outline: none; cursor: pointer; }
.mini-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--c-accent); box-shadow: 0 2px 6px rgba(10,27,34,.25); transition: transform var(--t-fast); }
.mini-range::-webkit-slider-thumb:hover { transform: scale(1.18); }
.mini-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--c-accent); cursor: pointer; }
.calc-pill { display: inline-block; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; color: #042029; transition: background .4s var(--ease); }
.calc-fun { margin-top: 14px; font-size: .92rem; line-height: 1.4; color: var(--c-text); font-weight: 500; min-height: 1.3em; }
.calc-viz.shake { animation: vshake .45s ease; }
@keyframes vshake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

/* ---------- Advanced tabbed calculator suite ---------- */
.calc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.calc-tabs button { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--c-line-strong); background: #fff; color: var(--c-text-muted); font-size: .9rem; font-weight: 600; font-family: var(--f-display); transition: all var(--t-fast); }
.calc-tabs button:hover { color: var(--c-text); border-color: var(--c-text); }
.calc-tabs button.is-active { background: var(--c-accent); color: #042029; border-color: var(--c-accent); box-shadow: 0 10px 24px -12px var(--c-accent-glow); }
.calc-panel { display: none; }
.calc-panel.is-active { display: block; animation: fadeup .4s var(--ease-out); }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.calc-pro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
@media (max-width: 820px) { .calc-pro { grid-template-columns: 1fr; } }
.calc-pro-in .calc-k { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; color: var(--c-accent-deep); display: block; }
.calc-pro-in .calc-d { font-size: .95rem; margin: 12px 0 24px; min-height: auto; }
.calc-pro-out { display: flex; flex-direction: column; gap: 20px; }
.calc-pro-out .calc-viz { height: 150px; margin: 0; }
.calc-pro-out .calc-out { border-top: 0; padding-top: 0; margin-top: 0; }
.calc-out-tall { min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
