:root {
    --primary: #1b202b;
    --primary-light: #272e3c;
    --secondary: #bdccd4;
    --accent: #81c362;
    --accent-dark: #69aa4c;
    --white: #ffffff;
    --light: #f6f8f9;
    --text: #202630;
    --muted: #68717d;
    --border: #e4e9ec;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(27, 32, 43, .10);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}


/* HEADER */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(27, 32, 43, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: block;
    width: 220px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav > a:not(.btn) {
    color: rgba(255, 255, 255, .72);
    font-size: .94rem;
    font-weight: 600;
    transition: .25s ease;
}

.main-nav > a:not(.btn):hover {
    color: var(--white);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    display: block;
    margin: 5px;
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 14px;
    background: var(--accent);
    color: #172018;
    font-weight: 800;
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
    box-shadow: 0 12px 30px rgba(129, 195, 98, .18);
}

.btn:hover {
    transform: translateY(-2px);
    background: #8bce6c;
    box-shadow: 0 16px 38px rgba(129, 195, 98, .28);
}

.btn-small {
    min-height: 44px;
    padding: 0 20px;
    font-size: .9rem;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .08);
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    min-height: 760px;
    padding: 175px 0 100px;
    color: var(--white);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 76px;
    align-items: center;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.hero-glow-one {
    width: 520px;
    height: 520px;
    right: -180px;
    top: 40px;
    background:
        radial-gradient(
            circle,
            rgba(129, 195, 98, .12),
            transparent 70%
        );
}

.hero-glow-two {
    width: 430px;
    height: 430px;
    left: -180px;
    bottom: -200px;
    background:
        radial-gradient(
            circle,
            rgba(189, 204, 212, .08),
            transparent 70%
        );
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .77rem;
    font-weight: 800;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: currentColor;
}

.eyebrow.dark {
    color: var(--accent-dark);
}

.hero h1 {
    max-width: 730px;
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 800;
}

.hero h1 span {
    color: var(--secondary);
}

.hero-description {
    max-width: 660px;
    margin-top: 30px;
    color: rgba(255, 255, 255, .66);
    font-size: 1.08rem;
}

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

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.hero-meta div {
    display: flex;
    flex-direction: column;
}

.hero-meta strong {
    font-size: .94rem;
    color: var(--white);
}

.hero-meta span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .45);
    font-size: .79rem;
}


/* HERO VISUAL */

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.lab-card {
    width: 100%;
    max-width: 465px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .09),
            rgba(255, 255, 255, .025)
        );
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, .30);
    backdrop-filter: blur(20px);
}

.lab-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .50);
    font-size: .78rem;
    font-family: monospace;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(129, 195, 98, .10);
}

.lab-content {
    margin: 42px 0;
}

.code-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    min-height: 65px;
    padding: 0 18px;
    border-radius: 14px;
    color: rgba(255, 255, 255, .52);
}

.code-row span {
    font-family: monospace;
    color: rgba(189, 204, 212, .35);
}

.code-row strong {
    font-size: 1rem;
}

.code-row.active {
    color: var(--white);
    background: rgba(129, 195, 98, .10);
    border: 1px solid rgba(129, 195, 98, .18);
}

.code-row.active span {
    color: var(--accent);
}

.connector {
    width: 1px;
    height: 18px;
    margin-left: 43px;
    background: rgba(255, 255, 255, .10);
}

.lab-footer {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, .44);
    font-size: .86rem;
}

.lab-footer strong {
    margin-top: 4px;
    color: var(--secondary);
    font-size: 1rem;
}


/* SECTIONS */

.section {
    padding: 110px 0;
}

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

