/*
Theme Name: Funeraria San Mateo 
Theme URI: https://voy.digital
Author: Voy.Digital
Author URI: https://voy.digital
Description: Tema personalizado para Funeraria San Mateo.
Version: 1.0
Text Domain: funeraria-sm
*/

:root {
    /* ==================================================
       Breakpoints
       ================================================== */
    --breakpoint-sm: 560px;
    --breakpoint-lg: 980px;

    /* ==================================================
       Hue controls
       ================================================== */
    --hue-primary: 228;
    --hue-gold: 41;
    --hue-neutral: 24;

    /* ==================================================
       Brand colors
       ================================================== */
    --color-primary: hsl(var(--hue-primary) 66% 24%);
    --color-primary-dark: hsl(212 68% 21%);
    --color-primary-deep: hsl(225 75% 11%);
    --color-primary-footer: hsl(225 67% 11%);
    --color-gold: hsl(var(--hue-gold) 77% 45%);
    --color-gold-light: hsl(31 64% 64%);
    --color-gray: hsl(var(--hue-neutral) 8% 63%);
    --color-white: hsl(0 0% 100%);
    --color-black: hsl(0 0% 0%);

    /* ==================================================
       Text colors
       ================================================== */
    --color-text-high: hsl(0 0% 100% / 0.82);
    --color-text-default: hsl(0 0% 100% / 0.78);
    --color-text-muted: hsl(0 0% 100% / 0.74);
    --color-text-soft: hsl(0 0% 100% / 0.72);
    --color-text-faint: var(--color-gray);
    --color-text-subtle: hsl(0 0% 100% / 0.66);

    /* ==================================================
       Surface colors
       ================================================== */
    --color-surface-soft: hsl(0 0% 100% / 0.04);
    --color-surface-card: hsl(0 0% 100% / 0.05);
    --color-surface-elevated: hsl(0 0% 100% / 0.08);
    --color-surface-dark: hsl(0 0% 0% / 0.12);

    /* ==================================================
       Border colors
       ================================================== */
    --color-border-subtle: hsl(0 0% 100% / 0.1);
    --color-border-medium: hsl(0 0% 100% / 0.12);
    --color-border-strong: hsl(0 0% 100% / 0.14);
    --color-border-control: hsl(0 0% 100% / 0.5);
    --color-border-gold-soft: hsl(31 64% 64% / 0.32);
    --color-border-gold: hsl(31 64% 64% / 0.58);
    --color-border-gold-strong: hsl(31 64% 64% / 0.9);

    /* ==================================================
       Utility colors
       ================================================== */
    --color-whatsapp: hsl(133 66% 48%);
    --color-whatsapp-dark: hsl(133 68% 38%);

    /* ==================================================
       Font families
       ================================================== */
    --font-main: "Montserrat", "Segoe UI", Arial, sans-serif;
    --font-ui: "Montserrat", "Segoe UI", Arial, sans-serif;

    /* ==================================================
       Font sizes
       ================================================== */
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-button: 16px;
    --font-size-md: 14px;
    --font-size-menu: 15px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-icon-md: 17px;
    --font-size-icon-lg: 40px;

    /* ==================================================
       Font weights
       ================================================== */
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* ==================================================
       Radius
       ================================================== */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    /* ==================================================
       Motion
       ================================================== */
    --motion-standard: 0.3s ease-in-out;
    --motion-menu: 0.48s cubic-bezier(0.22, 1, 0.36, 1);

    /* ==================================================
       Layout
       ================================================== */
    --layout-container: 1180px;
    --layout-content-narrow: 760px;
    --layout-content-reading: 660px;
    --layout-content-copy: 820px;
    --layout-page-gutter: 24px;

    /* ==================================================
       Borders
       ================================================== */
    --border-subtle: 1px solid var(--color-border-subtle);
    --border-medium: 1px solid var(--color-border-medium);
    --border-strong: 1px solid var(--color-border-strong);
    --border-control: 1px solid var(--color-border-control);
    --border-gold-soft: 1px solid var(--color-border-gold-soft);
    --border-transparent: 1px solid transparent;

    /* ==================================================
       Shadows and glows
       ================================================== */
    --shadow-header: 0 18px 45px color-mix(in srgb, var(--color-black) 28%, transparent);
    --shadow-menu: 0 18px 40px color-mix(in srgb, var(--color-black) 28%, transparent), 0 0 22px hsl(31 64% 64% / 0.16);
    --shadow-glow-soft: 0 0 0 1px hsl(0 0% 100% / 0.04) inset, 0 0 18px hsl(31 64% 64% / 0.18);
    --shadow-glow-hover: 0 0 0 1px hsl(31 64% 64% / 0.16) inset, 0 0 26px hsl(31 64% 64% / 0.28);
    --shadow-glow-primary: 0 10px 28px hsl(31 64% 64% / 0.34), 0 0 22px hsl(31 64% 64% / 0.36);
    --shadow-glow-primary-hover: 0 12px 32px hsl(31 64% 64% / 0.44), 0 0 32px hsl(31 64% 64% / 0.48);
    --shadow-whatsapp: 0 12px 34px color-mix(in srgb, var(--color-black) 26%, transparent), 0 0 28px hsl(133 62% 46% / 0.42);
    --shadow-whatsapp-hover: 0 14px 40px color-mix(in srgb, var(--color-black) 30%, transparent), 0 0 38px hsl(133 62% 46% / 0.58);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--color-primary-deep);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-white);
    font-family: var(--font-ui);
    background-color: var(--color-primary-deep);
    background:
        radial-gradient(circle at top left, hsl(31 64% 64% / 0.22), transparent 34rem),
        radial-gradient(circle at 85% 15%, hsl(var(--hue-gold) 77% 45% / 0.16), transparent 28rem),
        linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 48%, var(--color-primary-deep) 100%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    color: var(--color-white);
    background: var(--color-primary-footer);
    border-bottom: var(--border-strong);
    box-shadow: var(--shadow-header);
    backdrop-filter: blur(14px);
}

.site-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: var(--layout-container);
    min-height: 64px;
    margin: 0 auto;
    padding: 8px 24px;
}

.site-header__brand a {
    display: inline-flex;
    align-items: center;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-header__brand a::after {
    display: none;
    width: 54px;
    height: 2px;
    margin-top: 8px;
    content: "";
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

.site-header__logo {
    display: block;
    width: 148px;
    height: auto;
}

.site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: var(--border-control);
    border-radius: var(--radius-pill);
    background: var(--color-surface-soft);
    cursor: pointer;
    color: var(--color-white);
    font-size: var(--font-size-2xl);
    line-height: 1;
}

.site-header__toggle-icon {
    display: block;
    transition: opacity var(--motion-standard), transform var(--motion-standard);
}

.site-header__toggle-icon--close,
.site-header.is-menu-open .site-header__toggle-icon--open {
    display: none;
}

.site-header.is-menu-open .site-header__toggle-icon--close {
    display: block;
}

.site-header__nav {
    flex: 1 1 auto;
    margin-left: 0;
}

.site-header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header--without-actions .site-header__menu {
    justify-content: flex-end;
}

.site-header__menu .menu-item {
    position: relative;
}

.site-header__menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-default);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-shadow: 0 0 0 transparent;
    transition: color var(--motion-standard), text-shadow var(--motion-standard);
}

.site-header__menu a:hover,
.site-header__menu a:focus {
    color: var(--color-gold-light);
}

.site-header__menu a[aria-disabled="true"],
.site-footer__menu a[aria-disabled="true"] {
    cursor: default;
}

.menu-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    margin: 0;
    font-size: 1em;
    line-height: 1;
    flex: 0 0 auto;
}

.site-header__menu>.current-menu-item>a,
.site-header__menu>.current_page_item>a,
.site-header__menu>.current-menu-ancestor>a,
.site-header__menu>.current-menu-parent>a {
    color: var(--color-gold-light);
    text-shadow:
        0 0 10px hsl(31 64% 64% / 0.62),
        0 0 22px hsl(31 64% 64% / 0.34);
}

.site-header__menu>.current-menu-item::before,
.site-header__menu>.current_page_item::before,
.site-header__menu>.current-menu-ancestor::before,
.site-header__menu>.current-menu-parent::before {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: var(--radius-pill);
    box-shadow: 0 0 12px hsl(31 64% 64% / 0.42);
}

.site-header__menu .menu-item-has-children>a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-header__menu .menu-item-has-children>a::after {
    width: 7px;
    height: 7px;
    content: "";
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--motion-standard);
}

.site-header__submenu-toggle {
    display: none;
}

.site-header__menu .sub-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    z-index: 20;
    min-width: 214px;
    margin: 0;
    padding: 10px 12px;
    list-style: none;
    background:
        radial-gradient(circle at 50% 0, hsl(31 64% 64% / 0.14), transparent 62%),
        linear-gradient(180deg, hsl(0 0% 100% / 0.08), hsl(0 0% 100% / 0.02)),
        linear-gradient(155deg, hsl(var(--hue-primary) 66% 22% / 0.98), hsl(212 68% 18% / 0.98) 58%, hsl(202 74% 15% / 0.98));
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-menu);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity var(--motion-standard), transform var(--motion-standard);
}

.site-header__menu .sub-menu::before {
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    content: "";
    background:
        radial-gradient(circle at 50% 0, hsl(31 64% 64% / 0.14), transparent 62%),
        linear-gradient(180deg, hsl(0 0% 100% / 0.08), hsl(0 0% 100% / 0.02)),
        linear-gradient(155deg, hsl(var(--hue-primary) 66% 22% / 0.98), hsl(212 68% 18% / 0.98) 58%, hsl(202 74% 15% / 0.98));
    border-top: var(--border-gold-soft);
    border-left: var(--border-gold-soft);
    transform: translateX(-50%) rotate(45deg);
}

.site-header__menu .sub-menu .menu-item+.menu-item {
    border-top: var(--border-subtle);
}

.site-header__menu .menu-item-has-children::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 190px;
    height: 24px;
    content: "";
    transform: translateX(-50%);
}

.site-header__menu .sub-menu a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 12px 13px 24px;
    color: hsl(0 0% 100% / 0.92);
    border-radius: var(--radius-sm);
}

.site-header__menu .sub-menu a::before {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 5px;
    height: 5px;
    content: "";
    background: var(--color-gold-light);
    border-radius: var(--radius-pill);
    box-shadow: 0 0 10px hsl(31 64% 64% / 0.44);
    transform: translateY(-50%);
}

.site-header__menu .sub-menu a:hover,
.site-header__menu .sub-menu a:focus {
    color: var(--color-white);
    background: hsl(31 64% 64% / 0.12);
}

.site-header__menu .menu-item-has-children:hover>.sub-menu,
.site-header__menu .menu-item-has-children:focus-within>.sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-header__menu .menu-item-has-children:hover>a::after,
.site-header__menu .menu-item-has-children:focus-within>a::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 58px;
    padding: 0 24px;
    font-family: inherit;
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    white-space: nowrap;
    border: var(--border-transparent);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform var(--motion-standard), box-shadow var(--motion-standard), border-color var(--motion-standard);
}

.button::before {
    display: none;
}

.button__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 auto;
    font-size: var(--font-size-menu);
}

.button>span {
    position: relative;
    z-index: 1;
}

.button--secondary {
    color: var(--color-white);
    background: hsl(213 58% 24%);
    border-color: hsl(213 58% 24%);
    box-shadow: none;
}

.button--primary,
.button--secondary {
    flex-direction: row-reverse;
    border-radius: 16px;
}

.button--secondary .button__icon {
    color: var(--color-white);
}

.button--primary .button__icon,
.button--secondary .button__icon {
    width: auto;
    height: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.button--primary,
.button--featured {
    color: var(--color-primary-dark);
    background: hsl(38 86% 66%);
    border-color: hsl(38 86% 66%);
    box-shadow: none;
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
}

.button--secondary:hover,
.button--secondary:focus {
    background: hsl(213 58% 18%);
    border-color: hsl(213 58% 18%);
    box-shadow: none;
}

.button--primary:hover,
.button--primary:focus,
.button--featured:hover,
.button--featured:focus {
    background: hsl(38 86% 61%);
    border-color: hsl(38 86% 61%);
    box-shadow: none;
}

.site-header__strip {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    min-height: 34px;
    max-height: 56px;
    padding: 8px 24px;
    color: hsl(0 0% 100% / 0.92);
    font-size: var(--font-size-sm);
    white-space: nowrap;
    background:
        linear-gradient(90deg, hsl(220 14% 14%), hsl(218 12% 24%) 48%, hsl(220 14% 14%));
    border-bottom: var(--border-subtle);
    transition: opacity var(--motion-standard), max-height var(--motion-standard), min-height var(--motion-standard), padding var(--motion-standard), border-color var(--motion-standard);
}

.site-header.is-scrolled .site-header__strip {
    min-height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    pointer-events: none;
    border-bottom-color: transparent;
}

.site-header__strip-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: max-content;
    min-width: max-content;
    animation: stripTicker var(--header-strip-duration, 24s) linear infinite;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.site-header__strip:hover .site-header__strip-track,
.site-header__strip:focus-within .site-header__strip-track {
    animation-play-state: paused;
}

.site-header__strip-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 22px;
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
    padding-right: 22px;
}

.site-header__strip-group span {
    flex: 0 0 auto;
}

.site-header__strip-group span+span::before {
    margin-right: 22px;
    color: hsl(0 0% 100% / 0.72);
    content: "-";
}

.help-modal[hidden] {
    display: none;
}

.help-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .72s cubic-bezier(.22, 1, .36, 1);
}

.help-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.help-modal__overlay {
    position: absolute;
    inset: 0;
    background: hsl(225 75% 8% / 0.62);
    opacity: 0;
    backdrop-filter: none;
    transition: opacity .72s cubic-bezier(.22, 1, .36, 1);
}

.help-modal.is-open .help-modal__overlay {
    opacity: 1;
}

.help-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    padding: 26px;
    color: var(--color-white);
    font-family: var(--font-ui);
    background:
        linear-gradient(180deg, hsl(0 0% 100% / 0.1), hsl(0 0% 100% / 0.03)),
        linear-gradient(135deg, hsl(var(--hue-primary) 66% 24% / 0.98), hsl(212 68% 21% / 0.98));
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-menu);
    opacity: 0;
    transform: translateY(18px) scale(.97);
    transition: opacity .78s cubic-bezier(.22, 1, .36, 1), transform .78s cubic-bezier(.22, 1, .36, 1);
}

.help-modal.is-open .help-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.help-modal__dialog h2 {
    margin: 0 42px 18px 0;
    font-size: var(--font-size-xl);
    line-height: 1.2;
}

.help-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: var(--color-white);
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border-medium);
    border-radius: 50%;
    cursor: pointer;
}

.help-modal__close:hover,
.help-modal__close:focus {
    color: var(--color-gold-light);
    border-color: var(--color-border-gold);
}

.help-modal__actions {
    display: grid;
    gap: 10px;
}

.help-modal__action {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--color-text-high);
    background: var(--color-surface-soft);
    border: var(--border-medium);
    border-radius: var(--radius-sm);
    transition: color var(--motion-standard), border-color var(--motion-standard), background var(--motion-standard), transform var(--motion-standard);
}

.help-modal__action i {
    flex: 0 0 auto;
    color: var(--color-gold-light);
    font-size: var(--font-size-lg);
    line-height: 1;
}

.help-modal__action span {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
}

.help-modal__action:hover,
.help-modal__action:focus {
    color: var(--color-white);
    background: var(--color-surface-elevated);
    border-color: var(--color-border-gold);
    transform: translateY(-1px);
}

.has-help-modal-open {
    overflow: hidden;
}

.site-main {
    max-width: var(--layout-container);
    margin: 0 auto;
    padding: 36px 24px 72px;
}

body.home .site-main,
body.front-page .site-main {
    max-width: none;
    padding: 0;
}

.site-main--default-page {
    max-width: none;
    width: 100%;
    padding: 0;
    overflow-x: hidden;
}

.section-inner {
    width: min(calc(100% - (var(--layout-page-gutter) * 2)), var(--layout-container));
    margin-inline: auto;
}

.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(6px);
    transition:
        opacity 0.72s ease,
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.72s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

.site-main--full-width {
    max-width: none;
}

.site-main--normal-width {
    max-width: var(--layout-container);
}

.site-main--reading-width {
    max-width: 820px;
}

.static-page {
    width: 100%;
}

.static-page__header {
    margin: 0 0 clamp(28px, 5vw, 52px);
}

.static-page__header h1 {
    max-width: 980px;
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
}

.static-page__content {
    color: hsl(213 32% 32%);
    font-size: var(--font-size-base);
    line-height: 1.8;
}

.static-page__content>*:first-child {
    margin-top: 0;
}

.static-page__content>*:last-child {
    margin-bottom: 0;
}

.static-page__content :where(p, ul, ol) {
    max-width: 72ch;
}

.site-main--full-width .static-page__content> :where(.alignfull, .wp-block-cover, .wp-block-group.has-background) {
    margin-right: -24px;
    margin-left: -24px;
}

.site-main--reading-width .static-page__header h1,
.site-main--reading-width .static-page__content :where(p, ul, ol) {
    max-width: 100%;
}

.static-page__content :where(h2, h3, h4) {
    margin: 1.5em 0 0.55em;
    color: var(--color-primary-deep);
    line-height: 1.15;
}

.static-page__content a {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.static-page__content :where(img, video, iframe) {
    max-width: 100%;
    height: auto;
}

.static-page--default {
    min-height: 100vh;
    color: hsl(213 34% 28%);
    background: hsl(0 0% 100%);
}

.static-page--default.scroll-reveal,
.static-page--default .scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    visibility: visible;
}

.static-page--light {
    background:
        linear-gradient(180deg, hsl(210 18% 97%), hsl(0 0% 100%) 42%),
        hsl(0 0% 100%);
}

.static-page--dark {
    color: hsl(0 0% 100% / 0.84);
    background:
        radial-gradient(circle at 15% 10%, hsl(31 64% 64% / 0.16), transparent 25rem),
        linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 48%, var(--color-primary-deep) 100%);
}

.static-page__inner {
    width: min(calc(100% - clamp(24px, 5vw, 56px)), var(--layout-container));
    margin-inline: auto;
}

.static-page__hero {
    padding: clamp(44px, 7vw, 86px) 0 clamp(34px, 6vw, 72px);
    border-bottom: 1px solid hsl(213 24% 72% / 0.22);
}

.static-page--dark .static-page__hero {
    border-bottom-color: hsl(0 0% 100% / 0.12);
}

.static-page__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.static-page--no-media .static-page__hero-inner {
    grid-template-columns: minmax(0, 820px);
}

.static-page__hero-copy {
    max-width: 820px;
}

.static-page__hero h1 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    overflow-wrap: break-word;
}

.static-page--dark .static-page__hero h1 {
    color: var(--color-white);
}

.static-page__excerpt {
    max-width: 68ch;
    margin: clamp(14px, 2vw, 22px) 0 0;
    color: hsl(213 31% 34%);
    font-size: clamp(16px, 1.45vw, 20px);
    font-weight: var(--font-weight-medium);
    line-height: 1.7;
}

.static-page--dark .static-page__excerpt {
    color: hsl(0 0% 100% / 0.8);
}

.static-page__media {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: hsl(210 18% 94%);
    border: 1px solid hsl(213 24% 72% / 0.32);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 48px hsl(211 38% 32% / 0.12);
}

.static-page--dark .static-page__media {
    background: hsl(0 0% 100% / 0.08);
    border-color: hsl(31 64% 64% / 0.26);
    box-shadow: var(--shadow-menu);
}

.static-page__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.static-page__body {
    padding: clamp(36px, 6vw, 72px) 0 clamp(52px, 7vw, 92px);
}

.static-page--default .static-page__content {
    color: hsl(213 32% 32%);
    font-size: clamp(15px, 1.12vw, 17px);
    line-height: 1.78;
}

.static-page--dark .static-page__content {
    color: hsl(0 0% 100% / 0.82);
}

.static-page--default .static-page__content > * {
    max-width: min(100%, 840px);
}

.static-page--default .static-page__content > :where(.alignwide) {
    max-width: min(100%, var(--layout-container));
}

.static-page--default .static-page__content > :where(.alignfull) {
    max-width: none;
    width: 100%;
}

.static-page--default .static-page__content :where(h2, h3, h4) {
    color: var(--color-primary-deep);
}

.static-page--dark .static-page__content :where(h2, h3, h4) {
    color: var(--color-white);
}

.static-page--default .static-page__content a {
    color: hsl(31 64% 42%);
}

.static-page--dark .static-page__content a {
    color: var(--color-gold-light);
}

@media (max-width: 820px) {
    .static-page__inner {
        width: min(calc(100% - 28px), var(--layout-container));
    }

    .static-page__hero {
        padding: 42px 0 34px;
    }

    .static-page__hero-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .static-page__hero h1 {
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.08;
    }

    .static-page__excerpt {
        font-size: 16px;
        line-height: 1.62;
    }

    .static-page__media {
        aspect-ratio: 16 / 9;
    }

    .static-page__body {
        padding: 32px 0 54px;
    }
}

@media (max-width: 480px) {
    .static-page__inner {
        width: min(calc(100% - 22px), var(--layout-container));
    }

    .static-page__hero {
        padding: 34px 0 28px;
    }

    .static-page__body {
        padding: 28px 0 46px;
    }

    .static-page--default .static-page__content {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* Privacy policy page. */
.privacy-page {
    max-width: none;
    padding: 0;
    color: var(--color-primary-deep);
    background: var(--color-white);
}

.privacy-page .sample-section {
    border-top: 0;
}

.privacy-page__hero {
    padding: clamp(72px, 8vw, 112px) 0 clamp(54px, 7vw, 88px);
    background:
        radial-gradient(circle at 82% 12%, hsl(31 76% 72% / 0.2), transparent 18rem),
        linear-gradient(180deg, hsl(210 18% 99%), hsl(210 18% 96%));
}

.privacy-page__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
    gap: 44px;
    align-items: center;
}

.privacy-page__hero-copy {
    display: grid;
    justify-items: start;
}

.privacy-page .privacy-page__hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.22;
}

.privacy-page__hero-copy>p:not(.sample-eyebrow) {
    max-width: 700px;
    margin: 22px 0 0;
    color: hsl(213 30% 36%);
    font-size: var(--font-size-lg);
    line-height: 1.75;
}

.privacy-page__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 12px 16px;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    background: hsl(0 0% 100% / 0.8);
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 22px hsl(211 38% 32% / 0.08);
}

.privacy-page__meta i {
    color: hsl(31 64% 48%);
    font-size: var(--font-size-icon-md);
    line-height: 1;
}

.privacy-page__assurance {
    display: grid;
    gap: 18px;
    padding: 28px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-top: 3px solid hsl(31 64% 48%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.privacy-page__assurance-icon,
.privacy-page__summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: hsl(31 64% 48%);
    background: hsl(31 64% 64% / 0.13);
    border: 1px solid hsl(31 64% 48% / 0.2);
    border-radius: var(--radius-pill);
}

.privacy-page__assurance-icon i,
.privacy-page__summary-icon i {
    font-size: 24px;
    line-height: 1;
}

.privacy-page .privacy-page__assurance h2,
.privacy-page .privacy-page__summary-card h2,
.privacy-page .privacy-page__toc h2,
.privacy-page .privacy-page__section h2,
.privacy-page .privacy-page__contact h2 {
    margin: 0;
    color: var(--color-primary-deep);
    line-height: 1.2;
}

.privacy-page .privacy-page__assurance h2,
.privacy-page .privacy-page__summary-card h2 {
    font-size: clamp(24px, 3vw, 30px);
}

.privacy-page__assurance ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.privacy-page__assurance li {
    position: relative;
    padding-left: 24px;
    color: hsl(213 30% 38%);
    line-height: 1.65;
}

.privacy-page__assurance li::before {
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 8px;
    height: 8px;
    content: "";
    background: hsl(31 64% 48%);
    border-radius: 50%;
}

.privacy-page__summary {
    background: hsl(210 18% 98%);
    border-top: 1px solid hsl(212 68% 21% / 0.1);
    border-bottom: 1px solid hsl(212 68% 21% / 0.1);
}

.privacy-page__summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.privacy-page__summary-card {
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 100%;
    padding: 26px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.privacy-page__summary-card p,
.privacy-page__section p,
.privacy-page__section li,
.privacy-page__contact p {
    margin: 0;
    color: hsl(213 30% 38%);
    line-height: 1.75;
    overflow-wrap: break-word;
}

.privacy-page__content {
    background: var(--color-white);
}

.privacy-page__content-grid {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.privacy-page__toc {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 18px;
    padding: 24px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.privacy-page .privacy-page__toc h2 {
    font-size: clamp(20px, 2.6vw, 26px);
}

.privacy-page__toc ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.privacy-page__toc a {
    display: block;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    line-height: 1.45;
    text-decoration: none;
    transition: color var(--motion-standard), transform var(--motion-standard);
}

.privacy-page__toc a:hover,
.privacy-page__toc a:focus {
    color: hsl(31 64% 48%);
    transform: translateX(3px);
}

.privacy-page__article {
    display: grid;
    gap: 24px;
}

.privacy-page__section {
    display: grid;
    gap: 16px;
    padding: 28px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
    scroll-margin-top: 130px;
}

.privacy-page .privacy-page__section h2,
.privacy-page .privacy-page__contact h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(24px, 3vw, 30px);
}

.privacy-page__section ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.privacy-page__section li {
    position: relative;
    padding-left: 24px;
}

.privacy-page__section li::before {
    position: absolute;
    top: 0.76em;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: hsl(31 64% 48%);
    border-radius: 50%;
}

.privacy-page__notice {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    background: hsl(31 64% 64% / 0.12);
    border: 1px solid hsl(31 64% 48% / 0.24);
    border-radius: var(--radius-sm);
}

.privacy-page__notice i {
    color: hsl(31 64% 48%);
    font-size: var(--font-size-xl);
    line-height: 1.2;
}

.privacy-page__contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 10px;
    padding: 28px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.privacy-page__contact .sample-eyebrow {
    color: var(--color-gold-light);
}

.privacy-page .privacy-page__contact h2,
.privacy-page__contact p {
    color: var(--color-primary-deep);
}

.privacy-page__contact p:not(.sample-eyebrow) {
    margin-top: 12px;
    color: hsl(213 30% 38%);
}

.privacy-page__contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 980px) {

    .privacy-page__hero-grid,
    .privacy-page__content-grid,
    .privacy-page__contact {
        grid-template-columns: 1fr;
    }

    .privacy-page__hero h1 {
        font-size: 40px;
    }

    .privacy-page__summary-grid {
        grid-template-columns: 1fr;
    }

    .privacy-page__toc {
        position: static;
    }

    .privacy-page__contact-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .privacy-page__hero {
        padding: 54px 0 42px;
    }

    .privacy-page__hero-copy,
    .privacy-page__contact-actions {
        justify-items: stretch;
    }

    .privacy-page__hero h1 {
        font-size: 34px;
    }

    .privacy-page__hero-copy>p:not(.sample-eyebrow) {
        font-size: var(--font-size-base);
    }

    .privacy-page__meta,
    .privacy-page__contact-actions .button {
        width: 100%;
    }

    .privacy-page__meta {
        justify-content: center;
        border-radius: var(--radius-md);
    }

    .privacy-page__assurance,
    .privacy-page__summary-card,
    .privacy-page__toc,
    .privacy-page__contact {
        padding: 22px;
    }

    .privacy-page__contact-actions {
        display: grid;
    }
}

/* Terms and conditions page. */
.terms-page {
    max-width: none;
    padding: 0;
    color: var(--color-primary-deep);
    background: hsl(210 18% 98%);
}

.terms-page .sample-section {
    border-top: 0;
}

.terms-page__hero {
    padding: 76px 0 58px;
    background:
        linear-gradient(135deg, hsl(210 18% 99%) 0%, hsl(215 26% 94%) 100%);
    border-bottom: 1px solid hsl(212 68% 21% / 0.1);
}

.terms-page__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
    gap: 44px;
    align-items: center;
}

.terms-page__hero-copy {
    display: grid;
    justify-items: start;
}

.terms-page .terms-page__hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.22;
}

.terms-page__hero-copy>p:not(.sample-eyebrow) {
    max-width: 700px;
    margin: 22px 0 0;
    color: hsl(213 30% 36%);
    font-size: var(--font-size-lg);
    line-height: 1.75;
}

.terms-page__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 10px 14px;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    background: hsl(0 0% 100% / 0.78);
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-pill);
}

.terms-page__meta i {
    color: hsl(31 64% 48%);
    font-size: var(--font-size-icon-md);
    line-height: 1;
}

.terms-page__assurance {
    display: grid;
    gap: 18px;
    padding: 28px;
    background:
        linear-gradient(180deg, hsl(0 0% 100%), hsl(210 18% 97%));
    border: 1px solid hsl(213 12% 78%);
    border-top: 3px solid hsl(31 64% 48%);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 42px hsl(211 38% 32% / 0.1);
}

.terms-page__assurance-icon,
.terms-page__summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: hsl(31 64% 48%);
    background: hsl(31 64% 64% / 0.13);
    border: 1px solid hsl(31 64% 48% / 0.2);
    border-radius: var(--radius-pill);
}

.terms-page__assurance-icon i,
.terms-page__summary-icon i {
    font-size: 24px;
    line-height: 1;
}

.terms-page .terms-page__assurance h2,
.terms-page .terms-page__summary-card h2,
.terms-page .terms-page__toc h2,
.terms-page .terms-page__section h2,
.terms-page .terms-page__contact h2 {
    margin: 0;
    color: var(--color-primary-deep);
    line-height: 1.2;
}

.terms-page .terms-page__assurance h2,
.terms-page .terms-page__summary-card h2 {
    font-size: clamp(24px, 3vw, 30px);
}

.terms-page__assurance ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-page__assurance li {
    position: relative;
    padding-left: 24px;
    color: hsl(213 30% 38%);
    line-height: 1.65;
}

.terms-page__assurance li::before {
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 8px;
    height: 8px;
    content: "";
    background: hsl(31 64% 48%);
    border-radius: 50%;
}

.terms-page__summary {
    background: var(--color-white);
}

.terms-page__summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.terms-page__summary-card {
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 100%;
    padding: 26px;
    background:
        linear-gradient(180deg, hsl(210 18% 99%), hsl(214 16% 94%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.terms-page__summary-card p,
.terms-page__section p,
.terms-page__section li,
.terms-page__contact p {
    margin: 0;
    color: hsl(213 30% 38%);
    line-height: 1.75;
    overflow-wrap: break-word;
}

.terms-page__content {
    background: hsl(210 18% 98%);
}

.terms-page__content-grid {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.terms-page__toc {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 18px;
    padding: 22px;
    background: var(--color-white);
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
}

.terms-page .terms-page__toc h2 {
    font-size: clamp(20px, 2.6vw, 26px);
}

.terms-page__toc ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-page__toc a {
    display: block;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    line-height: 1.45;
    text-decoration: none;
    transition: color var(--motion-standard), transform var(--motion-standard);
}

.terms-page__toc a:hover,
.terms-page__toc a:focus {
    color: hsl(31 64% 48%);
    transform: translateX(3px);
}

.terms-page__article {
    display: grid;
    gap: 24px;
}

.terms-page__section {
    display: grid;
    gap: 16px;
    padding: 0 0 28px;
    border-bottom: 1px solid hsl(212 68% 21% / 0.12);
    scroll-margin-top: 130px;
}

.terms-page__section:last-of-type {
    border-bottom: 0;
}

.terms-page .terms-page__section h2,
.terms-page .terms-page__contact h2 {
    font-size: clamp(24px, 3vw, 30px);
}

.terms-page__section ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-page__section li {
    position: relative;
    padding-left: 24px;
}

.terms-page__section li::before {
    position: absolute;
    top: 0.76em;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: hsl(31 64% 48%);
    border-radius: 50%;
}

.terms-page__notice {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    background: hsl(31 64% 64% / 0.12);
    border: 1px solid hsl(31 64% 48% / 0.24);
    border-radius: var(--radius-sm);
}

.terms-page__notice i {
    color: hsl(31 64% 48%);
    font-size: var(--font-size-xl);
    line-height: 1.2;
}

.terms-page__contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 10px;
    padding: 28px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.terms-page__contact .sample-eyebrow {
    color: var(--color-gold-light);
}

.terms-page__contact h2,
.terms-page__contact p {
    color: var(--color-primary-deep);
}

.terms-page__contact p:not(.sample-eyebrow) {
    margin-top: 12px;
    color: hsl(213 30% 38%);
}

.terms-page__contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 980px) {

    .terms-page__hero-grid,
    .terms-page__content-grid,
    .terms-page__contact {
        grid-template-columns: 1fr;
    }

    .terms-page__hero h1 {
        font-size: 40px;
    }

    .terms-page__summary-grid {
        grid-template-columns: 1fr;
    }

    .terms-page__toc {
        position: static;
    }

    .terms-page__contact-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .terms-page__hero {
        padding: 54px 0 42px;
    }

    .terms-page__hero-copy,
    .terms-page__contact-actions {
        justify-items: stretch;
    }

    .terms-page__hero h1 {
        font-size: 34px;
    }

    .terms-page__hero-copy>p:not(.sample-eyebrow) {
        font-size: var(--font-size-base);
    }

    .terms-page__meta,
    .terms-page__contact-actions .button {
        width: 100%;
    }

    .terms-page__meta {
        justify-content: center;
        border-radius: var(--radius-md);
    }

    .terms-page__assurance,
    .terms-page__summary-card,
    .terms-page__toc,
    .terms-page__contact {
        padding: 22px;
    }

    .terms-page__contact-actions {
        display: grid;
    }
}

/* Error 404 page. */
.error-page {
    max-width: none;
    padding: 0;
    color: var(--color-primary-deep);
    background:
        linear-gradient(180deg, hsl(40 35% 96%), hsl(0 0% 100%) 48%),
        hsl(0 0% 100%);
}

.error-page__hero {
    padding: clamp(44px, 6vw, 84px) 0 clamp(28px, 4vw, 52px);
}

.error-page__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.74fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.error-page .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.error-page__content h1 {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--color-primary-deep);
    font-size: clamp(38px, 5.6vw, 68px);
    line-height: 1.02;
    letter-spacing: 0;
}

.error-page__intro {
    max-width: 620px;
    margin: 20px 0 0;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-base);
    line-height: 1.72;
}

.error-page__search {
    display: grid;
    gap: 10px;
    max-width: 690px;
    margin-top: 30px;
}

.error-page__search-label {
    color: hsl(213 45% 30%);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.2;
}

.error-page__search-control {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 8px 8px 8px 18px;
    background: var(--color-white);
    border: 1px solid hsl(213 24% 72% / 0.62);
    border-radius: var(--radius-pill);
    box-shadow:
        0 18px 42px hsl(211 38% 32% / 0.1),
        inset 0 1px 0 hsl(0 0% 100% / 0.9);
}

.error-page__search-control>i {
    color: hsl(31 64% 48%);
    font-size: 22px;
    line-height: 1;
}

.error-page__search-control input {
    width: 100%;
    min-width: 0;
    color: var(--color-primary-deep);
    font: inherit;
    font-size: var(--font-size-md);
    background: transparent;
    border: 0;
    outline: 0;
}

.error-page__search-control input::placeholder {
    color: hsl(213 22% 46% / 0.82);
}

.error-page__search-control .button {
    min-height: 48px;
    padding-inline: 20px;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.error-page__visual {
    position: relative;
    min-height: 430px;
    margin: 0;
    overflow: hidden;
    background: hsl(213 38% 18%);
    border: 1px solid hsl(38 28% 82%);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 58px hsl(211 38% 32% / 0.14);
}

.error-page__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.error-page__visual::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, hsl(225 75% 11% / 0), hsl(225 75% 11% / 0.68)),
        linear-gradient(90deg, hsl(225 75% 11% / 0.38), hsl(225 75% 11% / 0));
    pointer-events: none;
}

.error-page__visual figcaption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 1;
    display: grid;
    gap: 8px;
    color: var(--color-white);
}

.error-page__visual figcaption span {
    color: hsl(38 86% 66%);
    font-size: clamp(54px, 8vw, 96px);
    font-weight: var(--font-weight-extrabold);
    line-height: 0.88;
}

.error-page__visual figcaption strong {
    font-size: var(--font-size-lg);
    line-height: 1.25;
}

.error-page__links {
    padding: 0 0 clamp(62px, 7vw, 96px);
}

.error-page__links-head {
    margin-bottom: 22px;
}

.error-page__links-head h2 {
    margin: 0;
    color: var(--color-primary-deep);
}

.error-page__links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.error-page-link {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    gap: 14px;
    align-items: center;
    min-height: 116px;
    padding: 18px;
    color: var(--color-primary-deep);
    background: var(--color-white);
    border: 1px solid hsl(213 24% 72% / 0.5);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px hsl(211 38% 32% / 0.09);
    transition: transform var(--motion-standard), border-color var(--motion-standard), box-shadow var(--motion-standard);
}

.error-page-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-primary-deep);
    background: hsl(38 86% 66%);
    border-radius: var(--radius-pill);
}

.error-page-link__icon i,
.error-page-link__arrow {
    font-size: 21px;
    line-height: 1;
}

.error-page-link strong,
.error-page-link small {
    display: block;
}

.error-page-link strong {
    font-size: var(--font-size-base);
    line-height: 1.2;
}

.error-page-link small {
    margin-top: 5px;
    color: hsl(213 30% 42%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    line-height: 1.45;
}

.error-page-link__arrow {
    color: hsl(31 64% 48%);
}

.error-page-link:hover,
.error-page-link:focus {
    border-color: hsl(31 64% 48% / 0.58);
    box-shadow: 0 20px 44px hsl(211 38% 32% / 0.13);
    transform: translateY(-2px);
}

@media (max-width: 980px) {

    .error-page__inner,
    .error-page__links-grid {
        grid-template-columns: 1fr;
    }

    .error-page__visual {
        min-height: 320px;
    }

    .error-page__visual img {
        min-height: 320px;
    }
}

@media (max-width: 560px) {
    .error-page__hero {
        padding: 36px 0 28px;
    }

    .error-page__content h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .error-page__search-control {
        grid-template-columns: 22px minmax(0, 1fr);
        border-radius: var(--radius-md);
    }

    .error-page__search-control .button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .error-page__actions .button {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .error-page__visual,
    .error-page__visual img {
        min-height: 280px;
    }

    .error-page-link {
        min-height: 104px;
        padding: 16px;
    }
}

.hero-section {
    position: relative;
    isolation: isolate;
    z-index: 1;
    overflow: visible;
    --hero-section-bottom-pad: clamp(42px, 6vw, 72px);
    padding: clamp(76px, 9vw, 124px) 0 var(--hero-section-bottom-pad);
    background-color: hsl(0 0% 0%);
}

.hero-section::before,
.hero-section::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    transform-origin: center;
    will-change: transform;
}

.hero-section::before {
    z-index: -2;
    background-image: var(--hero-background-image, url("assets/images/hero-banner.webp"));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: heroImageZoomIn 12s ease-out both;
}

.hero-section::after {
    z-index: -1;
    background-image:
        linear-gradient(90deg, hsl(0 0% 0% / 0.76) 0%, hsl(0 0% 0% / 0.66) 45%, hsl(0 0% 0% / 0.42) 74%, hsl(0 0% 0% / 0.34) 100%),
        linear-gradient(180deg, hsl(0 0% 0% / 0.16), hsl(0 0% 0% / 0.34));
    animation: heroImageZoomIn 12s ease-out both;
}

.hero-section__frame {
    position: relative;
    z-index: 1;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

@keyframes heroImageZoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-section::before,
    .hero-section::after {
        animation: none;
        transform: scale(1.04);
    }
}

.hero-section__inner {
    display: block;
}

.hero-section__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 720px;
    padding: 0;
}

.hero-section__eyebrow {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 14px;
    padding: 7px 12px;
    color: var(--color-gold-light);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
    background: hsl(0 0% 100% / 0.06);
    border: var(--border-gold-soft);
    border-radius: var(--radius-pill);
}

.hero-section h1 {
    max-width: 650px;
    margin: 0;
    color: var(--color-white);
    font-size: 42px;
    line-height: 1.3;
}

.hero-section__subtitle {
    max-width: 610px;
    margin: 18px 0 0;
    color: var(--color-white);
    font-size: clamp(17px, 1.6vw, 21px);
    font-weight: 400;
    line-height: 1.5;
}

.hero-section__description {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--color-text-muted);
    font-size: var(--font-size-base);
    line-height: 1.75;
}

.hero-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-section__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hero-section__note {
    margin: 18px 0 0;
    color: var(--color-text-faint);
    font-size: var(--font-size-xs);
    line-height: 1.7;
}

