/* ══════════════════════════════════════════════════════
   SERVI-EXPRESS — Design System
   Verde #4CAF50 · Azul #2196F3 · Roboto + Open Sans
══════════════════════════════════════════════════════ */

:root {
  --green: #4CAF50;
  --green-dark: #2E7D32;
  --green-light: #81C784;
  --blue: #2196F3;
  --blue-dark: #1565C0;
  --blue-light: #64B5F6;

  --ink: #0E2436;
  --ink-soft: #1B3A52;
  --gray: #5C707E;
  --gray-light: #91A3AF;

  --bg: #FFFFFF;
  --bg-alt: #F2F8FB;
  --bg-alt-2: #EAF6EC;
  --border: rgba(14, 36, 54, 0.09);

  --grad: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  --grad-soft: linear-gradient(135deg, rgba(33,150,243,.14), rgba(76,175,80,.14));
  --grad-text: linear-gradient(100deg, var(--blue) 0%, var(--green-light) 45%, var(--green) 75%, var(--blue-light) 100%);

  --shadow-sm: 0 8px 24px -12px rgba(14, 36, 54, 0.18);
  --shadow-md: 0 20px 45px -18px rgba(14, 36, 54, 0.28);
  --shadow-lg: 0 30px 70px -25px rgba(14, 36, 54, 0.38);

  --radius: 22px;
  --radius-sm: 14px;

  --font-head: 'Roboto', 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.16,.84,.32,1);
}

/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.lock-scroll { overflow: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.15; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

section { position: relative; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.label::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.gold {
  background: var(--grad-text);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── SCROLL REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-gold, .btn-outline, .btn-wa, .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 34px;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--grad);
  background-size: 160% auto;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(33,150,243,.5);
}
.btn-gold:hover {
  background-position: 100% 50%;
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -12px rgba(33,150,243,.6);
}
.btn-outline {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }

.btn-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-size: 14px;
  padding: 12px 24px;
  box-shadow: 0 10px 24px -8px rgba(37,211,102,.55);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(37,211,102,.65); }

/* ══════════════════════════════════════════════════════
   LOADER
══════════════════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, #123049 0%, #0A1E30 55%, #071620 100%);
  transition: opacity .6s ease;
}
.loader-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  transition: opacity .5s ease, transform .6s var(--ease);
}
.loader-logo {
  width: min(64vw, 340px);
  filter: drop-shadow(0 0 26px rgba(76,175,80,.45)) drop-shadow(0 0 46px rgba(33,150,243,.35));
  animation: loaderPulse 2.2s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
.loader-spinner {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--green);
  border-right-color: var(--blue);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(255,255,255,.75);
}
.loader-dots span { animation: dotBlink 1.4s infinite; opacity: 0; }
.loader-dots span:nth-child(2) { animation-delay: .2s; }
.loader-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dotBlink { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } }

.loader-curtain {
  position: fixed; left: 0; right: 0; z-index: 1;
  background: linear-gradient(135deg, var(--blue-dark), var(--green-dark));
}
.l-c1 { top: 0; height: 50%; }
.l-c2 { bottom: 0; height: 50%; }

body.loaded #loader { pointer-events: none; }
body.loaded .loader-inner { opacity: 0; transform: scale(.9) translateY(-10px); }
body.loaded .l-c1 { animation: curtainUp .95s var(--ease) forwards .35s; }
body.loaded .l-c2 { animation: curtainDown .95s var(--ease) forwards .35s; }
body.loaded #loader { transition-delay: 1.3s; opacity: 0; }
@keyframes curtainUp { to { transform: translateY(-100%); } }
@keyframes curtainDown { to { transform: translateY(100%); } }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: 10px 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 30px -18px rgba(14,36,54,.35);
  padding: 2px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: height .35s ease;
}
#navbar.scrolled .nav-logo-img { height: 48px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width .35s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--green-light); }
.nav-links a:hover::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--ink); }
#navbar.scrolled .nav-links a:hover { color: var(--blue-dark); }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 10px;
}
.hamburger span {
  width: 22px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s ease, background .3s ease;
  margin: 0 auto;
}
#navbar.scrolled .hamburger span { background: var(--ink); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

#mob-menu {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(84vw, 360px);
  background: #fff; z-index: 499;
  display: flex; flex-direction: column; gap: 4px;
  padding: 110px 28px 40px;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(14,36,54,.3);
}
#mob-menu.open { transform: translateX(0); }
#mob-menu a {
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
  padding: 14px 6px; border-bottom: 1px solid var(--border); color: var(--ink);
}
.mob-wa {
  margin-top: 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important; border-radius: 100px; padding: 15px !important;
  border: none !important;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: #0A1E30;
}
.hero-bg {
  position: absolute; inset: -8% -4%;
  background-size: cover; background-position: center 30%;
  will-change: transform;
  transform: translateY(0) scale(1.08);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,22,36,.92) 8%, rgba(10,30,48,.66) 42%, rgba(10,30,48,.32) 68%, rgba(10,30,48,.42) 100%),
    linear-gradient(0deg, rgba(6,16,26,.75) 0%, transparent 34%);
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.5), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .07;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grain {
  position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-scanline {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.16) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: scan 2.6s ease-out .4s 1;
}
@keyframes scan { to { transform: translateX(120%); } }

.hero-content { position: relative; z-index: 3; max-width: 720px; padding: 130px 0 90px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  padding: 9px 18px; border-radius: 100px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em; color: #fff;
  margin-bottom: 26px;
  opacity: 0; animation: fadeUp .8s var(--ease) .2s forwards;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 0 rgba(129,199,132,.7);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(129,199,132,.6); }
  70% { box-shadow: 0 0 0 9px rgba(129,199,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(129,199,132,0); }
}

.hero-title {
  font-size: clamp(38px, 6.4vw, 70px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 2px; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(115%);
  animation: lineUp .95s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: .35s; }
.hero-title .line:nth-child(2) > span { animation-delay: .5s; }
.hero-title .line:nth-child(3) > span { animation-delay: .65s; }
@keyframes lineUp { to { transform: translateY(0); } }

.accent {
  display: inline-block;
  background: var(--grad-text);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
  clip-path: inset(0 100% 0 0);
  animation: shimmer 5s linear infinite, typewriter 1.1s steps(12, end) .95s forwards;
}

@keyframes typewriter { to { clip-path: inset(0 0 0 0); } }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.82);
  max-width: 540px; line-height: 1.75;
  margin-bottom: 38px;
  opacity: 0; animation: fadeUp .8s var(--ease) .85s forwards;
}
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px;
  opacity: 0; animation: fadeUp .8s var(--ease) 1s forwards;
}

.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  opacity: 0; animation: fadeUp .8s var(--ease) 1.15s forwards;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,.88);
}
.trust-item i { color: var(--green-light); font-size: 14px; }
.trust-divider { width: 1px; height: 16px; background: rgba(255,255,255,.25); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 3; opacity: 0; animation: fadeUp .8s ease 1.6s forwards;
}
.scroll-mouse {
  width: 26px; height: 40px; border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.scroll-mouse-dot {
  width: 4px; height: 8px; background: var(--green-light); border-radius: 3px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; }
}

/* ══════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════ */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex; gap: 40px;
  animation: marqueeMove 26s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  display: inline-flex; align-items: center; gap: 40px;
}
.marquee-inner span i { color: var(--green-light); font-size: 8px; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════
   PARALLAX SECTION BACKGROUNDS
══════════════════════════════════════════════════════ */
.hero-parallax-bg {
  position: absolute; inset: -12% 0; z-index: 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.section-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(242,248,251,.985) 45%, var(--bg-alt) 100%);
}
.section-tint--dark {
  background: linear-gradient(160deg, rgba(10,30,48,.93) 0%, rgba(14,36,54,.9) 55%, rgba(19,58,45,.93) 100%);
}
#servicios, #stats { overflow: hidden; }
#servicios .container, #stats .container { position: relative; z-index: 2; }

