/* =========================================================
   Start of Component Styles
   Purpose: Shared navigation, buttons, footer, forms, alerts, and utilities.
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    backdrop-filter: blur(18px);
    background: rgba(255, 249, 252, 0.88);
    border-bottom: 1px solid rgba(69, 41, 96, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.brandmark {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    color: var(--color-ink);
    text-decoration: none;
    min-width: 0;
}

.brandmark img {
    width: 4.45rem;
    height: 4.45rem;
    object-fit: contain;
}

.brandmark__text {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.brandmark__text strong {
    font-size: 1.05rem;
    line-height: 1.06;
}

.brandmark__text small {
    color: var(--color-muted);
    font-size: 0.88rem;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    color: var(--color-ink);
    font-weight: 600;
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 0.18rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-aqua));
    transition: width 0.25s ease;
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(69, 41, 96, 0.12);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1.1rem;
    height: 0.12rem;
    border-radius: 999px;
    background: var(--color-ink);
}

.button,
.slider-button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3rem;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button,
.button-link {
    background: linear-gradient(135deg, var(--color-pink), var(--color-berry));
    color: #fff;
    box-shadow: 0 18px 32px rgba(255, 94, 167, 0.22);
}

.button:hover,
.button:focus-visible,
.button-link:hover,
.button-link:focus-visible,
.slider-button:hover,
.slider-button:focus-visible {
    transform: translateY(-2px);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.88);
    color: var(--color-ink);
    box-shadow: inset 0 0 0 1px rgba(69, 41, 96, 0.12);
}

.button--small,
.slider-button {
    min-height: 2.65rem;
    padding: 0.7rem 1rem;
}

.slider-button {
    background: #fff;
    color: var(--color-ink);
    box-shadow: inset 0 0 0 1px rgba(69, 41, 96, 0.12);
}

.site-footer {
    margin-top: 3rem;
    padding-top: 4rem;
    background: linear-gradient(180deg, #4b2c67 0%, #2f1c43 100%);
    color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr 1.05fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand img {
    width: 7.6rem;
    background: rgba(255,255,255,0.96);
    border-radius: 1.35rem;
    padding: 0.65rem;
}

.footer-brand p {
    max-width: 18rem;
    margin-top: 1rem;
    color: rgba(255,255,255,0.78);
}

.site-footer h2 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.footer-links a,
.footer-credit a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-credit a:hover,
.footer-credit a:focus-visible {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    padding-bottom: 1.2rem;
    font-size: 0.92rem;
}

.footer-credit a {
    color: #ffcc00;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.field label {
    font-weight: 600;
    color: var(--color-ink);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(69, 41, 96, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-ink);
    padding: 0.95rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
    resize: vertical;
    min-height: 9rem;
}

.field select {
    padding-right: 3rem;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--color-ink) 50%),
        linear-gradient(135deg, var(--color-ink) 50%, transparent 50%);
    background-position:
        calc(100% - 1.1rem) calc(50% - 0.14rem),
        calc(100% - 0.82rem) calc(50% - 0.14rem);
    background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
    background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.button:focus-visible,
.slider-button:focus-visible,
.faq-toggle:focus-visible,
.site-nav a:focus-visible,
.text-link:focus-visible,
.nav-toggle:focus-visible {
    outline: none;
    border-color: rgba(255, 94, 167, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 94, 167, 0.12);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.status-message {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
}

.status-message--success {
    background: rgba(129, 220, 199, 0.18);
    color: #1f5f50;
}

.status-message--error,
.status-message--validation,
.status-message--config {
    background: rgba(255, 94, 167, 0.12);
    color: #9b225f;
}

.contact-form,
.contact-panel,
.contact-note {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(69, 41, 96, 0.08);
    border-radius: 1.5rem;
}

.contact-form,
.contact-panel {
    padding: 1.4rem;
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: min(420px, calc(100% - 2rem));
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(52, 38, 63, 0.96);
    color: rgba(255,255,255,0.92);
    box-shadow: 0 18px 34px rgba(0,0,0,0.24);
    z-index: 90;
}

.cookie-banner p {
    color: inherit;
    margin-bottom: 0.8rem;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.cookie-banner.is-hidden {
    display: none;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .brandmark__text small {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.6rem);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        border-radius: 1.35rem;
        background: rgba(255,255,255,0.98);
        border: 1px solid rgba(69, 41, 96, 0.08);
        box-shadow: var(--shadow-card);
    }

    .site-nav.is-open {
        display: flex;
    }
}

@media (max-width: 720px) {
    .footer-grid,
    .field-row,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =======================
   End of Component Styles
   ======================= */


/* =========================================================
   Start of v1.4 Component Refinements
   ========================================================= */
.site-header { background: rgba(255, 250, 252, 0.92); }
.nav-shell { min-width: 0; }
.site-nav { min-width: 0; }
.site-footer { position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.96); }
.footer-orb { position: absolute; border-radius: 999px; filter: blur(44px); pointer-events: none; opacity: 0.42; }
.footer-orb--one { width: 14rem; height: 14rem; top: 1rem; right: -3rem; background: rgba(255, 130, 188, 0.34); }
.footer-orb--two { width: 12rem; height: 12rem; left: -2rem; bottom: 1rem; background: rgba(78, 214, 238, 0.26); }
.footer-brand p, .footer-cta p, .footer-bottom p, .footer-links a { color: rgba(255,255,255,0.9); }
.footer-links a, .footer-credit a { font-weight: 500; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-credit a:hover, .footer-credit a:focus-visible, .footer-cta .text-link:hover, .footer-cta .text-link:focus-visible { color: #fff; }
.footer-cta .text-link { color: #ffd261; }
.footer-credit { color: rgba(255,255,255,0.92); }
.footer-credit a { color: #ffcc00; }
.status-message { margin-bottom: 1rem; padding: 0.9rem 1rem; border-radius: 1rem; border: 1px solid rgba(69, 41, 96, 0.12); }
.status-message--success { background: rgba(111, 231, 190, 0.18); color: var(--color-ink); }
.status-message--error { background: rgba(255, 130, 188, 0.18); color: var(--color-ink); }
@media (max-width: 860px) { .brandmark img { width: 3.3rem; height: 3.3rem; } .brandmark__text strong { font-size: 0.98rem; } .brandmark__text small { display: none; } .site-nav { position: absolute; top: calc(100% + 0.35rem); right: 0.7rem; left: 0.7rem; display: none; flex-direction: column; align-items: flex-start; padding: 1rem; border-radius: 1.4rem; background: rgba(255,255,255,0.96); border: 1px solid rgba(69, 41, 96, 0.12); box-shadow: 0 18px 32px rgba(66, 41, 81, 0.12); } .site-nav.is-open { display: flex; } .nav-toggle { display: inline-flex; flex: 0 0 auto; } .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } .footer-bottom { align-items: flex-start; flex-direction: column; } }
/* =======================
   End of v1.4 Component Refinements
   ======================= */
