/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand palette */
  --bg:          #080d09;
  --bg-2:        #0d1410;
  --bg-3:        #111a13;
  --bg-card:     #0f1811;
  --ink:         #f0f4f0;
  --ink-soft:    rgba(240,244,240,.75);
  --ink-mute:    rgba(240,244,240,.45);
  --accent:      #52C041;
  --accent-2:    #3da030;
  --accent-dark: #1e5018;
  --accent-glow: rgba(82,192,65,.18);
  --accent-glow-strong: rgba(82,192,65,.35);
  --line:        rgba(82,192,65,.12);
  --line-soft:   rgba(240,244,240,.07);

  /* Type */
  --sans:  'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body:  'Inter', system-ui, sans-serif;

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

  /* Layout */
  --gutter:   clamp(1.25rem, 5vw, 2.5rem);
  --max-w:    1200px;
  --nav-h:    72px;
  --radius:   12px;
  --radius-lg: 20px;

  /* Animated mesh */
  @property --mesh-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -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; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.025em; font-family: var(--sans); }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Container
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s, opacity .2s;
  cursor: pointer;
}
.btn-lg {
  padding: .85rem 1.8rem;
  font-size: 1rem;
  border-radius: 10px;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--accent-glow-strong);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-soft);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* =============================================================
   5. Custom cursor
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px; margin: -2.5px;
  background: var(--accent);
  border-radius: 50%;
}
.cursor-ring {
  width: 30px; height: 30px; margin: -15px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: .6;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .25s;
}
.cursor.is-interactive .cursor-ring { width: 50px; height: 50px; margin: -25px; opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,13,9,.85);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: none;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: none; }
.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  width: 30px; padding: 4px 0;
}
.nav-hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.nav-drawer.is-open { opacity: 1; pointer-events: all; }
.nav-drawer nav {
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
  text-align: center;
}
.nav-drawer a {
  font-family: var(--sans); font-size: 1.5rem; font-weight: 600;
  color: var(--ink-soft); transition: color .2s;
}
.nav-drawer a:hover { color: var(--accent); }
.nav-drawer .btn { margin-top: 1rem; }

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

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero--centered .hero-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(82,192,65,.13) 0%, transparent 65%),
              radial-gradient(ellipse 40% 30% at 20% 80%, rgba(82,192,65,.06) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  z-index: 0;
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .22;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: var(--accent); top: -150px; right: -120px; animation-delay: 0s; }
.orb-2 { width: 320px; height: 320px; background: #2a8020; bottom: -60px; left: -80px; animation-delay: -4s; }
.orb-3 { width: 220px; height: 220px; background: var(--accent); top: 55%; left: 48%; animation-delay: -8s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-40px) scale(1.08); }
  66% { transform: translate(-20px,20px) scale(.95); }
}

/* Floating tech tags */
.hero-tags { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-tag {
  position: absolute;
  left: var(--tx); top: var(--ty);
  background: rgba(82,192,65,.08);
  border: 1px solid rgba(82,192,65,.2);
  color: rgba(82,192,65,.7);
  border-radius: 100px;
  padding: .3rem .8rem;
  font-size: .72rem; font-weight: 600; font-family: var(--sans);
  letter-spacing: .06em;
  white-space: nowrap;
  animation: tagFloat 8s ease-in-out infinite;
}
.hero-tag:nth-child(2) { animation-delay: -2s; }
.hero-tag:nth-child(3) { animation-delay: -4s; }
.hero-tag:nth-child(4) { animation-delay: -1s; }
.hero-tag:nth-child(5) { animation-delay: -5s; }
.hero-tag:nth-child(6) { animation-delay: -3s; }
@keyframes tagFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 719px) { .hero-tags { display: none; } }

.hero-inner {
  position: relative; z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 800px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 1.4rem;
}
.hero-title span { display: block; }
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 560px;
  margin: 0 auto 2.2rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center;
}
.hero-trust {
  display: flex; align-items: center; gap: .5rem; justify-content: center;
  margin-top: 1.8rem;
  font-size: .82rem; color: var(--ink-mute); font-family: var(--sans);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 var(--accent-glow-strong); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.7); }
}

/* =============================================================
   8. Stats
   ============================================================= */
.stats {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}
.stats-grid {
  display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: center; justify-content: center;
}
.stat-item { text-align: center; flex: 1; min-width: 140px; }
.stat-value {
  display: block;
  font-family: var(--sans); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; color: var(--accent); line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .82rem; color: var(--ink-mute); max-width: 140px; margin: 0 auto;
}
.stat-divider {
  width: 1px; height: 50px; background: var(--line);
  display: none;
}
@media (min-width: 720px) { .stat-divider { display: block; } }

/* =============================================================
   9. Section commons
   ============================================================= */
.services, .process, .about, .testimonials, .faq {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}
.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub { color: var(--ink-soft); max-width: 520px; margin: 0 auto; font-size: 1.05rem; }

/* =============================================================
   10. Services grid
   ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.service-card {
  position: relative; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.2rem;
  transition: border-color .3s, transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px var(--accent);
}
.service-card-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-glow) 0%, transparent 70%);
  transition: opacity .35s;
}
.service-card:hover .service-card-glow { opacity: 1; }
.service-icon {
  display: block; font-size: 2rem; margin-bottom: 1rem; position: relative; z-index: 1;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; position: relative; z-index: 1;
}
.service-card p {
  color: var(--ink-soft); font-size: .95rem; line-height: 1.65; position: relative; z-index: 1;
}
.service-arrow {
  display: block; margin-top: 1.2rem;
  color: var(--accent); font-size: 1.1rem;
  transition: transform .25s var(--ease-out); position: relative; z-index: 1;
}
.service-card:hover .service-arrow { transform: translateX(4px); }

@media (min-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   11. Process
   ============================================================= */
