/*
Theme Name: Haydee Bonnett Belly Dance
Theme URI: https://www.instagram.com/haydeemarinabonnett/
Author: Escuela de Sensualidad AMAR
Description: Bilingual (English / Spanish) one-page block theme for Haydeé Bonnett, international belly dancer and physician by training. Belly dance where art meets health: classes on Vashon Island and online, Dance & Health, shows for events. Built only with core WordPress blocks, no plugins and no external dependencies.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haydee-bonnett
Tags: one-column, full-site-editing, block-patterns, custom-colors, custom-menu, editor-style, accessibility-ready, translation-ready, wide-blocks
*/

/* ==========================================================================
   ÍNDICE (cada bloque está marcado con un título como este)
   --------------------------------------------------------------------------
   0.  Notas para quien mantiene el sitio
   1.  Base: accesibilidad, foco visible, desplazamiento suave
   2.  Estructura de página y secciones
   3.  Textos reutilizables (antetítulo, títulos, párrafo destacado)
   4.  Botones (WhatsApp, grandes, sobre fondo oscuro)
   5.  Barra superior
   6.  Header: logo, menú, selector EN | ES
   7.  Hero (portada)
   8.  Franja de confianza
   9.  Tarjetas e iconos (uso general)
   10. Sobre Haydeé
   11. Arte y salud (metodología)
   12. Clases
   13. Danza y Salud + nota de salud
   14. Shows
   15. Próximamente – plataforma
   16. Próximos eventos
   17. Cómo funciona
   18. Testimonios
   19. Galería
   20. Preguntas frecuentes
   21. Llamado a la acción final
   22. Footer
   23. Páginas simples (blog, páginas legales, 404)
   24. Responsive (tablet y celular)
   25. Movimiento reducido
   ========================================================================== */

/* ==========================================================================
   0. NOTAS
   - Los colores, fuentes y tamaños viven en theme.json. Aquí se usan con
     variables como var(--wp--preset--color--deep-rose), así que si cambias
     un color en Apariencia → Editor → Estilos, cambia en todo el sitio.
   - Todas las clases propias del tema empiezan con "hb-" (Haydeé Bonnett).
     Se asignan a los bloques en Editor → Bloque → Avanzado → Clases CSS.
   ========================================================================== */

/* ==========================================================================
   1. BASE
   ========================================================================== */
html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Las anclas del menú no quedan escondidas detrás del header fijo. */
[id] {
	scroll-margin-top: 7.5rem;
}

::selection {
	background: var(--wp--preset--color--powder-pink);
	color: var(--wp--preset--color--plum);
}

/* Foco visible y bien contrastado para quien navega con teclado. */
:where(a, button, summary, input, select, textarea, .wp-block-button__link):focus-visible {
	outline: 3px solid var(--wp--preset--color--deep-rose);
	outline-offset: 3px;
	border-radius: 4px;
}

:where(.hb-topbar, .hb-hero, .hb-platform, .hb-footer) :focus-visible {
	outline-color: var(--wp--preset--color--gold);
}

/* Enlaces que abren en pestaña nueva: aviso para lectores de pantalla. */
p a[target="_blank"]::after {
	content: "\2009\2197";
	content: "\2009\2197" / " (opens in a new tab)";
	font-size: 0.85em;
}

:lang(es) p a[target="_blank"]::after {
	content: "\2009\2197" / " (se abre en una pestaña nueva)";
}

/* Títulos repartidos en líneas parejas (sin palabras sueltas al final). */
h1,
h2,
h3,
h4 {
	text-wrap: balance;
}

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

/* ==========================================================================
   2. ESTRUCTURA DE PÁGINA Y SECCIONES
   ========================================================================== */
.wp-site-blocks > .hb-main,
.wp-site-blocks > .hb-site-footer,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

.hb-main > * {
	margin-block: 0;
}

.hb-section {
	position: relative;
	padding-block: var(--wp--preset--spacing--70);
}

.hb-section > * + * {
	margin-block-start: 1.5rem;
}

/* Grupos y columnas internas sin márgenes extra en su primer y último hijo. */
.hb-card > :first-child,
.hb-feature > :first-child,
.hb-detail > :first-child {
	margin-block-start: 0;
}

/* Ornamentos SVG (flor, separador, mandala). */
.hb-ornament {
	display: flex;
	justify-content: center;
	margin-inline: auto;
}

.hb-ornament img {
	display: block;
}

