@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --blue-50: #eef3fb;
  --blue-100: #d8e3f4;
  --blue-500: #34558b;
  --blue-600: #2c4877;
  --blue-700: #243a61;
  --blue-800: #1c2d4b;
  --blue-900: #121e33;
  --saffron-50: #fff8ec;
  --saffron-100: #ffeccb;
  --saffron-400: #ffb139;
  --saffron-500: #f59a1a;
  --teal-400: #2da89f;
  --teal-500: #1f8f87;
  --amber-100: #fff1d6;
  --ink-0: #ffffff;
  --ink-25: #f7f8fc;
  --ink-50: #f1f3f8;
  --ink-100: #e6eaf2;
  --ink-200: #d0d7e4;
  --ink-500: #5d6473;
  --ink-600: #434956;
  --ink-700: #2e333d;
  --ink-900: #0f1115;
  --forest-500: #2f7a4f;
  --error: #b8322a;
  --warning: #c87a0a;
  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(18, 30, 51, 0.08), 0 1px 2px rgba(18, 30, 51, 0.04);
  --shadow-md: 0 10px 22px rgba(18, 30, 51, 0.1);
  --shadow-lg: 0 18px 40px rgba(18, 30, 51, 0.14);
  --radius: 12px;
  --gradient-hero: linear-gradient(125deg, rgba(18, 30, 51, 0.94) 0%, rgba(36, 58, 97, 0.82) 42%, rgba(245, 154, 26, 0.38) 100%);
  --gradient-blue: linear-gradient(135deg, #1c2d4b 0%, #2c4877 48%, #34558b 100%);
  --gradient-warm: linear-gradient(180deg, #fff8ec 0%, #f7f8fc 100%);
  --gradient-cta: linear-gradient(120deg, #ffb139 0%, #f59a1a 55%, #ffca6a 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 177, 57, 0.09), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(52, 85, 139, 0.08), transparent 24%),
    var(--ink-25);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color-scheme: light;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--ink-100);
  box-shadow: 0 1px 0 rgba(18, 30, 51, 0.04);
  transition: background 280ms ease, box-shadow 280ms ease, backdrop-filter 280ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand img {
  width: 224px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue-600);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ink-200);
  background: var(--ink-0);
  border-radius: 6px;
  padding: 8px 10px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--blue-900);
  background: var(--saffron-400);
}

.btn-primary:hover {
  background: var(--saffron-500);
}

.btn-secondary {
  color: var(--ink-0);
  background: var(--blue-500);
}

.btn-secondary:hover {
  background: var(--blue-600);
}

.btn-outline {
  color: var(--blue-700);
  background: var(--ink-0);
  border-color: var(--blue-500);
}

.btn-outline:hover {
  background: var(--blue-50);
}

.hero .btn-outline,
.page-hero .btn-outline,
.section-blue .btn-outline {
  color: var(--ink-0);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero .btn-outline:hover,
.page-hero .btn-outline:hover,
.section-blue .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

.btn[href*="wa.me"]::before {
  content: '';
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex: 0 0 auto;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%2325D366' d='M16.03 3.2A12.66 12.66 0 0 0 5.1 22.25L3.8 28.8l6.7-1.25A12.67 12.67 0 1 0 16.03 3.2Z'/%3E%3Cpath fill='%23fff' d='M22.95 19.05c-.36-.18-2.13-1.05-2.46-1.17-.33-.12-.57-.18-.81.18-.24.36-.93 1.17-1.14 1.41-.21.24-.42.27-.78.09-.36-.18-1.52-.56-2.9-1.78-1.07-.95-1.8-2.13-2.01-2.49-.21-.36-.02-.56.16-.74.17-.17.36-.42.54-.63.18-.21.24-.36.36-.6.12-.24.06-.45-.03-.63-.09-.18-.81-1.95-1.11-2.67-.29-.7-.59-.6-.81-.61h-.69c-.24 0-.63.09-.96.45-.33.36-1.26 1.23-1.26 3s1.29 3.48 1.47 3.72c.18.24 2.54 3.88 6.15 5.44.86.37 1.53.59 2.05.76.86.27 1.65.23 2.27.14.69-.1 2.13-.87 2.43-1.71.3-.84.3-1.56.21-1.71-.09-.15-.33-.24-.69-.42Z'/%3E%3C/svg%3E");
}

.hero {
  background: var(--gradient-blue);
  color: var(--ink-0);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero--photo,
.page-hero--photo {
  background: var(--blue-900);
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  background:
    var(--gradient-hero),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.02);
  z-index: -2;
}

.hero--photo::after,
.page-hero--photo::after {
  content: '';
  position: absolute;
  inset: auto -120px -140px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 177, 57, 0.34), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero.visual-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

.hero .container {
  display: grid;
  gap: 28px;
  padding: 72px 0 80px;
}

.hero-banner,
.page-hero-block .hero-banner {
  width: 100%;
}

.hero-banner-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
}