.section-heading h2,
.about-section h2,
.cta-section h2 {
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.section-heading p {
    max-width: 620px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.04rem;
}


/* SERVICES */

.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 38px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card.featured {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.service-number {
    position: absolute;
    right: 28px;
    top: 25px;
    font-size: .78rem;
    font-weight: 800;
    color: #aab3ba;
}

.featured .service-number {
    color: rgba(255, 255, 255, .32);
}

.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(129, 195, 98, .12);
    margin-bottom: 32px;
}

.service-icon svg {
    width: 28px;
    fill: none;
    stroke: var(--accent-dark);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.featured .service-icon {
    background: rgba(129, 195, 98, .12);
}

.featured .service-icon svg {
    stroke: var(--accent);
}

.service-card h3 {
    max-width: 430px;
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.service-card p {
    max-width: 510px;
    margin-top: 18px;
    color: var(--muted);
}

.featured p {
    color: rgba(255, 255, 255, .57);
}

.service-card a {
    position: absolute;
    left: 38px;
    bottom: 34px;
    color: var(--accent-dark);
    font-size: .92rem;
    font-weight: 800;
}

.featured a {
    color: var(--accent);
}

.service-card a span {
    display: inline-block;
    margin-left: 7px;
    transition: transform .2s ease;
}

.service-card a:hover span {
    transform: translateX(4px);
}


/* ABOUT */

.about-section {
    padding: 110px 0;
    background: var(--primary);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 100px;
    align-items: center;
}

.about-section h2 {
    max-width: 700px;
}

.about-copy {
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, .10);
}

.about-copy p {
    color: rgba(255, 255, 255, .62);
    font-size: 1.03rem;
}

.about-copy p + p {
    margin-top: 20px;
}


/* CTA */

.cta-section {
    padding: 100px 0;
    background: var(--secondary);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.cta-section h2 {
    max-width: 720px;
    color: var(--primary);
}

.cta-section p {
    margin-top: 20px;
    max-width: 570px;
    color: #56616b;
}

.cta-actions {
    min-width: 245px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.email-link {
    text-align: center;
    color: var(--primary);
    font-size: .88rem;
    font-weight: 700;
}


/* FOOTER */

.site-footer {
    padding: 72px 0 28px;
    background: #141922;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .75fr .75fr;
    gap: 70px;
}

.footer-logo {
    width: 220px;
}

.footer-grid > div:first-child p {
    max-width: 380px;
    margin-top: 25px;
    color: rgba(255, 255, 255, .46);
    font-size: .92rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links strong {
    margin-bottom: 8px;
    color: var(--secondary);
}

.footer-links a {
    color: rgba(255, 255, 255, .48);
    font-size: .9rem;
    transition: .2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .32);
    font-size: .78rem;
}


/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
    transition: transform .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.03);
}

.whatsapp-float svg {
    width: 30px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* RESPONSIVE */

@media (max-width: 980px) {

    .main-nav {
        position: absolute;
        top: 86px;
        left: 24px;
        right: 24px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        background: #202733;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 18px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .30);
    }

    .main-nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding-top: 150px;
    }

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

    .hero-visual {
        justify-content: flex-start;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-copy {
        padding-left: 0;
        padding-top: 35px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .10);
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        max-width: 290px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}


@media (max-width: 640px) {

    .container {
        width: min(100% - 34px, 1180px);
    }

    .header-inner {
        height: 76px;
    }

    .brand-logo {
        width: 176px;
    }

    .main-nav {
        top: 76px;
        left: 17px;
        right: 17px;
    }

    .hero {
        min-height: auto;
        padding: 130px 0 72px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lab-card {
        padding: 22px;
    }

    .section,
    .about-section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .service-card {
        min-height: 390px;
        padding: 30px;
    }

    .service-card a {
        left: 30px;
    }

    .cta-section {
        padding: 80px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
    }
}


/* MDL_SERVICE_CARD_MOBILE_FIX_V1
   Evita que el CTA de la primera tarjeta se monte sobre el texto.
*/
.service-card:first-child {
    display: flex;
    flex-direction: column;
}

.service-card:first-child > a {
    position: static;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 28px;
}

@media (max-width: 640px) {

    .service-card:first-child {
        min-height: auto;
    }

    .service-card:first-child > a {
        margin-top: 28px;
        padding-top: 0;
    }

}


/* =========================================================
   MDL_PROCESS_CSS_V1
   ========================================================= */

.process-section {
    background: var(--white);
}

.process-heading {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 70px;
}

.process-heading h2 {
    max-width: 700px;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.process-heading > p {
    max-width: 520px;
    padding-bottom: 5px;
    color: var(--muted);
    font-size: 1.02rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
}

.process-card {
    position: relative;
    min-height: 330px;
    padding: 42px 30px 30px;
    border-right: 1px solid var(--border);
}

.process-card:first-child {
    padding-left: 0;
}

.process-card:last-child {
    border-right: 0;
    padding-right: 0;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.process-line {
    width: 36px;
    height: 2px;
    margin: 32px 0 25px;
    background: var(--accent);
}

.process-card h3 {
    font-size: 1.35rem;
    letter-spacing: -.025em;
}

.process-card p {
    margin-top: 15px;
    color: var(--muted);
    font-size: .94rem;
}


/* TABLET */

@media (max-width: 980px) {

    .process-heading {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 50px;
    }

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

    .process-card {
        min-height: 300px;
        padding: 35px;
        border-bottom: 1px solid var(--border);
    }

    .process-card:first-child {
        padding-left: 35px;
    }

    .process-card:nth-child(2) {
        border-right: 0;
    }

    .process-card:nth-child(3),
    .process-card:nth-child(4) {
        border-bottom: 0;
    }

    .process-card:last-child {
        padding-right: 35px;
    }

}


/* MOBILE */

@media (max-width: 640px) {

    .process-heading {
        margin-bottom: 38px;
    }

    .process-grid {
        display: block;
        border-top: 0;
    }

    .process-card,
    .process-card:first-child,
    .process-card:last-child {
        min-height: auto;
        padding: 32px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .process-card:first-child {
        border-top: 1px solid var(--border);
    }

    .process-card:last-child {
        border-bottom: 0;
    }

    .process-number {
        width: 48px;
        height: 48px;
    }

    .process-line {
        margin: 24px 0 20px;
    }

}


/* =========================================================
   MDL_CONTACT_FORM_CSS_V1
   ========================================================= */

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 115px 0;
    background: var(--secondary);
}

.contact-section::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    left: -250px;
    bottom: -260px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(129, 195, 98, .22),
            transparent 70%
        );
}

.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .83fr 1.17fr;
    gap: 90px;
    align-items: start;
}

.contact-intro {
    position: sticky;
    top: 130px;
}

.contact-intro .eyebrow {
    color: var(--accent-dark);
}

.contact-intro h2 {
    max-width: 610px;
    font-size: clamp(2.5rem, 4.5vw, 4.1rem);
    line-height: 1.03;
    letter-spacing: -.05em;
    color: var(--primary);
}

.contact-description {
    max-width: 580px;
    margin-top: 28px;
    color: #59636d;
    font-size: 1.03rem;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 45px;
}

.contact-direct-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-direct-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary);
    color: var(--accent);
    font-weight: 900;
    font-size: 1rem;
}

.contact-direct-item > div:last-child {
    display: flex;
    flex-direction: column;
}

.contact-direct-item span {
    color: #68747d;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-direct-item a {
    margin-top: 2px;
    color: var(--primary);
    font-weight: 800;
    font-size: .95rem;
}

.contact-direct-item a:hover {
    color: #4f8d37;
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 510px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(27, 32, 43, .13);
}

.contact-note-dot {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--accent-dark);
}