.hb-ornament--title img {
	width: 150px;
}

.hb-ornament--divider img {
	width: min(420px, 80%);
}

/* ==========================================================================
   3. TEXTOS REUTILIZABLES
   ========================================================================== */
.hb-eyebrow {
	margin-block-end: 0;
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--deep-rose);
}

.hb-eyebrow + .hb-section-title,
.hb-eyebrow + .wp-block-heading {
	margin-block-start: 0.5rem;
}

.hb-eyebrow--light {
	color: var(--wp--preset--color--gold);
}

.hb-section-title {
	text-wrap: balance;
}

.hb-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
	text-wrap: pretty;
}

.hb-small-note {
	font-size: var(--wp--preset--font-size--small);
}

.hb-list-title {
	margin-block-end: 0.5rem;
}

/* ==========================================================================
   4. BOTONES
   Color base en theme.json (palo de rosa profundo + texto blanco).
   ========================================================================== */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 52px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* Icono de mensaje antes del texto en los botones de WhatsApp.
   El texto alternativo avisa que se abre en una pestaña nueva. */
.hb-btn-wa .wp-block-button__link::before {
	content: "\00a0";
	content: "\00a0" / "(opens in a new tab)";
	flex: none;
	width: 1.3em;
	height: 1.3em;
	background-color: currentColor;
	-webkit-mask: url("assets/images/icons/chat.svg") center / contain no-repeat;
	mask: url("assets/images/icons/chat.svg") center / contain no-repeat;
}

:lang(es) .hb-btn-wa .wp-block-button__link::before {
	content: "\00a0" / "(se abre en una pestaña nueva)";
}

.hb-btn-small .wp-block-button__link {
	min-height: 44px;
	padding: 0.55rem 1.15rem;
	font-size: 0.9375rem;
}

.hb-btn-large .wp-block-button__link {
	padding: 1.05rem 2.1rem;
}

.hb-btn-xl .wp-block-button__link {
	min-height: 64px;
	padding: 1.2rem 2.6rem;
	font-size: var(--wp--preset--font-size--large);
	box-shadow: 0 16px 34px -18px rgba(142, 59, 70, 0.75);
}

/* Botón con borde blanco (sobre fotos o fondos oscuros). */
.hb-btn-light .wp-block-button__link {
	background-color: transparent;
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
}

.hb-btn-light .wp-block-button__link:hover,
.hb-btn-light .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--deep-rose);
}

/* Botón palo de rosa con borde dorado (sobre fondo ciruela). */
.hb-btn-on-dark .wp-block-button__link {
	border-color: var(--wp--preset--color--gold);
}

.hb-btn-on-dark .wp-block-button__link:hover,
.hb-btn-on-dark .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--cream);
	border-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--deep-rose);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--deep-rose);
	color: var(--wp--preset--color--white);
}

.hb-section-buttons,
.hb-cta__buttons {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* ==========================================================================
   5. BARRA SUPERIOR
   ========================================================================== */
.hb-topbar {
	padding-block: 0.35rem;
	font-size: 0.9375rem;
}

.hb-topbar p {
	margin: 0;
}

.hb-topbar a {
	color: var(--wp--preset--color--cream);
	text-underline-offset: 3px;
}

.hb-topbar a:hover {
	color: var(--wp--preset--color--gold);
}

.hb-topbar__inner {
	gap: 0.5rem 1.5rem;
}

.hb-topbar__phone {
	font-weight: 700;
}

/* Los números de teléfono nunca se cortan en dos líneas. */
a[href^="tel:"] {
	white-space: nowrap;
}

.hb-topbar .wp-block-social-links.is-style-logos-only .wp-social-link,
.hb-footer .wp-block-social-links.is-style-logos-only .wp-social-link {
	color: var(--wp--preset--color--cream);
}

.hb-topbar .wp-block-social-links {
	gap: 0.25rem;
	margin: 0;
	font-size: 1.1rem;
}

.hb-topbar .wp-social-link a {
	padding: 0.45rem;
}

/* ==========================================================================
   6. HEADER
   El header completo (barra + menú) queda fijo arriba al hacer scroll.
   ========================================================================== */
.hb-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .hb-site-header {
	top: 32px;
}

.hb-header {
	padding-block: 0.8rem;
	border-bottom: 1px solid rgba(201, 164, 106, 0.45);
	box-shadow: 0 10px 30px -28px rgba(58, 42, 46, 0.6);
}

.hb-header__inner {
	gap: 1rem 2rem;
}

.hb-brand > * {
	margin: 0;
}

.hb-logo {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.85rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.hb-logo a {
	color: var(--wp--preset--color--deep-rose);
	text-decoration: none;
}

.hb-logo-tagline {
	margin-block-start: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hb-nav {
	flex: 1 1 auto;
}

.hb-nav .wp-block-navigation__container {
	gap: 0.4rem 1.6rem;
}

.hb-nav .wp-block-navigation-item__content {
	padding-block: 0.5rem;
	color: var(--wp--preset--color--plum);
	text-decoration: none;
	font-size: 1rem;
}

.hb-nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--deep-rose);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-color: var(--wp--preset--color--gold);
}

.hb-nav .wp-block-navigation__responsive-container-open,
.hb-nav .wp-block-navigation__responsive-container-close {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--plum);
}

