:root {
    --primary: #2f21f7;
    --secondary: #575674;
    --text: #1d1d2a;
    --surface: #ffffff;
    --surface-soft: #f5f7ff;
    --border: #dbe1ff;
    --shadow: 0 10px 30px rgba(20, 20, 40, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 5% 10%, rgba(47, 33, 247, 0.1), transparent 35%),
        radial-gradient(circle at 95% 90%, rgba(87, 86, 116, 0.12), transparent 30%),
        #f4f6ff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section {
    padding: 5.5rem 0;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 1rem;
}

p {
    color: var(--secondary);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(47, 33, 247, 0.08);
}

.nav-wrapper {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: var(--shadow);
    background: var(--surface);
    padding: 0.25rem;
}

.brand-text {
    font-weight: 700;
    color: var(--text);
    font-size: 1rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.main-nav a {
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.82rem 1.3rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary,
.btn-whatsapp {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(47, 33, 247, 0.28);
}

.hero-grid,
.institutional-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2rem;
    align-items: center;
}

.hero-grid > *,
.institutional-grid > *,
.location-grid > * {
    min-width: 0;
}

.hero-content {
    background: var(--surface);
    padding: clamp(1.6rem, 3.5vw, 2.6rem);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-text {
    max-width: 62ch;
    margin-bottom: 1.6rem;
}

.illustration-box {
    min-height: 300px;
    border-radius: 24px;
    border: 2px dashed rgba(47, 33, 247, 0.4);
    background: linear-gradient(140deg, rgba(47, 33, 247, 0.08), rgba(87, 86, 116, 0.08));
    color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    font-weight: 500;
}

.hero-illustration {
    overflow: hidden;
    min-height: 320px;
}

.hero-illustration-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.institutional-logo-card {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 1.8rem;
    text-align: center;
}

.institutional-logo {
    width: min(260px, 100%);
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.institutional-content {
    background: var(--surface);
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.cards-grid {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.card,
.trust-item,
.step,
.contact-box {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.card {
    padding: 1.4rem;
    border: 1px solid var(--border);
}

.card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.08rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.trust-item {
    padding: 1.35rem;
    border-left: 5px solid var(--primary);
}

.steps-grid {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.step {
    padding: 1.25rem;
    border: 1px solid var(--border);
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(47, 33, 247, 0.12);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.process-illustration {
    margin-top: 1.4rem;
    min-height: 220px;
    overflow: hidden;
}

.process-illustration-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.faq-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.3rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease, background 0.2s ease;
}

.faq-question:hover {
    background: rgba(47, 33, 247, 0.04);
    color: var(--primary);
}

.faq-question span:first-child {
    text-align: left;
    flex: 1;
}

.faq-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    background: rgba(47, 33, 247, 0.12);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.3rem;
}

.faq-answer p {
    margin: 0;
    color: var(--secondary);
}

.section-intro {
    max-width: 76ch;
    margin-bottom: 1.4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.testimonial-card {
    background: var(--surface);
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 1.2rem;
}

.testimonial-text {
    color: var(--text);
    font-weight: 500;
}

.testimonial-author {
    margin-bottom: 0;
    font-size: 0.94rem;
    color: var(--secondary);
    font-weight: 600;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.2rem;
    align-items: start;
}

.location-card,
.form-card {
    background: var(--surface);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: clamp(1.3rem, 3vw, 2rem);
}

.address-text {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.2rem;
}

.route-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.route-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    background: var(--surface-soft);
}

.route-card h3 {
    margin-bottom: 0.45rem;
}

.route-card p {
    margin-bottom: 0.9rem;
}

.route-btn {
    background: #ffffff;
    color: var(--primary);
    border: 1px solid rgba(47, 33, 247, 0.28);
    box-shadow: none;
}

.route-btn:hover,
.route-btn:focus-visible {
    background: rgba(47, 33, 247, 0.08);
}

.contact-data {
    margin-bottom: 1rem;
}

.contact-data strong {
    color: var(--text);
}

.contact-data a {
    color: var(--primary);
    font-weight: 600;
}

.contact-form {
    display: grid;
    gap: 0.55rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--text);
    margin-top: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
    font: inherit;
    color: var(--text);
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(47, 33, 247, 0.25);
    border-color: rgba(47, 33, 247, 0.4);
}

.contact-form textarea {
    resize: vertical;
}

.form-message {
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.9rem;
    font-weight: 500;
}

.form-message-success {
    background: rgba(31, 128, 76, 0.12);
    color: #196a43;
}

.form-message-error {
    background: rgba(210, 52, 52, 0.11);
    color: #8b2323;
}

.contact-box {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.site-footer {
    background: linear-gradient(165deg, #14162a 0%, #1b1e38 100%);
    color: #f8f9ff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
    padding: 2.4rem 0 1.8rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.footer-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 0.2rem;
}

.footer-brand-block p,
.footer-contact-block p {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 0.9rem;
}

.footer-links-block h3,
.footer-contact-block h3 {
    margin-bottom: 0.85rem;
    color: #ffffff;
    font-size: 1.06rem;
}

.footer-links-block {
    display: grid;
    gap: 0.45rem;
}

.footer-links-block a,
.footer-contact-block a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.footer-links-block a:hover,
.footer-contact-block a:hover,
.footer-links-block a:focus-visible,
.footer-contact-block a:focus-visible {
    color: #ffffff;
}

.footer-contact-block strong {
    color: #ffffff;
}

.footer-top-link {
    font-weight: 600;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1rem 0 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-legal p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.site-footer .btn-whatsapp {
    margin-top: 0.4rem;
}

.site-footer a {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .institutional-grid,
    .testimonials-grid,
    .location-grid,
    .footer-main,
    .route-options,
    .steps-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }

    .hero-illustration {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.25rem 0;
    }

    .nav-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.9rem 0;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    .brand-text {
        text-align: center;
    }

    .hero-grid,
    .institutional-grid,
    .testimonials-grid,
    .location-grid,
    .route-options,
    .cards-grid,
    .steps-grid,
    .trust-grid,
    .contact-box,
    .footer-main,
    .footer-legal {
        grid-template-columns: 1fr;
    }

    .contact-box,
    .footer-main,
    .footer-legal {
        display: grid;
    }

    .btn,
    .btn-primary,
    .btn-whatsapp {
        width: 100%;
    }

    .hero-content,
    .institutional-content,
    .institutional-logo-card {
        padding: 1.35rem;
    }

    .illustration-box {
        min-height: 240px;
    }

    .hero-illustration-image {
        max-height: 260px;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .footer-main {
        padding: 2rem 0 1.2rem;
    }

    .footer-legal {
        padding: 0.9rem 0 1.1rem;
    }
}
