/* ═══════════════════════════════════════════
   LLUNA — PSICÓLOGA  ·  DESIGN SYSTEM
/* Color palette:
     Berenjena Profundo  #3D353A
     Malva Grisáceo      #9B8A95
     Blanco Roto         #F7F5F6
     Gris Piedra         #EAE6E8
   ═══════════════════════════════════════════ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400&display=swap');

/* Estilo para tus Títulos 3 (H3) con Wix Madefor Display */
h3,
.heading-3 {
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 400;
  /* El grosor que has elegido */
  font-size: 22px;
  /* El tamaño 24 exacto */
  line-height: 1.4;
  /* Para que la lectura sea cómoda */
  color: var(--dark-soft);
  /* Tu color Berenjena Profundo */
  margin-bottom: 16px;
  /* Un pequeño margen debajo para separar del texto */
}

/* ── Reset & Custom Properties ─────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette - Calma Sofisticada */
  --teal-deep: #7A6A75;
  /* Malva oscuro (ideal para cuando pasas el ratón por un botón) */
  --teal: #9B8A95;
  /* Malva Grisáceo (color principal de acento y botones) */
  --teal-light: #B5A7B0;
  /* Malva claro (para detalles sutiles o fondos muy suaves) */
  --cream: #F7F5F6;
  /* Blanco Roto (tu nuevo color de fondo principal) */
  --peach: #EAE6E8;
  /* Gris Piedra (tu nuevo color para las "cajitas" de servicios) */
  --white: #ffffff;
  /* Blanco puro (se mantiene igual por si lo necesitas) */
  --dark: #2C2529;
  /* Berenjena muy oscuro (ideal para el fondo del pie de página) */
  --dark-soft: #3D353A;
  /* Berenjena Profundo (para títulos y logotipos) */
  --text: #3D353A;
  /* Berenjena Profundo (para que los textos largos se lean perfectos) */
  --text-light: #6E6269;
  /* Berenjena grisáceo (para textos secundarios o menos importantes) */
  --text-on-dark: rgba(247, 245, 246, .92);
  /* Blanco roto con un poco de transparencia para textos sobre fondos oscuros */

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, .85);
  --glass-border: rgba(255, 255, 255, .35);
  --glass-blur: 18px;

  /* Shadows - Adaptadas a Berenjena Profundo y Malva */
  --shadow-sm: 0 2px 8px rgba(61, 53, 58, .08);
  --shadow-md: 0 8px 30px rgba(61, 53, 58, .10);
  --shadow-lg: 0 16px 50px rgba(61, 53, 58, .14);
  --shadow-glow: 0 0 40px rgba(155, 138, 149, .18);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Sizing */
  --nav-height: 72px;
  --section-gap: 120px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Transitions */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --duration: .45s;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: var(--section-gap) 0;
}

.section--narrow {
  padding: 80px 0;
}

.section__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 28px;
}

.section__title em {
  font-style: italic;
  color: var(--teal-deep);
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  border-radius: 0;
  padding: 14px 36px;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--cream);
  box-shadow: 0 4px 20px rgba(155, 138, 149, .3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(155, 138, 149, .4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(247, 245, 246, .5);
  backdrop-filter: blur(4px);
}

.btn--lavender-ghost {
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(247, 245, 246, .5);
  background: linear-gradient(135deg, #7a6a7547, #9b8a957a);
}

.btn--ghost:hover {
  background: rgba(247, 245, 246, .15);
  border-color: rgba(247, 245, 246, .8);
}

.btn--nav {
  padding: 10px 24px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--cream);
}

.btn--nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(155, 138, 149, .35);
}

/* Botón especial — Sección "Mis valores en consulta" */
.btn--values {
  background: #7a6a7552;
  color: #91577f;
  border: 1px solid #91577f;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.btn--values:hover {
  background: rgba(122, 106, 117, .38);
  border-color: #91577f;
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

.btn__text {
  position: relative;
  z-index: 1;
}

.btn__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(247, 245, 246, .3);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.btn--loading .btn__text {
  opacity: 0;
}

.btn--loading .btn__loader {
  display: inline-block;
  position: absolute;
}

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

/* ── Glass card ─────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  /* backdrop-filter: blur(var(--glass-blur)); */
  /* -webkit-backdrop-filter: blur(var(--glass-blur)); */
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    backdrop-filter var(--duration) var(--ease);
}