.process { background: var(--bg-2); }
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 0; }
.step-num-wrap {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.step-num {
  font-family: var(--sans); font-size: 2.2rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.step-line {
  flex: 1; width: 1px; background: var(--line); min-height: 20px;
}
.step-content h3 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; margin-top: .2rem;
}
.step-content p { color: var(--ink-soft); font-size: .95rem; }

@media (min-width: 720px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 0 3rem; }
  .process-step { border-bottom: 0; border-right: 1px solid var(--line); padding: 2rem 2rem 2rem 0; }
  .process-step:nth-child(2n) { border-right: 0; padding-right: 0; padding-left: 2rem; }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* =============================================================
   12. About / CEO
   ============================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.about-img-wrap {
  position: relative; max-width: 420px; margin: 0 auto;
}
.about-img-wrap img {
  border-radius: var(--radius-lg);
  width: 100%; object-fit: cover;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.about-img-frame {
  position: absolute; inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  border: 1px solid var(--line);
  pointer-events: none;
}
.about-img-tag {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: .5rem;
  background: rgba(8,13,9,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .38rem 1rem;
  white-space: nowrap;
  font-size: .78rem; font-weight: 600; color: var(--ink-soft);
  font-family: var(--sans);
}
.about-text p {
  color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.02rem;
}
.about-badges {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem;
}
.badge {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .05em;
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-mute);
  background: var(--bg-card);
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1.2fr; }
}

/* =============================================================
   13. Testimonials
   ============================================================= */
.testimonials { background: var(--bg-2); }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.testi-card {
  position: relative; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color .3s, transform .35s var(--ease-out);
}
.testi-card:hover {
  border-color: rgba(82,192,65,.3);
  transform: translateY(-3px);
}
.testi-card-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 80px; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, var(--accent-glow) 0%, transparent 100%);
  transition: opacity .35s;
}
.testi-card:hover .testi-card-glow { opacity: 1; }
.testi-card p {
  font-size: 1rem; line-height: 1.7; color: var(--ink-soft);
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.testi-card footer { position: relative; z-index: 1; }
.testi-card strong { display: block; font-weight: 700; color: var(--ink); font-family: var(--sans); }
.testi-card span { font-size: .82rem; color: var(--ink-mute); }

@media (min-width: 720px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .testi-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* =============================================================
   14. FAQ
   ============================================================= */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { font-size: 1.4rem; font-weight: 400; flex-shrink: 0; transition: transform .3s var(--ease-out); color: var(--accent); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { padding-bottom: 1.2rem; }
.faq-a p { color: var(--ink-soft); font-size: .97rem; }

/* =============================================================
   15. Contact
   ============================================================= */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.contact-gradient {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(82,192,65,.1) 0%, transparent 70%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 100%);
}
.contact-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.contact-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
.contact-text p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1rem; }
.contact-info {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  margin-top: 1.5rem;
}
.contact-link {
  display: flex; align-items: center; gap: .4rem;
  color: var(--accent); font-weight: 600;
  transition: opacity .2s;
}
.contact-link:hover { opacity: .8; }
.contact-sep { color: var(--ink-mute); }
.contact-loc { display: flex; align-items: center; gap: .4rem; color: var(--ink-mute); font-size: .9rem; }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex; flex-direction: column; gap: 1.4rem;
}
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-label { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .03em; }
.form-input {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .75rem 1rem;
  font: inherit; font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  resize: vertical;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder { color: var(--ink-mute); }
.form-textarea { min-height: 110px; }

.btn-submit { position: relative; width: 100%; }
.btn-loading, .btn-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.is-sending .btn-text { opacity: 0; }
.is-sending .btn-loading { opacity: 1; }
.is-done .btn-text { opacity: 0; }
.is-done .btn-done { opacity: 1; }
.form-note { font-size: .8rem; color: var(--ink-mute); text-align: center; }

@media (min-width: 960px) {
  .contact-inner { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   16. Footer
   ============================================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between; align-items: start;
  margin-bottom: 2rem;
}
.footer-brand p { color: var(--ink-mute); font-size: .88rem; margin-top: .8rem; }
.footer-brand img { margin-bottom: 0; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center;
}
.footer-nav a { font-size: .9rem; color: var(--ink-mute); transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: .8rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-size: .8rem; color: var(--ink-mute);
}

/* =============================================================
   17. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal[data-split] { opacity: 1; transform: none; }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================================
   18. Responsive final adjustments
   ============================================================= */
@media (min-width: 960px) {
  .hero-title { font-size: clamp(3.5rem, 6vw, 5.5rem); }
}

/* =============================================================
   19. Reduced-motion (intrusive only)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .scroll-line { animation: none; }
  .badge-dot { animation: none; }
}

/* =============================================================
   WhatsApp flotante
   ============================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  padding: .75rem 1.2rem .75rem 1rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.4), 0 2px 8px rgba(0,0,0,.2);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  animation: waBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(37,211,102,.55), 0 2px 8px rgba(0,0,0,.2);
  animation: none;
}
.whatsapp-float svg {
  width: 22px; height: 22px;
  fill: #fff;
  flex-shrink: 0;
}
.whatsapp-label { white-space: nowrap; }

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

/* WhatsApp link en contact-info */
.contact-link--wa { color: #25D366; }
.contact-link--wa:hover { opacity: .8; }

@media (max-width: 480px) {
  .whatsapp-float { padding: .75rem; border-radius: 50%; }
  .whatsapp-label { display: none; }
}
