/* =========================================================================
   GALVACOAT – Modern Dark Industrial Theme
   Theme tokens preserve original palette: sky-blue primary, amber accent.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* Surface tiers (depth) */
  --bg:                 #050b1a;
  --surface-1:          #0b1428;
  --surface-2:          #111a30;
  --surface-3:          #18223b;
  --surface-glass:      rgba(11, 20, 40, 0.72);
  --surface-glass-soft: rgba(11, 20, 40, 0.55);

  /* Brand */
  --primary:        #38bdf8;
  --primary-strong: #0ea5e9;
  --primary-deep:   #0369a1;
  --primary-soft:   rgba(56, 189, 248, 0.16);
  --accent:         #facc15;
  --accent-soft:    rgba(250, 204, 21, 0.16);

  /* Text */
  --text:       #f1f5f9;
  --text-soft:  #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim:   #64748b;

  /* Borders */
  --border:        rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --border-glow:   rgba(56, 189, 248, 0.55);

  /* Radius */
  --r-sm: 0.5rem;
  --r-md: 0.9rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 4px 12px rgba(2, 6, 23, 0.4);
  --shadow-2: 0 14px 40px rgba(2, 6, 23, 0.55);
  --shadow-3: 0 28px 80px rgba(2, 6, 23, 0.8);
  --shadow-glow: 0 20px 60px rgba(14, 165, 233, 0.35);
  --ring: 0 0 0 3px rgba(56, 189, 248, 0.45);

  /* Type */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  clamp(1.75rem, 3.2vw, 2.5rem);
  --fs-3xl:  clamp(2.25rem, 4.5vw, 3.4rem);

  /* Motion */
  --t-fast: 0.16s ease;
  --t:      0.24s cubic-bezier(0.22, 0.8, 0.2, 1);
  --t-slow: 0.6s  cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* Base ===================================================================== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 88% 110%, rgba(2, 132, 199, 0.18), transparent 55%),
    radial-gradient(800px 500px at 50% 40%, rgba(8, 47, 73, 0.4), transparent 70%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: inherit;
  color: var(--text);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-lg);  font-weight: 600; }
h4 { font-size: var(--fs-md);  font-weight: 600; }

p { margin: 0 0 0.9rem; color: var(--text-soft); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--primary-strong); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

::selection {
  background: var(--primary-soft);
  color: var(--text);
}

/* Nebula bg --------------------------------------------------------------- */
.bg-nebula {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.nebula-layer {
  position: absolute;
  width: 160%;
  height: 160%;
  top: -20%;
  left: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.22), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(250, 204, 21, 0.08), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
}
.layer-2 { filter: blur(14px); opacity: 0.55; }
.layer-3 { filter: blur(28px); opacity: 0.4;  }

/* Layout ================================================================= */
.container {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(8, 47, 73, 0.18), transparent);
}

.section-head {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 44rem;
}

.section-head h2 { margin: 0.4rem 0 0.5rem; }
.section-head p   { color: var(--text-muted); margin: 0; }

.eyebrow {
  display: inline-block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.32rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--primary-soft);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin: 0;
}

/* Header / Nav ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(5, 11, 26, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(14, 165, 233, 0.28));
}

.logo-text strong { display: block; font-size: 1rem; font-weight: 700; }
.logo-text small  { display: block; font-size: 0.72rem; color: var(--text-muted); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
}

.main-nav a:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }

.main-nav a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

/* Buttons ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  padding: 0.7rem 1.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #051327 !important;
  box-shadow: var(--shadow-glow);
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(14, 165, 233, 0.55);
  filter: brightness(1.05);
}

.btn:active { transform: translateY(0); }

.btn-sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text) !important;
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--primary);
  box-shadow: none;
}

.btn-full { width: 100%; }

/* Mobile nav toggle ------------------------------------------------------- */
.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--surface-1);
  color: var(--text);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.nav-toggle:hover { background: var(--surface-2); }

.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* HERO ==================================================================== */
.hero {
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: var(--fs-3xl);
  margin: 0.8rem 0 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  color: var(--text-soft);
  max-width: 36rem;
  font-size: var(--fs-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0 2.4rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}

.hero-metrics > div { min-width: 0; }

.hero-metrics .metric-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.hero-metrics .metric-value {
  display: block;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text);
}

.hero-visual { position: relative; }

.hero-main {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 3;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 11, 26, 0.7) 100%);
  pointer-events: none;
}

.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--r-pill);
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2);
  z-index: 2;
}

.hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

.hero-tag-top    { top: 8%;  right: -6%; }
.hero-tag-bottom { bottom: 10%; left: -6%; }

.floating-shape {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3), transparent 65%);
  filter: blur(28px);
  animation: floatShape 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.float-a { width: 240px; height: 240px; top: -8%;  left: -12%; }
.float-b { width: 280px; height: 280px; bottom: -12%; right: -16%; }

@keyframes floatShape {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(20px, -30px, 0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.0); }
}

/* About / two-col ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.two-col h2 { margin-top: 0.4rem; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.pill {
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  background: var(--surface-1);
}

.image-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow-3);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}

.image-card-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  right: 1.2rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.image-card-badge strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.18rem;
}
.image-card-badge span { font-size: 0.78rem; color: var(--text-muted); }

/* Milestones ============================================================== */
.milestone-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.milestone {
  position: relative;
  padding: 1.4rem 1.3rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-1);
  transition: transform var(--t), border-color var(--t), background var(--t);
}

.milestone:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--surface-2);
}

.milestone-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #051327;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.milestone p { margin: 0; font-size: 0.88rem; color: var(--text-soft); }