.nav--scrolled {
  background: rgba(247, 245, 246, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(61, 53, 58, .06);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cream);
  transition: color var(--duration) var(--ease);
}

.nav__logo-mark {
  display: block;
  width: auto;
  height: 44px;
  filter: brightness(0) invert(96%);
  transition: filter var(--duration) var(--ease);
}

.nav--scrolled .nav__logo {
  color: var(--teal-deep);
}

.nav--scrolled .nav__logo-mark {
  filter: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(247, 245, 246, .85);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal);
  transition: width .3s var(--ease);
}

.nav__links a:not(.btn):hover::after {
  width: 100%;
}

.nav--scrolled .nav__links a:not(.btn) {
  color: var(--text);
}

.nav--scrolled .nav__links a:not(.btn):hover {
  color: var(--teal-deep);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

.nav--scrolled .nav__toggle span {
  background: var(--teal-deep);
}

/* ── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.png') center / cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(44, 37, 41, .78) 0%,
      rgba(61, 53, 58, .55) 50%,
      rgba(155, 138, 149, .35) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
  padding: 0 24px;
}

.hero__logo {
  display: block;
  width: auto;
  height: 120px;
  margin: 0 auto 18px;
  filter: brightness(0) invert(96%);
  opacity: .92;
}

.hero__tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(234, 230, 232, .75);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero__title span {
  font-style: italic;
  background: linear-gradient(135deg, var(--peach), var(--cream));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(247, 245, 246, .82);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(247, 245, 246, .4);
  border-radius: 14px;
  position: relative;
}

.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(247, 245, 246, .6);
  border-radius: 4px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) translateY(14px);
    opacity: .3;
  }
}

/* ── About ──────────────────────────────────── */

/*
 * La sección ocupa el 100% del viewport sin padding.
 * Las filas crean la cuadrícula de pantalla completa.
 */
.about {
  width: 100%;
  overflow: hidden;
  /*
   * Bordes exteriores (arriba + izquierda).
   * Cada celda aporta border-right + border-bottom.
   * Así en cada arista compartida solo existe UN borde de 1.5 px.
   */
  border-top: 1.5px solid #000;
  border-left: 1.5px solid #000;
}

/*
 * Cada fila: dos columnas iguales (50vw cada una).
 * Sin gap ni margin-bottom → los vértices se tocan.
 */
.about__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

/*
 * Fila inversa: la imagen está primera en el HTML
 * (para apilado correcto en móvil) pero en escritorio
 * se mueve visualmente a la derecha con `order`.
 */
.about__row--reverse .about__image-col {
  order: 2;
}

.about__row--reverse .about__text-col {
  order: 1;
}

/* ── Celdas de la cuadrícula (imagen y texto) ── */
/*
 * Cada celda aporta solo border-right y border-bottom.
 * La sección aporta border-top y border-left.
 * Resultado: en cada arista compartida hay exactamente 1 borde.
 */
.about__image-col,
.about__text-col {
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
}

/* ── Columna de imagen ── */
.about__image-col {
  overflow: hidden;
  display: flex;
}

.about__image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* ── Columna de texto ── */
.about__text-col {
  display: flex;
  align-items: center;
  padding: 72px 64px;
  background: var(--cream);
}

.about__text-inner {
  max-width: 520px;
}

.about__text-inner p {
  margin-bottom: 16px;
  font-size: .97rem;
  color: var(--text);
  line-height: 1.75;
}

/* Estadísticas (mantenidas por si se reactivan) */
.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(61, 53, 58, .1);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--teal-deep);
  line-height: 1;
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--teal);
}

.stat__label {
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ── Philosophy ─────────────────────────────── */
.philosophy {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(234, 230, 232, .07);
}

.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  line-height: 1.5;
}

.philosophy__mark {
  font-size: 6rem;
  font-style: normal;
  color: rgba(234, 230, 232, .2);
  position: absolute;
  top: -48px;
  left: -30px;
  line-height: 1;
  font-family: var(--font-display);
}

/* ── Services ───────────────────────────────── */
.services {
  background: var(--cream);
}

.services .section__label,
.services .section__title {
  text-align: center;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

/*
 * Cada card aporta border-right + border-bottom
 * → misma técnica de borde único que la sección About.
 */
.service-card {
  border: 1px solid #000;
  border-radius: 0;
  padding: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  transition: filter var(--duration) var(--ease);
}

/* Overlay crema semitransparente para que el texto sea legible */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 246, 0.82);
  transition: background var(--duration) var(--ease);
  z-index: 0;
}

