/* =========================
   CONFIGURACIÓN GENERAL
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #171717;
    background: #f8f7f4;
}

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

button {
    font-family: inherit;
}


/* =========================
   PORTADA
========================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #171717;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* CAPA OSCURA */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(0,0,0,.78),
        rgba(0,0,0,.28)
    );
}

/* ELEMENTOS DE PORTADA */

.header,
.hero-content,
.hero-footer {
    position: relative;
    z-index: 2;
}

/* CABECERA */

.header {
    width: 100%;
    padding: 32px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;
	    color: white;

}

.logo {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 3px;
}

.logo span {
    color: #c9a779;
}

/* NAVEGACIÓN */

.navigation {
    display: flex;
    gap: 38px;
}

.navigation a {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color .3s;
}

.navigation a:hover {
    color: #c9a779;
}

/* BOTÓN CABECERA */

.header-button {
    border: 1px solid rgba(255,255,255,.6);
    padding: 12px 23px;

    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: .3s;
}

.header-button:hover {
    background: white;
    color: #171717;
}

/* MENÚ MÓVIL */

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 27px;
    cursor: pointer;
}

/* CONTENIDO PRINCIPAL */

.hero-content {
    padding: 80px 12%;
    margin: auto 0;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(55px, 8vw, 115px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -3px;
}

.hero h1 em,
h2 em {
    color: #c9a779;
    font-weight: 400;
}

.hero-description {
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
    max-width: 390px;
}

/* BOTÓN PRINCIPAL */

.main-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    margin-top: 38px;
    padding: 17px 23px;

    background: #c9a779;
    color: #171717;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

    transition: .3s;
}

.main-button:hover {
    background: white;
    transform: translateY(-3px);
}

.main-button span {
    font-size: 17px;
}

/* PIE DE PORTADA */

.hero-footer {
    display: flex;
    justify-content: space-between;

    padding: 25px 7%;
    border-top: 1px solid rgba(255,255,255,.25);

    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.7);
}


/* =========================
   SECCIONES GENERALES
========================= */

.section {
    padding: 110px 10%;
}

.section-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #9a8b77;

    border-bottom: 1px solid #dedbd4;
    padding-bottom: 20px;
    margin-bottom: 70px;
}

.eyebrow.dark {
    color: #9a8b77;
}


/* =========================
   PRESENTACIÓN
========================= */

.about {
    background: #f8f7f4;
}

.about-content {
    max-width: 900px;
    margin: auto;
}

.about h2,
.videos h2,
.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5.5vw, 70px);
    line-height: 1.15;
    font-weight: 400;
}

.about h2 em,
.videos h2 em {
    color: #b3946b;
}

.about-description {
    max-width: 570px;
    margin-top: 30px;

    font-size: 15px;
    line-height: 1.9;
    color: #77736c;
}


/* =========================
   VIDEOTECA
========================= */

.videos {
    background: #eeece7;
}

.videos-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 55px;
}

.videos-intro {
    max-width: 280px;
    color: #77736c;
    font-size: 14px;
    line-height: 1.8;
}

/* GRID DE VÍDEOS */

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 25px;
}

.video-card {
    cursor: pointer;
}

.thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #222;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s;
}

.video-card:hover .thumbnail img {
    transform: scale(1.06);
}

/* BOTÓN PLAY */

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 65px;
    height: 65px;

    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    background: rgba(0,0,0,.25);

    font-size: 17px;
    padding-left: 4px;

    transition: .3s;
}

.video-card:hover .play-button {
    background: #c9a779;
    color: #171717;
    border-color: #c9a779;
}

/* INFORMACIÓN DE VÍDEOS */

.video-info {
    padding-top: 20px;
}

.video-info span {
    font-size: 9px;
    letter-spacing: 2px;
    color: #a18a6c;
}

.video-info h3 {
    margin-top: 9px;

    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 400;
}


/* =========================
   CONTACTO
========================= */

.contact {
    background: #1f1a12;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: clamp(45px, 7vw, 85px);
}

.contact .main-button {
    margin-top: 40px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #111;
    color: white;

    padding: 30px 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer p,
.footer > a:last-child {
    color: #999;
    font-size: 10px;
    letter-spacing: 1px;
}


/* =========================
   MODAL YOUTUBE
========================= */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: rgba(0,0,0,.94);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .3s, visibility .3s;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1050px;
}