.hero-section__stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    margin-top: clamp(28px, 5vw, 48px);
    margin-bottom: calc(-1 * var(--hero-section-bottom-pad));
    border-top: 0;
    transform: translateY(50%);
}

.hero-section__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 154px;
    padding: 24px 16px 22px;
    text-align: center;
    background:
        radial-gradient(circle at 12% 0%, hsl(205 82% 66% / 0.18), transparent 22rem),
        linear-gradient(180deg, hsl(212 68% 21% / 0.92), hsl(225 67% 11% / 0.96) 72%);
    border: 1px solid hsl(0 0% 100% / 0.14);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 44px hsl(0 0% 0% / 0.18);
    backdrop-filter: blur(12px);
}

.hero-section__stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: var(--color-gold-light);
    background: hsl(31 64% 64% / 0.12);
    border: 1px solid hsl(31 64% 64% / 0.28);
    border-radius: var(--radius-pill);
}

.hero-section__stat-icon i {
    font-size: 23px;
    line-height: 1;
}

.hero-section__stat-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.hero-section__stat strong {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.08em;
    color: var(--color-white);
    font-size: clamp(24px, 2vw, 31px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-section__stat--experience strong,
.hero-section__stat--location strong {
    font-size: clamp(24px, 2vw, 31px);
}

.hero-section__stat-copy>span {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.45;
}

.sample-eyebrow {
    margin: 0 0 8px;
    color: var(--color-gold-light);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.sample-section h2 {
    margin: 0;
    color: var(--color-white);
    font-size: 42px;
    line-height: 1.3;
}

.sample-copy p,
.sample-grid p,
.sample-steps p {
    color: var(--color-text-muted);
    line-height: 1.75;
}

.sample-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.sample-section {
    padding: 78px 0;
    border-top: var(--border-subtle);
}

.sample-section h2 {
    max-width: var(--layout-content-narrow);
}

.sample-grid,
.sample-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.sample-grid article,
.sample-steps article {
    padding: 28px;
    background: var(--color-surface-card);
    border: var(--border-medium);
    border-radius: var(--radius-lg);
}

.sample-grid h3,
.sample-steps h3 {
    margin: 0 0 12px;
    color: var(--color-white);
}

.sample-grid p,
.sample-steps p {
    margin: 0;
}

.sample-steps span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--color-gold-light);
    font-weight: var(--font-weight-extrabold);
}

.services-section {
    background: var(--color-white);
}

.services-section .section-inner {
    padding-top: 2px;
    border-top: 1px solid hsl(212 68% 21% / 0.12);
}

.services-section .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.services-section h2 {
    color: var(--color-primary-deep);
}

.services-section__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
    gap: 28px;
    align-items: end;
}

.services-section__header p:not(.sample-eyebrow) {
    margin: 0;
    color: hsl(213 45% 30%);
    line-height: 1.7;
}

.services-section__carousel-shell {
    position: relative;
    margin-top: 36px;
}

.services-section__carousel {
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.services-section__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--color-white);
    background: hsl(225 75% 11% / 0.48);
    border: var(--border-medium);
    border-color: hsl(0 0% 100% / 0.24);
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 32px hsl(0 0% 0% / 0.22);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--motion-standard), border-color var(--motion-standard), transform var(--motion-standard), opacity var(--motion-standard);
}

.services-section__arrow--prev {
    left: 0;
}

.services-section__arrow--next {
    right: 0;
}

.services-section__arrow i {
    font-size: 30px;
    line-height: 1;
}

.services-section__arrow:hover,
.services-section__arrow:focus {
    background: hsl(214 74% 30% / 0.74);
    border-color: hsl(31 76% 72% / 0.72);
    transform: translateY(-50%) scale(1.04);
}

.services-section__track {
    align-items: stretch;
    padding-bottom: 4px;
}

.service-card {
    display: grid;
    align-content: space-between;
    justify-items: center;
    gap: 22px;
    min-height: 190px;
    padding: 28px 18px 18px;
    text-align: center;
    background: var(--color-surface-card);
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card--plan {
    align-content: stretch;
    justify-items: stretch;
    gap: 0;
    height: auto;
    min-height: 380px;
    padding: 0;
}

.service-card--featured {
    border-color: hsl(38 86% 66%);
    box-shadow:
        0 0 0 1px hsl(38 86% 66% / 0.76),
        0 18px 42px hsl(38 74% 42% / 0.18);
}

.service-card--plan .service-card__media {
    aspect-ratio: 1672 / 941;
    background: hsl(38 34% 92%);
}

.service-card__media {
    position: relative;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    background: hsl(215 44% 18%);
}

.service-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.service-card--plan .service-card__media img {
    object-fit: contain;
    object-position: center;
}

.service-card__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, hsl(225 75% 11% / 0), hsl(225 75% 11% / 0.18));
    pointer-events: none;
}

.service-card__ribbon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    max-width: calc(100% - 38px);
    padding: 7px 16px 7px 18px;
    color: var(--color-primary-dark);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
    background: linear-gradient(135deg, hsl(31 76% 72%), hsl(38 86% 66%));
    border-bottom-right-radius: var(--radius-pill);
    box-shadow: 0 8px 18px hsl(38 74% 42% / 0.24);
}

.service-card__body {
    display: grid;
    align-content: space-between;
    justify-items: start;
    gap: 18px;
    padding: 24px 20px 20px;
    min-height: 250px;
    text-align: left;
    background:
        radial-gradient(circle at 16% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
}

.service-card--plan .service-card__body>div {
    width: 100%;
}

.service-card h3,
.service-card p {
    margin: 0;
}

.service-card h3 {
    color: hsl(213 45% 30%);
    font-size: var(--font-size-lg);
    line-height: 1.15;
}

.service-card p.service-card__meta {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    margin: 0 0 12px;
    padding: 0 12px;
    color: hsl(213 45% 30%);
    font-size: 11px;
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
    text-transform: uppercase;
    background: hsl(213 45% 30% / 0.08);
    border: 1px solid hsl(213 45% 30% / 0.22);
    border-radius: var(--radius-pill);
}

.service-card p {
    margin-top: 8px;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-sm);
    line-height: 1.55;
}

.service-card p.service-card__price {
    display: grid;
    justify-items: end;
    width: 100%;
    margin-top: 16px;
    padding-top: 14px;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-extrabold);
    text-align: right;
    border-top: 1px solid hsl(213 45% 30% / 0.18);
}

.service-card__price span {
    color: hsl(213 30% 42%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

.service-card__price strong {
    display: block;
    margin-top: 3px;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-xl);
    line-height: 1.05;
}

.service-card p.service-card__detail {
    margin-top: 10px;
    color: hsl(213 30% 42%);
}

.service-card--plan p.service-card__detail {
    width: 100%;
    text-align: right;
}

.service-card p.service-card__detail--fixed {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid hsl(213 45% 30% / 0.18);
}

.service-card__button {
    width: 100%;
    min-height: 56px;
    padding-inline: 22px;
    font-size: var(--font-size-button);
}

@media (min-width: 981px) {
    .services-section__carousel-shell {
        padding-inline: 0;
    }

    .services-section__carousel {
        overflow: visible;
    }

    .services-section__track {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px;
        width: 100% !important;
        transform: none !important;
    }

    .services-section__track .service-card {
        width: auto !important;
        margin-right: 0 !important;
    }

    .services-section__dots {
        display: none;
    }

    .testimonials-section__carousel-shell {
        padding-inline: 58px;
    }

    .service-card--plan .service-card__button {
        justify-self: stretch;
    }
}

.services-section__fixed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.service-card--fixed {
    align-content: stretch;
    justify-items: stretch;
    gap: 0;
    min-height: 260px;
    padding: 0;
}

.service-card--wide {
    grid-column: span 2;
}

.service-card--fixed .service-card__media {
    aspect-ratio: 2.1 / 1;
    background: hsl(38 34% 92%);
}

.service-card--fixed .service-card__media img {
    object-fit: contain;
    object-position: center;
}

.service-card--fixed .service-card__body {
    align-content: space-between;
    justify-items: start;
    gap: 18px;
    min-height: 120px;
    padding: 20px 18px 18px;
    text-align: left;
}

.service-card--wide .service-card__media {
    aspect-ratio: 3.1 / 1;
}

@media (min-width: 981px) {
    .service-card--fixed .service-card__button {
        justify-self: end;
    }

    .service-card--wide .service-card__button {
        justify-self: end;
        width: min(100%, 240px);
    }
}

.services-section__dots {
    position: static;
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.services-section__dot {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    opacity: 1;
    background: hsl(213 45% 30% / 0.22);
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: width var(--motion-standard), background var(--motion-standard);
}

.services-section__dot.is-active {
    width: 20px;
    background: hsl(31 64% 48%);
}

.services-section__dot:focus-visible,
.testimonials-carousel-dot:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: 4px;
}

.services-section__arrow.swiper-button-disabled,
.testimonials-section__arrow.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.services-section__actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Services page. */
.services-page {
    max-width: none;
    padding: 0;
    color: var(--color-primary-deep);
    background:
        linear-gradient(180deg, hsl(40 35% 96%), hsl(0 0% 100%) 46%),
        hsl(0 0% 100%);
}

.services-page__summary {
    padding: clamp(38px, 5vw, 62px) 0 24px;
    background: linear-gradient(180deg, hsl(40 35% 96%), hsl(0 0% 100% / 0));
}

.services-page__summary-inner,
.services-page__section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
    gap: 28px;
    align-items: end;
}

.services-page__summary .sample-eyebrow,
.services-page__section-head .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.services-page__summary h1 {
    max-width: 780px;
    margin: 8px 0 0;
    color: var(--color-primary-deep);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: 0;
}

.services-page__summary-copy>p:not(.sample-eyebrow),
.services-page__section-head>p {
    margin: 16px 0 0;
    color: hsl(213 45% 30%);
    line-height: 1.7;
}

.services-page__section-head>p {
    margin: 0;
}

.services-page__summary-actions {
    display: grid;
    gap: 12px;
}

.services-page__summary-actions .button {
    width: 100%;
    min-height: 54px;
}

.services-page__catalog {
    padding: 18px 0 clamp(62px, 7vw, 96px);
}

.services-page__section-head {
    margin-bottom: 24px;
}

.services-page__section-head--complementary {
    margin-top: 44px;
}

.services-page__section-head h2 {
    margin: 0;
    color: var(--color-primary-deep);
}

.services-page__plans-grid,
.services-page__services-grid {
    display: grid;
    gap: 22px;
}

.services-page__plans-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-page__services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-page .service-card {
    background: var(--color-white);
    box-shadow:
        0 18px 42px hsl(211 38% 32% / 0.11),
        inset 0 1px 0 hsl(0 0% 100% / 0.9);
}

.services-page .service-card__button {
    min-height: 54px;
}

.services-page__final-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

@media (max-width: 980px) {

    .services-page__summary-inner,
    .services-page__section-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .services-page__summary-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-page__plans-grid,
    .services-page__services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-page .service-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .services-page__summary {
        padding: 34px 0 20px;
    }

    .services-page__summary h1 {
        font-size: 32px;
        line-height: 1.12;
    }

    .services-page__summary-actions,
    .services-page__plans-grid,
    .services-page__services-grid {
        grid-template-columns: 1fr;
    }

    .services-page__plans-grid,
    .services-page__services-grid {
        gap: 18px;
    }

    .services-page .service-card--wide {
        grid-column: auto;
    }

    .services-page .service-card--fixed .service-card__body {
        justify-items: start;
        text-align: left;
    }

    .services-page__final-actions .button {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* Gratitude cards service page. */
.gratitude-cards-page {
    max-width: none;
    padding: 0;
    color: var(--color-primary-deep);
    background:
        linear-gradient(180deg, hsl(40 35% 96%), hsl(0 0% 100%) 44%),
        hsl(0 0% 100%);
}

.gratitude-cards-hero {
    padding: clamp(40px, 6vw, 76px) 0 clamp(38px, 5vw, 64px);
    background: linear-gradient(180deg, hsl(40 35% 96%), hsl(0 0% 100% / 0));
}

.gratitude-cards-hero__grid,
.gratitude-cards-story__grid {
    display: grid;
    gap: clamp(28px, 5vw, 64px);
}

.gratitude-cards-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    align-items: center;
}

.gratitude-cards-story__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.68fr);
    align-items: start;
}

.gratitude-cards-page .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.gratitude-cards-hero h1,
.gratitude-cards-story h2,
.gratitude-cards-process h2 {
    margin: 0;
    color: var(--color-primary-deep);
    line-height: 1.06;
}

.gratitude-cards-hero h1 {
    max-width: 760px;
    margin-top: 8px;
    font-size: clamp(38px, 5vw, 60px);
}

.gratitude-cards-hero__copy>p,
.gratitude-cards-story__copy>p {
    max-width: 780px;
    margin: 18px 0 0;
    color: hsl(213 45% 30%);
    line-height: 1.72;
}

.gratitude-cards-hero__lead {
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: var(--font-weight-semibold);
}

.gratitude-cards-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.gratitude-cards-hero__actions .button {
    min-height: 54px;
}

.gratitude-cards-hero__visual {
    overflow: hidden;
    margin: 0;
    background: var(--color-white);
    border: 1px solid hsl(38 28% 82%);
    border-radius: var(--radius-md);
    box-shadow:
        0 22px 52px hsl(211 38% 32% / 0.12),
        inset 0 1px 0 hsl(0 0% 100% / 0.86);
}

.gratitude-cards-hero__visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gratitude-cards-hero__visual figcaption {
    margin: 0;
    padding: 16px 18px 18px;
    color: hsl(213 30% 38%);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
}

.gratitude-cards-story {
    padding: clamp(58px, 7vw, 92px) 0;
    background: var(--color-white);
}

.gratitude-cards-story h2,
.gratitude-cards-process h2 {
    margin-top: 8px;
    font-size: clamp(30px, 4vw, 46px);
}

.gratitude-cards-features {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gratitude-cards-feature {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
    background:
        radial-gradient(circle at 0% 0%, hsl(38 76% 72% / 0.14), transparent 8rem),
        hsl(38 34% 97%);
    border: 1px solid hsl(38 26% 81%);
    border-radius: var(--radius-md);
    box-shadow:
        0 14px 28px hsl(211 38% 32% / 0.07),
        inset 0 1px 0 hsl(0 0% 100% / 0.86);
}

.gratitude-cards-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-primary-deep);
    background: hsl(43 72% 80%);
    border-radius: var(--radius-pill);
}

.gratitude-cards-feature__icon i {
    font-size: 22px;
    line-height: 1;
}

.gratitude-cards-feature__content {
    display: grid;
    gap: 6px;
}

.gratitude-cards-feature__content strong {
    color: var(--color-primary-deep);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.25;
}

.gratitude-cards-feature__content span {
    color: hsl(213 30% 38%);
    font-size: var(--font-size-sm);
    line-height: 1.55;
}

.gratitude-cards-process {
    padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 102px);
    background:
        linear-gradient(180deg, hsl(40 35% 96%), hsl(0 0% 100%));
}

.gratitude-cards-process__head {
    max-width: 720px;
}

.gratitude-cards-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.gratitude-cards-step {
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 190px;
    padding: 22px;
    background: var(--color-white);
    border: 1px solid hsl(38 28% 82%);
    border-radius: var(--radius-md);
    box-shadow:
        0 18px 42px hsl(211 38% 32% / 0.09),
        inset 0 1px 0 hsl(0 0% 100% / 0.9);
}

.gratitude-cards-step__number {
    color: hsl(38 64% 48%);
    font-size: 13px;
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0.08em;
    line-height: 1;
}

.gratitude-cards-step p {
    margin: 0;
    color: hsl(213 30% 38%);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.62;
}

@media (max-width: 980px) {

    .gratitude-cards-hero__grid,
    .gratitude-cards-story__grid {
        grid-template-columns: 1fr;
    }

    .gratitude-cards-hero__visual {
        max-width: 680px;
    }

    .gratitude-cards-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .gratitude-cards-hero {
        padding: 34px 0 42px;
    }

    .gratitude-cards-hero h1 {
        font-size: 32px;
        line-height: 1.12;
    }

    .gratitude-cards-story h2,
    .gratitude-cards-process h2 {
        font-size: 30px;
        line-height: 1.14;
    }

    .gratitude-cards-hero__actions,
    .gratitude-cards-hero__actions .button,
    .gratitude-cards-steps {
        width: 100%;
    }

    .gratitude-cards-hero__actions {
        display: grid;
    }

    .gratitude-cards-feature,
    .gratitude-cards-steps {
        grid-template-columns: 1fr;
    }

    .gratitude-cards-step {
        min-height: 0;
    }
}

.obituaries-section__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
    gap: 28px;
    align-items: end;
}

.obituaries-section {
    background: var(--color-white);
}

.obituaries-section .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.obituaries-section h2 {
    color: var(--color-primary-deep);
}

.obituaries-section__header p:not(.sample-eyebrow) {
    margin: 0;
    color: hsl(213 45% 30%);
    line-height: 1.7;
}

.obituaries-section__tools {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.obituaries-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 360px);
    min-height: 46px;
    padding: 0 14px;
    color: var(--color-primary-deep);
    background:
        radial-gradient(circle at 8% 10%, hsl(31 76% 72% / 0.14), transparent 10rem),
        linear-gradient(135deg, hsl(42 62% 98%), hsl(36 48% 96%));
    border: 1px solid hsl(38 58% 78% / 0.82);
    border-radius: var(--radius-pill);
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.92),
        0 12px 26px hsl(211 48% 30% / 0.1);
}

.obituaries-search i {
    flex: 0 0 auto;
    color: hsl(35 66% 56%);
    font-size: var(--font-size-lg);
    line-height: 1;
}

.obituaries-search input {
    width: 100%;
    min-width: 0;
    color: var(--color-primary-deep);
    font: inherit;
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-semibold);
    background: transparent;
    border: 0;
    outline: 0;
}

.obituaries-search input::placeholder {
    color: hsl(213 24% 46% / 0.82);
}

.obituaries-section__empty {
    margin: 22px 0 0;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
}

.obituaries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 24px;
}

.obituary-card {
    position: relative;
    display: grid;
    gap: 20px;
    justify-items: stretch;
    padding: 48px 16px 34px;
    overflow: visible;
    background:
        radial-gradient(circle at 84% 8%, hsl(31 76% 72% / 0.2), transparent 11rem),
        radial-gradient(circle at 6% 22%, hsl(0 0% 100% / 0.08), transparent 13rem),
        linear-gradient(145deg, hsl(212 56% 20% / 0.98), hsl(214 66% 15% / 0.98) 62%, hsl(210 72% 10% / 0.98));
    border: 1px solid hsl(0 0% 100% / 0.12);
    border-radius: 24px;
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.12),
        0 22px 52px hsl(212 72% 7% / 0.34);
}

.obituary-card__badge {
    position: absolute;
    top: -34px;
    right: 28px;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    background:
        radial-gradient(circle at 28% 20%, hsl(0 0% 100% / 0.72), transparent 22%),
        linear-gradient(135deg, hsl(31 76% 72%), var(--color-gold-light) 58%, hsl(31 64% 54%));
    border: 1px solid hsl(35 83% 72% / 0.9);
    border-radius: 50%;
    box-shadow:
        var(--shadow-glow-primary),
        0 16px 32px hsl(31 72% 36% / 0.28);
}

.mourning-ribbon {
    display: block;
    width: 38px;
    height: 38px;
    filter: brightness(0) saturate(100%);
    object-fit: contain;
}

.obituary-card h3 {
    margin: 0 54px 2px 0;
    overflow: hidden;
    color: var(--color-white);
    font-family: var(--font-ui);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.18;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 3px 10px hsl(212 72% 6% / 0.34);
}

.obituary-card__details {
    display: grid;
    gap: 16px;
    width: 100%;
}

.obituary-card__detail {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    height: 96px;
    padding: 14px;
    background:
        radial-gradient(circle at 18% 18%, hsl(35 80% 96% / 0.9), transparent 42%),
        linear-gradient(135deg, hsl(38 56% 97%), hsl(33 40% 92%));
    border: 1px solid hsl(37 30% 78% / 0.74);
    border-radius: 18px;
    color: hsl(213 58% 13%);
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.82),
        0 14px 28px hsl(212 54% 7% / 0.18);
}

.obituary-card__detail p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: hsl(215 10% 25%);
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.obituary-card__detail p span {
    display: block;
}

.obituary-card__detail strong {
    display: block;
    margin-bottom: 4px;
    color: hsl(213 58% 13%);
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
}

