/* ==========================================================================
   MH Soluciones Contables & Tributarias — hoja de estilos
   ========================================================================== */

:root {
    --mh-navy: #0b2244;
    --mh-navy-2: #143a6b;
    --mh-navy-3: #1f4f8f;
    --mh-gold: #a97e12;
    --mh-gold-2: #e6c260;
    --mh-gold-3: #f6e7b6;
    --mh-ink: #172433;
    --mh-muted: #5a6678;
    --mh-bg: #ffffff;
    --mh-soft: #f5f8fd;
    --mh-line: #e4eaf4;
    --mh-ok: #1f7a4d;
    --mh-error: #b3261e;
    --mh-radius: 22px;
    --mh-radius-sm: 14px;
    --mh-shadow: 0 24px 60px rgba(11, 34, 68, .12);
    --mh-shadow-sm: 0 10px 28px rgba(11, 34, 68, .07);
    --mh-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --mh-font-head: 'Sora', 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--mh-font);
    color: var(--mh-ink);
    background: var(--mh-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
    font-family: var(--mh-font-head);
    line-height: 1.12;
    margin: 0 0 .6rem;
    color: var(--mh-navy);
    letter-spacing: -.03em;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--mh-gold-2); color: var(--mh-navy); }

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--mh-gold-2);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Anclas: que la barra fija no tape los títulos */
section[id], main[id] { scroll-margin-top: 92px; }

.mh-skip {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--mh-navy); color: #fff; padding: .75rem 1.2rem; border-radius: 0 0 12px 0;
}
.mh-skip:focus { left: 0; }