/* Menú desplegado en celular y tablet. */
.hb-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
	background-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--plum);
}

.hb-nav .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 600;
}

.hb-nav .is-menu-open .wp-block-navigation__container {
	gap: 1rem;
	padding-block-start: 1.5rem;
}

.hb-header__actions {
	flex: none;
	gap: 1rem;
}

.hb-header__actions > * {
	margin: 0;
}

/* Selector de idioma EN | ES */
.hb-lang {
	display: flex;
	align-items: center;
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.hb-lang a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: 0.6rem;
	color: var(--wp--preset--color--plum);
	text-decoration: none;
}

.hb-lang a + a {
	border-inline-start: 1px solid var(--wp--preset--color--gold);
}

.hb-lang a:hover,
.hb-lang a[aria-current="page"] {
	color: var(--wp--preset--color--deep-rose);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hb-hero.wp-block-cover {
	min-height: min(90vh, 860px);
	padding-block: clamp(5rem, 12vh, 8rem) clamp(4rem, 9vh, 6rem);
}

.hb-hero .wp-block-cover__inner-container {
	color: var(--wp--preset--color--white);
}

.hb-hero .wp-block-cover__inner-container > * + * {
	margin-block-start: 1.25rem;
}

.hb-ornament--hero img {
	width: 130px;
}

.hb-hero .hb-eyebrow {
	color: var(--wp--preset--color--cream);
	font-size: 1rem;
}

.hb-hero__title {
	color: var(--wp--preset--color--white);
	font-weight: 600;
	line-height: 1.05;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(58, 42, 46, 0.35);
}

.hb-hero__lead {
	max-width: 40rem;
	margin-inline: auto;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--cream);
	text-wrap: pretty;
}

.hb-hero__buttons {
	gap: 1rem;
	margin-block-start: 2rem !important;
}

.hb-hero__note {
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--cream);
}

/* ==========================================================================
   8. FRANJA DE CONFIANZA
   ========================================================================== */
.hb-trust.hb-section {
	padding-block: var(--wp--preset--spacing--60);
}

.hb-trust__title {
	font-size: var(--wp--preset--font-size--large);
	font-style: italic;
	font-weight: 500;
	color: var(--wp--preset--color--plum);
}

.hb-trust .hb-trust__title {
	margin-block-start: 1.5rem;
}

.hb-trust__names {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--deep-rose);
	text-wrap: balance;
}

.hb-trust .hb-trust__names {
	margin-block-start: 0.5rem;
}

.hb-trust__countries {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-wrap: balance;
}

/* ==========================================================================
   9. TARJETAS E ICONOS
   ========================================================================== */
.wp-block-columns.hb-cards {
	gap: clamp(1.25rem, 3vw, 2rem);
	margin-block-start: var(--wp--preset--spacing--60);
}

.hb-card {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background-color: var(--wp--preset--color--white);
	border: 1px solid rgba(227, 168, 160, 0.65);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--wp--custom--shadow--card);
}

.hb-card > * {
	margin-block: 0;
}

.hb-card > :last-child {
	margin-block-start: auto;
}

.hb-card__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.hb-card__link {
	padding-block-start: 0.5rem;
	font-weight: 800;
}

.hb-card__link a {
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.hb-card__link a::after {
	content: "\00a0\2192";
	content: "\00a0\2192" / "";
}

.hb-card__meta {
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--deep-rose);
}

.hb-card__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 16px;
}

