/* ============================================================
   VISIÓN ENTRENUCLEOS · Hoja de estilos principal
   Paleta: Verde bosque + Vino · Fuentes: Cormorant + Nunito
   ============================================================ */

/* ─────────────────────────────────────
   VARIABLES Y RESET
───────────────────────────────────── */
:root {
  /* Verdes */
  --verde:       #1B5938;
  --verde-2:     #2A7A4E;
  --verde-3:     #4D9E72;
  --verde-pale:  #E6F4ED;
  --verde-ultra: #F0F8F4;

  /* Vino / Burgundy */
  --vino:        #7B2D3F;
  --vino-2:      #9E3D52;
  --vino-3:      #C4687A;
  --vino-pale:   #F5E8EB;

  /* Neutros */
  --crema:       #FAF8F4;
  --gris-claro:  #F2F0EB;
  --borde:       #E0DDD6;
  --texto:       #1A1A1A;
  --texto-2:     #4A4A4A;
  --texto-3:     #7A7A7A;
  --blanco:      #FFFFFF;

  /* Sombras */
  --sombra-s:    0 2px 12px rgba(27, 89, 56, 0.08);
  --sombra-m:    0 6px 28px rgba(27, 89, 56, 0.13);
  --sombra-l:    0 16px 48px rgba(27, 89, 56, 0.18);

  /* Tipografía */
  --f-titulo:    'DM Serif Display', Georgia, serif;
  --f-cuerpo:    'Nunito', system-ui, sans-serif;

  /* Espacios */
  --radio:       14px;
  --radio-l:     24px;
  --max:         1160px;
  --tr:          0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-cuerpo);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texto);
  background: var(--crema);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }


/* ─────────────────────────────────────
   UTILIDADES
───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--f-cuerpo);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde-2);
  background: var(--verde-pale);
  padding: 0.35em 0.9em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-label--light {
  color: var(--verde-pale);
  background: rgba(255,255,255,0.12);
}

.section-title {
  font-family: var(--f-titulo);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--texto);
  margin-bottom: 1.2rem;
}

.section-title--light { color: var(--blanco); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--texto-2);
  max-width: 580px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header--light { text-align: center; margin-bottom: 3.5rem; }

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vino);
  background: var(--vino-pale);
  padding: 0.4em 1em;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}


/* ─────────────────────────────────────
   BOTONES
───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-cuerpo);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75em 1.8em;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--tr);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--verde);
  color: var(--blanco);
  border-color: var(--verde);
}
.btn--primary:hover {
  background: var(--verde-2);
  border-color: var(--verde-2);
  transform: translateY(-2px);
  box-shadow: var(--sombra-m);
}

.btn--ghost {
  background: transparent;
  color: var(--verde);
  border-color: var(--verde);
}
.btn--ghost:hover {
  background: var(--verde);
  color: var(--blanco);
  transform: translateY(-2px);
}

.btn--wa {
  background: #25D366;
  color: var(--blanco);
  border-color: #25D366;
}
.btn--wa:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.btn--wa-big {
  font-size: 1.05rem;
  padding: 0.9em 2.2em;
  margin: 1.8rem 0 2rem;
}


/* ─────────────────────────────────────
   NAVBAR
───────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--tr), box-shadow var(--tr), padding var(--tr);
  padding: 1.2rem 0;
}

.navbar.scrolled {
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: var(--sombra-s);
  padding: 0.7rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--verde);
  font-family: var(--f-cuerpo);
  font-size: 1rem;
  font-weight: 400;
  flex-shrink: 0;
}

.navbar__logo strong { font-weight: 800; }

.navbar__logo-icon {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.navbar__logo-text { letter-spacing: -0.01em; }

.navbar__logo-wordmark {
  height: 34px;
  width: auto;
}

.navbar__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texto-2);
  position: relative;
  transition: color var(--tr);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--verde);
  border-radius: 2px;
  transition: width var(--tr);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--verde);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__cta { margin-left: 1rem; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.navbar__hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--verde);
  border-radius: 2px;
  transition: var(--tr);
}

.navbar__hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menú móvil */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1.5rem;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--borde);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.navbar__mobile.open {
  max-height: 500px;
  padding: 1rem 1.5rem 1.5rem;
}

.navbar__mobile a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--texto-2);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--borde);
  transition: color var(--tr);
}

.navbar__mobile a:last-child { border-bottom: none; }
.navbar__mobile a:hover { color: var(--verde); }


/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 6rem;
  background: var(--crema);
}

/* Blobs decorativos de fondo */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(77, 158, 114, 0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: blobFloat 12s ease-in-out infinite;
}

.hero__blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123, 45, 63, 0.08) 0%, transparent 70%);
  bottom: 0; left: -80px;
  animation: blobFloat 15s ease-in-out infinite reverse;
}

