/* ----------------------------------------------------------
   BASE GENERAL
---------------------------------------------------------- */

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

body {
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

img, video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* ----------------------------------------------------------
   TIPOGRAFÍA PRINCIPAL
---------------------------------------------------------- */

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 60px;
    margin-top: 40px;
}

/* Dorado elegante */
.gold {
    color: #C9A862;
}

/* Botones */
.btn-primary {
    padding: 12px 30px;
    background-color: #C9A862;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-secondary {
    padding: 12px 30px;
    border: 1px solid #FFF;
    color: #FFF;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* ----------------------------------------------------------
   NAVBAR PREMIUM
---------------------------------------------------------- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;              /* ← nunca 100vw */
    padding: 16px 32px;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 10, 0.65);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
    box-sizing: border-box;   /* ← IMPORTANTE */
    overflow: hidden;         /* ← jamás permitirá desbordes visuales */
}

.nav-container {
    max-width: 1300px;        /* ajustable */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;              /* ← asegura que nunca crece de más */
    gap: 16px;
    flex-wrap: nowrap;        /* ← evita que el logo o menú brinquen */
}

.nav-links {
    display: flex;
    gap: clamp(12px, 2.2vw, 28px);
    list-style: none;
    white-space: nowrap;      /* ← evita salto NO deseado */
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 2px;
}


.nav-links a {
    color: #DADADA;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #C9A862;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* MOBILE NAV */
@media(max-width: 950px) {

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.mobile-active {
        position: fixed;
        right: 0;
        top: 70px;
        width: 100%;
        padding: 40px 0;
        display: flex;
        flex-direction: column;
        gap: 25px;
        text-align: center;
        background: #0D0D0D;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links.mobile-active a {
        font-size: 1.3rem;
    }
}
/* ----------------------------------------------------------
   HERO CON VIDEO FULLSCREEN
---------------------------------------------------------- */

.hero-new {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 90px; /* espacio bajo navbar */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35; /* suavizado elegante */
    z-index: -2;
}

/* Overlay oscuro para mejorar legibilidad */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: -1;
}

/* Contenido */
.hero-content {
    position: relative;
    max-width: 100%;
    padding: 0 12%;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    color: #CFCFCF;
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Responsive */
@media(max-width: 900px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        padding: 0 8%;
    }
}


/* ----------------------------------------------------------
   HERO NUEVO (2 COLUMNAS)
---------------------------------------------------------- */