/* Icono dentro de un círculo rosa. */
.hb-icon {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin: 0;
	border-radius: 50%;
	background-color: var(--wp--preset--color--blush);
}

.hb-icon img {
	width: 46px;
	height: 46px;
}

/* ==========================================================================
   10. SOBRE HAYDEÉ
   ========================================================================== */
.hb-about__columns {
	gap: clamp(2rem, 6vw, 5rem);
}

.hb-about__photo {
	position: relative;
	isolation: isolate;
	max-width: 460px;
	margin-inline: auto;
}

.hb-about__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 999px 999px 24px 24px;
}

/* Marco dorado desplazado detrás de la foto (efecto arco de escenario). */
.hb-about__photo::after {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	z-index: -1;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 999px 999px 24px 24px;
}

.hb-about__festival {
	padding-block-start: 1rem;
	border-block-start: 1px solid var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-style: italic;
	color: var(--wp--preset--color--deep-rose);
}

.hb-about__festival strong {
	font-weight: 700;
}

/* "Leer biografía completa" (bloque Detalles) */
.hb-bio summary {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0.6rem 1.4rem;
	border: 2px solid var(--wp--preset--color--deep-rose);
	border-radius: var(--wp--custom--radius--pill);
	font-weight: 800;
	color: var(--wp--preset--color--deep-rose);
	cursor: pointer;
	list-style: none;
}

.hb-bio summary::-webkit-details-marker {
	display: none;
}

.hb-bio summary::after {
	content: "+";
	content: "+" / "";
	font-size: 1.3em;
	line-height: 1;
}

.hb-bio[open] summary::after {
	content: "\2013" / "";
}

.hb-bio summary:hover {
	background-color: var(--wp--preset--color--deep-rose);
	color: var(--wp--preset--color--white);
}

.hb-bio[open] {
	padding-block-end: 0.5rem;
}

.hb-bio[open] summary {
	margin-block-end: 1.25rem;
}

/* ==========================================================================
   11. ARTE Y SALUD
   ========================================================================== */
.hb-features.is-layout-grid {
	gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
	margin-block-start: var(--wp--preset--spacing--60);
}

.hb-feature {
	text-align: center;
}

.hb-feature .hb-icon {
	margin-inline: auto;
}

.hb-feature > * + * {
	margin-block-start: 0.75rem;
}

.hb-feature__title {
	margin-block-start: 1.1rem !important;
	font-size: 1.75rem;
}

/* ==========================================================================
   12. CLASES
   ========================================================================== */
.hb-signature {
	margin-block-start: var(--wp--preset--spacing--60) !important;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
	background-color: var(--wp--preset--color--white);
	background-image: url("assets/images/ornament-mandala.svg"), url("assets/images/ornament-mandala.svg");
	background-repeat: no-repeat;
	background-position: left -150px center, right -150px center;
	background-size: 300px;
	border: 1px solid rgba(201, 164, 106, 0.6);
	border-radius: var(--wp--custom--radius--card);
}

.hb-signature > * + * {
	margin-block-start: 0.75rem;
}

.hb-signature__title {
	font-size: var(--wp--preset--font-size--xx-large);
}

.hb-card--media .wp-block-buttons {
	padding-block-start: 0.5rem;
}

/* ==========================================================================
   13. DANZA Y SALUD
   ========================================================================== */
.hb-health__columns {
	gap: clamp(2rem, 6vw, 5rem);
}

.hb-health__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 32px;
	box-shadow: var(--wp--custom--shadow--card);
}

/* Lista con check */
.hb-checklist {
	padding: 0;
	list-style: none;
}

.hb-checklist li {
	position: relative;
	padding-inline-start: 2.25rem;
	margin-block: 0.6rem;
}

.hb-checklist li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.3em;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--blush);
}