/* BOTÓN CERRAR */

.modal-close {
    position: absolute;
    right: 0;
    top: -55px;

    background: none;
    border: none;

    color: white;
    font-size: 43px;
    font-weight: 300;

    cursor: pointer;
    line-height: 1;
}

/* TÍTULO DEL MODAL */

.modal-heading {
    color: white;
    margin-bottom: 18px;
}

.modal-heading span {
    font-size: 9px;
    letter-spacing: 2px;
    color: #c9a779;
}

.modal-heading h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 400;
    margin-top: 7px;
}

/* REPRODUCTOR */

.youtube-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.youtube-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}


/* =========================
   RESPONSIVE - TABLETS
========================= */

@media (max-width: 768px) {

    .header {
        padding: 25px 6%;
    }

    .navigation {
        display: none;

        position: absolute;
        top: 80px;
        left: 0;

        width: 100%;

        background: #171717;

        flex-direction: column;
        gap: 0;

        padding: 15px 6%;
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        padding: 15px 0;
    }

    .header-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        padding: 60px 8%;
    }

    .hero h1 {
        font-size: clamp(53px, 12vw, 85px);
    }

    .hero-footer {
        padding: 20px 6%;
        font-size: 8px;
        gap: 10px;
    }

    .hero-footer span:nth-child(2) {
        display: none;
    }

    .section {
        padding: 80px 7%;
    }

    .section-label {
        margin-bottom: 45px;
    }

    .videos-heading {
        display: block;
    }

    .videos-intro {
        margin-top: 25px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}


/* =========================
   RESPONSIVE - MÓVILES
========================= */

@media (max-width: 480px) {

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 13px;
    }

    .about h2,
    .videos h2 {
        font-size: 40px;
    }

    .video-info h3 {
        font-size: 22px;
    }

    .video-modal {
        padding: 15px;
    }

    .modal-heading h3 {
        font-size: 20px;
    }

}
/* ACCESO PRIVADO */

.private-access {
    min-height: 450px;
    padding: 100px 25px;
    background: #171717;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    scroll-margin-top: 30px;
}

.private-access-box {
    width: 100%;
    max-width: 420px;
}

.private-access h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin: 15px 0;
}

.private-access h2 span {
    color: #aaa;
}

.private-access-box > p:not(.eyebrow) {
    color: #aaa;
    margin-bottom: 30px;
}

.private-access input {
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    background: transparent;
    border: 1px solid #777;
    color: white;
    font-size: 15px;
    box-sizing: border-box;
}

.private-access button {
    width: 100%;
    padding: 16px;
    background: white;
    color: #171717;
    border: none;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.private-access button:hover {
    background: #ccc;
}




/* =====================================================
   ATELIER · VUELVE A TI
   Identidad visual independiente
===================================================== */

.vti-section {
    --vti-cream: #F5EEE7;
    --vti-rose: #D9B9AE;
    --vti-terracotta: #A97865;
    --vti-brown: #65564E;
    --vti-dark: #493B35;
    --vti-white: #FFFCF9;

    position: relative;
    width: 100%;
    padding: 100px 24px;
    background: var(--vti-cream);
    color: var(--vti-dark);
    font-family: inherit;
    overflow: hidden;
}

.vti-section * {
    box-sizing: border-box;
}

.vti-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.vti-section [hidden] {
    display: none !important;
}

.vti-intro,
.vti-quiz,
.vti-results {
    animation: vtiFadeIn 0.7s ease both;
}

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

.vti-eyebrow {
    display: block;
    color: var(--vti-terracotta);
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 22px;
}

.vti-section h2,
.vti-section h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

.vti-intro h2 {
    text-align: center;
    font-size: clamp(48px, 8vw, 78px);
    color: var(--vti-dark);
    margin: 0;
}

.vti-intro h2 em {
    color: var(--vti-terracotta);
    font-weight: 400;
}

.vti-ornament {
    display: block;
    text-align: center;
    color: var(--vti-terracotta);
    font-size: 28px;
    margin: 20px 0;
}

.vti-subtitle {
    text-align: center;
    max-width: 550px;
    margin: 0 auto 35px;
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.6;
    color: var(--vti-brown);
}

.vti-intro-image {
    position: relative;
    min-height: 340px;
    max-width: 700px;
    margin: 0 auto 40px;
    border-radius: 3px;
    background:
        linear-gradient(
            to top,
            rgba(50, 35, 28, 0.62),
            rgba(50, 35, 28, 0.03)
        ),
        url("cuestionario_.jpg")
        center 55% / cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.vti-image-overlay {
    padding: 35px;
    max-width: 570px;
}

.vti-image-overlay p {
    color: white;
    text-align: center;
    font-family: Georgia, serif;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.5;
    margin: 0;
}

.vti-intro-text {
    max-width: 650px;
    margin: 0 auto 30px;
    text-align: center;
}

.vti-intro-text p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--vti-brown);
    margin-bottom: 16px;
}