.contact-note p {
    color: #66717a;
    font-size: .84rem;
}


/* FORM CARD */

.contact-form-card {
    padding: 46px;
    border-radius: 28px;
    background: var(--white);
    box-shadow:
        0 35px 80px rgba(27, 32, 43, .14);
}

.contact-form-heading {
    margin-bottom: 34px;
}

.contact-form-heading > span {
    display: block;
    margin-bottom: 9px;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .72rem;
    font-weight: 900;
}

.contact-form-heading h3 {
    color: var(--primary);
    font-size: 1.85rem;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.contact-form-heading p {
    margin-top: 10px;
    color: var(--muted);
    font-size: .92rem;
}


/* FORM */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: .81rem;
    font-weight: 800;
}

.form-group label span {
    color: var(--accent-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #dce2e5;
    border-radius: 12px;
    background: #f9fafb;
    color: var(--primary);
    font: inherit;
    font-size: .92rem;
    outline: 0;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.form-group input,
.form-group select {
    height: 52px;
    padding: 0 15px;
}

.form-group textarea {
    min-height: 145px;
    padding: 15px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a4abb0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(129, 195, 98, .90);
    background: var(--white);
    box-shadow:
        0 0 0 4px rgba(129, 195, 98, .11);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #d96969;
    background: #fffafa;
}

.field-error {
    margin-top: 6px;
    color: #bd4f4f;
    font-size: .76rem;
    font-weight: 600;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding-top: 4px;
}

.form-footer > p {
    max-width: 340px;
    color: #8a9298;
    font-size: .72rem;
    line-height: 1.5;
}

.contact-submit {
    min-width: 190px;
    border: 0;
    cursor: pointer;
}

.contact-submit:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.submit-arrow {
    margin-left: 8px;
    transition: transform .2s ease;
}

.contact-submit:hover .submit-arrow {
    transform: translateX(4px);
}


/* ALERTS */

.form-alert {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 12px;
}

.form-alert-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 900;
}

.form-alert strong {
    display: block;
    font-size: .85rem;
}

.form-alert p {
    margin-top: 2px;
    font-size: .79rem;
}

.form-alert-success {
    background: #f1f8ed;
    border: 1px solid #d3e8c8;
    color: #436b34;
}

.form-alert-success .form-alert-icon {
    background: #81c362;
    color: #1b202b;
}

.form-alert-error {
    background: #fff4f4;
    border: 1px solid #f0d3d3;
    color: #994848;
}

.form-alert-error .form-alert-icon {
    background: #d96969;
    color: #ffffff;
}


/* HONEYPOT */

.mdl-hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* TABLET */

@media (max-width: 980px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-intro {
        position: static;
    }

    .contact-intro h2 {
        max-width: 720px;
    }

    .contact-description {
        max-width: 680px;
    }

    .contact-direct {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 650px;
    }

}


/* MOBILE */

@media (max-width: 640px) {

    .contact-section {
        padding: 80px 0;
    }

    .contact-grid {
        gap: 42px;
    }

    .contact-intro h2 {
        font-size: 2.7rem;
    }

    .contact-direct {
        display: flex;
    }

    .contact-form-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .contact-form-heading h3 {
        font-size: 1.6rem;
    }

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

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .form-footer > p {
        max-width: none;
    }

    .contact-submit {
        width: 100%;
    }

}



/* =========================================================
   MDL_CTA_PULSE_V1
   Pulse sutil para CTA, WhatsApp y formulario
   ========================================================= */

@keyframes mdlCtaPulse {

    0% {
        transform: scale(1);
        box-shadow:
            0 0 0 0 rgba(129, 195, 98, 0.42);
    }

    55% {
        transform: scale(1.025);
        box-shadow:
            0 0 0 10px rgba(129, 195, 98, 0);
    }

    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 0 rgba(129, 195, 98, 0);
    }

}


