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

:root {
  --black: #111111;
  --off-white: #f4f4f0;
  --cream: #eeeee8;
  --accent: #9fe870;
  --accent-dark: #7dd14f;
  --accent-light: #FDFC47;
  --mid: #555;
  --light-border: #e0e0d8;
  --font-heading: 'Cabinet Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --grad-btn: linear-gradient(135deg, #FDFC47 0%, #c8f044 35%, #7dd14f 100%);
  --grad-btn-hover: linear-gradient(135deg, #fffe60 0%, #d4f555 35%, #8de05c 100%);
  --max-width: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--black);
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}

.nav-logo-icon { display: flex; align-items: center; }
.nav-logo-icon img { height: 40px; width: auto; display: block; }

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  font-family: var(--font-heading);
}

.nav-links li { font-family: var(--font-heading); }

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-dark);
  transition: width 0.2s;
}

.nav-links a:hover { color: var(--accent-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--black);
  color: #fff !important;
  padding: 13px 23px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  transition: background 0.25s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--grad-btn) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO (index) ────────────────────────────────── */
#inicio {
  padding: 120px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.5px;
  margin-bottom: 1.4rem;
}

.hero-content h1 span {
  background: linear-gradient(100deg, #a8e85a 0%, #c8f044 45%, #8EA63A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  background: var(--grad-btn);
  color: var(--black);
  padding: 13px 30px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(253,252,71,0.35);
}

.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost:hover { color: var(--black); }

/* ─── HERO IMAGE ──────────────────────────────────── */
.hero-image {
  border-radius: 20px;
  overflow: visible;
  aspect-ratio: 4/3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image-main {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-stat-img {
  position: absolute;
  bottom: -28px;
  left: -48px;
  width: 214px;
  height: auto;
  border-radius: 19px;
  border: 1px solid var(--light-border);
  display: block;
  z-index: 10;
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

.hero-image-main img,
.faq-image img,
.contacto-image img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.hero-image-main:hover img,
.faq-image:hover img,
.contacto-image:hover img {
  transform: scale(1.04);
}

/* ─── SECTION BASE ────────────────────────────────── */
section { width: 100%; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}

/* ─── CLIENTES ────────────────────────────────────── */
#clientes {
  background: var(--cream);
  padding: 56px 0 64px;
}

#clientes .section-inner { text-align: center; }

.clientes-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2.5rem;
}

.carousel-wrapper { position: relative; overflow: hidden; }
.logos-track-outer { overflow: hidden; }

.logos-track {
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}

.logo-slot {
  min-width: 140px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-slot img {
  max-width: 140px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.logo-slot:hover img { opacity: 1; }

.carousel-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--light-border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.carousel-btn:hover { border-color: var(--accent-dark); background: var(--grad-btn); }
.carousel-btn svg { width: 16px; height: 16px; stroke: var(--black); fill: none; stroke-width: 2; }

/* ─── SERVICIOS ───────────────────────────────────── */
#servicios {
  background: var(--cream);
  padding: 80px 0 100px;
  scroll-margin-top: 60px;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.section-header p {
  font-family: var(--font-body);
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 380px;
}

.section-header .btn-accent {
  background: var(--grad-btn);
  color: var(--black);
  padding: 11px 26px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 1.2rem;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

.section-header .btn-accent:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(253,252,71,0.35);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--light-border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.card p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(159,232,112,0.15);
  border: 1px solid rgba(125,209,79,0.3);
  border-radius: 100px;
  padding: 3px 10px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

/* ─── STATS ───────────────────────────────────────── */
#stats {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: left;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

/* ─── PROCESO ─────────────────────────────────────── */
#proceso {
  background: #111111;
  background-image: radial-gradient(ellipse at 20% 50%, rgba(159,232,112,0.07) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(253,252,71,0.05) 0%, transparent 55%);
  padding: 100px 0;
  color: #fff;
}

.proceso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.proceso-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 300px;
  color: var(--black);
}

.mock-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 8px;
}

.mock-bar-wrap { margin-bottom: 14px; }
.mock-bar { height: 8px; background: var(--light-border); border-radius: 100px; overflow: hidden; }
.mock-bar-fill { height: 100%; background: var(--grad-btn); border-radius: 100px; }

.mock-percent {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-top: 4px;
}

.mock-badge {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.mock-check {
  width: 44px; height: 44px;
  background: var(--grad-btn);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proceso-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.proceso-content p {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.4rem;
}

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.feat-item h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-icon {
  width: 28px; height: 28px;
  background: rgba(159,232,112,0.15);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-icon svg { width: 14px; height: 14px; fill: var(--accent); }

.feat-item p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── FAQ ─────────────────────────────────────────── */
#preguntas { background: #fff; padding: 100px 0; }

#preguntas .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.faq-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
}

.faq-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-right { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--light-border); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  gap: 16px;
  transition: color 0.2s;
  user-select: none;
}

.faq-q-left { display: flex; align-items: center; gap: 12px; }

.faq-num-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.faq-num-icon svg { width: 16px; height: 16px; stroke: var(--black); transition: stroke 0.2s; }
.faq-item.open .faq-num-icon { background: var(--accent); }
.faq-q:hover { color: var(--accent-dark); }

.faq-toggle {
  width: 28px; height: 28px;
  border: 1.5px solid var(--light-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.faq-toggle svg {
  width: 14px; height: 14px;
  stroke: var(--black);
  fill: none;
  transition: transform 0.3s, stroke 0.2s;
}

.faq-item.open .faq-toggle { background: var(--black); border-color: var(--black); }
.faq-item.open .faq-toggle svg { transform: rotate(180deg); stroke: #fff; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 220px; padding-bottom: 18px; }

/* ─── CONTACTO ────────────────────────────────────── */
#contacto { background: var(--cream); padding: 100px 0; }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contacto-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.contacto-content p {
  font-family: var(--font-body);
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.4rem;
}

.contact-options { display: flex; flex-direction: column; gap: 16px; }

.quote-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(125,209,79,0.1);
  border: 1px solid rgba(125,209,79,0.25);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--mid);
  line-height: 1.6;
}

.quote-note svg { flex-shrink: 0; margin-top: 1px; stroke: var(--accent-dark); }
.quote-note strong { color: var(--black); font-weight: 600; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: var(--accent-dark);
}

.contact-link .c-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-icon.email-icon { background: #f0f4ff; }
.c-icon.wa-icon { background: #e8f8ee; }
.c-icon svg { width: 22px; height: 22px; }

.contact-link .c-text span {
  font-family: var(--font-body);
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  margin-bottom: 2px;
}

.contacto-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── PAGE HERO (páginas internas) ───────────────── */
.page-hero {
  padding: 140px 5% 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--light-border);
}

.page-hero-inner { max-width: 1200px; margin: 0 auto; }

.page-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: #888;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-breadcrumb a { color: #888; text-decoration: none; transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--accent-dark); }
.page-breadcrumb svg { width: 12px; height: 12px; stroke: #bbb; fill: none; flex-shrink: 0; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero-meta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-hero-meta span {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #ccc;
  border-radius: 50%;
}

/* ─── CONTENT AREA (páginas internas) ────────────── */
.content-area { padding: 72px 5% 100px; }
.content-inner { max-width: 760px; margin: 0 auto; }

.content-inner h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-top: 2.8rem;
  margin-bottom: 0.9rem;
  color: var(--black);
}

.content-inner h2:first-child { margin-top: 0; }

.content-inner p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-inner p:last-child { margin-bottom: 0; }

.content-inner ul { margin: 0.6rem 0 1rem 1.2rem; }

.content-inner ul li {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 0.3rem;
}

/* PDF highlight box */
.pdf-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--black);
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
}

.pdf-callout svg { flex-shrink: 0; margin-top: 2px; stroke: var(--accent); fill: none; }
.pdf-callout p { margin-bottom: 0; font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.pdf-callout strong { color: #fff; font-weight: 600; }

/* Warning / refund box */
.refund-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fffbf0;
  border: 1px solid #e8d88a;
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.refund-callout svg { flex-shrink: 0; margin-top: 2px; stroke: #c09000; fill: none; }
.refund-callout p { margin-bottom: 0; font-size: 0.88rem; color: #7a5f00; line-height: 1.7; }
.refund-callout strong { color: #5a4400; font-weight: 600; }

.policy-intro {
  background: var(--cream);
  border: 1px solid var(--light-border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 2.8rem;
}

.policy-intro p { margin-bottom: 0; font-size: 0.92rem; color: var(--mid); }

.section-divider { border: none; border-top: 1px solid var(--light-border); margin: 2.4rem 0; }

.policy-contact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(159,232,112,0.08);
  border: 1px solid rgba(125,209,79,0.25);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 2rem;
}

.policy-contact svg { flex-shrink: 0; margin-top: 2px; stroke: var(--accent-dark); fill: none; }
.policy-contact p { margin-bottom: 0; font-size: 0.88rem; }
.policy-contact a { color: var(--accent-dark); text-decoration: none; font-weight: 500; }
.policy-contact a:hover { text-decoration: underline; }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 40px 5%;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

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

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-family: var(--font-body); font-size: 0.8rem; }

/* ─── WHATSAPP WIDGET ─────────────────────────────── */
.widget-whatsapp {
  position: fixed;
  width: 54px;
  height: 54px;
  bottom: 20px;
  right: 22px;
  background: var(--grad-btn);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(253,252,71,0.45);
}

.widget-whatsapp__icon {
  width: 28px; height: 28px;
  fill: #111111;
  display: block;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.widget-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--grad-btn);
  opacity: 0;
  animation: widget-whatsapp-pulse 2.2s ease-out infinite;
  z-index: 1;
}

@keyframes widget-whatsapp-pulse {
  0%   { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0;    transform: scale(2.1); }
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1300px) {
  footer { padding-bottom: 90px; }
}

@media (max-width: 900px) {
  nav { height: 70px; }
  .page-hero { padding-top: 100px; }

  #inicio { grid-template-columns: 1fr; gap: 40px; padding-top: 90px; min-height: auto; }
  .hero-image { aspect-ratio: 16/9; }
  .hero-stat-img { left: -20px; bottom: -20px; width: 160px; }
  .section-header { grid-template-columns: 1fr; gap: 20px; }
  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .proceso-grid { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid { grid-template-columns: 1fr; }
  #preguntas .section-inner { grid-template-columns: 1fr; gap: 40px; }
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacto-image { aspect-ratio: 16/9; }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    padding: 0 5%;
    gap: 0;
    border-bottom: 1px solid var(--light-border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }

  .nav-links.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 8px;
    padding-bottom: 42px;
  }

  .nav-links li { border-bottom: none; }
  .nav-links li:last-child { border-bottom: none; padding-top: 4px; }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 600;
  }

  .nav-cta {
    padding: 10px 22px !important;
    border-radius: 100px !important;
    background: var(--black) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem !important;
    display: inline-block !important;
    margin-top: 4px;
    transition: background 0.25s !important;
  }

  .nav-cta:hover {
    background: var(--grad-btn) !important;
    color: var(--black) !important;
  }

  .hamburger { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-inner { padding: 0 5%; }
  footer { padding-bottom: 90px; }
  .logo-slot { min-width: 110px; }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  footer { padding-bottom: 90px; }
  .hero-stat-img { display: none; }
}

/* ─── SCROLL ANIMATION ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }