* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: #ffffff;
    color: #171717;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


a {
    color: inherit;
}


.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}



/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    border-bottom: 1px solid #e5e5e1;
    background: rgba(255, 255, 255, .96);
}


.header-content {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    color: #171717;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-decoration: none;
}


.back-link {
    color: #666666;
    font-size: 13px;
    text-decoration: none;
}


.back-link:hover {
    color: #171717;
}



/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 95px 0 75px;
}


.eyebrow {
    margin: 0 0 15px;
    color: #737373;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}


.hero h1 {
    max-width: 800px;
    margin: 0 0 22px;
    font-size: clamp(42px, 7vw, 74px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -3px;
}


.hero-text {
    max-width: 680px;
    margin: 0;
    color: #555555;
    font-size: 18px;
    line-height: 1.65;
}


.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e5;
}


.hero-meta span {
    color: #555555;
    font-size: 13px;
}



/* =========================================================
   SECCIONES
   ========================================================= */

.process,
.courses,
.notice-section {
    padding: 75px 0;
}


.process {
    background: #f6f6f3;
}


.section-heading {
    margin-bottom: 42px;
}


.section-heading h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -1.5px;
}



/* =========================================================
   PROCESO
   ========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #d9d9d4;
}


.process-item {
    min-height: 210px;
    padding: 25px 24px 20px 0;
    border-right: 1px solid #d9d9d4;
}


.process-item:not(:first-child) {
    padding-left: 24px;
}


.process-item:last-child {
    border-right: none;
}


.number {
    display: block;
    margin-bottom: 45px;
    color: #858585;
    font-size: 12px;
}


.process-item strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}


.process-item p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.6;
}



/* =========================================================
   CURSOS
   ========================================================= */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


.course-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #deded9;
    background: #ffffff;
}


.course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}


.course-code,
.duration {
    color: #777777;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .8px;
}


.course-card h3 {
    max-width: 470px;
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.7px;
}


.description {
    max-width: 520px;
    margin: 0;
    color: #626262;
    font-size: 14px;
    line-height: 1.65;
}


.course-info {
    display: flex;
    gap: 22px;
    margin-top: 26px;
    color: #777777;
    font-size: 12px;
}


.course-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 35px;
}


.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border: 1px solid #171717;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}


.button.primary {
    background: #171717;
    color: #ffffff;
}


.button.primary:hover {
    background: #333333;
}


.button.secondary {
    background: #ffffff;
    color: #171717;
}


.button.secondary:hover {
    background: #f4f4f1;
}



/* =========================================================
   AVISO
   ========================================================= */

.notice-section {
    padding-top: 20px;
}


.notice {
    max-width: 820px;
    padding: 25px 0;
    border-top: 1px solid #deded9;
    border-bottom: 1px solid #deded9;
}


.notice strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}


.notice p {
    max-width: 720px;
    margin: 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.7;
}



/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 70px;
    border-top: 1px solid #e5e5e1;
}


.footer-content {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777777;
    font-size: 12px;
}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .process-item:nth-child(2) {
        border-right: none;
    }


    .process-item:nth-child(3),
    .process-item:nth-child(4) {
        border-top: 1px solid #d9d9d4;
    }


    .courses-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .hero {
        padding: 65px 0 55px;
    }


    .hero h1 {
        letter-spacing: -2px;
    }


    .process,
    .courses {
        padding: 55px 0;
    }


    .process-grid {
        grid-template-columns: 1fr;
    }


    .process-item {
        min-height: 0;
        padding: 24px 0 !important;
        border-right: none;
        border-bottom: 1px solid #d9d9d4;
    }


    .process-item:nth-child(3),
    .process-item:nth-child(4) {
        border-top: none;
    }


    .number {
        margin-bottom: 25px;
    }


    .course-card {
        min-height: 0;
        padding: 24px;
    }


    .course-top {
        margin-bottom: 32px;
    }


    .course-actions {
        flex-direction: column;
    }


    .footer-content {
        padding: 25px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

}