/* Explain: Styles for site header, kicker, glass panels, stats, and various content blocks. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.6));
    backdrop-filter: blur(18px);
}

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

.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(145deg, rgba(250, 249, 246, 0.8), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(76vh, 700px);
    min-height: 480px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 500px;
    max-width: 24rem;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 4rem;
    display: flex;
    max-width: 260px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
}

.quiet-detail,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.62);
    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: 700;
    letter-spacing: 0.1em;
}

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

.service-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border-radius: 2rem;
    padding: 1.15rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.12);
    transform: translateY(-6px);
}

.service-media {
    overflow: hidden;
    border-radius: 1.4rem;
}

.service-media img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 600ms ease;
}

.service-card:hover .service-media img {
    transform: scale(1.06);
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.66);
    padding: 1.35rem;
}

.process-number {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

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

.stat-number {
    color: var(--sage-dark);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.record-card {
    display: flex;
    flex-direction: column;
    border-radius: 2rem;
    padding: 1.6rem;
}

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

.record-item {
    position: relative;
    padding-left: 1.35rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.record-item::before {
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    content: "";
}

.record-closing {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.75rem;
    color: var(--sage-dark);
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    text-align: center;
}

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

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.form-status {
    min-height: 1.5rem;
    font-size: 0.875rem;
}

.form-status.success {
    color: #4A6B53;
}

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

.events-table {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.66);
    box-shadow: var(--shadow-soft);
}

.events-head,
.event-row {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr) 15rem;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.events-head {
    background: var(--surface-color);
    color: var(--sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.event-row {
    border-top: 1px solid var(--glass-border);
    transition: background-color 300ms ease;
}

.event-row:hover {
    background: rgba(163, 177, 138, 0.14);
}

.event-year {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.event-name {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.event-place {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

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

    .arch-frame-large,
    .arch-frame-medium {
        height: 480px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 430px);
    }

    .floating-note {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.2rem auto 0;
    }

    .events-head {
        display: none;
    }

    .event-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.4rem;
        padding: 1.1rem 1.25rem;
    }

    .event-year {
        font-size: 0.78rem;
        letter-spacing: 0.12em;
    }

    .event-name {
        font-size: 1rem;
    }
}