.mh-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ----- Botones ----- */
.mh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .95rem 1.65rem; border-radius: 999px; font-weight: 800; font-size: .97rem;
    border: 1.5px solid transparent; cursor: pointer; letter-spacing: -.01em;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.mh-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.mh-btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.mh-btn-primary {
    background: linear-gradient(135deg, var(--mh-navy) 0%, var(--mh-navy-3) 100%);
    color: #fff; box-shadow: 0 12px 28px rgba(11, 34, 68, .28);
}
.mh-btn-primary:hover {
    background: linear-gradient(135deg, var(--mh-navy-2) 0%, #2a63ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 34, 68, .34), 0 0 0 4px rgba(230, 194, 96, .18);
}
.mh-btn-ghost {
    background: rgba(255, 255, 255, .96); color: var(--mh-navy); border-color: transparent;
    box-shadow: var(--mh-shadow-sm);
}
.mh-btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 34, 68, .16); }
.mh-btn-light { background: #fff; color: var(--mh-navy); box-shadow: 0 12px 26px rgba(0, 0, 0, .14); }
.mh-btn-light:hover { background: var(--mh-gold-2); color: var(--mh-navy); transform: translateY(-2px); }
.mh-btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ----- Barra de navegación ----- */
.mh-nav {
    position: sticky; top: 0; z-index: 80;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(228, 234, 244, .7);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.mh-nav.is-scrolled { box-shadow: 0 10px 30px rgba(11, 34, 68, .09); border-color: var(--mh-line); }
.mh-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 78px; }
.mh-brand { display: flex; align-items: center; gap: .7rem; }
.mh-brand-logo { width: 38px; height: 53px; object-fit: contain; border-radius: 7px; }
.mh-brand-text { display: flex; flex-direction: column; line-height: 1.06; }
.mh-brand-text strong {
    font-family: var(--mh-font-head); font-size: 1.18rem; color: var(--mh-navy); letter-spacing: -.02em;
}
.mh-brand-text small { font-size: .71rem; letter-spacing: .015em; color: var(--mh-muted); }
.mh-links { display: flex; align-items: center; gap: 1.7rem; }
.mh-links > a:not(.mh-btn) {
    font-weight: 700; font-size: .94rem; color: var(--mh-ink); position: relative; padding: .3rem 0;
}
.mh-links > a:not(.mh-btn)::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--mh-gold), var(--mh-gold-2));
    transition: width .22s ease; border-radius: 2px;
}
.mh-links > a:not(.mh-btn):hover::after,
.mh-links > a:not(.mh-btn).is-active::after { width: 100%; }
.mh-links > a:not(.mh-btn).is-active { color: var(--mh-navy); }
.mh-burger {
    display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
    align-items: center; justify-content: center; background: #fff;
    border: 1px solid var(--mh-line); border-radius: 12px; cursor: pointer;
}
.mh-burger span { width: 19px; height: 2px; background: var(--mh-navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.mh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.mh-hero {
    position: relative; overflow: hidden; color: #fff; padding: 92px 0 108px;
    background:
        radial-gradient(820px 460px at 92% -6%, rgba(230, 194, 96, .16), transparent 62%),
        radial-gradient(700px 520px at 0% 105%, rgba(70, 140, 220, .34), transparent 66%),
        linear-gradient(132deg, #07182f 0%, #0b2244 42%, #17417a 100%);
}
.mh-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(75% 70% at 55% 40%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(75% 70% at 55% 40%, #000 20%, transparent 100%);
}
.mh-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle at 86% 16%, rgba(255, 255, 255, .10), transparent 34%),
        radial-gradient(circle at 8% 96%, rgba(201, 162, 39, .22), transparent 42%);
}
.mh-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 3.6rem; align-items: center; }
.mh-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .42rem .95rem; border-radius: 999px;
    background: rgba(230, 194, 96, .12); border: 1px solid rgba(230, 194, 96, .32);
    color: var(--mh-gold-2); font-size: .78rem; font-weight: 800;
    letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.35rem;
}
.mh-eyebrow::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mh-gold-2);
    box-shadow: 0 0 0 4px rgba(230, 194, 96, .16);
}
.mh-hero h1 {
    color: #fff; font-size: clamp(2.35rem, 4.5vw, 3.9rem); font-weight: 800; margin-bottom: 1.15rem;
}
.mh-hl { color: var(--mh-gold-2); position: relative; white-space: nowrap; }
.mh-hl::after {
    content: ""; position: absolute; left: .02em; right: .02em; bottom: -.04em; height: .09em;
    border-radius: 999px; background: linear-gradient(90deg, rgba(230, 194, 96, .95), rgba(230, 194, 96, 0));
}
.mh-lead { color: rgba(255, 255, 255, .84); font-size: 1.11rem; max-width: 34rem; margin-bottom: 1.7rem; }
.mh-lead strong { color: #fff; }
.mh-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.75rem; }
.mh-trust { display: flex; flex-wrap: wrap; gap: 1.25rem; color: rgba(255, 255, 255, .8); font-size: .87rem; }
.mh-trust li { position: relative; padding-left: 1.35rem; }
.mh-trust li::before { content: "✓"; position: absolute; left: 0; top: -.03em; color: var(--mh-gold-2); font-weight: 800; }

