/* Explain: Component styles for glass effects, image frames, and responsive elements. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.62));
    backdrop-filter: blur(18px);
}

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

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

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.82), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

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

.image-frame::after {
    position: absolute;
    inset: 0.9rem;
    border: 1px solid rgba(250, 249, 246, 0.55);
    border-radius: 1.9rem;
    content: "";
    pointer-events: none;
}

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

.image-frame-medium {
    height: 560px;
    max-width: 440px;
}

.floating-note {
    position: absolute;
    right: -1.25rem;
    bottom: 2.25rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.7rem;
    border-radius: 1.2rem;
    padding: 0.9rem 1.1rem;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.45;
}

.quiet-detail,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

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

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

.stat-tile p {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

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

.service-card:hover {
    border-color: rgba(154, 106, 66, 0.55);
    box-shadow: 0 26px 80px rgba(23, 38, 60, 0.14);
    transform: translateY(-5px);
}

.service-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--sage-soft);
    color: var(--primary-color);
    font-size: 1.15rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    transition: color 250ms ease, gap 250ms ease;
}

.service-link:hover {
    color: var(--sage-dark);
    gap: 0.85rem;
}

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

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--background-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.audience-card {
    border-radius: 2rem;
    padding: 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.7);
    padding: 0.45rem 0.95rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.contact-form,
.contact-overlay-panel {
    border-radius: 2.2rem;
    padding: clamp(1.4rem, 4vw, 2.4rem);
}

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

.form-field {
    width: 100%;
    min-height: 3rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.1rem;
    background: var(--field-bg);
    padding: 0.85rem 1.1rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.form-field::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.form-field:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--sage-soft);
    outline: none;
}

.form-textarea {
    min-height: 130px;
    border-radius: 1.5rem;
    resize: vertical;
}

.form-status.success {
    color: var(--primary-color);
}

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

.mobile-cta-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.9);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(23, 38, 60, 0.42);
    padding: 1rem;
}

.contact-overlay.is-open {
    display: block;
}

.contact-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(23, 38, 60, 0.24);
}

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

    .image-frame-tall,
    .image-frame-medium {
        height: 400px;
        min-height: 0;
        width: 100%;
    }

    .floating-note {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.25rem auto 0;
        max-width: 300px;
    }

    .service-card,
    .audience-card {
        padding: 1.5rem;
    }
}