.service-card:hover::before {
  background: rgba(247, 245, 246, 0.70);
}

/* Contenedor del contenido textual, siempre encima del overlay */
.service-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
}

.service-card__title {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 300;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.service-card__text {
  font-size: .85rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 0;
}

/* .service-card__price eliminado — precio oculto */

/* ── Zen Divider ────────────────────────────── */
.zen-divider {
  position: relative;
  height: 400px;
  overflow: hidden;
}

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

.zen-divider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(44, 37, 41, .5),
      rgba(61, 53, 58, .4));
}

.zen-divider__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.zen-divider__text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  text-align: center;
  max-width: 600px;
}

/* ── Testimonials ───────────────────────────── */
.testimonials {
  background: var(--cream);
}

.testimonials .section__label,
.testimonials .section__title {
  text-align: center;
}

.testimonials__carousel {
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform .6s var(--ease);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.testimonial-card__stars {
  color: var(--peach);
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-align: center;
  filter: drop-shadow(0 0 4px rgba(234, 230, 232, .5));
}

.testimonial-card__text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--dark-soft);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.testimonial-card__name {
  font-weight: 500;
  font-size: .95rem;
  color: var(--dark);
}

.testimonial-card__role {
  font-size: .8rem;
  color: var(--text-light);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(61, 53, 58, .2);
  background: transparent;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s var(--ease);
}

.testimonials__btn:hover {
  background: var(--teal-deep);
  color: var(--cream);
  border-color: var(--teal-deep);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(61, 53, 58, .15);
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease);
}

.testimonials__dot--active {
  background: var(--teal-deep);
  transform: scale(1.3);
}

/* ── Contact ────────────────────────────────── */
.contact {
  background: linear-gradient(180deg, var(--cream), var(--peach));
  padding-bottom: 80px;
}

/* ── Desktop layout (contacto-A) ───────────── */
.contact__desktop {
  display: grid;
}

.contact__grid {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 20px;
}

.contact__info>p {
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(61, 53, 58, .08);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-label {
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact__detail-value {
  font-size: .95rem;
  color: var(--dark);
  font-weight: 400;
}

a.contact__detail-value:hover {
  color: var(--teal-deep);
}

/* WhatsApp contact detail link */
.contact__detail--link {
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  padding: 10px 14px;
  margin: -10px -14px;
  transition: background .25s ease, transform .2s ease;
}

.contact__detail--link:hover {
  background: rgba(61, 53, 58, .05);
  transform: translateX(4px);
}

.contact__detail--link:hover .contact__detail-icon--whatsapp {
  background: var(--teal, #9B8A95);
  color: #fff;
}

.contact__detail-icon--whatsapp {
  transition: background .25s ease, color .25s ease;
}

/* Booking card */
.contact__form {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--dark);
  margin: 0;
  padding: 28px 32px 20px;
  border-bottom: 1.5px solid rgba(61, 53, 58, .08);
  position: relative;
}

/* Subtle accent line under the title */
.contact__form-title::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 32px;
  width: 48px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--teal, #9B8A95);
  opacity: .6;
}

/* Setmore iframe wrapper */
.contact__iframe-wrapper {
  width: 100%;
  flex: 1;
  padding: 20px 24px 24px;
  background: rgba(61, 53, 58, .02);
  box-shadow: inset 0 3px 8px rgba(61, 53, 58, .04);
}

.contact__iframe-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(61, 53, 58, .06);
}

/* ── Mobile layout (contacto-C) ────────────── */
.contact__mobile {
  display: none;
}

.contact__centered {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact__centered .section__label,
.contact__centered .section__title {
  text-align: center;
}

.contact__centered .section__title {
  margin-bottom: 20px;
}

.contact__intro {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 540px;
  margin: 0 auto 48px;
}

/* CTA button row */
.contact__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}

/* Large button variant */
.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Outline (secondary) button */
.btn--outline {
  background: transparent;
  color: var(--dark-soft, #3D353A);
  border: 1.5px solid rgba(61, 53, 58, .2);
}

.btn--outline:hover {
  background: rgba(61, 53, 58, .06);
  border-color: rgba(61, 53, 58, .35);
  transform: translateY(-2px);
}

.btn--outline:active {
  transform: translateY(0);
}

/* Subtle contact meta footer */
.contact__meta {
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact__meta a {
  color: var(--text);
  text-decoration: none;
  transition: color .2s ease;
}

.contact__meta a:hover {
  color: var(--teal-deep);
}

.contact__meta-sep {
  display: inline-block;
  margin: 0 12px;
  opacity: .35;
}

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247, 245, 246, .08);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--cream);
}

