/* =============================================================
   WARGO STUDIO — Digital Fabric design system
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components (btn, card, form, nav)
   6. Sections
   7. Effects
   8. Responsive
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 20%; }
@property --angle  { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* Brand */
  --blue: #2581C4;
  --blue-dark: #1B5F91;
  --blue-light: #6BB2E0;
  --orange: #FDA634;
  --orange-dark: #DE861F;

  /* Neutrals */
  --bg: #F6F7F9;
  --bg-alt: #EDEFF3;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --ink-soft: #2C2E33;
  --ink-mute: #666B72;
  --ink-faint: #9A9EA6;
  --line: rgba(10, 10, 10, 0.10);
  --line-strong: rgba(10, 10, 10, 0.18);

  /* Dark surface (footer / final CTA) */
  --dark-bg: #0A0A0A;
  --dark-surface: #16171A;
  --dark-line: rgba(246, 247, 249, 0.12);
  --cream: #F3F4F6;

  /* Type */
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
  --container: 1280px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--display); color: var(--ink); }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: #fff;
  border-radius: 8px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-dark { background: var(--dark-bg); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-dark); font-weight: 500;
}
.section-dark .eyebrow { color: var(--blue-light); }
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); flex: none;
}

.grain-dot-bg {
  background-image: radial-gradient(circle at 1px 1px, rgba(10,10,10,0.09) 1px, transparent 0);
  background-size: 28px 28px;
}
.section-dark.grain-dot-bg {
  background-image: radial-gradient(circle at 1px 1px, rgba(246,247,249,0.10) 1px, transparent 0);
}

.head-row {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1.5rem 3rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.head-row .lede { max-width: 46ch; color: var(--ink-mute); font-size: 1.05rem; }
.section-dark .head-row .lede { color: rgba(243,244,246,.7); }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
em { font-style: normal; color: var(--blue); }
.text-orange { color: var(--orange-dark); }
.section-dark em { color: var(--blue-light); }

.lede-lg { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-mute); max-width: 60ch; }
.section-dark .lede-lg { color: rgba(243,244,246,.72); }

[data-split] .split-line,
[data-split] .split-word { display: inline-block; will-change: transform, opacity; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(10,10,10,0.07), 0 1px 3px rgba(10,10,10,0.05);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 0 22px 44px rgba(10,10,10,0.22), 0 8px 18px rgba(37,129,196,0.22); }

.btn-accent { background: linear-gradient(120deg, var(--blue), var(--blue-dark)); color: #fff; }
.btn-accent:hover { box-shadow: 0 22px 44px rgba(37,129,196,0.32), 0 8px 18px rgba(253,166,52,0.22); }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.section-dark .btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--dark-line); }
.section-dark .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 22px 44px rgba(0,0,0,0.28); }

.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner { display: inline-flex; align-items: center; justify-content: center; gap: inherit; will-change: transform; transition: transform .8s var(--ease-soft); }

.btn-arrow { transition: transform .45s var(--ease-soft); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 300;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(246, 247, 249, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-logo { height: 46px; width: auto; flex: none; }
.footer .brand-logo { height: 56px; }
@media (min-width: 720px) {
  .brand-logo { height: 52px; }
  .footer .brand-logo { height: 64px; }
}

.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-link { position: relative; padding: .3rem 0; font-weight: 600; font-size: .93rem; color: var(--ink-soft); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-soft);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cta { display: none; }
.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-soft), opacity .3s var(--ease-out), top .35s var(--ease-soft);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 250; background: var(--dark-bg); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 2.2rem; padding: 2rem 1.75rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .65s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-links { display: flex; flex-direction: column; gap: 1.1rem; }
.nav-mobile-link { font-family: var(--display); font-size: clamp(1.7rem, 8vw, 2.4rem); font-weight: 800; color: var(--cream); }
.nav-mobile-foot { display: flex; flex-direction: column; gap: 1rem; }
.nav-mobile-social { display: flex; gap: 1.1rem; }

/* --- Cards --- */
.card {
  position: relative; background: var(--surface); border-radius: 22px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 2rem; transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -24px rgba(10,10,10,0.22), 0 10px 24px -14px rgba(37,129,196,0.28);
}
.card-corner {
  position: absolute; top: 0; right: 0; width: 60px; height: 60px; border-radius: 0 22px 0 60px;
  background: linear-gradient(135deg, rgba(37,129,196,.16), rgba(253,166,52,.16));
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.card:hover .card-corner { opacity: 1; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37,129,196,.12), rgba(253,166,52,.12));
  color: var(--blue-dark); margin-bottom: 1.4rem;
}
.icon-tile svg { width: 26px; height: 26px; }

