﻿/* ============================================
   ELO LIMPIEZAS — Identidad visual
   Concepto: Eco-botánico refinado
   ============================================ */

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

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

:root {
  /* Paleta — extraída del logo */
  --verde-botella: #1f3a2f;      /* color principal de la E */
  --verde-profundo: #2d4a3e;
  --verde-medio: #4a6b5c;
  --verde-salvia: #7d9788;
  --verde-claro: #b4c4ba;
  --verde-pastel: #dde5dd;
  --crema: #f4eee0;
  --crema-claro: #faf6ec;
  --crema-papel: #efe7d3;
  --cobre: #b8924d;              /* dorado/cobre de los detalles del logo */
  --cobre-claro: #d4b878;
  --cobre-oscuro: #8b6d2f;
  --plata: #c8d0c7;              /* color de las hojas */
  --carbon: #14181a;
  --gris: #6a6e6c;
  --gris-claro: #d6d8d4;

  /* Tipografía */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Espaciado */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;
  --sp-xxl: 9rem;

  /* Layout */
  --max: 1280px;
  --max-narrow: 920px;
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 20px;

  /* Sombras */
  --sh-sm: 0 2px 8px rgba(31, 58, 47, 0.06);
  --sh-md: 0 10px 30px rgba(31, 58, 47, 0.10);
  --sh-lg: 0 24px 60px rgba(31, 58, 47, 0.16);

  /* Transiciones */
  --t-fast: 0.2s ease;
  --t: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--carbon);
  background: var(--crema-claro);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Textura de papel sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--verde-botella);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--cobre); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Tipografía --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--verde-botella);
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--cobre);
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
  margin-bottom: var(--sp-md);
}

h2 em {
  font-style: italic;
  color: var(--cobre);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-sm);
}

h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

p { margin-bottom: var(--sp-sm); color: var(--carbon); }
p.muted { color: var(--gris); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cobre);
  margin-bottom: var(--sp-sm);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--cobre);
  margin-right: 14px;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--carbon);
  max-width: 60ch;
}

/* --- Contenedor --- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.container-narrow {
  width: 100%;
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 1.25rem; }
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--verde-botella);
  color: var(--crema);
}
.btn-primary:hover {
  background: var(--carbon);
  color: var(--crema);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

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

.btn-ghost {
  background: transparent;
  color: var(--verde-botella);
  padding: 0.6rem 0;
  border-radius: 0;
  border-bottom: 1.5px solid var(--cobre);
  letter-spacing: 0.08em;
}
.btn-ghost:hover { color: var(--cobre); }

.btn-wa {
  background: #25D366;
  color: white;
}
.btn-wa:hover {
  background: #1ebe5a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn svg { width: 16px; height: 16px; }

/* ============================================
   HEADER (común)
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(250, 246, 236, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--t);
}

.header.scrolled {
  padding: 0.7rem 0;
  border-bottom-color: rgba(31, 58, 47, 0.1);
  background: rgba(250, 246, 236, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--verde-botella);
}
.logo:hover { color: var(--verde-botella); }

.logo img {
  height: 52px;
  width: auto;
  transition: height var(--t);
}

.header.scrolled .logo img { height: 42px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--verde-botella);
}

.logo-text small {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cobre);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--carbon);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--cobre);
  transition: width var(--t);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--verde-botella); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  background: var(--verde-botella);
  color: var(--crema);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--t-fast);
}

.nav-cta:hover {
  background: var(--cobre);
  color: var(--crema);
  transform: translateY(-1px);
}

.nav-cta svg { width: 13px; height: 13px; }


.nav-phones {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.nav-phones .nav-cta {
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
}

@media (max-width: 1100px) {
  .nav-phones .nav-cta:nth-child(2) { display: none; }
}

/* Menú móvil */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  height: 1.5px;
  width: 24px;
  background: var(--verde-botella);
  left: 8px;
  transition: all var(--t-fast);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(340px, 85vw);
    background: var(--crema);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--sp-lg);
    gap: var(--sp-md);
    transform: translateX(100%);
    transition: transform var(--t);
    box-shadow: var(--sh-lg);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.6rem; font-family: var(--font-display); }
  .nav-cta { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 9.5rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: var(--sp-md);
}