.obituary-card__detail i {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: hsl(39 42% 43%);
    font-size: 18px;
    line-height: 1.1;
}

.obituary-card__detail>div {
    position: relative;
    min-width: 0;
    padding-left: 12px;
}

.obituary-card__detail>div::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 1px;
    content: "";
    background: hsl(37 24% 72%);
}

.obituary-card__button {
    justify-self: stretch;
    width: 100%;
    min-height: 56px;
}

.obituary-card__button .button__icon {
    color: currentColor;
}

.obituaries-section__actions {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.about-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
    gap: 38px;
    align-items: stretch;
    padding-top: 2px;
    border-top: 1px solid hsl(212 68% 21% / 0.12);
}

.about-section {
    position: relative;
    z-index: 0;
    padding-top: 104px;
    background: var(--color-white);
}

.about-section .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.about-section h2 {
    color: var(--color-primary-deep);
}

.about-section__content {
    display: grid;
    align-content: center;
    gap: 22px;
    justify-items: start;
    min-height: 440px;
}

.about-section__header {
    display: grid;
    gap: 8px;
}

.about-section__header .sample-eyebrow {
    margin: 0;
}

.about-section__lead,
.about-section__text-block p,
.about-info-card p,
.about-value-card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.about-section__lead {
    max-width: var(--layout-content-reading);
    color: hsl(213 45% 30%);
    font-size: var(--font-size-base);
}

.about-section__text-block {
    display: grid;
    gap: 8px;
}

.about-section__text-block h3,
.about-info-card h3,
.about-value-card h3 {
    margin: 0;
    color: var(--color-white);
    font-size: var(--font-size-base);
}

.about-info-card p,
.about-value-card p {
    color: hsl(0 0% 100% / 0.78);
}

.about-section__media {
    position: relative;
    width: 100%;
    align-self: center;
    aspect-ratio: 1 / 1;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, hsl(31 64% 64% / 0.12), transparent 34%),
        hsl(215 44% 18%);
    border: var(--border-medium);
    border-radius: var(--radius-lg);
}

.about-section__carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-section__carousel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1400ms ease-in-out, transform 6800ms ease-out;
}

.about-section__slide.is-active {
    opacity: 1;
    transform: scale(1.07);
}

.about-section__slide.is-leaving {
    opacity: 0;
    transform: scale(1.07);
}

.about-section__slide:first-child {
    position: relative;
}

.about-section__carousel-button {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--color-white);
    background: hsl(225 75% 11% / 0.48);
    border: var(--border-medium);
    border-color: hsl(0 0% 100% / 0.24);
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 32px hsl(0 0% 0% / 0.22);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--motion-standard), border-color var(--motion-standard), transform var(--motion-standard), opacity var(--motion-standard);
}

.about-section__carousel-button--prev {
    left: 18px;
}

.about-section__carousel-button--next {
    right: 18px;
}

.about-section__carousel-button i {
    font-size: 30px;
    line-height: 1;
}

.about-section__carousel-button:hover,
.about-section__carousel-button:focus {
    background: hsl(214 74% 30% / 0.74);
    border-color: hsl(31 76% 72% / 0.72);
    transform: translateY(-50%) scale(1.04);
}

.about-section__carousel-button:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: 4px;
}

.about-section__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, hsl(225 75% 11% / 0.04), hsl(225 75% 11% / 0.28)),
        radial-gradient(circle at 20% 0, hsl(31 64% 64% / 0.18), transparent 42%);
    pointer-events: none;
}

.about-section__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.about-info-card,
.about-value-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    background: var(--color-primary-dark);
    border: var(--border-medium);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 44px hsl(212 68% 21% / 0.14);
}

.about-info-card {
    gap: clamp(16px, 2vw, 28px);
    align-items: flex-start;
    padding: clamp(22px, 3vw, 34px);
    background:
        radial-gradient(circle at 8% 8%, hsl(31 76% 72% / 0.16), transparent 14rem),
        linear-gradient(135deg, hsl(42 62% 98%), hsl(36 48% 96%));
    border: 1px solid hsl(38 58% 78% / 0.82);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.92),
        0 18px 42px hsl(211 48% 30% / 0.12),
        0 8px 20px hsl(38 52% 60% / 0.13);
}

.about-info-card>span {
    flex: 0 0 auto;
    min-width: 42px;
    padding-top: 1px;
    color: hsl(35 66% 56%);
    font-size: 32px;
    font-weight: var(--font-weight-extrabold);
    line-height: 0.9;
    letter-spacing: -0.05em;
    text-shadow:
        0 2px 0 hsl(0 0% 100% / 0.6),
        0 10px 22px hsl(35 66% 56% / 0.22);
}

.about-info-card div {
    display: grid;
    gap: 8px;
}

.about-info-card h3 {
    color: var(--color-primary-deep);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-extrabold);
}

.about-info-card p {
    color: hsl(213 24% 46%);
    font-size: var(--font-size-base);
    line-height: 1.8;
}

.about-section__values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.about-value-card span {
    color: var(--color-gold-light);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
}

.about-section__note {
    margin: 14px 0 0;
    color: var(--color-text-faint);
    font-size: var(--font-size-xs);
}

.about-page {
    max-width: none;
    padding: 0;
    color: var(--color-primary-deep);
    background: var(--color-white);
}

.about-page .sample-section {
    border-top: 0;
}

.about-page__hero {
    padding: clamp(72px, 8vw, 112px) 0 clamp(54px, 7vw, 88px);
    background:
        radial-gradient(circle at 82% 12%, hsl(31 76% 72% / 0.2), transparent 18rem),
        linear-gradient(180deg, hsl(210 18% 99%), hsl(210 18% 96%));
}

.about-page__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.72fr);
    gap: clamp(34px, 6vw, 72px);
    align-items: center;
}

.about-page__hero-copy {
    display: grid;
    justify-items: start;
}

.about-page__hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.22;
}

.about-page__rule {
    width: 54px;
    height: 3px;
    margin: 24px 0 0;
    background: hsl(31 64% 48%);
    border-radius: var(--radius-pill);
}

.about-page__hero p:not(.sample-eyebrow) {
    max-width: 610px;
    margin: 24px 0 0;
    color: hsl(213 30% 36%);
    font-size: var(--font-size-lg);
    line-height: 1.75;
}

.about-page__hero .button {
    margin-top: 32px;
}

.about-page__hero-media,
.about-page__history-media {
    position: relative;
    overflow: hidden;
    background: hsl(213 20% 90%);
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 22px 52px hsl(211 48% 30% / 0.14);
}

.about-page__hero-media {
    aspect-ratio: 4 / 5;
}

.about-page__history-media {
    aspect-ratio: 5 / 3.1;
}

.about-page__hero-media img,
.about-page__history-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page__hero-media::after,
.about-page__history-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 58%, hsl(212 68% 10% / 0.28));
    pointer-events: none;
}

.about-page__intro {
    background: hsl(210 18% 98%);
    border-top: 1px solid hsl(212 68% 21% / 0.1);
    border-bottom: 1px solid hsl(212 68% 21% / 0.1);
}

.about-page__intro-grid,
.about-page__history-top {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.about-page__intro h2,
.about-page__section-head h2,
.about-page__history h2,
.about-page__mission h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.22;
}

.about-page__intro-copy {
    display: grid;
    gap: 16px;
}

.about-page__intro-copy p,
.about-page-card p,
.about-page__timeline-item p,
.about-page__mission-card p,
.about-page__mission-card li,
.about-page__cta-card p:not(.sample-eyebrow) {
    margin: 0;
    color: hsl(213 30% 38%);
    line-height: 1.7;
}

.about-page__section-head {
    max-width: 700px;
    margin-bottom: 36px;
}

.about-page__cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.about-page-card,
.about-page__mission-card,
.about-page__cta-card {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 26px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.about-page-card {
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.about-page-card__media {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: hsl(210 18% 96%);
    border: 0;
    border-radius: 0;
}

.about-page-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page-card__media--symbol {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 40%, hsl(0 0% 100%), transparent 62%),
        linear-gradient(135deg, hsl(31 64% 64% / 0.12), hsl(210 18% 96%));
}

.about-page-card__media--symbol img {
    width: min(76px, 62%);
    height: min(76px, 62%);
    object-fit: contain;
}

.about-page-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 22px 26px 0;
    color: hsl(31 64% 48%);
    background: hsl(31 64% 64% / 0.13);
    border: 1px solid hsl(31 64% 48% / 0.2);
    border-radius: var(--radius-pill);
}

.about-page-card__icon i {
    font-size: 22px;
    line-height: 1;
}

.about-page-card h3,
.about-page__timeline-item h3,
.about-page__mission-card h3,
.about-page__cta-card h2 {
    margin: 0;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-lg);
    line-height: 1.2;
}

.about-page-card h3 {
    margin-top: 14px;
    padding-inline: 26px;
}

.about-page-card p {
    margin-top: 14px;
    padding: 0 26px 26px;
}

.about-page__history {
    background: var(--color-white);
}

.about-page__history-top {
    align-items: center;
    margin-bottom: 48px;
}

.about-page__pullquote {
    max-width: 560px;
    margin: 24px 0 0;
    padding-left: 18px;
    color: var(--color-primary-deep);
    font-size: clamp(20px, 2.3vw, 27px);
    font-weight: var(--font-weight-bold);
    line-height: 1.45;
    border-left: 3px solid hsl(31 64% 48%);
}

.about-page__timeline {
    position: relative;
    display: grid;
    gap: 0;
    padding-left: 34px;
}

.about-page__timeline::before {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 6px;
    width: 2px;
    content: "";
    background: linear-gradient(180deg, hsl(31 64% 64%), hsl(213 45% 30%));
}

.about-page__timeline-item {
    position: relative;
    display: grid;
    gap: 8px;
    max-width: 760px;
    padding: 0 0 32px;
}

.about-page__timeline-item:last-child {
    padding-bottom: 0;
}

.about-page__timeline-item::before {
    position: absolute;
    top: 4px;
    left: -34px;
    width: 14px;
    height: 14px;
    content: "";
    background: var(--color-white);
    border: 2px solid hsl(31 64% 48%);
    border-radius: 50%;
}

.about-page__timeline-item.is-final::before {
    background: hsl(213 45% 30%);
    border-color: hsl(213 45% 30%);
}

.about-page__mission {
    background: hsl(210 18% 98%);
    border-top: 1px solid hsl(212 68% 21% / 0.1);
    border-bottom: 1px solid hsl(212 68% 21% / 0.1);
}

.about-page__mission-grid,
.about-page__cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-page__mission-card {
    border-top: 3px solid hsl(213 45% 30%);
}

.about-page__mission-card--accent {
    border-top-color: hsl(31 64% 48%);
}

.about-page__mission-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-page__mission-card li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
}

.about-page__mission-card li::before {
    color: hsl(31 64% 48%);
    content: "—";
}

.about-page__banner {
    padding: clamp(62px, 8vw, 92px) 0;
    text-align: center;
    background: var(--color-primary-footer);
}

.about-page__banner .sample-eyebrow {
    color: var(--color-gold-light);
}

.about-page__banner h2 {
    max-width: 840px;
    margin: 0 auto;
    color: var(--color-white);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.32;
}

.about-page__cta {
    background: var(--color-white);
}

.about-page__cta-card {
    align-content: space-between;
}

.about-page__cta-card .button {
    justify-self: start;
    margin-top: 8px;
}

@media (max-width: 980px) {

    .about-page__hero-grid,
    .about-page__intro-grid,
    .about-page__history-top,
    .about-page__mission-grid,
    .about-page__cta-grid {
        grid-template-columns: 1fr;
    }

    .about-page__hero-media {
        width: min(100%, 420px);
        margin-inline: auto;
    }

    .about-page__cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .about-page__hero-copy {
        justify-items: stretch;
    }

    .about-page__hero .button,
    .about-page__cta-card .button {
        width: 100%;
    }

    .about-page__cards-grid {
        grid-template-columns: 1fr;
    }

    .about-page__timeline {
        padding-left: 28px;
    }

    .about-page__timeline::before {
        left: 5px;
    }

    .about-page__timeline-item::before {
        left: -29px;
    }
}

.faq-page {
    max-width: none;
    padding: 0;
    color: var(--color-primary-deep);
    background: var(--color-white);
}

.faq-page .sample-section {
    border-top: 0;
}

.faq-page__hero {
    padding: clamp(72px, 8vw, 112px) 0 clamp(54px, 7vw, 88px);
    background:
        radial-gradient(circle at 82% 12%, hsl(31 76% 72% / 0.2), transparent 18rem),
        linear-gradient(180deg, hsl(210 18% 99%), hsl(210 18% 96%));
}

.faq-page__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.76fr);
    gap: clamp(34px, 6vw, 72px);
    align-items: center;
}

.faq-page__hero-copy {
    display: grid;
    justify-items: start;
}

.faq-page__hero h1 {
    max-width: 840px;
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.22;
}

.faq-page__hero p:not(.sample-eyebrow) {
    max-width: 650px;
    margin: 24px 0 0;
    color: hsl(213 30% 36%);
    font-size: var(--font-size-lg);
    line-height: 1.75;
}

.faq-page__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 16px;
    color: hsl(213 45% 30%);
    background: hsl(0 0% 100% / 0.8);
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 22px hsl(211 38% 32% / 0.08);
}

.faq-page__meta i {
    color: hsl(31 64% 48%);
    font-size: 18px;
}

.faq-page__assurance {
    display: grid;
    gap: 16px;
    padding: 30px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.faq-page__assurance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: hsl(31 64% 48%);
    background: hsl(31 64% 64% / 0.13);
    border: 1px solid hsl(31 64% 48% / 0.2);
    border-radius: var(--radius-pill);
}

.faq-page__assurance-icon i {
    font-size: 24px;
}

.faq-page__assurance h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.2;
}

.faq-page__assurance p {
    margin: 0;
    color: hsl(213 30% 38%);
    line-height: 1.7;
}

.faq-page__highlights {
    background: hsl(210 18% 98%);
    border-top: 1px solid hsl(212 68% 21% / 0.1);
    border-bottom: 1px solid hsl(212 68% 21% / 0.1);
}

.faq-page__highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.faq-page__highlight-card {
    display: grid;
    gap: 12px;
    padding: 26px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.faq-page__highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: hsl(31 64% 48%);
    background: hsl(31 64% 64% / 0.13);
    border: 1px solid hsl(31 64% 48% / 0.2);
    border-radius: var(--radius-pill);
}

.faq-page__highlight-icon i {
    font-size: 20px;
}

.faq-page__highlight-card h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: var(--font-size-lg);
    line-height: 1.2;
}

.faq-page__highlight-card p {
    margin: 0;
    color: hsl(213 30% 38%);
    line-height: 1.7;
}

.faq-page__content {
    background: var(--color-white);
}

.faq-page__content-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.4fr);
    gap: 32px;
    align-items: start;
}

.faq-page__toc {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
    padding: 24px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.faq-page__toc h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(20px, 2.6vw, 24px);
    line-height: 1.2;
}

.faq-page__toc ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-page__toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: hsl(213 45% 30%);
    text-decoration: none;
    background: hsl(0 0% 100% / 0.8);
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-page__toc a:hover,
.faq-page__toc a:focus-visible {
    transform: translateY(-1px);
    border-color: hsl(31 64% 48% / 0.35);
    box-shadow: 0 10px 20px hsl(211 38% 32% / 0.08);
}

.faq-page__groups {
    display: grid;
    gap: 22px;
}

.faq-page__group {
    display: grid;
    gap: 18px;
    padding: 28px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.faq-page__group-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid hsl(212 68% 21% / 0.1);
}

.faq-page__group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: hsl(31 64% 48%);
    background: hsl(31 64% 64% / 0.13);
    border: 1px solid hsl(31 64% 48% / 0.2);
    border-radius: var(--radius-pill);
}

.faq-page__group-icon i {
    font-size: 20px;
}

.faq-page__group-head>div {
    display: grid;
    gap: 6px;
}

.faq-page__group-head h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.2;
}

.faq-page__group-head p {
    margin: 0;
    color: hsl(213 30% 38%);
    line-height: 1.7;
}

.faq-page__accordion {
    display: grid;
    gap: 12px;
}

.faq-page__item {
    overflow: hidden;
    background: hsl(0 0% 100% / 0.75);
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-sm);
}

.faq-page__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    list-style: none;
    cursor: pointer;
    color: var(--color-primary-deep);
    font-weight: var(--font-weight-semibold);
}

.faq-page__item summary::-webkit-details-marker {
    display: none;
}

.faq-page__item[open] summary {
    border-bottom: 1px solid hsl(212 68% 21% / 0.1);
}

.faq-page__answer {
    padding: 0 20px 20px;
}

.faq-page__answer p {
    margin: 0;
    color: hsl(213 30% 38%);
    line-height: 1.7;
}

.faq-page__downloads {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid hsl(212 68% 21% / 0.1);
}

.faq-page__downloads-title {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--color-primary-deep);
    font-size: 14px;
}

.faq-page__downloads-title i {
    color: var(--color-gold);
    font-size: 18px;
}

.faq-page__download-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-page__download-list li {
    margin: 0;
}

.faq-page__download-list a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 9px 11px;
    color: var(--color-primary-deep);
    text-decoration: none;
    background: hsl(0 0% 100% / 0.9);
    border: 1px solid hsl(213 24% 72% / 0.55);
    border-radius: var(--radius-sm);
    transition: color .3s ease-in-out, border-color .3s ease-in-out, box-shadow .3s ease-in-out, transform .3s ease-in-out;
}

.faq-page__download-list a:hover,
.faq-page__download-list a:focus-visible {
    color: var(--color-primary);
    border-color: var(--color-gold-light);
    box-shadow: 0 10px 24px hsl(211 38% 32% / 0.1);
    outline: none;
    transform: translateY(-2px);
}

.faq-page__download-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--color-primary);
    background: hsl(212 60% 94%);
    border-radius: var(--radius-sm);
}

.faq-page__download-icon i {
    font-size: 23px;
    line-height: 1;
}

.faq-page__download-copy {
    display: grid;
    min-width: 0;
}

.faq-page__download-copy strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.faq-page__download-copy small {
    color: hsl(213 20% 48%);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    letter-spacing: .08em;
}

.faq-page__download-action {
    color: var(--color-gold);
    font-size: 20px;
    transition: transform .3s ease-in-out;
}

.faq-page__download-list a:hover .faq-page__download-action,
.faq-page__download-list a:focus-visible .faq-page__download-action {
    transform: translateY(2px);
}

.faq-page__contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    background:
        radial-gradient(circle at 14% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px hsl(211 38% 32% / 0.08);
}

.faq-page__contact h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.2;
}

.faq-page__contact p:not(.sample-eyebrow) {
    margin: 8px 0 0;
    color: hsl(213 30% 38%);
    line-height: 1.7;
}

.faq-page__contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 980px) {

    .faq-page__hero-grid,
    .faq-page__content-grid {
        grid-template-columns: 1fr;
    }

    .faq-page__highlights-grid {
        grid-template-columns: 1fr;
    }

    .faq-page__toc {
        position: static;
    }

    .faq-page__contact {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {

    .faq-page__hero .button,
    .faq-page__contact .button,
    .faq-page__contact-actions .button {
        width: 100%;
    }

    .faq-page__group {
        padding: 24px;
    }

    .faq-page__group-head {
        flex-direction: column;
    }

    .faq-page__contact-actions {
        width: 100%;
    }

    .faq-page__item summary {
        padding: 16px 18px;
    }
}

.sample-copy {
    max-width: var(--layout-content-copy);
}

.testimonials-section {
    background: var(--color-white);
}

.testimonials-section .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.testimonials-section__header {
    max-width: var(--layout-content-narrow);
}

.testimonials-section h2 {
    color: var(--color-primary-deep);
}

.testimonials-section__carousel-shell {
    position: relative;
    margin-top: 28px;
}

.testimonials-section__carousel {
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.testimonials-grid {
    align-items: stretch;
    padding-bottom: 4px;
}

.testimonial-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    height: auto;
    min-height: 330px;
    padding: 24px;
    background:
        radial-gradient(circle at 16% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 12% 78%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.testimonial-card__rating {
    display: flex;
    gap: 3px;
    color: var(--color-gold-light);
    font-size: var(--font-size-sm);
    line-height: 1;
}

.testimonial-card p {
    margin: 0;
    color: hsl(213 45% 30%);
    line-height: 1.65;
}

.testimonial-card__footer {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.testimonial-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--color-primary-dark);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, hsl(31 76% 72%), var(--color-gold-light));
    border-radius: var(--radius-pill);
}

.testimonial-card strong {
    color: hsl(213 45% 30%);
    font-size: var(--font-size-button);
}

.testimonial-card a,
.testimonial-card__source {
    justify-self: end;
    padding: 4px 7px;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-xs);
    background: hsl(213 45% 30% / 0.08);
    border: 1px solid hsl(213 45% 30% / 0.22);
    border-radius: var(--radius-sm);
}

.testimonial-card a:hover,
.testimonial-card a:focus {
    color: hsl(213 45% 30%);
    border-color: hsl(213 45% 30% / 0.36);
}

.testimonials-empty {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: 24px;
    background: var(--color-surface-card);
    border: var(--border-medium);
    border-radius: var(--radius-lg);
}

.testimonials-empty p {
    max-width: 720px;
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.testimonials-section__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.testimonials-section__actions--inline {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 330px;
    margin-top: 0;
    padding: 24px;
    background: var(--color-surface-card);
    border: var(--border-medium);
    border-radius: var(--radius-lg);
}

.testimonials-carousel-dots {
    position: static;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.testimonials-carousel-dot {
    width: 7px;
    height: 7px;
    margin: 0;
    padding: 0;
    opacity: 1;
    background: hsl(213 45% 30% / 0.22);
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: width var(--motion-standard), background var(--motion-standard), transform var(--motion-standard);
}

.testimonials-carousel-dot.is-active {
    width: 18px;
    background: hsl(31 64% 48%);
}

.testimonials-section__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--color-white);
    background: hsl(225 75% 11% / 0.48);
    border: var(--border-medium);
    border-color: hsl(0 0% 100% / 0.24);
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 32px hsl(0 0% 0% / 0.22);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--motion-standard), border-color var(--motion-standard), transform var(--motion-standard), opacity var(--motion-standard);
}