.mh-hero-card {
    position: relative; background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; padding: 1.75rem;
    box-shadow: 0 34px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.mh-hero-card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, .14), transparent 42%);
    mask-image: linear-gradient(#000, transparent 55%);
    -webkit-mask-image: linear-gradient(#000, transparent 55%);
}
.mh-hero-card-head { display: flex; align-items: center; gap: .85rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.mh-hero-card-head img { width: 42px; height: 58px; object-fit: contain; border-radius: 8px; background: rgba(255, 255, 255, .1); padding: 3px; }
.mh-hero-card-head strong { display: block; font-family: var(--mh-font-head); font-size: 1.02rem; color: #fff; line-height: 1.2; }
.mh-hero-card-head span { font-size: .82rem; color: rgba(255, 255, 255, .72); }
.mh-hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; padding: 1.2rem 0 .9rem; }
.mh-metric { text-align: center; }
.mh-metric strong { display: block; font-family: var(--mh-font-head); font-size: 1.32rem; color: #fff; letter-spacing: -.03em; }
.mh-metric span { font-size: .7rem; color: rgba(255, 255, 255, .68); letter-spacing: .02em; }
.mh-spark { position: relative; padding: .2rem 0 1.1rem; }
.mh-spark svg { width: 100%; height: 74px; display: block; overflow: visible; }
.mh-spark-label {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}
.mh-spark-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mh-gold-2); }
.mh-hero-badge {
    text-align: center; padding: .58rem; border-radius: 12px;
    background: rgba(230, 194, 96, .13); border: 1px solid rgba(230, 194, 96, .38);
    color: var(--mh-gold-2); font-weight: 800; font-size: .8rem; letter-spacing: .06em;
}

/* ----- Banda de valor ----- */
.mh-value-strip { background: linear-gradient(180deg, #fff 0%, var(--mh-soft) 100%); border-bottom: 1px solid var(--mh-line); }
.mh-value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 28px 0; }
.mh-value {
    display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: .9rem; color: var(--mh-ink);
    background: #fff; border: 1px solid var(--mh-line); border-radius: 16px; padding: .85rem 1rem;
    box-shadow: 0 6px 18px rgba(11, 34, 68, .045);
}
.mh-value svg {
    flex: 0 0 auto; width: 38px; height: 38px; color: var(--mh-navy);
    background: linear-gradient(140deg, rgba(11, 34, 68, .07), rgba(230, 194, 96, .2));
    border-radius: 12px; padding: 8px;
}
.mh-value span { line-height: 1.35; }

/* ----- Secciones ----- */
.mh-section { position: relative; padding: 96px 0; }
.mh-section-head { max-width: 660px; margin: 0 auto 3.2rem; text-align: center; }
.mh-kicker {
    display: inline-flex; align-items: center; gap: .65rem; font-size: .78rem; font-weight: 800;
    letter-spacing: .16em; text-transform: uppercase; color: var(--mh-gold); margin-bottom: .8rem;
}
.mh-kicker::before, .mh-kicker::after {
    content: ""; width: 26px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--mh-gold-2));
}
.mh-kicker::after { background: linear-gradient(90deg, var(--mh-gold-2), transparent); }
.mh-section-head h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); }
.mh-section-head p { color: var(--mh-muted); font-size: 1.04rem; margin: 0; }

