/* DESIGN SYSTEM & VARIABLES */
:root {
    --color-bg: #FDFBF7;
    /* Beige Ultra Claro / Lino */
    --color-sand: #F4EFEB;
    /* Arena apagada */
    --color-text: #2A2522;
    /* Carbón cálido */
    --color-gold: #C6A87C;
    /* Dorado champagne muy sutil */
    --color-gold-hover: #A88B5E;
    --color-white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition-smooth: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Lighter weight for luxury */
    letter-spacing: -0.02em;
}

.gold-text {
    color: var(--color-gold);
    font-style: italic;
    font-weight: 300;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 1.2rem 3rem;
    font-family: var(--font-body);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-text);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--color-white);
    border-color: var(--color-gold);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar .logo {
    display: flex;
    align-items: center;
    transition: opacity 0.5s;
}

.navbar .logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transform: translateY(5px);
}

.navbar.scrolled .logo {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-reserve {
    display: inline-block;
    color: var(--color-white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
    font-weight: 300;
}

.navbar.scrolled .nav-reserve {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-gold);
}

.nav-reserve:hover {
    border-bottom-color: transparent;
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .nav-actions {
        gap: 1.5rem;
    }
}

.btn-outline {
    display: inline-block;
    color: var(--color-white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.navbar.scrolled .btn-outline {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-gold);
}

.btn-outline:hover {
    border-bottom-color: transparent;
}

/* CAROUSEL BUTTON (NUEVO) */
.btn-secondary {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-text);
    padding: 12px 28px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Asegurar base positiva o cero */
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 20, 15, 0.5) 0%, rgba(20, 15, 10, 0.85) 100%);
    z-index: 1;
    /* Overlay sobre la imagen */
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    /* Texto siempre por encima */
    margin-top: 5vh;
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-content p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 300;
    margin-bottom: 3.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* UTILITIES FOR ANIMATION */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--color-gold);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.btn-outline-light {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid var(--color-white);
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-text);
}

/* VALUE PROPOSITION SECTION */
.value-prop {
    padding: 10rem 2rem;
    background-color: var(--color-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.decorative-accent {
    width: 2px;
    height: 60px;
    background-color: var(--color-gold);
    margin: 0 auto 3rem;
    opacity: 0.8;
}

.value-prop h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 4rem;
    line-height: 1.3;
    letter-spacing: 1px;
}

.value-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-text p {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(20, 15, 10, 0.75);
    /* Soft plomo oscuro */
    line-height: 1.8;
    margin: 0 auto;
    max-width: 700px;
    letter-spacing: 0.5px;
}

/* EL DETALLE SECTION */
.detalle {
    padding: 12rem 5%;
    background-color: var(--color-bg);
}

.detalle-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 8rem;
    align-items: center;
}

.detalle-text {
    padding-right: 2rem;
}

.detalle-text h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.detalle-text p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    line-height: 1.9;
}

.detalle-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 130%;
    /* taller aspect ratio for high fashion feel */
    overflow: hidden;
}

.detalle-image {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
}

.detalle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .detalle-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .detalle-text {
        padding-right: 0;
    }

    .detalle-image-wrapper {
        padding-top: 100%;
    }
}

/* PORTFOLIO / CAROUSEL SECTION */
.portfolio {
    padding: 10rem 0;
    background-color: var(--color-sand);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 5%;
}

