@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- PALETAS NUT DINÃMICAS Y HIGH-CONTRAST ---------- */
:root, [data-theme="nut2"] {
  /* Nut 2 Refinado (Almendra & Avena - Light Nude Minimalista - Alta Legibilidad) */
  --verde-salud: #7a695d;       /* Terracota Avellana (Acento Principal) */
  --verde-oscuro: #FFFFFF;      /* Tarjetas Blanco Puro */
  --verde-profundo: #F6F2EC;    /* Fondo Base Crema Nude */
  --blanco-clinico: #1F1510;    /* Texto Principal CafÃ© Oscuro */
  --beige-calido: #38271E;      /* Texto Secundario CafÃ© Tostado */
  --coral-suave: #B86B49;       /* Terracota CÃ¡lido */
  --coral-hover: #884A2E;
  --menta-clinica: #8C4E33;     /* SubtÃ­tulos y Destacados */
  --gris-subtil: #7A6960;       /* Bordes y Grises Legibles */
  --texto-oscuro: #F6F2EC;      /* Texto Invertido */

  --negro: #F6F2EC;
  --negro-2: #FFFFFF;
  --ember: var(--coral-suave);
  --ember-hover: var(--coral-hover);
  --menta: var(--menta-clinica);
  --hueso: var(--beige-calido);
  --gris: var(--gris-subtil);
  --blanco: var(--blanco-clinico);
  --radius: 22px;
  --ease: cubic-bezier(.22,1,.36,1);
}

[hidden] {
  display: none !important;
}

[data-theme="nut1"] {
  /* Nut 1: Terracota & Cocoa (CÃ¡lido Oscuro RÃºstico) */
  --verde-salud: #7a695d;       /* Terracota RÃºstico */
  --verde-oscuro: #3A2A22;      /* Cocoa Oscuro */
  --verde-profundo: #231813;    /* CafÃ© Tostado Nuez */
  --blanco-clinico: #FFFFFF;    /* Blanco */
  --beige-calido: #F7F0E8;      /* Crema Almendra */
  --coral-suave: #ac9c8f;       /* Durazno CÃ¡lido */
  --coral-hover: #5a4a40;       /* Durazno Hover */
  --menta-clinica: #D8C6B6;     /* Nude Arena */
  --gris-subtil: #8C7B72;       /* Gris Tierra */
  --texto-oscuro: #231813;      /* Texto Oscuro */

  --negro: var(--verde-profundo);
  --negro-2: var(--verde-oscuro);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--verde-profundo);
  color: var(--beige-calido);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--verde-salud);
  color: #fff;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.script {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  text-transform: none;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ---------- BOTONES ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 32px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 100px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  transform: translateX(-101%);
  transition: transform .4s var(--ease);
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(0);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn .fl {
  transition: transform .3s var(--ease);
}

.btn:hover .fl {
  transform: translateX(5px);
}

.btn-primario {
  background: var(--coral-suave);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(232, 131, 124, 0.45);
}

.btn-primario:hover {
  background: var(--coral-hover);
}

.btn-verde {
  background: var(--verde-salud);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(200, 122, 83, 0.45);
}

.btn-ghost {
  border: 1.5px solid rgba(237, 230, 220, 0.35);
  color: var(--beige-calido);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: var(--beige-calido);
}

.btn-dark {
  background: var(--verde-profundo);
  color: var(--beige-calido);
}

.btn:focus-visible {
  outline: 3px solid var(--menta);
  outline-offset: 3px;
}

/* ---------- REVEAL SYSTEM ---------- */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: none;
}

.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .22s; }
.rv-d3 { transition-delay: .34s; }
.rv-d4 { transition-delay: .46s; }

.rv-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
}

.rv-img.in {
  clip-path: inset(0 0 0% 0);
}

/* ---------- NAV ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .4s ease, box-shadow .4s ease;
}

header.scrolled {
  background: rgba(42, 30, 23, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(237, 230, 220, 0.08);
}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde-salud), var(--menta-clinica));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 4px 12px rgba(200, 122, 83, 0.3);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.82;
  position: relative;
  padding: 4px 0;
  transition: opacity .25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--coral-suave);
  transition: width .3s var(--ease);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--beige-calido);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(1.02) contrast(1.03);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(42, 30, 23, 0.96) 0%, rgba(42, 30, 23, 0.65) 40%, rgba(42, 30, 23, 0.35) 68%, rgba(42, 30, 23, 0.5) 100%),
    linear-gradient(105deg, rgba(42, 30, 23, 0.85) 0%, rgba(42, 30, 23, 0.4) 42%, transparent 62%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
  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.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 150px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 50px;
  align-items: end;
  padding-bottom: 60px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--menta-clinica);
  margin-bottom: 28px;
}

.hero-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--coral-suave);
}

.hero h1 {
  font-size: clamp(40px, 5.8vw, 80px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 26px;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: riseUp 1s var(--ease) forwards;
}

.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }

.hero h1 .script {
  color: var(--menta-clinica);
  font-size: 1.08em;
  letter-spacing: 0;
}

.hero h1 .ember {
  color: var(--coral-suave);
  font-style: italic;
}

@keyframes riseUp {
  to { transform: translateY(0); }
}

.hero p.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(237, 230, 220, 0.88);
  max-width: 520px;
  margin-bottom: 38px;
  opacity: 0;
  animation: fadeIn 1s ease .5s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s ease .68s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* hero side card */
.hero-card {
  background: rgba(58, 43, 34, 0.68);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 196, 181, 0.2);
  border-radius: var(--radius);
  padding: 30px 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: cardIn 1s var(--ease) .85s forwards;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5);
}

@keyframes cardIn {
  to { opacity: 1; transform: none; }
}

.hero-card .tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--coral-suave);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card .tag .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral-suave);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 131, 124, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(232, 131, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 131, 124, 0); }
}

.hero-card h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.hero-card p {
  font-size: 14px;
  color: rgba(237, 230, 220, 0.8);
  margin-bottom: 22px;
}

.hero-card .mini-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-card .mini-steps span {
  flex: 1;
  height: 5px;
  border-radius: 100px;
  background: rgba(237, 230, 220, 0.18);
  overflow: hidden;
  position: relative;
}

.hero-card .mini-steps span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--menta-clinica);
  transform: translateX(-100%);
  animation: stepFill 2.6s var(--ease) infinite;
}

.hero-card .mini-steps span:nth-child(2)::after { animation-delay: .85s; }
.hero-card .mini-steps span:nth-child(3)::after { animation-delay: 1.7s; }

@keyframes stepFill {
  0% { transform: translateX(-100%); }
  45%,100% { transform: translateX(0); }
}

.hero-card .btn {
  width: 100%;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(237, 230, 220, 0.6);
}

.scroll-hint .bar {
  width: 1.5px;
  height: 42px;
  background: rgba(237, 230, 220, 0.25);
  overflow: hidden;
}

.scroll-hint .bar::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: var(--coral-suave);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--verde-salud);
  padding: 18px 0;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -14px 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(42, 30, 23, 0.3);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  white-space: nowrap;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.marquee span::after { content: "\2022"; font-size: 14px; color: var(--menta-clinica); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- SECTIONS BASE ---------- */
section {
  padding: 120px 0;
  position: relative;
}

.sec-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--coral-suave);
  margin-bottom: 20px;
}

.sec-tag::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--coral-suave);
}

.sec-head h2 {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 800;
  color: #fff;
}

.sec-head h2 .script {
  color: var(--menta-clinica);
  font-size: 1.05em;
}

.sec-head p {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--gris-subtil);
  max-width: 560px;
}

/* ---------- METODO (steps + sticky image) ---------- */
.metodo {
  background: var(--beige-calido);
  color: var(--texto-oscuro);
  border-radius: 48px 48px 0 0;
}

.metodo .sec-head h2 {
  color: var(--texto-oscuro);
}

.metodo .sec-tag {
  color: var(--verde-salud);
}

.metodo .sec-tag::before {
  background: var(--verde-salud);
}

.metodo-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.metodo-img {
  position: sticky;
  top: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 40px rgba(42, 30, 23, 0.12);
}

.metodo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

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

.metodo-img .badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(58, 43, 34, 0.88);
  backdrop-filter: blur(10px);
  color: var(--beige-calido);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.metodo-img .badge .n {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--coral-suave);
}

.metodo-img .badge p {
  font-size: 13px;
  line-height: 1.4;
}

.paso {
  display: flex;
  gap: 26px;
  padding: 36px 0;
  border-bottom: 1.5px solid rgba(42, 30, 23, 0.12);
  align-items: flex-start;
  transition: padding-left .35s var(--ease);
}

.paso:hover {
  padding-left: 12px;
}

.paso:first-child {
  padding-top: 0;
}

.paso-num {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: var(--verde-salud);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s, transform .3s var(--ease);
}

.paso:hover .paso-num {
  background: var(--coral-suave);
  transform: rotate(-8deg) scale(1.08);
}