.testimonials-section__arrow--prev {
    left: 0;
}

.testimonials-section__arrow--next {
    right: 0;
}

.testimonials-section__arrow i {
    font-size: 30px;
    line-height: 1;
}

.testimonials-section__arrow:hover,
.testimonials-section__arrow:focus {
    background: hsl(214 74% 30% / 0.74);
    border-color: hsl(31 76% 72% / 0.72);
    transform: translateY(-50%) scale(1.04);
}

.testimonials-section__note {
    margin: 14px 0 0;
    color: var(--color-text-faint);
    font-size: var(--font-size-xs);
}

.contact-section {
    display: block;
    overflow: hidden;
    background-color: hsl(210 46% 96%);
    background-image:
        linear-gradient(90deg, hsl(0 0% 100% / 0.98) 0%, hsl(0 0% 100% / 0.94) 34%, hsl(0 0% 100% / 0.52) 48%, hsl(0 0% 100% / 0) 58%),
        linear-gradient(180deg, hsl(0 0% 100% / 0.18), hsl(0 0% 100% / 0)),
        url("assets/images/hero-container.jpg");
    background-position: left center, center, right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.contact-section__header {
    max-width: 540px;
}

.contact-section .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.contact-section h2 {
    color: var(--color-primary-deep);
}

.contact-section__header p:not(.sample-eyebrow) {
    color: hsl(213 45% 30%);
    line-height: 1.75;
}

.contact-section__body {
    display: grid;
    grid-template-columns: minmax(0, 540px);
    gap: 0;
    align-items: start;
    margin-top: 26px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    max-width: 540px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-form__field {
    display: grid;
    gap: 6px;
}

.contact-form__field--full,
.contact-form__actions {
    grid-column: 1 / -1;
}

.contact-form label {
    color: var(--color-primary-deep);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 13px;
    color: var(--color-primary-deep);
    font: inherit;
    background: hsl(0 0% 100% / 0.78);
    border: 1px solid hsl(36 45% 80% / 0.78);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 24px hsl(211 38% 32% / 0.06);
    outline: none;
    transition: border-color var(--motion-standard), background var(--motion-standard), box-shadow var(--motion-standard);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: hsl(213 18% 48% / 0.72);
}

.contact-form select {
    appearance: none;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: var(--color-white);
    border-color: var(--color-border-gold);
    box-shadow:
        0 0 0 3px hsl(31 64% 64% / 0.14),
        0 14px 28px hsl(211 38% 32% / 0.08);
}

.contact-form__field.is-invalid input,
.contact-form__field.is-invalid select,
.contact-form__field.is-invalid textarea {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px hsl(0 72% 51% / 0.12);
}

.contact-form__field.is-validating input,
.contact-form__field.is-validating select,
.contact-form__field.is-validating textarea {
    border-color: var(--color-border-gold);
}

.contact-form__field-error {
    color: #b91c1c;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

.contact-form__field-error:empty {
    display: none;
}

.contact-form__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
}

.contact-form__field[data-field-group="captcha"] {
    justify-items: start;
    text-align: left;
}

.contact-form__field[data-field-group="captcha"] .g-recaptcha,
.contact-form__field[data-field-group="captcha"] .cf-turnstile {
    margin-inline: 0;
}

.contact-form__field[data-field-group="captcha"] input[type="number"] {
    max-width: 220px;
    text-align: left;
}

@supports selector(:has(*)) {
    .contact-form__field:has(textarea) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .contact-section {
        background-image:
            linear-gradient(180deg, hsl(0 0% 100% / 0.92) 0%, hsl(0 0% 100% / 0.84) 42%, hsl(0 0% 100% / 0.34) 52%, hsl(0 0% 100% / 0) 62%),
            url("assets/images/hero-container.jpg");
        background-position: center, center;
        background-size: cover;
        background-attachment: fixed;
    }
}

.contact-direct {
    display: grid;
    gap: 18px;
    padding: 24px;
    background: var(--color-primary-dark);
    border: var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 44px hsl(212 68% 21% / 0.14);
}

.contact-direct h3 {
    margin: 0;
    color: var(--color-gold-light);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.contact-direct__list {
    display: grid;
    gap: 12px;
}

.contact-direct__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-high);
    font-size: var(--font-size-button);
    line-height: 1.45;
    transition: color var(--motion-standard);
}

.contact-direct__list a:hover,
.contact-direct__list a:focus {
    color: var(--color-white);
}

.contact-direct__list i {
    flex: 0 0 auto;
    color: var(--color-gold-light);
    font-size: var(--font-size-lg);
    line-height: 1;
}

.contact-direct__social {
    display: flex;
    gap: 10px;
}

.contact-direct__social a,
.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: var(--color-gold-light);
    background: var(--color-surface-soft);
    border: var(--border-gold-soft);
    border-radius: var(--radius-pill);
    transition: color var(--motion-standard), border-color var(--motion-standard), background var(--motion-standard), transform var(--motion-standard);
}

.contact-direct__social a:hover,
.contact-direct__social a:focus,
.site-footer__social a:hover,
.site-footer__social a:focus {
    color: var(--color-white);
    background: var(--color-surface-elevated);
    border-color: var(--color-border-gold);
    transform: translateY(-1px);
}

.contact-direct__social i,
.site-footer__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    font-size: var(--font-size-icon-md);
    line-height: 1;
}

.location-section {
    background: var(--color-white);
}

.location-section .section-inner {
    padding-top: 2px;
    border-top: 1px solid hsl(212 68% 21% / 0.12);
}

.location-section .sample-eyebrow {
    color: hsl(31 64% 48%);
}

.location-section h2 {
    color: var(--color-primary-deep);
}

.location-section__header {
    max-width: var(--layout-content-narrow);
}

.location-section__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 24px;
    align-items: stretch;
    margin-top: 30px;
}

.location-map {
    display: grid;
    place-items: center;
    min-height: 420px;
    color: hsl(213 45% 30%);
    text-align: center;
    background:
        linear-gradient(90deg, transparent calc(50% - 1px), hsl(213 45% 30% / 0.12) calc(50% - 1px), hsl(213 45% 30% / 0.12) calc(50% + 1px), transparent calc(50% + 1px)),
        linear-gradient(0deg, transparent calc(50% - 1px), hsl(213 45% 30% / 0.12) calc(50% - 1px), hsl(213 45% 30% / 0.12) calc(50% + 1px), transparent calc(50% + 1px)),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 45% 30% / 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 42px hsl(211 48% 30% / 0.12);
    overflow: hidden;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    border-radius: inherit;
}

.location-map span,
.location-map small {
    grid-column: 1;
    grid-row: 1;
}

.location-map span {
    transform: translateY(-6px);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.location-map small {
    transform: translateY(12px);
    font-size: var(--font-size-xs);
}

.location-section__info {
    display: grid;
    gap: 18px;
    padding: 24px;
    background:
        radial-gradient(circle at 16% 0%, hsl(0 0% 100% / 0.96), transparent 12rem),
        linear-gradient(180deg, hsl(210 18% 98%), hsl(214 16% 92%));
    border: 1px solid hsl(213 45% 30% / 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 42px hsl(211 48% 30% / 0.12);
}

.location-section__info .location-card,
.location-section__info .contact-direct {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.location-section__info .contact-direct {
    padding-top: 18px;
    border-top: 1px solid hsl(213 45% 30% / 0.16);
}

.location-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    background: var(--color-surface-card);
    border: var(--border-medium);
    border-radius: var(--radius-lg);
}

.location-card h3,
.location-card h4 {
    margin: 0;
    color: hsl(31 64% 48%);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
}

.location-card h3 {
    text-transform: uppercase;
}

.location-card__addresses {
    display: grid;
    gap: 10px;
}

.location-card__address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: hsl(213 45% 30%);
    font-size: var(--font-size-button);
    line-height: 1.45;
    transition: color var(--motion-standard);
}

.location-card__address:hover,
.location-card__address:focus {
    color: hsl(213 58% 13%);
}

.location-card__address i {
    flex: 0 0 auto;
    color: hsl(31 64% 48%);
    font-size: var(--font-size-lg);
    line-height: 1;
}

.location-card__hours {
    display: grid;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid hsl(213 45% 30% / 0.16);
}

.location-card__hours dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.location-card__hours div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: hsl(213 30% 42%);
    font-size: var(--font-size-button);
    line-height: 1.45;
}

.location-card__hours dd {
    margin: 0;
    color: hsl(213 45% 30%);
    text-align: right;
}

.location-section .contact-direct h3 {
    color: hsl(31 64% 48%);
}

.location-section .contact-direct__list a {
    color: hsl(213 45% 30%);
}

.location-section .contact-direct__list a:hover,
.location-section .contact-direct__list a:focus {
    color: hsl(213 58% 13%);
}

.location-section .contact-direct__list i {
    color: hsl(31 64% 48%);
}

.location-section .contact-direct__social a {
    color: hsl(31 64% 48%);
    background: hsl(213 45% 30% / 0.08);
    border-color: hsl(213 45% 30% / 0.22);
}

.location-section .contact-direct__social a:hover,
.location-section .contact-direct__social a:focus {
    color: hsl(213 58% 13%);
    background: hsl(213 45% 30% / 0.12);
    border-color: hsl(213 45% 30% / 0.36);
}

.site-footer {
    color: var(--color-text-high);
    background: var(--color-primary-footer);
    border-top: var(--border-medium);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 54px;
    max-width: var(--layout-container);
    margin: 0 auto;
    padding: 48px 24px;
}

.site-footer__logo {
    display: block;
    width: 190px;
    height: auto;
}

.site-footer__brand {
    display: grid;
    justify-items: center;
    width: 190px;
}

.site-footer__social {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 28px;
}

.site-footer__social a {
    color: var(--color-gold-light);
    background: hsl(31 64% 64% / 0.08);
    border-color: var(--color-border-gold);
    box-shadow: none;
}

.site-footer__social a:hover,
.site-footer__social a:focus {
    color: var(--color-white);
    background: hsl(31 64% 64% / 0.14);
    border-color: var(--color-border-gold-strong);
    box-shadow: none;
}

.site-footer__column h2 {
    margin: 0 0 16px;
    color: var(--color-gold-light);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-footer__column ul,
.site-footer__menu {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__column a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-soft);
    font-size: var(--font-size-button);
    transition: color var(--motion-standard);
}

.site-footer__column a:hover,
.site-footer__column a:focus {
    color: var(--color-white);
}

.site-footer__menu .sub-menu {
    display: none;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--layout-container);
    margin: 0 auto;
    padding: 14px 24px 18px;
    color: var(--color-text-faint);
    font-size: var(--font-size-xs);
    border-top: var(--border-subtle);
}

.site-footer__bottom p {
    margin: 0;
}

.floating-whatsapp {
    position: fixed;
    right: 0;
    top: 58%;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 62px;
    min-height: 60px;
    padding: 8px 16px 8px 12px;
    color: var(--color-white);
    background:
        radial-gradient(circle at 20% 18%, hsl(0 0% 100% / 0.28), transparent 22%),
        linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    box-shadow: var(--shadow-whatsapp);
    overflow: hidden;
    transition: width var(--motion-standard), box-shadow var(--motion-standard);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
    width: 244px;
    box-shadow: var(--shadow-whatsapp-hover);
}

.floating-whatsapp__icon {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-icon-lg);
    line-height: 1;
    flex: 0 0 auto;
}

.floating-whatsapp__content {
    display: grid;
    gap: 2px;
    min-width: 150px;
    line-height: 1.05;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity var(--motion-standard), transform var(--motion-standard);
}

.floating-whatsapp:hover .floating-whatsapp__content,
.floating-whatsapp:focus .floating-whatsapp__content {
    opacity: 1;
    transform: translateX(0);
}

.floating-whatsapp__content span {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.floating-whatsapp__content strong {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-extrabold);
}

.floating-back-top {
    position: fixed;
    left: 24px;
    right: auto;
    bottom: 28px;
    z-index: 940;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: var(--color-primary-deep);
    background:
        radial-gradient(circle at 28% 18%, hsl(0 0% 100% / 0.26), transparent 24%),
        linear-gradient(135deg, hsl(33 82% 68%), hsl(35 82% 60%));
    border: 1px solid hsl(35 83% 72% / 0.9);
    border-radius: var(--radius-pill);
    box-shadow: 0 14px 26px hsl(31 62% 42% / 0.22);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.94);
    transition: opacity var(--motion-standard), transform var(--motion-standard), box-shadow var(--motion-standard);
}

.floating-back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.floating-back-top:hover,
.floating-back-top:focus {
    box-shadow: 0 16px 30px hsl(31 62% 36% / 0.26);
    transform: translateY(-2px) scale(1.02);
}

.floating-back-top:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: 4px;
}

.floating-back-top i {
    font-size: 26px;
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
}

@media (hover: none),
(pointer: coarse) {
    .site-header {
        backdrop-filter: none;
        box-shadow: 0 10px 28px color-mix(in srgb, var(--color-black) 22%, transparent);
    }

    .hero-section__slide,
    .about-section__slide {
        transform: none;
        transition: opacity 520ms ease-in-out;
    }

    .hero-section__slide.is-active,
    .hero-section__slide.is-leaving,
    .about-section__slide.is-active,
    .about-section__slide.is-leaving {
        transform: none;
    }

    .floating-whatsapp {
        box-shadow: 0 8px 22px color-mix(in srgb, var(--color-black) 22%, transparent);
    }
}