.hero-banner-frame img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

.page-hero-block {
  background: var(--gradient-blue);
}

.page-hero-copy {
  padding: 64px 0 28px;
  color: var(--ink-0);
}

.page-hero-copy .lead {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero-block .hero-banner {
  padding-bottom: 48px;
  background: linear-gradient(180deg, var(--blue-800), var(--ink-25));
}

.page-hero-block .hero-banner-frame {
  border-color: var(--ink-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--saffron-400);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 6.5vw, 76px);
}

h2 {
  margin: 0 0 16px;
  color: var(--blue-700);
  font-size: clamp(34px, 4vw, 52px);
}

h3 {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: 28px;
}

.lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  max-width: 670px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.factory-graphic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 0;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  padding: 18px;
  overflow: hidden;
}

.flow-node {
  min-height: 96px;
  border-radius: 8px;
  background: var(--ink-0);
  color: var(--blue-900);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  animation: liftIn 700ms ease both;
}

.flow-node:nth-child(3) { animation-delay: 100ms; }
.flow-node:nth-child(5) { animation-delay: 200ms; }
.flow-node:nth-child(7) { animation-delay: 300ms; }

.flow-node span {
  display: block;
  color: var(--ink-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-node strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.flow-node.good {
  border-left: 4px solid var(--forest-500);
}

.flow-node.warn {
  border-left: 4px solid var(--saffron-400);
}

.flow-node.active {
  box-shadow: 0 0 0 2px rgba(255, 177, 57, 0.45), var(--shadow-sm);
  transform: translateY(-2px);
  transition: box-shadow 400ms ease, transform 400ms ease;
}

.flow-line {
  position: relative;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron-400), rgba(255, 177, 57, 0.1));
  animation: flowPulse 1.8s ease-in-out infinite;
  overflow: visible;
}

.flow-packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron-400);
  box-shadow: 0 0 8px rgba(255, 177, 57, 0.8);
  transform: translate(-50%, -50%);
  animation: packetTravel 2.2s ease-in-out infinite;
}

.flow-line:nth-of-type(4) .flow-packet { animation-delay: 0.4s; }
.flow-line:nth-of-type(6) .flow-packet { animation-delay: 0.8s; }
.flow-line:nth-of-type(8) .flow-packet { animation-delay: 1.2s; }

@keyframes packetTravel {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.pulse-dot {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--saffron-400);
  box-shadow: 0 0 0 0 rgba(255, 177, 57, 0.7);
  animation: pulse 1.8s infinite;
}

.stat-ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.ticker-item {
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  background: var(--ink-0);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  animation: liftIn 700ms ease both;
}

.ticker-item:nth-child(2) { animation-delay: 120ms; }
.ticker-item:nth-child(3) { animation-delay: 240ms; }
.ticker-item:nth-child(4) { animation-delay: 360ms; }

.ticker-item strong {
  display: block;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.ticker-item span {
  display: block;
  margin-top: 8px;
  color: var(--ink-600);
}

.visual-band {
  position: relative;
  overflow: hidden;
}

.visual-band::after {
  content: '';
  position: absolute;
  inset: auto -80px -90px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 36px solid rgba(255, 177, 57, 0.14);
  pointer-events: none;
}

.image-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 16px;
  align-items: stretch;
}

.image-mosaic .media-frame:first-child {
  grid-row: span 2;
}

.product-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.product-preview-main,
.product-preview-item {
  position: relative;
  display: block;
  overflow: hidden;
}

.product-preview-main img,
.product-preview-item img {
  width: 100%;
  transition: transform 320ms ease;
}

.product-preview-main:hover img,
.product-preview-item:hover img {
  transform: scale(1.03);
}

.product-preview-grid {
  display: grid;
  gap: 16px;
}

.product-preview-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(18, 30, 51, 0.82);
  color: var(--ink-0);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daily-template {
  border-left: 4px solid var(--saffron-400);
}