.hero .lead {
  margin-bottom: var(--sp-md);
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gris);
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(31, 58, 47, 0.12);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.04em;
}

.hero-trust svg { width: 16px; height: 16px; color: var(--cobre); }

/* Visual del hero */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 500px;
  margin-left: auto;
}

.hero-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 280px 280px 24px 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh-lg);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

/* Hojas decorativas SVG */
.leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.7;
}

.leaf.leaf-top {
  top: -50px;
  left: -60px;
  width: 160px;
  animation: sway 8s ease-in-out infinite;
  z-index: 2;
}

.leaf.leaf-bottom {
  bottom: -40px;
  right: -40px;
  width: 120px;
  animation: sway 10s ease-in-out infinite reverse;
}

@keyframes sway {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-6px); }
}

/* Badge eco */
.hero-badge {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--crema);
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 240px;
  z-index: 3;
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--verde-pastel);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--verde-botella);
}

.hero-badge-text strong {
  display: block;
  color: var(--verde-botella);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 2px;
}

.hero-badge-text span {
  font-size: 0.82rem;
  color: var(--gris);
  line-height: 1.4;
}

.hero-decor-bg {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, var(--verde-pastel) 0%, transparent 65%);
  opacity: 0.6;
  z-index: 0;
}

@media (max-width: 980px) {
  .hero { padding: 7.5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .hero-badge { left: 0; bottom: 30px; }
}

/* ============================================
   PAGE HERO (para páginas internas)
   ============================================ */
.page-hero {
  padding: 11rem 0 5rem;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, var(--crema) 0%, var(--crema-claro) 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 Q200 50 400 100 T800 100' stroke='%237d9788' fill='none' stroke-width='0.5' opacity='0.3'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.page-hero > * { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--sp-sm);
}

.page-hero .lead {
  margin: 0 auto;
  font-size: 1.15rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: var(--sp-md);
}

.breadcrumb a:hover { color: var(--cobre); }
.breadcrumb span { color: var(--cobre); }

/* ============================================
   FRANJA VALORES
   ============================================ */
.values {
  padding: var(--sp-lg) 0;
  background: var(--verde-botella);
  color: var(--crema);
  position: relative;
  overflow: hidden;
}

.values::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(circle, rgba(184, 146, 77, 0.12) 0%, transparent 60%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  position: relative;
  z-index: 1;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--cobre-claro);
  border-radius: 50%;
  background: rgba(184, 146, 77, 0.1);
}

.value h3 {
  color: var(--crema);
  margin: 0;
  font-size: 1.45rem;
}

.value p {
  color: var(--plata);
  font-size: 0.96rem;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .values-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
}

/* ============================================
   SERVICIOS
   ============================================ */
.section {
  padding: var(--sp-xl) 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-lg);
}

.section-head p {
  font-size: 1.05rem;
  margin-top: var(--sp-sm);
  color: var(--gris);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.service {
  background: var(--crema-claro);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t);
  border: 1px solid rgba(31, 58, 47, 0.06);
  display: flex;
  flex-direction: column;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(31, 58, 47, 0.12);
}

.service-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31, 58, 47, 0.15));
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.service:hover .service-img img { transform: scale(1.06); }

