/* ================================
   NAV
================================ */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(8,22,38,.96);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.nav-inner {
    max-width: 1300px;
    margin: auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    width: 135px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-mobile{
    display: none;
}
.nav-mobile.open{
    display:Flex;
}
.nav-menu a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-light);
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--vs-yellow);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--vs-yellow);
    color: var(--vs-blue-dark);
    padding: 12px 26px;
    font-weight: 500;
}

.nav-toggle {
    display: none;
}

/* ================================
   HERO
================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg {
    background: url("../img/hero.png") center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6,15,30,.85),
        rgba(6,15,30,.6)
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: auto;
    padding: 140px 32px 100px;
}

.hero-text {
    max-width: 720px;
    animation: heroFade 1.2s ease forwards;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

.hero-text span {
    color: var(--vs-yellow);
}

.hero-lead {
    font-size: 18px;
    margin: 22px 0 10px;
    color: var(--text-light);
}

.hero-sub {
    color: #cbd5e1;
    margin-bottom: 32px;
}

/* ================================
   SECTIONS
================================ */
.section {
    padding: 100px 32px;
}

.section-inner {
    max-width: 1200px;
    margin: auto;
}

.section-inner.narrow {
    max-width: 760px;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-light {
    background: var(--bg-light);
}

.section-accent {
    background: var(--bg-accent);
}

.section h2 {
    margin-bottom: 16px;
}

/* ================================
   PANELS
================================ */
.panel {
    background: rgba(255,255,255,.03);
    padding: 36px;
    border-left: 4px solid var(--vs-yellow);
}

/* ================================
   GRIDS
================================ */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* ================================
   SERVICES / ADVANTAGES
================================ */
.service,
.advantage {
    padding: 26px 18px;
}

.icon {
    font-size: 32px;
    color: var(--vs-blue);
    margin-bottom: 14px;
}

.service h3,
.advantage h3 {
    margin-bottom: 8px;
}

.service p,
.advantage p {
    font-size: 14.8px;
    line-height: 1.55;
}


/* ================================
   VISUAL SPLIT SECTION
================================ */
.section-visual {
    background: linear-gradient(
        to right,
        #f8fafc,
        #ffffff
    );
}

.visual-split {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 80px;
    align-items: center;
}

.visual-text h2 {
    font-size: 36px;
    margin-bottom: 18px;
}

.visual-text p {
    margin-bottom: 16px;
}

.visual-points {
    margin-top: 22px;
    list-style: none;
    padding-left: 0;
}

.visual-points li {
    margin-bottom: 10px;
    font-weight: 500;
}

.visual-image {
    position: relative;
}

.visual-image img {
    width: 100%;
    box-shadow: 0 30px 80px rgba(15,23,42,.18);
    transform: translateY(0);
    transition: var(--transition);
}

.visual-image img:hover {
    transform: translateY(-6px);
}

/* ================================
   VISUAL RESPONSIVE
================================ */
@media (max-width: 1000px) {
    .visual-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .visual-text {
        order: 2;
    }

    .visual-image {
        order: 1;
    }
}


.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

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

.reveal.delay {
    transition-delay: 0.15s;
}

.reveal.delay-2 {
    transition-delay: 0.3s;
}

.reveal.delay-3 {
    transition-delay: 0.45s;
}


/* ================================
   PROCESS
================================ */
.process {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    margin-top: 50px;
}

.process span {
    display: block;
    font-size: 28px;
    color: var(--vs-yellow);
    margin-bottom: 6px;
}

/* ================================
   PROCESS ACCORDION
================================ */
.process.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 60px;
}

.process-item {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border-left: 4px solid var(--vs-yellow);
    transition: var(--transition);
}

.section-accent .process-item {
    background: #ffffff;
}

.process-header {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.process-step {
    font-size: 26px;
    font-weight: 600;
    color: var(--vs-yellow);
}

.process-title {
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
}

.process-header i {
    transition: transform .35s ease;
    color: var(--vs-blue);
}

.process-item.open .process-header i {
    transform: rotate(180deg);
}

.process-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    transition: max-height .45s ease, padding .35s ease;
}

.process-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.process-item.open .process-content {
    max-height: 500px;
    padding: 10px 26px 24px;
}