.vti-duration {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--vti-terracotta);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.vti-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 55px;
    padding: 15px 32px;
    margin: 0 auto;
    border: 1px solid var(--vti-terracotta);
    background: var(--vti-terracotta);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vti-button:hover:not(:disabled) {
    background: var(--vti-dark);
    border-color: var(--vti-dark);
    transform: translateY(-2px);
}

.vti-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.vti-privacy {
    text-align: center;
    color: #897B72;
    font-size: 11px;
    line-height: 1.6;
    margin-top: 20px;
}


/* CUESTIONARIO */

.vti-quiz {
    max-width: 700px;
    margin: 0 auto;
}

.vti-quiz-heading {
    text-align: center;
    margin-bottom: 45px;
}

.vti-quiz-heading h3 {
    font-size: 34px;
    margin: 0 0 12px;
}

.vti-quiz-heading p {
    color: var(--vti-brown);
    font-size: 14px;
    line-height: 1.7;
}

.vti-progress-info {
    display: flex;
    justify-content: space-between;
    color: var(--vti-brown);
    font-size: 12px;
    margin-bottom: 10px;
}

.vti-progress-track,
.vti-result-score-track {
    width: 100%;
    height: 5px;
    background: #E5D9D0;
    overflow: hidden;
}

.vti-progress-bar {
    height: 100%;
    width: 5%;
    background: var(--vti-terracotta);
    transition: width 0.35s ease;
}

.vti-question-area {
    padding: 55px 0 35px;
}

.vti-question-category {
    display: block;
    color: var(--vti-terracotta);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.vti-question-area h3 {
    font-size: clamp(25px, 4vw, 35px);
    line-height: 1.4;
    margin: 0 0 15px;
}

.vti-answer-instruction {
    color: #897B72;
    font-size: 13px;
    margin-bottom: 28px;
}

.vti-options {
    display: grid;
    gap: 12px;
}

.vti-option {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 65px;
    padding: 15px 20px;
    text-align: left;
    color: var(--vti-dark);
    background: var(--vti-white);
    border: 1px solid #E6D9CF;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
}

.vti-option:hover {
    border-color: var(--vti-terracotta);
    transform: translateX(3px);
}

.vti-option.selected {
    border-color: var(--vti-terracotta);
    background: #EAD9D0;
}

.vti-option-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border: 1px solid #D6B8A9;
    border-radius: 50%;
    color: var(--vti-terracotta);
    font-size: 10px;
}

.vti-option.selected .vti-option-number {
    background: var(--vti-terracotta);
    color: white;
}

.vti-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
}

.vti-navigation .vti-button {
    margin: 0;
}

.vti-back {
    border: none;
    background: transparent;
    color: var(--vti-brown);
    cursor: pointer;
    padding: 15px 5px;
    font-size: 13px;
}

.vti-quiz-footer {
    text-align: center;
    color: #998A80;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 14px;
    margin-top: 35px;
}


/* RESULTADOS */

.vti-results {
    max-width: 750px;
    margin: 0 auto;
}

.vti-results > h2 {
    text-align: center;
    font-size: clamp(35px, 6vw, 48px);
    margin: 0 0 18px;
}

.vti-results-intro {
    max-width: 600px;
    text-align: center;
    color: var(--vti-brown);
    line-height: 1.8;
    margin: 0 auto 40px;
    font-size: 14px;
}

.vti-result-card {
    padding: 40px;
    background: var(--vti-white);
    border: 1px solid #E6D9CF;
}