.service-body {
  padding: var(--sp-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.service-body p {
  font-size: 0.95rem;
  margin-bottom: var(--sp-sm);
  flex: 1;
  color: var(--gris);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--cobre);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
  transition: gap var(--t-fast);
}

.service:hover .service-link { gap: 0.9rem; }
.service-link svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICE DETAIL (servicios.html)
   ============================================ */
.service-detail {
  padding: var(--sp-xl) 0;
}

.service-detail + .service-detail {
  border-top: 1px solid rgba(31, 58, 47, 0.08);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}
.service-detail:nth-child(even) .service-detail-grid > * { direction: ltr; }

.service-detail-img {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  position: relative;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h2 {
  margin-bottom: var(--sp-sm);
}

.service-features {
  list-style: none;
  margin: var(--sp-md) 0;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.5rem 0;
  font-size: 0.97rem;
}

.service-features svg {
  width: 18px;
  height: 18px;
  color: var(--cobre);
  flex-shrink: 0;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .service-detail-grid,
  .service-detail:nth-child(even) .service-detail-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ============================================
   POR QUÉ NOSOTROS
   ============================================ */
.why {
  padding: var(--sp-xl) 0;
  background: var(--crema);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 5C25 25 15 50 25 75c5 12 18 20 30 18C50 70 45 45 50 5z' fill='%237d9788' opacity='0.15'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  transform: rotate(-15deg);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}

.why-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.why-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--verde-botella);
  color: var(--cobre-claro);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.stat {
  background: var(--crema-claro);
  padding: var(--sp-md);
  border-radius: var(--r-md);
  text-align: center;
  border: 1px solid rgba(31, 58, 47, 0.08);
  transition: all var(--t);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.stat:nth-child(2),
.stat:nth-child(3) {
  background: var(--verde-botella);
  color: var(--crema);
  border-color: transparent;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--verde-botella);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.stat:nth-child(2) .stat-num,
.stat:nth-child(3) .stat-num {
  color: var(--cobre-claro);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--gris);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat:nth-child(2) .stat-label,
.stat:nth-child(3) .stat-label {
  color: var(--plata);
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROCESO
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cobre) 20%, var(--cobre) 80%, transparent);
  opacity: 0.4;
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-sm);
  background: var(--crema-claro);
  border: 2px solid var(--cobre);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--verde-botella);
  font-weight: 500;
  font-style: italic;
  transition: all var(--t);
}

.step:hover .step-num {
  background: var(--verde-botella);
  color: var(--cobre-claro);
  transform: scale(1.05);
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--verde-botella);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--gris);
  margin: 0;
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.testi {
  background: var(--crema-claro);
  padding: var(--sp-md);
  border-radius: var(--r-md);
  border: 1px solid rgba(31, 58, 47, 0.08);
  position: relative;
  transition: all var(--t);
}

.testi:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.testi-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--cobre);
  opacity: 0.4;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.testi-stars {
  color: var(--cobre);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}

.testi-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--sp-md);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--carbon);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(31, 58, 47, 0.08);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--verde-pastel);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--verde-botella);
  font-size: 1.2rem;
  font-style: italic;
}

.testi-meta strong {
  display: block;
  color: var(--verde-botella);
  font-size: 0.95rem;
}

.testi-meta span {
  font-size: 0.8rem;
  color: var(--gris);
}

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ZONA / MAPA
   ============================================ */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-lg);
  align-items: center;
}

.area-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-top: var(--sp-md);
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.97rem;
}

.area-list svg { width: 13px; height: 13px; color: var(--cobre); flex-shrink: 0; }

.area-map {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: var(--crema);
}

.area-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 760px;
  margin: var(--sp-md) auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(31, 58, 47, 0.12);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--verde-botella);
  transition: color var(--t-fast);
}

.faq-q:hover { color: var(--cobre); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  transition: transform var(--t);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--cobre);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; transition: transform var(--t); }

.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}

.faq-a-inner {
  padding-bottom: 1.4rem;
  color: var(--gris);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 500px; }

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  padding: var(--sp-lg) 0 var(--sp-xl);
}

.cta-box {
  background: var(--verde-botella);
  color: var(--crema);
  padding: var(--sp-xl) var(--sp-lg);
  border-radius: var(--r-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before,
.cta-box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 146, 77, 0.18) 0%, transparent 70%);
}

.cta-box::before { top: -120px; left: -120px; width: 420px; height: 420px; }
.cta-box::after { bottom: -150px; right: -100px; width: 380px; height: 380px; }