/*
|--------------------------------------------------------------------------
| CTA principales
|--------------------------------------------------------------------------
*/

.btn-primary,
.hero-actions .btn:first-child,
.service-hero-actions .btn:first-child,
.service-final-inner > .btn,
a[href*="#contacto"].btn {
    animation:
        mdlCtaPulse
        2.4s
        ease-in-out
        infinite;
}


/*
|--------------------------------------------------------------------------
| Botón enviar formulario
|--------------------------------------------------------------------------
*/

#mdl-contact-form button[type="submit"],
.contact-form-card button[type="submit"] {
    animation:
        mdlCtaPulse
        2.4s
        ease-in-out
        infinite;
}


/*
|--------------------------------------------------------------------------
| WhatsApp flotante
|--------------------------------------------------------------------------
*/

.whatsapp-float {
    animation:
        mdlCtaPulse
        2.2s
        ease-in-out
        infinite;
}


/*
|--------------------------------------------------------------------------
| Interacción
|--------------------------------------------------------------------------
*/

.btn-primary:hover,
.hero-actions .btn:first-child:hover,
.service-hero-actions .btn:first-child:hover,
.service-final-inner > .btn:hover,
a[href*="#contacto"].btn:hover,
#mdl-contact-form button[type="submit"]:hover,
.contact-form-card button[type="submit"]:hover,
.whatsapp-float:hover {
    animation-play-state: paused;
}


/*
|--------------------------------------------------------------------------
| Accesibilidad
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .btn-primary,
    .hero-actions .btn:first-child,
    .service-hero-actions .btn:first-child,
    .service-final-inner > .btn,
    a[href*="#contacto"].btn,
    #mdl-contact-form button[type="submit"],
    .contact-form-card button[type="submit"],
    .whatsapp-float {
        animation: none !important;
    }

}


/* =========================================================
   MDL_CTA_PULSE_V2
   Pulse visible y profesional
   ========================================================= */