.hero__blob--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(27, 89, 56, 0.07) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: blobFloat 18s ease-in-out infinite 3s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -20px) scale(1.04); }
  66%       { transform: translate(-15px, 15px) scale(0.97); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0 6rem;
}

.hero__title {
  font-family: var(--f-titulo);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--texto);
  margin-bottom: 1.2rem;
}

.hero__title em {
  font-style: italic;
  color: var(--verde);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--texto-2);
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* SVG de gafas */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.glasses-art img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
  animation: glassesFloat 6s ease-in-out infinite;
}

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

/* Flecha scroll */
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--verde-3);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  opacity: 0.7;
  transition: opacity var(--tr);
}
.hero__scroll:hover { opacity: 1; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ─────────────────────────────────────
   BANDA DE CIFRAS
───────────────────────────────────── */
.stats-band {
  background: var(--verde);
  padding: 3.5rem 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat--animated {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat--animated:nth-child(2) { transition-delay: 0.15s; }
.stat--animated:nth-child(3) { transition-delay: 0.30s; }
.stat--animated:nth-child(4) { transition-delay: 0.45s; }

.stat--animated.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stat__num {
  font-family: var(--f-titulo);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--blanco);
  line-height: 1;
}

.stat__plus {
  font-family: var(--f-titulo);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--verde-3);
  margin-left: 2px;
}

.stat__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ─────────────────────────────────────
   NOSOTROS
───────────────────────────────────── */
.about {
  padding: 7rem 0;
  background: var(--crema);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

/* Texto */
.about__text p {
  color: var(--texto-2);
  margin-bottom: 1rem;
}

.about__values {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about__values li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--texto-2);
}

.about__values li i {
  color: var(--verde);
  font-size: 1.05rem;
  flex-shrink: 0;
}


/* ─────────────────────────────────────
   SERVICIOS
───────────────────────────────────── */
.services {
  padding: 7rem 0;
  background: var(--gris-claro);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio-l);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  transition: var(--tr);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--verde), var(--vino));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-l);
  border-color: var(--verde-pale);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 50px; height: 50px;
  background: var(--verde-pale);
  color: var(--verde);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--tr);
}

.service-card:hover .service-card__icon {
  background: var(--verde);
  color: var(--blanco);
}

.service-card h3 {
  font-family: var(--f-titulo);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--texto);
}

.service-card p {
  font-size: 0.93rem;
  color: var(--texto-3);
  line-height: 1.65;
  flex: 1;
}

.service-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--verde);
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--tr);
  text-decoration: none;
  margin-top: auto;
}

.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-card__arrow:hover {
  color: var(--vino);
}


/* ─────────────────────────────────────
   POR QUÉ NOSOTROS
───────────────────────────────────── */
.why-us {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.why-us__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--verde) 0%, #0e3d25 100%);
  z-index: 0;
}

.why-us .container { position: relative; z-index: 1; }

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radio-l);
  padding: 2.6rem 1.8rem 2.2rem;
  position: relative;
  text-align: center;
  transition: var(--tr);
  backdrop-filter: blur(4px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.25);
}

.why-card__num {
  font-family: var(--f-titulo);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.why-card h3 {
  font-family: var(--f-titulo);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}


/* ─────────────────────────────────────
   PROCESO
───────────────────────────────────── */
.process {
  padding: 7rem 0;
  background: var(--crema);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 1rem;
}

/* Línea horizontal entre pasos */
.process__steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.66% + 28px); right: calc(16.66% + 28px);
  height: 2px;
  background: var(--borde);
  z-index: 0;
}

.process-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.process-step__circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--blanco);
  font-family: var(--f-titulo);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(27, 89, 56, 0.3);
  transition: var(--tr);
  flex-shrink: 0;
}

.process-step:hover .process-step__circle {
  background: var(--vino);
  box-shadow: 0 4px 20px rgba(123, 45, 63, 0.3);
  transform: scale(1.08);
}

.process-step h3 {
  font-family: var(--f-titulo);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--texto);
}

.process-step p {
  font-size: 0.92rem;
  color: var(--texto-3);
  max-width: 240px;
  line-height: 1.6;
}


/* ─────────────────────────────────────
   CONTACTO
───────────────────────────────────── */
.contact {
  padding: 7rem 0;
  background: var(--gris-claro);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__info p {
  color: var(--texto-2);
  max-width: 500px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  width: 42px; height: 42px;
  background: var(--verde-pale);
  color: var(--verde);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-item strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--texto);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-item span,
.contact-item a {
  font-size: 0.95rem;
  color: var(--texto-2);
  display: block;
  transition: color var(--tr);
}

.contact-item a:hover { color: var(--verde); }

/* Tarjeta mapa */
.map-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio-l);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.2rem;
  min-height: 320px;
  box-shadow: var(--sombra-s);
}