/* ----- Tarjetas ----- */
.mh-grid { display: grid; gap: 1.35rem; }
.mh-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mh-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mh-card {
    position: relative; overflow: hidden; background: #fff; border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius); padding: 2rem 1.8rem; box-shadow: var(--mh-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mh-card::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--mh-gold), var(--mh-navy-3));
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.mh-card:hover { transform: translateY(-6px); box-shadow: var(--mh-shadow); border-color: #d7e1ef; }
.mh-card:hover::after { transform: scaleX(1); }
.mh-card h3 { font-size: 1.13rem; margin: .95rem 0 .45rem; }
.mh-card p { color: var(--mh-muted); font-size: .94rem; margin: 0; }
.mh-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
    border-radius: 16px; background: linear-gradient(140deg, var(--mh-navy), var(--mh-navy-3));
    color: #fff; box-shadow: 0 10px 22px rgba(11, 34, 68, .22);
    transition: background .22s ease, transform .22s ease;
}
.mh-icon svg { width: 26px; height: 26px; }
.mh-card:hover .mh-icon { background: linear-gradient(140deg, #c79a1d, var(--mh-gold-2)); transform: translateY(-2px); }

/* ----- Nosotros ----- */
.mh-about {
    background:
        radial-gradient(900px 420px at 100% 0%, rgba(31, 79, 143, .08), transparent 60%),
        radial-gradient(700px 360px at 0% 100%, rgba(230, 194, 96, .10), transparent 60%),
        var(--mh-soft);
}
.mh-about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.2rem; align-items: center; }
.mh-about-visual { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.mh-about-emblem {
    position: relative; width: 252px; height: 252px; border-radius: 50%;
    background: linear-gradient(145deg, #fff, #e9f0fa);
    border: 10px solid #fff; box-shadow: 0 30px 60px rgba(11, 34, 68, .16);
    display: flex; align-items: center; justify-content: center;
}
.mh-about-emblem::before {
    content: ""; position: absolute; inset: -20px; border-radius: 50%;
    border: 1px dashed rgba(169, 126, 18, .38);
    animation: mhSpin 70s linear infinite;
}
.mh-about-emblem img { width: 118px; height: 165px; object-fit: contain; }
.mh-about-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 320px; }
.mh-about-chips li {
    background: #fff; border: 1px solid var(--mh-line); border-radius: 999px;
    padding: .35rem .8rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: var(--mh-navy); box-shadow: 0 4px 12px rgba(11, 34, 68, .05);
}
.mh-about-quote {
    max-width: 310px; text-align: center; font-style: italic; color: var(--mh-navy);
    font-size: 1.02rem; font-weight: 600; line-height: 1.5;
}
.mh-about-copy h2 { font-size: clamp(1.75rem, 3.1vw, 2.4rem); }
.mh-about-copy p { color: var(--mh-muted); }
.mh-checks { margin: 1.3rem 0 1.8rem; display: grid; gap: .65rem; }
.mh-checks li { position: relative; padding-left: 1.95rem; font-weight: 700; color: var(--mh-ink); }
.mh-checks li::before {
    content: "✓"; position: absolute; left: 0; top: .02rem; width: 1.35rem; height: 1.35rem;
    border-radius: 50%; background: rgba(230, 194, 96, .28); color: var(--mh-navy);
    display: inline-flex; align-items: center; justify-content: center; font-size: .76rem; font-weight: 800;
}

/* ----- Beneficios ----- */
.mh-benefit {
    background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius);
    padding: 1.7rem; box-shadow: var(--mh-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.mh-benefit:hover { transform: translateY(-4px); box-shadow: var(--mh-shadow); }
.mh-benefit h3 { font-size: 1.02rem; margin: .75rem 0 .35rem; }
.mh-benefit p { color: var(--mh-muted); font-size: .91rem; margin: 0; }
.mh-benefit .mh-icon {
    width: 46px; height: 46px; border-radius: 13px; background: rgba(230, 194, 96, .18);
    color: var(--mh-navy); box-shadow: none;
}
.mh-benefit .mh-icon svg { width: 22px; height: 22px; }

/* ----- Pasos ----- */
.mh-process .mh-step:not(:last-child)::after {
    content: ""; position: absolute; top: 56px; right: -1.35rem; width: 1.35rem; height: 2px;
    background: linear-gradient(90deg, rgba(169, 126, 18, .38), rgba(169, 126, 18, .12));
}
.mh-step {
    position: relative; background: #fff; border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius); padding: 2rem 1.8rem; box-shadow: var(--mh-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.mh-step:hover { transform: translateY(-4px); box-shadow: var(--mh-shadow); }
.mh-step::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--mh-navy), var(--mh-gold));
}
.mh-step-num {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: 14px; background: linear-gradient(140deg, var(--mh-navy), var(--mh-navy-3));
    color: #fff; font-family: var(--mh-font-head); font-weight: 800; margin-bottom: 1.1rem;
    box-shadow: 0 10px 22px rgba(11, 34, 68, .2);
}
.mh-step h3 { font-size: 1.1rem; }
.mh-step p { color: var(--mh-muted); font-size: .94rem; margin: 0; }

/* ----- FAQ ----- */
.mh-faq { max-width: 840px; margin: 0 auto; display: grid; gap: .8rem; }
.mh-faq details {
    background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius-sm);
    box-shadow: var(--mh-shadow-sm); padding: 0 1.35rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.mh-faq details[open] { border-color: rgba(169, 126, 18, .38); box-shadow: 0 16px 36px rgba(11, 34, 68, .09); }
.mh-faq summary {
    cursor: pointer; font-weight: 700; color: var(--mh-navy); padding: 1.1rem 0; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.mh-faq summary::-webkit-details-marker { display: none; }
.mh-faq summary::after {
    content: "+"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%; background: rgba(11, 34, 68, .06);
    font-size: 1.3rem; font-weight: 400; line-height: 1; color: var(--mh-navy);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.mh-faq details[open] summary::after {
    content: "−"; background: var(--mh-navy); color: var(--mh-gold-2); transform: rotate(180deg);
}
.mh-faq p { color: var(--mh-muted); margin: 0 0 1.15rem; font-size: .95rem; }

/* ----- CTA band ----- */
.mh-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, #07182f, #143a6b 58%, #1f4f8f); color: #fff; padding: 60px 0; }
.mh-cta::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(420px 220px at 88% 30%, rgba(230, 194, 96, .22), transparent 70%),
        radial-gradient(360px 200px at 8% 110%, rgba(255, 255, 255, .08), transparent 70%);
}
.mh-cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.mh-cta h2 { color: #fff; font-size: clamp(1.55rem, 2.7vw, 2.05rem); margin-bottom: .3rem; }
.mh-cta p { color: rgba(255, 255, 255, .8); margin: 0; }

/* ----- Contacto ----- */
.mh-contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
.mh-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.mh-contact-card {
    background: #fff; border: 1px solid var(--mh-line); border-radius: 20px; padding: 1.5rem;
    box-shadow: var(--mh-shadow-sm); display: flex; flex-direction: column; gap: .4rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mh-contact-card .mh-icon { width: 46px; height: 46px; border-radius: 13px; margin-bottom: .35rem; }
.mh-contact-card .mh-icon svg { width: 22px; height: 22px; }
a.mh-contact-card:hover { transform: translateY(-4px); box-shadow: var(--mh-shadow); border-color: rgba(169, 126, 18, .35); }
.mh-contact-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mh-muted); font-weight: 800; }
.mh-contact-card strong { font-family: var(--mh-font-head); font-size: 1.02rem; color: var(--mh-navy); word-break: break-word; }
.mh-contact-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1rem; }
.mh-contact-wide .mh-icon { margin-bottom: 0; }
.mh-contact-wide-text { display: flex; flex-direction: column; gap: .15rem; }

/* ----- Formulario ----- */
.mh-form-wrap {
    background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius);
    padding: 2rem; box-shadow: var(--mh-shadow);
}
.mh-form-wrap h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.mh-form-intro { color: var(--mh-muted); font-size: .92rem; margin-bottom: 1.3rem; }
.mh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mh-field { display: flex; flex-direction: column; gap: .38rem; margin-bottom: 1rem; }
.mh-field label { font-size: .84rem; font-weight: 800; color: var(--mh-ink); }
.mh-field .mh-req { color: var(--mh-error); }
.mh-field input, .mh-field select, .mh-field textarea {
    width: 100%; padding: .78rem .95rem; font: inherit; font-size: .95rem; color: var(--mh-ink);
    background: #fcfdff; border: 1px solid #cfd8e6; border-radius: 11px;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.mh-field input:hover, .mh-field select:hover, .mh-field textarea:hover { border-color: #a9b8cd; }
.mh-field input:focus, .mh-field select:focus, .mh-field textarea:focus {
    outline: none; background: #fff; border-color: var(--mh-navy);
    box-shadow: 0 0 0 4px rgba(11, 34, 68, .10);
}
.mh-field textarea { resize: vertical; min-height: 124px; }
.mh-field.has-error input, .mh-field.has-error select, .mh-field.has-error textarea { border-color: var(--mh-error); }
.mh-error { color: var(--mh-error); font-size: .82rem; margin: 0; }
.mh-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--mh-muted); }
.mh-check input { width: 18px; height: 18px; margin-top: .15rem; flex: 0 0 auto; }
.mh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mh-form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.mh-form-note { font-size: .78rem; color: var(--mh-muted); }
.mh-form-status { margin-top: 1rem; padding: .95rem 1.1rem; border-radius: 11px; font-size: .92rem; display: none; }
.mh-form-status.is-visible { display: block; }
.mh-form-status.is-ok { background: rgba(31, 122, 77, .1); border: 1px solid rgba(31, 122, 77, .35); color: var(--mh-ok); }
.mh-form-status.is-error { background: rgba(179, 38, 30, .08); border: 1px solid rgba(179, 38, 30, .3); color: var(--mh-error); }