/* ══════════════════════════════════════════════════════
   WHY US — NOSOTROS
══════════════════════════════════════════════════════ */
#nosotros { padding: 120px 0 100px; background: var(--bg); }
.why-header {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 60px; align-items: end;
  margin-bottom: 64px;
}
.why-quote {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700; color: var(--ink); line-height: 1.3;
}
.why-quote em { font-style: italic; color: var(--blue-dark); }
.why-sub { color: var(--gray); font-size: 16px; line-height: 1.8; }

.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.f-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
  position: relative; overflow: hidden;
}
.f-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: var(--grad-soft);
  transition: opacity .45s ease;
}
.f-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.f-card:hover::before { opacity: 1; }
.f-num {
  font-family: var(--font-head); font-weight: 900; font-size: 44px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .5; margin-bottom: 10px; position: relative; z-index: 1;
}
.f-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 18px; position: relative; z-index: 1;
}
.f-card h3 { font-size: 18.5px; margin-bottom: 10px; position: relative; z-index: 1; }
.f-card p { font-size: 14.5px; color: var(--gray); line-height: 1.7; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════
   SERVICIOS (ambientes)
══════════════════════════════════════════════════════ */
#servicios { padding: 130px 0 110px; }
.ambientes-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; margin-bottom: 50px; flex-wrap: wrap;
}
.ambiente-pill {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--border);
  padding: 10px 20px; border-radius: 100px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: var(--blue-dark); box-shadow: var(--shadow-sm);
}
.ambientes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.amb-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-md);
}
.amb-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.amb-card:hover .amb-img { transform: scale(1.08); }
.amb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,16,26,.94) 0%, rgba(6,16,26,.55) 42%, rgba(6,16,26,.08) 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px 26px;
}
.amb-icon-wrap {
  width: 48px; height: 48px; border-radius: 13px;
  border: 1px solid; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 16px;
}
.amb-overlay h3 { color: #fff; font-size: 21px; margin-bottom: 9px; }
.amb-overlay p { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.65; margin-bottom: 14px; }
.amb-temp {
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--green-light);
}