.cta-box > * { position: relative; z-index: 1; }

.cta-box .eyebrow { color: var(--cobre-claro); }
.cta-box .eyebrow::before { background: var(--cobre-claro); }

.cta-box h2 {
  color: var(--crema);
  margin-bottom: var(--sp-sm);
}

.cta-box p {
  color: var(--plata);
  max-width: 560px;
  margin: 0 auto var(--sp-md);
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-box .btn-primary {
  background: var(--cobre-claro);
  color: var(--verde-botella);
}
.cta-box .btn-primary:hover {
  background: var(--crema);
  color: var(--verde-botella);
}

.cta-box .btn-secondary {
  border-color: var(--plata);
  color: var(--crema);
}
.cta-box .btn-secondary:hover {
  background: var(--plata);
  color: var(--verde-botella);
}

/* ============================================
   CONTACTO / FORMULARIO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-lg);
  align-items: start;
}

.contact-info > p {
  margin-bottom: var(--sp-md);
  font-size: 1.05rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--crema-claro);
  border: 1px solid var(--verde-pastel);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--verde-botella);
  box-shadow: var(--sh-sm);
}

.contact-item-icon svg { width: 18px; height: 18px; }

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cobre);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a:not(.btn) {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--verde-botella);
  margin: 0;
  font-weight: 500;
}

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

.contact-item small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gris);
  margin-top: 0.3rem;
  font-weight: 400;
}

.contact-form {
  background: var(--crema-claro);
  padding: var(--sp-md);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  border: 1px solid rgba(31, 58, 47, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

.form-group { margin-bottom: var(--sp-sm); }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--verde-botella);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.05rem;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--carbon);
  background: var(--crema);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cobre);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  font-family: inherit;
}

.form-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: var(--sp-md);
  font-size: 0.85rem;
  color: var(--gris);
}

.form-check input { margin-top: 5px; flex-shrink: 0; accent-color: var(--verde-botella); }
.form-check a { text-decoration: underline; color: var(--verde-botella); }

.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--verde-botella);
  color: var(--crema);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-submit:hover {
  background: var(--cobre);
  transform: translateY(-1px);
}

.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-message {
  margin-top: var(--sp-sm);
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: var(--verde-pastel);
  color: var(--verde-botella);
  display: block;
}

.form-message.error {
  background: #fde2e2;
  color: #8b1f1f;
  display: block;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   SOBRE NOSOTROS — bloques editoriales
   ============================================ */
.editorial {
  padding: var(--sp-xl) 0;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.editorial-grid.reverse { direction: rtl; }
.editorial-grid.reverse > * { direction: ltr; }

.editorial-img {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--sh-md);
}

.editorial-img.wide { aspect-ratio: 4/3; }

.editorial-img img { width: 100%; height: 100%; object-fit: cover; }

.editorial-text p { margin-bottom: var(--sp-sm); font-size: 1.02rem; }

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.25;
  font-style: italic;
  font-weight: 400;
  color: var(--verde-botella);
  padding: var(--sp-md) 0;
  margin: var(--sp-md) 0;
  border-top: 1px solid var(--cobre);
  border-bottom: 1px solid var(--cobre);
}

.pullquote::before {
  content: '"';
  display: block;
  font-size: 3rem;
  color: var(--cobre);
  line-height: 0.5;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .editorial-grid,
  .editorial-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ============================================
   CERTIFICACIONES / LOGOS
   ============================================ */
.certifications {
  padding: var(--sp-lg) 0;
  background: var(--crema);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}

.cert {
  text-align: center;
  padding: var(--sp-sm);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-sm);
  display: grid;
  place-items: center;
  background: var(--crema-claro);
  border: 1px solid var(--verde-pastel);
  border-radius: 50%;
  color: var(--cobre);
}

.cert h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cert p {
  font-size: 0.85rem;
  color: var(--gris);
  margin: 0;
}

