/* =====================================================
   NS Human Design — Home V2
   Estilos paralelos, prefijo v2- para evitar conflictos
   ===================================================== */

/* ---- Animaciones de carga — Hero ------------------- */
@keyframes v2FadeUp {
    from { opacity: 0; transform: translateY(35px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes v2FadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#v2-hero h1          { animation: v2FadeUp 0.9s cubic-bezier(.22,.68,0,1.2) both; }
#v2-hero .v2-bajada  { animation: v2FadeUp 0.9s cubic-bezier(.22,.68,0,1.2) 0.25s both; }
#v2-hero .v2-hero-ctas { animation: v2FadeUp 0.9s cubic-bezier(.22,.68,0,1.2) 0.5s both; }

/* ---- Scroll reveal --------------------------------- */
[data-v2-anim] {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
}
[data-v2-anim="fade-up"]    { transform: translateY(45px); }
[data-v2-anim="fade-left"]  { transform: translateX(-55px); }
[data-v2-anim="fade-right"] { transform: translateX(55px); }
[data-v2-anim="scale-up"]   { transform: scale(0.9); }

[data-v2-anim].v2-visible {
    opacity: 1;
    transform: none;
}

[data-v2-delay="1"] { transition-delay: 0.1s; }
[data-v2-delay="2"] { transition-delay: 0.2s; }
[data-v2-delay="3"] { transition-delay: 0.3s; }
[data-v2-delay="4"] { transition-delay: 0.45s; }

/* ---- Hover — imágenes de puertas ------------------- */
.v2-img-col a {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.v2-img-col a img {
    display: block;
    width: 100%;
    transition: transform 0.5s cubic-bezier(.25,.46,.45,.94);
    border-radius: 0;
    box-shadow: none;
}
.v2-img-col a:hover img { transform: scale(1.05); }

/* ---- Hover — tarjetas Campus ----------------------- */
.v2-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.v2-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 45px rgba(0,0,0,0.13);
}

/* ---- Hover — botón línea --------------------------- */
.v2-btn-line  { transition: background 0.25s, color 0.25s, transform 0.2s; }
.v2-btn-line:hover  { transform: translateY(-2px); }
.v2-btn-secondary   { transition: background 0.25s, color 0.25s, transform 0.2s; }
.v2-btn-secondary:hover { transform: translateY(-2px); }

/* ---- Header V2 ------------------------------------- */
.v2-header {
    display: flex;
    align-items: center;
    height: 80px;
    background-color: #fff;
    position: fixed;
    z-index: 5000;
    width: 100%;
    transition: box-shadow 0.3s;
}
.v2-header.scrolled { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.v2-header .inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.v2-logo img { height: 42px; width: auto; display: block; }

.v2-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}
.v2-nav li { margin: 0 !important; }
.v2-nav li a {
    color: #555;
    font-size: 0.88rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    transition: color 0.2s;
}
.v2-nav li a:hover,
.v2-nav li.current-menu-item a { color: #52C0B1; }

.v2-btn-reserva {
    color: #fff !important;
    padding: 13px 24px;
    background: transparent linear-gradient(90deg, #FFC64E 0%, #FF4834 100%) 0% 0% no-repeat padding-box;
    display: inline-block;
    text-align: center;
    border: 0;
    border-radius: 10px;
    transition: filter 0.2s;
    font: normal normal 600 0.85rem/1 'Raleway', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}
.v2-btn-reserva:hover { filter: brightness(110%); }

/* Hamburger V2 */
.v2-menu-btn {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.v2-menu-btn span,
.v2-menu-btn span::before,
.v2-menu-btn span::after {
    display: block;
    width: 26px;
    height: 4px;
    background: #FE5000;
    border-radius: 2px;
}
.v2-menu-btn span::before,
.v2-menu-btn span::after { content: ''; }
.v2-menu-btn span::before { position: relative; top: -8px; }
.v2-menu-btn span::after  { position: relative; top: 4px; }

#v2-menu-mobile {
    width: 380px;
    height: 100%;
    position: fixed;
    right: -380px;
    top: 0;
    z-index: 10000;
    display: grid;
    align-items: center;
    justify-items: right;
    box-shadow: -3px 0 7px rgba(0,0,0,.1);
    background: #fff;
    transition: right 0.2s;
}
#v2-menu-mobile.active { right: 0; }
#v2-menu-mobile nav { margin-right: 15%; }
#v2-close-menu { position: absolute; top: 30px; right: 15%; cursor: pointer; }
#v2-close-menu img { width: 22px; }
#v2-menu-mobile ul { list-style: none; padding: 0; margin: 0; }
#v2-menu-mobile li { margin-bottom: 0 !important; border: 0 !important; }
#v2-menu-mobile li a {
    font-size: 1.15rem;
    display: block;
    margin-bottom: 20px;
    text-align: right;
    color: #FE5000;
    transition: opacity 0.2s;
}
#v2-menu-mobile li a:hover { opacity: 0.75; }
#v2-menu-mobile .sub-menu { display: none; }
#v2-menu-mobile .v2-mobile-reserva {
    margin-top: 10px;
    text-align: right;
}
#v2-menu-mobile .v2-mobile-reserva a {
    font-size: 1rem;
    font-weight: 700;
    color: #fff !important;
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(90deg, #FFC64E, #FF4834);
    border-radius: 8px;
}

/* El header fijo flota sobre el hero — sin offset en body */

/* ---- Hero V2 --------------------------------------- */
#v2-hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 640px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 160px 0 100px; /* extra top para compensar header fijo */
}
#v2-hero .v2-overlay {
    background: rgba(20, 17, 24, 0.58);
    position: absolute;
    inset: 0;
}
#v2-hero .inner { position: relative; z-index: 1; }
#v2-hero h1 {
    color: #fff;
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 20px;
}
#v2-hero .v2-bajada {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin: 0 auto 50px;
    max-width: 650px;
    line-height: 1.7;
}
#v2-hero .v2-hero-ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
#v2-hero .v2-cta-secundario {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}
#v2-hero .v2-cta-secundario:hover { opacity: 0.7; }

