/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #ffffff;
    color: #0c1118;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    width: 100%;
    padding: 24px 0;
}

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

.nav-logo img {
    height: 59px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    color: #454d59;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.25px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0461f0;
}

.nav-actions {
    display: flex;
    gap: 16px;
    width: 250px;
    justify-content: flex-end;
}

.btn-ingreso {
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #242a33;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 36px;
    transition: background 0.3s;
}

.btn-ingreso:hover {
    background: #f5f9ff;
}

.btn-registro {
    padding: 12px 20px;
    background: #0461f0;
    border: none;
    border-radius: 36px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 2px 2px rgba(12, 17, 24, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.btn-registro:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 8px rgba(4, 97, 240, 0.3);
}

/* Hero Section */
.hero-section {
    width: 100%;
    padding: 0 48px 40px;
}

.hero-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: linear-gradient(180deg, #f5f9ff 0%, #c2d9ff 50%, rgba(245, 249, 255, 0) 75%);
    border-radius: 40px;
    padding: 72px 72px 0;
    min-height: 840px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 78px;
    line-height: 72px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.title-inca {
    background: linear-gradient(180deg, #0c1118 9.375%, #022965 104.51%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-trabajo {
    background: linear-gradient(180deg, #528df5 9.375%, #2b52be 104.51%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    max-width: 698px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 28px;
    line-height: 28px;
    color: #023584;
    margin-bottom: 24px;
}

/* Hero Images Carousel */
.hero-images {
    position: relative;
    width: 100%;
    height: 380px;
    margin-top: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: visible;
}

.image-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 12px 24px rgba(12, 17, 24, 0.15), 0px 0px 0px 1px rgba(12, 17, 24, 0.05);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease, box-shadow 0.3s;
    cursor: pointer;
    width: 671px;
    height: 313px;
    z-index: 1;
    opacity: 0;
    transform: scale(0.6) translateX(0);
    pointer-events: none;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel States */
.image-card.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 5;
    pointer-events: auto;
    box-shadow: 0px 20px 38px rgba(12, 17, 24, 0.25), 0px 0px 0px 2px rgba(4, 97, 240, 0.2);
}

.image-card.prev {
    opacity: 0.5;
    transform: scale(0.85) translateX(-420px);
    z-index: 3;
    pointer-events: auto;
    filter: blur(2px);
}

.image-card.next {
    opacity: 0.5;
    transform: scale(0.85) translateX(420px);
    z-index: 3;
    pointer-events: auto;
    filter: blur(2px);
}

.image-card.hidden-left {
    opacity: 0;
    transform: scale(0.7) translateX(-700px);
    z-index: 1;
}

.image-card.hidden-right {
    opacity: 0;
    transform: scale(0.7) translateX(700px);
    z-index: 1;
}

.image-card:hover.active {
    transform: translateY(-5px) scale(1);
    box-shadow: 0px 25px 45px rgba(12, 17, 24, 0.3), 0px 0px 0px 3px rgba(4, 97, 240, 0.3);
}

.image-card:hover.prev {
    opacity: 0.8;
    filter: blur(0px);
    transform: scale(0.88) translateX(-420px);
}

.image-card:hover.next {
    opacity: 0.8;
    filter: blur(0px);
    transform: scale(0.88) translateX(420px);
}

.video-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    padding: 4px 12px;
    border-radius: 24px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.video-overlay svg {
    flex-shrink: 0;
}

/* Companies Section */
.companies-section {
    position: relative;
    z-index: 10;
    background: #ffffff;
    padding: 24px 48px;
}

.companies-container {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
}

.companies-text {
    font-size: 16px;
    color: #242a33;
    margin-bottom: 24px;
}

.companies-logos {
    display: flex;
    gap: 56px;
    justify-content: center;
    align-items: center;
}

.company-logo {
    width: 96px;
    height: 36px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
    border-radius: 4px;
}

/* Features Section */
.features-main {
    position: relative;
    z-index: 10;
    background: #ffffff;
    padding: 40px 48px;
}

.features-wrapper {
    max-width: 1344px;
    margin: 0 auto;
}

.feature-info {
    background: #f5f9ff;
    border: 1px solid #e6effe;
    border-radius: 40px;
    padding: 80px 72px;
    text-align: center;
    overflow: hidden;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 10px 6px 8px;
    border-radius: 24px;
    box-shadow: 0px 2px 4px rgba(12, 17, 24, 0.08), 0px 0px 0px 1px rgba(12, 17, 24, 0.1);
    font-size: 14px;
    font-weight: 500;
    color: #242a33;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 35px;
    line-height: 58px;
    font-weight: 700;
    color: #022965;
    letter-spacing: -0.5px;
    margin: 10px 0;
}

.section-description {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #6e6e6e;
    margin: 16px auto;
    max-width: 1200px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-box {
    background: #f5f9ff;
    border: 1px solid #e6effe;
    border-radius: 16px;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 16px rgba(4, 97, 240, 0.1);
}

.feature-box svg {
    flex-shrink: 0;
}

.feature-box h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: #022965;
    letter-spacing: -0.25px;
    text-align: left;
    margin: 0;
}

/* Platform Access */
.platform-section {
    margin-top: 40px;
    padding: 50px 72px;
    border: 1px solid #e6effe;
    border-radius: 40px;
    position: relative;
    min-height: 450px;
    overflow: hidden;
}

.platform-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 48px;
    line-height: 58px;
    font-weight: 700;
    color: #022965;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 80px;
}

.access-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.access-card {
    width: 600px;
    height: 201px;
    border-radius: 20px;
    border: 1px solid rgba(128, 128, 128, 0.17);
    padding: 38px;
    text-align: center;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Capa oscura que aparece suavemente al hover */
.access-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #020d2e;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.access-card:hover::after {
    opacity: 1;
}

/* Glow de luz azul que sigue al cursor */
.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(100, 170, 255, 0.45) 0%,
            rgba(4, 97, 240, 0.15) 50%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.access-card:hover::before {
    opacity: 1;
}

.access-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(2, 10, 50, 0.65);
}

.access-card.graduate {
    background: linear-gradient(104.339deg, rgb(8, 35, 110) 10.23%, rgb(51, 103, 194) 97.432%);
}

.access-card.employer {
    background: linear-gradient(76.3246deg, rgb(25, 81, 180) 3.5725%, rgb(2, 20, 70) 91.988%);
}

.access-card h3,
.access-card .access-btns,
.access-card p {
    position: relative;
    z-index: 3;
}

.access-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 20px;
}

