/* Explain: Styles for reusable UI components like cards and buttons. */
.site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
    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.22em;
    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(145deg, rgba(255, 255, 255, 0.82), rgba(252, 228, 236, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(216, 27, 96, 0.34);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

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

.arch-frame-large {
    height: min(74vh, 720px);
    min-height: 500px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

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

.service-card {
    min-height: 320px;
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(216, 27, 96, 0.5);
    box-shadow: 0 26px 80px rgba(194, 24, 91, 0.16);
    transform: translateY(-6px);
}

.service-icon {
    display: inline-flex;
    width: 3.4rem;
    height: 3.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.3rem;
}

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

.info-card span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

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

.eyewear-card {
    overflow: hidden;
    border-radius: 2rem;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.eyewear-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 80px rgba(194, 24, 91, 0.16);
}

.price-highlight {
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: linear-gradient(120deg, rgba(216, 27, 96, 0.12), rgba(233, 30, 99, 0.10));
    padding: 1.75rem 2rem;
}

.map-frame {
    height: 340px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.4rem;
    box-shadow: var(--shadow-soft);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

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

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

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

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

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(43, 10, 26, 0.36);
    padding: 1rem;
}

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

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(43, 10, 26, 0.24);
}

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

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

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

.collection-folder {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.9rem;
    background: var(--glass-bg);
    box-shadow: var(--shadow-soft);
    color: inherit;
    text-decoration: none;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.collection-folder:hover {
    border-color: rgba(216, 27, 96, 0.5);
    box-shadow: 0 26px 80px rgba(194, 24, 91, 0.18);
    transform: translateY(-6px);
}

.collection-folder-tab {
    position: absolute;
    top: 0;
    left: 1.5rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.4rem;
    border-radius: 0 0 1rem 1rem;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(216, 27, 96, 0.3);
}

.collection-folder-media {
    overflow: hidden;
    background: linear-gradient(150deg, #ffffff, var(--surface-color));
}

.collection-folder-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    transition: transform 500ms ease;
}

.collection-folder:hover .collection-folder-media img {
    transform: scale(1.06);
}

.collection-folder-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--border-color);
    padding: 1.6rem;
}

.collection-folder-count {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.35rem 0.9rem;
    color: var(--sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.collection-folder-cta {
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.75rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
}

.collection-folder-cta i {
    transition: transform 300ms ease;
}

.collection-folder:hover .collection-folder-cta i {
    transform: translateX(4px);
}

.nav-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.faq-item summary {
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item .faq-chevron {
    transition: transform 300ms ease;
}

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