.hb-checklist li::after {
	content: "";
	position: absolute;
	inset-inline-start: 0.5rem;
	top: 0.55em;
	width: 0.4rem;
	height: 0.7rem;
	border: solid var(--wp--preset--color--deep-rose);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.hb-details-grid.is-layout-grid {
	gap: 1.25rem;
	margin-block-start: var(--wp--preset--spacing--60);
}

.hb-detail {
	padding: 1.75rem 1.5rem;
	text-align: center;
	background-color: var(--wp--preset--color--white);
	border: 1px solid rgba(227, 168, 160, 0.65);
	border-radius: 20px;
}

.hb-detail .hb-icon {
	margin-inline: auto;
}

.hb-detail > * + * {
	margin-block-start: 0.6rem;
}

.hb-detail__label {
	margin-block-start: 1rem !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hb-detail__value {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.3;
}

/* Nota de salud obligatoria */
.hb-health-note {
	gap: 1rem;
	margin-block-start: var(--wp--preset--spacing--50) !important;
	padding: 1.25rem 1.5rem;
	background-color: var(--wp--preset--color--blush);
	border: 1px solid var(--wp--preset--color--powder-pink);
	border-radius: 16px;
}

.hb-health-note .hb-icon {
	flex: none;
	width: 52px;
	height: 52px;
	background-color: var(--wp--preset--color--white);
}

.hb-health-note .hb-icon img {
	width: 32px;
	height: 32px;
}

.hb-note__text {
	margin: 0;
	font-weight: 700;
	line-height: 1.55;
}

/* ==========================================================================
   14. SHOWS
   ========================================================================== */
.hb-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	padding: 0;
	list-style: none;
}

.hb-tags li {
	padding: 0.4rem 1.1rem;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--blush);
	font-weight: 700;
}

.hb-included {
	padding-inline-start: 1.2rem;
}

.hb-included li {
	margin-block: 0.6rem;
}

.hb-included li::marker {
	color: var(--wp--preset--color--terracotta);
}

.hb-shows .hb-card > :last-child {
	margin-block-start: 0;
}

.hb-mini-gallery.wp-block-gallery,
.hb-gallery.wp-block-gallery {
	--wp--style--unstable-gallery-gap: clamp(0.75rem, 2vw, 1.25rem);
	gap: var(--wp--style--unstable-gallery-gap);
	margin-block-start: var(--wp--preset--spacing--60);
}

.hb-mini-gallery figure.wp-block-image {
	aspect-ratio: 4 / 5;
	border-radius: 20px;
	overflow: hidden;
}

/* ==========================================================================
   15. PRÓXIMAMENTE – PLATAFORMA
   ========================================================================== */
.hb-platform {
	overflow: hidden;
}

.hb-ornament--mandala img {
	width: 150px;
}

.hb-platform__title {
	color: var(--wp--preset--color--cream);
}

.hb-platform .hb-lead {
	color: var(--wp--preset--color--cream);
}

.hb-platform a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--cream);
}

/* ==========================================================================
   16. PRÓXIMOS EVENTOS
   ========================================================================== */
.hb-event {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	height: 100%;
}

.hb-event > * {
	margin-block: 0;
}

.hb-event > .wp-block-buttons {
	margin-block-start: auto;
	padding-block-start: 0.75rem;
}

.hb-event__date {
	align-self: flex-start;
	padding: 0.35rem 1rem;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--blush);
	font-size: 0.9375rem;
	font-weight: 800;
	color: var(--wp--preset--color--deep-rose);
}

.hb-event__place {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
}

.hb-event__place::before {
	content: "";
	flex: none;
	width: 1.2em;
	height: 1.2em;
	background-color: var(--wp--preset--color--terracotta);
	-webkit-mask: url("assets/images/icons/location.svg") center / contain no-repeat;
	mask: url("assets/images/icons/location.svg") center / contain no-repeat;
}

/* ==========================================================================
   17. CÓMO FUNCIONA
   ========================================================================== */
.hb-step {
	position: relative;
	text-align: center;
}

.hb-step > * {
	margin-block: 0;
}

.hb-step > * + * {
	margin-block-start: 0.75rem;
}

.hb-step__number {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-inline: auto;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 50%;
	background-color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 1;
	color: var(--wp--preset--color--deep-rose);
}

.hb-step__title {
	margin-block-start: 1.25rem !important;
}

/* ==========================================================================
   18. TESTIMONIOS
   ========================================================================== */
.hb-testimonial {
	align-items: center;
	text-align: center;
}

.hb-testimonial__photo img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border: 3px solid var(--wp--preset--color--white);
	border-radius: 50%;
	box-shadow: 0 8px 20px -12px rgba(58, 42, 46, 0.6);
}

.hb-testimonial__quote.wp-block-quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.hb-testimonial__quote::before {
	content: "";
	display: block;
	width: 40px;
	height: 34px;
	margin: 0 auto 1rem;
	background: url("assets/images/ornament-quote.svg") center / contain no-repeat;
	opacity: 0.8;
}

.hb-testimonial__quote p {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.4rem;
	font-style: italic;
	line-height: 1.45;
}

