/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    /* Paleta Midnight & Champagne (Estricta) */
    --midnight-blue: #0a0b0c;
    --navy-dark: #0a0b0c;
    --champagne-gold: #D4AF37;
    --pure-white: #FFFFFF;
    --off-white: #F8F9FA;
    --slate-gray: #6C7A89;

    /* Tipografías */
    --font-titles: 'Cormorant Garamond', serif;
    --font-texts: 'Montserrat', sans-serif;

    /* Transiciones */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-texts);
    color: var(--midnight-blue);
    background-color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-off-white {
    background-color: var(--off-white);
}

/* =========================================
   TIPOGRAFÍA Y TÍTULOS
========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    font-weight: 400;
    color: var(--midnight-blue);
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--slate-gray);
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto 50px auto;
}

.gold-italic {
    color: var(--champagne-gold);
    font-style: italic;
}

/* =========================================
   BOTONES
========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-texts);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-solid-gold {
    background-color: var(--champagne-gold);
    color: var(--pure-white);
}

.btn-solid-gold:hover {
    background-color: #b5952f;
    transform: translateY(-3px);
}

.btn-outline-gold {
    border-color: var(--champagne-gold);
    color: var(--champagne-gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--champagne-gold);
    color: var(--pure-white);
}

.btn-outline-white {
    border-color: var(--pure-white);
    color: var(--pure-white);
    background: transparent;
}

.btn-outline-white:hover {
    background-color: var(--pure-white);
    color: var(--midnight-blue);
}

.btn-outline-dark {
    border-color: var(--midnight-blue);
    color: var(--midnight-blue);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--midnight-blue);
    color: var(--pure-white);
}

.w-100 {
    width: 100%;
}

.mt-2 {
    margin-top: 20px;
}

/* =========================================
   HEADER & NAVEGACIÓN
========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-texts); /* Letra base para la palabra Andino */
    font-size: 1.8rem;
    color: var(--champagne-gold); /* La palabra Andino hereda este color por defecto si lo deseas, o cámbialo */
    font-weight: 400;
    letter-spacing: 2px;
    z-index: 1001;
}

.logo span {,
    font-family: var(--font-logo); /* Aplica Cinzel solo a Miso */
    color: var(--pure-white); /* Color blanco que pediste */
    font-weight: 300; /* Equivalente al 250 que pediste, ya que las fuentes web usan rangos de 100 en 100 */
    font-style: normal;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--pure-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--champagne-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../img/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 17, 40, 0.7), rgba(10, 17, 40, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--pure-white);
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: var(--champagne-gold);
}

.hero-title {
    font-size: 4.5rem;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--off-white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--pure-white);
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 1px solid var(--pure-white);
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: var(--pure-white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* =========================================
   SERVICIOS (CARRUSEL ALTA COSTURA)
========================================= */
.servicios-carousel-section {
    padding: 100px 0;
    background-color: var(--midnight-blue);
}

.carousel-header .section-title {
    color: var(--pure-white);
}

.carousel-header .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.carousel-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* Oculta barra en IE/Edge */
    scrollbar-width: none; /* Oculta barra en Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Oculta barra en Chrome/Safari */
}

.carousel-slide {
    flex: 0 0 100%;
    height: 600px;
    scroll-snap-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 17, 40, 0.95) 0%, rgba(10, 17, 40, 0.6) 40%, rgba(10, 17, 40, 0.1) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slide-num {
    font-family: var(--font-titles);
    font-size: 6rem;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--champagne-gold);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.slide-content h3 {
    font-size: 3.5rem;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.1rem;
    color: var(--off-white);
    max-width: 500px;
    margin-bottom: 30px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 17, 40, 0.7);
    color: var(--champagne-gold);
    border: 1px solid var(--champagne-gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--champagne-gold);
    color: var(--pure-white);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Versión Responsiva */
@media (max-width: 768px) {
    .carousel-slide {
        height: 500px;
    }
    .slide-overlay {
        background: linear-gradient(to top, rgba(10, 17, 40, 0.95) 0%, rgba(10, 17, 40, 0.4) 100%);
    }
    .slide-content h3 {
        font-size: 2.5rem;
    }
    .slide-num {
        font-size: 4rem;
    }
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}


