:root {
    --green-900: #183d2b;
    --green-700: #276749;
    --green-500: #3f9b63;
    --green-100: #edf8ef;
    --orange: #f49b35;
    --yellow: #f4d35e;
    --blue: #2f80ed;
    --cream: #fffaf0;
    --white: #ffffff;
    --text: #1e2a24;
    --muted: #65746c;
    --border: rgba(24, 61, 43, 0.14);
    --shadow: 0 24px 60px rgba(24, 61, 43, 0.12);
    --radius: 24px;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(244, 211, 94, 0.25), transparent 28rem),
        radial-gradient(circle at top right, rgba(47, 128, 237, 0.12), transparent 24rem),
        var(--cream);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.site-header {
    min-height: 100vh;
    padding: 24px;
}

.navbar {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(16px);
    position: sticky;
    top: 18px;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(24, 61, 43, 0.08);
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--green-900);
    font-size: 1.5rem;
}

.logo-mark {
    color: var(--green-500);
}

.logo small {
    margin-left: 8px;
    font-size: 0.72rem;
    letter-spacing: 0;
    font-weight: 700;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--green-900);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    background: var(--green-100);
    color: var(--green-700);
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--green-100);
    cursor: pointer;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--green-900);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    width: min(100%, var(--max-width));
    margin: 92px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 40px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    color: var(--green-700);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 14px;
}

.hero h1,
.section-heading h2,
.contact-layout h2 {
    color: var(--green-900);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6.7rem);
    max-width: 900px;
}

.hero-text {
    max-width: 700px;
    margin-top: 24px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--muted);
}

.latin-slogan {
    margin-top: 24px;
    padding: 18px 20px;
    border-left: 5px solid var(--orange);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    max-width: 560px;
}

.latin-slogan span {
    display: block;
    font-weight: 900;
    color: var(--green-900);
}

.latin-slogan small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    background: var(--green-700);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(39, 103, 73, 0.22);
}

.btn-primary:hover {
    background: var(--green-900);
}

.btn-secondary {
    background: var(--white);
    color: var(--green-900);
    border-color: var(--border);
}

.hero-card {
    background:
        linear-gradient(145deg, rgba(39, 103, 73, 0.96), rgba(24, 61, 43, 0.96)),
        var(--green-900);
    color: var(--white);
    border-radius: 36px;
    padding: 34px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: -60px;
    top: -60px;
    background: rgba(244, 211, 94, 0.28);
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    left: -50px;
    bottom: 40px;
    background: rgba(244, 155, 53, 0.24);
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-card h2 {
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 14px;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 22px;
}

.hero-card li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 700;
}

.section {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
    padding: 94px 0;
}

.section-soft {
    width: 100%;
    max-width: none;
    padding: 94px max(24px, calc((100% - var(--max-width)) / 2));
    background: rgba(237, 248, 239, 0.78);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.contact-layout h2 {
    font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-heading p,
.contact-layout > div > p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.05rem;
}

.team-grid,
.services-grid,
.pricing-grid {
    display: grid;
    gap: 20px;
}

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

.team-card,
.service-card,
.price-card,
.contact-form {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(24, 61, 43, 0.08);
}

.team-card {
    padding: 28px;
}

.avatar {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--green-500), var(--yellow));
    color: var(--green-900);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 18px;
}

.team-card h3,
.service-card h3,
.price-card h3 {
    color: var(--green-900);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.team-card p,
.service-card p,
.price-card p,
.price-card li {
    color: var(--muted);
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    padding: 26px;
}

.service-card span {
    display: inline-flex;
    font-size: 2rem;
    margin-bottom: 14px;
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.price-card {
    padding: 28px;
    position: relative;
}

.price-card.featured {
    background: linear-gradient(180deg, var(--green-900), var(--green-700));
    color: var(--white);
    transform: translateY(-12px);
}

.price-card.featured h3,
.price-card.featured .price {
    color: var(--white);
}

.price-card.featured p,
.price-card.featured li {
    color: rgba(255, 255, 255, 0.78);
}

.badge {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 11px;
    background: var(--yellow);
    color: var(--green-900);
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.78rem;
}

.price {
    color: var(--green-700);
    font-size: 2rem;
    font-weight: 900;
    margin: 10px 0 12px;
}

.price-card ul {
    margin-top: 20px;
}

.price-card li {
    padding: 10px 0;
    border-top: 1px solid var(--border);
}

.price-card.featured li {
    border-top-color: rgba(255, 255, 255, 0.14);
}

.contact-section {
    padding-bottom: 110px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 36px;
    align-items: start;
}

.contact-info {
    margin-top: 28px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--green-100);
    border: 1px solid var(--border);
}

.contact-info p + p {
    margin-top: 8px;
}

.contact-form {
    padding: 28px;
}

.form-row {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: 900;
    color: var(--green-900);
    margin-bottom: 8px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 15px;
    font: inherit;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(63, 155, 99, 0.14);
}

.form-submit {
    width: 100%;
    border: 0;
}

.form-feedback {
    min-height: 24px;
    margin-top: 14px;
    font-weight: 800;
    color: var(--green-700);
}

.form-feedback.error {
    color: #b42318;
}

.site-footer {
    padding: 30px 24px;
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer a {
    color: var(--yellow);
    font-weight: 900;
}

@media (max-width: 920px) {
    .site-header {
        padding: 16px;
    }

    .navbar {
        border-radius: 28px;
    }

    .burger {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        justify-content: center;
    }

    .hero,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        margin-top: 58px;
    }

    .hero-card {
        min-height: 320px;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .price-card.featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .site-header {
        min-height: auto;
        padding-bottom: 60px;
    }

    .logo small {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section,
    .section-soft {
        width: min(calc(100% - 32px), var(--max-width));
        padding: 68px 0;
    }

    .section-soft {
        max-width: none;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .team-grid,
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .team-card,
    .service-card,
    .price-card,
    .contact-form {
        border-radius: 20px;
    }

    .contact-section {
        padding-bottom: 70px;
    }
}
