/* Tokens públicos configurables desde Administración > Identidad y apariencia. */
:root {
    --site-ink: var(--site-text-primary);
    --site-muted: var(--site-text-secondary);
    --site-sand: color-mix(in srgb, var(--site-text-primary) 16%, var(--site-background-secondary));
    --site-paper: color-mix(in srgb, var(--site-background) 82%, var(--site-background-secondary));
    --site-soft: var(--site-background-secondary);
    --editorial-cream: var(--site-background);
    --editorial-cream-deep: color-mix(in srgb, var(--site-background) 72%, var(--site-background-secondary));
    --editorial-sage: var(--site-background-secondary);
    --editorial-sage-deep: color-mix(in srgb, var(--site-background-secondary) 82%, var(--site-background));
    --editorial-ink: var(--site-text-primary);
    --editorial-muted: var(--site-text-secondary);
    --editorial-line: color-mix(in srgb, var(--site-text-primary) 14%, transparent);
    --dishya-card-background: var(--site-background-secondary);
    --dishya-card-border: var(--site-secondary);
    --dishya-card-text: var(--site-text-primary);
    --dishya-card-accent: var(--site-secondary);
    --dishya-card-accent-surface: color-mix(in srgb, var(--site-text-primary) 88%, var(--site-secondary));
    --dishya-card-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

html body {
    color: var(--site-text-primary);
    background: var(--site-background);
    font-family: var(--site-font-body);
    font-size: var(--site-paragraph-size);
}

.site-header {
    border-bottom-color: color-mix(in srgb, var(--site-text-primary) 12%, transparent);
    color: var(--site-text-primary);
    background: color-mix(in srgb, var(--site-background) 94%, transparent);
}

.site-header__contact {
    color: var(--site-text-secondary);
    background: color-mix(in srgb, var(--site-background-secondary) 72%, transparent);
}

.site-header__contact a,
.site-header__contact span,
.site-navigation a:not(.button),
.site-navigation--mobile summary {
    color: var(--site-text-primary);
}

.site-navigation a:not(.button):hover,
.site-navigation a:not(.button):focus-visible,
.site-navigation .is-active {
    color: var(--site-secondary);
}

.site-navigation a:not(.button):focus-visible,
.site-navigation--mobile summary:focus-visible {
    outline: 2px solid var(--site-secondary);
    outline-offset: 3px;
}

.site-navigation--mobile summary,
.site-navigation--mobile nav {
    border-color: var(--editorial-line);
    background: var(--site-background);
}

.button {
    border-color: var(--site-primary);
    color: #fff;
    background: var(--site-primary);
}

.button--outline {
    border-color: var(--site-secondary);
    color: #fff;
    background: var(--site-secondary);
}

.button:hover,
.button:active,
.button:focus-visible {
    border-color: var(--site-primary);
    color: #fff;
    background: var(--site-primary);
}

.cookie-notice__dismiss:hover,
.cookie-notice__dismiss:active,
.cookie-notice__dismiss:focus-visible {
    background: var(--site-secondary);
}

.button--outline:hover,
.button--outline:active,
.button--outline:focus-visible {
    border-color: var(--site-primary);
    color: #fff;
    background: var(--site-primary);
}

.button:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--site-secondary) 72%, white);
    outline-offset: 3px;
}

.button--outline:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--site-primary) 72%, white);
    outline-offset: 3px;
}

.section--tint,
.section--secondary {
    background: var(--site-background-secondary);
}

.hero,
.page-hero,
.service-detail-hero {
    background: linear-gradient(130deg, var(--site-background) 0%, var(--site-background-secondary) 100%);
}

.home-banner,
.about-home {
    background: var(--site-background);
}

.hero-statement,
.offer-month__inner {
    background: linear-gradient(180deg, var(--site-background) 0%, var(--site-background-secondary) 100%);
}

.public-media-placeholder {
    border-color: var(--site-sand);
    background: linear-gradient(135deg, var(--site-background-secondary), var(--site-background));
    color: var(--site-text-secondary);
}