@keyframes liftIn {
  from { opacity: 0.92; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes flowPulse {
  0%, 100% { opacity: 0.45; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 177, 57, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(255, 177, 57, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 177, 57, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .hero-entrance > *,
  .page-hero-entrance > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/brand/texture-dots.svg') right top / 240px auto no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.metric-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric {
  border-radius: 8px;
  background: linear-gradient(180deg, var(--ink-0), var(--saffron-50));
  color: var(--blue-900);
  padding: 22px;
  border-top: 3px solid var(--saffron-400);
}

.metric strong {
  display: block;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
}

.metric span {
  color: var(--ink-600);
  font-size: 13px;
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-warm {
  background: var(--gradient-warm);
}

.section-mesh {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url('assets/hero/accent-mesh.jpg') center / cover no-repeat;
}

.section-blue {
  background: var(--gradient-blue);
  color: var(--ink-0);
  position: relative;
  overflow: hidden;
}

.section-blue::before {
  content: '';
  position: absolute;
  inset: -20% auto auto -10%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 177, 57, 0.2), transparent 70%);
  pointer-events: none;
}

.section-blue h2,
.section-blue h3 {
  color: var(--ink-0);
}

.section-blue .muted {
  color: var(--blue-100);
}

.section-blue .card:not(.card-blue) {
  color: var(--ink-900);
}

.section-blue .card:not(.card-blue) h3 {
  color: var(--blue-700);
}

.section-blue .card:not(.card-blue) .muted,
.section-blue .card:not(.card-blue) p,
.section-blue .card:not(.card-blue) li {
  color: var(--ink-700);
}

.section-blue .card:not(.card-blue) .btn-outline {
  color: var(--blue-700);
  background: var(--ink-0);
  border-color: var(--blue-500);
}

.section-blue .card:not(.card-blue) .btn-outline:hover {
  background: var(--blue-50);
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.muted {
  color: var(--ink-600);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--ink-0);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  color: var(--ink-900);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(18, 30, 51, 0.1);
}

.card-featured:hover {
  border-left-color: var(--saffron-500);
}

.card-featured {
  border-left: 4px solid var(--saffron-400);
}

.card-visual {
  padding: 0;
  overflow: hidden;
}

.card-visual-image {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.card-visual-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-visual > :not(.card-visual-image) {
  margin-left: 26px;
  margin-right: 26px;
}

.card-visual > .kicker {
  margin-top: 20px;
}

.card-visual > :last-child {
  margin-bottom: 26px;
}

.card-visual--navy {
  border-top: 4px solid var(--blue-500);
}

.card-visual--amber {
  border-top: 4px solid var(--saffron-500);
}

.card-visual--teal {
  border-top: 4px solid var(--teal-400);
}

.card-blue {
  background: var(--blue-600);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink-0);
}

.card-blue h3 {
  color: var(--ink-0);
}

.card-blue p,
.card-blue li {
  color: var(--blue-50);
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--saffron-100);
  color: var(--blue-900);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-700);
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--saffron-400);
  box-shadow: inset 0 0 0 3px var(--blue-700);
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-200);
  box-shadow: var(--shadow-sm);
}

.proof-item {
  background: linear-gradient(180deg, var(--ink-0), var(--blue-50));
  padding: 28px;
  border-top: 3px solid var(--saffron-400);
}

.proof-item strong {
  display: block;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--saffron-500);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  background: var(--ink-0);
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.thumb-grid {
  display: grid;
  gap: 14px;
}

.thumb-grid .media-frame {
  cursor: pointer;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--gradient-cta);
  color: var(--blue-900);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cta-panel h2 {
  color: var(--blue-900);
  margin-bottom: 8px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  background: var(--ink-0);
  padding: 18px 20px;
}

.faq summary {
  color: var(--blue-700);
  font-weight: 800;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  background: var(--ink-0);
  color: var(--ink-900);
  font: inherit;
  padding: 12px 13px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  background: var(--blue-900);
  color: var(--ink-0);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 32px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-links {
  display: grid;
  gap: 9px;
  color: var(--blue-100);
}

.copyright {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: var(--blue-100);
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  box-shadow: var(--shadow-md);
  animation: floatPulse 2.4s ease-in-out infinite;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-entrance > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-entrance.is-loaded > *:nth-child(1) { transition-delay: 80ms; opacity: 1; transform: none; }
.hero-entrance.is-loaded > *:nth-child(2) { transition-delay: 180ms; opacity: 1; transform: none; }
.hero-entrance.is-loaded > *:nth-child(3) { transition-delay: 280ms; opacity: 1; transform: none; }
.hero-entrance.is-loaded > *:nth-child(4) { transition-delay: 380ms; opacity: 1; transform: none; }

.page-hero-entrance > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-hero-entrance.is-loaded > *:nth-child(1) { transition-delay: 60ms; opacity: 1; transform: none; }
.page-hero-entrance.is-loaded > *:nth-child(2) { transition-delay: 140ms; opacity: 1; transform: none; }
.page-hero-entrance.is-loaded > *:nth-child(3) { transition-delay: 220ms; opacity: 1; transform: none; }
.page-hero-entrance.is-loaded > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: none; }

.steps-timeline {
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron-400), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.steps-timeline.is-drawn::before {
  transform: scaleX(1);
}

[data-gallery-main] {
  transition: opacity 220ms ease;
}

[data-gallery-main].is-fading {
  opacity: 0.35;
}

.thumb-grid .media-frame {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  border: 2px solid transparent;
}

.thumb-grid .media-frame.is-active {
  border-color: var(--saffron-400);
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(18, 30, 51, 0.14);
}

.faq details {
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.faq details[open] {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-sm);
}

/* Calculator */
.calculator-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.calculator-stack {
  display: grid;
  gap: 16px;
}

.calculator-form .field input[type='range'] {
  width: 100%;
  accent-color: var(--blue-500);
}

.range-value {
  display: inline-block;
  margin-top: 6px;
  color: var(--blue-700);
  font-weight: 800;
}

.calculator-leaks {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.calculator-leaks legend {
  margin-bottom: 8px;
  color: var(--ink-700);
  font-weight: 800;
}

.calculator-leaks label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-700);
  font-size: 14px;
}

