/* Explain: Styles for UI components, including a new branch decoration effect. */
.site-header {
    border-bottom: 1px solid rgba(246, 241, 227, 0.14);
    background-color: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: var(--primary-color);
    content: "";
}

.section-kicker-light {
    color: var(--accent-color);
}

.section-kicker-light::before {
    background: var(--accent-color);
}

.section-kicker-no-line::before {
    display: none;
}

.section-kicker-brand {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--heading-color);
}

.section-kicker-brand::before {
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
    content: "\25CF";
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.glass-panel {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

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

.arch-frame-large {
    height: clamp(340px, 48vh, 460px);
    min-height: 0;
}

.arch-frame-medium {
    height: 560px;
    max-width: 460px;
}

.quiet-detail,
.service-card,
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--cream-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
}

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

.service-card,
.product-card {
    display: flex;
    flex-direction: column;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.service-card:hover,
.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px -28px rgba(30, 69, 54, 0.35);
    transform: translateY(-6px);
}

.service-media {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
}

.service-media img {
    transition: transform 500ms ease;
}

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

.service-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--cream-color);
    transition: background 300ms ease;
}

.service-icon:hover {
    background: var(--primary-hover);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--cream-color);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 300ms ease;
}

.badge-pill:hover {
    background: var(--primary-hover);
}

.product-card {
    gap: 1rem;
    padding: 1.1rem;
}

.info-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border: 0;
    border-left: 2px solid var(--primary-color);
    background: transparent;
    padding: 0.1rem 0 0.1rem 1.25rem;
}

.info-dot {
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 0 0.35rem rgba(30, 69, 54, 0.16);
}

.booking-form,
.booking-overlay-panel {
    border: 1px solid var(--border-strong);
    border-radius: 1.75rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

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

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

.form-status.error {
    color: #C0392B;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--border-color);
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(4, 8, 10, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 1rem;
}

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

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    border-radius: 1.5rem;
}

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

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

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

.review-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
    padding: 1.75rem;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.review-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px -28px rgba(30, 69, 54, 0.35);
    transform: translateY(-6px);
}

.review-avatar {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--button-color);
    color: var(--button-text-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.branch-decoration {
    opacity: 0.95;
    transition: opacity 500ms ease;
}

.branch-decoration.branch-pending {
    opacity: 0;
}