/* Explain: Styles for UI components: header, buttons, hero, cards, forms, and footer. */
/* ---------- Header & brand ---------- */
.topbar {
    background: #101010;
    color: var(--on-media-muted);
}

.topbar a {
    color: var(--gold-color);
    transition: color 0.3s ease;
}

.topbar a:hover {
    color: #ffffff;
}

.site-header {
    background: rgba(251, 250, 247, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background: #ffffff;
    box-shadow: 0 14px 34px -30px rgba(0, 0, 0, 0.65);
}

.brand-photo {
    display: inline-flex;
    flex: none;
    overflow: hidden;
    width: 4.75rem;
    height: 4.75rem;
    border: 2px solid var(--gold-color);
    border-radius: 999px;
    background: var(--surface-strong);
    box-shadow: 0 0 0 3px rgba(217, 180, 95, 0.22);
}

@media (min-width: 768px) {
    .brand-photo {
        width: 5.5rem;
        height: 5.5rem;
    }
}

.brand-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: none;
}

.brand-photo--wide {
    width: auto;
    aspect-ratio: 11 / 5;
    border-radius: 0.2rem;
    background: #ffffff;
}

.brand-photo--wide img {
    object-fit: contain;
    object-position: center;
    filter: none;
}

.brand-word {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 1;
    color: var(--gold-light);
}

.brand-word--light {
    color: #ffffff;
}

.brand-sub {
    margin-top: 0.4rem;
    font-size: 0.63rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    line-height: 1.25;
    color: var(--gold-light);
}

.brand-sub--light {
    color: var(--baby-blue);
}

.nav-link {
    position: relative;
    padding: 0.55rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.3rem;
    height: 1px;
    background: var(--gold-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* ---------- Buttons ---------- */
.btn-ink,
.btn-gold,
.btn-outline,
.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.85rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 0.15rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-ink {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-ink:hover {
    background: #000000;
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold-color);
    color: #141414;
}

.btn-gold:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.btn-gold-bright {
    background: #eecd55;
    color: #141414;
}

.btn-gold-bright:hover {
    background: #e0b93c;
}

.btn-outline {
    border-color: var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--text-color);
    color: #ffffff;
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
}

.btn-gold-lg {
    min-height: 56px;
    padding: 1.05rem 2.15rem;
    font-size: 0.86rem;
    letter-spacing: 0.2em;
}

.btn-gold-lg i {
    font-size: 1rem;
}

.btn-ink:disabled,
.btn-gold:disabled {
    opacity: 0.6;
    transform: none;
    cursor: progress;
}

/* ---------- Type helpers ---------- */
.eyebrow {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.34em;
}

/* ---------- Photography ---------- */
.photo-bw {
    filter: grayscale(100%) contrast(1.05);
}

.mirror-x {
    transform: scaleX(-1);
}

.figure-frame {
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
}

.figure-frame img {
    transition: transform 0.8s ease;
}

.figure-frame:hover img {
    transform: scale(1.04);
}

.rose-frame img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left center;
    transform: scale(1.16);
    transform-origin: left center;
}

.rose-frame:hover img {
    transform: scale(1.21);
}

@media (prefers-reduced-motion: reduce) {
    .rose-frame:hover img {
        transform: scale(1.16);
    }
}

/* ---------- Hero ---------- */
.hero-photo {
    filter: grayscale(100%) contrast(1.04) brightness(0.99);
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(62% 66% at 76% 44%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 42%, rgba(255, 255, 255, 0) 74%);
    mix-blend-mode: screen;
}

.hero-scrim {
    background: linear-gradient(100deg, rgba(8, 8, 8, 0.97) 0%, rgba(8, 8, 8, 0.9) 26%, rgba(8, 8, 8, 0.62) 50%, rgba(8, 8, 8, 0.22) 74%, rgba(8, 8, 8, 0) 100%);
}

.hero-eyebrow,
.hero-copy {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.hero-title-plate {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-top: 0.85rem;
    padding: 0.1em 0.42em 0.16em;
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
    backdrop-filter: blur(16px) saturate(115%);
    box-shadow: 0 0 34px rgba(217, 180, 95, 0.2);
    color: var(--gold-color);
    text-shadow: 0 1px 12px rgba(217, 180, 95, 0.35);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero-portrait {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0;
}

.hero-portrait img {
    flex: none;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid var(--gold-color);
    border-radius: 999px;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%);
}

.hero-portrait img.hero-portrait__photo {
    object-position: left center;
    filter: none;
}

/* ---------- Partner lockup ---------- */
.partner-lockup {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.partner-lockup__label {
    font-size: 0.52rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--on-media-muted);
}

.partner-lockup__mark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.15rem;
    background: rgba(255, 255, 255, 0.06);
}

.partner-lockup__mark i {
    font-size: 0.95rem;
    color: var(--gold-color);
}

.partner-lockup__mark--logo {
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.partner-lockup__logo {
    display: block;
    height: 6rem;
    width: auto;
    object-fit: contain;
}

.partner-lockup__name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffffff;
}