/* ---- Sección 1: Orientación Rápida ----------------- */
#v2-orientacion { padding: 100px 0; }
#v2-orientacion .grid { align-items: center; }
#v2-orientacion .v2-img-col { text-align: center; }
#v2-orientacion .v2-img-col img {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
#v2-orientacion .v2-txt-col h2 { margin-bottom: 18px; font-size: 1.8rem; }
#v2-orientacion .v2-txt-col p { margin-bottom: 35px; color: #555; font-size: 1.05rem; }

/* ---- Sección 2: Comunidad NS ----------------------- */
#v2-comunidad { padding: 100px 0; background-color: #f9f7f4; }
#v2-comunidad .grid { align-items: center; }
#v2-comunidad .v2-img-col { text-align: center; }
#v2-comunidad .v2-img-col img {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
#v2-comunidad .v2-txt-col h2 { margin-bottom: 18px; font-size: 1.8rem; }
#v2-comunidad .v2-txt-col p { margin-bottom: 35px; color: #555; font-size: 1.05rem; }

/* ---- Sección 3: Herramienta Central ---------------- */
#v2-herramienta { padding: 100px 0; }
.v2-herramienta-box {
    background: linear-gradient(135deg, #edfaf8 0%, #e2f5f2 100%);
    border: 1px solid rgba(82,192,177,0.25);
    border-radius: 24px;
    padding: 75px 70px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.v2-herramienta-box h2 { margin-bottom: 18px; }
.v2-herramienta-box p {
    color: #555;
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto 42px;
    line-height: 1.8;
}

/* ---- Sección 4: Campus ----------------------------- */
#v2-campus { padding: 100px 0; background-color: #f9f7f4; }
#v2-campus .v2-campus-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}
#v2-campus .v2-campus-intro h2 { margin-bottom: 15px; }
#v2-campus .v2-campus-intro p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 0;
}
.v2-card {
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    background: #fff;
    padding: 48px 38px 52px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.v2-card-badge {
    display: inline-block;
    background: linear-gradient(90deg, #52C0B1, #3aaa9a);
    color: #fff;
    font: 700 0.72rem/1 'Raleway', sans-serif;
    letter-spacing: 1.2px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.v2-card .v2-card-icon {
    font-size: 2.4rem;
    color: #52C0B1;
    margin-bottom: 18px;
    line-height: 1;
}
.v2-card h3 { font-size: 1.5rem; margin-bottom: 12px; color: #201d24; }
.v2-card p { color: #666; font-size: 0.95rem; flex: 1; margin-bottom: 30px; }

.v2-btn-line {
    color: #FF4834;
    background: #fff;
    border: 2px solid #FF4834;
    padding: 14px 40px;
    border-radius: 10px;
    font: 600 0.85rem/1 'Raleway', sans-serif;
    display: inline-block;
    transition: all 0.2s;
    text-align: center;
}
.v2-btn-line:hover { background: #FF4834; color: #fff; }

.v2-campus-secondary { text-align: center; margin-top: 50px; }
.v2-btn-secondary {
    color: #52C0B1;
    background: transparent;
    border: 2px solid #52C0B1;
    padding: 14px 48px;
    border-radius: 10px;
    font: 600 0.88rem/1 'Raleway', sans-serif;
    display: inline-block;
    transition: all 0.2s;
}
.v2-btn-secondary:hover { background: #52C0B1; color: #fff; }

/* ---- Sección 5: Testimonios ------------------------ */
/* Reutiliza los estilos del tema (.testimonios_container,
   .card-testimonios, etc.) — sin estilos duplicados aquí */
#v2-testimonios { padding: 100px 0; }

/* ---- Footer V2 ------------------------------------- */
.v2-footer {
    background: #fff;
    padding: 65px 0 35px;
    border-top: 1px solid #ebebeb;
}
.v2-footer-logo img { height: 38px; width: auto; margin-bottom: 12px; }
.v2-footer-social { color: #aaa; font-size: 0.85rem; margin-top: 6px; }

.v2-footer h4 {
    font: 700 0.78rem/1 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaa;
    margin-bottom: 20px;
}
.v2-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.v2-footer ul li { margin-bottom: 12px !important; border: 0 !important; }
.v2-footer ul li a { color: #555; font-size: 0.9rem; transition: color 0.2s; }
.v2-footer ul li a:hover { color: #52C0B1; }

.v2-footer-contacto p,
.v2-footer-contacto a { color: #555; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.v2-footer-contacto a:hover { color: #52C0B1; }

.v2-footer-bottom {
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid #ebebeb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.v2-footer-bottom p { font-size: 0.8rem; color: #bbb; margin: 0; }

/* ---- Responsive V2 --------------------------------- */
@media screen and (max-width: 1080px) {
    .v2-header .v2-nav,
    .v2-header .v2-btn-reserva { display: none; }
    .v2-menu-btn { display: block; }
}

@media screen and (max-width: 1280px) {
    #v2-hero h1 { font-size: 2.8rem; }
    #v2-orientacion, #v2-comunidad,
    #v2-herramienta, #v2-campus,
    #v2-testimonios { padding: 80px 0; }
    .v2-herramienta-box { padding: 60px 50px; }
}

@media screen and (max-width: 768px) {
    #v2-hero { min-height: auto; padding: 80px 0; }
    #v2-hero h1 { font-size: 2.1rem; }
    #v2-hero .v2-bajada { font-size: 0.97rem; }
    #v2-hero .v2-hero-ctas { flex-direction: column; gap: 14px; }

    #v2-orientacion .v2-img-col,
    #v2-comunidad .v2-img-col { margin-bottom: 0; }

    .v2-herramienta-box { padding: 50px 24px; }
    .v2-herramienta-box h2 { font-size: 2rem; }

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

    #v2-menu-mobile { width: 100%; right: -100%; }
    #v2-menu-mobile.active { right: 0; }
}