.vti-result-label {
    display: block;
    color: var(--vti-terracotta);
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.vti-result-card h3 {
    font-size: clamp(28px, 4vw, 38px);
    margin: 0 0 20px;
}

.vti-result-card > p {
    color: var(--vti-brown);
    line-height: 1.8;
    font-size: 14px;
}

.vti-result-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 35px 0 12px;
    font-size: 12px;
    color: var(--vti-brown);
}

.vti-result-score strong {
    color: var(--vti-terracotta);
    font-size: 23px;
    white-space: nowrap;
}

.vti-result-score-track > div {
    height: 100%;
    width: 0;
    background: var(--vti-terracotta);
    transition: width 0.8s ease;
}

.vti-score-note {
    font-size: 11px !important;
    color: #93847B !important;
    margin-top: 12px;
}

.vti-analysis {
    padding: 55px 0;
}

.vti-analysis > h3,
.vti-next-steps > h3 {
    text-align: center;
    font-size: 32px;
    margin: 0 0 12px;
}

.vti-analysis-subtitle {
    text-align: center;
    font-size: 13px;
    color: var(--vti-brown);
    margin-bottom: 30px;
}

.vti-area-item {
    padding: 20px 0;
    border-bottom: 1px solid #DDCFC5;
}

.vti-area-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.vti-area-heading strong {
    color: var(--vti-terracotta);
}

.vti-area-track {
    width: 100%;
    height: 7px;
    background: #E5D9D0;
    overflow: hidden;
}

.vti-area-track div {
    height: 100%;
    background: var(--vti-terracotta);
}

.vti-area-item p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--vti-brown);
    margin: 12px 0 0;
}

.vti-personal-message {
    padding: 45px 35px;
    background: #E9D9D0;
    text-align: center;
    margin-bottom: 55px;
}

.vti-personal-message h3 {
    font-size: 32px;
    margin: 0 0 18px;
}

.vti-personal-message > p {
    max-width: 570px;
    margin: 0 auto;
    color: var(--vti-dark);
    line-height: 1.9;
    font-size: 14px;
}

.vti-message-highlight {
    max-width: 520px;
    margin: 28px auto 0;
    padding-top: 22px;
    border-top: 1px solid #C9ADA0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.6;
    color: var(--vti-terracotta);
}

.vti-next-steps {
    margin-bottom: 55px;
}

.vti-recommendation {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #DDCFC5;
}

.vti-recommendation-number {
    color: var(--vti-terracotta);
    font-family: Georgia, serif;
    font-size: 25px;
}

.vti-recommendation h4 {
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: 400;
    margin: 0 0 8px;
}

.vti-recommendation p {
    color: var(--vti-brown);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.vti-final-message {
    text-align: center;
    padding: 55px 25px;
    border-top: 1px solid #DDCFC5;
    border-bottom: 1px solid #DDCFC5;
}

.vti-final-message h2 {
    font-size: 43px;
    margin: 0 0 20px;
}

.vti-final-message p {
    max-width: 530px;
    margin: 0 auto 18px;
    color: var(--vti-brown);
    font-size: 14px;
    line-height: 1.9;
}

.vti-final-message .vti-final-emphasis {
    font-family: Georgia, serif;
    font-size: 23px;
    color: var(--vti-terracotta);
}

.vti-result-actions {
    padding: 35px 0;
}

.vti-disclaimer {
    text-align: center;
    color: #93847B;
    font-size: 11px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}


/* ADAPTACIÓN MÓVIL */

@media (max-width: 600px) {

    .vti-section {
        padding: 65px 18px;
    }

    .vti-intro-image {
        min-height: 260px;
    }

    .vti-image-overlay {
        padding: 22px;
    }

    .vti-quiz-heading h3 {
        font-size: 28px;
    }

    .vti-question-area {
        padding-top: 40px;
    }

    .vti-option {
        padding: 13px;
        font-size: 13px;
    }

    .vti-result-card {
        padding: 25px 20px;
    }

    .vti-personal-message {
        padding: 35px 20px;
    }

    .vti-result-score {
        align-items: flex-start;
    }

    .vti-final-message h2 {
        font-size: 35px;
    }

    .vti-navigation {
        align-items: center;
    }

    .vti-navigation .vti-button {
        padding: 13px 18px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vti-section *,
    .vti-section *::before,
    .vti-section *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* FIN VUELVE A TI */

