:root {
    --blue: #0d6efd;
    --blue-dark: #084298;
    --blue-soft: #eaf3ff;
    --grey: #f5f7fb;
    --grey-2: #eef1f5;
    --dark: #1f2937;
    --text: #374151;
    --muted: #6b7280;
    --white: #ffffff;
    --danger: #dc2626;
    --success: #166534;
    --shadow: 0 12px 30px rgba(15,23,42,0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--text);
}

.topbar {
    height: 78px;
    padding: 0 6%;
    background: rgba(255,255,255,0.96);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 18px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    height: 46px;
    width: auto;
}

.brand strong {
    display: block;
    color: var(--dark);
    font-size: 18px;
}

.brand span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
}

nav a:hover {
    color: var(--blue);
}

/* =========================================================
   HERO WITH PHOTO + DARK TRIANGLE
========================================================= */

.hero {
    min-height: 720px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 7% 7%;
    color: white;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,0.84),
            rgba(15,23,42,0.76)
        );
    clip-path: polygon(
        0 0,
        39% 0,
        54% 100%,
        0% 100%
    );
    z-index: 1;
}

.hero-soft-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(15,23,42,0.16),
            rgba(255,255,255,0.02)
        );
    z-index: 0;
}

.hero-content {
    position: relative;
    max-width: 760px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 78px;
    line-height: 1.04;
    margin: 0 0 28px;
    letter-spacing: -2px;
    font-weight: 900;
}

.hero p {
    font-size: 25px;
    line-height: 1.65;
    max-width: 730px;
    color: rgba(255,255,255,0.94);
    margin: 0 0 40px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    margin-right: 0;
    transition: 0.25s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 12px 26px rgba(13,110,253,0.35);
}

.btn-light {
    background: white;
    color: var(--blue);
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-full {
    display: block;
    width: 100%;
    margin-top: 10px;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

main {
    width: 88%;
    max-width: 1180px;
    margin: auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.intro-card {
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
    border: 1px solid #edf0f4;
}

.intro-card span {
    font-size: 30px;
}

.intro-card h3 {
    margin: 14px 0 10px;
    color: var(--dark);
}

.intro-card p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.section {
    padding: 78px 0;
    border-bottom: 1px solid #e5e7eb;
}

.section-label {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}

.section h2,
.route-box h2,
.contact-section h2 {
    color: var(--dark);
    font-size: 36px;
    margin: 0 0 18px;
}

.section p,
.contact-section p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 920px;
}

.route-box {
    margin: 70px 0;
    padding: 38px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--blue-soft), var(--grey));
    border: 1px solid #dbeafe;
}

.route-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.route-line span {
    background: white;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 700;
    color: var(--dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* =========================================================
   PROGRAM
========================================================= */

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.program-card {
    background: white;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #edf0f4;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.program-date {
    display: inline-block;
    padding: 6px 12px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.program-card h3 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 21px;
}

.program-location {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.program-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.gallery-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
    border: 1px solid #edf0f4;
}

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

.gallery-caption {
    padding: 14px 16px;
    font-weight: 800;
    color: var(--dark);
}

/* =========================================================
   DOCUMENTS
========================================================= */

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 22px;
    margin-top: 28px;
}

.document-card {
    background: white;
    border-radius: 18px;
    padding: 24px;
    text-decoration: none;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.document-card:hover {
    transform: translateY(-3px);
}

.doc-icon {
    font-size: 38px;
    margin-bottom: 14px;
}

.doc-title {
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.5;
}

.doc-category {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: bold;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    margin: 70px 0;
    padding: 42px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8fafc, #eaf3ff);
    border: 1px solid #dbeafe;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 35px;
    align-items: start;
}

.contact-text {
    padding-right: 20px;
}

.contact-details {
    margin-top: 18px;
    background: white;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.contact-details p {
    margin: 6px 0;
    font-size: 16px;
}

.contact-form {
    min-width: 340px;
    background: white;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 11px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    border: 0;
    cursor: pointer;
    margin-right: 0;
}

.form-success {
    background: #dcfce7;
    color: #166534;
    padding: 10px;
    border-radius: 9px;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 14px;
}

.form-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 9px;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 14px;
}

/* =========================================================
   FLOATING WHATSAPP + FOOTER
========================================================= */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: #25d366;
    color: white;
    padding: 14px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(0,0,0,0.22);
    z-index: 80;
}

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 28px;
    font-size: 14px;
    line-height: 1.7;
}

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

@media(max-width: 1200px) {
    .hero h1 {
        font-size: 62px;
    }

    .hero p {
        font-size: 22px;
    }

    .hero-overlay {
        clip-path: polygon(0 0, 48% 0, 64% 100%, 0% 100%);
    }
}

@media(max-width: 900px) {
    .topbar {
        height: auto;
        padding: 14px 5%;
        flex-direction: column;
        gap: 12px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .hero {
        min-height: 640px;
        padding: 110px 6%;
    }

    .hero-overlay {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        background: rgba(15,23,42,0.72);
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero p {
        font-size: 18px;
    }

    main {
        width: 92%;
    }

    .intro-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        min-width: 100%;
    }
}

@media(max-width: 600px) {
    .hero h1 {
        font-size: 38px;
    }

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

    .btn {
        width: 100%;
    }

    .hero-actions {
        gap: 12px;
    }
}