/* ══════════════════════════════════════════════════════
   COBERTURA
══════════════════════════════════════════════════════ */
.coverage-band { background: var(--grad); padding: 30px 0; }
.coverage-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; text-align: center; flex-wrap: wrap;
}
.coverage-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: #fff;
}
.coverage-text {
  font-family: var(--font-head); color: #fff;
  font-size: 17px; font-weight: 600; letter-spacing: .01em;
}
.coverage-text strong { font-weight: 800; }

/* ══════════════════════════════════════════════════════
   PROCESO
══════════════════════════════════════════════════════ */
#proceso { padding: 120px 0; background: var(--bg-alt); }
.proceso-header { max-width: 560px; margin: 0 auto 60px; text-align: center; }
.proceso-header p { color: var(--gray); margin-top: 14px; font-size: 16px; }
.proceso-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  position: relative;
}
.proceso-step {
  background: #fff; border-radius: var(--radius);
  padding: 40px 32px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.proceso-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-number {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: 13px; letter-spacing: .08em; color: #fff;
  background: var(--grad); padding: 7px 16px; border-radius: 100px;
  margin-bottom: 22px;
}
.proceso-step h3 { font-size: 20px; margin-bottom: 12px; }
.proceso-step p { color: var(--gray); font-size: 15px; line-height: 1.75; }

/* ══════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════ */
#stats { padding: 100px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px; text-align: center;
}
.stat-num {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(42px, 6vw, 64px);
  background: var(--grad-text); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.stat-lbl {
  margin-top: 10px; color: rgba(255,255,255,.78);
  font-family: var(--font-head); font-weight: 500; font-size: 14.5px; line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════════════ */
#contacto { padding: 130px 0; background: var(--bg-alt); }
.contact-hdr { max-width: 560px; margin: 0 auto 56px; text-align: center; }
.contact-hdr p { color: var(--gray); margin-top: 14px; font-size: 16px; }
.contact-box {
  display: grid; grid-template-columns: .85fr 1.15fr;
  background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-info {
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-soft) 55%, var(--green-dark) 140%);
  color: #fff; padding: 52px 44px;
}
.contact-info h3 { color: #fff; font-size: 23px; margin-bottom: 8px; }
.ci-sub { color: rgba(255,255,255,.72); margin-bottom: 36px; font-size: 15px; }
.ci-list { display: flex; flex-direction: column; gap: 26px; }
.ci-item { display: flex; gap: 16px; }
.ci-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  color: var(--green-light);
}
.ci-body h4 { color: #fff; font-size: 15.5px; margin-bottom: 5px; }
.ci-body p, .ci-body a { color: rgba(255,255,255,.75); font-size: 14.5px; line-height: 1.6; }
.ci-body a:hover { color: #fff; }
.ci-wa-link { color: var(--green-light) !important; font-weight: 700; display: inline-block; margin-top: 4px; }

.contact-form-wrap { padding: 52px 46px; }
.contact-form-wrap h3 { font-size: 23px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: var(--ink-soft); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--bg-alt);
  font-size: 14.5px; color: var(--ink);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.form-control:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(33,150,243,.14);
}
.form-submit {
  width: 100%; background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.5);
  margin-top: 4px;
}
.form-submit:hover { transform: translateY(-2px); }
.form-note { text-align: center; font-size: 12.5px; color: var(--gray-light); margin-top: 14px; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 80px 0 30px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 40px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo-img {
  height: 56px; width: auto; object-fit: contain;
  filter: brightness(1.15);
  margin-bottom: 16px;
}
.footer-tagline { font-size: 14.5px; color: rgba(255,255,255,.55); max-width: 260px; line-height: 1.6; }
.footer-col h4 {
  color: #fff; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14.5px; color: rgba(255,255,255,.62);
  margin-bottom: 13px; transition: color .3s ease;
}
.footer-col a:hover { color: var(--green-light); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 28px;
}
.footer-copy { font-size: 13.5px; color: rgba(255,255,255,.45); }
.footer-socials { display: flex; gap: 12px; }
.footer-soc {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; transition: all .3s ease;
}
.footer-soc:hover { background: var(--grad); transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════
   FLOATING WHATSAPP
══════════════════════════════════════════════════════ */
.wa-btn {
  position: fixed; bottom: 26px; right: 26px; z-index: 400;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; font-size: 27px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
  animation: waFloat 2.6s ease-in-out infinite;
}
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.wa-btn::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5);
  animation: waPing 2.2s ease-out infinite;
}
@keyframes waPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .why-header { grid-template-columns: 1fr; gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ambientes-grid { grid-template-columns: 1fr; }
  .amb-card { aspect-ratio: 16/10; }
  .proceso-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .contact-box { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-inner { min-height: 68px; }
  .nav-logo-img { height: 46px; }
  #navbar.scrolled .nav-logo-img { height: 40px; }
  .hero-content { padding: 118px 0 70px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-info { padding: 38px 26px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  #nosotros, #servicios, #proceso, #stats, #contacto { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a { justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-divider { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .loader-logo { width: 78vw; }
  .ambientes-top { flex-direction: column; align-items: flex-start; }
}

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