.paso h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--texto-oscuro);
}

.paso p {
  font-size: 15px;
  color: #3C4E49;
}

.paso .mini {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde-salud);
}

/* ---------- STATS ---------- */
.stats {
  background: var(--beige-calido);
  color: var(--texto-oscuro);
  padding-top: 0;
}

.stats-band {
  background: var(--verde-oscuro);
  border-radius: var(--radius);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 122, 83, 0.4), transparent 65%);
}

.stat {
  position: relative;
}

.stat .num {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 52px);
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat .num .suf {
  color: var(--coral-suave);
  font-size: .6em;
}

.stat p {
  font-size: 13.5px;
  color: rgba(237, 230, 220, 0.72);
  margin-top: 8px;
  max-width: 180px;
}

/* ---------- SOBRE / QUOTE ---------- */
.sobre {
  background: var(--beige-calido);
  color: var(--texto-oscuro);
  padding-top: 0;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.sobre-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 40px rgba(42, 30, 23, 0.12);
}

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

.sobre-img .tape {
  position: absolute;
  top: 22px;
  left: -8px;
  background: var(--verde-salud);
  color: #fff;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  padding: 8px 26px;
  transform: rotate(-4deg);
  border-radius: 4px;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3);
}

.sobre-txt .sec-tag {
  color: var(--verde-salud);
}

.sobre-txt h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  color: var(--texto-oscuro);
  margin-bottom: 24px;
  font-weight: 800;
}

.sobre-txt .quote {
  font-family: 'Caveat', cursive;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.35;
  color: var(--texto-oscuro);
  border-left: 4px solid var(--verde-salud);
  padding-left: 24px;
  margin-bottom: 26px;
}

.sobre-txt p.body {
  font-size: 15.5px;
  color: #3C4E49;
  margin-bottom: 16px;
}

.sobre-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.sobre-badges span {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--verde-salud);
  color: var(--verde-salud);
  border-radius: 100px;
  padding: 9px 18px;
  transition: all .25s;
}

.sobre-badges span:hover {
  background: var(--verde-salud);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- PROGRAMAS ---------- */
.programas-sec {
  background: var(--verde-profundo);
}

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

.prog-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  isolation: isolate;
  border: 1px solid rgba(212, 196, 181, 0.12);
}

.prog-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease), filter .6s;
}

.prog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(42, 30, 23, 0.96) 10%, rgba(42, 30, 23, 0.52) 58%, rgba(42, 30, 23, 0.22) 100%);
  transition: background .5s;
}

.prog-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.1);
}

.prog-body {
  padding: 30px 28px;
}

.prog-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(237, 230, 220, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(237, 230, 220, 0.2);
  color: #fff;
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 16px;
}

.prog-card.destacado .prog-pill {
  background: var(--coral-suave);
  border-color: var(--coral-suave);
}

.prog-body h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.prog-body p {
  font-size: 14px;
  color: rgba(237, 230, 220, 0.8);
  margin-bottom: 18px;
  max-width: 300px;
}

.prog-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--menta-clinica);
}

.prog-cta .fl {
  transition: transform .3s var(--ease);
}

.prog-card:hover .prog-cta .fl {
  transform: translateX(6px);
}

/* ---------- ASSESSMENT CTA ---------- */
.assessment {
  background: var(--verde-profundo);
  padding-top: 0;
}

.assess-band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 80px 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}

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

.assess-band .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% center;
}

.assess-band .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(200, 122, 83, 0.94) 0%, rgba(200, 122, 83, 0.82) 42%, rgba(200, 122, 83, 0.35) 100%);
}

.assess-band > div {
  position: relative;
  z-index: 2;
}

.assess-band h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  color: #fff;
  margin-bottom: 16px;
  font-weight: 800;
}

.assess-band p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.94);
  max-width: 460px;
  margin-bottom: 32px;
}

.assess-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.assess-item {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform .3s var(--ease), background .3s;
}

.assess-item:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.22);
}

.assess-item .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--verde-salud);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

/* ---------- TESTIMONIOS ---------- */
.testi-sec {
  background: var(--verde-profundo);
}

.testi-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(420px, 82vw);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  margin: 0 -30px;
  padding-left: 30px;
  padding-right: 30px;
  scrollbar-width: thin;
  scrollbar-color: var(--verde-salud) transparent;
}

.testi-rail::-webkit-scrollbar {
  height: 6px;
}

.testi-rail::-webkit-scrollbar-thumb {
  background: var(--verde-salud);
  border-radius: 100px;
}

.testi {
  scroll-snap-align: start;
  background: var(--verde-oscuro);
  border: 1px solid rgba(212, 196, 181, 0.15);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .4s var(--ease), border-color .4s;
}

.testi:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 196, 181, 0.4);
}

.testi .stars {
  color: var(--coral-suave);
  letter-spacing: 4px;
  font-size: 14px;
}

.testi p {
  font-size: 15.5px;
  color: rgba(237, 230, 220, 0.88);
}

.testi-firma {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--menta-clinica), var(--verde-salud));
  flex-shrink: 0;
}

.testi-firma strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.testi-firma span {
  font-size: 12.5px;
  color: var(--gris-subtil);
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 150px 0;
}

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

.cta-final .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1);
}

.cta-final .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42, 30, 23, 0.92), rgba(42, 30, 23, 0.85));
}

.cta-final .wrap {
  position: relative;
  z-index: 2;
}

.cta-final .script-top {
  font-family: 'Caveat', cursive;
  font-size: clamp(26px, 2.6vw, 38px);
  color: var(--menta-clinica);
  display: block;
  margin-bottom: 10px;
  transform: rotate(-2deg);
}

.cta-final h2 {
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 800;
  color: #fff;
  max-width: 820px;
  margin: 0 auto 22px;
}

.cta-final h2 .ember {
  color: var(--coral-suave);
  font-style: italic;
}

.cta-final p {
  color: rgba(237, 230, 220, 0.8);
  font-size: 17px;
  margin-bottom: 40px;
}

.cta-final .btn-primario {
  padding: 20px 44px;
  font-size: 15px;
}

.cta-sub {
  margin-top: 22px;
  font-size: 13px;
  color: var(--gris-subtil);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--verde-profundo) !important;
  color: var(--menta-clinica) !important;
  padding: 64px 0 34px;
  border-top: 1px solid rgba(212, 196, 181, 0.1);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}

.foot-grid h4 {
  color: var(--beige-calido);
  font-size: 12px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.foot-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
}

.foot-grid a {
  text-decoration: none;
  transition: color .25s;
}

.foot-grid a:hover {
  color: var(--coral-suave);
}

.foot-serviceweb {
  background: rgba(212, 196, 181, 0.04);
  border: 1px solid rgba(212, 196, 181, 0.12);
  border-radius: 16px;
  padding: 20px;
}

.foot-serviceweb .dev-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--coral-suave);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.foot-serviceweb .brand-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}

.foot-serviceweb .brand-link span {
  color: var(--menta-clinica);
}

.foot-socials {
  display: flex;
  gap: 10px;
}

.foot-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  transition: background .25s, transform .25s;
}

.foot-socials a:hover {
  background: var(--verde-salud);
  transform: translateY(-2px);
}

.foot-bottom {
  border-top: 1px solid rgba(237, 230, 220, 0.08);
  padding-top: 26px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 120;
  background: #7a695d;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6);
  transition: transform .3s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero p.lead, .hero-actions, .hero-card { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .hero-grid, .metodo-grid, .sobre-grid, .assess-card {
    grid-template-columns: 1fr;
  }
  .hero-grid { padding-bottom: 90px; }
  .metodo-img { position: relative; top: 0; aspect-ratio: 16/11; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 44px 34px; }
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card { min-height: 420px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 90px 0; }
}

/* ---------- WIZARD (SMART ASSESSMENT) ---------- */
.assess-card {
  background: rgba(58, 43, 34, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 196, 181, 0.16);
  border-radius: var(--radius);
  padding: 50px 40px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.assess-header {
  text-align: center;
  margin-bottom: 40px;
}

.assess-header h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  color: #fff;
  margin-bottom: 12px;
}

.assess-header p {
  color: rgba(237, 230, 220, 0.82);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 24px;
}

.wizard-progress {
  width: 100%;
  height: 6px;
  background: rgba(237, 230, 220, 0.12);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar {
  height: 100%;
  background: var(--coral-suave);
  border-radius: 100px;
  transition: width 0.4s var(--ease);
}

.step-indicator {
  font-size: 12px;
  font-weight: 700;
  color: var(--menta-clinica);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeInStep 0.4s var(--ease) forwards;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.wizard-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 26px;
  text-align: center;
}

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.wizard-option {
  cursor: pointer;
  display: block;
}

.foot-serviceweb .brand-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}

.foot-serviceweb .brand-link span {
  color: var(--menta-clinica);
}

.foot-socials {
  display: flex;
  gap: 10px;
}

.foot-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  transition: background .25s, transform .25s;
}