@media (max-width: 980px) {

    .hero-section h1,
    .sample-section h2,
    .about-page__hero h1 {
        text-wrap: balance;
    }

    .sample-section h2 {
        font-size: 36px;
        line-height: 1.18;
    }

    .about-page__hero h1 {
        font-size: 36px;
        line-height: 1.18;
    }

    .site-header__main {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 0 16px;
        min-height: 88px;
        padding: 20px;
    }

    .site-header.is-menu-open .site-header__main {
        gap: 10px 16px;
    }

    .site-header__logo {
        width: 132px;
    }

    .site-header__toggle {
        grid-column: 3;
        display: inline-flex;
        margin-left: auto;
    }

    .site-header__nav {
        grid-column: 1 / -1;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        visibility: hidden;
        transition:
            max-height var(--motion-menu),
            opacity var(--motion-menu),
            transform var(--motion-menu),
            padding var(--motion-menu),
            border-color var(--motion-menu),
            visibility 0s linear 0.48s;
    }

    .site-header__nav {
        display: flex;
    }

    .site-header__actions {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        justify-self: end;
        justify-content: flex-end;
        width: auto;
        max-height: none;
        overflow: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .site-header.is-menu-open .site-header__nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
        transition:
            max-height var(--motion-menu),
            opacity var(--motion-menu),
            transform var(--motion-menu),
            padding var(--motion-menu),
            border-color var(--motion-menu),
            visibility 0s;
    }

    .site-header__nav {
        flex: 0 0 100%;
        margin-left: 0;
        padding-top: 0;
        border-top: var(--border-medium);
        border-color: transparent;
    }

    .site-header.is-menu-open .site-header__nav {
        max-height: min(540px, calc(100vh - 154px));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-top: 8px;
        border-color: var(--color-border-medium);
    }

    .site-header__menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
    }

    .site-header__menu a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding-block: 14px;
        padding-inline: 0;
        font-size: var(--font-size-menu);
        border-bottom: var(--border-subtle);
    }

    .site-header__menu>.current-menu-ancestor::before,
    .site-header__menu>.current-menu-parent::before {
        display: none;
    }

    .site-header__menu>.current-menu-item::before,
    .site-header__menu>.current_page_item::before {
        display: block;
        right: auto;
        left: 0;
        top: 23px;
        bottom: auto;
        width: 5px;
        height: 5px;
        background: var(--color-gold-light);
        box-shadow:
            0 0 8px hsl(31 64% 64% / 0.9),
            0 0 18px hsl(31 64% 64% / 0.55);
        transform: none;
    }

    .site-header__menu>.current-menu-item>a,
    .site-header__menu>.current_page_item>a,
    .site-header__menu>.current-menu-ancestor>a,
    .site-header__menu>.current-menu-parent>a {
        padding-left: 14px;
    }

    .site-header__menu .menu-item-has-children>a {
        display: flex;
        align-items: center;
        width: 100%;
        padding-block: 14px;
        padding-right: 52px;
    }

    .site-header__menu .menu-item-has-children>a::after {
        display: none;
    }

    .site-header__menu .menu-item-has-children:hover>a::after,
    .site-header__menu .menu-item-has-children:focus-within>a::after {
        display: none;
    }

    .site-header__submenu-toggle {
        position: absolute;
        top: 7px;
        right: 0;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0;
        color: var(--color-white);
        background: var(--color-surface-soft);
        border: 1px solid var(--color-border-medium);
        border-radius: 50%;
        box-shadow: none;
        cursor: pointer;
        transform: none;
        transition: background var(--motion-standard), border-color var(--motion-standard), color var(--motion-standard);
    }

    .site-header__submenu-toggle span {
        width: 7px;
        height: 7px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg) translate(-1px, -1px);
        transition: transform var(--motion-standard);
    }

    .site-header__submenu-toggle:hover,
    .site-header__submenu-toggle:focus {
        color: var(--color-gold-light);
        background: var(--color-surface-elevated);
        border-color: var(--color-border-gold);
        box-shadow: none;
    }

    .site-header__menu .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        max-height: 0;
        padding: 0 0 0 14px;
        overflow: hidden;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        pointer-events: auto;
        transform: none;
        transition: max-height var(--motion-standard), padding var(--motion-standard), opacity var(--motion-standard);
    }

    .site-header__menu .sub-menu::before {
        display: none;
    }

    .site-header__menu .menu-item-has-children.is-submenu-open>.sub-menu {
        max-height: 320px;
        padding: 2px 0 4px 14px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .site-header__menu .menu-item-has-children.is-submenu-open>a {
        color: var(--color-gold-light);
    }

    .site-header__menu .menu-item-has-children.is-submenu-open>.site-header__submenu-toggle span {
        transform: rotate(225deg) translate(-2px, -1px);
    }

    .site-header__menu .sub-menu a {
        position: relative;
        padding-block: 12px;
        padding-inline: 0;
        color: var(--color-text-subtle);
        background: transparent;
        border-radius: 0;
        font-size: var(--font-size-md);
    }

    .site-header__menu .sub-menu a::before {
        display: none;
    }

    .site-header__actions {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 0;
    }

    .site-header__button {
        width: auto;
        max-width: 100%;
        min-height: 52px;
        padding: 0 10px 0 20px;
        font-size: var(--font-size-sm);
    }

    .site-header__strip {
        justify-content: flex-start;
        padding: 8px 20px;
    }

    .site-header__strip-track {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .site-header__strip-group {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 14px;
        padding-right: 14px;
    }

    .site-header__strip-group span+span::before {
        margin-right: 14px;
    }

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

    .hero-section {
        --hero-section-bottom-pad: 36px;
        padding: clamp(58px, 9vw, 86px) 0 var(--hero-section-bottom-pad);
    }

    .hero-section__content {
        padding: 0;
    }

    .hero-section__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 32px;
    }

    .hero-section__stat {
        min-height: 146px;
        padding: 22px 14px 20px;
    }

    .sample-section.about-section {
        padding-top: 182px;
    }

    .about-section__cards,
    .about-section__layout,
    .about-page__grid,
    .about-page__story,
    .about-page__values,
    .services-section__header,
    .obituaries-section__header {
        grid-template-columns: 1fr;
    }

    .services-section__arrow {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .services-section__arrow:hover,
    .services-section__arrow:focus {
        transform: scale(1.04);
    }

    .services-section__arrow--prev {
        left: 8px;
    }

    .services-section__arrow--next {
        right: 8px;
    }

    .services-section__dots {
        align-items: center;
        min-height: 46px;
        margin-top: 16px;
        padding-inline: 0;
    }

    .testimonials-section__carousel-shell {
        padding-inline: 50px;
    }

    .services-section__fixed {
        grid-template-columns: repeat(2, 1fr);
    }

    .obituaries-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .obituary-card__button {
        justify-self: stretch;
    }

    .about-section__media {
        width: min(100%, 360px);
    }

    .sample-grid,
    .sample-steps,
    .contact-section__body,
    .location-section__body,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-height: 360px;
    }

    .testimonials-section__actions--standalone {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .testimonials-section__actions--inline {
        min-height: 360px;
    }

    .testimonials-section__actions--inline .button {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .testimonials-carousel-dots {
        margin-top: 8px;
    }
}

@media (max-width: 560px) {
    .site-header__main {
        gap: 0 16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-header.is-menu-open .site-header__main {
        gap: 10px 16px;
    }

    .site-header__logo {
        width: 104px;
    }

    .site-header__toggle {
        width: 40px;
        height: 40px;
    }

    .site-header__button {
        min-height: 48px;
        padding: 0 16px;
        font-size: var(--font-size-xs);
    }

    .site-main {
        padding: 24px 16px 48px;
    }

    .site-main--default-page {
        padding: 0;
    }

    body.home .site-main,
    body.front-page .site-main {
        padding: 0;
    }

    .section-inner {
        width: min(calc(100% - 32px), var(--layout-container));
    }

    .site-main--full-width .static-page__content> :where(.alignfull, .wp-block-cover, .wp-block-group.has-background) {
        margin-right: -16px;
        margin-left: -16px;
    }

    .hero-section {
        margin-right: 0;
        margin-left: 0;
        --hero-section-bottom-pad: 32px;
        padding: 52px 0 var(--hero-section-bottom-pad);
    }

    .hero-section__content {
        padding: 0;
    }

    .hero-section h1 {
        font-size: 34px;
        line-height: 1.16;
    }

    .sample-section h2 {
        font-size: 30px;
        line-height: 1.16;
    }

    .static-page__header h1 {
        font-size: 34px;
        line-height: 1.1;
    }

    .about-page__hero h1 {
        font-size: 30px;
        line-height: 1.16;
    }

    .about-page__quote p {
        font-size: 28px;
        line-height: 1.12;
    }

    .hero-section__subtitle {
        font-size: var(--font-size-base);
    }

    .hero-section__actions {
        margin-top: 22px;
    }

    .hero-section__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-section__actions .button {
        width: 100%;
        justify-content: center;
    }

    .about-section__carousel-button {
        width: 38px;
        height: 38px;
    }

    .about-section__carousel-button--prev {
        left: 10px;
    }

    .about-section__carousel-button--next {
        right: 10px;
    }

    .hero-section__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 24px;
    }

    .hero-section__stat--location {
        grid-column: 1 / -1;
    }

    .hero-section__stat {
        justify-content: flex-start;
        gap: 10px;
        min-height: 136px;
        padding: 18px 10px 16px;
    }

    .hero-section__stat-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .hero-section__stat-icon i {
        font-size: 19px;
    }

    .hero-section__stat strong,
    .hero-section__stat--experience strong,
    .hero-section__stat--location strong {
        font-size: 24px;
    }

    .hero-section__stat-copy>span {
        font-size: var(--font-size-xs);
        line-height: 1.35;
    }

    .sample-section.about-section {
        padding-top: 72px;
    }

    .services-section__arrow {
        width: 38px;
        height: 38px;
    }

    .testimonials-section__arrow {
        display: none;
    }

    .testimonials-section__carousel-shell {
        padding-inline: 0;
    }

    .testimonials-section__carousel,
    .testimonial-card {
        width: 100%;
    }

    .services-section__arrow--prev {
        left: 6px;
    }

    .services-section__arrow--next {
        right: 6px;
    }

    .services-section__dots {
        min-height: 38px;
        padding-inline: 0;
    }

    .services-section__fixed {
        grid-template-columns: 1fr;
    }

    .service-card--wide {
        grid-column: auto;
    }

    .service-card--fixed .service-card__body {
        justify-items: center;
        text-align: center;
    }

    .obituary-card {
        padding: 46px 16px 30px;
        border-radius: 20px;
    }

    .obituary-card__badge {
        right: 18px;
        width: 56px;
        height: 56px;
    }

    .mourning-ribbon {
        width: 34px;
        height: 34px;
    }

    .obituary-card h3 {
        margin-right: 48px;
    }

    .obituary-card__detail {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 10px;
        height: 92px;
        padding: 14px;
        border-radius: 14px;
    }

    .obituary-card__detail i {
        width: 20px;
        height: 20px;
        font-size: 18px;
    }

    .obituary-card__detail>div {
        padding-left: 14px;
    }

    .obituary-card__detail strong {
        font-size: 16px;
    }

    .obituary-card__detail p {
        font-size: 14px;
    }

    .obituary-card__button {
        min-height: 54px;
        font-size: var(--font-size-button);
    }

    .about-section__layout,
    .about-page__story {
        gap: 24px;
    }

    .about-section__content {
        min-height: 0;
    }

    .about-section__media {
        width: 100%;
    }

    .about-info-card,
    .about-value-card {
        padding: 20px;
    }

    .about-page-card__icon {
        margin: 20px 20px 0;
    }

    .about-page-card h3 {
        padding-inline: 20px;
    }

    .about-page-card p {
        padding: 0 20px 20px;
    }

    .about-info-card {
        gap: 14px;
        align-items: flex-start;
    }

    .about-info-card>span {
        min-width: 42px;
        font-size: 32px;
    }

    .about-page__hero {
        padding: 48px 0 36px;
    }

    .about-page__quote {
        align-items: flex-start;
        flex-direction: column;
    }

    .sample-section {
        padding: 54px 0;
    }

    .contact-section__body {
        gap: 26px;
    }

    .location-section__body {
        gap: 26px;
    }

    .location-map {
        min-height: 220px;
    }

    .contact-form {
        gap: 16px;
        padding: 0;
    }

    .contact-form__actions .button {
        width: auto;
    }

    .site-header__strip {
        display: flex;
        flex-wrap: nowrap;
        overflow: hidden;
        justify-content: flex-start;
        padding: 8px 16px;
        white-space: nowrap;
    }

    .site-header__strip-track {
        flex-wrap: nowrap;
        min-width: max-content;
        animation: stripTicker var(--header-strip-duration, 24s) linear infinite;
        will-change: transform;
    }

    .site-header__strip:hover .site-header__strip-track,
    .site-header__strip:focus-within .site-header__strip-track {
        animation-play-state: paused;
    }

    .site-header__strip-group {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 18px;
        min-width: max-content;
        padding-right: 18px;
    }

    .site-header__strip-group[aria-hidden="true"] {
        display: flex;
    }

    .site-header__strip-group span+span::before {
        margin-right: 18px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px 22px;
        padding: 40px 16px;
    }

    .site-footer__brand {
        display: grid;
        justify-items: center;
        width: 100%;
        grid-column: 1 / -1;
        padding-bottom: 8px;
        text-align: center;
    }

    .site-footer__logo {
        width: 164px;
    }

    .site-footer__social {
        width: max-content;
        margin-top: 20px;
    }

    .site-footer__column h2 {
        margin-bottom: 14px;
        font-size: var(--font-size-xs);
    }

    .site-footer__column ul,
    .site-footer__menu {
        gap: 10px;
    }

    .site-footer__column a {
        font-size: var(--font-size-sm);
        line-height: 1.45;
    }

    .site-footer__column:nth-of-type(4) {
        grid-column: 1 / -1;
        padding-top: 18px;
        border-top: var(--border-subtle);
    }

    .site-footer__column:nth-of-type(4) ul,
    .site-footer__column:nth-of-type(4) .site-footer__menu {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding-right: 16px;
        padding-left: 16px;
        text-align: center;
    }

    .floating-whatsapp {
        top: auto;
        right: 14px;
        bottom: 18px;
        width: 54px;
        min-height: 54px;
        padding: 11px;
        border-radius: var(--radius-pill);
        box-shadow:
            0 0 0 2px hsl(0 0% 100% / 0.12) inset,
            var(--shadow-whatsapp);
    }

    .floating-whatsapp:hover,
    .floating-whatsapp:focus {
        width: 54px;
    }

    .floating-whatsapp__icon {
        width: 32px;
        height: 32px;
        font-size: 32px;
    }

    .floating-whatsapp__content {
        display: none;
    }

    .floating-back-top {
        top: auto;
        left: 14px;
        right: auto;
        bottom: 22px;
        z-index: 960;
        width: 46px;
        height: 46px;
        transform: translateY(14px) scale(0.94);
    }

    .floating-back-top.is-visible {
        transform: translateY(0) scale(1);
    }

    .floating-back-top i {
        font-size: 24px;
    }
}

@keyframes stripTicker {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(var(--header-strip-distance, 50%) * -1), 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header__strip-track {
        animation: none;
        transform: none;
    }

    .site-header__strip-group[aria-hidden="true"] {
        display: none;
    }
}

.contact-form select,
.contact-form__choice {
    width: 100%;
    min-height: 48px;
    border-radius: var(--radius-sm);
    font: inherit;
}

.contact-form select {
    padding: 0 16px;
    color: var(--color-primary-deep);
    background: hsl(0 0% 100% / 0.78);
    border: 1px solid hsl(36 45% 80% / 0.78);
    box-shadow: 0 10px 24px hsl(211 38% 32% / 0.06);
}

.contact-form__choice {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: auto;
    color: hsl(213 24% 34%);
    font-weight: 600;
}

.contact-form__choice input {
    width: auto;
    min-height: auto;
    accent-color: var(--color-gold-light);
}

.funeraria-dynamic-form__message {
    display: none;
    grid-column: 1 / -1;
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.funeraria-dynamic-form__message.is-success,
.funeraria-dynamic-form__message.is-error {
    display: block;
}

.funeraria-dynamic-form__message.is-success {
    color: #047857;
}

.funeraria-dynamic-form__message.is-error {
    color: #b91c1c;
}

/* Obituary cards with tabbed ceremony details. */
.obituaries-grid {
    align-items: stretch;
}

.obituary-card {
    position: relative;
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 0;
    padding: 24px 18px 26px;
    overflow: visible;
    color: var(--color-primary-deep);
    background:
        radial-gradient(circle at 8% 8%, hsl(31 76% 72% / 0.18), transparent 13rem),
        linear-gradient(135deg, hsl(42 62% 98%), hsl(36 48% 96%));
    border: 1px solid hsl(38 58% 78% / 0.86);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.94),
        0 18px 42px hsl(211 48% 30% / 0.12),
        0 8px 20px hsl(38 52% 60% / 0.13);
}

.obituary-card__header {
    display: grid;
    gap: 4px;
    padding-right: 0;
    text-align: center;
}

.obituary-card__header span {
    color: hsl(35 66% 56%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.obituary-card__header h3,
.obituary-card h3 {
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--color-primary-deep);
    font-size: clamp(17px, 1.35vw, 20px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.08;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow:
        0 1px 0 hsl(0 0% 100% / 0.72),
        0 10px 22px hsl(212 68% 21% / 0.1);
}

.obituary-card__badge {
    display: none;
    top: -24px;
    right: 22px;
    z-index: 2;
    width: 58px;
    height: 58px;
}

.mourning-ribbon {
    width: 36px;
    height: 36px;
}

.obituary-card__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.obituary-card__tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    color: var(--color-primary-deep);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    background: hsl(0 0% 100% / 0.5);
    border: 1px solid hsl(38 46% 75% / 0.88);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.8);
    cursor: pointer;
    transition: background var(--motion-standard), border-color var(--motion-standard), color var(--motion-standard), box-shadow var(--motion-standard);
}

.obituary-card__tab i {
    color: hsl(35 66% 56%);
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}

.obituary-card__tab.is-active {
    color: var(--color-primary-deep);
    background: linear-gradient(135deg, hsl(31 76% 72%), hsl(36 86% 62%));
    border-color: transparent;
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.66),
        0 14px 28px hsl(31 74% 40% / 0.18);
}

.obituary-card__tab.is-active i {
    color: var(--color-primary-deep);
}

.obituary-card__tab.is-active::after {
    position: absolute;
    bottom: -11px;
    left: 50%;
    width: 0;
    height: 0;
    content: "";
    border-top: 11px solid hsl(36 86% 62%);
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
    transform: translateX(-50%);
}

.obituary-card__panels {
    position: relative;
    padding: 14px;
    background: hsl(0 0% 100% / 0.58);
    border: 1px solid hsl(38 43% 76% / 0.84);
    border-radius: var(--radius-md);
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.9),
        0 12px 26px hsl(211 38% 32% / 0.08);
}

.obituary-card__panel {
    display: grid;
    gap: 10px;
}

.obituary-card__panel[hidden] {
    display: none;
}

.obituary-card__location {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    color: var(--color-primary-deep);
}

.obituary-card__location i,
.obituary-card__schedule i,
.obituary-card__info-button i:first-child,
.obituary-card__flowers-button i:first-child {
    color: hsl(35 66% 56%);
    font-size: 17px;
    line-height: 1;
}

.obituary-card__location p {
    margin: 0;
    color: hsl(213 24% 34%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    line-height: 1.45;
}

.obituary-card__map-button,
.obituary-card__waze-button,
.obituary-card__info-button,
.obituary-card__flowers-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    color: var(--color-primary-deep);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.obituary-card__map-button,
.obituary-card__waze-button,
.obituary-card__info-button {
    background: hsl(0 0% 100% / 0.98);
    border: 1px solid hsl(213 24% 68% / 0.28);
    box-shadow: 0 10px 22px hsl(211 38% 32% / 0.08);
}

.obituary-card__map-button span,
.obituary-card__waze-button span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.obituary-card__maps-icon,
.obituary-card__waze-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}

.obituary-card__schedule {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 10px;
    color: hsl(213 24% 34%);
    border-top: 1px solid hsl(38 34% 76% / 0.82);
}

.obituary-card__schedule span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
}

.obituary-card__info-button {
    justify-content: space-between;
}

.obituary-card__flowers-button {
    position: relative;
    justify-content: space-between;
    isolation: isolate;
    overflow: hidden;
    color: var(--color-white);
    background:
        radial-gradient(circle at 78% 46%, hsl(42 96% 72% / 0.42), transparent 4.4rem),
        linear-gradient(90deg, hsl(24 92% 57%), hsl(25 91% 50%)),
        hsl(24 91% 52%);
    border: 1px solid hsl(24 94% 62%);
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.32),
        0 12px 24px hsl(24 92% 36% / 0.2);
}

.obituary-card__flowers-button>i,
.obituary-card__flowers-button>span {
    position: relative;
    z-index: 2;
}

.obituary-card__flowers-button>span {
    text-align: left;
    text-shadow: 0 1px 1px hsl(24 92% 28% / 0.28);
}

.obituary-card__flowers-image {
    position: absolute;
    top: 50%;
    right: 24px;
    z-index: 1;
    width: 72px;
    height: 44px;
    object-fit: contain;
    opacity: 0.7;
    pointer-events: none;
    transform: translateY(-50%);
}

.obituary-card__flowers-button i:first-child {
    color: var(--color-white);
}

.obituary-card__map-button i:last-child,
.obituary-card__waze-button i:last-child,
.obituary-card__info-button i:last-child,
.obituary-card__flowers-button i:last-child {
    flex: 0 0 auto;
    font-size: 17px;
    line-height: 1;
}

.obituary-card__button {
    justify-self: stretch;
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    font-size: var(--font-size-button);
}

@media (max-width: 980px) {
    .obituary-card {
        padding: 24px 18px 20px;
    }

    .obituary-card__header h3,
    .obituary-card h3 {
        font-size: 19px;
    }
}

/* Individual service plan template. */
.service-plan-page {
    padding: clamp(34px, 5vw, 64px) 0 clamp(56px, 7vw, 92px);
    background:
        linear-gradient(180deg, hsl(40 35% 95%), hsl(0 0% 100%) 44%),
        hsl(40 35% 95%);
}

.service-plan {
    color: var(--color-primary-deep);
}

.service-plan__shell {
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid hsl(38 28% 82%);
    border-radius: var(--radius-md);
    box-shadow:
        0 22px 52px hsl(211 38% 32% / 0.1),
        inset 0 1px 0 hsl(0 0% 100% / 0.86);
}

.service-plan__top {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
    border-bottom: 1px solid hsl(38 28% 82%);
}

.service-plan__visual {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 430px;
    padding: clamp(28px, 4vw, 48px);
    background:
        linear-gradient(135deg, hsl(39 31% 86%), hsl(42 30% 92%)),
        hsl(39 31% 88%);
    border-right: 1px solid hsl(38 28% 82%);
}

.service-plan__figure {
    display: grid;
    justify-items: center;
    width: min(100%, 520px);
    margin: 0;
}

.service-plan__image-frame {
    width: min(100%, 470px);
    aspect-ratio: 1.65 / 1;
    overflow: hidden;
    background: hsl(38 31% 89%);
    box-shadow: 0 22px 42px hsl(35 18% 36% / 0.16);
}

.service-plan__image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

.service-plan__variant-title {
    margin-top: 16px;
    color: hsl(38 30% 35%);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    text-align: center;
}

.service-plan__reference {
    margin: 12px 0 0;
    color: hsl(213 20% 45%);
    font-size: var(--font-size-xs);
    line-height: 1.4;
    text-align: center;
}

.service-plan__variant-dots {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    margin-top: 8px;
}

.service-plan__variant-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    background: hsl(213 18% 52% / 0.35);
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: width var(--motion-standard), background var(--motion-standard), transform var(--motion-standard);
}

.service-plan__variant-dot.is-active {
    width: 20px;
    background: hsl(38 72% 52%);
}

.service-plan__variant-dot:focus-visible {
    outline: 2px solid hsl(38 72% 52%);
    outline-offset: 4px;
}

.service-plan__switch {
    min-height: 44px;
    margin-top: 8px;
    padding-inline: 22px;
    font-size: var(--font-size-sm);
    line-height: 1.15;
    white-space: normal;
}

.service-plan__details {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: start;
    padding: clamp(34px, 4.2vw, 56px);
    background: var(--color-white);
}

.service-plan__heading {
    display: grid;
    gap: 10px;
    max-width: 520px;
}

.service-plan__details h1 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(34px, 4.2vw, 50px);
    line-height: 1.02;
}