/* --- Glass panel --- */
.glass {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.6);
}
@supports (backdrop-filter: blur(20px)) {
  .glass { background: rgba(255,255,255,0.42); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
}
.section-dark .glass {
  background: rgba(22,23,26,0.6); border-color: var(--dark-line);
}
@supports (backdrop-filter: blur(20px)) {
  .section-dark .glass { background: rgba(22,23,26,0.4); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
}

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative; overflow: clip; isolation: isolate;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  min-height: 100svh; display: flex; align-items: center;
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(46% 40% at var(--mesh-x) var(--mesh-y), rgba(37,129,196,.20), transparent 70%),
    radial-gradient(38% 34% at calc(100% - var(--mesh-x)) calc(100% - var(--mesh-y)), rgba(253,166,52,.18), transparent 70%),
    var(--bg);
  filter: blur(60px) saturate(120%);
  animation: meshDrift 24s var(--ease-soft) infinite alternate;
}
.hero-mesh.is-manual { animation-play-state: paused; }
@keyframes meshDrift {
  0%   { --mesh-x: 22%; --mesh-y: 18%; }
  50%  { --mesh-x: 46%; --mesh-y: 34%; }
  100% { --mesh-x: 30%; --mesh-y: 12%; }
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,10,10,0.08) 1px, transparent 0);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 40%, transparent 90%);
}
.hero-network { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; }
.hn-line { fill: none; stroke: var(--blue); stroke-width: 1.2; opacity: .28; }
.hn-line.is-orange { stroke: var(--orange); }
.hn-node { fill: var(--blue); opacity: .55; }
.hn-node.is-orange { fill: var(--orange); }
.hn-signal { fill: none; stroke-linecap: round; stroke-width: 2; }
.hn-signal.c-blue { stroke: var(--blue); }
.hn-signal.c-orange { stroke: var(--orange); }
.hn-node.pulse { animation: nodePulse 3.6s var(--ease-soft) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes nodePulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .9; transform: scale(1.7); } }
.hn-signal { stroke-dasharray: 6 220; animation: signalTravel 5.5s linear infinite; }
.hn-signal.d2 { animation-duration: 7s; animation-delay: 1.4s; }
.hn-signal.d3 { animation-duration: 6.2s; animation-delay: 2.6s; }
@keyframes signalTravel { to { stroke-dashoffset: -226; } }

.hero-inner { position: relative; display: grid; gap: 2.4rem; }
.hero-kicker-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-title { max-width: 17ch; text-wrap: balance; }
.hero-title .line { display: block; }
@media (min-width: 960px) { .hero-title { max-width: 15ch; } }
.hero-sub { margin-top: 1.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin-top: 2rem; }
.hero-badge { display: flex; align-items: baseline; gap: .7rem; }
.hero-badge strong { display: inline-flex; align-items: baseline; font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--ink); line-height: 1; }
.hero-badge span:not(.count-plus) { font-size: .95rem; font-weight: 500; color: var(--ink-mute); max-width: 13ch; line-height: 1.3; }
.count-plus { font-size: .42em; font-weight: 700; color: var(--orange-dark); margin-left: .1em; vertical-align: .55em; line-height: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-tagline { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 42ch; }

/* --- Page hero (interior pages) --- */
.page-hero {
  position: relative; overflow: clip; isolation: isolate;
  padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 3.5rem;
}
.page-hero::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(40% 50% at 82% 0%, rgba(37,129,196,.16), transparent 70%),
              radial-gradient(30% 40% at 8% 100%, rgba(253,166,52,.14), transparent 70%);
  filter: blur(50px);
}
.page-hero-title { max-width: 20ch; }
.breadcrumbs { display: flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .78rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.breadcrumbs a { color: var(--ink-mute); }
.breadcrumbs a:hover { color: var(--blue-dark); }

/* --- Intro / feature rows --- */
.intro-grid { display: grid; gap: 2.5rem; }
.intro-num { font-family: var(--mono); color: var(--blue); font-size: .85rem; }

.services-grid { display: grid; gap: 1.4rem; }

.method-list { display: grid; gap: 0; }
.method-row { display: grid; gap: 1rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.method-row:last-child { border-bottom: 1px solid var(--line); }
.section-dark .method-row { border-color: var(--dark-line); }
.method-num { font-family: var(--mono); font-size: .95rem; color: var(--blue); }

.pillars-grid { display: grid; gap: 1.4rem; }

.stats-grid { display: grid; gap: 2rem; text-align: center; }
.stat-value { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.4rem); display: flex; align-items: baseline; justify-content: center; }
.stat-label { color: var(--ink-mute); font-size: 1rem; margin-top: .6rem; }
.section-dark .stat-label { color: rgba(243,244,246,.68); }

/* --- Founder / nosotros --- */
.founder-wrap { display: grid; gap: 2.5rem; align-items: center; }
.founder-badge {
  width: 168px; aspect-ratio: 1 / 1; border-radius: 50%; padding: 5px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  position: relative; flex: none; margin-inline: auto;
}
.founder-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
@media (min-width: 720px) { .founder-badge { margin-inline: 0; width: 188px; } }
.founder-quote { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--ink); }
.section-dark .founder-quote { color: var(--cream); }
.founder-quote::before { content: "\201C"; color: var(--orange); }
.founder-quote::after { content: "\201D"; color: var(--orange); }
.founder-name { margin-top: 1.4rem; font-weight: 700; color: var(--ink); font-family: var(--display); }
.section-dark .founder-name { color: var(--cream); }
.founder-role { color: var(--ink-mute); font-size: .9rem; }
.section-dark .founder-role { color: rgba(243,244,246,.65); }