.foot-socials a:hover {
  background: var(--verde-salud);
  transform: translateY(-2px);
}

.foot-bottom {
  border-top: 1px solid rgba(237, 230, 220, 0.08);
  padding-top: 26px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 120;
  background: #7a695d;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6);
  transition: transform .3s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero p.lead, .hero-actions, .hero-card { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .hero-grid, .metodo-grid, .sobre-grid, .assess-card {
    grid-template-columns: 1fr;
  }
  .hero-grid { padding-bottom: 90px; }
  .metodo-img { position: relative; top: 0; aspect-ratio: 16/11; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 44px 34px; }
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card { min-height: 420px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 90px 0; }
}

/* ---------- WIZARD (SMART ASSESSMENT) ---------- */
.assess-card {
  background: rgba(58, 43, 34, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 196, 181, 0.16);
  border-radius: var(--radius);
  padding: 50px 40px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.assess-header {
  text-align: center;
  margin-bottom: 40px;
}

.assess-header h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  color: #fff;
  margin-bottom: 12px;
}

.assess-header p {
  color: rgba(237, 230, 220, 0.82);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 24px;
}

.wizard-progress {
  width: 100%;
  height: 6px;
  background: rgba(237, 230, 220, 0.12);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar {
  height: 100%;
  background: var(--coral-suave);
  border-radius: 100px;
  transition: width 0.4s var(--ease);
}

.step-indicator {
  font-size: 12px;
  font-weight: 700;
  color: var(--menta-clinica);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeInStep 0.4s var(--ease) forwards;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.wizard-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 26px;
  text-align: center;
}

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.wizard-option {
  cursor: pointer;
  display: block;
}

.wizard-option input[type="radio"] {
  display: none;
}

.option-box {
  display: block;
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(212, 196, 181, 0.35);
  border-radius: 16px;
  padding: 20px 24px;
  transition: all 0.3s var(--ease);
}

.wizard-option:hover .option-box {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(212, 196, 181, 0.6);
}

.wizard-option input[type="radio"]:checked + .option-box {
  background: rgba(200, 122, 83, 0.35);
  border-color: var(--menta-clinica);
  box-shadow: 0 8px 24px rgba(200, 122, 83, 0.3);
}

.option-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.option-desc {
  display: block;
  font-size: 13.5px;
  color: rgba(237, 230, 220, 0.90);
  line-height: 1.5;
}

.wizard-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--menta-clinica);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(212, 196, 181, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--menta-clinica);
  background: rgba(255, 255, 255, 0.1);
}

.wizard-navigation {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.wizard-navigation .btn {
  min-width: 140px;
  justify-content: center;
}

@media (max-width: 768px) {
  .assess-card {
    padding: 30px 20px;
  }
  .wizard-navigation {
    flex-direction: column-reverse;
  }
  .wizard-navigation .btn {
    width: 100%;
  }
}

/* ---------- AUTH MODAL ---------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--verde-oscuro);
  border: 1px solid rgba(184, 111, 82, 0.2);
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 1001;
  animation: modalScaleUp 0.3s var(--ease) forwards;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(237, 230, 220, 0.6);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #fff;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid rgba(237, 230, 220, 0.1);
  margin-bottom: 30px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: rgba(237, 230, 220, 0.5);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.auth-tab:hover {
  color: rgba(237, 230, 220, 0.9);
}

.auth-tab.active {
  color: var(--verde-salud);
  border-bottom-color: var(--verde-salud);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeInAuth 0.3s ease forwards;
}

@keyframes fadeInAuth {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.auth-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form .form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--menta-clinica);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-form .form-group input {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(212, 196, 181, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s;
}

.auth-form .form-group input:focus {
  outline: none;
  border-color: var(--menta-clinica);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  .modal-content {
    padding: 30px 20px;
    width: 90%;
  }
}

/* ---------- THEME SWITCHER & PWA PULSE ---------- */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(237, 230, 220, 0.15);
  padding: 4px;
  border-radius: 30px;
}