.hero-new {
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: 100vh;
    padding-top: 90px; /* espacio bajo navbar */
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 12%;
    z-index: 5;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #CFCFCF;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-right {
    position: relative;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

/* RESPONSIVE HERO */
@media(max-width: 950px) {
    .hero-new {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .hero-left {
        padding: 0 8%;
        margin-bottom: 40px;
    }

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


/* ----------------------------------------------------------
   STATS
---------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 80px 12%;
    gap: 40px;
    background: #0D0D0D;
}

.stat-item h2 {
    font-size: 2.8rem;
    color: #C9A862;
    margin-bottom: 10px;
}

.stat-item p {
    color: #CCCCCC;
    font-size: 1rem;
}

@media(max-width: 900px) {
    .stats {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }
}


/* ----------------------------------------------------------
   SERVICIOS PREMIUM
---------------------------------------------------------- */

.services-new {
    padding: 80px 12%;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: #111;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    min-height: 220px;
    transition: 0.3s ease;
}

.service-card:hover {
    border-color: #C9A862;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.service-card p {
    color: #CFCFCF;
}

@media(max-width: 900px) {
    .service-cards {
        grid-template-columns: 1fr;
    }
}


/* ----------------------------------------------------------
   TOUR 360 DESTACADO
---------------------------------------------------------- */

.tour-container {
    padding: 120px 12%;
    background: #0D0D0D;
    text-align: center;
}

.tour-wrapper {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    margin: auto;
    max-width: 1400px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #000;
}

.tour-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.tour-tip {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #C9A862;
    opacity: 0.85;
}

@media(max-width: 900px) {
    .tour-wrapper {
        height: 420px;
    }
}



/* ----------------------------------------------------------
   BENEFICIOS
---------------------------------------------------------- */

.benefits-grid {
    padding: 100px 12%;
    background: #0D0D0D;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #111;
    border-radius: 6px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 1.1rem;
}

@media(max-width: 900px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   DEMO SPLIT PREMIUM
---------------------------------------------------------- */
/* Alterna el orden de columnas */
.demo-block.reverse {
    grid-template-columns: 1.2fr 1fr; /* más peso a la media */
}

.demo-block.reverse .demo-media {
    order: 1;
}

.demo-block.reverse .demo-text {
    order: 2;
}

/* Mobile: siempre en columna */
@media(max-width: 950px) {
    .demo-block.reverse {
        grid-template-columns: 1fr;
    }

    .demo-block.reverse .demo-media,
    .demo-block.reverse .demo-text {
        order: unset;
    }
}

.demo-split {
    padding: 120px 12%;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.demo-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.demo-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.demo-text p {
    color: var(--text-soft);
    margin-bottom: 25px;
    line-height: 1.6;
}

.demo-tip {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #C9A862;
    opacity: 0.8;
}

.demo-media {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
}

.demo-media iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

@media(max-width: 950px) {
    .demo-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .demo-media {
        height: 320px;
    }
}

/* ----------------------------------------------------------
   DEMO LIGHT SECTION (sin tema dark/light)
---------------------------------------------------------- */

.demo-light {
    background: #F2F2F2;       /* Fondo claro premium */
    color: #111;               /* Texto oscuro */
    padding: 120px 12%;
    border-radius: 0;
}

/* Texto */
.demo-light .demo-text h3 {
    color: #111;
}

.demo-light .demo-text p {
    color: #333;
}

.demo-light .demo-tip {
    color: #A88932;
}

/* Botones */
.demo-light .btn-primary {
    background: #C9A862;
    color: #111;
}

.demo-light .btn-secondary {
    border: 1px solid #111;
    color: #111;
}

/* Media */
.demo-light .demo-media {
    border: 1px solid rgba(0,0,0,0.15);
    background: #000; /* Mantener negro porque es donde va el tour */
}




/* ----------------------------------------------------------
   PROCESO EDITORIAL
---------------------------------------------------------- */

.process-new {
    padding: 120px 12%;
}

.process-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step span {
    font-size: 2rem;
    color: #C9A862;
}

.step h3 {
    margin: 10px 0 10px;
    font-size: 1.4rem;
}

.step p {
    color: #CFCFCF;
}

@media(max-width: 900px) {
    .process-line {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* ----------------------------------------------------------
   ABOUT
---------------------------------------------------------- */

.about-new {
    padding: 120px 12%;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.about-text {
    color: #CFCFCF;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* ----------------------------------------------------------
   CTA FINAL
---------------------------------------------------------- */

.cta-final {
    padding: 120px 12%;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}


/* ----------------------------------------------------------
   FOOTER PREMIUM
---------------------------------------------------------- */

.footer {
    background: #1A1A1A;
    padding: 80px 12% 40px;
    color: #D0D0D0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
}

.footer-col p {
    color: #B5B5B5;
    line-height: 1.6;
    max-width: 320px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social img {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    filter: invert(1) brightness(0.8);
    transition: transform 0.3s, filter 0.3s;
}

.footer-social img:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Titles */
.footer-col h3 {
    color: #FFFFFF;
    margin-bottom: 18px;
    font-size: 1.2rem;
}

/* Quick links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #C4C4C4;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #FFFFFF;
}

/* Contact */
.footer-contact p {
    margin-bottom: 10px;
    color: #C4C4C4;
}

/* Divider */
.footer-divider {
    margin-top: 50px;
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

/* Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #9A9A9A;
}


/* Responsive footer */
@media(max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-about p {
        margin: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul {
        padding: 0;
    }

    .footer-contact p {
        text-align: center;
    }
}

/* ----------------------------------------------------------
   ANIMACIONES PREMIUM AWARDS STYLE
---------------------------------------------------------- */

/* Estado inicial: oculto */
.fade-up,
.fade-in,
.reveal-img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Activado */
.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Hero fade-in suave */
.hero-new,
.navbar {
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-loaded {
    opacity: 1 !important;
}

/* Imagen reveal (recorte suave) */
.reveal-img {
    clip-path: inset(20px);
}

.reveal-img.animate {
    clip-path: inset(0);
    transition: clip-path 1s ease, opacity 0.8s ease, transform 0.8s ease;
}

/* Stagger */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger.animate > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger.animate > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.animate > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.animate > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.animate > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.animate > *:nth-child(5) { transition-delay: 0.5s; }