.map-card__icon {
  font-size: 3rem;
  color: var(--verde-3);
}

.map-card p {
  font-size: 1rem;
  color: var(--texto-2);
  line-height: 1.6;
}

.map-card strong { color: var(--texto); }


/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.footer {
  background: var(--texto);
  color: rgba(255,255,255,0.6);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4.5rem 1.5rem 3rem;
}

.footer__brand .navbar__logo {
  color: var(--blanco);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer__brand .navbar__logo-icon { color: var(--verde-3); }

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  transition: var(--tr);
}

.footer__social a:hover {
  background: var(--verde);
  border-color: var(--verde);
  color: var(--blanco);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-family: var(--f-cuerpo);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 1.2rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.2rem;
}

.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--tr);
  padding: 0.1rem 0;
}

.footer__col a:hover {
  color: var(--verde-3);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem 1.5rem;
}

.footer__bottom .container {
  display: flex;
  justify-content: center;
}

.footer__bottom span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer__logo { display: inline-flex; }

.footer__logo-icon {
  filter: brightness(0) invert(1);
}


/* ─────────────────────────────────────
   BOTÓN FLOTANTE WHATSAPP
───────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blanco);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--tr);
  animation: waPulse 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

.wa-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--texto);
  color: var(--blanco);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4em 0.9em;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--tr);
}

.wa-float__tooltip::after {
  content: '';
  position: absolute;
  top: 50%; left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--texto);
}

.wa-float:hover .wa-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}


/* ─────────────────────────────────────
   ANIMACIONES SCROLL
───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--delay {
  transition-delay: 0.15s;
}

.reveal--delay2 {
  transition-delay: 0.3s;
}

.reveal--delay3 {
  transition-delay: 0.45s;
}

.reveal.visible,
.reveal--left.visible,
.reveal--right.visible,
.reveal--scale.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}


/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */

/* Tablet grande / laptop pequeño */
@media (max-width: 1024px) {
  .why-us__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .navbar__links,
  .navbar__cta { display: none; }

  .navbar__hamburger { display: flex; }

  .navbar__mobile { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 3rem 0 5rem;
  }

  .hero__subtitle { margin: 0 auto 2.2rem; }

  .hero__actions { justify-content: center; }

  .hero__visual { order: -1; }

  .glasses-art img { max-width: 360px; }

  .stats-band__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .why-us__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .process__steps {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .process__steps::before { display: none; }

  .process-step { flex-direction: row; text-align: left; gap: 1.4rem; }

  .process-step__circle { flex-shrink: 0; }

  .process-step p { max-width: none; }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__brand { grid-column: 1 / -1; }
}

/* Móvil */
@media (max-width: 580px) {
  .hero__title { font-size: 2.4rem; }

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

  .services__grid {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__brand { grid-column: auto; }

  .wa-float { bottom: 1.25rem; right: 1.25rem; }

  .btn--wa-big {
    width: 100%;
    justify-content: center;
  }
}

/* Preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1;
    transform: none;
  }
}


/* ─────────────────────────────────────
   FINANCIACIÓN
───────────────────────────────────── */
.financing {
  padding: 5rem 0;
  background: var(--verde-ultra);
}

.financing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.financing-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--sombra-s);
  transition: transform var(--tr), box-shadow var(--tr);
}

.financing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-m);
}

.financing-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--verde-pale);
  color: var(--verde);
  font-size: 1.4rem;
}

.financing-card h3 {
  font-family: var(--f-titulo);
  font-size: 1.3rem;
  color: var(--verde);
  margin-bottom: 0.5rem;
}

.financing-card p {
  font-size: 0.95rem;
  color: var(--texto-2);
  line-height: 1.5;
}

.financing__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.financing__cta p {
  font-size: 1.05rem;
  color: var(--texto-2);
  margin-bottom: 1rem;
}


/* ─────────────────────────────────────
   RESEÑAS (dentro de Nosotros)
───────────────────────────────────── */
.reviews {
  position: relative;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.reviews__title {
  font-family: var(--f-titulo);
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--texto);
}

.reviews__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio-l);
  box-shadow: var(--sombra-s);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-card__stars { color: #F5B301; }

.review-card__text {
  font-family: var(--f-titulo);
  font-style: italic;
  line-height: 1.5;
  color: var(--texto);
}

.review-card__author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--verde-2);
}

.reviews__empty {
  text-align: center;
  background: var(--blanco);
  border: 1px dashed var(--borde);
  border-radius: var(--radio-l);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.reviews__empty-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--verde-pale);
  color: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.reviews__empty p { color: var(--texto-2); font-size: 0.95rem; }
