:root {
    --green-950: #0f2414;
    --green-900: #143d1a;
    --green-800: #1b5e20;
    --green-700: #2e7d32;
    --green-100: #e4f0e6;
    --green-50: #f4f8f4;
    --ink: #1c2420;
    --ink-soft: #4a554e;
    --line: #d7dfd8;
    --surface: #ffffff;
    --surface-alt: #f2f4f2;
    --whatsapp: #128c7e;
    --radius: 10px;
    --header-h: 56px;
    --shadow: 0 6px 18px rgba(20, 40, 24, 0.05);
    --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --content-max: 1120px;
    --page-gutter: 1.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

img,
video,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--green-800);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--green-700);
}

:focus-visible {
    outline: 2px solid var(--green-700);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 2000;
    padding: 0.6rem 0.9rem;
    background: var(--green-800);
    color: #fff;
}

.skip-link:focus {
    top: 0.75rem;
    color: #fff;
}

.container,
.header-inner {
    width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
    margin-inline: auto;
}

.container.narrow {
    width: min(760px, calc(100% - (var(--page-gutter) * 2)));
}

.eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-700);
}

h1, h2, h3, h4 {
    font-family: var(--font);
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--ink);
}

h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.75rem); margin: 0 0 0.9rem; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.85rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
h4 { font-size: 1rem; margin: 0 0 0.35rem; }

p { margin: 0 0 1rem; }

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--surface-alt);
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.section-intro {
    color: var(--ink-soft);
    margin-bottom: 0;
}

.section-cta {
    margin-top: 2.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1.15rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--green-800);
    color: #fff;
}

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

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

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
}

.btn-whatsapp:hover {
    background: #0e7367;
    color: #fff;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(16, 28, 20, 0.72) 0%, rgba(16, 28, 20, 0.18) 100%);
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-solid,
.site-header.is-open {
    background: rgba(247, 249, 247, 0.97);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 0 rgba(20, 40, 24, 0.04);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #f4f7f4;
    flex-shrink: 0;
}

.brand:hover { color: inherit; }

.site-header.is-solid .brand,
.site-header.is-open .brand {
    color: var(--ink);
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-weight: 600;
    font-size: 1rem;
}

.brand-tag {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 247, 244, 0.7);
}

.site-header.is-solid .brand-tag,
.site-header.is-open .brand-tag {
    color: var(--ink-soft);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.15rem 1.05rem;
    margin-left: auto;
}

.nav-desktop a {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(244, 247, 244, 0.88);
    text-decoration: none;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
    color: #fff;
}

.site-header.is-solid .nav-desktop a,
.site-header.is-open .nav-desktop a {
    color: var(--ink);
}

.site-header.is-solid .nav-desktop a:hover,
.site-header.is-solid .nav-desktop a.is-active,
.site-header.is-open .nav-desktop a:hover,
.site-header.is-open .nav-desktop a.is-active {
    color: var(--green-800);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-left: auto;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.lang-btn {
    border: 0;
    background: transparent;
    color: rgba(244, 247, 244, 0.5);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.28rem;
    cursor: pointer;
}

.lang-btn.is-active {
    color: #fff;
    box-shadow: inset 0 -1.5px 0 currentColor;
}

.lang-btn.is-pending {
    cursor: default;
}

.site-header.is-solid .lang-btn,
.site-header.is-open .lang-btn {
    color: #8a948d;
}

.site-header.is-solid .lang-btn.is-active,
.site-header.is-open .lang-btn.is-active {
    color: var(--green-800);
}

.menu-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.site-header.is-solid .menu-toggle,
.site-header.is-open .menu-toggle {
    border-color: var(--line);
    background: #fff;
}

.menu-toggle span {
    width: 16px;
    height: 1.5px;
    background: #f4f7f4;
}

.site-header.is-solid .menu-toggle span,
.site-header.is-open .menu-toggle span {
    background: var(--ink);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle span {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 1rem 0.75rem;
    border-top: 1px solid var(--line);
    background: #f7f9f7;
}

.nav-mobile[hidden] { display: none; }

.nav-mobile a {
    padding: 0.75rem 0.2rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--green-50);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 37.5rem;
    height: clamp(37.5rem, 78vh, 42.5rem);
    color: #fff;
    background-color: #0f2418;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: url("hero-team.png.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
}

.hero-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(10, 28, 18, 0.38) 0%,
        rgba(10, 28, 18, 0.16) 34%,
        rgba(10, 28, 18, 0.04) 52%,
        transparent 66%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: calc(var(--header-h) + 1.6rem) 0 2.25rem;
}

.hero-copy {
    width: min(39rem, 100%);
}

.hero-content .eyebrow {
    color: #c5d8c8;
    margin-bottom: 0.8rem;
}

