/* Explain: Component styles for glass panels, cards, forms, and responsive layouts. */
.site-header {
    background: linear-gradient(180deg, rgba(251, 250, 247, 0.94), rgba(251, 250, 247, 0.62));
    backdrop-filter: blur(18px);
}

.brand-logo {
    mix-blend-mode: multiply;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--accent-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(243, 240, 233, 0.62));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.media-frame::after {
    position: absolute;
    inset: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 1.4rem;
    content: "";
    pointer-events: none;
}

.media-frame-tall {
    height: min(70vh, 640px);
    min-height: 420px;
}

.media-frame-medium {
    height: 520px;
    max-width: 420px;
}

.hero-stat {
    border-left: 1px solid var(--glass-border);
    padding-left: 1rem;
}

.hero-stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.hero-stat-value {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.1;
}

.hero-stat-label {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.practice-card {
    border-radius: 1.75rem;
    padding: 1.35rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.practice-card:hover {
    border-color: rgba(180, 136, 74, 0.58);
    box-shadow: 0 26px 80px rgba(22, 40, 63, 0.12);
    transform: translateY(-6px);
}

.practice-tag {
    display: inline-flex;
    border-radius: 999px;
    background: var(--gold-soft);
    padding: 0.4rem 0.85rem;
    color: var(--accent-hover);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.process-step {
    border-radius: 1.75rem;
    padding: 1.6rem;
}

.process-step-number {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
}

.stat-tile {
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.62);
    padding: 1.25rem;
    text-align: center;
}

.stat-value {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.info-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.35rem;
}

.info-card i {
    color: var(--accent-color);
}

.info-card-title {
    margin-top: 0.8rem;
    color: var(--text-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.info-card-title.no-icon {
    margin-top: 0;
}

.info-card-value {
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.66);
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.faq-item.is-open {
    border-color: rgba(180, 136, 74, 0.5);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    padding: 1.15rem 1.35rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.faq-chevron {
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.35rem 1.3rem;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.85;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.quote-form {
    border-radius: 2rem;
    padding: clamp(1.5rem, 4vw, 2.4rem);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status {
    min-height: 1.25rem;
}

.form-status.success {
    color: #2F6B4F;
}

.form-status.error {
    color: #9B4A3D;
}

.mobile-cta-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    gap: 0.6rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(251, 250, 247, 0.92);
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

@media (min-width: 1024px) {
    .mobile-cta-bar {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.5rem;
    }

    .media-frame-tall,
    .media-frame-medium {
        height: 400px;
        min-height: 0;
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 420px);
    }

    .hero-stat {
        border-left: 0;
        padding-left: 0;
    }
}