.footer__logo-mark {
  display: block;
  width: auto;
  height: 52px;
  filter: brightness(0) invert(96%);
}

.footer__tagline {
  font-size: .9rem;
  opacity: .6;
  margin-top: 8px;
}

.footer__links h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: .85rem;
  opacity: .6;
  margin-bottom: 10px;
  transition: opacity .3s, color .3s;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--teal-light);
}

.footer__social h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer__social-icons {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(247, 245, 246, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: .6;
  transition: all .3s var(--ease);
}

.footer__social-link:hover {
  opacity: 1;
  background: rgba(155, 138, 149, .2);
  border-color: rgba(155, 138, 149, .4);
}

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: .8rem;
  opacity: .4;
}

/* ── Modal ──────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .4s var(--ease);
  backdrop-filter: blur(6px);
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 37, 41, .5);
}

.modal__content {
  position: relative;
  max-width: 420px;
  width: 90%;
  padding: 48px 40px;
  text-align: center;
  transform: translateY(30px) scale(.95);
  transition: transform .4s var(--ease);
}

.modal--open .modal__content {
  transform: translateY(0) scale(1);
}

.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 auto 20px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.modal__text {
  font-size: .92rem;
  color: var(--text);
  margin-bottom: 28px;
}

.modal__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Animations (Intersection Observer) ─────── */
[data-animate] {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {

  /* Colapsar a columna única, imagen siempre arriba */
  .about__row {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  /* Anular el orden invertido: imagen 1ª (DOM) → queda arriba */
  .about__row--reverse .about__image-col,
  .about__row--reverse .about__text-col {
    order: unset;
  }

  .about__image-col {
    min-height: 300px;
  }

  .about__text-col {
    padding: 48px 32px;
  }

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Services: 4 cols → 2 cols en tablet */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Toggle desktop/mobile contact layouts */
  .contact__desktop {
    display: none !important;
  }

  .contact__mobile {
    display: block !important;
  }

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

  .contact__actions .btn {
    width: 100%;
    max-width: 360px;
  }

  .contact__meta-sep {
    display: block;
    margin: 4px 0;
    font-size: 0;
  }

  :root {
    --section-gap: 80px;
    --nav-height: 64px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__logo {
    gap: 8px;
    font-size: 1.4rem;
  }

  .nav__logo-mark {
    height: 38px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(44, 37, 41, .96);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right .5s var(--ease);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__links a {
    font-size: 1.1rem;
    color: var(--cream) !important;
  }

  .nav__toggle--open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav__toggle--open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about__stats {
    gap: 20px;
  }

  .stat__number {
    font-size: 2rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    /* 1 col en móvil */
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .zen-divider {
    height: 280px;
  }

  .testimonial-card {
    padding: 0 16px;
  }

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

@media (max-width: 480px) {
  .contact__form-title {
    padding: 20px 20px 16px;
  }

  .contact__form-title::after {
    left: 20px;
  }

  .contact__iframe-wrapper {
    padding: 16px 16px 20px;
  }

  .contact__iframe-wrapper iframe {
    min-height: 600px;
    border-radius: 10px;
  }

  .about__stats {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .stat {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .stat__label {
    margin-top: 0;
  }
}

/* ══════════════════════════════════════════════
   DIAGNOSES TOOLTIP SYSTEM
   ══════════════════════════════════════════════ */

/* Lista contenedor — inline pills en flex wrap */
.diagnoses-list {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 0;
  margin: 12px 0 20px;
}

.diagnoses-list li {
  display: flex;
  align-items: center;
}

/* Cada término interactivo */
.tooltip-trigger {
  position: relative;
  display: inline-block;
  color: var(--dark-soft);
  font-size: .95rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .01em;
  border-bottom: 1.5px dotted var(--teal);
  cursor: help;
  padding-bottom: 1px;
  transition: color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.tooltip-trigger:hover {
  color: var(--teal-deep);
  border-bottom-color: var(--teal-deep);
}

/* Tooltip popup */
.tooltip {
  /* Positioning */
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 200;

  /* Sizing */
  width: 220px;
  padding: 10px 14px;

  /* Appearance */
  background: var(--cream);
  color: var(--text);
  font-size: .82rem;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  border: 1px solid var(--peach);
  box-shadow: var(--shadow-md);
  border-radius: 0;

  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

/* Small arrow pointing down */
.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--peach);
}

/* Arrow inner fill (cream color) */
.tooltip::before {
  content: '';
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--cream);
  z-index: 1;
}

/* Reveal on hover */
.tooltip-trigger:hover .tooltip,
.tooltip-trigger:focus-within .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Mobile tooltip: panel centrado en viewport ─────── */
@media (max-width: 768px) {

  /* En móvil el JS gestiona todo — desactiva el hover CSS */
  .tooltip-trigger:hover .tooltip,
  .tooltip-trigger:focus-within .tooltip {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .tooltip-trigger {
    cursor: pointer;
  }

  /* ── Estado inicial del panel (JS añade .tooltip--open al mover a <body>) */
  .tooltip--open {
    /* Posición fija centrada, fuera de cualquier stacking context */
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;

    /* Ancho adaptado a móvil — !important para ganar al width:220px base */
    width: 88vw !important;
    max-width: 380px !important;
    height: auto !important;
    min-height: 0 !important;

    /* Paleta */
    background: var(--cream) !important;
    color: var(--text) !important;
    border: 1px solid var(--peach) !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: 8px !important;

    /* Tipografía */
    font-size: .9rem !important;
    line-height: 1.65 !important;
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;

    /* Espacio interior — extra abajo para el hint */
    padding: 18px 18px 42px !important;
    overflow: visible !important;

    /* Empieza invisible y desplazado */
    opacity: 0 !important;
    transform: translate(-50%, -44%) !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
    transition: opacity .25s ease, transform .25s ease !important;
  }

  /* ── Estado visible (JS añade .tooltip--visible en el siguiente rAF) */
  .tooltip--open.tooltip--visible {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
  }

  /* Hint de cierre — pseudo-elemento ::after */
  .tooltip--open::after {
    content: 'Toca fuera para cerrar' !important;
    position: absolute !important;
    bottom: 11px !important;
    right: 14px !important;
    font-size: .68rem !important;
    font-family: var(--font-body) !important;
    color: var(--text-light) !important;
    letter-spacing: .04em !important;
    border: none !important;
    background: none !important;
  }

  /* Oculta la flecha del tooltip de escritorio */
  .tooltip--open::before {
    display: none !important;
  }

  /* ── Backdrop semitransparente */
  .tooltip-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(61, 53, 58, .25);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: backdropFadeIn .2s ease forwards;
  }
}

@keyframes backdropFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ── WhatsApp Floating Button ──────────────── */
.whatsapp-float-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal, #9B8A95);
  box-shadow:
    0 4px 14px rgba(155, 138, 149, .45),
    0 2px 6px rgba(61, 53, 58, .15);
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1),
    background .25s ease,
    box-shadow .25s ease;
  animation: whatsappBounceIn .6s cubic-bezier(.26, .53, .74, 1.48) both;
  animation-delay: 1s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--teal-deep, #7A6A75);
  box-shadow:
    0 6px 20px rgba(122, 106, 117, .5),
    0 4px 10px rgba(61, 53, 58, .2);
}

.whatsapp-float:active {
  transform: scale(.95);
  background: var(--dark-soft, #3D353A);
}

.whatsapp-float__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

/* Subtle pulse ring */
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(155, 138, 149, .35);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

@keyframes whatsappBounceIn {
  0% {
    opacity: 0;
    transform: scale(.3) translateY(40px);
  }

  60% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes whatsappPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .6;
  }

  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Tooltip on hover */
.whatsapp-float::before {
  content: '¿Hablamos?';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--dark-soft, #3D353A);
  color: var(--cream, #F7F5F6);
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 2px 8px rgba(61, 53, 58, .15);
}

.whatsapp-float:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .whatsapp-float-wrap {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float__icon {
    width: 30px;
    height: 30px;
  }

  .whatsapp-float::before {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════ */
.legal-page {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: var(--section-gap);
  min-height: 100vh;
}

.legal-page__updated {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 48px;
  font-style: italic;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--dark-soft);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--peach);
}

.legal-section h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--teal-deep);
}

.legal-section p {
  margin-bottom: 14px;
  line-height: 1.8;
  color: var(--text);
}

.legal-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-section ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text);
}

.legal-section a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-color: rgba(122, 106, 117, .3);
  text-underline-offset: 3px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.legal-section a:hover {
  color: var(--teal);
  text-decoration-color: var(--teal);
}

.legal-data-list {
  background: var(--peach);
  border-radius: var(--radius);
  padding: 24px 28px;
  list-style: none !important;
  padding-left: 28px !important;
}

.legal-data-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(61, 53, 58, .06);
}

.legal-data-list li:last-child {
  border-bottom: none;
}

.legal-highlight {
  background: linear-gradient(135deg, rgba(155, 138, 149, .08), rgba(155, 138, 149, .14));
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 20px 0;
  font-size: .95rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .9rem;
  overflow-x: auto;
  display: block;
}

.legal-table thead th {
  background: var(--dark-soft);
  color: var(--cream);
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.legal-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.legal-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.legal-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--peach);
  vertical-align: top;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table tbody tr:nth-child(even) {
  background: rgba(234, 230, 232, .4);
}

.legal-table code {
  background: rgba(61, 53, 58, .06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .85rem;
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .legal-section {
    margin-bottom: 36px;
  }

  .legal-table {
    font-size: .8rem;
  }

  .legal-table thead th,
  .legal-table tbody td {
    padding: 8px 10px;
  }

  .legal-data-list {
    padding: 16px 20px;
  }
}

/* ═══════════════════════════════════════════
   WHATSAPP LEGAL NOTICE
   ═══════════════════════════════════════════ */
.whatsapp-legal-notice {
  font-size: .72rem;
  color: var(--text-light);
  opacity: .7;
  margin-top: 6px;
  line-height: 1.5;
  max-width: 320px;
}

.whatsapp-legal-notice a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-color: rgba(122, 106, 117, .3);
  text-underline-offset: 2px;
}

.whatsapp-legal-notice a:hover {
  color: var(--teal);
  text-decoration-color: var(--teal);
}

.whatsapp-legal-notice--centered {
  text-align: center;
  max-width: 100%;
  margin-top: 16px;
}

/* Floating WhatsApp button legal tooltip */
.whatsapp-float__legal {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: var(--dark-soft);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: .68rem;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: var(--radius);
  width: 240px;
  box-shadow: var(--shadow-md);
  pointer-events: auto;
}

.whatsapp-float__legal a {
  color: var(--teal-light);
  text-decoration: underline;
}

.whatsapp-float__legal a:hover {
  color: var(--cream);
}

.whatsapp-float-wrap:hover .whatsapp-float__legal {
  display: block;
  animation: fadeInUp .3s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .whatsapp-float__legal {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════
   SETMORE PLACEHOLDER (cookies rejected)
   ═══════════════════════════════════════════ */
.setmore-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 32px;
  min-height: 400px;
  border: 2px dashed var(--peach);
  border-radius: var(--radius);
  background: rgba(234, 230, 232, .25);
}

.setmore-placeholder__icon {
  color: var(--teal);
  margin-bottom: 20px;
  opacity: .6;
}

.setmore-placeholder__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--dark-soft);
  margin-bottom: 10px;
}

.setmore-placeholder__text {
  font-size: .9rem;
  color: var(--text-light);
  max-width: 360px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.setmore-placeholder__btn {
  margin-bottom: 16px;
}

.setmore-placeholder__alt {
  font-size: .8rem;
  color: var(--text-light);
}

.setmore-placeholder__alt a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-color: rgba(122, 106, 117, .3);
}

.setmore-placeholder__alt a:hover {
  color: var(--teal);
}

/* ═══════════════════════════════════════════
   COOKIE CONSENT THEME OVERRIDES
   Fondo blanco · Botones rectangulares Malva Grisáceo #9B8A95
   ═══════════════════════════════════════════ */

/* ── Variables nativas de la librería (máxima prioridad) ── */
#cc-main {
  --cc-btn-primary-bg:           #9B8A95;
  --cc-btn-primary-color:        #F7F5F6;
  --cc-btn-primary-border-color: #9B8A95;
  --cc-btn-primary-hover-bg:     #7a6a75;
  --cc-btn-primary-hover-color:  #F7F5F6;
  --cc-btn-primary-hover-border-color: #7a6a75;

  --cc-btn-secondary-bg:           #9B8A95;
  --cc-btn-secondary-color:        #F7F5F6;
  --cc-btn-secondary-border-color: #9B8A95;
  --cc-btn-secondary-hover-bg:     #7a6a75;
  --cc-btn-secondary-hover-color:  #F7F5F6;
  --cc-btn-secondary-hover-border-color: #7a6a75;

  --cc-toggle-on-bg:     #9B8A95;
  --cc-toggle-off-bg:    #EAE6E8;
  --cc-toggle-readonly-bg: #c4b8bf;

  --cc-cookie-category-block-bg: #ffffff;
  --cc-bg:                       #ffffff;
  --cc-primary-color:            #3D353A;
  --cc-secondary-color:          #3D353A;

  --cc-modal-border-radius:   0px;
  --cc-btn-border-radius:     0px;
  --cc-footer-border-top:     1px solid rgba(155, 138, 149, 0.2);
}