.calculator-output {
  margin: 8px 0 12px;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}

.calculator-notes {
  margin-top: 18px;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.trust-item {
  text-align: center;
  padding: 24px 16px;
}

.trust-item strong {
  display: block;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 10px;
  color: var(--ink-600);
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  body {
    background: var(--ink-25);
    color: var(--ink-900);
  }

  .site-header,
  .card,
  .metric,
  .proof-item,
  .faq details,
  .field input,
  .field select,
  .field textarea {
    background-color: var(--ink-0);
    color: var(--ink-900);
  }
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero .lead {
  max-width: 780px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}

.case-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.case-stat div {
  border-radius: 8px;
  background: var(--blue-50);
  padding: 14px;
}

.case-stat strong {
  display: block;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 28px;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: flex;
    position: absolute;
    inset: 72px 16px auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    background: var(--ink-0);
    padding: 12px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 240ms ease,
      transform 240ms ease,
      visibility 240ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .proof-bar,
  .stat-ticker,
  .factory-graphic,
  .image-mosaic,
  .product-preview,
  .contact-grid,
  .footer-grid,
  .split,
  .screenshot-strip,
  .screenshot-gallery,
  .blog-hero-grid,
  .blog-layout,
  .blog-grid,
  .calculator-layout,
  .trust-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    min-height: auto;
    padding: 56px 0;
  }

  .metric-grid,
  .case-stat {
    grid-template-columns: 1fr;
  }

  .steps-timeline::before {
    display: none;
  }
}

/* Blog */
.blog-hero {
  background: var(--gradient-blue);
  color: var(--ink-0);
  padding: 72px 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.blog-hero--photo .hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.blog-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-meta,
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--blue-100);
  font-size: 13px;
  font-weight: 600;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.blog-sidebar {
  display: grid;
  gap: 18px;
}

.blog-related-links {
  display: grid;
  gap: 10px;
}

.blog-related-links a {
  color: var(--blue-700);
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
}

.blog-card-image {
  display: block;
}

.blog-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px;
}

.blog-card h3 a {
  color: var(--blue-700);
}

.blog-prose {
  padding: 32px;
}

.blog-prose :is(h2, h3) {
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--blue-700);
}

.blog-prose h2 {
  font-size: 30px;
}

.blog-prose h3 {
  font-size: 22px;
}

.blog-prose p,
.blog-prose li {
  color: var(--ink-700);
}

.blog-prose ul,
.blog-prose ol {
  padding-left: 22px;
}

.blog-prose li + li {
  margin-top: 8px;
}

.blog-prose strong {
  color: var(--blue-800);
}

/* Screenshot gallery */
.screenshot-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.gallery-viewer {
  display: grid;
  gap: 16px;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--ink-50);
}

.gallery-meta {
  display: grid;
  gap: 6px;
}

.gallery-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--saffron-400);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-meta strong {
  color: var(--ink-0);
  font-family: var(--font-display);
  font-size: 28px;
}

.gallery-sidebar {
  display: grid;
  gap: 14px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-tab {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-0);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.gallery-tab.is-active,
.gallery-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 177, 57, 0.72);
}

.gallery-thumbs {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.gallery-thumb {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--saffron-400);
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(2px);
}

.gallery-thumb-frame {
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-0);
}

.gallery-thumb-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-thumb-label {
  display: block;
  color: var(--ink-0);
  font-weight: 800;
  font-size: 14px;
}

.gallery-thumb-kicker {
  display: block;
  margin-top: 4px;
  color: var(--blue-100);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .brand img,
  .footer-logo {
    width: 190px;
  }

  h1 {
    font-size: 44px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-actions .btn,
  .section-actions .btn,
  .cta-panel .btn {
    width: 100%;
  }
}