.hero-content h1 {
    color: #fff;
    max-width: 11.5em;
    margin: 0 0 0.9rem;
    font-size: clamp(1.7rem, 1.15rem + 2vw, 3.75rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-lead {
    max-width: 30rem;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(244, 247, 244, 0.86);
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.3rem 0 1.25rem;
}

.btn-hero-primary {
    background: #fff;
    color: var(--green-900);
    min-height: 46px;
    padding: 0.7rem 1.2rem;
}

.btn-hero-primary:hover {
    background: #eef3ee;
    color: var(--green-950);
}

.btn-hero-primary:focus-visible {
    outline-color: #fff;
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    min-height: 46px;
    padding: 0.7rem 1.2rem;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.trust-row li {
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: rgba(244, 247, 244, 0.68);
}

.solution-group + .solution-group { margin-top: 2.6rem; }

.solution-group h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid var(--green-100);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--green-800);
    border-radius: var(--radius);
    padding: 1.2rem 1.15rem 1.15rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    border-color: #b7c9ba;
}

.service-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.icon-wrap {
    width: 38px;
    height: 38px;
    margin-bottom: 0.75rem;
    color: var(--green-800);
}

.icon-wrap svg {
    width: 28px;
    height: 28px;
}

.process-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.process-list li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 1.15rem 1.05rem;
}

.step-num {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--green-700);
}

.process-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.benefit-pills {
    margin-top: 2rem;
    padding: 1.2rem 1.25rem;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius);
}

.benefit-pills > p {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-800);
}

.benefit-pills ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ink-soft);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.split-card,
.mv-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.4rem;
    color: var(--ink-soft);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 0.55rem;
    height: 0.28rem;
    border-left: 2px solid var(--green-700);
    border-bottom: 2px solid var(--green-700);
    transform: rotate(-45deg);
}

.leader-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.leader-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem 1.15rem 1.25rem;
    text-align: center;
}

.leader-card img {
    width: 104px;
    height: 104px;
    margin: 0 auto 0.95rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    border: 1px solid var(--line);
}

.leader-body { padding: 0; }

.leader-card h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.leader-role {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--green-700);
}

.leader-body p:last-child {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.app-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem 1.2rem 1.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field-full { grid-column: 1 / -1; }

.form-field label {
    font-weight: 600;
    font-size: 0.95rem;
}

.optional {
    font-weight: 400;
    color: var(--ink-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--green-700);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 500;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    accent-color: var(--green-800);
    flex-shrink: 0;
}

.form-actions { margin-top: 1.2rem; }

.form-error {
    margin: 0.8rem 0 0;
    color: #8a1f1f;
}

.form-notice {
    margin-top: 1.2rem;
    padding: 1rem 1.05rem;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: 10px;
}

.form-notice p { margin-bottom: 0.85rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover { color: inherit; border-color: #b7c9ba; }

.contact-card p { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.legal-note {
    padding: 2.2rem 0;
    border-top: 1px solid var(--line);
    background: var(--surface-alt);
}

.legal-note h2 { font-size: 1.2rem; }

.legal-note p { margin: 0; color: var(--ink-soft); }

.site-footer {
    background: var(--green-950);
    color: #d7e3d9;
    padding: 3.2rem 0 0;
}

.site-footer a { color: #e8f2ea; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding-bottom: 2rem;
}

.brand-footer { margin-bottom: 0.8rem; }
.brand-footer .brand-name { color: #fff; }

.site-footer h3 {
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li { margin-bottom: 0.4rem; }

.est {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #a8bfad;
}

.footer-base {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1rem 5.5rem;
    text-align: center;
    font-size: 0.88rem;
    color: #9eb4a2;
}

.footer-base p { margin: 0; }

.whatsapp-float {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(18, 140, 126, 0.28);
}

.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { color: #fff; }

.reveal {
    opacity: 0;
    transform: translateY(14px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (min-width: 768px) {
    :root {
        --page-gutter: 2.75rem;
    }
}

@media (min-width: 640px) {
    .card-grid,
    .contact-grid,
    .form-grid,
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-field-full { grid-column: 1 / -1; }

    .process-list {
        grid-template-columns: 1fr 1fr;
    }

    .app-form { padding: 1.7rem 1.6rem; }
}

@media (min-width: 900px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .leader-grid { grid-template-columns: repeat(3, 1fr); }
    .leader-card img {
        width: 120px;
        height: 120px;
    }
    .process-list { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
    .footer-base { padding-bottom: 1.2rem; }
    .hero-media { background-position: 88% center; }
}

@media (min-width: 1100px) {
    .nav-desktop { display: flex; }
    .menu-toggle { display: none; }
    .header-tools { margin-left: 0; }
    .nav-mobile { display: none !important; }
    .process-list { grid-template-columns: repeat(5, 1fr); }
    .contact-grid { grid-template-columns: repeat(4, 1fr); }
    .leader-card img {
        width: 124px;
        height: 124px;
    }
}

@media (max-width: 899px) {
    .hero {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-media {
        position: relative;
        order: 2;
        height: 15.5rem;
        background-position: 82% 18%;
        background-size: cover;
    }

    .hero-shade {
        display: none;
    }

    .hero-content {
        order: 1;
        padding: calc(var(--header-h) + 1.45rem) 0 1.5rem;
    }

}

@media (max-width: 639px) {
    .section { padding: 3.25rem 0; }
    .hero-media { height: 13.75rem; background-position: 86% 16%; }
    .hero-content { padding: calc(var(--header-h) + 1.35rem) 0 1.35rem; }
    .trust-row { gap: 0.4rem 0.85rem; }
    .leader-card img {
        width: 96px;
        height: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
