/* ===== VARIABILI CSS ===== */
:root {
    /* Colori – Tema Panna Sfumata & Blu */
    --primary-dark:   #1e293b;
    --primary-medium: #334155;
    --accent-blue:    #046bd2;
    --accent-blue-dk: #045cb4;
    --bg-cream:       #FFFDF7;
    --bg-cream-mid:   #FAF4E8;
    --bg-cream-deep:  #F5EDD8;
    --bg-light:       #FAF5EE;
    --bg-footer:      #1e293b;
    --text-dark:      #1e293b;
    --text-light:     #FFFDF7;
    --text-gray:      #5a6370;
    --text-muted:     #94a3b8;
    --text-italic:    #5a6370;
    --border:         #E8DDD0;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --radius: 6px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.13);

    /* Transitions */
    --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Jost', 'Inter', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
    min-height: 100vh;
    line-height: 1.65;
}

/* ===== NAVBAR ===== */
nav {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: box-shadow 0.4s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--primary-dark);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.3px;
    transition: color var(--transition);
}
.navbar-logo:hover { color: var(--accent-blue); }

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 25px; height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

/* ===== HEADER (pagine interne) ===== */
header {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: var(--text-light);
    padding: calc(80px + var(--spacing-lg)) var(--spacing-md) var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}
header > * { position: relative; z-index: 1; }

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}
.logo { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }

header h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 2.8rem; margin: 0; font-weight: 400; font-style: italic; letter-spacing: 0.3px; }
header h3 { font-size: 1.1rem; font-weight: 400; margin: 0; }
header p  { font-size: 1rem; opacity: 0.8; margin: 0; }

/* ===== SECTIONS ===== */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

h1, h2, h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: var(--spacing-sm);
    letter-spacing: 0.2px;
    font-style: italic;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
}

h3 { color: var(--primary-dark); font-size: 1.25rem; font-weight: 400; font-style: italic; }

/* ===== HERO SECTION ===== */
.hero {
    background: url(./assets/wall.png) no-repeat center center;
    color: var(--text-light);
    padding: 6rem var(--spacing-md);
    text-align: center;
}
.hero h2 { color: var(--text-light); font-size: 3rem; margin-bottom: var(--spacing-sm); }
.hero h2::after { background: var(--accent-blue); }
.hero p { font-size: 1.3rem; margin-bottom: var(--spacing-lg); opacity: 0.9; }

/* ===== BUTTONS ===== */
.cta-button {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    margin: 0 0.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.cta-button:hover {
    background: var(--accent-blue-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4,107,210,0.35);
}
.cta-button::after {
    content: '';
    position: absolute;
    top: -50%; left: -75%;
    width: 50%; height: 200%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}
.cta-button:hover::after { left: 130%; }

/* ===== CARDS ===== */
.cards-container,
.reviews-container,
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.card,
.review-card {
    background: linear-gradient(145deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover,
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.card h3,
.review-author { color: var(--primary-dark); margin-bottom: var(--spacing-sm); }

.card p,
.review-text { color: var(--text-gray); line-height: 1.65; }

.review-card { border-left: 3px solid var(--accent-blue); }

.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 0.5rem; }

.review-text { font-style: italic; color: var(--text-italic); margin-bottom: var(--spacing-sm); }

.review-date { font-size: 0.85rem; color: var(--text-muted); }

/* ===== STORY SECTION ===== */
.story-container,
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    align-items: center;
}

.story-text,
.contact-info {
    background: linear-gradient(145deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
}

.story-text h3 { margin-bottom: var(--spacing-sm); }
.story-text p  { margin-bottom: var(--spacing-sm); text-align: justify; }

.story-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.story-image img {
    width: 100%; height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ===== CONTACT ===== */
.contact-item {
    margin-bottom: 1.5rem;
    padding-left: var(--spacing-lg);
    position: relative;
}
.contact-item::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.1rem;
}
.contact-item strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

#map {
    height: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.gallery-item img {
    width: 100%; height: 300px;
    object-fit: cover;
    transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition);
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }

.gallery-overlay h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: white; }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-footer);
    color: var(--text-light);
    text-align: center;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}
