:root {
    --gold: #D4AF37;
    --black: #050505;
    --dark-grey: #121212;
    --light-grey: #a0a0a0;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVEGACIÓN */
header {
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--white); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }

/* HERO SECTION */
/* .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: url('images/Ana-Luisa-5.jpg') center/cover no-repeat;
} */
 .hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;

  /* separa la propiedad para poder override */
  background-image: url('images/Ana-Luisa-back-w-web.jpg');
  background-size: cover;
  background-repeat: no-repeat;

  /* MOBILE: prioriza el lado derecho (la persona) */
  background-position: right center !important;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(5,5,5,1) 10%, rgba(5,5,5,0.4) 100%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; }
.hero h1 { font-family: 'Bebas Neue', cursive; font-size: clamp(3rem, 10vw, 6rem); line-height: 0.9; margin: 20px 0; }
.gold-text { color: var(--gold); }
.hero p { color: var(--light-grey); font-size: 1.2rem; margin-bottom: 30px; }

/* BOTONES */
.btn-main {
    background: var(--gold);
    color: black;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 4px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-main:hover { transform: scale(1.05); background: #f0c94d; }
.full-width { width: 100%; }

/* GRID DE HITS */
.section-container { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { font-family: 'Bebas Neue', cursive; font-size: 3rem; margin-bottom: 50px; }
.dot { color: var(--gold); }

.hits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-intro {
    max-width: 760px;
    color: var(--light-grey);
    margin-bottom: 28px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.expertise-card {
    background: linear-gradient(180deg, #151515 0%, #101010 100%);
    border: 1px solid #272727;
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition);
}

.expertise-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.expertise-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    color: var(--gold);
    margin-bottom: 8px;
}

.expertise-card p {
    color: #d0d0d0;
    font-size: 0.96rem;
}

.topic-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.topic-link:hover {
    text-decoration: underline;
}

.topic-hero {
    min-height: 58vh;
    display: flex;
    align-items: flex-end;
    padding: 150px 5% 70px;
    background: radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.25) 0%, rgba(5, 5, 5, 0) 40%), #070707;
}

.topic-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.topic-kicker {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.topic-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1;
    margin: 12px 0 16px;
}

.topic-subtitle {
    color: #cecece;
    max-width: 760px;
}

.topic-body {
    padding: 70px 5% 40px;
}

.topic-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.topic-card {
    background: #121212;
    border: 1px solid #252525;
    border-radius: 12px;
    padding: 24px;
}

.topic-card h3 {
    color: var(--gold);
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.topic-cta {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 24px;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    background: #0f0f0f;
}

.topic-cta a {
    margin-top: 12px;
}

.hit-card {
    background: var(--dark-grey);
    text-decoration: none;
    color: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #222;
}

.hit-card:hover { border-color: var(--gold); transform: translateY(-10px); }

.hit-image {
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    width: 60px; height: 60px; background: rgba(212, 175, 55, 0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: black; font-size: 1.5rem; opacity: 0; transition: var(--transition);
}

.hit-card:hover .play-icon { opacity: 1; }
.hit-body { padding: 25px; }
.hit-body h3 { font-family: 'Bebas Neue', cursive; font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; }

/* CONTACTO */
.bg-darker { background-color: #080808; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.contact-stats { display: flex; gap: 30px; margin-top: 30px; }
.stat strong { display: block; font-size: 2rem; color: var(--gold); font-family: 'Bebas Neue'; }
.stat span { color: var(--light-grey); font-size: 0.8rem; text-transform: uppercase; }

.form-container { background: var(--dark-grey); padding: 40px; border-radius: 15px; }
form { display: flex; flex-direction: column; gap: 20px; }
input, textarea {
    padding: 15px; background: #000; border: 1px solid #333; color: white;
    font-family: inherit; border-radius: 5px;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); }

/* RESPONSIVE */
/* RESPONSIVE GENERAL */
@media (max-width: 768px) {
    /* Eliminamos display: none para que la clase .active de abajo funcione */
    .contact-wrapper { grid-template-columns: 1fr; text-align: center; }
    .contact-stats { justify-content: center; }
    
    .hero {
        background-position: center center;
    }

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

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

footer {
    margin-top: 40px;
    padding: 28px 20px 34px;
    border-top: 1px solid #1f1f1f;
    text-align: center;
}

footer p {
    margin: 0 auto;
    max-width: 900px;
    color: #b5b5b5;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

footer .gold-text {
    color: var(--gold);
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #b58e1f, var(--gold));
    z-index: 1200;
    transition: width 0.15s linear;
}

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

.nav-links a.active::after {
    content: '';
    display: block;
    height: 2px;
    margin-top: 4px;
    background-color: var(--gold);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.input-group input.is-valid,
.input-group textarea.is-valid {
    border-color: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.12);
}

.input-group input.is-invalid,
.input-group textarea.is-invalid {
    border-color: #ff5a5a;
    box-shadow: 0 0 0 2px rgba(255, 90, 90, 0.12);
}

.char-count {
    color: var(--light-grey);
    font-size: 0.78rem;
    text-align: right;
}

.btn-main:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

#back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 1px solid #2b2b2b;
    border-radius: 50%;
    background: rgba(5, 5, 5, 0.9);
    color: var(--gold);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    z-index: 1100;
}

#back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#back-to-top:hover {
    border-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* --- ESTILOS ESPECÍFICOS PARA EL MENÚ MÓVIL --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; 
        z-index: 1001;
    }

    .nav-links {
        display: flex; /* Cambiado de none a flex */
        position: fixed;
        top: 0;
        right: -100%; /* Escondido */
        height: 100vh;
        width: 75%; 
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0; /* Se muestra */
    }

    /* Animación del botón Hamburguesa (opcional pero recomendada) */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}


/* --- ESTILOS DEL FORMULARIO --- */
.form-wrapper {
    background: #111111; /* Un gris casi negro muy elegante */
    padding: 3rem;
    border-radius: 20px;
    max-width: 850px;
    margin: 0 auto;
    border: 1px solid #222;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.form-header p {
    color: #a0a0a0;
    font-size: 1rem;
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.form-alert-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.form-alert-message {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.4;
}

.form-alert.success {
    background: rgba(46, 204, 113, 0.08);
    border-color: rgba(46, 204, 113, 0.4);
}

.form-alert.success .form-alert-icon {
    color: #0d321d;
    background: #2ecc71;
}

.form-alert.success .form-alert-message {
    color: #bcf2cf;
}

.form-alert.error {
    background: rgba(255, 90, 90, 0.08);
    border-color: rgba(255, 90, 90, 0.4);
}

.form-alert.error .form-alert-icon {
    color: #3a0c0c;
    background: #ff5a5a;
}

.form-alert.error .form-alert-message {
    color: #ffd1d1;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 1.5px;
}

.input-group input, 
.input-group textarea {
    background: #000000;
    border: 1px solid #333;
    padding: 15px;
    color: white;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #050505;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.btn-main {
    width: 100%;
    background: var(--gold);
    color: black;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: transform 0.2s, background 0.3s;
}

.btn-main:hover {
    background: #e5bd3d;
    transform: translateY(-2px);
}

/* --- ADAPTACIÓN MÓVIL --- */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .input-row {
        grid-template-columns: 1fr; /* En móvil, un campo debajo del otro */
    }
    
    .form-header h2 {
        font-size: 2.2rem;
    }
}

.lang-selector {
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--light-grey);
    cursor: pointer;
    margin-left: 15px;
}

.lang-selector span {
    transition: var(--transition);
}

.lang-selector span.active {
    color: var(--gold);
    text-decoration: underline;
}

.lang-selector span:hover {
    color: var(--white);
}

/* --- ESTILOS PARA EL MENÚ MÓVIL --- */
.menu-toggle {
    display: none; /* Se oculta en PC */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    transition: all 0.3s ease;
}

/* --- MEDIA QUERY PARA MÓVILES (768px) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Aparece en móvil */
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido a la derecha */
        height: 100vh;
        width: 70%; /* Ocupa el 70% de la pantalla */
        background-color: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        box-shadow: -10px 0 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;  /* Aparece al hacer clic */
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.2rem; /* Más grande para el pulgar */
    }

    /* Selector de idioma más grande en móvil */
    .lang-selector {
        margin-left: 0;
        font-size: 1.1rem;
        margin-top: 20px;
        padding: 10px 20px;
        border: 1px solid var(--gold);
        border-radius: 5px;
    }
}