.hb-testimonial__quote cite {
	display: block;
	margin-block-start: 1rem;
	font-size: 0.9375rem;
	font-style: normal;
	font-weight: 800;
	color: var(--wp--preset--color--deep-rose);
}

/* ==========================================================================
   19. GALERÍA
   ========================================================================== */
.hb-gallery figure.wp-block-image {
	aspect-ratio: 1;
	border-radius: 20px;
	overflow: hidden;
}

.hb-gallery__more {
	margin-block-start: 2rem !important;
	font-weight: 800;
}

/* ==========================================================================
   20. PREGUNTAS FRECUENTES
   ========================================================================== */
.hb-faq__list {
	max-width: 820px;
	margin-inline: auto;
	margin-block-start: var(--wp--preset--spacing--50) !important;
}

.hb-faq__item {
	margin-block: 0 0.9rem !important;
	background-color: var(--wp--preset--color--white);
	border: 1px solid rgba(227, 168, 160, 0.75);
	border-radius: 16px;
}

.hb-faq__item summary {
	position: relative;
	padding: 1.2rem 4rem 1.2rem 1.5rem;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 800;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
}

.hb-faq__item summary::-webkit-details-marker {
	display: none;
}

.hb-faq__item summary::after {
	content: "+";
	content: "+" / "";
	position: absolute;
	top: 50%;
	inset-inline-end: 1.25rem;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	transform: translateY(-50%);
	border-radius: 50%;
	background-color: var(--wp--preset--color--blush);
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--wp--preset--color--deep-rose);
}

.hb-faq__item[open] summary::after {
	content: "\2013" / "";
}

.hb-faq__item summary:hover {
	color: var(--wp--preset--color--deep-rose);
}

.hb-faq__item > :not(summary) {
	margin: 0;
	padding: 0 1.5rem 1.35rem;
}

/* ==========================================================================
   21. LLAMADO A LA ACCIÓN FINAL
   ========================================================================== */
.hb-cta {
	background-image: url("assets/images/ornament-mandala.svg"), url("assets/images/ornament-mandala.svg");
	background-repeat: no-repeat;
	background-position: left -140px top -140px, right -140px bottom -140px;
	background-size: 380px;
}

.hb-cta__secondary {
	margin-block-start: 2rem !important;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
}

.hb-cta__call {
	font-weight: 700;
}

.hb-cta__call a,
.hb-cta__secondary a {
	text-underline-offset: 4px;
}

/* ==========================================================================
   22. FOOTER
   ========================================================================== */
.hb-footer {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.hb-footer p {
	margin: 0;
}

.hb-footer a {
	color: var(--wp--preset--color--cream);
	text-underline-offset: 3px;
}

.hb-footer a:hover {
	color: var(--wp--preset--color--gold);
}

.hb-footer__top {
	gap: 2.5rem 4rem;
}

.hb-footer__col > * + *,
.hb-footer__brand > * + * {
	margin-block-start: 0.6rem;
}

.hb-logo--footer a {
	color: var(--wp--preset--color--cream);
}

.hb-footer__tagline {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-style: italic;
}

.hb-footer__label {
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
}

.hb-footer .wp-block-social-links {
	gap: 0.5rem 1.25rem;
	margin: 0;
	font-size: 1.05rem;
}

.hb-footer .wp-block-social-links .wp-social-link a {
	padding: 0.35rem 0;
}

.hb-footer .wp-block-social-links.has-visible-labels .wp-block-social-link-label {
	font-size: 1rem;
	font-weight: 700;
}

.hb-footer__bottom {
	margin-block-start: var(--wp--preset--spacing--50) !important;
	padding-block-start: var(--wp--preset--spacing--40);
	border-block-start: 1px solid rgba(201, 164, 106, 0.35);
}

.hb-footer__bottom > * + * {
	margin-block-start: 0.75rem;
}

.hb-footer__note {
	font-size: 0.9375rem;
	font-style: italic;
}

.hb-footer__copy {
	font-size: 0.875rem;
}

/* ==========================================================================
   23. PÁGINAS SIMPLES
   ========================================================================== */
.hb-basic {
	padding-block: var(--wp--preset--spacing--60);
	min-height: 50vh;
}

/* ==========================================================================
   24. RESPONSIVE
   ========================================================================== */

/* Escritorio mediano: se oculta el lema del logo para dar aire al menú. */
@media (max-width: 1240px) {
	.hb-logo-tagline {
		display: none;
	}
}

/* Tablet y celular: el menú pasa a botón "hamburguesa". */
@media (max-width: 1080px) {
	.hb-nav {
		flex: 0 0 auto;
		order: 3;
	}

	.hb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.hb-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.hb-header__actions {
		margin-inline-start: auto;
	}
}

/* Las columnas de WordPress se apilan por debajo de 782 px. */
@media (min-width: 782px) {
	.hb-steps .hb-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 38px;
		left: calc(50% + 52px);
		width: calc(100% + clamp(1.25rem, 3vw, 2rem) - 104px);
		border-top: 1px dashed var(--wp--preset--color--gold);
	}
}