.access-btns {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.access-btns button,
.access-btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 251, 251, 0.11);
    border: none;
    border-radius: 24px;
    padding: 2px 0;
    width: 80px;
    height: 20px;
    color: #f9fafc;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.access-btns button:hover,
.access-btns a:hover {
    background: rgba(251, 251, 251, 0.25);
}

.access-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 22px;
    max-width: 435px;
}

/* Tutorials Section */
.tutorials-section {
    position: relative;
    z-index: 10;
    background: #ffffff;
    padding: 80px 48px;
}

.tutorials-container {
    max-width: 1344px;
    margin: 0 auto;
    text-align: center;
}

.badge-center {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 10px 6px 8px;
    border-radius: 24px;
    box-shadow: 0px 2px 4px rgba(12, 17, 24, 0.08), 0px 0px 0px 1px rgba(12, 17, 24, 0.1);
    font-size: 14px;
    font-weight: 500;
    color: #808080;
    margin-bottom: 12px;
}

.tutorials-title {
    font-family: 'Raleway', sans-serif;
    font-size: 46px;
    line-height: 64px;
    font-weight: 800;
    color: #022965;
    margin-bottom: 40px;
}

.tutorials-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.tutorial-card {
    width: 500px;
    max-width: 100%;
    text-align: left;
    cursor: pointer;
    transition: transform 0.3s;
}

.tutorial-card:hover {
    transform: translateY(-5px);
}

.tutorial-image {
    width: 100%;
    height: 263px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.tutorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutorial-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tutorial-time {
    color: #0461f0;
    font-size: 14px;
    font-weight: 400;
}

.tutorial-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: #0c1118;
}

.tutorial-card p {
    font-size: 14px;
    line-height: 24px;
    color: #66707f;
}

