/* =============================================================
   1. Tokens (custom properties)
   ============================================================= */
:root {
  /* Paleta SAGE BOTÁNICO */
  --bg: #F7EEE0;
  --ink: #16261A;
  --panel: #223020;
  --olive: #8D9B57;
  --sage: #B7C596;
  --olive-deep: #6C7A3E;
  --sand: #EEE3D0;
  --text-dim: rgba(22, 38, 26, 0.62);

  /* Tipografías */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --accent-font: "Instrument Serif", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --sans: var(--body);

  /* Espaciados */
  --gutter: clamp(1rem, 5vw, 2rem);
  --section-pad: clamp(4rem, 10vw, 8rem);
  --container: min(1200px, 100% - var(--gutter) * 2);

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

  /* Nav height */
  --nav-h: 72px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--olive); color: var(--ink); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--olive); color: var(--ink);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =============================================================
   4. Typography
   ============================================================= */
.t-display {
  font-family: var(--display);
  font-weight: 800;
}

.t-italic {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 400;
}

.t-eyebrow {
  font-family: var(--body);
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.t-quote {
  font-family: var(--accent-font);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.4;
}

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .25s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(183, 197, 150, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(183, 197, 150, 0.4);
}

.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-outline {
  background: transparent;
  color: var(--bg);
  border: 1.5px solid rgba(247, 238, 224, 0.4);
}

.btn-outline:hover {
  border-color: var(--bg);
  background: rgba(247, 238, 224, 0.1);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--bg);
}

.btn-dark:hover {
  background: var(--panel);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(22, 38, 26, 0.25);
}

/* --- Cards --- */
.card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}

.card-img-wrap {
  overflow: hidden;
  border-radius: 12px;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-soft);
}

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

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--sage);
  backdrop-filter: blur(8px);
}

/* --- FAQ accordion --- */
.faq-item {
  border-bottom: 1px solid rgba(22, 38, 26, 0.12);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--olive-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s var(--ease-out), background .25s, border-color .25s;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  transition: transform .35s var(--ease-out);
}

.faq-item.is-open .faq-icon {
  background: var(--olive);
  border-color: var(--olive);
  transform: rotate(45deg);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-soft);
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-inner {
  overflow: hidden;
}

.faq-inner p {
  padding-bottom: 1.4rem;
  color: rgba(22, 38, 26, 0.7);
  line-height: 1.7;
}

/* =============================================================
   6. Navigation
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(247, 238, 224, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(22, 38, 26, 0.08);
}

.nav-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(0.85rem, 3.2vw, 1.05rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--bg);
  transition: color .3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav.is-scrolled .nav-wordmark { color: var(--ink); }

/* --- Brand mark (monograma RP) --- */
.brand-mark { flex-shrink: 0; }
.brand-mark-bg { fill: var(--ink); }
.brand-mark-leaf { fill: var(--olive); }
.brand-mark-text {
  font-family: var(--accent-font);
  font-style: italic;
  font-size: 26px;
  fill: var(--sage);
}

.footer-wordmark .brand-mark-bg { fill: var(--sage); }
.footer-wordmark .brand-mark-text { fill: var(--ink); }
.footer-wordmark .brand-mark-leaf { fill: var(--olive-deep); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(247, 238, 224, 0.8);
  position: relative;
  padding: 0.25rem 0;
  transition: color .25s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-soft);
}

.nav-link:hover { color: var(--bg); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav.is-scrolled .nav-link { color: rgba(22, 38, 26, 0.65); }
.nav.is-scrolled .nav-link:hover { color: var(--ink); }
.nav.is-scrolled .nav-link::after { background: var(--ink); }

.nav-cta {
  font-size: clamp(0.75rem, 2.8vw, 0.85rem);
  padding: 0.55rem 1.1rem;
  background: var(--olive);
  color: var(--ink);
  border-radius: 100px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(141, 155, 87, 0.4);
}

/* Mobile nav button */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bg);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s, background .3s;
}

.nav.is-scrolled .nav-burger span { background: var(--ink); }

.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile fullscreen menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
  pointer-events: none;
}

.nav-mobile[aria-hidden="false"] {
  clip-path: inset(0);
  pointer-events: auto;
}

.nav-mobile-link {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  color: var(--bg);
  letter-spacing: -0.02em;
  transition: color .25s;
}

.nav-mobile-link:hover { color: var(--sage); }

.nav-mobile-cta {
  margin-top: 1rem;
}

/* =============================================================
   7. Hero section
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform-origin: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(22, 38, 26, 0.92) 0%,
    rgba(22, 38, 26, 0.55) 45%,
    rgba(22, 38, 26, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  padding-block: calc(var(--nav-h) + 3rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  color: var(--sage);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--bg);
  max-width: 14ch;
  text-wrap: balance;
}

.hero-title em {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(247, 238, 224, 0.75);
  max-width: 44ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--sage);
  margin-top: 0.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee-section {
  background: var(--olive);
  overflow: hidden;
  padding-block: 1.1rem;
  position: relative;
  display: flex; /* track + clon en una sola fila, sin wrap */
}