/* ── Banner principal (consent modal) ── */
#cc-main .cm {
  font-family: var(--font-body) !important;
  background: #ffffff !important;
  color: #3D353A !important;
  border-radius: 0 !important;
  box-shadow: var(--shadow-lg) !important;
}

#cc-main .cm__title {
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  color: #3D353A !important;
}

#cc-main .cm__desc {
  color: #3D353A !important;
}

#cc-main .cm__desc a {
  color: #9B8A95 !important;
  text-decoration: underline !important;
}

/* Botones del banner */
#cc-main .cm__btn {
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  padding: 10px 24px !important;
  transition: all .3s ease !important;
}

/* Aceptar todas */
#cc-main .cm__btn--1 {
  background: #9B8A95 !important;
  color: #F7F5F6 !important;
  border: 2px solid #9B8A95 !important;
}

#cc-main .cm__btn--1:hover {
  background: #7a6a75 !important;
  border-color: #7a6a75 !important;
  box-shadow: 0 4px 16px rgba(155, 138, 149, .35) !important;
  transform: translateY(-1px);
}

/* Rechazar */
#cc-main .cm__btn--2 {
  background: #9B8A95 !important;
  color: #F7F5F6 !important;
  border: 2px solid #9B8A95 !important;
}

#cc-main .cm__btn--2:hover {
  background: #7a6a75 !important;
  border-color: #7a6a75 !important;
}