/* ----- Footer ----- */
.mh-footer {
    background: linear-gradient(180deg, #081a33 0%, #061428 100%);
    color: rgba(255, 255, 255, .8); padding: 52px 0 34px; border-top: 3px solid var(--mh-gold);
}
.mh-footer-inner { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 2rem; align-items: start; }
.mh-footer-brand { display: flex; align-items: center; gap: .85rem; }
.mh-footer-brand img { width: 40px; height: 56px; object-fit: contain; border-radius: 8px; background: rgba(255, 255, 255, .08); padding: 3px; }
.mh-footer-brand strong { display: block; color: #fff; font-family: var(--mh-font-head); line-height: 1.25; }
.mh-footer-brand span { font-size: .85rem; color: rgba(255, 255, 255, .62); }
.mh-footer-links { display: flex; flex-direction: column; gap: .5rem; }
.mh-footer-links a { color: rgba(255, 255, 255, .76); font-weight: 600; font-size: .92rem; transition: color .18s ease; }
.mh-footer-links a:hover { color: var(--mh-gold-2); }
.mh-footer-legal { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; color: rgba(255, 255, 255, .6); text-align: right; }

/* ----- WhatsApp flotante ----- */
.mh-wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.2rem;
    border-radius: 999px; background: linear-gradient(140deg, #2ce06f, #1fbe5b);
    color: #063a1b; font-weight: 800; font-size: .92rem;
    box-shadow: 0 14px 32px rgba(6, 58, 27, .28);
    transition: transform .18s ease, box-shadow .18s ease;
}
.mh-wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    animation: mhPulse 2.8s ease-out infinite;
}
.mh-wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(6, 58, 27, .34); }
.mh-wa-float svg { width: 22px; height: 22px; }