/* Footer */
.footer {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-content {
    border-top: 1px solid #eceff3;
    padding: 24px;
    text-align: center;
}

.footer-content p {
    font-size: 14px;
    font-weight: 500;
    color: #454d59;
}

.footer-bar {
    height: 6px;
    background: #0461f0;
    width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Large desktop (≤1400px) --- */
@media (max-width: 1400px) {
    .nav-container {
        padding: 0 48px;
    }

    .image-card {
        width: 550px;
        height: 256px;
    }

    .image-card.prev {
        transform: scale(0.85) translateX(-320px);
    }

    .image-card.next {
        transform: scale(0.85) translateX(320px);
    }

    .access-card {
        width: 480px;
    }
}

/* --- Tablet landscape (≤1200px) --- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 60px;
        line-height: 66px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .access-card {
        width: 420px;
        height: auto;
        padding: 32px 24px;
    }

    .access-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tutorials-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tutorial-card {
        width: 440px;
    }

    .feature-info {
        padding: 60px 40px;
    }

    .platform-section {
        padding: 40px 40px;
    }

    .image-card {
        width: 480px;
        height: 224px;
    }

    .image-card.prev {
        transform: scale(0.85) translateX(-260px);
    }

    .image-card.next {
        transform: scale(0.85) translateX(260px);
    }
}

/* --- Tablet portrait (≤900px) --- */
@media (max-width: 900px) {
    .nav-container {
        padding: 0 32px;
    }

    .nav-menu {
        gap: 20px;
        display: none;
    }

    .hero-title {
        font-size: 48px;
        line-height: 54px;
    }

    .hero-section {
        padding: 0 24px 32px;
    }

    .hero-container {
        padding: 56px 32px 0;
        border-radius: 28px;
    }

    .hero-images {
        height: 260px;
        margin-top: 40px;
    }

    .image-card {
        width: 380px;
        height: 200px;
    }

    .image-card.prev {
        transform: scale(0.82) translateX(-200px);
    }

    .image-card.next {
        transform: scale(0.82) translateX(200px);
    }

    .features-main,
    .tutorials-section {
        padding: 40px 24px;
    }

    .section-title {
        font-size: 30px;
        line-height: 40px;
    }

    .platform-title {
        font-size: 36px;
        line-height: 46px;
        margin-bottom: 48px;
    }

    .access-card {
        width: 100%;
        max-width: 500px;
        height: auto;
        padding: 28px 24px;
    }

    .access-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .tutorial-card {
        width: 100%;
        max-width: 500px;
    }

    .tutorials-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .companies-section {
        padding: 20px 24px;
    }

    .companies-logos {
        gap: 24px;
        flex-wrap: wrap;
    }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {

    /* Nav */
    .nav {
        padding: 16px 0;
    }

    /* .nav-container {
        flex-direction: column;
        gap: 16px;
        padding: 0 20px;
    } */

    /* .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    } */

    .nav-actions {
        gap: 8px;
    }

    .btn-registro {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Hero */
    .hero-section {
        padding: 0 16px 24px;
    }

    .hero-container {
        padding: 40px 20px 0;
        border-radius: 20px;
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
        line-height: 42px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn-account,
    .btn-providers {
        width: 100%;
        max-width: 280px;
    }

    .hero-images {
        height: 200px;
        margin-top: 32px;
    }

    .image-card {
        width: 82%;
        height: 160px;
    }

    .image-card.prev {
        opacity: 0.25;
        transform: scale(0.78) translateX(-150px);
    }

    .image-card.next {
        opacity: 0.25;
        transform: scale(0.78) translateX(150px);
    }

    .image-card.hidden-left {
        transform: scale(0.6) translateX(-300px);
    }

    .image-card.hidden-right {
        transform: scale(0.6) translateX(300px);
    }

    /* Features */
    .features-main {
        padding: 32px 16px;
    }

    .feature-info {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .section-title {
        font-size: 26px;
        line-height: 34px;
    }

    .section-description {
        font-size: 14px;
        line-height: 22px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    .feature-box {
        padding: 14px 20px;
    }

    /* Platform / Access */
    .platform-section {
        padding: 32px 20px;
        border-radius: 24px;
        min-height: auto;
    }

    .platform-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 32px;
    }

    .access-card {
        width: 100%;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .access-card h3 {
        font-size: 20px;
    }

    .access-card p {
        font-size: 13px;
    }

    /* Tutorials */
    .tutorials-section {
        padding: 40px 16px;
    }

    .tutorials-title {
        font-size: 28px;
        line-height: 36px;
    }

    .tutorial-card {
        width: 100%;
        max-width: 420px;
    }

    .tutorial-image {
        height: 200px;
    }

    /* Companies */
    .companies-section {
        padding: 20px 16px;
    }

    .companies-logos {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .company-logo {
        width: 72px;
        height: 28px;
    }

    .companies-text {
        font-size: 13px;
    }
}

/* --- Small mobile (≤480px) --- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 34px;
    }

    .section-title {
        font-size: 22px;
        line-height: 30px;
    }

    .platform-title {
        font-size: 24px;
        line-height: 32px;
    }

    .tutorials-title {
        font-size: 24px;
        line-height: 32px;
    }

    .image-card {
        width: 90%;
        height: 140px;
    }

    .image-card.prev,
    .image-card.next {
        opacity: 0;
    }

    .nav-menu {
        display: none;
    }

    .feature-box h3 {
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .nav-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
    }
}