.service-plan__eyebrow {
    margin: 0;
    color: hsl(213 26% 42%);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.service-plan__recommendation {
    display: inline-flex;
    justify-self: start;
    margin: -2px 0 0;
    padding: 5px 10px;
    color: hsl(38 64% 34%);
    font-size: var(--font-size-2xs);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    background: hsl(38 82% 91%);
    border: 1px solid hsl(38 70% 75%);
    border-radius: var(--radius-pill);
}

.service-plan__summary {
    max-width: 460px;
    margin: 0;
    color: hsl(213 25% 35%);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.service-plan__corner-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(290px, calc(100% - 64px));
    min-height: 34px;
    padding: 8px 14px;
    color: var(--color-white);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    background: var(--color-primary-deep);
    border: 1px solid hsl(213 42% 30%);
    border-radius: 0 0 0 16px;
    box-shadow: 0 14px 24px hsl(213 40% 18% / 0.14);
}

a.service-plan__corner-badge:hover,
a.service-plan__corner-badge:focus {
    color: var(--color-white);
    background: hsl(213 55% 22%);
    outline: 2px solid hsl(38 72% 58%);
    outline-offset: 3px;
}

.service-plan__price {
    display: grid;
    gap: 12px;
    margin: 34px 0 0;
}

.service-plan__price span {
    color: hsl(213 26% 42%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-plan__price strong {
    color: hsl(38 64% 48%);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
}

.service-plan__note {
    max-width: 460px;
    margin: 22px 0 0;
    color: hsl(213 30% 38%);
    font-size: var(--font-size-sm);
    line-height: 1.55;
}

.service-plan__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.service-plan__action {
    min-height: 54px;
    padding-inline: 22px;
    font-size: var(--font-size-sm);
    white-space: normal;
}

.service-plan-form-modal[hidden] {
    display: none !important;
}

.service-plan-form-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.service-plan-form-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.service-plan-form-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 12%, hsl(38 70% 64% / 0.18), transparent 18rem),
        hsl(225 44% 8% / 0.76);
    backdrop-filter: blur(8px);
}

.service-plan-form-modal__dialog {
    position: relative;
    display: grid;
    gap: 22px;
    width: min(720px, 100%);
    max-height: min(820px, calc(100vh - 48px));
    overflow: auto;
    padding: clamp(24px, 4vw, 34px);
    color: var(--color-primary-deep);
    background:
        radial-gradient(circle at 12% 0%, hsl(38 76% 72% / 0.14), transparent 14rem),
        linear-gradient(180deg, hsl(0 0% 100%), hsl(42 44% 97%));
    border: 1px solid hsl(38 42% 78%);
    border-radius: 24px;
    box-shadow: 0 34px 90px hsl(225 44% 8% / 0.35);
    transform: translateY(18px) scale(0.98);
    transition: transform 240ms ease, opacity 240ms ease;
}

.service-plan-form-modal.is-open .service-plan-form-modal__dialog {
    transform: translateY(0) scale(1);
}

.service-plan-form-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-primary-deep);
    background: hsl(213 22% 94%);
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: color var(--motion-standard), background var(--motion-standard), transform var(--motion-standard);
}

.service-plan-form-modal__close:hover,
.service-plan-form-modal__close:focus {
    color: var(--color-white);
    background: var(--color-primary-deep);
    outline: none;
    transform: translateY(-1px);
}

.service-plan-form-modal__close i {
    font-size: 24px;
    line-height: 1;
}

.service-plan-form-modal__head {
    display: grid;
    gap: 8px;
    max-width: 560px;
    padding-right: 54px;
}

.service-plan-form-modal__eyebrow {
    margin: 0;
    color: hsl(38 64% 48%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-plan-form-modal__head h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.08;
}

.service-plan-form-modal__head p:not(.service-plan-form-modal__eyebrow) {
    margin: 0;
    color: hsl(213 28% 36%);
    font-size: var(--font-size-sm);
    line-height: 1.55;
}

.service-plan-form-modal__body .contact-form {
    max-width: none;
}

.service-plan-form-modal__body .contact-form__actions .button {
    min-height: 52px;
}

.has-service-plan-form-modal {
    overflow: hidden;
}

.service-plan__includes {
    padding: clamp(28px, 3.6vw, 42px) clamp(26px, 4vw, 48px) 38px;
}

.service-plan__section-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.service-plan__section-title h2 {
    margin: 0;
    color: var(--color-primary-deep);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-plan__section-title span {
    display: block;
    height: 1px;
    background: hsl(38 28% 82%);
}

.service-plan__features {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.service-plan-feature {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 116px;
    overflow: hidden;
    padding: 14px 10px;
    color: var(--color-primary-deep);
    background:
        radial-gradient(circle at 50% 0%, hsl(38 76% 72% / 0.14), transparent 5rem),
        hsl(38 34% 97%);
    border: 1px solid hsl(38 26% 81%);
    border-radius: var(--radius-md);
    box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.86);
}

.service-plan-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: hsl(213 28% 34%);
    background: hsl(43 72% 80%);
    border-radius: var(--radius-pill);
}

.service-plan-feature__icon i {
    font-size: 21px;
    line-height: 1;
}

.plan-icon,
.feature-icon,
.service-plan-feature__icon iconify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 1;
    color: currentColor;
    vertical-align: middle;
}

.plan-icon--custom,
.service-plan-feature__custom-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.service-plan-feature__label {
    max-width: 100%;
    min-width: 0;
    color: hsl(213 48% 20%);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    line-height: 1.22;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
}

.service-plan__features-toggle {
    display: block;
    margin: 20px auto 0;
    padding: 0;
    color: hsl(38 64% 48%);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 4px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.service-plan__features-toggle:hover,
.service-plan__features-toggle:focus {
    color: var(--color-primary-deep);
}

.service-plan__availability {
    margin: 44px auto 0;
    color: hsl(213 20% 45%);
    font-size: var(--font-size-xs);
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 980px) {
    .service-plan__top {
        grid-template-columns: 1fr;
    }

    .service-plan__visual {
        min-height: 0;
        border-right: 0;
    }

    .service-plan__details {
        border-top: 1px solid hsl(38 28% 82%);
    }

    .service-plan__corner-badge {
        position: static;
        justify-self: start;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .service-plan__features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .service-plan-page {
        padding: 24px 0 54px;
    }

    .service-plan__shell {
        border-radius: 12px;
    }

    .service-plan__visual,
    .service-plan__details,
    .service-plan__includes {
        padding-right: 18px;
        padding-left: 18px;
    }

    .service-plan__image-frame {
        aspect-ratio: 1.35 / 1;
    }

    .service-plan__variant-title {
        font-size: 22px;
    }

    .service-plan__details h1 {
        font-size: 34px;
    }

    .service-plan__heading {
        gap: 9px;
    }

    .service-plan__summary {
        font-size: var(--font-size-xs);
    }

    .service-plan__price {
        margin-top: 28px;
    }

    .service-plan__actions {
        width: 100%;
    }

    .service-plan__action {
        width: 100%;
        min-height: 54px;
    }

    .service-plan__section-title {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-plan__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .service-plan-feature {
        min-height: 104px;
    }

    .service-plan__availability {
        margin-top: 32px;
    }

    .service-plan-form-modal {
        place-items: end center;
        padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    }

    .service-plan-form-modal__dialog {
        grid-template-rows: auto minmax(0, 1fr);
        gap: 0;
        width: 100%;
        height: calc(100dvh - 20px);
        max-height: calc(100dvh - 20px);
        overflow: hidden;
        padding: 0;
        border-radius: 22px 22px 14px 14px;
        transform: translateY(28px);
    }

    .service-plan-form-modal__close {
        z-index: 6;
        top: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
        background: var(--color-primary-deep);
        color: var(--color-white);
        box-shadow: 0 12px 26px hsl(225 44% 8% / 0.18);
    }

    .service-plan-form-modal__head {
        position: relative;
        z-index: 5;
        max-width: none;
        padding: 24px 70px 15px 18px;
        background:
            radial-gradient(circle at 12% 0%, hsl(38 76% 72% / 0.16), transparent 12rem),
            linear-gradient(180deg, hsl(0 0% 100%), hsl(42 44% 98%));
        border-bottom: 1px solid hsl(38 42% 78% / 0.5);
        box-shadow: 0 12px 28px hsl(225 44% 8% / 0.08);
    }

    .service-plan-form-modal__head h2 {
        font-size: 28px;
    }

    .service-plan-form-modal__head p:not(.service-plan-form-modal__eyebrow) {
        line-height: 1.45;
    }

    .service-plan-form-modal__body {
        min-height: 0;
        overflow: auto;
        padding: 16px 18px calc(92px + env(safe-area-inset-bottom));
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .service-plan-form-modal__body .contact-form {
        grid-template-columns: 1fr;
        gap: 13px;
        min-height: 100%;
        padding-bottom: 0;
    }

    .service-plan-form-modal__body .contact-form__actions {
        position: absolute;
        z-index: 4;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
        width: 100%;
        margin: 0;
        padding: 12px 18px max(14px, env(safe-area-inset-bottom));
        background:
            linear-gradient(180deg, hsl(0 0% 100% / 0), hsl(42 44% 98%) 18%),
            hsl(42 44% 98%);
        border-top: 1px solid hsl(38 42% 78% / 0.42);
        box-shadow: 0 -14px 28px hsl(225 44% 8% / 0.08);
    }

    .service-plan-form-modal__body .contact-form__actions .button {
        display: flex;
        justify-self: stretch;
        width: 100%;
        max-width: none;
        min-height: 54px;
    }
}

@media (max-width: 560px) {
    .obituary-card {
        gap: 14px;
        padding: 22px 14px 22px;
        border-radius: 16px;
    }

    .obituary-card__badge {
        right: 18px;
        width: 54px;
        height: 54px;
    }

    .mourning-ribbon {
        width: 32px;
        height: 32px;
    }

    .obituary-card__header {
        padding-right: 0;
    }

    .obituary-card__header h3,
    .obituary-card h3 {
        font-size: 17px;
    }

    .obituary-card__tabs {
        gap: 7px;
    }

    .obituary-card__tab {
        min-height: 42px;
        padding: 0 9px;
        font-size: var(--font-size-sm);
    }

    .obituary-card__tab i {
        font-size: 18px;
    }

    .obituary-card__panels {
        padding: 14px;
    }

    .obituary-card__schedule {
        grid-template-columns: 1fr;
    }

    .obituary-card__map-button,
    .obituary-card__waze-button,
    .obituary-card__info-button,
    .obituary-card__flowers-button {
        min-height: 40px;
        font-size: var(--font-size-xs);
    }

    .obituary-card__button {
        min-height: 54px;
        font-size: var(--font-size-button);
    }
}

/* Carrusel inferior de fotos en detalle de plan. */
.service-plan__photo-gallery {
    padding: 0 clamp(26px, 4vw, 48px) clamp(34px, 4vw, 48px);
}

.service-plan__section-title--gallery {
    margin-top: 4px;
    margin-bottom: 24px;
}

.service-plan-gallery {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.service-plan-gallery__viewport {
    overflow: hidden;
    border: 1px solid hsl(38 28% 82%);
    border-radius: var(--radius-md);
    background: hsl(38 34% 97%);
    box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.86);
    scroll-behavior: smooth;
}

.service-plan-gallery__track {
    display: grid;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
}

.service-plan-gallery__item {
    width: 100%;
    aspect-ratio: 16 / 7;
    margin: 0;
    overflow: hidden;
    background: hsl(38 31% 89%);
}

.service-plan-gallery__open {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    color: var(--color-white);
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.service-plan-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.service-plan-gallery__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    background: hsl(213 68% 12% / 0.36);
    opacity: 0;
    transition: opacity var(--motion-standard);
}

.service-plan-gallery__open:hover .service-plan-gallery__zoom,
.service-plan-gallery__open:focus .service-plan-gallery__zoom {
    opacity: 1;
}

.service-plan-gallery__open:focus-visible {
    outline: 3px solid hsl(38 72% 58%);
    outline-offset: -5px;
}

.service-plan-gallery__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--color-primary-deep);
    background: hsl(43 72% 80%);
    border: 1px solid hsl(38 26% 76%);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform var(--motion-standard), background var(--motion-standard), color var(--motion-standard);
}

.service-plan-gallery__button:hover,
.service-plan-gallery__button:focus {
    color: var(--color-white);
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.service-plan-gallery__button i {
    font-size: 24px;
    line-height: 1;
}

.service-plan-gallery__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.service-plan-gallery__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: hsl(213 18% 52% / 0.35);
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: width var(--motion-standard), background var(--motion-standard);
}

.service-plan-gallery__dot.is-active {
    width: 22px;
    background: hsl(38 72% 52%);
}

.service-plan__features [data-feature-extra][hidden] {
    display: none !important;
}

@media (max-width: 720px) {
    .service-plan-gallery {
        grid-template-columns: 1fr;
    }

    .service-plan-gallery__button {
        display: none;
    }

    .service-plan-gallery__item {
        aspect-ratio: 4 / 3;
    }
}

/* ==================================================
   Home: división de Servicios en Planes + Detalles
   ================================================== */

.services-section--plans {
    background: hsl(210 10% 90%);
    padding-top: clamp(76px, 8vw, 104px);
    padding-bottom: clamp(64px, 7vw, 90px);
}

.services-section--details {
    background: var(--color-white);
    padding-top: clamp(72px, 8vw, 102px);
    padding-bottom: clamp(76px, 8vw, 110px);
}

.services-section--plans .section-inner,
.services-section--details .section-inner {
    padding-top: 22px;
    border-top: 1px solid hsl(212 68% 21% / 0.16);
}

.services-section__plans-grid,
.services-section__details-grid {
    display: grid;
    gap: 22px;
    margin-top: 36px;
}

.services-section__plans-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-section__details-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-section--plans .services-section__track .service-card,
.services-section__plans-grid .service-card,
.services-section__details-grid .service-card {
    background: var(--color-white);
    box-shadow:
        0 18px 42px hsl(211 38% 32% / 0.11),
        inset 0 1px 0 hsl(0 0% 100% / 0.9);
}

.services-section--plans .services-section__track .service-card--featured,
.services-section__plans-grid .service-card--featured {
    box-shadow:
        0 0 0 1px hsl(38 86% 66% / 0.76),
        0 18px 42px hsl(38 74% 42% / 0.18),
        inset 0 1px 0 hsl(0 0% 100% / 0.9);
}

.services-section--details .service-card--wide {
    grid-column: span 2;
}

.services-section__actions--details .button {
    min-width: 180px;
}

@media (max-width: 980px) {

    .services-section__plans-grid,
    .services-section__details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-section--details .service-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {

    .services-section--plans,
    .services-section--details {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .services-section__plans-grid,
    .services-section__details-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .services-section--details .service-card--wide {
        grid-column: auto;
    }

    .services-section__actions .button {
        width: 100%;
    }
}

/* ==================================================
   Home: obituarios simplificados con fondo visual
   ================================================== */

.obituary-home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(76px, 8vw, 108px) 0 clamp(72px, 8vw, 104px);
    color: var(--color-white);
    background-color: hsl(225 75% 11%);
    background-image: var(--obituaries-background-image, url("assets/images/obituario-section.jpg"));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.obituary-home::before,
.obituary-home::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.obituary-home::before {
    z-index: -2;
    background: inherit;
    transform: scale(1.02);
    filter: saturate(0.92) contrast(0.98);
}

.obituary-home::after {
    z-index: -1;
    background:
        linear-gradient(90deg, hsl(225 70% 8% / 0.78), hsl(225 60% 10% / 0.58) 48%, hsl(225 65% 9% / 0.44)),
        linear-gradient(180deg, hsl(225 70% 8% / 0.3), hsl(225 70% 8% / 0.58));
}

.obituary-home__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 84% 58%, hsl(31 64% 64% / 0.12), transparent 20rem);
    pointer-events: none;
}

.obituary-home__inner {
    position: relative;
    z-index: 1;
}

.obituary-home__header {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.48fr);
    gap: clamp(26px, 6vw, 92px);
    align-items: start;
}

.obituary-home__eyebrow {
    margin-bottom: 10px;
    color: hsl(38 86% 62%);
}

.obituary-home h2 {
    max-width: 720px;
    margin: 0;
    color: var(--color-white);
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.04;
    text-wrap: balance;
}

.obituary-home__description {
    max-width: 430px;
    margin: 30px 0 0;
    color: hsl(0 0% 100% / 0.78);
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 400;
    line-height: 1.42;
}

.obituary-home__search {
    width: min(100%, 460px);
    margin-top: 32px;
}

.obituary-home__search input {
    width: 100%;
    min-height: 52px;
    padding: 0 24px;
    color: var(--color-primary-deep);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    background: hsl(0 0% 100% / 0.96);
    border: 1px solid hsl(31 64% 64% / 0.92);
    border-radius: 8px;
    outline: 0;
    box-shadow: 0 14px 32px hsl(225 75% 8% / 0.18);
}

.obituary-home__search input::placeholder {
    color: hsl(213 45% 30% / 0.88);
}

.obituary-home__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 58px);
    align-items: stretch;
    margin-top: clamp(64px, 8vw, 94px);
}

.obituary-home-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 100%;
    padding: 78px 24px 28px;
    color: var(--color-primary-deep);
    text-align: center;
    background:
        linear-gradient(180deg, hsl(0 0% 100% / 0.84), hsl(210 18% 91% / 0.9));
    border: 1px solid hsl(0 0% 100% / 0.72);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.9),
        0 26px 56px hsl(225 75% 8% / 0.26);
}

.obituary-home-card__portrait {
    position: absolute;
    top: -46px;
    left: 50%;
    width: 108px;
    height: 108px;
    background:
        radial-gradient(circle at 50% 35%, hsl(0 0% 100%), hsl(210 10% 92%));
    border: 8px solid hsl(0 0% 100% / 0.88);
    border-radius: 50%;
    box-shadow: 0 12px 26px hsl(225 75% 8% / 0.16);
    transform: translateX(-50%);
}

.obituary-home-card__header {
    display: grid;
    gap: 5px;
}

.obituary-home-card__header span {
    color: hsl(213 45% 30% / 0.78);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
}

.obituary-home-card__header h3 {
    margin: 0;
    color: hsl(213 58% 24%);
    font-size: clamp(18px, 1.7vw, 23px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.12;
    text-wrap: balance;
}

.obituary-home-card__events {
    display: grid;
    gap: 12px;
}

.obituary-home-event {
    display: grid;
    gap: 9px;
    padding: 0 0 14px;
    background: hsl(0 0% 100% / 0.42);
    border: 1px solid hsl(213 24% 72% / 0.34);
    border-radius: 10px;
    overflow: hidden;
}

.obituary-home-event__label {
    display: grid;
    place-items: center;
    min-height: 38px;
    color: hsl(213 58% 18%);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-extrabold);
    background: linear-gradient(135deg, hsl(31 76% 72%), hsl(38 86% 62%));
}

.obituary-home-event__place {
    min-height: 36px;
    margin: 0;
    padding: 0 14px;
    color: hsl(213 32% 34%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1.45;
}

.obituary-home-event__schedule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 14px;
}

.obituary-home-event__schedule strong,
.obituary-home-event__schedule span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 8px;
    color: hsl(213 58% 18%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    white-space: nowrap;
    background: hsl(0 0% 100% / 0.78);
    border: 1px solid hsl(213 24% 72% / 0.45);
    border-radius: 8px;
}

.obituary-home-event__schedule span {
    color: hsl(31 64% 42%);
}

.obituary-home-card__button {
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    border-radius: 8px;
}

.obituary-home__actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.obituary-home__actions .button {
    min-width: 190px;
    min-height: 52px;
    border-radius: 8px;
}

.obituaries-home-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(76px, 8vw, 108px) 0 clamp(72px, 8vw, 104px);
    color: var(--color-white);
    background-color: hsl(225 75% 11%);
    background-image: url("assets/images/obituario-section.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.obituaries-home-section::before,
.obituaries-home-section::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.obituaries-home-section::before {
    z-index: -2;
    background: inherit;
    transform: scale(1.02);
    filter: saturate(0.92) contrast(0.98);
}

.obituaries-home-section::after {
    z-index: -1;
    background:
        linear-gradient(90deg, hsl(225 70% 8% / 0.8), hsl(225 60% 10% / 0.58) 48%, hsl(225 65% 9% / 0.42)),
        linear-gradient(180deg, hsl(225 70% 8% / 0.28), hsl(225 70% 8% / 0.6));
}

.obituaries-home-section>.section-inner {
    position: relative;
    z-index: 1;
}

.obituaries-home__header {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.48fr);
    gap: clamp(26px, 6vw, 92px);
    align-items: start;
}

.obituaries-home__eyebrow {
    margin: 0 0 10px;
    color: hsl(38 86% 62%);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
}

.obituaries-home__header h2 {
    max-width: 720px;
    margin: 0;
    color: var(--color-white);
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.04;
    text-wrap: balance;
}

.obituaries-home__header>p {
    max-width: 430px;
    margin: 30px 0 0;
    color: hsl(0 0% 100% / 0.78);
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 400;
    line-height: 1.42;
}

.obituaries-home__search {
    width: min(100%, 460px);
    margin-top: 32px;
}

.obituaries-home__search input {
    width: 100%;
    min-height: 52px;
    padding: 0 24px;
    color: var(--color-primary-deep);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    background: hsl(0 0% 100% / 0.96);
    border: 1px solid hsl(31 64% 64% / 0.92);
    border-radius: 8px;
    outline: 0;
    box-shadow: 0 14px 32px hsl(225 75% 8% / 0.18);
}

.obituaries-home__search input::placeholder {
    color: hsl(213 45% 30% / 0.88);
}

.obituaries-home__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 58px);
    align-items: stretch;
    margin-top: clamp(64px, 8vw, 94px);
}