/* Configurar (enlace de texto) */
#cc-main .cm__btn--3 {
  background: transparent !important;
  color: #9B8A95 !important;
  border: none !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Footer del banner */
#cc-main .cm__footer {
  border-top: 1px solid rgba(155, 138, 149, 0.2) !important;
}

#cc-main .cm__footer a {
  color: #9B8A95 !important;
}

/* ── Modal de preferencias ── */
#cc-main .pm {
  font-family: var(--font-body) !important;
  background: #ffffff !important;
  color: #3D353A !important;
  border-radius: 0 !important;
}

#cc-main .pm__title {
  font-family: var(--font-display) !important;
  color: #3D353A !important;
}

#cc-main .pm__header {
  border-bottom: 1px solid rgba(155, 138, 149, 0.2) !important;
}

#cc-main .pm__section-title {
  color: #3D353A !important;
}

#cc-main .pm__section-desc {
  color: #3D353A !important;
}

#cc-main .pm__section-desc a {
  color: #9B8A95 !important;
  text-decoration: underline !important;
}

#cc-main .pm__badge {
  background: #9B8A95 !important;
  color: #F7F5F6 !important;
  border-radius: 0 !important;
}

#cc-main .pm__btn {
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
}

#cc-main .pm__btn--1 {
  background: #9B8A95 !important;
  color: #F7F5F6 !important;
  border: 2px solid #9B8A95 !important;
}

#cc-main .pm__btn--1:hover {
  background: #7a6a75 !important;
  border-color: #7a6a75 !important;
}

#cc-main .pm__btn--2 {
  background: #9B8A95 !important;
  color: #F7F5F6 !important;
  border: 2px solid #9B8A95 !important;
}

#cc-main .pm__btn--2:hover {
  background: #7a6a75 !important;
  border-color: #7a6a75 !important;
}

#cc-main .pm__close-btn {
  color: #9B8A95 !important;
}

/* Toggle switch activo */
#cc-main .section__toggle input:checked+.toggle__icon {
  background: #9B8A95 !important;
}