footer p { opacity: 0.7; font-size: 0.9rem; }

/* ===== RESPONSIVE – TABLET ===== */
@media (max-width: 768px) {
    .navbar-container { height: 60px; }
    .hamburger { display: flex; }
    .nav-menu {
        position: absolute;
        top: 60px; left: -100%;
        flex-direction: column;
        background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
        border-bottom: 1px solid var(--border);
        width: 100%;
        text-align: center;
        transition: left var(--transition);
        gap: 0;
        padding: var(--spacing-lg) 0;
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active { left: 0; }
    .nav-link { display: block; padding: var(--spacing-sm) 0; border: none; }
    .navbar-logo { font-size: 1.2rem; }
    header { padding: 1.5rem var(--spacing-sm); }
    .logo { width: 60px; height: 60px; }
    header h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .hero { padding: 4rem var(--spacing-md); }
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .cta-button { display: block; margin: 0.5rem 0; }
    .story-container, .contact-container { grid-template-columns: 1fr; gap: var(--spacing-lg); }
    .story-image img { height: 300px; }
    #map { height: 300px; }
    .gallery { grid-template-columns: 1fr; }
    .cards-container, .reviews-container { grid-template-columns: 1fr; }
    .slider-eyebrow { letter-spacing: 2px; font-size: 0.7rem; }
    .slider-content h1 { font-size: clamp(1.6rem, 6vw, 2.6rem); line-height: 1.2; }
    .slider-content p.slider-sub { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .slider-ctas { gap: 0.6rem; }
    .slider-ctas .cta-button { padding: 0.7rem 1.2rem; font-size: 0.88rem; }
    .card h3 { font-size: 1rem; }
    .card p { font-size: 0.9rem; }
    .review-text { font-size: 0.9rem; }
    .faq-question { font-size: 1rem; }
    .faq-answer { font-size: 0.9rem; }
}

/* ===== RESPONSIVE – MOBILE ===== */
@media (max-width: 480px) {
    .navbar-container { height: 50px; padding: 0 1rem; }
    .navbar-logo { font-size: 1rem; gap: 0.5rem; }
    .logo { width: 40px; height: 40px; }
    header { padding: 1rem var(--spacing-sm); }
    header h1 { font-size: 1.35rem; }
    header h3 { font-size: 0.9rem; }
    header p { font-size: 0.85rem; }
    h2 { font-size: 1.4rem; margin-bottom: var(--spacing-sm); }
    h2::after { width: 36px; }
    section { padding: var(--spacing-lg) var(--spacing-sm); }
    .hero { padding: 3rem var(--spacing-sm); }
    .hero h2 { font-size: 1.3rem; }
    .hero p { font-size: 0.95rem; margin-bottom: var(--spacing-sm); }
    .cta-button { padding: 0.75rem 1.5rem; font-size: 0.9rem; margin: 0.3rem 0; }
    .card, .review-card { padding: var(--spacing-sm); }
    .card h3 { font-size: 1.05rem; }
    .story-text h3 { font-size: 1.05rem; }
    .story-image img { height: 250px; }
    .gallery-item img { height: 200px; }
    #map { height: 250px; }
    .contact-item { margin-bottom: 1rem; padding-left: 1.5rem; font-size: 0.9rem; }
    .nav-menu { padding: 1rem 0; }
    footer p { font-size: 0.82rem; }
    .footer-nap p { font-size: 0.85rem; }
    .footer-links a { font-size: 0.82rem; }
    .stat-label { font-size: 0.78rem; }
    .story-text p { font-size: 0.9rem; }
}

/* ===== RESPONSIVE – EXTRA SMALL ===== */
@media (max-width: 360px) {
    .navbar-container { height: 50px; }
    .navbar-logo { font-size: 0.9rem; }
    header h1 { font-size: 1.3rem; }
    h2 { font-size: 1.3rem; }
    .hero h2 { font-size: 1.1rem; }
    .cta-button { padding: 0.6rem 1rem; font-size: 0.85rem; }
}

/* ===== CLICK-TO-CALL BUTTON ===== */
.cta-call {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}
.cta-call:hover {
    background: var(--accent-blue);
    color: white;
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}
.faq-item {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-blue);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
    padding: var(--spacing-md);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1rem;
    margin: 0;
}
.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}
.faq-answer a { color: var(--accent-blue); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

/* ===== FOOTER NAP ===== */
.footer-nap { margin-bottom: var(--spacing-sm); line-height: 1.8; }
.footer-nap p { opacity: 0.8; }
.footer-nap a { color: #93c5fd; text-decoration: none; }
.footer-nap a:hover { text-decoration: underline; }

.footer-links { margin: var(--spacing-sm) 0; opacity: 0.8; }
.footer-links a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    margin: 0 0.3rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: white; }

/* ========================================
   ANIMAZIONI & EFFETTI
   ======================================== */

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-blue);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.1s linear;
}