.partner-lockup__sub {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--baby-blue);
}

/* ---------- Ticker ---------- */
.ticker {
    overflow: hidden;
    padding-block: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker-slide 32s linear infinite;
}

.ticker__group {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
}

.ticker__word {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.92);
}

.ticker__word--gold {
    color: var(--gold-color);
    text-shadow: 0 0 14px rgba(217, 180, 95, 0.28);
}

.ticker__word--blue {
    color: var(--baby-blue);
    text-shadow: 0 0 14px rgba(169, 203, 227, 0.28);
}

.ticker__word--rose {
    color: var(--rose-color);
    text-shadow: 0 0 14px rgba(227, 176, 160, 0.3);
}

.ticker__word--sage {
    color: var(--sage-color);
    text-shadow: 0 0 14px rgba(182, 205, 180, 0.3);
}

.ticker__dot {
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--gold-color);
}

@keyframes ticker-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker__track {
        animation: none;
    }
}

/* ---------- Cards ---------- */
.card-soft {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-soft);
}

.card-sand {
    background: var(--surface-warm);
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-sand:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px -46px rgba(0, 0, 0, 0.8);
}

.treatment-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-3px);
    border-color: var(--text-color);
    box-shadow: 0 30px 60px -46px rgba(0, 0, 0, 0.8);
}

.price-tag {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1;
    color: var(--secondary-color);
}

.badge-signature {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--gold-color);
    background: var(--gold-soft);
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--secondary-color);
}

.technique-number {
    flex: none;
    width: 2.25rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--gold-color);
}

.quote-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--gold-color);
    padding: 1.5rem;
}

.icon-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--gold-color);
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* ---------- Forms & map ---------- */
.field-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--text-muted);
}

.booking-form .input,
.booking-form .select,
.booking-form .textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 0.12rem;
    background: #ffffff;
    color: var(--text-color);
    font-size: 0.95rem;
}

.booking-form .input:focus,
.booking-form .select:focus,
.booking-form .textarea:focus {
    border-color: var(--text-color);
    outline: 2px solid var(--gold-color);
    outline-offset: 1px;
}

.map-frame {
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
}

/* ---------- Footer ---------- */
.footer-rule {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.link-quiet {
    color: var(--on-media-muted);
    transition: color 0.3s ease;
}

.link-quiet:hover {
    color: var(--gold-color);
}

/* ---------- Hero title panel (soft gold finish) ---------- */
.hero-title-plate {
    background: linear-gradient(104deg, rgba(169, 203, 227, 0.32) 0%, rgba(237, 244, 250, 0.2) 34%, rgba(217, 180, 95, 0.28) 68%, rgba(107, 74, 52, 0.22) 100%);
    box-shadow:
        0 0 16px rgba(217, 180, 95, 0.28),
        0 0 34px rgba(169, 203, 227, 0.2),
        0 0 52px rgba(217, 180, 95, 0.1),
        inset 0 0 18px rgba(255, 246, 214, 0.18);
    color: #edd9a8;
    text-shadow:
        0 0 1px rgba(255, 248, 228, 0.95),
        0 0 3px rgba(240, 216, 160, 0.55),
        0 0 7px rgba(217, 180, 95, 0.3),
        0 0 13px rgba(217, 180, 95, 0.14);
    animation: hero-title-glow 6s ease-in-out infinite;
}

@keyframes hero-title-glow {
    0%,
    100% {
        text-shadow:
            0 0 1px rgba(255, 248, 228, 0.94),
            0 0 3px rgba(240, 216, 160, 0.5),
            0 0 6px rgba(217, 180, 95, 0.26),
            0 0 12px rgba(217, 180, 95, 0.12);
        box-shadow:
            0 0 14px rgba(217, 180, 95, 0.26),
            0 0 30px rgba(169, 203, 227, 0.19),
            0 0 46px rgba(217, 180, 95, 0.09),
            inset 0 0 16px rgba(255, 246, 214, 0.16);
    }
    50% {
        text-shadow:
            0 0 1px rgba(255, 250, 232, 0.98),
            0 0 4px rgba(242, 220, 168, 0.66),
            0 0 8px rgba(217, 180, 95, 0.38),
            0 0 16px rgba(217, 180, 95, 0.18);
        box-shadow:
            0 0 20px rgba(217, 180, 95, 0.36),
            0 0 42px rgba(169, 203, 227, 0.26),
            0 0 64px rgba(217, 180, 95, 0.14),
            inset 0 0 20px rgba(255, 246, 214, 0.22);
    }
}

/* ---------- Clinic mark beside the brand ---------- */
.header-clinic {
    display: none;
    align-items: center;
    gap: 0.6rem;
    margin-left: 0.35rem;
    padding-left: 0.85rem;
    border-left: 1px solid var(--border-color);
}

.header-clinic__logo {
    display: block;
    height: 2.6rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .header-clinic {
        display: inline-flex;
    }

    .header-clinic__logo {
        height: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-plate {
        animation: none;
    }
}