.obituary-home-card__avatar {
    position: absolute;
    top: -46px;
    left: 50%;
    display: block;
    width: 108px;
    height: 108px;
    background:
        radial-gradient(circle at 50% 35%, hsl(0 0% 100%), hsl(210 10% 92%));
    border: 8px solid hsl(0 0% 100% / 0.88);
    border-radius: 50%;
    box-shadow: 0 12px 26px hsl(225 75% 8% / 0.16);
    object-fit: cover;
    transform: translateX(-50%);
}

.obituary-home-card__label {
    color: hsl(213 45% 30% / 0.78);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
}

.obituary-home-card h3 {
    margin: -8px 0 0;
    color: hsl(213 58% 24%);
    font-size: clamp(18px, 1.7vw, 23px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.12;
    text-wrap: balance;
}

.obituary-home-card__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.obituary-home-card__tabs--single {
    grid-template-columns: 1fr;
}

.obituary-home-card__tabs--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.obituary-home-card__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    color: hsl(213 58% 18%);
    font-family: inherit;
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
    background: hsl(0 0% 100% / 0.9);
    border: 1px solid hsl(31 64% 64% / 0.44);
    border-radius: 8px;
    cursor: pointer;
}

.obituary-home-card__tab.is-active {
    background: linear-gradient(135deg, hsl(31 76% 72%), hsl(38 86% 62%));
    border-color: hsl(31 64% 64% / 0.72);
}

.obituary-home-card__panel {
    display: grid;
    gap: 9px;
    padding: 14px;
    background: hsl(0 0% 100% / 0.42);
    border: 1px solid hsl(213 24% 72% / 0.34);
    border-radius: 10px;
}

.obituary-home-card__panel[hidden] {
    display: none;
}

.obituary-home-card__location-label {
    margin: 0;
    color: hsl(213 58% 18%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.25;
}

.obituary-home-card__location {
    min-height: 34px;
    margin: 0;
    color: hsl(213 32% 34%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1.45;
}

.obituary-home-card__datetime {
    display: grid;
    gap: 8px;
}

.obituary-home-card__datetime-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    row-gap: 8px;
    min-height: 34px;
    padding: 7px 10px;
    color: hsl(213 58% 18%);
    background: hsl(0 0% 100% / 0.78);
    border: 1px solid hsl(213 24% 72% / 0.45);
    border-radius: 8px;
}

.obituary-home-card__datetime strong,
.obituary-home-card__datetime-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 0;
    padding: 0;
    color: hsl(213 58% 18%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.obituary-home-card__datetime strong + strong,
.obituary-home-card__datetime-chip + .obituary-home-card__datetime-chip {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
}

.obituary-home-card__datetime strong i,
.obituary-home-card__datetime-chip i {
    color: hsl(31 64% 48%);
    font-size: 16px;
    line-height: 1;
}

.obituary-home-card__datetime-chip.has-mini-label {
    align-items: center;
    white-space: normal;
    text-align: left;
}

.obituary-schedule-chip__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.obituary-schedule-chip__label {
    display: block;
    color: hsl(213 32% 34% / 0.72);
    font-size: 9px;
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.obituary-schedule-chip__value {
    display: block;
    line-height: 1.1;
}

.obituary-home-card__map-actions {
    display: grid;
    gap: 8px;
}

.obituary-home-card__map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 10px;
    color: hsl(213 58% 18%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    text-decoration: none;
    background: hsl(0 0% 100% / 0.86);
    border: 1px solid hsl(213 24% 72% / 0.38);
    border-radius: 8px;
}

.obituary-home-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    color: hsl(213 58% 18%);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(135deg, hsl(31 76% 72%), hsl(38 86% 62%));
    border: 1px solid hsl(31 64% 64% / 0.72);
    border-radius: 8px;
}

.obituary-home-card__cta {
    width: 100%;
    margin-top: 2px;
}

.obituary-home-card__actions,
.obituaries-archive-card__actions {
    display: grid;
    gap: 8px;
    width: 100%;
}

.obituary-home-card__actions .obituary-home-card__cta {
    margin-top: 0;
}

.obituary-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 9px 14px;
    color: hsl(213 58% 18%);
    font-family: inherit;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    text-align: center;
    background: hsl(0 0% 100% / 0.86);
    border: 1px solid hsl(213 24% 72% / 0.46);
    border-radius: 8px;
    cursor: pointer;
    transition: transform var(--motion-standard), background var(--motion-standard), border-color var(--motion-standard);
}

.obituary-share-button:hover,
.obituary-share-button:focus-visible {
    background: hsl(0 0% 100% / 0.98);
    border-color: hsl(38 86% 62% / 0.78);
    transform: translateY(-1px);
}

.obituary-share-button i {
    color: hsl(31 64% 48%);
    font-size: 17px;
    line-height: 1;
}

.obituary-share-modal[hidden] {
    display: none;
}

.obituary-share-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.obituary-share-modal__backdrop {
    position: absolute;
    inset: 0;
    background: hsl(225 70% 8% / 0.68);
    backdrop-filter: blur(8px);
}

.obituary-share-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    max-height: min(86vh, 680px);
    overflow: auto;
    padding: 30px;
    color: hsl(225 75% 11%);
    background: hsl(0 0% 100%);
    border: 1px solid hsl(213 24% 72% / 0.38);
    border-radius: 14px;
    box-shadow: 0 30px 80px hsl(225 75% 8% / 0.38);
    outline: 0;
}

.obituary-share-modal__close {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: hsl(225 75% 11%);
    background: hsl(210 18% 95%);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.obituary-share-modal__close i {
    font-size: 24px;
    line-height: 1;
}

.obituary-share-modal__eyebrow {
    margin: 0 0 8px;
    color: hsl(31 64% 48%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.obituary-share-modal h2 {
    max-width: 340px;
    margin: 0;
    color: hsl(225 75% 11%);
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.02;
}

.obituary-share-modal__text {
    margin: 10px 0 22px;
    color: hsl(213 32% 34%);
    font-size: var(--font-size-base);
    line-height: 1.45;
}

.obituary-share-modal__options {
    display: grid;
    gap: 10px;
}

.obituary-share-option {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 8px 12px;
    color: hsl(225 75% 11%);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-extrabold);
    text-align: left;
    text-decoration: none;
    background: hsl(0 0% 100%);
    border: 1px solid hsl(31 64% 58% / 0.72);
    border-radius: 8px;
    cursor: pointer;
    transition: transform var(--motion-standard), background var(--motion-standard), border-color var(--motion-standard);
}

.obituary-share-option:hover,
.obituary-share-option:focus-visible {
    color: hsl(225 75% 11%);
    background: hsl(38 86% 96%);
    border-color: hsl(31 64% 48%);
    transform: translateY(-1px);
}

.obituary-share-option__icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: hsl(31 64% 48%);
    background: hsl(31 76% 72% / 0.22);
    border-radius: 50%;
}

.obituary-share-option__icon i,
.obituary-share-option > i {
    font-size: 20px;
    line-height: 1;
}

.obituary-share-option__status-icon {
    opacity: 0;
}

.obituary-share-option.is-copied .obituary-share-option__status-icon {
    color: #166534;
    opacity: 1;
}

.obituary-share-modal__status {
    min-height: 18px;
    margin: 12px 0 0;
    color: hsl(213 58% 24%);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
}

.has-obituary-share-modal {
    overflow: hidden;
}

@media (max-width: 560px) {
    .obituary-share-modal {
        padding: 14px;
    }

    .obituary-share-modal__dialog {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .obituary-share-modal__close {
        top: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
    }

    .obituary-share-option {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        min-height: 56px;
    }
}

.obituaries-home__actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.obituaries-home__archive {
    min-width: 190px;
    min-height: 52px;
    border-radius: 8px;
}

.obituaries-home__empty {
    max-width: 520px;
    margin: 30px auto 0;
    padding: 18px 22px;
    color: var(--color-primary-deep);
    font-weight: var(--font-weight-bold);
    text-align: center;
    background: hsl(0 0% 100% / 0.88);
    border: 1px solid hsl(31 64% 64% / 0.7);
    border-radius: 8px;
}

.obituary-home-card.is-hidden {
    display: none !important;
}

@media (max-width: 980px) {
    .obituary-home__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .obituary-home__description {
        margin-top: 0;
    }

    .obituary-home__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }

    .obituaries-home__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .obituaries-home__header>p {
        margin-top: 0;
    }

    .obituaries-home__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }
}

@media (max-width: 560px) {

    .obituary-home,
    .obituaries-home-section {
        padding: 62px 0 72px;
    }

    .obituary-home h2,
    .obituaries-home__header h2 {
        font-size: 34px;
    }

    .obituary-home__search,
    .obituaries-home__search {
        margin-top: 26px;
    }

    .obituary-home-card {
        padding: 70px 18px 24px;
    }

    .obituary-home-card__portrait,
    .obituary-home-card__avatar {
        width: 96px;
        height: 96px;
        top: -40px;
    }

    .obituary-home-event__schedule,
    .obituary-home-card__datetime {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   FIX: Obituarios visibles aunque scroll-reveal no active
   ================================================== */

.obituary-home .scroll-reveal,
.obituary-home__header,
.obituaries-home-section .scroll-reveal,
.obituaries-home__header,
.obituary-home-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
}

.obituary-home__grid,
.obituaries-home__grid {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
}

.obituary-home-card {
    display: grid !important;
}

/* ==================================================
   FIX REAL - HERO desborda hacia la derecha
   Solo portada
   ================================================== */

body.home .hero-section,
body.front-page .hero-section {
    position: relative !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-bottom: 120px !important;
}

/* Cortar cualquier fondo o pseudo-elemento que crezca */
body.home .hero-section::before,
body.home .hero-section::after,
body.front-page .hero-section::before,
body.front-page .hero-section::after {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    animation: none !important;
}

/* Si existe un wrapper interno del fondo/imagen */
body.home .hero-section__media,
body.home .hero-section__background,
body.home .hero-section__image,
body.front-page .hero-section__media,
body.front-page .hero-section__background,
body.front-page .hero-section__image {
    overflow: hidden !important;
    max-width: 100% !important;
}

/* Evitar que algún hijo absoluto empuje a la derecha */
body.home .hero-section > *,
body.front-page .hero-section > * {
    max-width: 100% !important;
}

/* Las cards azules: sin empujar fuera del Hero */
body.home .hero-section__stats,
body.front-page .hero-section__stats {
    transform: none !important;
    margin-top: 28px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Cada card puede encogerse si hace falta */
body.home .hero-section__stat,
body.front-page .hero-section__stat {
    min-width: 0 !important;
}

/* Cinturón de seguridad global SOLO en portada */
body.home,
body.front-page,
body.home .site-main,
body.front-page .site-main {
    overflow-x: hidden !important;
}

/* FIX mobile obituarios - evitar solapamiento de cards */
@media (max-width: 640px) {
    .obituaries-home__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 88px;
        row-gap: 88px;
        margin-top: 82px;
    }

    .obituary-home-card {
        margin-top: 0;
        padding-top: 68px;
        height: auto;
        min-height: unset;
    }

    .obituary-home-card__avatar {
        top: -36px;
        width: 78px;
        height: 78px;
        border-width: 5px;
    }
}

/* ==================================================
   AJUSTE HERO - Reducir textos principales de cards
   ================================================== */

body.home .hero-section__stat strong,
body.front-page .hero-section__stat strong,
body.home .hero-section__stat--experience strong,
body.front-page .hero-section__stat--experience strong,
body.home .hero-section__stat--location strong,
body.front-page .hero-section__stat--location strong {
    font-size: clamp(20px, 1.45vw, 25px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.01em !important;
}

body.home .hero-section__stat-copy > span,
body.front-page .hero-section__stat-copy > span {
    font-size: 12px !important;
    line-height: 1.3 !important;
}

@media (max-width: 640px) {
    body.home .hero-section__stat strong,
    body.front-page .hero-section__stat strong,
    body.home .hero-section__stat--experience strong,
    body.front-page .hero-section__stat--experience strong,
    body.home .hero-section__stat--location strong,
    body.front-page .hero-section__stat--location strong {
        font-size: 21px !important;
    }

    body.home .hero-section__stat-copy > span,
    body.front-page .hero-section__stat-copy > span {
        font-size: 11px !important;
    }
}

/* ==================================================
   AJUSTE OBITUARIOS - Tamaño de textos internos cards
   ================================================== */

.obituary-home-card__location-label {
    font-size: 15px !important;
    line-height: 1.3 !important;
}

.obituary-home-card__location {
    font-size: 15px !important;
    line-height: 1.45 !important;
}

.obituary-home-card__datetime strong {
    font-size: 15px !important;
    line-height: 1.15 !important;
}

.obituary-home-card__map-button {
    font-size: 16px !important;
    line-height: 1.15 !important;
}

.obituary-home-card__cta {
    font-size: 16px !important;
}

/* ==================================================
   FIX LISTADO OBITUARIOS - Hero azul a ancho completo
   ================================================== */

body.post-type-archive-obituario .site-main,
body.page-template-template-listado-obituarios .site-main,
body.page-template-template-listado-obituarios-php .site-main {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
}

body.post-type-archive-obituario .obituaries-section,
body.page-template-template-listado-obituarios .obituaries-section,
body.page-template-template-listado-obituarios-php .obituaries-section {
    width: 100% !important;
}

/* ==================================================
   FIX LISTADO OBITUARIOS - Separar buscador y cards
   ================================================== */

.obituaries-archive-tools {
    position: relative !important;
    z-index: 5 !important;
    margin-bottom: 76px !important;
}

.obituaries-archive-grid {
    position: relative !important;
    z-index: 1 !important;
    padding-top: 48px !important;
    gap: 72px 34px !important;
    overflow: visible !important;
}

.obituaries-archive-card {
    position: relative !important;
    margin-top: 0 !important;
}

.obituaries-archive-card__avatar {
    z-index: 2 !important;
}

@media (max-width: 640px) {
    .obituaries-archive-tools {
        margin-bottom: 86px !important;
    }

    .obituaries-archive-grid {
        padding-top: 52px !important;
        gap: 86px !important;
    }
}

/* ==================================================
   FIX MOBILE - Contenido visible en páginas legales y FAQ
   ================================================== */

@media (max-width: 980px) {

    .terms-page .scroll-reveal,
    .privacy-page .scroll-reveal,
    .faq-page .scroll-reveal,
    .terms-page__article,
    .terms-page__section,
    .terms-page__contact,
    .privacy-page__article,
    .privacy-page__section,
    .privacy-page__contact,
    .faq-page__groups,
    .faq-page__group,
    .faq-page__contact {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        visibility: visible !important;
    }

    .terms-page__content-grid,
    .privacy-page__content-grid,
    .faq-page__content-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .terms-page__toc,
    .privacy-page__toc,
    .faq-page__toc {
        position: static !important;
        margin-bottom: 24px !important;
    }

    .terms-page__article,
    .privacy-page__article,
    .faq-page__groups {
        display: grid !important;
        gap: 24px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* ==================================================
   NOSOTROS - Hero con imagen de fondo y gradiente oscuro
   ================================================== */

.about-page__hero--background {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(430px, 52vw, 620px);
    overflow: hidden;
    color: var(--color-white);
    background-color: var(--color-primary-footer);
    background-image:
        linear-gradient(
            90deg,
            hsl(225 75% 8% / 0.86) 0%,
            hsl(225 75% 8% / 0.74) 42%,
            hsl(225 75% 8% / 0.48) 72%,
            hsl(225 75% 8% / 0.34) 100%
        ),
        var(--about-hero-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.about-page__hero--background::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        radial-gradient(circle at 18% 22%, hsl(31 64% 64% / 0.16), transparent 24rem),
        linear-gradient(180deg, hsl(225 75% 8% / 0.08), hsl(225 75% 8% / 0.36));
    pointer-events: none;
}

.about-page__hero--background .about-page__hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 720px);
    align-items: center;
    padding-top: clamp(84px, 8vw, 130px);
    padding-bottom: clamp(84px, 8vw, 130px);
}

.about-page__hero--background .about-page__hero-copy {
    max-width: 720px;
    color: var(--color-white);
}

.about-page__hero--background .sample-eyebrow {
    color: var(--color-gold-light);
}

.about-page__hero--background h1 {
    color: var(--color-white);
    font-size: clamp(32px, 5.4vw, 42px);
    line-height: 1.05;
}

.about-page__hero--background .about-page__rule {
    background: hsl(38 86% 66%);
}

.about-page__hero--background .about-page__hero-copy > p:not(.sample-eyebrow) {
    max-width: 660px;
    color: hsl(0 0% 100% / 0.84);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .about-page__hero--background {
        min-height: auto;
        background-position: center;
    }

    .about-page__hero--background .about-page__hero-grid {
        grid-template-columns: 1fr;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .about-page__hero--background h1 {
        font-size: clamp(34px, 10vw, 46px);
    }
}

/* ==================================================
   NOSOTROS - Corregir imagen pequeña tercera card
   ================================================== */

.about-page__cards-grid .about-page-card:nth-child(3) .about-page-card__media {
    display: block !important;
    place-items: initial !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: hsl(210 18% 96%) !important;
}

.about-page__cards-grid .about-page-card:nth-child(3) .about-page-card__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ==================================================
   SERVICIOS - Banner hero con imagen y gradiente oscuro
   ================================================== */

.services-page__summary {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(420px, 48vw, 590px);
    overflow: hidden;
    color: var(--color-white);
    background-color: var(--color-primary-footer);
    background-image:
        linear-gradient(
            90deg,
            hsl(225 75% 8% / 0.88) 0%,
            hsl(225 75% 8% / 0.76) 42%,
            hsl(225 75% 8% / 0.52) 72%,
            hsl(225 75% 8% / 0.38) 100%
        ),
        var(--services-hero-image, url("assets/images/servicios-banner-ancho.jpg"));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.services-page__summary::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        radial-gradient(circle at 18% 20%, hsl(31 64% 64% / 0.14), transparent 24rem),
        linear-gradient(180deg, hsl(225 75% 8% / 0.08), hsl(225 75% 8% / 0.36));
    pointer-events: none;
}

.services-page__summary-inner {
    position: relative;
    z-index: 1;
    align-items: center;
    padding-top: clamp(86px, 8vw, 132px);
    padding-bottom: clamp(86px, 8vw, 132px);
}

.services-page__summary-copy {
    max-width: 760px;
}

.services-page__summary .sample-eyebrow {
    color: var(--color-gold-light);
}

.services-page__summary h1 {
    max-width: 760px;
    color: var(--color-white);
    font-size: clamp(42px, 5.8vw, 72px);
    line-height: 1.05;
}

.services-page__summary-copy > p:not(.sample-eyebrow) {
    max-width: 660px;
    color: hsl(0 0% 100% / 0.86);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
}

.services-page__summary-actions {
    align-self: center;
}

/* Botones del banner más legibles sobre fondo oscuro */
.services-page__summary .button--primary {
    background: hsl(38 86% 66%);
    border-color: hsl(38 86% 66%);
    color: var(--color-primary-deep);
}

.services-page__summary .button--secondary {
    background: var(--color-primary-footer);
    border-color: hsl(0 0% 100% / 0.34);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .services-page__summary {
        min-height: auto;
        background-position: center;
    }

    .services-page__summary-inner {
        grid-template-columns: 1fr;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .services-page__summary h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .services-page__summary-actions {
        width: 100%;
        align-items: stretch;
    }

    .services-page__summary-actions .button {
        width: 100%;
    }
}

/* ==================================================
   SERVICIO INDIVIDUAL CPT - Planes recomendados
   ================================================== */

.service-plan__related {
    padding: clamp(58px, 7vw, 92px) 0;
    color: var(--color-primary-deep);
    background: var(--color-white);
    border-top: 1px solid hsl(212 68% 21% / 0.1);
}

.service-plan__related-head {
    margin-bottom: 30px;
}

.service-plan__related .services-page__plans-grid {
    margin-top: 0;
}

.service-plan__related-actions {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

@media (max-width: 640px) {
    .service-plan__related-actions .button {
        width: 100%;
    }
}

/* ==================================================
   FIX CARRUSEL PLAN - Imagen única activa
   ================================================== */

.service-plan-gallery__viewport {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.service-plan-gallery__track {
    display: block !important;
    width: 100% !important;
}

.service-plan-gallery__item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 16 / 7 !important;
    overflow: hidden !important;
}

.service-plan-gallery__item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 720px) {
    .service-plan-gallery__item {
        aspect-ratio: 4 / 3 !important;
    }
}