/* ===== NAVBAR SCROLL ===== */
nav.nav-scrolled {
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
}
nav.nav-solid {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
    box-shadow: var(--shadow-sm);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===== SCROLL REVEAL ===== */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal       { transform: translateY(28px); }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-scale { transform: scale(0.95); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible { opacity: 1; transform: none; }

.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.15s; }
.stagger > *:nth-child(3) { transition-delay: 0.25s; }
.stagger > *:nth-child(4) { transition-delay: 0.35s; }
.stagger > *:nth-child(5) { transition-delay: 0.45s; }
.stagger > *:nth-child(6) { transition-delay: 0.55s; }
.stagger > *:nth-child(7) { transition-delay: 0.65s; }
.stagger > *:nth-child(8) { transition-delay: 0.75s; }
.stagger > *:nth-child(9) { transition-delay: 0.85s; }

/* ===== HERO BACKGROUND ENHANCEMENTS ===== */
.hero {
    background-size: cover !important;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,41,59,0.72) 100%);
    z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(4,107,210,0.55);
    color: #93c5fd;
    padding: 0.35rem 1.3rem;
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s 0s both;
}
@media (max-width: 768px) { .hero { background-attachment: scroll; } }

/* ===== DIVIDER ===== */
.gold-divider {
    height: 1px;
    background: var(--border);
    border: none;
    margin: 0;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a5f 50%, var(--primary-medium) 100%);
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
}
.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
    position: relative; z-index: 1;
}
.stat-item {
    color: var(--text-light);
    padding: var(--spacing-md) var(--spacing-sm);
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 15%;
    height: 70%; width: 1px;
    background: rgba(255,255,255,0.12);
}
.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #60a5fa;
    line-height: 1;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.72;
    margin-top: 0.5rem;
    letter-spacing: 0.2px;
}
@media (max-width: 768px) {
    .stat-item:not(:last-child)::after { display: none; }
    .stat-number { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-md); }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.8rem; }
}

/* ===== CARD ENHANCEMENTS ===== */
.card {
    border-top: 3px solid var(--accent-blue);
    text-align: center;
    position: relative;
}
.card-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--spacing-sm);
    box-shadow: 0 4px 16px rgba(4,107,210,0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 2px solid #dbeafe;
}
.card-icon img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.card:hover .card-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(4,107,210,0.32);
}
.card:hover .card-icon img { transform: scale(1.1); }

