/* Acabado de la landing de Belleza: esquinas rectas, líneas finas, cristal ahumado sobre las fotos,
   una sola familia de botones en mayúsculas y movimiento de texto (texto.js).
   Se carga la última; :root le da a cada regla la misma fuerza que tenía en la maqueta aprobada. */


:root {
  --l-noir: #121113;
  --l-marfil: #fffcf7;
  --l-tinta: #241f21;
  --l-gris: #6b6065;
  --l-rosado: #dab4a2;
  --l-cobre: #8d493b;
  --l-humo: #e7dad8;
  --l-raya-oscura: rgb(255 252 247 / 16%);
  --l-raya-clara: rgb(41 36 39 / 14%);
  --l-cristal: rgb(18 17 19 / 40%);
  --l-cristal-denso: rgb(18 17 19 / 56%);
  --l-cristal-claro: rgb(255 252 247 / 64%);
  --l-desenfoque: blur(24px) saturate(130%);
  --l-boton: 56px;
  --button-radius: 0;
  --surface-radius: 0;
  --detail-radius: 0;
  --surface-shadow: none;
}

/* Esquinas rectas en toda la página; solo los puntos de color siguen redondos. */
:root *:not(.salon-agenda-dot):not(.b-footer-dot):not(.te-cb-dot):not(.te-cb-carga) { border-radius: 0 !important; }

/* ---------- Etiquetas: de 10,5 px a 13 px, legibles ---------- */
:root :is(.section-kicker, .contact-card-kicker, .demo-access-label) {
  font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase;
}
:root .section-light .section-kicker, :root .faq-section .section-kicker,
:root .specialties-section .section-kicker { color: var(--l-gris); }
:root .section-dark .section-kicker, :root .plans-section .section-kicker { color: var(--l-rosado); }
:root .hero-category { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 32px; }

/* ---------- Títulos: todos en la letra elegante ---------- */
:root :is(.intelligence-section .section-copy h2, .faq-layout h2) {
  font-family: var(--font-display); font-size: clamp(44px, 4.7vw, 66px); font-weight: 500;
  line-height: 1.06; letter-spacing: -.025em;
}
:root .section-copy .section-intro { font-size: 17px; }
:root .editorial-list strong { font-size: 17px; font-weight: 500; }
:root .editorial-list li { font-size: 15.5px; }
:root :is(.small-note, .specialties-note, .contact-footnote, .preview-form-note, .plans-note) { font-size: 13.5px; }