@keyframes mdlCtaPulseV2 {

    0% {
        transform: scale(1);
        box-shadow:
            0 0 0 0 rgba(129, 195, 98, 0.55);
    }

    35% {
        transform: scale(1.055);
        box-shadow:
            0 0 0 4px rgba(129, 195, 98, 0.32);
    }

    70% {
        transform: scale(1);
        box-shadow:
            0 0 0 14px rgba(129, 195, 98, 0);
    }

    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 0 rgba(129, 195, 98, 0);
    }

}


/*
|--------------------------------------------------------------------------
| CTA PRINCIPALES
|--------------------------------------------------------------------------
*/

.btn-primary {
    animation:
        mdlCtaPulseV2
        1.9s
        ease-in-out
        infinite !important;

    transform-origin: center;
}


/*
|--------------------------------------------------------------------------
| BOTON ENVIAR FORMULARIO
|--------------------------------------------------------------------------
*/

#mdl-contact-form button[type="submit"] {
    animation:
        mdlCtaPulseV2
        1.9s
        ease-in-out
        infinite !important;

    transform-origin: center;
}


/*
|--------------------------------------------------------------------------
| WHATSAPP FLOTANTE
|--------------------------------------------------------------------------
*/

.whatsapp-float {
    animation:
        mdlCtaPulseV2
        1.8s
        ease-in-out
        infinite !important;

    transform-origin: center;
}


/*
|--------------------------------------------------------------------------
| HOVER
|--------------------------------------------------------------------------
*/

.btn-primary:hover,
#mdl-contact-form button[type="submit"]:hover,
.whatsapp-float:hover {
    animation-play-state: paused !important;
}


/*
|--------------------------------------------------------------------------
| ACCESIBILIDAD
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .btn-primary,
    #mdl-contact-form button[type="submit"],
    .whatsapp-float {
        animation: none !important;
    }

}


/* =========================================================
   MDL_HEADER_CTA_PULSE_V3
   Botón Hablemos del header
   ========================================================= */

header a[href*="#contacto"],
.site-header a[href*="#contacto"] {
    animation:
        mdlCtaPulseV2
        1.9s
        ease-in-out
        infinite !important;

    transform-origin: center;
}


/* Pausar durante interacción */

header a[href*="#contacto"]:hover,
.site-header a[href*="#contacto"]:hover,
header a[href*="#contacto"]:focus-visible,
.site-header a[href*="#contacto"]:focus-visible {
    animation-play-state: paused !important;
}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {

    header a[href*="#contacto"],
    .site-header a[href*="#contacto"] {
        animation: none !important;
    }

}


/* =========================================================
   MDL_HEADER_CTA_PULSE_V4
   Corrección: pulse exclusivamente en Hablemos
   ========================================================= */


/*
|--------------------------------------------------------------------------
| Anular selector anterior que también afectaba "Contacto"
|--------------------------------------------------------------------------
*/

header a[href*="#contacto"],
.site-header a[href*="#contacto"] {
    animation: none !important;
}


/*
|--------------------------------------------------------------------------
| Activar exclusivamente el botón Hablemos
|--------------------------------------------------------------------------
*/

header a.mdl-header-pulse,
.site-header a.mdl-header-pulse,
a.mdl-header-pulse {
    animation:
        mdlCtaPulseV2
        1.9s
        ease-in-out
        infinite !important;

    transform-origin: center;
}


/*
|--------------------------------------------------------------------------
| Hover / Focus
|--------------------------------------------------------------------------
*/

header a.mdl-header-pulse:hover,
.site-header a.mdl-header-pulse:hover,
a.mdl-header-pulse:hover,
header a.mdl-header-pulse:focus-visible,
.site-header a.mdl-header-pulse:focus-visible,
a.mdl-header-pulse:focus-visible {
    animation-play-state: paused !important;
}


/*
|--------------------------------------------------------------------------
| Accesibilidad
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    header a.mdl-header-pulse,
    .site-header a.mdl-header-pulse,
    a.mdl-header-pulse {
        animation: none !important;
    }

}