/* ===== GALLERY ENHANCEMENTS ===== */
.gallery-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}
.filter-btn {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
    border: 1.5px solid var(--border);
    color: var(--text-gray);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(4,107,210,0.28);
}
.gallery { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery-item {
    aspect-ratio: 4/3;
    cursor: zoom-in;
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item.hide { display: none; }
.gallery-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: rgba(4,107,210,0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    pointer-events: none;
}
.gallery-overlay {
    transform: translateY(calc(100% - 4rem));
    transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-overlay p { font-size: 0.875rem; opacity: 0.85; }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(5,10,20,0.97);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem;
}
.lightbox.open {
    display: flex;
    animation: scaleIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
.lightbox-inner {
    max-width: 90vw; max-height: 80vh;
    display: flex; flex-direction: column; align-items: center;
}
.lightbox-inner img {
    max-width: 90vw; max-height: 72vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    display: block;
    transition: opacity 0.25s ease;
}
.lightbox-caption {
    color: var(--text-light);
    text-align: center;
    margin-top: 1.25rem;
    max-width: 600px;
}
.lightbox-caption h3 { color: #60a5fa; font-size: 1.2rem; margin-bottom: 0.3rem; }
.lightbox-caption p { opacity: 0.65; font-style: italic; font-size: 0.875rem; }
.lb-close {
    position: fixed;
    top: 1.25rem; right: 1.25rem;
    background: rgba(255,255,255,0.07);
    color: white;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    width: 48px; height: 48px;
    font-size: 1.4rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    z-index: 99999; line-height: 1;
}
.lb-close:hover { background: var(--accent-blue); border-color: var(--accent-blue); }
.lb-prev, .lb-next {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.07);
    color: white;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    width: 54px; height: 54px;
    font-size: 1.4rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    z-index: 99999;
}
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }
.lb-prev:hover, .lb-next:hover { background: var(--accent-blue); border-color: var(--accent-blue); }
.lb-counter {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.38);
    font-size: 0.85rem; letter-spacing: 1px; z-index: 99999;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: var(--accent-blue);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600; font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(4,107,210,0.4);
    animation: float 3s ease-in-out infinite;
    z-index: 998;
    display: flex; align-items: center; gap: 0.4rem;
    transition: all 0.3s ease;
}
.floating-cta:hover {
    background: var(--accent-blue-dk);
    animation: none;
    box-shadow: 0 12px 32px rgba(4,107,210,0.5);
    transform: translateY(-3px);
}
@media (max-width: 480px) {
    .floating-cta .flt-text { display: none; }
    .floating-cta { padding: 0.9rem 1rem; }
}

/* ===== STORY IMAGE GRID ===== */
.story-images-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--spacing-sm);
    height: 100%;
}
.story-images-grid img {
    width: 100%; height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
}
.story-images-grid img:hover { transform: scale(1.02); }

/* ===== HERO SLIDER ===== */
.hero-slider {
    max-width: 100% !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes kenBurns {
    from { transform: scale(1.0); }
    to   { transform: scale(1.07); }
}

.slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.6s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity, transform;
}
.slide.active {
    opacity: 1;
    animation: kenBurns 12s ease-in-out forwards;
}

/* Grain texture overlay */
.hero-slider::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    z-index: 2; pointer-events: none;
    mix-blend-mode: overlay;
}

.slider-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15,23,42,0.82) 0%,
        rgba(30,41,59,0.58) 60%,
        rgba(10,15,30,0.75) 100%
    );
    z-index: 1;
}
.slider-overlay::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.slider-content {
    position: relative; z-index: 2;
    text-align: center; color: white;
    padding: 2rem 2rem 5rem;
    max-width: 960px; margin: 0 auto;
}
.slider-eyebrow {
    display: inline-block;
    font-size: 0.75rem; letter-spacing: 4px;
    text-transform: uppercase;
    color: #93c5fd;
    border: 1px solid rgba(147,197,253,0.4);
    padding: 0.35rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.9s 0s both;
}
.slider-content h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    color: white;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 0.9s 0.2s both;
}
.slider-content p.slider-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.85;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto; margin-right: auto;
    animation: fadeInUp 0.9s 0.4s both;
}
.slider-ctas {
    display: flex; gap: 1rem;
    flex-wrap: wrap; justify-content: center;
    animation: fadeInUp 0.9s 0.6s both;
}

.slider-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.09);
    color: white;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50%;
    width: 56px; height: 56px; font-size: 1.4rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.slider-nav-btn:hover {
    background: rgba(4,107,210,0.85);
    border-color: var(--accent-blue);
    transform: translateY(-50%) scale(1.06);
}
.slider-prev { left: 2rem; }
.slider-next { right: 2rem; }

.slider-dots {
    position: absolute;
    bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 3;
    display: flex; gap: 0.6rem; align-items: center;
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.35s ease; padding: 0;
}
.slider-dot.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    width: 24px; border-radius: 4px;
    box-shadow: 0 0 10px rgba(4,107,210,0.6);
}