/* --- Values / trabajo --- */
.value-cols { display: grid; gap: 2rem; }

/* --- Services detail (page) --- */
.service-block { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block-head { display: grid; gap: 1rem; margin-bottom: 2.2rem; }
.service-code { font-family: var(--mono); font-size: .8rem; color: var(--blue); }
.service-items { display: grid; gap: .8rem; }
.service-item {
  display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 14px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .95rem;
}
.service-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.service-items.two-col { display: grid; grid-template-columns: 1fr; gap: .8rem; }
@media (min-width: 720px) { .service-items.two-col { grid-template-columns: 1fr 1fr; } }

/* --- Testimonials --- */
.video-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
.video-card {
  position: relative; border-radius: 18px; overflow: clip; aspect-ratio: 16/9;
  background: var(--dark-bg); box-shadow: inset 0 0 0 1px var(--line);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .5s; }
.video-card:hover img { transform: scale(1.06); filter: saturate(1.1) brightness(.92); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,.55) 100%); pointer-events: none; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; background: transparent;
}
.video-play-circle {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(10,10,10,.35);
  transition: transform .4s var(--ease-soft), background .3s;
}
.video-card:hover .video-play-circle { transform: scale(1.1); background: #fff; }
.video-play-circle svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--ink); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-label { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; }

/* --- Final CTA --- */
.final-cta { position: relative; text-align: center; overflow: clip; isolation: isolate; }
.final-cta::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(45% 55% at 50% 0%, rgba(37,129,196,.30), transparent 70%),
              radial-gradient(35% 45% at 100% 100%, rgba(253,166,52,.22), transparent 70%);
  filter: blur(70px);
}
.final-cta-title { max-width: 20ch; margin-inline: auto; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }

/* --- Footer --- */
.footer { background: var(--dark-bg); color: var(--cream); padding-block: 4.5rem 2.5rem; }
.footer-grid { display: grid; gap: 2.8rem; }
.footer-brand-blurb { color: rgba(243,244,246,.68); max-width: 34ch; margin-top: 1rem; font-size: .93rem; }
.footer-col h5 { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,244,246,.5); margin-bottom: 1rem; }
.footer-links { display: grid; gap: .7rem; }
.footer-links a { color: rgba(243,244,246,.82); font-size: .95rem; transition: color .3s; }
.footer-links a:hover { color: var(--blue-light); }
.footer-social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--dark-line);
  transition: background .3s, transform .4s var(--ease-soft);
}
.social-btn:hover { background: linear-gradient(135deg, var(--blue), var(--orange)); transform: translateY(-3px); }
.social-btn svg { width: 18px; height: 18px; fill: var(--cream); }
.social-btn.is-light {
  background: linear-gradient(135deg, rgba(37,129,196,.12), rgba(253,166,52,.12));
  box-shadow: inset 0 0 0 1px var(--line);
}
.social-btn.is-light svg { fill: var(--blue-dark); }
.social-btn.is-light:hover { background: linear-gradient(135deg, var(--blue), var(--orange)); }
.social-btn.is-light:hover svg { fill: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--dark-line);
  font-size: .82rem; color: rgba(243,244,246,.5);
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 220;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(10,10,10,0.16), inset 0 0 0 1px rgba(10,10,10,0.06);
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10,10,10,0.2), inset 0 0 0 1px rgba(10,10,10,0.06); }
.whatsapp-float svg { width: 27px; height: 27px; fill: #25D366; }
@media (min-width: 720px) { .whatsapp-float { right: 24px; bottom: 24px; width: 62px; height: 62px; } .whatsapp-float svg { width: 30px; height: 30px; } }

/* =============================================================
   7. Effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft); }
.reveal.is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 400; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); transform-origin: 0 0; transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  .hn-node.pulse { animation: none; }
  .hn-signal { animation: none !important; }
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid.is-large { gap: 1.8rem; }
}

@media (min-width: 720px) {
  .container { padding-inline: 2rem; }
  .founder-wrap { grid-template-columns: auto 1fr; }
  .form-grid.two-col { grid-template-columns: 1fr 1fr; }
  .service-items.two-col { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }

  .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .intro-grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .method-row { grid-template-columns: 100px 1fr 1.4fr; align-items: start; }
  .value-cols { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid.is-large { grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (min-width: 1280px) {
  .services-grid.four-up { grid-template-columns: repeat(4, 1fr); }
  .video-grid { grid-template-columns: repeat(4, 1fr); }
  .video-grid.is-large { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
}
