@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
    --green-950: #082c22;
    --green-900: #0b3d2e;
    --green-800: #14543f;
    --green-700: #1f6b50;
    --green-500: #48a678;
    --green-300: #9ed7b9;
    --green-100: #e9f6ee;
    --cream: #f7f5ee;
    --sand: #e8dfcf;
    --ink: #17211d;
    --muted: #63706a;
    --white: #ffffff;
    --border: rgba(11, 61, 46, 0.14);
    --shadow: 0 26px 80px rgba(9, 48, 36, 0.14);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: #fbfcf9;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 8%, rgba(158, 215, 185, 0.24), transparent 22%),
        radial-gradient(circle at 95% 25%, rgba(232, 223, 207, 0.42), transparent 24%);
}

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 252, 249, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 10px 30px rgba(8, 44, 34, .06); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(11, 61, 46, .2);
}
.brand-mark svg { width: 33px; height: 33px; fill: none; stroke: #d9f2e4; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--green-950); font-size: 1.04rem; letter-spacing: -.02em; }
.brand-text small { color: var(--muted); margin-top: 4px; font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #35413c; font-size: .92rem; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover { color: var(--green-700); }
.main-nav .nav-cta { padding: 12px 18px; border-radius: 999px; color: var(--white); background: var(--green-900); }
.main-nav .nav-cta:hover { color: var(--white); background: var(--green-700); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--green-950); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

.hero { padding-top: 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-700);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--green-300); }
.hero h1, .section-heading h2, .process-copy h2, .about-copy h2, .contact-copy h2 {
    margin: 20px 0 22px;
    font-size: clamp(2.55rem, 5.2vw, 5rem);
    line-height: 1.04;
    letter-spacing: -.055em;
}
.hero h1 span { color: var(--green-700); }
.hero-lead { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    font-size: .94rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--green-700), var(--green-900)); box-shadow: 0 14px 28px rgba(20, 84, 63, .22); }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(20, 84, 63, .3); }
.btn-secondary { background: var(--white); color: var(--green-900); border-color: var(--border); }
.btn-full { width: 100%; border: 0; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: .87rem; color: var(--green-950); }
.hero-trust span { color: var(--muted); font-size: .76rem; margin-top: 4px; }