.slider-scroll-hint {
    position: absolute; bottom: 1.8rem; right: 2.5rem; z-index: 3;
    color: rgba(255,255,255,0.38);
    font-size: 0.68rem; letter-spacing: 2.5px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    display: flex; align-items: center; gap: 0.6rem;
}
.slider-scroll-hint::after {
    content: '';
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.38), transparent);
    animation: float 2.2s ease-in-out infinite;
}

.slider-counter {
    position: absolute; top: 2rem; right: 2.5rem; z-index: 3;
    color: rgba(255,255,255,0.38);
    font-size: 0.8rem; letter-spacing: 2px;
}
.slider-counter .current-num {
    color: #93c5fd; font-size: 1.3rem; font-weight: 700;
    display: inline-block; vertical-align: middle; margin-right: 0.2rem;
}

@media (max-width: 768px) {
    .hero-slider { height: 88vh; min-height: 520px; }
    .slider-nav-btn { width: 44px; height: 44px; font-size: 1.2rem; }
    .slider-prev { left: 0.75rem; }
    .slider-next { right: 0.75rem; }
    .slider-scroll-hint { display: none; }
    .slider-counter { display: none; }
    .slider-content { padding-bottom: 4rem; }
}
@media (max-width: 480px) {
    .hero-slider { height: 85vh; }
    .slider-nav-btn { display: none; }
    .slider-ctas .cta-button { display: block; width: 100%; margin: 0.3rem 0; }
}

/* ===== REVIEWS CAROUSEL ===== */
.reviews-section {
    background: linear-gradient(160deg, var(--bg-cream-mid) 0%, var(--bg-cream-deep) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    max-width: 100% !important;
}
.reviews-carousel {
    position: relative;
    max-width: 780px;
    margin: var(--spacing-xl) auto 0;
    overflow: hidden;
    padding-bottom: 3.5rem;
}
.reviews-track {
    position: relative;
    min-height: 240px;
}
.review-card-slide {
    position: absolute; top: 0; left: 0; width: 100%;
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
    background: linear-gradient(145deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent-blue);
    text-align: left;
}
.review-card-slide.active {
    opacity: 1; transform: translateX(0);
    position: relative; pointer-events: auto;
}
.review-card-slide .stars { font-size: 1.2rem; color: #f59e0b; margin-bottom: 0.75rem; }
.review-card-slide .review-text {
    font-style: italic; font-size: 1.05rem;
    color: var(--text-italic); line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}
.review-author-wrap {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem;
}
.review-author { font-weight: 600; color: var(--primary-dark); font-size: 1rem; }
.review-location { color: var(--text-muted); font-size: 0.85rem; }

.rev-prev, .rev-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-mid) 100%); border: 1px solid var(--border);
    border-radius: 50%; width: 44px; height: 44px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--text-gray);
    transition: all 0.3s ease; z-index: 2;
    box-shadow: var(--shadow-sm);
}
.rev-prev { left: -1.5rem; }
.rev-next { right: -1.5rem; }
.rev-prev:hover, .rev-next:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.rev-dots {
    position: absolute; bottom: 1rem;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.5rem;
}
.rev-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border); border: none; cursor: pointer; padding: 0;
    transition: all 0.3s ease;
}
.rev-dot.active {
    background: var(--accent-blue); width: 20px; border-radius: 4px;
}

/* ===== SECTION ALTERNATING BACKGROUNDS ===== */
body > section:nth-of-type(even) {
    background: linear-gradient(160deg, var(--bg-cream-mid) 0%, var(--bg-cream-deep) 100%);
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.75rem;
    font-size: 1.3rem;
    line-height: 1;
}
.lang-switcher a {
    text-decoration: none;
    opacity: 0.38;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}
.lang-switcher a:hover { opacity: 1; transform: scale(1.15); }
.lang-switcher .lang-active { opacity: 1; cursor: default; }

/* ===== DECORATIVE IMAGE BANDS ===== */
.img-band {
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.img-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.42);
    z-index: 1;
}
.img-band-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 820px;
}
.img-band-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.img-band-text h2::after { display: none; }
.img-band-text p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.img-band-sm {
    height: 320px;
}
@media (max-width: 768px) {
    .img-band { height: 340px; background-attachment: scroll; }
    .img-band-sm { height: 220px; }
    .img-band-text h2 { font-size: 1.6rem; }
}