.site-footer {
    background: color-mix(in srgb, var(--site-primary) 62%, #000);
}

body main h1:not([data-theme-font-locked]),
body main h2:not([data-theme-font-locked]),
body main h3:not([data-theme-font-locked]),
body main h4:not([data-theme-font-locked]),
body main h5:not([data-theme-font-locked]),
body main h6:not([data-theme-font-locked]),
.site-footer h2 {
    font-family: var(--site-font-heading);
}

body main h1:not([data-theme-font-locked]) {
    font-size: var(--site-heading-h1-size);
    line-height: 1.04;
}

body main h2:not([data-theme-font-locked]) {
    font-size: var(--site-heading-h2-size);
    line-height: 1.1;
}

body main h3:not([data-theme-font-locked]) {
    font-size: var(--site-heading-h3-size);
    line-height: 1.2;
}

body main h4:not([data-theme-font-locked]) { font-size: var(--site-heading-h4-size); }
body main h5:not([data-theme-font-locked]) { font-size: var(--site-heading-h5-size); }
body main h6:not([data-theme-font-locked]) { font-size: var(--site-heading-h6-size); }

body main p:not(.eyebrow) {
    font-size: var(--site-paragraph-size);
}

/* Componentes heredados de public.css que aún definen su propia tipografía. */
body main .hero h1,
body main .page-hero h1,
body main .service-detail-hero h1,
body main .article-header h1 {
    font-family: var(--site-font-heading);
    font-size: var(--site-heading-h1-size);
}

body main .section-heading h2,
body main .contact-banner h2,
body main .contact-layout h2,
body main .post-card h2 {
    font-family: var(--site-font-heading);
    font-size: var(--site-heading-h2-size);
}

body main .category-block h3,
body main .service-card h3,
body main .language-content h3,
body main .center-card h3,
body main .rich-content h3 {
    font-family: var(--site-font-heading);
    font-size: var(--site-heading-h3-size);
}

body main .rich-content h1 {
    font-family: var(--site-font-heading);
    font-size: var(--site-heading-h1-size);
}

body main .rich-content h2 {
    font-family: var(--site-font-heading);
    font-size: var(--site-heading-h2-size);
}

body main .hero__copy,
body main .page-hero p:not(.eyebrow),
body main .category-block p,
body main .empty-copy,
body main .service-card p,
body main .post-card p,
body main .article-header__excerpt {
    font-size: var(--site-paragraph-size);
}

/* Anulaciones opcionales de Identidad y apariencia para páginas interiores. */
body main .page-hero h1,
body main .article-header h1,
body main .rich-content h1 {
    color: var(--site-interior-heading-h1-color);
    font-size: var(--site-interior-heading-h1-size);
}

body main .page-hero p:not(.eyebrow),
body main .article-header__excerpt,
body main .rich-content p,
body main .massage-detail__language p,
body main .contact-page .contact-center-card > p,
body main .contact-page .contact-empty {
    color: var(--site-interior-paragraph-color);
    font-size: var(--site-interior-paragraph-size);
}

body main .massage-detail__content > h2,
body main .contact-layout h2,
body main .rich-content h2 {
    color: var(--site-interior-heading-h2-color);
    font-size: var(--site-interior-heading-h2-size);
}

body main .massage-detail__language h3,
body main .contact-page .contact-center-card h3,
body main .rich-content h3 {
    color: var(--site-interior-heading-h3-color);
    font-size: var(--site-interior-heading-h3-size);
}

body main .rich-content h4 {
    color: var(--site-interior-heading-h4-color);
    font-size: var(--site-interior-heading-h4-size);
}

body main .rich-content h5 {
    color: var(--site-interior-heading-h5-color);
    font-size: var(--site-interior-heading-h5-size);
}

body main .rich-content h6 {
    color: var(--site-interior-heading-h6-color);
    font-size: var(--site-interior-heading-h6-size);
}

@media (max-width: 759px) {
    body main h1:not([data-theme-font-locked]) { font-size: min(var(--site-heading-h1-size), clamp(2.15rem, 9vw, 3.75rem)); }
    body main h2:not([data-theme-font-locked]) { font-size: min(var(--site-heading-h2-size), clamp(1.75rem, 7.8vw, 2.75rem)); }
    body main h3:not([data-theme-font-locked]) { font-size: min(var(--site-heading-h3-size), clamp(1.4rem, 6.5vw, 2.2rem)); }
    body main h4:not([data-theme-font-locked]) { font-size: min(var(--site-heading-h4-size), 1.65rem); }
    body main h5:not([data-theme-font-locked]) { font-size: min(var(--site-heading-h5-size), 1.4rem); }
    body main h6:not([data-theme-font-locked]) { font-size: min(var(--site-heading-h6-size), 1.2rem); }
    body main p:not(.eyebrow) { font-size: min(var(--site-paragraph-size), 1rem); }
    body main .hero h1,
    body main .page-hero h1,
    body main .service-detail-hero h1,
    body main .article-header h1 { font-size: min(var(--site-heading-h1-size), clamp(2.15rem, 9vw, 3.75rem)); }
    body main .section-heading h2,
    body main .contact-banner h2,
    body main .contact-layout h2,
    body main .post-card h2 { font-size: min(var(--site-heading-h2-size), clamp(1.75rem, 7.8vw, 2.75rem)); }
    body main .category-block h3,
    body main .service-card h3,
    body main .language-content h3,
    body main .center-card h3,
    body main .rich-content h3 { font-size: min(var(--site-heading-h3-size), clamp(1.4rem, 6.5vw, 2.2rem)); }
    body main .rich-content h1 { font-size: min(var(--site-heading-h1-size), clamp(2.15rem, 9vw, 3.75rem)); }
    body main .rich-content h2 { font-size: min(var(--site-heading-h2-size), clamp(1.75rem, 7.8vw, 2.75rem)); }
    body main .hero__copy,
    body main .page-hero p:not(.eyebrow),
    body main .category-block p,
    body main .empty-copy,
    body main .service-card p,
    body main .post-card p,
    body main .article-header__excerpt { font-size: min(var(--site-paragraph-size), 1rem); }

    body main .page-hero h1,
    body main .article-header h1,
    body main .rich-content h1 { font-size: min(var(--site-interior-heading-h1-size), clamp(2.15rem, 9vw, 3.75rem)); }

    body main .page-hero p:not(.eyebrow),
    body main .article-header__excerpt,
    body main .rich-content p,
    body main .massage-detail__language p,
    body main .contact-page .contact-center-card > p,
    body main .contact-page .contact-empty { font-size: min(var(--site-interior-paragraph-size), 1rem); }

    body main .massage-detail__content > h2,
    body main .contact-layout h2,
    body main .rich-content h2 { font-size: min(var(--site-interior-heading-h2-size), clamp(1.75rem, 7.8vw, 2.75rem)); }

    body main .massage-detail__language h3,
    body main .contact-page .contact-center-card h3,
    body main .rich-content h3 { font-size: min(var(--site-interior-heading-h3-size), clamp(1.4rem, 6.5vw, 2.2rem)); }

    body main .rich-content h4 { font-size: min(var(--site-interior-heading-h4-size), 1.65rem); }
    body main .rich-content h5 { font-size: min(var(--site-interior-heading-h5-size), 1.4rem); }
    body main .rich-content h6 { font-size: min(var(--site-interior-heading-h6-size), 1.2rem); }
}