.hero-visual { min-height: 580px; display: grid; place-items: center; position: relative; isolation: isolate; }
.hero-visual::before {
    content: '';
    position: absolute;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(158, 215, 185, .66), rgba(232, 223, 207, .55));
    filter: blur(2px);
    z-index: -2;
}
.visual-orbit { position: absolute; border: 1px solid rgba(11, 61, 46, .14); border-radius: 50%; z-index: -1; }
.orbit-one { width: 540px; height: 540px; }
.orbit-two { width: 380px; height: 380px; }
.dashboard-card { background: rgba(255, 255, 255, .9); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.main-dashboard { width: min(430px, 88%); padding: 24px; border-radius: 26px; transform: rotate(-2deg); }
.dashboard-top { display: flex; align-items: center; gap: 7px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.green { background: #50b783; }.dot.amber { background: #e1b85b; }.dot.red { background: #d97168; }
.dashboard-label { margin-left: auto; color: var(--muted); font-size: .72rem; font-weight: 700; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.metric { padding: 16px; border-radius: 16px; background: var(--green-100); }
.metric:nth-child(2) { background: #f2eee4; }
.metric span { display: block; color: var(--muted); font-size: .72rem; }
.metric strong { display: block; color: var(--green-950); font-size: 1.5rem; margin-top: 4px; }
.chart { height: 150px; display: flex; align-items: flex-end; gap: 12px; padding: 20px 4px 8px; }
.chart span { flex: 1; border-radius: 9px 9px 3px 3px; background: linear-gradient(180deg, var(--green-500), var(--green-900)); min-height: 22px; }
.progress-list { margin-top: 8px; }
.progress-list > div:not(.progress) { display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; margin: 12px 0 7px; }
.progress-list b { color: var(--green-900); }
.progress { height: 7px; background: #edf0ec; border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--green-700); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 17px; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 18px 45px rgba(8,44,34,.15); }
.floating-card-one { left: 0; top: 24%; }
.floating-card-two { right: -10px; bottom: 19%; }
.mini-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-weight: 900; }
.floating-card div { display: flex; flex-direction: column; }
.floating-card strong { color: var(--green-950); font-size: .79rem; }
.floating-card small { color: var(--muted); font-size: .68rem; }

.solutions-strip { padding: 22px 0; border-block: 1px solid var(--border); background: rgba(255,255,255,.62); }
.strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.strip-grid span { color: var(--green-800); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.section-heading { max-width: 800px; margin-bottom: 52px; }
.section-heading h2, .process-copy h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2.15rem, 4vw, 3.55rem); }
.section-heading p, .process-copy p, .about-copy p, .contact-copy p { color: var(--muted); font-size: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 450px; padding: 34px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(255,255,255,.78); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(31,107,80,.3); }
.service-card.featured { background: linear-gradient(160deg, var(--green-950), var(--green-800)); color: var(--white); border-color: transparent; }
.service-card.featured p, .service-card.featured li { color: #cce4d6; }
.service-card.featured .service-number { color: rgba(255,255,255,.12); }
.service-card.featured .service-icon { background: rgba(255,255,255,.1); }
.service-card.featured .service-icon svg { stroke: #ccefdc; }
.service-icon { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; background: var(--green-100); }
.service-icon svg { width: 31px; height: 31px; fill: none; stroke: var(--green-800); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-number { position: absolute; top: 22px; right: 25px; font-size: 3.4rem; line-height: 1; font-weight: 800; color: rgba(11,61,46,.07); }
.service-card h3 { margin: 28px 0 14px; font-size: 1.45rem; letter-spacing: -.03em; }
.service-card p { color: var(--muted); font-size: .92rem; }
.service-card ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 11px; }
.service-card li { color: #43504a; font-size: .86rem; padding-left: 22px; position: relative; }
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green-500); font-weight: 800; }

.section-dark { background: var(--green-950); color: var(--white); position: relative; overflow: hidden; }
.section-dark::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -180px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.015); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; position: relative; z-index: 1; }
.process-copy p { color: #b9cec4; max-width: 520px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--green-300); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 25px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.step > span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(158,215,185,.14); color: var(--green-300); font-weight: 800; }
.step h3 { margin: 0 0 5px; font-size: 1.04rem; }
.step p { margin: 0; color: #b9cec4; font-size: .86rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.about-visual::before { content: ''; position: absolute; inset: 20px 50px 40px 0; border-radius: 42% 58% 54% 46% / 47% 44% 56% 53%; background: linear-gradient(145deg, var(--green-100), #ede8db); }
.about-panel { width: 74%; padding: 46px; border-radius: 30px; background: var(--green-900); color: var(--white); position: relative; box-shadow: var(--shadow); }
.about-panel strong { display: block; margin-top: 22px; font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.18; }
.about-panel .eyebrow { color: var(--green-300); }
.about-badge { position: absolute; right: 2%; bottom: 9%; width: 170px; padding: 20px; border-radius: 22px; background: var(--white); box-shadow: 0 18px 44px rgba(8,44,34,.17); }
.about-badge span { color: var(--green-700); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about-badge p { margin: 9px 0 0; color: var(--muted); font-size: .78rem; }
.about-copy p { margin: 0 0 16px; }
.value-list { display: grid; gap: 13px; margin-top: 28px; }
.value-list div { display: flex; align-items: center; gap: 12px; }
.value-list span { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-weight: 900; flex-shrink: 0; }
.value-list p { margin: 0; font-size: .9rem; }

.contact-section { background: linear-gradient(145deg, #f1f6f0, #faf6ed); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.contact-copy p { max-width: 500px; }
.email-link { display: flex; align-items: center; gap: 13px; margin-top: 32px; }
.email-link > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--green-900); color: var(--white); font-weight: 800; }
.email-link div { display: flex; flex-direction: column; }
.email-link small { color: var(--muted); font-size: .72rem; }
.email-link strong { color: var(--green-900); font-size: .94rem; }
.contact-note { display: inline-block; margin-top: 22px; padding: 8px 12px; border-radius: 999px; background: rgba(72,166,120,.12); color: var(--green-800); font-size: .75rem; font-weight: 800; }
.contact-card { padding: 34px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { color: var(--green-950); font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #dce5df; background: #fbfdfb; border-radius: 13px; padding: 13px 14px; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(72,166,120,.12); }
.form-privacy { margin: -4px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }
.form-alert { padding: 13px 15px; border-radius: 12px; margin-bottom: 18px; font-size: .83rem; font-weight: 700; }
.form-alert.success { background: #e7f7ed; color: #17633e; }
.form-alert.error { background: #fff0ee; color: #9d3b31; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.site-footer { padding: 65px 0 24px; background: #061f18; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text small { color: #9bb6aa; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.footer-links a { color: #b9cec4; font-size: .82rem; }
.footer-contact { display: flex; flex-direction: column; gap: 5px; }
.footer-contact span { color: #7f9b8f; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-contact a { color: #d7eee1; font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #789186; font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .section { padding: 90px 0; }
    .menu-toggle { display: block; z-index: 2; }
    .main-nav { position: fixed; inset: 82px 0 auto; min-height: calc(100vh - 82px); padding: 36px 24px; background: rgba(251,252,249,.98); flex-direction: column; align-items: flex-start; gap: 24px; transform: translateX(100%); transition: transform .3s ease; }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { font-size: 1.1rem; }
    .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); }
    .hero-grid, .process-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-grid { gap: 30px; }
    .hero-visual { min-height: 520px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .process-grid, .about-grid, .contact-grid { gap: 50px; }
    .about-visual { order: 2; }
    .strip-grid { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 28px, 1180px); }
    .section { padding: 72px 0; }
    .nav-wrap { min-height: 72px; }
    .main-nav { inset: 72px 0 auto; min-height: calc(100vh - 72px); }
    .brand-text small { display: none; }
    .hero { padding-top: 58px; }
    .hero h1 { font-size: 2.75rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    .hero-trust { grid-template-columns: 1fr; gap: 12px; }
    .hero-trust div { padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
    .hero-visual { min-height: 430px; }
    .hero-visual::before { width: 330px; height: 330px; }
    .orbit-one { width: 390px; height: 390px; }
    .orbit-two { width: 280px; height: 280px; }
    .main-dashboard { width: 92%; padding: 18px; }
    .floating-card { transform: scale(.82); }
    .floating-card-one { left: -24px; top: 18%; }
    .floating-card-two { right: -28px; bottom: 12%; }
    .strip-grid { grid-template-columns: 1fr 1fr; }
    .section-heading h2, .process-copy h2, .about-copy h2, .contact-copy h2 { font-size: 2.35rem; }
    .service-card, .contact-card { padding: 25px; }
    .form-row { grid-template-columns: 1fr; }
    .about-visual { min-height: 430px; }
    .about-panel { width: 88%; padding: 30px; }
    .about-badge { right: 0; bottom: 2%; }
    .step { grid-template-columns: 50px 1fr; gap: 14px; padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}

.brand-logo {
    display: block;
    width: 190px;
    max-height: 65px;
    object-fit: contain;
}

.footer-logo {
    width: 170px;
}

@media (max-width: 600px) {
    .brand-logo {
        width: 150px;
        max-height: 55px;
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.15;
}

.brand-text strong {
    color: #153d33;
    font-size: 17px;
    font-weight: 750;
}

.brand-text small {
    margin-top: 3px;
    color: #7c8b85;
    font-size: 12px;
    font-weight: 400;
}

/* Logo del pie de página */

.footer-brand .brand-text strong {
    color: #ffffff;
}

.footer-brand .brand-text small {
    color: rgba(255, 255, 255, 0.55);
}

/* Celulares */

@media (max-width: 600px) {
    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text small {
        font-size: 10px;
    }
}

.site-header,
.site-header.scrolled {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    z-index: 9999;
}

.nav-wrap {
    background: #ffffff;
}

.brand,
.brand-mark,
.brand-text {
    position: relative;
    z-index: 2;
}

.brand-mark {
    background: #ffffff;
    overflow: hidden;
}

.brand-mark {
    width: 46px;
    height: 46px;
    min-width: 46px;
    overflow: hidden;
    border-radius: 10px;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    image-rendering: auto;
}
@media (max-width: 600px) {
    .brand-mark {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
}

.brand-mark {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible;
    border-radius: 0;
}
.brand-mark img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
    background: transparent;
}
@media (max-width: 600px) {
    .brand-mark,
    .brand-mark img {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
}