@media (max-width: 781px) {
	.admin-bar .hb-site-header {
		top: 46px;
	}

	.hb-topbar__location {
		display: none;
	}

	.hb-topbar__inner {
		justify-content: center !important;
		flex-wrap: nowrap !important;
		gap: 0.5rem;
	}

	.hb-topbar {
		font-size: 0.875rem;
	}

	.hb-topbar .wp-social-link a {
		padding: 0.35rem;
	}

	.hb-detail {
		padding: 1.25rem 0.9rem;
	}

	.hb-detail__value {
		font-size: 1.2rem;
	}

	.hb-section {
		padding-block: var(--wp--preset--spacing--60);
	}

	.hb-about__photo {
		max-width: 360px;
	}

	.hb-health__media {
		order: -1;
	}

	.hb-health__photo img {
		aspect-ratio: 4 / 3;
	}

	/* Botones de contacto grandes y fáciles de tocar en celular. */
	.hb-hero__buttons,
	.hb-section-buttons,
	.hb-cta__buttons,
	.hb-card__buttons {
		flex-direction: column;
		align-items: stretch !important;
	}

	.hb-hero__buttons .wp-block-button,
	.hb-section-buttons .wp-block-button,
	.hb-cta__buttons .wp-block-button,
	.hb-card__buttons .wp-block-button {
		width: 100%;
	}

	.hb-hero__buttons .wp-block-button__link,
	.hb-section-buttons .wp-block-button__link,
	.hb-cta__buttons .wp-block-button__link,
	.hb-card__buttons .wp-block-button__link {
		width: 100%;
		min-height: 58px;
	}

	.hb-btn-xl .wp-block-button__link {
		padding-inline: 1.25rem;
	}

	.hb-signature {
		background-image: none;
	}

	.hb-cta {
		background-size: 240px;
		background-position: left -110px top -110px, right -110px bottom -110px;
	}

	.hb-footer__top {
		flex-direction: column;
		gap: 2rem;
	}
}

@media (max-width: 600px) {
	.admin-bar .hb-site-header {
		top: 0;
	}

	/* En celular la barra superior muestra solo el teléfono, en una línea
	   (Instagram y Facebook siguen visibles en el footer). */
	.hb-topbar__social {
		display: none !important;
	}

	.hb-header {
		padding-block: 0.6rem;
	}

	.hb-header__inner {
		gap: 0.5rem;
	}

	.hb-logo {
		font-size: 1.5rem;
	}

	.hb-header__actions {
		gap: 0.25rem;
	}

	/* En celular el botón del header queda como un círculo con el icono
	   de mensaje. El texto sigue ahí para lectores de pantalla. */
	.hb-header__cta .wp-block-button__link {
		width: 44px;
		min-height: 44px;
		padding: 0;
		gap: 0;
		font-size: 0;
		letter-spacing: 0;
	}

	.hb-header__cta .wp-block-button__link::before {
		width: 22px;
		height: 22px;
	}

	.hb-lang a {
		padding-inline: 0.45rem;
	}

	.hb-hero.wp-block-cover {
		min-height: 0;
		padding-block: 4rem 3.5rem;
	}

	.hb-trust__names {
		font-size: 1.6rem;
	}

	.hb-faq__item summary {
		padding-inline-start: 1.15rem;
	}

	.hb-faq__item > :not(summary) {
		padding-inline: 1.15rem;
	}
}

/* Celulares muy angostos: logo un poco más chico para que todo entre. */
@media (max-width: 380px) {
	.hb-logo {
		font-size: 1.3rem;
	}
}

/* ==========================================================================
   25. MOVIMIENTO REDUCIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}

	.wp-block-button__link:hover {
		transform: none;
	}
}
