:root {
    /* Colors */
    --bg-main: #0a0a0a;
    --bg-card: #151515;
    --bg-glass: rgba(21, 21, 21, 0.85);
    --primary: #d4d4d8; /* Metallic Silver */
    --primary-hover: #f4f4f5;
    --primary-muted: rgba(212, 212, 216, 0.15);
    --primary-border: rgba(212, 212, 216, 0.4);
    --text-main: #FAFAFA;
    --text-muted: #8A8A8A;
    --accent-emerald: #10B981;
    --danger: #ff4d4f;
    --success: #4caf50;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-ui: 'Manrope', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-ui);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

p {
    line-height: 1.6;
}

/* Buttons */
.btn {
    font-family: var(--font-ui);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #e4e4e7, #a1a1aa);
    color: #111;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(212, 212, 216, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffffff, #d4d4d8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 212, 216, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background: var(--primary-muted);
}

.btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.nav-logo img {
    max-height: 80px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}


/* Sections */
section {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 140px; /* Mas espacio con el menu */
    overflow: hidden;
}


@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); } /* Zoom más suave */
}



.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.8rem; /* Tamaño refinado */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #D4AF37, #F5E6AD); /* Dorado Premium */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-option-1.jpeg?v=3') center/cover;
    opacity: 0.5;
    z-index: 1;
    animation: kenBurns 20s linear infinite alternate;
}


.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-main) 30%, transparent);
}

/* Abstract UI Elements container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Multi-column grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Luxury Feature Cards */
.luxury-card {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    padding: 3.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    text-align: center;
}

.luxury-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent);
    pointer-events: none;
}

.luxury-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: rgba(212, 175, 55, 0.4);
    letter-spacing: 2px;
}

.luxury-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    color: #D4AF37; /* Gold */
    display: flex;
    align-items: center;
    justify-content: center;
}

.luxury-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #fff;
    letter-spacing: 1px;
}

.luxury-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}


/* Calculator Section */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.calc-panel {
    background: var(--bg-card);
    border: 1px solid var(--primary-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.procedure-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.procedure-item:last-child {
    border-bottom: none;
}

.proc-info {
    flex: 1;
}

.proc-name {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}

.proc-price {
    color: var(--primary);
    font-size: 0.95rem;
}

.package-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.75rem 1rem !important;
    margin: 0.5rem -1rem;
}

.package-item:hover {
    background: rgba(255,255,255,0.03);
}

.package-item.active {
    background: var(--primary-muted);
    border-color: var(--primary-border);
}

.qty-control {

    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--primary-muted);
    color: var(--primary);
}

.qty-input {
    width: 40px;
    text-align: center;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Additionals */
.checkbox-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    margin-right: 12px;
    display: grid;
    place-content: center;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"]::before {
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--primary);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.checkbox-item input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* Total Panel */
.summary-panel {
    position: sticky;
    top: 100px;
    background: linear-gradient(180deg, var(--bg-card), #0f0f0f);
    border: 1px solid var(--primary-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.summary-panel h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.savings-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Footer / Contact FAB */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
}

footer {
    background: #000;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid #222;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
    .summary-panel {
        position: static;
        margin-top: 2rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile nav for now */
    }
}

/* Cali Cards */
.cali-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.cali-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cali-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cali-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* New Harmony Grid */
.harmony-header-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 5%;
    margin-bottom: 0rem;
    height: 550px;
}

.harmony-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background: #000;
}

.harmony-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.harmony-img-wrapper:hover img {
    transform: scale(1.08);
    opacity: 1;
}

.harmony-img-wrapper::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 40%);
    pointer-events: none;
}

/* Infinite Hotel Ticker */
.hotel-ticker {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    position: relative;
    background: #0a0a0a;
}

.hotel-ticker-track {
    display: flex;
    width: max-content;
    animation: infiniteScroll 80s linear infinite;
}

.hotel-ticker-track:hover {
    animation-play-state: paused;
}

.hotel-ticker-track img {
    height: 280px;
    width: auto;
    min-width: 400px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hotel-ticker-track img:hover {
    transform: scale(1.02);
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.section-image-header {
    width: 100%;
    overflow: hidden;
}

/* 4-Image Grid for Hotel Gallery */
.section-image-header-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
    height: 350px;
    overflow: hidden;
}

.section-image-header-grid-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.5s ease;
}

.section-image-header-grid-4 img:hover {
    opacity: 1;
    transform: scale(1.05);
}


/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform:scale(0.8); opacity:0} 
    to {transform:scale(1); opacity:1}
}

.lightbox .close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox .close:hover {
    color: var(--primary);
}

.section-image-header-grid img {
    cursor: pointer;
}

/* Global Tablet & Mobile Optimization */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 5%;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .section-image-header-grid, .section-image-header-grid-4 {
        height: 300px;
    }
    .hotel-ticker-track img {
        height: 200px;
        min-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .hero-content div {
        flex-direction: column;
    }
}

/* Connect Section */
.connect-section {
    background: #0f0f0f;
    padding: 8rem 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.whatsapp-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.whatsapp-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 211, 102, 0.03), transparent 70%);
    pointer-events: none;
}

.whatsapp-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.whatsapp-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.whatsapp-card .btn-whatsapp {
    background: #25D366;
    color: white;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.whatsapp-card .btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
    filter: brightness(1.1);
}

.consultation-form-card {
    background: var(--bg-card);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.consultation-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #a1a1aa;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.1rem;
    border-radius: 10px;
    color: white;
    font-family: var(--font-ui);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #e4e4e7, #a1a1aa);
    color: #111;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 212, 216, 0.2);
    filter: brightness(1.1);
}

@media (max-width: 1024px) {
    .connect-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .connect-section {
        padding: 5rem 5%;
    }
    .consultation-form-card, .whatsapp-card {
        padding: 3rem 1.5rem;
    }
    .harmony-header-grid {
        height: auto;
        grid-template-columns: 1fr;
    }
    .harmony-img-wrapper {
        height: 350px;
    }
}

/* Orofacial Treatment Cards */
.oro-treatment-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.oro-treatment-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.oro-img-container {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.oro-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.8s ease;
}

.oro-treatment-card:hover .oro-img-container img {
    transform: scale(1.05);
    opacity: 1;
}

.oro-caption {
    padding: 2rem;
    text-align: center;
}

.oro-caption h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: #fff;
    font-family: var(--font-heading);
}

.oro-caption p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Cali Gallery */
.cali-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.cali-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

.cali-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.8);
}

.cali-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.cali-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .cali-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cali-gallery-grid {
        grid-template-columns: 1fr;
    }
    .cali-gallery-item {
        height: 300px;
    }
}

.cali-gallery-item.crop-left img { object-position: left center; }
.cali-gallery-item.crop-right img { object-position: right center; }

/* Lightbox Enhancements */
#lightbox-caption {
    color: white;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

#lightbox-caption h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.8rem;
    font-family: var(--font-heading);
}

#lightbox-caption p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
}