/* ---------- Botones: una sola familia ---------- */
:root .button, :root .header-cta {
  min-height: var(--l-boton); padding: 0 34px; gap: 0;
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; letter-spacing: .16em; line-height: 1; text-transform: uppercase;
  box-shadow: none; transform: none;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
:root .button .icon { display: none; }

/* Sobre claro: negro macizo */
:root .button-primary, :root .button-outline {
  color: var(--l-marfil); background: var(--l-noir); border: 1px solid var(--l-noir);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
:root .button-primary:hover, :root .button-outline:hover { color: var(--l-marfil); background: #2c2729; border-color: #2c2729; box-shadow: none; }
:root .button-primary:active, :root .button-outline:active { background: #000; box-shadow: none; }

/* «Agenda tu demo» de Tu marca: oro rosado hueco, con borde fino; se rellena al pasar por encima. */
:root .button-oro { color: var(--l-cobre); background: transparent; border: 1px solid #c99780; }
:root .button-oro:hover { color: var(--l-noir); background: #d6a58e; border-color: #d6a58e; }
:root .button-oro:active { color: var(--l-noir); background: #c99780; border-color: #c99780; }
:root .section-copy > .button-oro { margin-top: 6px; }

/* Sobre foto u oscuro: marfil macizo, y su pareja de cristal */
:root :is(.hero, .section-dark, .plans-section) .button-primary,
:root .contact-card .button {
  color: var(--l-noir); background: var(--l-marfil); border-color: var(--l-marfil);
}
:root :is(.hero, .section-dark, .plans-section) .button-primary:hover,
:root .contact-card .button:hover { color: var(--l-noir); background: var(--l-rosado); border-color: var(--l-rosado); }
:root :is(.hero, .section-dark, .plans-section) .button-primary:active,
:root .contact-card .button:active { background: #e9cdbf; }

:root .button-glass, :root .hero .button-glass {
  color: var(--l-marfil); background: rgb(255 252 247 / 7%); border: 1px solid rgb(255 252 247 / 46%);
  text-decoration: none; padding-inline: 34px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
:root .button-glass:hover, :root .hero .button-glass:hover {
  color: var(--l-noir); background: var(--l-marfil); border-color: var(--l-marfil); text-decoration: none;
}
:root .button-glass:active, :root .hero .button-glass:active { background: #ece4dc; border-color: #ece4dc; }

/* Enlaces de texto: una raya fina que crece, sin flecha */
:root :is(.text-link, .demo-access-link, .salon-agenda-link, .b-footer-contact, .b-footer-primary-link) {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none;
}
:root :is(.text-link, .demo-access-link, .salon-agenda-link, .b-footer-contact, .b-footer-primary-link) :is(.icon, svg) { display: none; }
:root :is(.text-link, .demo-access-link, .salon-agenda-link, .b-footer-contact, .b-footer-primary-link)::after {
  content: ''; position: static; inset: auto; flex: none; width: 32px; height: 1px; background: currentColor;
  transform: none; opacity: 1; transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
:root .text-link:hover::after, :root .text-link:focus-visible::after { transform: none; }
:root :is(.text-link, .demo-access-link, .salon-agenda-link, .b-footer-contact, .b-footer-primary-link):hover { text-decoration: none; }
:root :is(.text-link, .demo-access-link, .salon-agenda-link, .b-footer-contact, .b-footer-primary-link):hover::after { width: 56px; }
:root .section-light .text-link, :root .faq-section .text-link { color: var(--l-tinta); }
:root .section-dark .text-link, :root .section-dark .text-link:hover { color: var(--l-marfil); }

/* ---------- Cabecera de cristal ---------- */
:root .site-header {
  background: rgb(18 17 19 / 34%); border-bottom: 1px solid rgb(255 252 247 / 12%); box-shadow: none;
  -webkit-backdrop-filter: var(--l-desenfoque); backdrop-filter: var(--l-desenfoque);
}
:root .site-header.is-scrolled { background: rgb(18 17 19 / 70%); box-shadow: none; }
:root .site-header .desktop-nav a { font-size: 14.5px; letter-spacing: .02em; }
:root .header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px; font-size: 12.5px;
  color: var(--l-marfil); background: transparent; border: 1px solid rgb(255 252 247 / 50%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
:root .header-cta:hover { color: var(--l-noir); background: var(--l-marfil); border-color: var(--l-marfil); box-shadow: none; }
:root .site-header .menu-toggle { background: transparent; border-color: rgb(255 252 247 / 50%); }
/* Tres rayas; al abrir, la de en medio se apaga y las otras dos forman la X. */
:root .site-header .menu-toggle span { flex: none; height: 1.5px; margin: 0; transition: transform .3s ease, opacity .2s ease; }
:root .site-header .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
:root .site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
:root .site-header .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
/* Menú desplegable: espresso cálido y translúcido, como la cabecera sobre la foto; no negro puro. */
:root .site-header .mobile-menu {
  background: rgb(43 33 30 / 88%); border-top: 1px solid rgb(218 180 162 / 18%);
  -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%);
}
:root .site-header .mobile-menu a { color: var(--l-marfil); font-family: var(--font-display); font-size: 26px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgb(218 180 162 / 16%); transition: color .3s ease; }
:root .site-header .mobile-menu a:hover, :root .site-header .mobile-menu a:focus-visible { color: var(--l-rosado); }

/* Menú de hamburguesa antes de que la navegación deje de caber (no solo en el móvil). */
@media (max-width: 960px) {
  :root .site-header .desktop-nav { display: none; }
  :root .site-header .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 10px; }
}

/* ---------- Portada: para quién, qué es, qué incluye y un solo botón (la demo ya está en la cabecera) ---------- */
:root .hero-copy { max-width: 900px; }
:root .hero-copy h1 { max-width: 900px; padding-left: 0; font-size: clamp(50px, 5.3vw, 78px); line-height: 1.04; }
:root .hero-copy h1::before, :root .hero-copy .hero-category::before { display: none; }
:root .hero-copy .hero-intro { max-width: 600px; margin-block: 30px 34px; font-size: 19px; }
/* «0% comisiones ahora y siempre», en su línea, en oro rosado y con un subrayado fino. */
.hero-destacado {
  display: block; width: fit-content; margin-top: 14px; color: var(--l-rosado); font-weight: 500; letter-spacing: .01em;
  text-decoration: underline; text-decoration-color: rgb(218 180 162 / 55%); text-decoration-thickness: 1px; text-underline-offset: 7px;
}
:root .hero-actions .button { padding-inline: 36px; }
:root .hero-scroll { gap: 12px; color: var(--l-marfil); font-size: 13.5px; letter-spacing: .04em; text-align: center; opacity: .9; }
/* En pantallas táctiles se invita a deslizar; con ratón, a descubrir. */
.solo-tactil { display: none; }
@media (hover: none) and (pointer: coarse) { .solo-raton { display: none; } .solo-tactil { display: inline; } }
/* La flecha respira sin parar: baja y sube despacio mientras se ilumina. */
@keyframes flecha-respira { 0%, 100% { translate: 0 0; opacity: .5; } 50% { translate: 0 8px; opacity: 1; } }
:root .hero-scroll .icon { animation: flecha-respira 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }

/* ---------- Qué es TopEstrellas Belleza: lo que antes se amontonaba en la portada ---------- */
.que-es { padding-block: clamp(80px, 8vw, 120px); }
.que-es h2 { max-width: 820px; margin-top: 14px; font-family: var(--font-display); font-size: clamp(44px, 4.7vw, 66px); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.que-es .section-intro { max-width: 640px; margin-top: 22px; color: var(--l-gris); font-size: 18px; line-height: 1.7; }
.que-es-filas { margin-top: 44px; border-top: 1px solid var(--l-raya-clara); }
.que-es-fila { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--l-raya-clara); }
.que-es-rotulo { margin: 0; color: var(--l-cobre); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.que-es-fila ul { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 0; list-style: none; color: var(--l-tinta); font-size: 17px; }
.que-es-fila li:not(:last-child)::after { content: '·'; margin-inline: 14px; color: var(--l-cobre); }
.que-es-cierre { margin-top: 26px; color: var(--l-gris); font-size: 16px; }
.que-es-cierre { font-size: 17px; }
.que-es-cierre strong { color: var(--l-cobre); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(141 73 59 / 45%); text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* ---------- Tres puntos cortos por bloque, como Hostelería ---------- */
.puntos { display: grid; margin: 30px 0 34px; padding: 0; list-style: none; }
.puntos li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--l-raya-clara); color: var(--l-tinta); font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.puntos li:last-child { border-bottom: 1px solid var(--l-raya-clara); }
.puntos li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--l-cobre); }
:root .section-dark .puntos li { color: var(--l-marfil); border-color: var(--l-raya-oscura); }
:root .section-dark .puntos li::before { background: var(--l-rosado); }

/* ---------- Tu marca ---------- */
:root .brand-showcase { padding-right: 0; }
:root .brand-photo { max-width: none; box-shadow: none; }
:root .brand-demo-card {
  right: 28px; top: 48px; bottom: auto; width: 290px; padding: 30px 28px;
  background: var(--l-cristal); border: 1px solid rgb(255 252 247 / 22%); box-shadow: none;
  -webkit-backdrop-filter: var(--l-desenfoque); backdrop-filter: var(--l-desenfoque);
}
:root .brand-demo-card .demo-access-label { color: var(--l-rosado); }
:root .brand-demo-card .demo-access-link { color: var(--l-marfil); border-color: var(--l-raya-oscura); }
:root .brand-showcase > figcaption, :root .reputation-section .reputation-visual > figcaption { font-size: 13px; }

/* ---------- Agenda ---------- */
:root .agenda-section::before {
  background: linear-gradient(90deg, rgb(18 17 19 / 30%) 0%, rgb(18 17 19 / 38%) 46%, rgb(18 17 19 / 78%) 60%, rgb(18 17 19 / 84%) 100%);
}
:root .agenda-section .salon-agenda {
  background: rgb(18 17 19 / 60%); border-color: rgb(255 252 247 / 18%); box-shadow: none;
  -webkit-backdrop-filter: var(--l-desenfoque); backdrop-filter: var(--l-desenfoque);
}
:root .salon-agenda-header { padding: 30px 32px 26px; }
:root .salon-agenda-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .16em; }
:root .salon-agenda-view { font-size: 13px; padding: 6px 12px; border-color: var(--l-raya-oscura); }
:root .salon-agenda-date { font-size: 14px; }
:root .salon-agenda-columns { gap: 0; padding: 0 32px 8px; }
:root .salon-agenda-column + .salon-agenda-column { border-left: 1px solid var(--l-raya-oscura); padding-left: 22px; }
:root .salon-agenda-column { padding-right: 22px; }
:root .salon-agenda-column:last-child { padding-right: 0; }
:root .salon-agenda-person { gap: 12px; margin-bottom: 0; padding-bottom: 14px; font-size: 15px; font-weight: 500; letter-spacing: .02em; border-color: var(--l-raya-oscura); }
:root .salon-agenda-monogram { flex: none; width: auto; height: auto; border: 0; background: none; color: var(--l-rosado); font-family: var(--font-display); font-size: 26px; font-weight: 500; }
:root .salon-agenda-appointments { gap: 0; }
:root .salon-agenda-appointment { min-height: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--l-raya-oscura); background: none; }
:root .salon-agenda-appointment:last-child { border-bottom: 0; }
:root .salon-agenda-time { margin-bottom: 6px; color: var(--l-marfil); font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: 0; }
:root .salon-agenda-service { min-height: 0; color: var(--l-humo); font-size: 15px; font-weight: 400; }
:root .salon-agenda-status { display: none; }
:root .salon-agenda-footer { padding: 20px 32px 16px; border-color: var(--l-raya-oscura); }
:root .salon-agenda-demo-label, :root .salon-agenda-note { font-size: 13.5px; }
:root .salon-agenda-note { padding: 0 32px 24px; }
:root .salon-agenda-link { font-size: 14.5px; }
:root .agenda-section .agenda-figure > figcaption {
  background: none; padding: 16px 0 0; font-size: 13.5px; color: var(--l-humo);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* ---------- Reputación: la foto entera y el QR encima, en cristal claro ---------- */
:root .reputation-section .reputation-visual { max-width: 640px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
:root .salon-agenda-demo-label { gap: 0; }
:root .salon-agenda-demo-label .salon-agenda-dot { margin-right: 9px; }
:root .reputation-section .reputation-visual::before { display: none; }
:root .reputation-visual .reputation-scene {
  grid-column: 1 / -1; grid-row: 1; min-height: 620px; margin: 0; border: 0;
}
:root .reputation-visual .reputation-scene > img { object-position: 30% 40%; }
:root .reputation-visual .reputation-scene-copy { right: auto; max-width: 46%; bottom: 32px; left: 30px; }
:root .reputation-visual .reputation-scene-copy > span { font-size: 13px; letter-spacing: .16em; }
:root .reputation-visual .reputation-scene-copy > p { font-family: var(--font-display); font-size: 36px; line-height: 1.08; letter-spacing: -.015em; }
:root .reputation-visual .reputation-access-card {
  grid-column: 2; grid-row: 1; z-index: 1; align-self: stretch;
  margin: 28px 28px 28px 0; padding: 34px 28px;
  background: var(--l-cristal-claro); border: 1px solid rgb(255 255 255 / 58%);
  -webkit-backdrop-filter: var(--l-desenfoque); backdrop-filter: var(--l-desenfoque);
}
:root .reputation-visual .reputation-access-card .demo-access-label { color: var(--l-cobre); }
:root .reputation-visual .reputation-access-intro { font-size: 15.5px; }
:root .reputation-visual .reputation-access-qr { width: 150px; padding: 10px; background: var(--l-marfil); }
:root .reputation-visual .reputation-access-note { font-size: 13.5px; }
:root .reputation-visual .reputation-access-card .demo-access-link { justify-content: center; color: var(--l-tinta); font-size: 14.5px; border-color: var(--l-raya-clara); }

/* ---------- Continuidad ---------- */
:root .care-inner > p:not(.section-kicker) { font-size: 17.5px; }
:root .care-inner > .button { margin-top: 34px; }

/* ---------- Asistente IA ---------- */
:root .intelligence-section::before {
  background: linear-gradient(90deg, rgb(19 17 19 / 78%) 0%, rgb(19 17 19 / 74%) var(--photo-copy-edge), rgb(19 17 19 / 36%) calc(var(--photo-copy-edge) + 260px), rgb(19 17 19 / 30%) 100%);
}
:root .intelligence-section .assistant-questions { gap: 0; margin-top: 34px; border-bottom: 1px solid var(--l-raya-oscura); }
:root .intelligence-section .assistant-questions button {
  position: relative; justify-content: flex-start; gap: 0; padding: 18px 0 18px 0;
  color: rgb(255 252 247 / 58%); background: none; border: 0; border-top: 1px solid var(--l-raya-oscura); box-shadow: none;
  font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em;
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: color .3s ease, padding .45s cubic-bezier(.22, 1, .36, 1);
}
:root .intelligence-section .assistant-questions button .icon { display: none; }
:root .intelligence-section .assistant-questions button::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--l-rosado); transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
:root .intelligence-section .assistant-questions button:hover { color: rgb(255 252 247 / 88%); background: none; }
:root .intelligence-section .assistant-questions button[aria-pressed='true'],
:root .intelligence-section .assistant-questions button[aria-pressed='true']:hover,
:root .intelligence-section .assistant-questions button[aria-pressed='true']:active {
  padding-left: 46px; color: var(--l-marfil); background: none; border-color: var(--l-raya-oscura); box-shadow: none;
}
:root .intelligence-section .assistant-questions button[aria-pressed='true']::before { width: 30px; }
:root .intelligence-section .small-note { font-size: 13.5px; opacity: .86; }
:root .intelligence-section .assistant-card {
  color: var(--l-marfil); background: var(--l-cristal-denso); border: 1px solid rgb(255 252 247 / 20%); box-shadow: none; padding: 36px;
  -webkit-backdrop-filter: var(--l-desenfoque); backdrop-filter: var(--l-desenfoque);
}
:root .intelligence-section .assistant-card .assistant-symbol { display: none; }
:root .intelligence-section .assistant-card .assistant-header {
  color: var(--l-marfil); border-color: var(--l-raya-oscura); font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: -.015em; line-height: 1.15;
}
:root .intelligence-section .assistant-card .assistant-header small { display: block; margin-top: 8px; color: var(--l-rosado); font-family: var(--font-ui); font-size: 13px; font-weight: 500; letter-spacing: .16em; }
:root .intelligence-section .assistant-card .assistant-response { color: var(--l-marfil); }
:root .intelligence-section .assistant-card .assistant-question {
  color: var(--l-marfil); background: none; border: 0; border-left: 1px solid var(--l-rosado); padding: 4px 0 4px 20px;
  font-family: var(--font-display); font-size: 25px; font-weight: 500; line-height: 1.25;
}
:root .intelligence-section .assistant-card .assistant-response > p:not(.assistant-question) { color: var(--l-humo); font-size: 15.5px; }
:root .intelligence-section .assistant-card .assistant-stat { color: var(--l-marfil); border-color: var(--l-raya-oscura); font-size: 16.5px; font-weight: 500; }
:root .intelligence-section .assistant-card .assistant-stat small { color: var(--l-humo); font-size: 14px; font-weight: 400; }
:root .intelligence-section .assistant-card .assistant-response > .assistant-answer-note { color: var(--l-humo) !important; font-size: 13.5px !important; }
:root .intelligence-section .assistant-card .assistant-footer { color: var(--l-humo); border-color: var(--l-raya-oscura); font-size: 13.5px; }
:root .intelligence-section .assistant-card .assistant-footer .icon { display: none; }


/* ---------- Especialidades ---------- */
:root .specialties-heading > p { font-size: 17px; }
:root .specialty-grid figure { aspect-ratio: 4 / 5; }
:root .specialty-grid figure::after { display: none; }
:root .specialty-grid figcaption {
  inset: auto 0 0 0; padding: 22px 26px 24px;
  background: rgb(18 17 19 / 32%); border-top: 1px solid rgb(255 252 247 / 22%);
  -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%);
}
:root .specialty-grid figcaption > span { display: none; }
:root .specialty-grid h3 { margin-top: 0; font-size: 34px; }
:root .specialty-grid p { margin-top: 4px; font-size: 15px; color: var(--l-humo); }
/* «También para…»: una franja con las demás especialidades en la letra elegante. */
.tambien-para { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: baseline; gap: 24px; margin-top: 44px; padding: 26px 0; border-block: 1px solid var(--l-raya-clara); }
.tambien-para-rotulo { margin: 0; color: var(--l-cobre); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.tambien-para ul { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; color: var(--l-tinta); font-family: var(--font-display); font-size: 27px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.tambien-para li:not(:last-child)::after { content: "·"; margin-inline: 16px; color: var(--l-cobre); }
.tambien-para li:last-child { color: var(--l-gris); font-style: normal; }

/* ---------- Planes: carta comparativa de cristal ---------- */
:root .plans-section { position: relative; isolation: isolate; overflow: hidden; overflow: clip; color: var(--l-marfil); background: var(--l-noir); }
:root .tarifas-fondo { position: absolute; inset: -80px; z-index: -2; display: block; pointer-events: none; }
:root .tarifas-fondo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: blur(46px) saturate(115%) brightness(.45); }
:root .plans-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(18 17 19 / 72%) 0%, rgb(18 17 19 / 56%) 46%, rgb(18 17 19 / 78%) 100%);
}
:root .plans-heading {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 60px; align-items: end;
  max-width: none; margin: 0 0 56px; text-align: left;
}
:root .plans-heading > .section-kicker { grid-column: 1; }
:root .plans-heading h2 { grid-column: 1; color: var(--l-marfil); }
:root .plans-heading > p:last-child { grid-column: 2; grid-row: 2; max-width: 420px; margin: 0 0 8px; color: var(--l-humo); font-size: 17px; line-height: 1.75; }

.tarifas-rejilla {
  display: grid; grid-template-columns: minmax(220px, .95fr) repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto);
  background: rgb(18 17 19 / 84%); border: 1px solid rgb(255 252 247 / 22%);
  -webkit-backdrop-filter: var(--l-desenfoque); backdrop-filter: var(--l-desenfoque);
}
.tarifas-etiquetas, .tarifa { display: grid; grid-row: 1 / span 6; grid-template-rows: subgrid; min-width: 0; }
.tarifa { border-left: 1px solid rgb(255 252 247 / 20%); }
.tarifas-etiquetas { background: rgb(255 252 247 / 3%); }
.tarifa-precio { background: rgb(218 180 162 / 7%); }
.tarifas-etiquetas > *, .tarifa > * { margin: 0; padding: 26px 30px; border-top: 1px solid rgb(255 252 247 / 16%); min-width: 0; }
.tarifas-etiquetas > :first-child, .tarifa > :first-child { border-top: 0; }
.tarifas-etiquetas > span { display: flex; align-items: center; color: var(--l-marfil); font-size: 15px; font-weight: 500; letter-spacing: .01em; }

.tarifas-periodo { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tarifas-periodo-titulo { margin: 0 0 10px; color: var(--l-rosado); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.tarifas-periodo button {
  position: relative; align-self: flex-start; padding: 6px 0; border: 0; background: none; cursor: pointer;
  color: rgb(255 252 247 / 55%); font-family: var(--font-ui); font-size: 16px; font-weight: 500; letter-spacing: .02em;
  transition: color .3s ease, padding .45s cubic-bezier(.22, 1, .36, 1);
}
.tarifas-periodo button::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--l-rosado); transition: width .45s cubic-bezier(.22, 1, .36, 1); }
.tarifas-periodo button:hover { color: rgb(255 252 247 / 88%); }
.tarifas-periodo button[aria-pressed='true'] { padding-left: 38px; color: var(--l-marfil); }
.tarifas-periodo button[aria-pressed='true']::before { width: 26px; }
.tarifas-periodo button:focus-visible { outline: 1px solid var(--l-rosado); outline-offset: 4px; }

.tarifa-nombre h3 { color: var(--l-marfil); font-family: var(--font-display); font-size: 38px; font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
.tarifa-nombre p { margin-top: 10px; color: var(--l-rosado); font-size: 14.5px; line-height: 1.5; }
.tarifa-precio p:first-child { display: flex; align-items: baseline; gap: 10px; color: var(--l-marfil); font-size: 15px; }
.tarifa-precio [data-price] { font-family: var(--font-display); font-size: 68px; font-weight: 500; line-height: .9; letter-spacing: -.035em; font-variant-numeric: lining-nums; }
.tarifa-precio .tarifa-factura { margin-top: 12px; color: var(--l-humo); font-size: 14px; line-height: 1.6; }
.tarifa-dato { display: flex; align-items: baseline; gap: 10px; color: var(--l-marfil); }
.tarifa-dato strong { font-family: var(--font-display); font-size: 32px; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums; }
.tarifa-dato small { color: var(--l-humo); font-size: 14px; }
.tarifa-etiqueta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tarifa > .button { display: flex; width: auto; margin: 0; border-top: 1px solid var(--l-raya-oscura); }
.tarifa > .tarifa-accion { display: flex; align-items: center; }
.tarifa > .tarifa-accion .button { width: 100%; }

.tarifas-incluye { display: grid; grid-template-columns: minmax(220px, .95fr) 3fr; gap: 30px; margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--l-raya-oscura); }
.tarifas-incluye h3 { color: var(--l-marfil); font-family: var(--font-display); font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -.015em; }
.tarifas-incluye ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.tarifas-incluye li { padding: 13px 0; border-bottom: 1px solid var(--l-raya-oscura); color: var(--l-humo); font-size: 15px; line-height: 1.5; }
.tarifas-nota { margin-top: 26px; color: var(--l-humo); font-size: 13.5px; line-height: 1.7; }

/* ---------- Dudas ---------- */
:root .faq-layout > div:first-child > p:last-child { font-size: 17px; }
:root .faq-list summary { font-size: 17.5px; padding-block: 26px; }
:root .faq-list details > p { font-size: 16px; }

/* ---------- Contacto: el alta a la izquierda y la llamada en cristal ahumado ---------- */
:root .contact-section::before {
  background: linear-gradient(90deg, rgb(18 17 19 / 80%) 0%, rgb(18 17 19 / 74%) var(--photo-copy-edge), rgb(18 17 19 / 44%) calc(var(--photo-copy-edge) + 260px), rgb(18 17 19 / 40%) 100%);
}
:root .contact-section .section-copy > .button { margin-top: 34px; }
:root .contact-trial { margin-top: 16px; color: var(--l-humo); font-size: 14.5px; line-height: 1.6; }
:root .contact-section .section-copy > .text-link { margin-top: 28px; }
:root .contact-section .contact-card {
  display: flex; flex-direction: column; align-items: flex-start;
  color: var(--l-marfil); background: var(--l-cristal); border: 1px solid rgb(255 252 247 / 20%); box-shadow: none; padding: 48px 44px;
  -webkit-backdrop-filter: var(--l-desenfoque); backdrop-filter: var(--l-desenfoque);
}
:root .contact-card-kicker { color: var(--l-rosado); }
:root .contact-card h3 { color: var(--l-marfil); font-size: 42px; line-height: 1.1; margin: 14px 0 0; }
:root .contact-card-intro { margin-top: 18px; color: var(--l-humo); font-size: 17px; line-height: 1.7; }
:root .contact-card .button { width: 100%; min-height: var(--l-boton); margin-top: 32px; }
:root .contact-card-nota { margin-top: 16px; color: var(--l-humo); font-size: 13.5px; line-height: 1.6; }
:root .contact-card-nota a { color: var(--l-marfil); text-underline-offset: 4px; }

/* ---------- Pie ---------- */
:root .b-footer-column h2 { font-size: 13px; font-weight: 500; letter-spacing: .16em; }
:root .b-footer-column a, :root .b-footer-description, :root .b-footer-promise { font-size: 15px; }
:root .b-footer-link-note, :root .b-footer-ecosystem-note { font-size: 14px; }
:root .b-footer-current { font-size: 12px; padding: 3px 8px; }
:root .b-footer-meta, :root .b-footer-nota { font-size: 13.5px; }
:root .b-footer .b-footer-back-top {
  gap: 10px; min-height: 40px; padding: 0 16px; color: var(--l-marfil); background: transparent;
  border: 1px solid rgb(218 180 162 / 45%); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
:root .b-footer .b-footer-back-top svg { width: 14px; height: 14px; }
:root .b-footer .b-footer-back-top:hover { color: var(--l-noir); background: var(--l-rosado); border-color: var(--l-rosado); }
/* Cuando el pie se apila, el © queda lo último de la página. */
@media (max-width: 650px) {
  :root .b-footer-meta > p { order: 3; }
}

/* ---------- Anchos ---------- */
@media (max-width: 1050px) {
  .tarifas-rejilla { grid-template-columns: minmax(170px, .8fr) repeat(3, minmax(0, 1fr)); }
  .tarifas-etiquetas > *, .tarifa > * { padding: 22px 20px; }
  .tarifa-nombre h3 { font-size: 32px; }
  .tarifa-precio [data-price] { font-size: 56px; }
}

@media (max-width: 860px) {
  :root .plans-heading { grid-template-columns: minmax(0, 1fr); }
  :root .plans-heading > p:last-child { grid-column: 1; grid-row: auto; margin-top: 20px; }
  .tarifas-rejilla { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tarifas-etiquetas, .tarifa { grid-row: auto; grid-template-rows: none; }
  .tarifas-etiquetas > span { display: none; }
  /* El selector de pago se queda bajo la cabecera mientras se recorren los planes, como en Hostelería.
     Necesita que .plans-section use overflow: clip (hidden crearía un contenedor de scroll y lo anularía). */
  .tarifas-etiquetas {
    position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 3; align-self: start;
    background: rgb(18 17 19 / 94%); border-bottom: 1px solid rgb(255 252 247 / 14%);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .tarifas-etiquetas > .tarifas-periodo { padding-block: 14px 10px; }
  /* El selector de pago, alineado con el texto de las tarjetas de debajo. */
  .tarifas-etiquetas > .tarifas-periodo { padding: 0 24px 8px; border: 0; }
  .tarifas-periodo { flex-flow: row wrap; align-items: center; justify-content: flex-start; gap: 6px 26px; }
  .tarifas-periodo-titulo { flex-basis: 100%; margin-bottom: 4px; }
  .tarifas-periodo button[aria-pressed='true'] { padding-left: 0; }
  .tarifas-periodo button::before { top: auto; bottom: 0; }
  .tarifas-periodo button[aria-pressed='true']::before { width: 100%; }
  .tarifa {
    grid-template-columns: minmax(0, 1fr); border: 1px solid rgb(255 252 247 / 18%); background: var(--l-cristal);
    -webkit-backdrop-filter: var(--l-desenfoque); backdrop-filter: var(--l-desenfoque);
  }
  .tarifa > * { padding: 18px 24px; }
  .tarifa > .tarifa-nombre { padding-top: 26px; }
  .tarifa > .tarifa-precio { padding-block: 4px 20px; border-top: 0; }
  .tarifa-precio [data-price] { font-size: 54px; }
  .tarifa-precio .tarifa-factura { font-size: 13.5px; }
  .tarifa-dato { justify-content: space-between; }
  .tarifa-etiqueta { position: static; flex: 1; min-width: 0; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; color: var(--l-humo); font-size: 14.5px; }
  .tarifa-dato strong, .tarifa-dato small { white-space: nowrap; }
  .tarifa-dato strong { font-size: 26px; }
  .tarifa > .tarifa-accion { padding: 20px 24px 24px; }
  .tarifas-incluye { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 44px; }
  .tarifas-incluye ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  :root .brand-demo-card { top: 28px; right: 24px; }
  :root .agenda-section::before { background: linear-gradient(180deg, rgb(18 17 19 / 40%) 0%, rgb(18 17 19 / 46%) 50%, rgb(18 17 19 / 80%) 64%, rgb(18 17 19 / 84%) 100%); }
  :root .intelligence-section::before { background: linear-gradient(180deg, rgb(19 17 19 / 78%) 0%, rgb(19 17 19 / 74%) 50%, rgb(19 17 19 / 40%) 68%, rgb(19 17 19 / 34%) 100%); }
  :root .contact-section::before { background: linear-gradient(180deg, rgb(18 17 19 / 80%) 0%, rgb(18 17 19 / 72%) 40%, rgb(18 17 19 / 46%) 62%, rgb(18 17 19 / 42%) 100%); }
}

@media (max-width: 650px) {
  .tambien-para { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 32px; padding: 22px 0; }
  .tambien-para ul { font-size: 23px; }
  .tambien-para li:not(:last-child)::after { margin-inline: 11px; }
  .tarifas-etiquetas { top: calc(72px + env(safe-area-inset-top, 0px)); }
  :root { --l-cristal: rgb(18 17 19 / 84%); --l-cristal-denso: rgb(18 17 19 / 90%); }
  :root :is(.agenda-section, .intelligence-section, .contact-section)::before { background: rgb(18 17 19 / 84%); }
  :root .agenda-section .salon-agenda { background: rgb(18 17 19 / 86%); }
  :root .salon-agenda-view { display: none; }
  :root .salon-agenda-appointment:nth-child(n + 2) { display: none; }
  :root .tarifas-fondo { display: none; }
  :root .tarifa { background: #1b191a; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* La foto a pantalla completa y la flecha de bajar centrada, sin tocar el botón flotante de llamada. */
  :root .hero { min-height: 100svh; }
  :root .hero-scroll { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); max-width: 200px; width: max-content; font-size: 13px; line-height: 1.45; white-space: normal; }
  .que-es h2 { font-size: clamp(40px, 10.5vw, 50px); line-height: 1.08; }
  .que-es-fila { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; }
  .que-es-fila ul { font-size: 16px; }
  .que-es-fila li:not(:last-child)::after { margin-inline: 10px; }
  :root .hero { padding-top: 112px; }
  /* La etiqueta cabe en una línea: su tamaño sale del ancho útil (pantalla menos los 22 px de cada lado). */
  :root .hero-category { font-size: min(13px, calc((100vw - 44px) / 26.3)); letter-spacing: .1em; white-space: nowrap; margin-bottom: 22px; }
  :root .hero-copy h1 { padding-left: 0; font-size: clamp(42px, 11.4vw, 56px); line-height: 1.04; }
  :root .hero-copy .hero-intro { font-size: 17px; margin-block: 20px 28px; }
  /* El botón deja libre la esquina del botón flotante de llamada. */
  :root .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: min(360px, calc(100% - 76px)); }
  :root .hero-actions .button { width: 100%; min-height: 50px; padding-inline: 16px; font-size: 12.5px; letter-spacing: .12em; }
  /* Cabecera con aire: logo, botón y menú caben con su margen hasta en 360 px. */
  :root .header-inner { gap: 10px; }
  :root .site-header .brand { width: 132px; }
  :root .header-actions { gap: 8px; }
  :root .header-cta { min-height: 40px; padding: 0 12px; font-size: 11px; letter-spacing: .1em; }
  :root :is(.section-kicker, .contact-card-kicker, .demo-access-label) { font-size: 12.5px; letter-spacing: .14em; }
  :root :is(.intelligence-section .section-copy h2, .faq-layout h2) { font-size: clamp(40px, 10.5vw, 50px); line-height: 1.08; }
  :root .brand-demo-card { position: relative; inset: auto; width: 100%; max-width: none; margin: 0; padding: 26px 24px; background: var(--l-noir); border: 0; }
  :root .salon-agenda-header { padding: 26px 22px 22px; }
  :root .salon-agenda-eyebrow { font-size: 12.5px; }
  :root .salon-agenda-columns { gap: 28px; padding: 0 22px 8px; }
  :root .salon-agenda-column, :root .salon-agenda-column + .salon-agenda-column { padding: 0; border-left: 0; }
  :root .salon-agenda-appointment { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: baseline; padding: 14px 0; }
  :root .salon-agenda-time { margin: 0; font-size: 19px; }
  :root .salon-agenda-service { grid-row: auto; }
  :root .salon-agenda-footer { padding: 18px 22px 14px; }
  :root .salon-agenda-note { padding: 0 22px 22px; }
  :root .reputation-section .reputation-visual { grid-template-columns: minmax(0, 1fr); }
  :root .reputation-visual .reputation-scene { grid-column: 1; min-height: 440px; height: 440px; }
  :root .reputation-visual .reputation-scene-copy { max-width: none; right: 24px; left: 24px; bottom: 96px; }
  :root .reputation-visual .reputation-access-card { grid-column: 1; grid-row: 2; position: relative; margin: -64px 16px 0; padding: 30px 24px; border-top: 1px solid rgb(255 255 255 / 58%); }
  :root .intelligence-section .assistant-questions button { font-size: 21px; }
  :root .intelligence-section .assistant-card { padding: 28px 22px; }
  :root .intelligence-section .assistant-card .assistant-header { font-size: 28px; }
  :root .intelligence-section .assistant-card .assistant-question { font-size: 22px; }
  :root .specialty-grid figure { aspect-ratio: 4 / 3; }
  :root .specialty-grid h3 { font-size: 32px; }
  .tarifa > *, .tarifas-etiquetas > .tarifas-periodo { padding-inline: 20px; }
  .tarifas-incluye ul { grid-template-columns: minmax(0, 1fr); }
  :root .contact-section .contact-card { padding: 32px 22px; }
  :root .contact-card h3 { font-size: 36px; }
}

/* ---------- Movimiento del texto (texto.js) ---------- */
:root .palabra { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .03em .18em; margin: -.1em -.03em -.18em; }
:root .palabra > span { display: inline-block; will-change: transform; }
/* Las palabras heredan el color; solo el acento original va en oro rosado. */
:root .hero h1 span, :root .care-inner h2 > .palabra { color: inherit; }
:root .hero h1 .hero-acento { color: var(--logo-accent); }
:root .tarifa-precio [data-price] { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  :root *, :root *::before, :root *::after { transition: none !important; }
  :root .hero-scroll .icon { animation: none; }
}

/* Cada pregunta frecuente es un h3 (buscadores e IA) con el mismo aspecto de siempre. */
.faq-list summary .faq-pregunta { margin: 0; color: inherit; font: inherit; letter-spacing: inherit; }