.theme-btn {
  background: none;
  border: none;
  color: rgba(237, 230, 220, 0.7);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.theme-btn:hover {
  color: #fff;
}

.theme-btn.active {
  background: var(--verde-salud);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Glowing Pulse PWA Install Button */
.pwa-install-btn-animated {
  background: linear-gradient(135deg, var(--verde-salud), var(--coral-suave)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 30px !important;
  padding: 12px 22px !important;
  box-shadow: 0 0 0 0 rgba(200, 122, 83, 0.7), 0 10px 25px rgba(0,0,0,0.3) !important;
  animation: pulseGlow 2s infinite !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(200, 122, 83, 0.7), 0 10px 25px rgba(0,0,0,0.3);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 14px rgba(200, 122, 83, 0), 0 14px 30px rgba(0,0,0,0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(200, 122, 83, 0), 0 10px 25px rgba(0,0,0,0.3);
  }
}


/* Light Mode (Nut 2) Contrast Refinements */
[data-theme="nut2"] body, [data-theme="nut2"] .dashboard-body {
  background-color: var(--verde-profundo) !important;
  color: var(--blanco-clinico) !important;
}

[data-theme="nut2"] .card, [data-theme="nut2"] .recipe-card, [data-theme="nut2"] .sidebar, [data-theme="nut2"] .modal-content {
  background: #FFFFFF !important;
  border: 1px solid rgba(122, 105, 96, 0.18) !important;
  box-shadow: 0 10px 30px rgba(56, 39, 30, 0.06) !important;
  color: #1F1510 !important;
}

[data-theme="nut2"] h1, [data-theme="nut2"] h2, [data-theme="nut2"] h3, [data-theme="nut2"] h4, [data-theme="nut2"] .welcome-text h1, [data-theme="nut2"] .sidebar-title, [data-theme="nut2"] .habit-title, [data-theme="nut2"] .streak-num, [data-theme="nut2"] .recipe-info h4 {
  color: #1F1510 !important;
}

[data-theme="nut2"] p, [data-theme="nut2"] span, [data-theme="nut2"] .habit-desc, [data-theme="nut2"] .welcome-text p {
  color: #4A3A31 !important;
}

[data-theme="nut2"] .menu-item {
  color: #4A3A31 !important;
}

[data-theme="nut2"] .menu-item.active {
  background: var(--verde-salud) !important;
  color: #FFFFFF !important;
}

[data-theme="nut2"] .habit-box {
  background: #F9F6F2 !important;
  border-color: rgba(122, 105, 96, 0.2) !important;
}

[data-theme="nut2"] .habit-item input[type="checkbox"]:checked + .habit-box {
  background: #F2E8DF !important;
  border-color: var(--verde-salud) !important;
}

[data-theme="nut2"] .prog-table th {
  color: var(--verde-salud) !important;
}

[data-theme="nut2"] .prog-table td {
  color: #1F1510 !important;
  border-bottom: 1px solid rgba(122, 105, 96, 0.12) !important;
}

[data-theme="nut2"] .date-badge {
  background: #F2E8DF !important;
  color: var(--verde-salud) !important;
  border-color: rgba(158, 91, 60, 0.3) !important;
}

[data-theme="nut2"] .btn-primario {
  background: var(--verde-salud) !important;
  color: #FFFFFF !important;
}

[data-theme="nut2"] .btn-ghost {
  color: #1F1510 !important;
  border-color: rgba(122, 105, 96, 0.3) !important;
}
  .logo { font-size:0; gap:0; }
  .logo-mark { width:36px; height:36px; font-size:13px; }
  .header-buttons { display:none !important; }
  .menu-toggle { display:block; width:44px; height:44px; color:#fff; font-size:28px; }
  .nav-links { display:none; position:absolute; top:72px; left:16px; right:16px; z-index:110; padding:14px; border:1px solid rgba(172,156,143,.45); border-radius:14px; background:#7a695d; box-shadow:0 14px 28px rgba(0,0,0,.2); }
  header.menu-open .nav-links { display:flex; flex-direction:column; gap:0; }
  .nav-links a { display:block; padding:12px 10px; color:#fff; opacity:1; }

  .hero { min-height:720px; align-items:flex-start; }
  .hero-bg { inset:0; }
  .hero-bg img { object-position:63% center; }
  .hero-veil { background:linear-gradient(90deg, rgba(42,30,23,.82) 0%, rgba(42,30,23,.46) 66%, rgba(42,30,23,.2) 100%), linear-gradient(to top, rgba(42,30,23,.85), transparent 55%); }
  .hero-content { padding-top:138px; }
  .hero-grid { display:block; padding-bottom:34px; }
  .hero-card, .scroll-hint { display:none; }
  .hero-kicker { max-width:270px; font-size:10px; letter-spacing:.16em; line-height:1.45; margin-bottom:18px; }
  .hero-kicker::before { width:28px; flex:0 0 auto; }
  .hero h1 { font-size:clamp(44px, 13vw, 56px); line-height:.98; margin-bottom:20px; }
  .hero h1 .line { overflow:visible; }
  .hero h1 .line > span { transform:none; animation:none; }
  .hero p.lead { max-width:300px; font-size:15px; line-height:1.5; margin-bottom:24px; animation:none; opacity:1; }
  .hero-actions { display:flex; flex-direction:column; align-items:flex-start; gap:10px; animation:none; opacity:1; }
  .hero-actions .btn { width:100%; justify-content:center; padding:14px 18px; font-size:12px; }

  section { padding:64px 0; }
  .sec-head p { font-size:15px; }
  .metodo-img { min-height:260px !important; height:260px; aspect-ratio:auto; }
  .stats-band { padding:28px 20px; gap:24px 16px; }
  .prog-card { min-height:0; }
  .prog-card > div:first-child { height:210px !important; }
  .assess-card { border-radius:16px; }
  .whatsapp-float { width:52px; height:52px; right:18px; bottom:18px; }
}
/* Banda de mÃ©tricas: contraste AA sobre un fondo taupe sÃ³lido. */
.stats { background:#e5d2c4; color:#7a695d; }
.stats-band { background:#7a695d; box-shadow:none; }
.stats-band::before { display:none; }
.stat .num { color:#ffffff; }
.stat .num .suf { color:#e5d2c4; }
.stat p { color:rgba(255,255,255,.88); }
/* Superficies claras: nunca usar blanco como color de texto o icono. */
.metodo, .sobre { background:#f2e8e1; color:#7a695d; }
.programas-sec, .testi-sec { background:#e5d2c4; }
.metodo .sec-head h2, .sobre-txt h2, .sobre-txt .quote,
.metodo .paso h3, .metodo .paso p, .sobre-txt p.body,
.programas-sec .sec-head h2, .testi-sec .sec-head h2 { color:#7a695d !important; }
.metodo .sec-head p, .sobre-txt p.body, .programas-sec .sec-head p, .testi-sec .sec-head p { color:#7a695d !important; opacity:.88; }
.metodo .sec-tag, .sobre-txt .sec-tag, .metodo .paso .mini, .sec-head .sec-tag { color:#7a695d; }
.metodo .sec-tag::before, .sobre-txt .sec-tag::before, .sec-head .sec-tag::before { background:#7a695d; }
.paso { border-color:rgba(122,105,93,.22); }
.sobre-badges span { border-color:#7a695d; color:#7a695d; }

.testi { background:#ffffff; border-color:rgba(172,156,143,.45); }
.testi p, .testi-firma strong, .testi-firma span { color:#7a695d; }
.testi .stars { color:#7a695d; }

/* Las tarjetas de programa usan fotografÃ­a oscura; allÃ­ el blanco sÃ­ es intencional. */
.prog-card .prog-cta { color: #8c4e33 !important; font-weight: 800 !important; text-shadow: none !important; }
.prog-card .prog-cta:hover { color: #5d5149 !important; }
.prog-card.destacado .prog-pill { color:#ffffff; background:#7a695d; border-color:#7a695d; }

/* IconografÃ­a y controles dentro de tarjetas blancas. */
[data-theme="nut2"] .card i, [data-theme="nut2"] .card svg, .dashboard-body .card i, .dashboard-body .card svg { color:#7a695d; }
[data-theme="nut2"] .card .btn-primario i, [data-theme="nut2"] .card .btn-primario svg, .dashboard-body .card .btn-primario i, .dashboard-body .card .btn-primario svg { color:#ffffff; }
[data-theme="nut2"] .card input, [data-theme="nut2"] .card textarea, [data-theme="nut2"] .card select { color:#7a695d; background:#ffffff; border-color:#ac9c8f; }
/* CTA del encabezado: contraste independiente de overlays y estados heredados. */
.header-buttons .btn-primario { background:#7a695d !important; color:#ffffff !important; border:1px solid rgba(255,255,255,.45); text-shadow:0 1px 1px rgba(0,0,0,.25); }
.header-buttons .btn-primario::after { background:rgba(255,255,255,.12); }
/* El contenido nunca depende de JavaScript para ser visible. */
.rv, .rv-img { opacity:1 !important; transform:none !important; clip-path:none !important; }
/* Smart Assessment: el principal punto de entrada de la plataforma. */
.assessment-spotlight { padding:88px 0; background:#7a695d; color:#ffffff; overflow:hidden; }
.assessment-spotlight-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.assessment-spotlight .sec-tag, .assessment-spotlight .sec-tag::before { color:#e5d2c4; background-color:#e5d2c4; }
.assessment-spotlight h2 { font-size:clamp(38px,4.3vw,62px); line-height:1.02; max-width:600px; }
.assessment-spotlight h2 em { color:#e5d2c4; font-family:'Caveat',cursive; font-style:normal; font-size:1.14em; }
.assessment-spotlight p { max-width:580px; margin-top:20px; color:rgba(255,255,255,.86); font-size:17px; }
.assessment-spotlight-actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-top:30px; }
.assessment-spotlight-actions .btn { background:#ffffff !important; color:#7a695d !important; box-shadow:none !important; }
.assessment-spotlight-actions > span { font-size:12px; font-weight:700; letter-spacing:.05em; color:#e5d2c4; }
.assessment-paths { display:grid; gap:12px; list-style:none; counter-reset:assessment; }
.assessment-paths li { display:grid; grid-template-columns:58px 1fr; gap:16px; align-items:center; padding:19px; border:1px solid rgba(255,255,255,.22); border-radius:16px; background:rgba(255,255,255,.08); }
.assessment-paths strong { color:#e5d2c4; font:800 27px/1 'Playfair Display',serif; }
.assessment-paths span { color:#ffffff; line-height:1.35; font-size:14px; }
.assessment-disclaimer { margin-top:18px; color:rgba(255,255,255,.72); font-size:12px; text-align:center; }
.assessment-result { margin-top:26px; padding:30px; border-radius:18px; background:#ffffff; color:#7a695d; border:1px solid #e5d2c4; box-shadow:0 16px 36px rgba(0,0,0,.16); animation:assessmentReveal .45s var(--ease) both; }
@keyframes assessmentReveal { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.assessment-result-label { display:inline-flex; padding:6px 10px; border-radius:99px; background:#e5d2c4; color:#7a695d; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.assessment-result h3 { margin:14px 0 10px; font-size:28px; color:#7a695d; }
.assessment-result p { color:#7a695d; line-height:1.6; }
.assessment-result-summary { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.assessment-result-summary span { min-width:190px; padding:10px 12px; background:#f2e8e1; border-radius:10px; font-size:13px; color:#7a695d; }
.assessment-result-summary b { display:block; margin-bottom:3px; font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:#7a695d; }
.assessment-result-actions { display:flex; gap:10px; flex-wrap:wrap; }
.assessment-result small { display:block; margin-top:18px; color:#7a695d; opacity:.75; }
@media (max-width: 760px) { .assessment-spotlight { padding:64px 0; } .assessment-spotlight-grid { grid-template-columns:1fr; gap:40px; } .assessment-paths { display:none; } }
/* ---- SweetAlert2 Cancel Button Fix ---- */
.swal2-cancel.btn-ghost,
.swal2-cancel,
.swal-cancel-custom {
  background: #e8ddd4 !important;
  border: 2px solid #c4b5a8 !important;
  color: #3a2b22 !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
}
.swal2-cancel.btn-ghost:hover,
.swal2-cancel:hover,
.swal-cancel-custom:hover {
  background: #d5c7bc !important;
  border-color: #7a695d !important;
  color: #1a0e09 !important;
}
.swal-confirm-custom {
  background: #7a695d !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
}
.swal2-actions {
  gap: 12px !important;
  flex-wrap: wrap !important;
}
/* ------------------------------------------------------------------
   RETIRADO 2026-07-30 â€” bloque de override de modales.

   Estas seis reglas forzaban `background:#ffffff !important` sobre
   TODOS los .modal-content. El marcado de los modales, en cambio,
   estaba escrito para el tema oscuro: textos en rgba(237,230,220,.85)
   y campos con color:#fff. El resultado era texto claro sobre fondo
   blanco en el modal de tÃ©rminos (ratio 1.32:1) y campos de reserva
   donde el paciente escribÃ­a sin ver lo que escribÃ­a.

   El sistema de modales unificado estÃ¡ al final de este archivo,
   secciÃ³n "SISTEMA DE MODALES", y funciona en ambos temas sin
   necesidad de !important.
   ------------------------------------------------------------------ */
.setup-page { min-height:100vh; display:grid; place-items:center; padding:24px; background:#f2e8e1; }
.setup-card { width:min(100%,480px); padding:36px; border:1px solid #e5d2c4; border-radius:20px; background:#ffffff; color:#7a695d; box-shadow:0 18px 42px rgba(122,105,93,.12); }
.setup-kicker { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; color:#7a695d; }
.setup-card h1 { margin:10px 0 12px; font-size:34px; color:#7a695d; }
.setup-card p { color:#7a695d; }
.setup-card form { display:grid; gap:14px; margin-top:24px; }
.setup-card label { display:grid; gap:6px; font-size:13px; font-weight:800; color:#7a695d; }
.setup-card input { padding:12px; border:1px solid #ac9c8f; border-radius:10px; color:#7a695d; font:inherit; }
.setup-card .btn { justify-content:center; }


/* ==================================================================
   ==================================================================
   REVISIÃ“N 2026-07-30
   Sistema unificado de modales, formularios, avisos y contraste.

   Contexto: siete clases se usaban en el marcado sin existir en
   ninguna hoja (.modal-header, .modal-body, .close-btn, .data-table,
   .table-wrapper, .btn-block, .dash-tab), los asistentes de progreso
   invertÃ­an la estructura .modal / .modal-overlay, y varios pares de
   color no alcanzaban el mÃ­nimo AA de WCAG 2.1.
   ==================================================================
   ================================================================== */

/* ------------------------------------------------------------------
   1. TOKENS DE CONTRASTE
   Valores medidos con la fÃ³rmula de luminancia relativa de WCAG 2.1.
   ------------------------------------------------------------------ */

:root, [data-theme="nut2"] {
  /* Superficie de los modales en tema claro */
  --surface: #FFFFFF;
  --surface-2: #F6F2EC;
  --surface-border: rgba(158, 91, 60, 0.20);
  --on-surface: #1F1510;          /* 16.4:1 sobre blanco */
  --on-surface-muted: #5F5048;    /* 7.4:1  sobre blanco */
  --accent: #7a695d;              /* 5.23:1 sobre blanco */
  --accent-strong: #834227;       /* 7.1:1  â€” para texto pequeÃ±o */
  --accent-contrast: #FFFFFF;
  --danger: #B42318;              /* 6.5:1  sobre blanco */
  --danger-soft: rgba(180, 35, 24, 0.10);
  --success: #1F7A46;             /* 5.1:1  sobre blanco */
  --success-soft: rgba(31, 122, 70, 0.10);
  --warning: #8A5300;             /* 5.4:1  sobre blanco */
  --focus-ring: rgba(158, 91, 60, 0.45);
}

[data-theme="nut1"] {
  --surface: #34251E;             /* Tarjeta sobre el fondo cocoa */
  --surface-2: #3F2E25;
  --surface-border: rgba(234, 160, 130, 0.22);
  --on-surface: #F7F0E8;          /* 11.9:1 sobre --surface */
  --on-surface-muted: #CBB8AB;    /* 6.4:1  â€” antes era 4.28:1 */
  --accent: #E5A186;              /* 7.3:1  sobre --surface */
  --accent-strong: #F0BCA6;
  --accent-contrast: #2A1B14;     /* Texto oscuro sobre botÃ³n claro:
                                     6.9:1. El par anterior (blanco
                                     sobre #7a695d) daba 3.64:1. */
  --danger: #FF9B90;
  --danger-soft: rgba(255, 155, 144, 0.14);
  --success: #7FD6A2;
  --success-soft: rgba(127, 214, 162, 0.14);
  --warning: #F0C070;
  --focus-ring: rgba(234, 160, 130, 0.55);
}

/* Corrige el gris de apoyo del tema oscuro: 4.28:1 no alcanza AA
   para texto normal. --on-surface-muted lo sustituye en todo el sitio. */
[data-theme="nut1"] {
  --gris-subtil: #A89184;         /* 6.0:1 sobre --verde-profundo */
}

/* ------------------------------------------------------------------
   2. ACCESIBILIDAD BASE
   ------------------------------------------------------------------ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 14px 22px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  border-radius: 0 0 12px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Los radios del asistente estÃ¡n ocultos tras .option-box: sin esto
   era imposible saber dÃ³nde estaba el foco al navegar con teclado. */
.wizard-option input:focus-visible + .option-box,
.habit-checkbox:focus-visible + .habit-box {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

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

body.modal-open,
body.nav-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------
   3. SISTEMA DE MODALES
   Estructura Ãºnica:
     .modal            â†’ capa fija a pantalla completa
       .modal-overlay  â†’ fondo oscuro clicable
       .modal-content  â†’ tarjeta
         .modal-header / .modal-body / .modal-footer
   ------------------------------------------------------------------ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* El atributo hidden es la fuente de verdad del estado.
   Antes dos modales del panel admin carecÃ­an de display:none inline
   y se renderizaban a pantalla completa desde la carga. */
.modal[hidden] {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 8, 0.72);
  backdrop-filter: blur(6px);
  border: 0;
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--on-surface);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(20, 12, 8, 0.35);
  animation: modalScaleUp 0.28s var(--ease) both;
  overflow: hidden;
}

.modal-sm .modal-content, .modal-content.modal-sm { max-width: 460px; }
.modal-content.modal-md { max-width: 560px; }
.modal-content.modal-lg { max-width: 680px; }
.modal-content.modal-xl { max-width: 900px; }

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px 16px;
  border-bottom: 1px solid var(--surface-border);
  flex-shrink: 0;
}

.modal-header h2,
.modal-header h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--on-surface);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h2 i,
.modal-header h3 i {
  color: var(--accent);
  font-size: 20px;
}

.modal-close,
.close-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: var(--on-surface-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover,
.close-btn:hover {
  background: var(--surface-2);
  color: var(--on-surface);
}

.modal-body {
  padding: 22px 26px 26px;
  overflow-y: auto;
  color: var(--on-surface);
}

.modal-content.modal-scroll .modal-body {
  max-height: min(70vh, 640px);
}

.modal-footer {
  padding: 16px 26px 22px;
  border-top: 1px solid var(--surface-border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.modal-lead,
.modal-note,
.step-lead {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--on-surface-muted);
}

.modal-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: 12px;
  font-size: 13.5px;
}

.modal-note i { color: var(--accent); margin-top: 2px; }

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 640px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal-content {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
  }
  .modal-header { padding: 20px 18px 14px; }
  .modal-body { padding: 18px; }
}

/* ------------------------------------------------------------------
   4. FORMULARIOS DENTRO DE MODALES Y TARJETAS
   ------------------------------------------------------------------ */

.modal-body .form-group,
.site-form .form-group {
  margin-bottom: 16px;
}

.modal-body label,
.site-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.modal-body input[type="text"],
.modal-body input[type="email"],
.modal-body input[type="tel"],
.modal-body input[type="password"],
.modal-body input[type="date"],
.modal-body input[type="number"],
.modal-body input[type="file"],
.modal-body select,
.modal-body textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--on-surface);
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-body input::placeholder,
.modal-body textarea::placeholder {
  color: var(--on-surface-muted);
  opacity: 0.75;
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.modal-body input:invalid:not(:placeholder-shown) {
  border-color: var(--danger);
}

.modal-body select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%239E5B3C' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 14px;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--on-surface-muted);
}

.form-error {
  margin: 0 0 16px;
  padding: 11px 14px;
  background: var(--danger-soft);
  border-left: 3px solid var(--danger);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--danger);
}
.form-error[hidden] { display: none; }

.input-with-action {
  position: relative;
  display: flex;
  align-items: center;
}
.input-with-action input { padding-right: 46px; }

.input-action {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--on-surface-muted);
  cursor: pointer;
}
.input-action:hover { background: var(--surface-2); color: var(--accent); }

.form-check,
.consent-box label,
.check-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  color: var(--on-surface);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.consent-box input[type="checkbox"],
.check-list input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-box {
  margin: 20px 0;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
}
.consent-box label { margin: 0 0 10px; }
.consent-box label:last-child { margin-bottom: 0; }

.check-list { list-style: none; margin: 0 0 20px; padding: 0; }

.link-button {
  padding: 0;
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: underline;
  cursor: pointer;
}
.link-button:hover { color: var(--accent); }

.step-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--on-surface);
}

.step-figure {
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
}
.step-figure img { width: 100%; height: auto; display: block; }
.step-figure figcaption {
  padding: 9px 12px;
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--on-surface-muted);
}

/* ------------------------------------------------------------------
   5. BOTONES
   ------------------------------------------------------------------ */

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.btn-compact {
  padding: 12px 22px;
  font-size: 13px;
}

.btn-sm,
.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-peligro {
  background: var(--danger);
  color: #fff;
  border: none;
}
.btn-peligro:hover { filter: brightness(1.08); }

.btn-action-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(180, 35, 24, 0.25);
}
.btn-action-danger:hover { background: var(--danger); color: #fff; }

/* El botÃ³n primario del tema oscuro daba 3.64:1 con texto blanco.
   Con --accent-contrast pasa a 6.9:1. */
[data-theme="nut1"] .btn-primario {
  background: var(--accent);
  color: var(--accent-contrast);
}
[data-theme="nut1"] .btn-primario:hover { background: var(--accent-strong); }

.btn[disabled],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ------------------------------------------------------------------
   6. TABLAS
   ------------------------------------------------------------------ */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}

.data-table,
.prog-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.prog-table th {
  padding: 12px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
  border-bottom: 2px solid var(--surface-border);
  white-space: nowrap;
}

.data-table td,
.prog-table td {
  padding: 13px 12px;
  vertical-align: middle;
  border-bottom: 1px solid var(--surface-border);
  color: var(--on-surface);
}

.data-table tbody tr:last-child td,
.prog-table tbody tr:last-child td { border-bottom: none; }

.cell-sub {
  display: inline-block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--on-surface-muted);
}

.cell-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}
.cell-link:hover { text-decoration: underline; }

.cell-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
}

/* ------------------------------------------------------------------
   7. ESTADOS VACÃOS, CARGA Y ERROR
   ------------------------------------------------------------------ */

.table-empty-row td {
  padding: 34px 16px !important;
  text-align: center;
  color: var(--on-surface-muted);
  border-bottom: none !important;
}
.table-empty-row td i {
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
  opacity: 0.55;
}
.table-empty-row td span { font-size: 13.5px; }

.state-empty,
.state-loading,
.state-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--on-surface-muted);
}
.state-empty i, .state-loading i, .state-error i { font-size: 26px; opacity: 0.6; }
.state-error { color: var(--danger); }
.state-error i { opacity: 1; }

.state-empty-inline {
  margin: 6px 0 16px;
  font-size: 13.5px;
  color: var(--on-surface-muted);
}

.spin { display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------
   8. AVISOS Y ETIQUETAS DE ESTADO
   ------------------------------------------------------------------ */

.toast-nut {
  border-radius: 14px !important;
  border: 1px solid var(--surface-border) !important;
  box-shadow: 0 12px 32px rgba(20, 12, 8, 0.22) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.fallback-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 20px;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 12, 8, 0.28);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.fallback-toast.is-visible { opacity: 1; transform: translateY(0); }

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-pendiente {
  background: rgba(158, 91, 60, 0.12);
  color: var(--accent-strong);
  border: 1px solid rgba(158, 91, 60, 0.28);
}
.badge-confirmada,
.badge-aprobado {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(31, 122, 70, 0.28);
}
.badge-cancelada {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid rgba(180, 35, 24, 0.25);
}

[data-theme="nut1"] .badge-pendiente { color: var(--accent); border-color: rgba(234,160,130,.3); }

/* ------------------------------------------------------------------
   9. MENÃš MÃ“VIL
   ------------------------------------------------------------------ */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(237, 230, 220, 0.25);
  border-radius: 12px;
  font-size: 22px;
  color: var(--beige-calido);
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 18px 24px 28px;
    background: var(--verde-oscuro);
    border-bottom: 1px solid var(--surface-border);
    box-shadow: 0 18px 40px rgba(20, 12, 8, 0.3);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(237, 230, 220, 0.08); }
  .nav-links a { display: block; padding: 15px 0; font-size: 16px; }

  .header-buttons { display: none; }
}

.nav-logout { display: inline-flex; align-items: center; gap: 7px; color: var(--coral-suave); }

/* ------------------------------------------------------------------
   10. RESULTADO DE LA EVALUACIÃ“N
   ------------------------------------------------------------------ */

.assessment-result {
  margin-top: 26px;
  padding: 26px;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: 20px;
  color: var(--on-surface);
}
.assessment-result:focus { outline: none; }

.assessment-result-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  background: rgba(158, 91, 60, 0.12);
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.assessment-result h3 {
  margin: 14px 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--on-surface);
}
.assessment-result > p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--on-surface-muted);
}

.assessment-result-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 22px;
  padding: 16px;
  background: var(--surface-2);
  border-radius: 14px;
}
.assessment-result-summary div { display: flex; flex-direction: column; gap: 3px; }
.assessment-result-summary dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}
.assessment-result-summary dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
}

.assessment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.assessment-result-actions .btn-ghost,
.assessment-result .btn-ghost {
  background: #f5ece5 !important;
  border: 1.5px solid #8a7468 !important;
  color: #38271e !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(56, 39, 30, 0.08) !important;
}

.assessment-result-actions .btn-ghost:hover,
.assessment-result .btn-ghost:hover {
  background: #e5d2c4 !important;
  color: #231813 !important;
  border-color: #5d5149 !important;
}

.assessment-result-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--on-surface-muted);
}
.assessment-result-note i { margin-top: 2px; color: var(--accent); }

.step-indicator.is-error {
  color: var(--danger);
  font-weight: 700;
}

.wizard-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--on-surface-muted);
}
.wizard-privacy i { color: var(--success); }

.wizard-step[hidden] { display: none; }
.wizard-step h3:focus { outline: none; }

.assessment-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gris-subtil);
}

/* ------------------------------------------------------------------
   11. TARJETAS DE PROGRAMA Y RESULTADOS
   ------------------------------------------------------------------ */

.prog-card { display: flex; flex-direction: column; overflow: hidden; }

.prog-media {
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.prog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.prog-card:hover .prog-media img { transform: scale(1.05); }

.prog-body { display: flex; flex-direction: column; flex: 1; }

/* .prog-cta pasÃ³ de <span> a <a>/<button>: necesita estilo propio. */
.prog-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  background: none;
  border: none;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--verde-salud);
  text-decoration: none;
  cursor: pointer;
}
.prog-cta:hover { color: var(--coral-suave); }
.prog-cta:hover .fl { transform: translateX(4px); }
.fl { transition: transform 0.3s var(--ease); }

.prog-pill { display: inline-flex; align-items: center; gap: 6px; }

.testi-placeholder {
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--surface-border);
  border-radius: 22px;
}
.testi-placeholder i { font-size: 40px; color: var(--coral-suave); opacity: 0.85; }
.testi-placeholder h3 {
  margin: 16px 0 12px;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--blanco-clinico);
}
.testi-placeholder p {
  margin: 0 auto 24px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--beige-calido);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.metodo-img { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 380px; margin: 0; }
.metodo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.metodo-img .badge { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.metodo-img .badge .n { display: block; }

/* ------------------------------------------------------------------
   12. PIE DE PÃGINA
   ------------------------------------------------------------------ */

.foot-col h4 {
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--menta-clinica);
}
.foot-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--beige-calido); }
.foot-tagline {
  max-width: 300px;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(237, 230, 220, 0.82);
}
.foot-icons { display: flex; gap: 12px; margin-bottom: 16px; }
.foot-icons--dev { font-size: 18px; margin-bottom: 0; }
.foot-icons--dev a { color: rgba(237, 230, 220, 0.72); text-decoration: none; }
.foot-icons--dev a:hover { color: var(--coral-suave); }
.foot-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--menta-clinica);
}
.foot-hours i { color: var(--coral-suave); }
.brand-link img { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.brand-link:hover img { opacity: 1; }
.brand-fallback { font-size: 13px; font-weight: 700; color: rgba(237, 230, 220, 0.85); }

/* ------------------------------------------------------------------
   13. WHATSAPP FLOTANTE E INSTALACIÃ“N
   ------------------------------------------------------------------ */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7a695d;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
}

.pwa-install-btn {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 899;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(20, 12, 8, 0.28);
  cursor: pointer;
}
.pwa-install-btn[hidden] { display: none; }

/* ------------------------------------------------------------------
   14. IMPRESIÃ“N
   ------------------------------------------------------------------ */

@media print {
  .sidebar, .topbar-actions, .modal, .whatsapp-float,
  .pwa-install-btn, .filter-bar, .pane-actions, .sidebar-toggle { display: none !important; }

  .main-content { padding: 0 !important; }
  body { background: #fff !important; color: #000 !important; }
  .card { break-inside: avoid; border: 1px solid #ddd !important; box-shadow: none !important; }
}

/* Texto legal dentro del modal de tÃ©rminos */
.legal-text { display: flex; flex-direction: column; gap: 4px; }
.legal-text h3 {
  margin: 18px 0 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-strong);
}
.legal-text h3:first-child { margin-top: 0; }
.legal-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--on-surface-muted);
}
.legal-text strong { color: var(--on-surface); }

/* ================================================
   BOTÓN ACCESO VIP / MIEMBRO — REGLA FINAL
   (Gana por cascada: siempre al final del archivo)
   ================================================ */
#openLoginBtn.members-pulse-btn {
  background: #7a695d !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,0.28) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  padding: 11px 22px !important;
  border-radius: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  animation: memberPulse 2.8s ease-in-out infinite !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
  box-shadow: 0 0 0 0 rgba(122,105,93,0.55), 0 6px 18px rgba(0,0,0,0.15) !important;
}
#openLoginBtn.members-pulse-btn:hover {
  background: #5a4a40 !important;
  animation: none !important;
  transform: scale(1.04) translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(122,105,93,0.35) !important;
}
@keyframes memberPulse {
  0%   { box-shadow: 0 0 0 0   rgba(122,105,93,0.55), 0 6px 18px rgba(0,0,0,0.15); }
  60%  { box-shadow: 0 0 0 10px rgba(122,105,93,0),   0 6px 18px rgba(0,0,0,0.15); }
  100% { box-shadow: 0 0 0 0   rgba(122,105,93,0),   0 6px 18px rgba(0,0,0,0.15); }
}

/* ================================================
   CORRECCIONES DE UX MÓVIL, CONTRASTE Y PROGRAMAS
   ================================================ */

/* 1. Menú móvil desplegable */
@media (max-width: 900px) {
  header.menu-open .nav-links,
  body.nav-open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 72px !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 9999 !important;
    padding: 20px !important;
    border: 1.5px solid rgba(237, 230, 220, 0.3) !important;
    border-radius: 16px !important;
    background: #38271e !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  header.menu-open .nav-links a,
  body.nav-open .nav-links a {
    display: block !important;
    padding: 12px 14px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  header.menu-open .nav-links a:last-child,
  body.nav-open .nav-links a:last-child {
    border-bottom: none !important;
  }
}

/* 2. Fotos de la sección de programas (height auto) */
.prog-card > div:first-child,
.prog-media {
  height: auto !important;
  max-height: 220px !important;
}
.prog-media img,
.prog-card img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
}

/* 3. Contraste de botones Atrás/Anterior */
#prevStepBtn,
.wizard-navigation .btn-ghost {
  background: #ffffff !important;
  color: #38271e !important;
  border: 1.5px solid #ac9c8f !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
#prevStepBtn:hover,
.wizard-navigation .btn-ghost:hover {
  background: #f2e8e1 !important;
  color: #1a0e09 !important;
}

/* 4. Contraste del botón "Escribir por WhatsApp" */
[data-whatsapp-message].btn-ghost,
.cta-final .btn-ghost {
  background: #7a695d !important;
  color: #ffffff !important;
  border: 1.5px solid #5a4a40 !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3) !important;
}
[data-whatsapp-message].btn-ghost:hover,
.cta-final .btn-ghost:hover {
  background: #5a4a40 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}


/* ================================================
   RESTAURACIÓN COMPLETA DE FIGURA MÉTODO (metodo-img)
   ================================================ */
.metodo-img {
  position: relative !important;
  top: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 480px !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  box-shadow: 0 20px 40px rgba(35, 24, 19, 0.2) !important;
}

.metodo-img img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  transition: transform 0.6s ease !important;
}

.metodo-img:hover img {
  transform: scale(1.03) !important;
}

@media (max-width: 900px) {
  .metodo-img {
    min-height: 320px !important;
    aspect-ratio: 4 / 3 !important;
  }
}

/* ================================================
   IMAGEN DE FONDO MOTIVACIÓN (CTA FINAL)
   ================================================ */
.cta-final .bg {
  position: absolute !important;
  inset: 0 !important;
}
.cta-final .bg img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  display: block !important;
}
.cta-final .veil {
  background: linear-gradient(to bottom, rgba(35, 24, 19, 0.82), rgba(35, 24, 19, 0.78)) !important;
}

/* ================================================
   ALTO CONTRASTE PARA PALABRAS DESTACADAS EN TÍTULOS (SCRIPT)
   ================================================ */
.sec-head h2 .script,
h2 .script,
span.script {
  color: #ffffff !important;
  font-style: italic !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* ================================================
   REGLAS DEFINITIVAS DE CABECERA Y NAVBAR (SUPER VISIBILIDAD)
   ================================================ */
header#siteHeader,
header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9990 !important;
  background: rgba(35, 24, 19, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

header nav.wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 76px !important;
  padding: 0 20px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

header .logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

header .logo-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #7a695d !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

header .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

header .nav-links a {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  opacity: 0.95 !important;
  transition: opacity 0.2s ease !important;
}

header .nav-links a:hover {
  opacity: 1 !important;
  color: #f2e8e1 !important;
}

header .header-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

header .header-buttons .btn-primario {
  background: #7a695d !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
}

/* Ajustes Responsive para Celulares y Tablets */
@media (max-width: 900px) {
  header nav.wrap {
    height: 68px !important;
    padding: 0 14px !important;
  }
  header .logo {
    font-size: 15px !important;
  }
  header .logo-mark {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }
  header .nav-links {
    display: none !important;
  }
  body.nav-open header .nav-links,
  header.menu-open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 68px !important;
    left: 12px !important;
    right: 12px !important;
    background: #231813 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    gap: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7) !important;
    z-index: 9999 !important;
  }
  body.nav-open header .nav-links a,
  header.menu-open .nav-links a {
    font-size: 16px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  header .header-buttons {
    display: flex !important;
  }
  header .header-buttons .btn-primario {
    display: none !important;
  }
}

/* ================================================
   REGLAS DEFINITIVAS DE CABECERA Y NAVBAR
   (Transparente arriba, oscuro solo al hacer scroll)
   ================================================ */
header#siteHeader,
header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9990 !important;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease !important;
}

header.scrolled,
body.scrolled header {
  background: rgba(35, 24, 19, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

header nav.wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 84px !important;
  padding: 0 20px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

header .logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

header .logo-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #7a695d !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

header .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

header .nav-links a {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  opacity: 0.9 !important;
  transition: opacity 0.2s ease !important;
}

header .nav-links a:hover {
  opacity: 1 !important;
}

header .header-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

@media (max-width: 900px) {
  header nav.wrap {
    height: 68px !important;
    padding: 0 14px !important;
  }
  header .logo {
    font-size: 15px !important;
  }
  header .logo-mark {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }
  header .nav-links {
    display: none !important;
  }
  body.nav-open header .nav-links,
  header.menu-open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 68px !important;
    left: 12px !important;
    right: 12px !important;
    background: #231813 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    gap: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7) !important;
    z-index: 9999 !important;
  }
  body.nav-open header .nav-links a,
  header.menu-open .nav-links a {
    font-size: 16px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  header .header-buttons {
    display: flex !important;
    align-items: center !important;
  }
  header .header-buttons .btn-primario {
    display: none !important;
  }
}

/* ================================================
   AJUSTES SOLICITADOS: CABECERA FLOTANTE & BOTONES HERO
   ================================================ */

/* 1. Cabecera flotante transparente por defecto; fondo solo al hacer scroll */
header#siteHeader,
header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9990 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-bottom 0.35s ease !important;
}

header.scrolled,
body.nav-open header {
  background: rgba(35, 24, 19, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

header nav.wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 80px !important;
  padding: 0 20px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

header .logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

header .logo-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #7a695d !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

header .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

header .nav-links a {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  opacity: 0.95 !important;
}

header .header-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

@media (max-width: 900px) {
  header nav.wrap {
    height: 68px !important;
    padding: 0 14px !important;
  }
  header .nav-links {
    display: none !important;
  }
  body.nav-open header .nav-links,
  header.menu-open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 68px !important;
    left: 12px !important;
    right: 12px !important;
    background: #231813 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    gap: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7) !important;
    z-index: 9999 !important;
  }
}

/* 2. Ancho y proporcion equilibrada de botones del Hero */
.hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.hero-actions .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 26px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  white-space: nowrap !important;
  text-align: center !important;
  min-width: 190px !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ============================================================
   FASE 1 — CABECERA, HERO, IMÁGENES Y CTA RESPONSIVO
   Estas reglas sustituyen las sobreescrituras heredadas anteriores.
   ============================================================ */

.signature-name {
  font-family: 'Allura', 'Caveat', cursive !important;
  font-size: clamp(27px, 2.2vw, 36px) !important;
  font-weight: 400 !important;
  letter-spacing: .01em !important;
  line-height: .8 !important;
  white-space: nowrap;
}

header nav.wrap {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(20px, 3vw, 46px);
  justify-content: initial !important;
}

header .nav-links {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  justify-self: center;
  gap: clamp(14px, 1.7vw, 22px) !important;
  width: auto !important;
}

header .nav-links li,
header .nav-links a {
  display: block !important;
  width: auto !important;
  border: 0 !important;
}

header .nav-links a {
  padding: 0 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

header .header-buttons {
  justify-self: end;
  flex-wrap: nowrap;
  gap: 8px !important;
}

.hero-actions .btn {
  min-width: 0 !important;
  width: auto !important;
  padding: 13px 20px !important;
  font-size: 13px !important;
}

/* Las tarjetas ahora poseen una fotografía real arriba, no un fondo absoluto. */
.prog-card {
  min-height: 0 !important;
  background: #ffffff;
  border-color: rgba(122, 105, 93, .25) !important;
}

.prog-card::after { display: none !important; }

.prog-card .prog-media {
  position: relative !important;
  height: 264px !important;
  max-height: none !important;
  overflow: hidden;
}

.prog-card .prog-media img {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
  filter: none !important;
}

.prog-card:nth-child(1) .prog-media img { object-position: center 48% !important; }
.prog-card:nth-child(2) .prog-media img { object-position: center 42% !important; }
.prog-card:nth-child(3) .prog-media img { object-position: center 50% !important; }
.prog-card .prog-body { padding: 27px 26px 30px; }
.prog-card .prog-body h3 { color: #38271e !important; }
.prog-card .prog-body p { color: #5d5149 !important; }
.prog-card .prog-pill { color: #38271e; background: #f2e8e1; border-color: #e5d2c4; }

/* Tratamiento específico móvil: conserva rostro y torso en la ventana vertical. */
.hero-image { object-position: 68% center; }
.cta-image { object-position: center 30%; }

@media (max-width: 900px) {
  header nav.wrap {
    display: flex !important;
    column-gap: 0;
  }
  header .signature-name { font-size: 28px !important; }
  header .header-buttons { margin-left: auto; }
  header.menu-open .nav-links,
  body.nav-open header .nav-links {
    position: fixed !important;
    inset: 68px 12px auto !important;
    transform: none !important;
  }
  .prog-card .prog-media { height: 232px !important; }
  .hero-image { object-position: 60% center !important; }
  .cta-final .cta-image { object-position: 64% center !important; }
}

@media (max-width: 640px) {
  header .signature-name { font-size: 21px !important; }
  header .logo { gap: 7px !important; }
  header .header-buttons #openLoginBtn {
    width: 48px !important;
    min-width: 48px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  header .header-buttons .login-btn-text { display: none !important; }
  .hero { min-height: 760px !important; }
  .hero-bg { inset: 0 !important; }
  .hero-image { object-position: 58% center !important; }
  .hero-actions .btn { width: 100% !important; padding: 14px 18px !important; }
  .prog-grid { gap: 18px; }
  .prog-card .prog-media { height: 218px !important; }
  .prog-card .prog-body { padding: 23px 21px 25px; }
  .cta-final { padding: 112px 0 !important; }
  .cta-final .cta-image { object-position: 61% center !important; }
  .cta-final .veil { background: linear-gradient(90deg, rgba(35,24,19,.9), rgba(35,24,19,.63)), linear-gradient(to top, rgba(35,24,19,.88), rgba(35,24,19,.42)) !important; }
}

@media (min-width: 901px) {
  header#siteHeader nav.wrap > .nav-links {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (min-width: 641px) {
  .hero-actions { flex-direction: row !important; width: auto !important; }
}

/* Ajustes quirúrgicos de navegación, tarjetas y pie. */
@media (min-width: 901px) {
  header#siteHeader.scrolled {
    background: rgba(35, 24, 19, .94) !important;
    backdrop-filter: blur(16px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .28) !important;
  }
}

/* Imagen a sangre: el contenido flota sobre un degradado legible. */
.prog-card {
  height: 525px !important;
  min-height: 525px !important;
  background: #38271e !important;
}
.prog-card .prog-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 525px !important;
  max-height: none !important;
}
.prog-card > .prog-media:first-child {
  height: 525px !important;
  max-height: none !important;
}
.prog-card .prog-media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 525px !important;
  object-fit: cover !important;
  z-index: 0 !important;
}
.prog-card::after {
  display: block !important;
  z-index: 1 !important;
  background: linear-gradient(to top, rgba(35,24,19,.97) 8%, rgba(35,24,19,.72) 52%, rgba(35,24,19,.12) 100%) !important;
}
.prog-card .prog-body {
  position: absolute !important;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin-top: 0;
  padding: 30px 28px !important;
}
.prog-card .prog-body h3,
.prog-card .prog-body p { color: #fff !important; }
.prog-card .prog-body p { color: rgba(255,255,255,.86) !important; }
.prog-card .prog-pill { color: #fff !important; background: rgba(255,255,255,.15) !important; border-color: rgba(255,255,255,.3) !important; }
.prog-card:nth-child(1) .prog-media img { object-position: center 50% !important; }
.prog-card:nth-child(2) .prog-media img { object-position: center 45% !important; }
.prog-card:nth-child(3) .prog-media img { object-position: center 50% !important; }

.foot-logo .signature-name {
  font-size: 27px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}
.foot-hours {
  display: flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.foot-hours i { flex: 0 0 auto; }
.foot-hours span { white-space: nowrap; }

@media (max-width: 900px) {
  header#siteHeader.menu-open .nav-links,
  body.nav-open header#siteHeader .nav-links {
    display: flex !important;
    position: fixed !important;
    inset: 68px 12px auto !important;
    z-index: 10000 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 12px 16px !important;
    background: rgba(35, 24, 19, .98) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.42) !important;
  }
  header#siteHeader.menu-open .nav-links a,
  body.nav-open header#siteHeader .nav-links a {
    display: block !important;
    padding: 14px 4px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }
  header#siteHeader.menu-open .nav-links li:last-child a,
  body.nav-open header#siteHeader .nav-links li:last-child a { border-bottom: 0 !important; }
  .prog-card { height: 450px !important; min-height: 450px !important; }
  .prog-card .prog-media,
  .prog-card > .prog-media:first-child,
  .prog-card .prog-media img { height: 450px !important; }
  .foot-logo .signature-name { font-size: 24px !important; }
  .foot-hours { font-size: 12px; }
}

/* En móvil la firma baja al borde para conservar el rostro visible. */
@media (max-width: 720px) {
  .sobre-img .tape {
    top: auto;
    right: 12px;
    bottom: 14px;
    left: 12px;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 6px 15px;
    font-size: 18px;
    line-height: 1.1;
    transform: rotate(-2deg);
    background: rgba(49, 72, 59, .94);
  }
}

/* Navegación de escritorio: texto limpio, acento sutil y cabecera etérea. */
@media (min-width: 901px) {
  header#siteHeader nav.wrap,
  header#siteHeader .nav-links,
  header#siteHeader .nav-links li {
    border: 0 !important;
    box-shadow: none !important;
  }

  header#siteHeader .nav-links a {
    position: relative;
    display: inline-block !important;
    padding: 8px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,.88) !important;
    outline: 0 !important;
    transition: color .22s ease !important;
  }

  header#siteHeader .nav-links a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: #e7b49e;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
  }

  header#siteHeader .nav-links a:hover,
  header#siteHeader .nav-links a:focus-visible {
    color: #fff !important;
  }

  header#siteHeader .nav-links a:hover::after,
  header#siteHeader .nav-links a:focus-visible::after { transform: scaleX(1); }

  header#siteHeader.scrolled {
    background: rgba(35, 24, 19, .72) !important;
    backdrop-filter: blur(18px) saturate(1.04) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.04) !important;
    border-bottom-color: rgba(255,255,255,.07) !important;
    box-shadow: 0 7px 24px rgba(0,0,0,.16) !important;
  }
}

/* ---------- RECURSOS DE TRANSICIÓN Y MICRO-INTERACCIONES ---------- */
.curtain {
  position: fixed;
  inset: 0;
  background: var(--verde-profundo, #231813);
  z-index: 99999;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  transition: opacity .6s var(--ease, cubic-bezier(.22,1,.36,1)), transform .6s var(--ease, cubic-bezier(.22,1,.36,1));
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Elevación Glassmorphism para Tarjetas (respetando colores actuales) */
.glass-card-elevated {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.glass-card-elevated:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .curtain {
    display: none !important;
  }
}

/* --- High Impact Program CTAs --- */
.prog-cta-glow {
  background: linear-gradient(135deg, #8C4E33 0%, #6C3B24 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 12px 22px !important;
  border-radius: 30px !important;
  box-shadow: 0 6px 18px rgba(140, 78, 51, 0.35) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  cursor: pointer !important;
}

.prog-cta-glow:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 25px rgba(140, 78, 51, 0.5) !important;
}

.prog-cta-outline {
  background: rgba(140, 78, 51, 0.08) !important;
  color: #8C4E33 !important;
  border: 2px solid #8C4E33 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 11px 22px !important;
  border-radius: 30px !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  cursor: pointer !important;
}

.prog-cta-outline:hover {
  background: #8C4E33 !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(140, 78, 51, 0.3) !important;
}

.prog-cta-vip {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #996515 100%) !important;
  color: #1a1205 !important;
  border: 1px solid rgba(255, 223, 128, 0.6) !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  padding: 14px 24px !important;
  border-radius: 30px !important;
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  cursor: pointer !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.prog-cta-vip:hover {
  background: linear-gradient(135deg, #e6c247 0%, #c59326 50%, #a67319 100%) !important;
  color: #0d0902 !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

/* --- Grid Dinámico de Testimonios --- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.testi-card-public {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1.5px solid #e5d8cc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-card-public:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(140, 78, 51, 0.12);
}

.testi-card-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f5ece5;
}

.testi-card-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #8C4E33;
}