/* Lists =================================================================== */
.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.list-check.compact li { margin-bottom: 0.35rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.chip {
  padding: 0.32rem 0.78rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  font-size: 0.74rem;
  color: var(--text-soft);
  background: var(--surface-1);
}

.chip-row-soft .chip { background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.28); color: var(--primary); }

/* Solutions =============================================================== */
.solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.6fr);
  gap: 2.2rem;
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.solution-pill {
  background: var(--surface-1);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  color: var(--text-soft);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}

.solution-pill::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t), transform var(--t);
  color: var(--primary);
  font-weight: 700;
}

.solution-pill:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}

.solution-pill:hover::after { opacity: 1; transform: translateX(0); }

.solution-pill.active {
  background: linear-gradient(135deg, var(--primary-soft), transparent);
  border-color: var(--primary);
  color: var(--text);
}

.solution-pill.active::after { opacity: 1; transform: translateX(0); }

.solution-panels {
  position: relative;
  min-height: 360px;
}

.solution-panel {
  display: none;
  gap: 1.6rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: var(--surface-1);
  box-shadow: var(--shadow-2);
  padding: 1.6rem;
  animation: panelIn var(--t-slow);
}

.solution-panel.active { display: grid; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  height: 260px;
  border: 1px solid var(--border);
}

.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-body h3 { margin: 0 0 0.55rem; font-size: var(--fs-lg); }
.panel-body p  { margin: 0 0 1.1rem; font-size: 0.95rem; color: var(--text-soft); }

.panel-body h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.7rem;
  font-weight: 600;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
}

/* Sectors ================================================================= */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}

.sector-card {
  position: relative;
  padding: 1.6rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-1);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), background var(--t);
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 50% 0%, rgba(56, 189, 248, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--surface-2);
}
.sector-card:hover::before { opacity: 1; }

.sector-card h3 { margin: 0 0 0.55rem; font-size: var(--fs-md); }
.sector-card p  { margin: 0 0 1rem; font-size: 0.88rem; color: var(--text-soft); }

/* Process ================================================================= */
.process-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.process-list li {
  position: relative;
  padding: 1rem 1.1rem 1rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface-1);
  transition: border-color var(--t), background var(--t), transform var(--t);
}

.process-list li:hover {
  border-color: var(--border-glow);
  background: var(--surface-2);
  transform: translateX(4px);
}

.process-list h4 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  color: var(--text);
}
.process-list h4::first-letter { color: var(--primary); }

.process-list p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

.policy-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.45), var(--surface-1));
  padding: 1.8rem;
  box-shadow: var(--shadow-2);
}

.policy-card h3 { margin: 0 0 0.4rem; }
.policy-card p  { color: var(--text-soft); margin-bottom: 1rem; }

/* Contact ================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.contact-form {
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  padding: 1.9rem;
  background: var(--surface-1);
  box-shadow: var(--shadow-2);
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status:empty { display: none; }

.form-status.success {
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--border-glow);
}

.form-status.error {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(250, 204, 21, 0.4);
}

.form-status.error a {
  color: var(--accent);
  font-weight: 600;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  min-height: 44px;
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  padding: 0.7rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--surface-2);
  color: var(--text);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.form-row textarea { min-height: 110px; resize: vertical; }

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-dim); }

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover { border-color: var(--border-glow); }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--ring);
  background: var(--surface-3);
}

.contact-info {
  padding: 1.6rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface-1);
}

.contact-info h3 { margin: 0 0 0.6rem; font-size: var(--fs-md); }
.contact-info h4 { margin: 1.2rem 0 0.4rem; font-size: 0.95rem; color: var(--primary); }
.contact-info p  { margin: 0 0 0.5rem; font-size: 0.92rem; color: var(--text-soft); }
.contact-info strong { color: var(--text); }

/* Footer ================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-1);
  padding-top: 3rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2rem;
}

.site-footer h3 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
.site-footer h4 { font-size: 0.95rem; margin-bottom: 0.6rem; color: var(--primary); }

.site-footer p,
.site-footer li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.site-footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* WhatsApp FAB ============================================================ */
.whatsapp-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #052e1a;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.45);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 55px rgba(34, 197, 94, 0.55); }

.whatsapp-fab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Section connector ======================================================= */
.section-connector { display: none; }

/* Reveal & cinematic ====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.zoom-on-scroll {
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: transform;
}
.zoom-on-scroll.zoomed { transform: scale(1.06); }

/* Responsive ============================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .two-col,
  .solutions-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .solution-panels { min-height: auto; }

  .footer-grid { grid-template-columns: 1.6fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.8rem 0; }
  .hero    { padding: 3rem 0 3.5rem; }

  .header-inner { padding-block: 0.7rem; }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 1px);
    padding: 0.7rem 1.2rem 1rem;
    background: rgba(5, 11, 26, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t), opacity var(--t);
  }
  .main-nav a { padding: 0.75rem 1rem; font-size: 0.95rem; }
  .main-nav.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }

  .hero-tag-top,
  .hero-tag-bottom { display: none; }

  .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
  .hero-metrics .metric-value { font-size: var(--fs-base); }

  .panel-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .whatsapp-fab span { display: none; }
  .whatsapp-fab { padding: 0.85rem; width: 52px; height: 52px; justify-content: center; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 2rem); }

  .section { padding: 3rem 0; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .hero-metrics { grid-template-columns: minmax(0, 1fr); }
  .hero-metrics > div {
    padding: 0.85rem 1rem;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .hero-metrics .metric-label { margin: 0; }
  .hero-metrics .metric-value { font-size: var(--fs-base); }

  .section-head h2 { font-size: 1.65rem; }

  .contact-form { padding: 1.3rem; }
}

/* Reduced motion ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .floating-shape, .hero-tag .dot { animation: none !important; }
}