.marquee-track {
  display: inline-flex;
  flex-shrink: 0;
  gap: 3rem;
  padding-right: 3rem; /* separación entre el final del track y su clon */
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.marquee-dot {
  color: rgba(22, 38, 26, 0.45);
}

/* =============================================================
   9. Stats bar
   ============================================================= */
.stats {
  background: var(--sand);
  padding-block: 3rem;
}

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

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat-num sup {
  font-size: 0.5em;
  vertical-align: super;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(22, 38, 26, 0.55);
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
  text-transform: uppercase;
}

/* =============================================================
   10. Method / Pilares
   ============================================================= */
.method {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.section-header {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive-deep);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-title em {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 400;
}

.method-grid {
  display: grid;
  gap: 1.5rem;
}

.pillar-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand);
  display: grid;
}

.pillar-img {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .8s var(--ease-soft);
}

.pillar-card:hover .pillar-img img {
  transform: scale(1.05);
}

.pillar-body {
  padding: 1.8rem;
}

.pillar-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--olive-deep);
  margin-bottom: 0.6rem;
}

.pillar-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: rgba(22, 38, 26, 0.72);
  line-height: 1.65;
}

.pillar-quote {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--olive-deep);
  font-family: var(--accent-font);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(22, 38, 26, 0.75);
  line-height: 1.5;
}

/* =============================================================
   11. About / Sobre Rox
   ============================================================= */
.about {
  background: var(--panel);
  padding-block: var(--section-pad);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-photo {
  position: relative;
}

.about-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-timeline {
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  width: 38%;
  max-width: 150px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--panel);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  background: var(--ink);
}

.about-timeline img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.about-timeline figcaption {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sage);
  padding: 0.4rem 0.2rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.about-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
}

.about-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--bg);
}

.about-title em {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}

.about-bio {
  font-size: 1rem;
  color: rgba(247, 238, 224, 0.75);
  line-height: 1.75;
  max-width: 52ch;
}

.about-bio strong {
  color: var(--bg);
  font-weight: 600;
}

.about-quote {
  font-family: var(--accent-font);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  line-height: 1.45;
  color: var(--sage);
  border-left: 2px solid var(--sage);
  padding-left: 1.2rem;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(247, 238, 224, 0.8);
}

/* =============================================================
   12. Asesoría TEAMPADOVANI
   ============================================================= */
.asesoria {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.asesoria-grid {
  display: grid;
  gap: 3rem;
}

.asesoria-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.asesoria-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.asesoria-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.asesoria-note {
  font-size: 0.75rem;
  color: var(--olive-deep);
  font-style: italic;
}

.asesoria-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.asesoria-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.asesoria-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
}

.asesoria-item-text strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.asesoria-item-text span {
  font-size: 0.88rem;
  color: rgba(22, 38, 26, 0.62);
  line-height: 1.5;
}

/* --- Proceso paso a paso --- */
.asesoria-proceso {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(22, 38, 26, 0.1);
}

.proceso-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.proceso-title em {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 400;
  color: var(--olive-deep);
}

.proceso-list {
  display: grid;
  gap: 1.75rem;
}

.proceso-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.proceso-num {
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--olive-deep);
  opacity: 0.55;
  line-height: 1;
}

.proceso-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.proceso-text strong {
  font-size: 1rem;
  font-weight: 700;
}

.proceso-text span {
  font-size: 0.9rem;
  color: rgba(22, 38, 26, 0.65);
  line-height: 1.55;
}

/* =============================================================
   12.5 Certificación
   ============================================================= */
.cert {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--sand);
}

.cert-card {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.cert-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  max-width: 320px;
  border: 1px solid rgba(22, 38, 26, 0.1);
}

.cert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert-badge {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  background: var(--ink);
  color: var(--sage);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.7rem;
  border-radius: 100px;
}

.cert-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.4rem 0 0.8rem;
}

.cert-title em {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 400;
  color: var(--olive-deep);
}

.cert-desc {
  font-size: 0.95rem;
  color: rgba(22, 38, 26, 0.68);
  line-height: 1.65;
  max-width: 50ch;
}

/* =============================================================
   13. Galería Bento
   ============================================================= */
.galeria {
  padding-block: var(--section-pad);
  background: var(--sand);
}

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.bento-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-soft), filter .5s;
}

.bento-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.9);
}

.bento-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(19,37,26,.7), transparent);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}

.bento-card:hover .bento-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: uniform 2 col grid */
.bento { grid-template-columns: repeat(2, 1fr); }
.bento-card.bento-wide { grid-column: span 2; }
.bento-card { aspect-ratio: 1; }
.bento-card.bento-wide { aspect-ratio: 2/1; }
.bento-card.bento-tall { aspect-ratio: 1; }

/* =============================================================
   14. Transformaciones
   ============================================================= */