/* =========================================
   NOSOTROS
========================================= */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.nosotros-text p {
    color: var(--slate-gray);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    font-family: var(--font-titles);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--midnight-blue);
}

.gold-num {
    color: var(--champagne-gold);
    font-style: italic;
    margin-right: 10px;
}

.nosotros-img-wrapper {
    position: relative;
    z-index: 1;
}

.nosotros-img-wrapper img {
    height: 600px;
    width: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.gold-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--champagne-gold);
    z-index: 0;
}

/* =========================================
   FRASE DE IMPACTO
========================================= */
.quote-section {
    background-color: var(--midnight-blue);
    padding: 120px 0;
    text-align: center;
}

.impact-quote {
    color: var(--pure-white);
    font-size: 3.5rem;
    line-height: 1.3;
}

.impact-quote span {
    color: var(--champagne-gold);
    font-style: italic;
}

/* =========================================
   GALERÍA (MASONRY ASIMÉTRICO)
========================================= */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.masonry-item {
    overflow: hidden;
    position: relative;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.item-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* =========================================
   CONTACTO
========================================= */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contacto-info p {
    color: var(--slate-gray);
    margin-bottom: 30px;
}

.contacto-detalles p {
    font-size: 1.1rem;
    color: var(--midnight-blue);
    margin-bottom: 15px;
}

.contacto-detalles i {
    color: var(--champagne-gold);
    margin-right: 15px;
    font-size: 1.3rem;
}

.editorial-form .form-group {
    margin-bottom: 30px;
}

.editorial-form input,
.editorial-form select,
.editorial-form textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--slate-gray);
    font-family: var(--font-texts);
    font-size: 0.95rem;
    color: var(--midnight-blue);
    outline: none;
    transition: var(--transition);
}

.editorial-form select {
    appearance: none;
    cursor: pointer;
}

.editorial-form input:focus,
.editorial-form select:focus,
.editorial-form textarea:focus {
    border-bottom-color: var(--champagne-gold);
}

.editorial-form input::placeholder,
.editorial-form textarea::placeholder {
    color: var(--slate-gray);
    font-weight: 300;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: var(--navy-dark);
    color: var(--off-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--slate-gray);
    max-width: 300px;
}

.footer-links h4 {
    color: var(--pure-white);
    font-family: var(--font-texts);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--slate-gray);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--champagne-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--slate-gray);
    font-size: 0.85rem;
}

/* =========================================
   BOTÓN WHATSAPP
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* =========================================
   ANIMACIONES (SCROLL REVEAL)
========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease-in-out;
    }

    .navbar.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nosotros-grid, .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Responsive para Opción 4 (Grilla Magazine) */
    .magazine-grid {
        display: flex;
        flex-direction: column;
        gap: 70px;
    }
    
    .mag-item {
        grid-column: auto !important;
        margin-top: 0 !important;
    }
    
    .item-mobiliario {
        padding: 30px;
    }
    
    .mag-img {
        height: 350px !important;
    }

    .gold-frame {
        display: none;
    }

    .impact-quote {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .item-1, .item-2, .item-3 {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FORMULARIO CONVERSACIONAL (OPCIÓN 1)
========================================= */
.form-step {
    display: none;
    animation: fadeInStep 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

.step-question {
    font-size: 2rem;
    color: var(--midnight-blue);
    margin-bottom: 30px;
    line-height: 1.3;
}

.editorial-form input,
.editorial-form textarea {
    font-size: 1.2rem;
    padding: 20px 0;
    border-bottom: 2px solid rgba(108, 122, 137, 0.3);
}

.editorial-form input:focus,
.editorial-form textarea:focus {
    border-bottom-color: var(--champagne-gold);
}

.step-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Opciones de Evento (Radios personalizados) */
.event-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.event-radio input {
    display: none;
}

.event-radio span {
    display: block;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(108, 122, 137, 0.3);
    color: var(--slate-gray);
    font-family: var(--font-texts);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.event-radio input:checked + span {
    border-color: var(--champagne-gold);
    background-color: var(--champagne-gold);
    color: var(--pure-white);
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .step-question { font-size: 1.6rem; }
    .event-options { grid-template-columns: 1fr; }
    .step-actions { flex-direction: column; }
}