@media (max-width: 700px) {
  .cert-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--carbon);
  color: var(--crema);
  padding: var(--sp-lg) 0 var(--sp-md);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cobre), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.footer-brand .logo { margin-bottom: var(--sp-sm); }
.footer-brand .logo-text strong { color: var(--crema); }

.footer-brand p {
  color: rgba(244, 238, 224, 0.65);
  font-size: 0.93rem;
  max-width: 320px;
  margin-bottom: var(--sp-md);
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cobre-claro);
  margin-bottom: var(--sp-sm);
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer a {
  color: rgba(244, 238, 224, 0.7);
  font-size: 0.93rem;
  transition: color var(--t-fast);
}

.footer a:hover { color: var(--cobre-claro); }

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--sp-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(244, 238, 224, 0.05);
  border: 1px solid rgba(244, 238, 224, 0.1);
  border-radius: 50%;
  transition: all var(--t-fast);
}

.footer-social a:hover {
  background: var(--cobre);
  border-color: var(--cobre);
  color: var(--carbon);
  transform: translateY(-2px);
}

.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(244, 238, 224, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  font-size: 0.85rem;
  color: rgba(244, 238, 224, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP (con menú dos números)
   ============================================ */
.fab-wa-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-wa {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--t);
  animation: pulse 2.5s ease-in-out infinite;
  position: relative;
  cursor: pointer;
}

.fab-wa:hover {
  background: #1ebe5a;
  color: white;
  transform: scale(1.08) translateY(-2px);
  animation: none;
}

.fab-wa svg { width: 30px; height: 30px; transition: transform 0.3s; pointer-events: none; }

.fab-wa-wrap.open .fab-wa {
  animation: none;
  background: #1ebe5a;
}

.fab-wa-wrap.open .fab-wa svg {
  transform: rotate(135deg);
}

.fab-wa-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-wa-wrap.open .fab-wa-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.fab-wa-option {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.2rem;
  background: white;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: var(--carbon);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all var(--t-fast);
  border: 1px solid rgba(0,0,0,0.05);
}

.fab-wa-option:hover {
  background: #25D366;
  color: white;
  transform: translateX(-3px);
  border-color: #25D366;
}

.fab-wa-option-icon {
  width: 28px;
  height: 28px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.fab-wa-option:hover .fab-wa-option-icon {
  background: white;
  color: #25D366;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================
   PÁGINAS LEGALES
   ============================================ */
.legal-page {
  padding: 9rem 0 var(--sp-xl);
  background: var(--crema-claro);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--crema-claro);
  padding: var(--sp-lg);
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-sm);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-sm);
}

.legal-content p, .legal-content li {
  color: var(--carbon);
  margin-bottom: var(--sp-sm);
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal-content ul { padding-left: 1.5rem; margin-bottom: var(--sp-sm); }
.legal-content a { color: var(--cobre); text-decoration: underline; }

.legal-meta {
  font-size: 0.82rem;
  color: var(--gris);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--gris-claro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

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

::selection { background: var(--cobre); color: var(--crema); }


/* === Hero text-only override (sin imagen) === */
.hero .hero-grid {
  grid-template-columns: 1fr !important;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.hero .hero-ctas {
  justify-content: center;
  flex-wrap: wrap;
}
.hero .hero-trust {
  justify-content: center;
  flex-wrap: wrap;
}
.hero h1 {
  max-width: 18ch;
}
.hero .lead {
  max-width: 56ch;
}


/* === Hero leaves decorativas === */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-leaf {
  position: absolute;
  opacity: 0.5;
}
.hero-leaf-left {
  left: -20px;
  top: 40px;
  width: 140px;
  height: auto;
}
.hero-leaf-right {
  right: -20px;
  bottom: 40px;
  width: 130px;
  height: auto;
  transform: scaleX(-1);
}
.hero .hero-grid,
.hero .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .hero-leaf-left, .hero-leaf-right {
    width: 90px;
    opacity: 0.35;
  }
}