.portfolio-header h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.portfolio-header p {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.carousel-container {
    width: 100%;
    overflow: visible;
    /* To allow shadow bleeding */
    padding: 2rem 0 5rem 5%;
    cursor: grab;
    touch-action: pan-y;
    /* Previene el swipe horizontal de toda la página en móviles */
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    gap: 3rem;
    /* More spacing between cards */
    width: max-content;
    will-change: transform;
    padding-right: 5vw;
}

.carousel-card {
    position: relative;
    width: 28vw;
    /* Fluid width */
    min-width: 320px;
    max-width: 450px;
    aspect-ratio: 3/4;
    /* Classic portrait ratio */
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-bg);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-card:hover img {
    transform: scale(1.03);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(20, 15, 10, 0.95) 0%, rgba(20, 15, 10, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-card:hover .card-overlay h3 {
    transform: translateY(0);
}

.ingredients {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.carousel-card:hover .ingredients {
    transform: translateY(0);
}

/* LIFESTYLE SECTION */
.lifestyle {
    position: relative;
    padding: 15rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    min-height: 70vh;
    overflow: hidden;
}

.lifestyle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.lifestyle-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* for parallax if added later */
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 15, 10, 0.6) 0%, rgba(20, 15, 10, 0.9) 100%);
    z-index: 1;
    /* Agregado */
}

.lifestyle-content {
    max-width: 900px;
    z-index: 10;
    /* Modificado */
    position: relative;
    /* Agregado para que actúe el z-index */
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
    margin-bottom: 3rem;
    opacity: 0.7;
}

.lifestyle-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.3;
    margin-bottom: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

.lifestyle-content p {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* HOW IT WORKS SECTION */
.how-it-works {
    padding: 8rem 5%;
    background-color: var(--color-white);
    text-align: center;
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 5rem;
    font-weight: 400;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.step-card {
    background-color: var(--color-bg);
    padding: 3rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.4s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    display: block;
    font-size: 3rem;
    font-family: var(--font-title);
    color: rgba(212, 175, 55, 0.2);
    margin-bottom: 1rem;
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
}

.step-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.step-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.how-closing p {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-text);
}

/* WHY US SECTION */
.why-us {
    padding: 8rem 5%;
    background-color: var(--color-bg);
}

.why-container {
    max-width: 900px;
    margin: 0 auto;
    border-left: 2px solid var(--color-gold);
    padding-left: 3rem;
}

.why-content h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 3rem;
    font-weight: 400;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4rem 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.check-list li i {
    color: var(--color-gold);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.availability {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--color-white);
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.availability i {
    color: var(--color-gold);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.availability p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
}

.availability small {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .why-container {
        border-left: none;
        border-top: 2px solid var(--color-gold);
        padding-left: 0;
        padding-top: 3rem;
    }
}

/* CONTACT & LEAD GEN FORM */
.contact {
    padding: 12rem 5%;
    background-color: var(--color-bg);
}

.contact-container {
    max-width: 700px;
    /* Thinner sophisticated form */
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-header h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 300;
}

.lead-form {
    background-color: transparent;
    /* Removed heavy background box */
    padding: 0;
}

.form-group {
    position: relative;
    margin-bottom: 3.5rem;
}

.form-row {
    display: flex;
    gap: 3rem;
}

.half {
    width: 50%;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 0;
    font-size: 1.1rem;
    color: var(--color-text);
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-body);
    font-weight: 300;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: #999;
    font-size: 1.1rem;
    font-weight: 300;
    pointer-events: none;
    transition: 0.4s ease all;
}

.form-group .active-label,
.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group select:focus~label,
.form-group select:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.form-group .line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-text);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus~.line::after,
.form-group select:focus~.line::after {
    width: 100%;
}

select option {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 10px;
}

.form-submit {
    width: 100%;
    margin-top: 2rem;
    cursor: pointer;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 1.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 300;
    border: none;
    transition: var(--transition-smooth);
}

.form-submit:hover {
    background-color: var(--color-gold);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .half {
        width: 100%;
    }
}

/* FOOTER */
.footer {
    background-color: #1A1716;
    /* Deep dark for contrast */
    color: var(--color-white);
    padding: 6rem 5% 4rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 140px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--color-gold);
    transform: translateY(-5px);
}

.footer-contact {
    margin-bottom: 2rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 300;
}

.footer-contact a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-contact .separator {
    margin: 0 1rem;
    color: var(--color-gold);
    opacity: 0.5;
}

.footer-links p {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.4;
    font-weight: 300;
}

/* --- SPLASH SCREEN --- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0a0a0a;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    width: 250px;
    height: 120px;
    overflow: visible;
}

.splash-text {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    fill: transparent;
    stroke: var(--color-gold);
    stroke-width: 1.5;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: textDraw 0.6s ease-in-out forwards, fillText 0.3s ease 0.5s forwards;
}

@keyframes textDraw {
    0% {
        stroke-dashoffset: 400;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fillText {
    0% {
        fill: transparent;
        stroke: var(--color-gold);
    }

    100% {
        fill: var(--color-gold);
        stroke: transparent;
    }
}

body.loading {
    overflow: hidden;
}

/* --- CUSTOMIZATION MODAL B2C --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.85);
    /* Dark cinematic overlay */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-bg);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    padding: 3rem 2.5rem;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Subtle gold border */
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-gold);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 1.5rem;
}

.modal-header h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.modal-header p {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-body {
    margin-bottom: 2.5rem;
}

.modal-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-options li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.modal-options li i {
    color: var(--color-gold);
    width: 24px;
    height: 24px;
}

.modal-footer {
    text-align: center;
}

.btn-primary.w-100 {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 16px;
    text-align: center;
}

/* REAL GALLERY SECTION */
.real-gallery {
    padding: 10rem 5%;
    background-color: var(--color-bg); /* Cambiado a var(--color-bg) para integrarse como el resto de la web */
    text-align: center;
}

.real-gallery-header {
    margin-bottom: 5rem;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

.real-gallery .decorative-accent {
    width: 2px;
    height: 60px;
    background-color: var(--color-gold);
    margin: 0 auto 2rem;
}

.real-gallery-header h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
    font-weight: 400;
}

.real-gallery-header p {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 10px;
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

/* Modificadores de Collage usando pseudo-selectores para algunas fotos */
.gallery-item:nth-child(1),
.gallery-item:nth-child(8) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(5),
.gallery-item:nth-child(13) {
    grid-row: span 2;
}

.gallery-item:nth-child(4),
.gallery-item:nth-child(10),
.gallery-item:nth-child(14) {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 100px;
        padding: 1rem;
    }
    .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-sand);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s;
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}