.section-sub {
  font-size: 1rem;
  color: rgba(22, 38, 26, 0.65);
  max-width: 56ch;
  margin-top: 0.8rem;
  line-height: 1.6;
}

.transformaciones {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.transformaciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.transformacion-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--sand);
}

.transformacion-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-soft);
}

.transformacion-card:hover img {
  transform: scale(1.05);
}

.transformacion-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(to top, rgba(22,38,26,.75), transparent);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 500;
}

.transformaciones-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(22, 38, 26, 0.5);
  margin-top: 2rem;
  font-style: italic;
}

/* =============================================================
   15. Planes
   ============================================================= */
.planes {
  padding-block: var(--section-pad);
  background: var(--panel);
  color: var(--bg);
}

.planes-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.plan-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color .35s, background .35s, transform .45s var(--ease-soft);
  position: relative;
}

.plan-card:hover {
  border-color: rgba(183, 197, 150, 0.4);
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}

.plan-card.is-featured {
  border-color: var(--sage);
  background: rgba(183, 197, 150, 0.1);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-desc {
  font-size: 0.92rem;
  color: rgba(247, 238, 224, 0.65);
  line-height: 1.6;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(247, 238, 224, 0.85);
}

.plan-feature::before {
  content: "✓";
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.plan-cta-wrap {
  margin-top: auto;
}

.plan-note {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(247, 238, 224, 0.45);
  margin-top: 2rem;
  font-style: italic;
}

/* =============================================================
   16. FAQ
   ============================================================= */
.faq {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.faq-list {
  margin-top: 2.5rem;
  max-width: 720px;
}

/* =============================================================
   17. CTA Final
   ============================================================= */
.cta-final {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--ink);
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .6s var(--ease-soft);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(22, 38, 26, 0.88) 0%,
    rgba(34, 48, 32, 0.75) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  padding-block: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.cta-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--bg);
  max-width: 16ch;
  text-wrap: balance;
}

.cta-title em {
  font-family: var(--accent-font);
  font-style: italic;
  color: var(--sage);
}

.cta-sub {
  font-size: 1rem;
  color: rgba(247, 238, 224, 0.7);
  max-width: 40ch;
}

/* =============================================================
   18. Footer
   ============================================================= */
.footer {
  background: var(--ink);
  padding-block: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(247, 238, 224, 0.5);
  transition: color .25s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover { color: var(--bg); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(247, 238, 224, 0.3);
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(183, 197, 150, 0.6);
  font-style: italic;
}

/* =============================================================
   19. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease-soft), opacity .4s;
  opacity: 0;
  pointer-events: none;
}

.wa-float.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* =============================================================
   20. Effects — Reveals on scroll
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="left"].is-revealed {
  transform: none;
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal="right"].is-revealed {
  transform: none;
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal="scale"].is-revealed {
  transform: none;
}

/* Stagger delays */
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }
[data-delay="6"] { transition-delay: .6s; }

/* Defensive rule — must not be invisible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* =============================================================
   21. Clip-path reveal for images
   ============================================================= */
[data-reveal-mask] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.0s var(--ease-soft);
}

[data-reveal-mask].is-revealed {
  clip-path: inset(0);
}

/* =============================================================
   22. Keyframes
   ============================================================= */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================================================
   23. Responsive — tablet (540px)
   ============================================================= */
@media (min-width: 540px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

/* =============================================================
   24. Responsive — tablet portrait (720px)
   ============================================================= */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }

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

  .about-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
  }

  .asesoria-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
  }

  .cert-card {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }

  .proceso-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* =============================================================
   25. Responsive — desktop (960px)
   ============================================================= */
@media (min-width: 960px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .transformaciones-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Bento desktop asymmetric */
  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 320px 280px 280px;
  }

  .bento-card { aspect-ratio: auto; }
  .bento-card.bento-wide { aspect-ratio: auto; }

  .bento-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .bento-card:nth-child(2) { grid-column: span 5; grid-row: span 1; }
  .bento-card:nth-child(3) { grid-column: span 5; grid-row: span 1; }
  .bento-card:nth-child(4) { grid-column: span 4; grid-row: span 1; }
  .bento-card:nth-child(5) { grid-column: span 4; grid-row: span 1; }
  .bento-card:nth-child(6) { grid-column: span 4; grid-row: span 1; }
  .bento-card:nth-child(7) { grid-column: span 6; grid-row: span 1; }
  .bento-card:nth-child(8) { grid-column: span 6; grid-row: span 1; }
}

/* =============================================================
   26. Responsive — large desktop (1280px)
   ============================================================= */
@media (min-width: 1280px) {
  .hero-content {
    padding-bottom: 6rem;
  }

  .about-photo-wrap {
    aspect-ratio: 2/3;
  }
}

/* =============================================================
   27. Prefers-reduced-motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-badge .dot { animation: none; }

  /* Marquee: keep running but slower */

  /* Keep reveals, tilts, hovers — these are not intrusive */
}