/* Hover feedback */
.process-header:hover {
    background: rgba(11,74,111,0.04);
}


/* ================================
   FORMS
================================ */
.newsletter-form,
.contact-form {
    margin-top: 26px;
    display: grid;
    gap: 14px;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea {
    padding: 13px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    font-family: Inter, sans-serif;
}

.contact-form textarea {
    min-height: 120px;
}

.newsletter-form button,
.contact-form button {
    background: var(--vs-yellow);
    padding: 14px;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

/* ================================
   CONTACT SECTION
================================ */
.contact-info p {
    max-width: 520px;
}

.contact-channels {
    margin-top: 30px;
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--text-dark);
}

.section-dark .contact-item {
    color: var(--text-light);
}

.contact-item i {
    font-size: 20px;
    width: 26px;
}

/* Colores por canal */
.contact-item.whatsapp i {
    color: #25D366;
}

.contact-item.instagram i {
    color: #E1306C;
}

.contact-item.email i {
    color: var(--vs-blue);
}

.contact-item span {
    font-weight: 500;
}

/* Botón formulario */
.contact-form button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


/* ================================
   FOOTER
================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 80px 32px 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    font-size: 20px;
    letter-spacing: .04em;
}

.footer-desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 420px;
}

.footer-links,
.footer-contact {
    font-size: 14px;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vs-yellow);
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    opacity: .85;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 14px;
    color: var(--text-muted);
}

.footer-contact span {
    color: var(--text-light);
}

/* BOTTOM BAR */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-dev strong {
    color: var(--text-light);
}

/* =====================================================
   RESPONSIVE · TABLET
===================================================== */
@media (max-width: 1100px) {

    .hero-inner {
        padding: 120px 28px 90px;
    }

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

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .panel {
        padding: 36px;
    }
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* =====================================================
   RESPONSIVE · MÓVIL
===================================================== */
@media (max-width: 768px) {

    /* NAV */
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 26px;
        height: 2px;
        background: white;
    }

    .nav-mobile {
        display: none;
        flex-direction: column;
        background: var(--bg-dark);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-mobile a {
        padding: 18px 28px;
        border-top: 1px solid rgba(255,255,255,0.08);
        color: var(--text-light);
        font-size: 14px;
    }

    .nav-mobile .nav-cta {
        margin: 20px;
        text-align: center;
        color:var(--vs-blue-dark);
    }

    /* HERO */
    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: 120px 24px 80px;
    }

    .hero-text h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-sub {
        font-size: 15px;
    }

    /* SECTIONS */
    .section {
        padding: 90px 24px;
    }

    .section h2 {
        font-size: 30px;
    }

    .lead {
        font-size: 17px;
    }

    /* GRIDS */
    .grid-4,
    .grid-3,
    .grid-2,
    .process {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* SERVICES / ADVANTAGES */
    .service,
    .advantage {
        padding: 22px 16px;
    }

    .icon {
        font-size: 30px;
    }

    /* FORMS */
    .newsletter-form input,
    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
    }

    .newsletter-form button,
    .contact-form button {
        font-size: 15px;
    }

    /* FOOTER */
    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    #acc-mob{
        display:none;
    }
    .process.accordion {
        gap: 12px;
    }

    .process-header {
        grid-template-columns: auto 1fr auto;
        padding: 18px 18px;
        gap: 14px;
    }

    .process-step {
        font-size: 22px;
        min-width: 36px;
        text-align: left;
    }

    .process-title {
        font-size: 13px;
        line-height: 1.4;
        color:#0f172a;
    }

    /* 🔥 ICONO SIEMPRE VISIBLE EN MÓVIL */
    .process-header i {
        display: inline-block;
        font-size: 14px;
        opacity: .9;
    }

    .process-item.open .process-header i {
        transform: rotate(180deg);
    }

    .process-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .process-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* =====================================================
   RESPONSIVE · MÓVIL PEQUEÑO
===================================================== */
@media (max-width: 480px) {
    #acc-mob{
        display:none;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .btn-primary {
        padding: 14px 32px;
        font-size: 14px;
    }

    .panel {
        padding: 28px 20px;
    }
}