/* ----- Animaciones de entrada (las añade mh.js) ----- */
.mh-reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .3, 1); }
.mh-reveal.is-in { opacity: 1; transform: none; }

@keyframes mhSpin { to { transform: rotate(360deg); } }
@keyframes mhPulse {
    0% { box-shadow: 0 0 0 0 rgba(44, 224, 111, .5); }
    70% { box-shadow: 0 0 0 16px rgba(44, 224, 111, 0); }
    100% { box-shadow: 0 0 0 0 rgba(44, 224, 111, 0); }
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
    .mh-hero { padding: 76px 0 90px; }
    .mh-hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
    .mh-hero-card { max-width: 460px; }
    .mh-about-grid { grid-template-columns: 1fr; }
    .mh-grid-3, .mh-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .mh-process .mh-step::after { display: none; }
    .mh-value-grid { grid-template-columns: 1fr 1fr; }
    .mh-contact-layout { grid-template-columns: 1fr; }
    .mh-footer-inner { grid-template-columns: 1fr 1fr; }
    .mh-footer-legal { text-align: left; grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .mh-nav-inner { height: 70px; }
    .mh-links {
        position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch;
        gap: .35rem; padding: 1rem 24px 1.4rem; background: #fff;
        border-bottom: 1px solid var(--mh-line); box-shadow: 0 18px 30px rgba(11, 34, 68, .10);
        display: none;
    }
    .mh-links.is-open { display: flex; }
    .mh-links > a:not(.mh-btn) { padding: .65rem 0; border-bottom: 1px solid var(--mh-line); }
    .mh-links .mh-btn { margin-top: .5rem; }
    .mh-burger { display: flex; }
    .mh-section { padding: 66px 0; }
    .mh-grid-3, .mh-grid-4 { grid-template-columns: 1fr; }
    .mh-value-grid { grid-template-columns: 1fr; }
    .mh-value { padding: .8rem .9rem; }
    .mh-contact-grid { grid-template-columns: 1fr; }
    .mh-form-row { grid-template-columns: 1fr; }
    .mh-form-wrap { padding: 1.5rem; }
    .mh-footer-inner { grid-template-columns: 1fr; }
    .mh-trust { gap: .7rem; }
    .mh-about-emblem { width: 220px; height: 220px; }
    .mh-about-emblem img { width: 102px; height: 143px; }
    .mh-cta-inner { gap: 1.4rem; }
    .mh-wa-float span { display: none; }
    .mh-wa-float { padding: .9rem; }
}

@media (max-width: 420px) {
    .mh-brand-text small { display: none; }
    .mh-hero h1 { font-size: 2.1rem; }
    .mh-hero-card { padding: 1.35rem; }
    .mh-eyebrow { font-size: .68rem; letter-spacing: .08em; padding: .38rem .75rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .mh-reveal { opacity: 1; transform: none; }
}

/* ----- Impresión ----- */
@media print {
    .mh-nav, .mh-wa-float, .mh-form-wrap, .mh-cta { display: none !important; }
    body { color: #000; }
    .mh-hero { background: #0b2244 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
