/* Locally hosted, Latin-subset fonts from the supplied design material. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/site/inter-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/site/inter-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/site/manrope-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/site/manrope-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/site/manrope-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/site/manrope-700-latin.woff2") format("woff2"); }

/* ==========================================================================
   Easyspec - estilos del theme
   1. Tokens  2. Base  3. Componentes  4. Header + drawer  5. Secciones home
   6. Formulario CRM (skin)  7. Footer  8. Paginas  9. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --es-navy: #130044;
    --es-ink: #07133d;
    --es-blue: #236bfd;
    --es-sky: #009eff;
    --es-cyan: #00bdd6;
    --es-text: #5b6478;
    --es-muted: #8390a8;
    --es-line: #e4e9f2;
    --es-soft: #eff6ff;
    --es-soft-2: #e9f2fc;
    --es-shape-light: #d6efff;
    --es-shape-dark: #053479;
    --es-white: #ffffff;

    --es-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --es-heading-font: "Manrope", "Inter", system-ui, sans-serif;
    --es-radius-sm: 8px;
    --es-radius: 12px;
    --es-radius-lg: 22px;
    --es-shadow-card: 0 12px 32px rgba(19, 0, 68, 0.06);
    --es-shadow-float: 0 24px 60px rgba(19, 0, 68, 0.12);

    --es-container: 1680px;
    --es-gutter: clamp(20px, 6.25vw, 120px);
    --es-section-y: clamp(64px, 8vw, 104px);
    --es-header-h: clamp(76px, 6.7vw, 128px);

    /* Tokens que consume el modulo CRM (frontend.css). */
    --voy-color-text: var(--es-ink);
    --voy-color-heading: var(--es-ink);
    --voy-color-muted: var(--es-muted);
    --voy-color-line: var(--es-line);
    --voy-color-panel: var(--es-white);
    --voy-color-surface: var(--es-white);
    --voy-color-primary: var(--es-blue);
    --voy-accent-amber: var(--es-navy);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--es-header-h) + 16px);
}

body {
    margin: 0;
    background: var(--es-white);
    color: var(--es-text);
    font-family: var(--es-font);
    font-size: 1.0625rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--es-cyan);
    outline-offset: 3px;
}

.es-container {
    width: 100%;
    max-width: calc(var(--es-container) + 2 * var(--es-gutter));
    margin-inline: auto;
    padding-inline: var(--es-gutter);
}

.es-container--narrow {
    max-width: calc(820px + 2 * var(--es-gutter));
}

.es-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: var(--es-radius-sm);
    background: var(--es-cyan);
    color: var(--es-navy);
    font-weight: 700;
    text-decoration: none;
}

.es-skip-link:focus {
    top: 16px;
}

h1, h2, h3 { font-family: var(--es-heading-font); }

/* 3. Componentes ----------------------------------------------------------- */
.es-icon {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

.es-eyebrow {
    margin-bottom: 18px;
    color: var(--es-blue);
    font-size: clamp(.875rem, 1.15vw, 1.375rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-transform: uppercase;
}

.es-eyebrow--spaced {
    font-weight: 600;
    letter-spacing: 0.16em;
}

.es-eyebrow--plain {
    color: var(--es-white);
    font-weight: 500;
}

.es-eyebrow--plain-blue {
    margin-bottom: 10px;
    font-weight: 500;
}

.es-h2 {
    color: var(--es-ink);
    font-family: var(--es-heading-font);
    font-size: clamp(1.75rem, 2.8125vw, 3.375rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.es-h2--light {
    font-weight: 500;
}

.es-lead {
    font-size: clamp(1rem, 1.35vw, 1.625rem);
    line-height: 1.55;
}

.es-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 12px 26px;
    border: 0;
    border-radius: var(--es-radius-sm);
    font: inherit;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 200ms ease, background-color 160ms ease;
}

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

.es-btn__icon {
    width: 1.15em;
    height: 1.15em;
    transition: transform 160ms ease;
}

.es-btn:hover .es-btn__icon {
    transform: translateX(3px);
}

.es-btn--navy {
    background: var(--es-navy);
    color: var(--es-white);
}

.es-btn--navy:hover {
    box-shadow: 0 12px 28px rgba(19, 0, 68, 0.28);
}

.es-btn--cyan {
    background: var(--es-cyan);
    color: var(--es-navy);
}

.es-btn--cyan:hover {
    box-shadow: 0 12px 28px rgba(0, 189, 214, 0.32);
}

.es-btn--block {
    width: 100%;
}

.es-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--es-blue);
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
}

.es-link span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.es-link__icon {
    width: 1.15em;
    height: 1.15em;
    transition: transform 160ms ease;
}

.es-link:hover .es-link__icon {
    transform: translateX(3px);
}

/* Marca */
.es-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--es-white);
    text-decoration: none;
}

.es-brand__mark {
    width: 40px;
    height: 38px;
}

.es-brand__word {
    font-size: 1.85rem;
    font-weight: 400;
    letter-spacing: 0.035em;
    line-height: 1;
    transform: translateY(-2px);
}

.es-brand__word b {
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* 4. Header + drawer (patron neometis) ------------------------------------- */
.es-header {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 50;
    background: var(--es-navy);
    color: var(--es-white);
    transition: box-shadow 200ms ease;
}

.es-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(19, 0, 68, 0.25);
}

.es-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: var(--es-header-h);
}

.es-nav {
    display: none;
    margin-inline: auto;
}

.es-nav__menu {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.7vw, 52px);
}

.es-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.es-nav__link {
    position: relative;
    padding-block: 12px;
    color: var(--es-white);
    font-size: clamp(.875rem, 1.1vw, 1.25rem);
    font-weight: 500;
    text-decoration: none;
}

.es-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--es-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
}

.es-nav__link:hover::after,
.es-nav__link[aria-current]::after,
.es-nav__link.is-section-current::after {
    transform: scaleX(1);
}

.es-nav__submenu-toggle {
    display: inline-flex;
    padding: 4px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

.es-nav__submenu {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 220px;
    padding: 10px;
    border-radius: var(--es-radius);
    background: var(--es-white);
    box-shadow: var(--es-shadow-float);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.es-nav__item:hover .es-nav__submenu,
.es-nav__item.is-open .es-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.es-nav__sublink {
    display: block;
    padding: 10px 12px;
    border-radius: var(--es-radius-sm);
    color: var(--es-ink);
    font-weight: 500;
    text-decoration: none;
}

.es-nav__sublink:hover {
    background: var(--es-soft);
}

.es-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.es-header__cta {
    min-height: 48px;
    padding-inline: 22px;
}

.es-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--es-radius-sm);
    background: transparent;
    color: var(--es-white);
    cursor: pointer;
}

.es-burger {
    display: grid;
    gap: 5px;
    width: 22px;
}

.es-burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.es-drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    pointer-events: none;
}

.es-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.es-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 19, 61, 0.55);
    opacity: 0;
    transition: opacity 240ms ease;
}

.es-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(400px, 88vw);
    padding: 20px 24px 28px;
    background: var(--es-navy);
    color: var(--es-white);
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    outline: none;
    overflow-y: auto;
}

.es-drawer.is-open .es-drawer__overlay {
    opacity: 1;
}

.es-drawer.is-open .es-drawer__panel {
    transform: none;
}

.es-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.es-brand--drawer .es-brand__mark {
    width: 32px;
    height: 30px;
}

.es-brand--drawer .es-brand__word {
    font-size: 1.5rem;
}

.es-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--es-radius-sm);
    background: transparent;
    color: var(--es-white);
    font-size: 1.4rem;
    cursor: pointer;
}

.es-drawer__nav {
    padding-block: 12px;
}

.es-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--es-white);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
}

.es-drawer__link .es-icon {
    color: var(--es-cyan);
}

.es-drawer__link[aria-current],
.es-drawer__link.is-section-current {
    color: var(--es-cyan);
}

.es-drawer__submenu {
    padding: 4px 0 12px 12px;
}

.es-drawer__sublink {
    display: block;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.es-drawer__foot {
    margin-top: auto;
    padding-top: 24px;
}

@media (min-width: 1024px) {
    .es-nav {
        display: block;
    }

    .es-header__toggle,
    .es-drawer {
        display: none;
    }
}

@media (max-width: 639px) {
    :root {
        --es-header-h: 72px;
    }

    .es-header__cta {
        display: none;
    }

    .es-header .es-brand__mark {
        width: 34px;
        height: 32px;
    }

    .es-header .es-brand__word {
        font-size: 1.55rem;
    }
}

/* 5. Landing — reference 02_Easyspec · Escritorio -------------------------- */
.es-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.es-brand__logo { width: clamp(160px, 14vw, 260px); height: auto; }
.es-wordmark { white-space: nowrap; font-weight: 400; }
.es-wordmark b { font-weight: 700; }
.es-brand--footer .es-brand__logo { width: clamp(230px, 25vw, 470px); }
.es-footer__social-icon { width: 36px; height: 36px; object-fit: contain; }
.es-main section { scroll-margin-top: calc(var(--es-header-h) + 20px); }
[data-es-center-anchor] { scroll-margin-top: var(--es-anchor-space, 0px); }
.es-main section h3 { color: var(--es-ink); font-size: clamp(1.0625rem, 1.55vw, 1.875rem); line-height: 1.25; font-weight: 600; }
.es-main section p { text-wrap: pretty; }
.es-hero { position: relative; isolation: isolate; overflow: hidden; background: #eff7ff; }
.es-hero__inner { min-height: clamp(540px, 40.4vw, 776px); display: flex; align-items: center; }
.es-hero__copy { position: relative; z-index: 2; width: 46%; padding-block: 64px; padding-right: 36px; }
.es-hero__title { max-width: 18ch; color: var(--es-ink); font: 700 clamp(2.125rem, 3.125vw, 3.75rem)/1.04 var(--es-heading-font); letter-spacing: -.035em; }
.es-hero__accent { color: var(--es-blue); }
.es-hero__line { display: block; }
.es-hero__lead { max-width: 650px; margin-top: 32px; color: #3c3c3c; font-size: clamp(1rem, 1.35vw, 1.625rem); line-height: 1.35; }
.es-hero__connection { color: #246bfe; font-weight: 600; }
.es-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.es-hero__actions .es-btn, .es-hero__actions .es-link { font-size: clamp(.875rem, 1.1vw, 1.25rem); }
.es-hero__actions .es-btn { padding-inline: 24px; }
.es-hero__media { position: absolute; inset: 0 0 0 48.5%; overflow: hidden; border-bottom-left-radius: 64px; }
.es-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.es-hero__shapes, .es-providers__shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.es-hero__symbol { position: absolute; top: 50%; left: -17vw; width: clamp(800px, 78vw, 1500px); max-width: none; height: auto; transform: translateY(-50%); }
.es-providers__shapes span { position: absolute; width: 33vw; height: 6.4vw; border-radius: 100px; transform: rotate(-44deg); }
.es-problem { padding-block: clamp(64px, 11.3vw, 216px) clamp(64px, 7.8vw, 150px); }
.es-problem__grid { display: grid; grid-template-columns: minmax(0, 1fr) 38px minmax(0, min(40vw, 768px)); align-items: center; column-gap: clamp(24px, 3.4vw, 65px); row-gap: 32px; }
.es-problem__copy { grid-column: 1; grid-row: 1; align-self: end; }
.es-problem__copy .es-eyebrow { max-width: 30ch; }
.es-problem__copy .es-lead { margin-top: 38px; }
.es-sources { display: grid; gap: 16px; }
.es-problem__grid > .es-sources { grid-column: 1; grid-row: 2; align-self: start; }
.es-sources__item { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 9px; background: #fff; box-shadow: 0 5px 24px #1300440b; font-size: clamp(.9375rem, 1.25vw, 1.5rem); line-height: 1.35; }
.es-sources__icon { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.es-problem__arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--es-blue); font-size: 42px; }
.es-problem__solution { grid-column: 3; grid-row: 1 / span 2; min-width: 0; }
.es-problem__solution .es-eyebrow { margin-bottom: 12px; }
.es-eyebrow--brand { text-transform: none; letter-spacing: .06em; }
.es-problem__solution h3 { margin-bottom: 22px; }
.es-problem__solution > img { width: 100%; }
.es-problem__capture-link { margin-top: 16px; min-height: 44px; }
.es-features { padding-block: clamp(60px, 6.7vw, 128px); background: linear-gradient(#fcfdff, #e3edf6); }
.es-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.es-feature { padding: clamp(22px, 2vw, 38px); border-radius: 12px; background: #fff; }
.es-feature__icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 16px; }
.es-feature p, .es-step p, .es-connection p { font-size: clamp(1rem, 1.35vw, 1.625rem); line-height: 1.35; margin-top: 7px; }
.es-steps { padding-top: clamp(64px, 6.5vw, 125px); scroll-margin-top: calc(var(--es-header-h) + 20px); }
.es-steps .es-h2 { font-size: clamp(1.65rem, 2.6vw, 3.1rem); }
.es-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 5vw, 96px); margin-top: 42px; padding-inline: 4%; }
.es-step { display: flex; align-items: flex-start; gap: 20px; }
.es-step__num { width: clamp(48px, 4.4vw, 84px); height: auto; flex-shrink: 0; }
.es-step h3 { font-weight: 500; }
.es-providers { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 7.9vw, 152px); background: var(--es-navy); color: #e2ddef; }
.es-providers__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.2fr) minmax(0, .5fr); gap: clamp(24px, 3.5vw, 68px); align-items: center; }
.es-providers__title { color: #fff; font-weight: 700; }
.es-providers__copy .es-eyebrow { letter-spacing: 0; }
.es-providers__lead { font-size: clamp(1rem, 1.35vw, 1.625rem); line-height: 1.35; margin-top: 24px; }
.es-providers__copy .es-btn { margin-top: 24px; font-size: clamp(.9375rem, 1.1vw, 1.25rem); }
.es-providers__media { min-width: 0; }
.es-providers__media img { width: 100%; border-radius: 8px; box-shadow: 0 0 0 2px #ffffff60; }
.es-checklist { display: grid; gap: 28px; font-size: clamp(.875rem, 1.15vw, 1.375rem); line-height: 1.4; }
.es-checklist li { display: flex; gap: 14px; align-items: center; }
.es-checklist__icon { width: 36px; height: 36px; flex-shrink: 0; }
.es-providers__shapes span { background: #053479; right: -7%; top: 5%; width: 37vw; }
.es-providers__shapes span:nth-child(2) { right: -10%; top: 55%; }
.es-connections { padding-block: clamp(64px, 6.8vw, 130px); }
.es-main #como-funciona { scroll-margin-top: 0; }
.es-connections__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11%; margin-top: 64px; padding-inline: 2%; }
.es-connection__icon { width: clamp(88px, 7.6vw, 146px); height: auto; margin-bottom: 22px; }
.es-connection h3 { max-width: 26ch; }
.es-platform { padding-block: clamp(42px, 3vw, 58px); background: linear-gradient(#e2ecf6, #f4f8fc); }
.es-platform__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 2.25fr); gap: 48px; align-items: center; }
.es-platform__copy .es-lead { margin-top: 32px; }
.es-carousel { position: relative; min-width: 0; }
.es-carousel__slides { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; border-radius: 20px; }
.es-carousel.is-enhanced .es-carousel__slides { scrollbar-width: none; }
.es-carousel.is-enhanced .es-carousel__slides::-webkit-scrollbar { display: none; }
.es-carousel__slide { flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: start; }
.es-carousel__slide img { width: 100%; aspect-ratio: 1080 / 665; object-fit: contain; }
.es-carousel__controls { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: -12px; position: relative; }
.es-carousel__controls[hidden] { display: none; }
.es-carousel__dots { display: flex; }
.es-carousel__dot, .es-carousel__arrow, .es-carousel__toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 0; background: transparent; color: var(--es-ink); cursor: pointer; border-radius: 50%; }
.es-carousel__dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7e8792; transition: background-color 150ms; }
.es-carousel__dot[aria-current="true"]::after { background: var(--es-blue); box-shadow: 0 0 0 3px #236bfd20; }
.es-carousel__arrow:hover, .es-carousel__dot:hover, .es-carousel__toggle:hover { background: #ffffffb3; }
.es-carousel__arrow svg, .es-carousel__toggle svg { width: 18px; height: 18px; }
.es-carousel__play-icon, .es-carousel__toggle[data-paused="true"] .es-carousel__pause-icon { display: none; }
.es-carousel__toggle[data-paused="true"] .es-carousel__play-icon { display: block; }
.es-carousel__arrow[data-carousel-prev] svg { transform: rotate(180deg); }
.es-instagram { padding-block: clamp(48px, 4vw, 76px) clamp(64px, 6vw, 115px); background: #eff7ff; }
.es-instagram__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.es-instagram__head .es-eyebrow { margin-bottom: 8px; letter-spacing: 0; }
.es-instagram__lead { font-size: clamp(1rem, 1.35vw, 1.625rem); margin-top: 8px; }
.es-instagram__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.es-instagram__item { overflow: hidden; border-radius: 9px; background: #c8c8c8; }
.es-instagram__item a, .es-instagram__preview { position: relative; display: block; aspect-ratio: 1.1; overflow: hidden; }
.es-instagram__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.es-instagram__item a:hover img { transform: scale(1.04); }
.es-instagram__mark { position: absolute; left: 24px; bottom: 24px; width: 64px; height: 60px; color: #fff; filter: drop-shadow(0 2px 8px #0003); }
.es-faq { padding-block: clamp(48px, 4vw, 76px) clamp(64px, 8vw, 154px); }
.es-faq__list { display: grid; gap: 12px; margin-top: 44px; }
.es-faq__item { border: 1px solid var(--es-line); border-radius: 8px; }
.es-faq__question { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 28px; color: var(--es-ink); font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.625rem); cursor: pointer; list-style: none; }
.es-faq__question::-webkit-details-marker { display: none; }
.es-faq__chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform 200ms; }
.es-faq__item[open]:not(.is-closing) .es-faq__chevron { transform: rotate(180deg); }
.es-faq__answer { overflow: hidden; }
.es-faq__answer p { padding: 0 28px 24px; max-width: 105ch; }
.es-demo { padding-block: clamp(64px, 6vw, 115px); background: #e8f3ff; }
.es-demo__inner { text-align: center; }
.es-demo__lead { max-width: 1000px; margin: 20px auto 38px; font-size: clamp(1rem, 1.4vw, 1.625rem); line-height: 1.35; }
.es-demo__card { max-width: 1040px; width: 63%; margin-inline: auto; padding: clamp(24px, 3.6vw, 68px); background: #fff; border-radius: 16px; box-shadow: var(--es-shadow-card); text-align: left; }
@media (max-width: 1199px) {
    .es-problem__grid { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 40vw); column-gap: 24px; }
    .es-sources__item { padding: 16px 14px; gap: 12px; }
    .es-sources__icon { width: 30px; height: 30px; }
    .es-providers__grid { grid-template-columns: 1fr 1.1fr; }
    .es-checklist { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; }
    .es-checklist li { flex: 1; }
    .es-hero__actions { gap: 18px; }
    .es-connections__grid { gap: 6%; }
}
@media (max-width: 959px) {
    .es-hero__inner { min-height: 0; }
    .es-hero__copy { width: 100%; padding: 56px 0 44px; max-width: 700px; }
    .es-hero__title { font-size: clamp(2.2rem, 5.8vw, 3.25rem); max-width: 22ch; }
    .es-hero__line { display: inline; }
    .es-hero__lead { margin-top: 24px; max-width: 62ch; }
    .es-hero__actions { margin-top: 28px; }
    .es-hero__media { position: relative; inset: auto; width: 100%; border-radius: 0; }
    .es-hero__media img { height: auto; aspect-ratio: 1672 / 941; object-fit: contain; }
    .es-hero__symbol { top: 260px; left: 50%; width: clamp(680px, 140vw, 1000px); transform: translate(-50%, -50%); }
    .es-problem__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .es-problem__copy { grid-column: 1 / -1; grid-row: auto; max-width: 650px; }
    .es-problem__copy .es-lead { margin-top: 22px; }
    .es-problem__grid > .es-sources { grid-column: 1 / -1; grid-row: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .es-problem__solution { grid-column: 1 / -1; grid-row: auto; width: 100%; max-width: 768px; justify-self: center; }
    .es-problem__arrow { display: none; }
    .es-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .es-steps__list { gap: 24px; padding-inline: 0; }
    .es-step { gap: 12px; }
    .es-step__num { width: 44px; }
    .es-platform__grid { gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
    .es-instagram__head { align-items: flex-start; }
    .es-instagram__head .es-link { font-size: .9375rem; }
    .es-instagram__grid { gap: 16px; }
    .es-instagram__mark { width: 42px; height: 40px; left: 16px; bottom: 16px; }
    .es-demo__card { width: 80%; }
}
@media (max-width: 767px) {
    .es-steps__list { grid-template-columns: 1fr; gap: 28px; }
    .es-step { gap: 20px; }
    .es-step__num { width: 48px; }
    .es-step p { max-width: 52ch; }
    .es-connections__grid { gap: 28px; margin-top: 36px; padding: 0; }
    .es-connection__icon { width: 80px; }
    .es-platform__grid { grid-template-columns: 1fr; }
    .es-platform__copy { max-width: 560px; }
    .es-platform__copy .es-lead { margin-top: 20px; }
    .es-instagram__head { flex-direction: column; gap: 20px; }
    .es-instagram__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .es-faq__question { padding: 18px; }
    .es-faq__answer p { padding: 0 18px 20px; }
    .es-demo__card { width: 100%; max-width: 600px; }
}
@media (max-width: 599px) {
    .es-hero__title { font-size: clamp(2rem, 8.7vw, 2.75rem); }
    .es-hero__copy { padding-block: 44px 36px; }
    .es-hero__actions { gap: 22px; }
    .es-hero__actions .es-btn { font-size: .9375rem; }
    .es-hero__actions .es-link { font-size: .9375rem; min-height: 44px; }
    .es-problem__grid { grid-template-columns: 1fr; gap: 32px; }
    .es-problem__grid > .es-sources { grid-template-columns: 1fr; }
    .es-sources { gap: 12px; }
    .es-sources__item { padding: 16px 18px; }
    .es-sources__icon { width: 36px; height: 36px; }
    .es-problem__solution { max-width: none; }
    .es-problem__solution h3 { max-width: 32ch; }
    .es-features__grid { gap: 14px; margin-top: 32px; }
    .es-feature { padding: 20px 16px; }
    .es-feature__icon { width: 52px; height: 52px; }
    .es-feature h3 { font-size: 1.0625rem; }
    .es-feature p { font-size: .9375rem; }
    .es-providers__grid { grid-template-columns: 1fr; gap: 36px; }
    .es-checklist { display: grid; grid-column: auto; gap: 18px; }
    .es-checklist li { gap: 16px; font-size: 1rem; }
    .es-providers__shapes span { width: 80vw; height: 15vw; top: 40%; }
    .es-providers__shapes span:nth-child(2) { top: 70%; }
    .es-connections__grid { grid-template-columns: 1fr; gap: 32px; }
    .es-connection { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 20px; align-items: start; }
    .es-connection__icon { width: 68px; margin: 0; grid-row: span 2; }
    .es-connection h3 { margin-top: 3px; }
    .es-connection p { grid-column: 2; margin-top: 6px; }
    .es-instagram__grid { gap: 12px; }
    .es-instagram__mark { width: 36px; height: 34px; left: 12px; bottom: 12px; }
    .es-faq__list { margin-top: 28px; }
    .es-demo__card { padding: 24px 20px; }
}
@media (max-width: 359px) {
    .es-carousel__controls { gap: 4px; }
    .es-carousel__dot { width: 32px; }
    .es-features__grid { grid-template-columns: 1fr; }
    .es-feature { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; }
    .es-feature__icon { grid-row: span 2; width: 48px; margin-bottom: 0; }
    .es-feature p { grid-column: 2; }
}

/* Keep primary links usable when enhancement scripts are unavailable. */
@media (max-width: 1023px) {
    html:not(.es-js) .es-header { position: static; }
    html:not(.es-js) .es-header__inner { flex-wrap: wrap; gap: 16px; padding-block: 20px; }
    html:not(.es-js) .es-nav { display: block; order: 3; width: 100%; }
    html:not(.es-js) .es-nav__menu { flex-wrap: wrap; gap: 12px 24px; }
    html:not(.es-js) .es-header__toggle { display: none; }
}

/* 6. Formulario CRM (skin via variables del modulo) ------------------------ */
.es-demo__card .nm-crm-form {
    --nm-crm-field-gap: 10px;
    --nm-crm-label-color: var(--es-ink);
    --nm-crm-label-font-size: 1.05rem;
    --nm-crm-input-bg: var(--es-white);
    --nm-crm-input-border-color: var(--es-line);
    --nm-crm-input-hover-border-color: #cbd5e6;
    --nm-crm-input-focus-border-color: var(--es-blue);
    --nm-crm-input-radius: var(--es-radius-sm);
    --nm-crm-input-shadow: none;
    --nm-crm-input-color: var(--es-ink);
    --nm-crm-input-padding-y: 14px;
    --nm-crm-input-padding-x: 16px;
    --nm-crm-submit-bg: var(--es-navy);
    --nm-crm-submit-hover-bg: #1d0a5c;
    --nm-crm-submit-active-bg: var(--es-navy);
    --nm-crm-submit-color: var(--es-white);
    --nm-crm-submit-radius: var(--es-radius-sm);
    --nm-crm-submit-shadow: none;
    --nm-crm-submit-hover-shadow: 0 12px 28px rgba(19, 0, 68, 0.25);
    --nm-crm-submit-active-shadow: none;
    --nm-crm-submit-font-size: 1.0625rem;
    --nm-crm-submit-button-width-desktop: 100%;
    gap: 22px;
    color: var(--es-ink);
}

.es-demo__card .nm-crm-form__fields {
    gap: 22px;
}

.es-demo__card .nm-crm-field__label {
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.es-demo__card .nm-crm-field__input {
    min-height: 52px;
}

.es-demo__card .nm-crm-field__input::placeholder {
    color: var(--es-muted);
}

.es-demo__card .nm-crm-field__input:focus {
    box-shadow: 0 0 0 4px rgba(35, 107, 253, 0.12);
}

.es-demo__card .nm-crm-form__actions {
    margin-top: 8px;
}

.es-demo__card .nm-crm-form__submit {
    font-weight: 600;
}

/* Toasts del CRM con la marca Easyspec. */
.nm-crm-toasts {
    --nm-crm-toast-ink: var(--es-ink);
    --nm-crm-toast-muted: var(--es-text);
    --nm-crm-toast-info: var(--es-blue);
    --nm-crm-toast-success: #12a150;
    --nm-crm-toast-error: #e5484d;
    --nm-crm-toast-radius: var(--es-radius);
    font-family: var(--es-font);
}

.es-demo__card .nm-crm-field__error {
    margin: 0;
    font-size: 0.92rem;
    color: #d93a3f;
}

.es-demo__card .nm-crm-field__input[aria-invalid="true"] {
    border-color: #ef8a8d;
    box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.1);
}

.es-demo__card .nm-crm-form__submit .nm-crm-form__spinner {
    width: 18px;
    height: 18px;
}

.es-demo__card .nm-crm-form__messages {
    padding: 14px 16px;
    border-radius: var(--es-radius-sm);
    font-weight: 500;
}

.es-demo__card .nm-crm-form__messages--success {
    background: #e7f8ef;
    color: #146c43;
}

.es-demo__card .nm-crm-form__messages--error {
    background: #fdecec;
    color: #a3261d;
}

/* 7. Footer (patron voy-starter) ------------------------------------------ */
.es-footer {
    background: var(--es-navy);
    color: var(--es-white);
}

.es-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 48px;
    padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 72px);
}

.es-brand--footer {
    gap: 14px;
}

.es-brand--footer .es-brand__mark {
    width: 60px;
    height: 57px;
}

.es-brand--footer .es-brand__word {
    font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem);
}

.es-footer__tagline {
    margin-top: 22px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.es-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.es-footer__title {
    margin-bottom: 26px;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.es-footer__links {
    display: grid;
    gap: 14px;
}

.es-footer__link,
.es-footer__legal-link {
    color: var(--es-white);
    font-size: 1.1rem;
    text-decoration: none;
}

.es-footer__link:hover,
.es-footer__legal-link:hover {
    color: var(--es-cyan);
}

.es-footer__socials {
    display: flex;
    gap: 22px;
}

.es-footer__social {
    display: inline-flex;
    color: var(--es-white);
    font-size: 2.3rem;
    transition: color 160ms ease, transform 160ms ease;
}

.es-footer__social .es-icon {
    stroke-width: 1.4;
}

.es-footer__social:hover {
    color: var(--es-cyan);
    transform: translateY(-2px);
}

.es-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.es-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding-block: 26px 30px;
}

.es-footer__copy {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.05rem;
}

.es-footer__legal {
    display: flex;
    gap: 22px;
}

@media (max-width: 959px) {
    .es-footer__main {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 519px) {
    .es-footer__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 8. Paginas genericas ----------------------------------------------------- */
.es-page__head {
    padding-block: clamp(48px, 6vw, 80px) 32px;
    background: var(--es-soft);
}

.es-page .es-prose {
    padding-block: 40px var(--es-section-y);
}

/* 404 */
.es-404 {
    position: relative;
    overflow: hidden;
    background: var(--es-soft);
}

.es-404__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
    min-height: clamp(520px, 42vw, 640px);
    padding-block: clamp(56px, 7vw, 96px);
}

.es-404__title {
    margin-bottom: 22px;
    color: var(--es-ink);
    font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.es-404__lead {
    max-width: 520px;
    margin-bottom: 34px;
    font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3rem);
}

.es-404__visual {
    display: grid;
    justify-items: center;
    gap: 28px;
}

.es-404__code {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 20px);
    color: var(--es-navy);
    font-size: clamp(6rem, 4rem + 8vw, 11rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.es-404__mark {
    width: 0.78em;
    height: auto;
    color: var(--es-navy);
    animation: es-404-float 4s ease-in-out infinite;
}

@keyframes es-404-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-4deg); }
}

.es-404__search {
    width: min(100%, 460px);
    overflow: hidden;
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
    background: var(--es-white);
    box-shadow: var(--es-shadow-float);
}

.es-404__search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--es-line);
    color: var(--es-muted);
    font-size: 0.95rem;
}

.es-404__search-bar .es-icon {
    flex: 0 0 auto;
    color: var(--es-blue);
    font-size: 1.15rem;
}

.es-404__query {
    overflow: hidden;
    color: var(--es-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.es-404__query::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 3px;
    vertical-align: -2px;
    background: var(--es-blue);
    animation: es-404-caret 1s steps(1) infinite;
}

@keyframes es-404-caret {
    50% { opacity: 0; }
}

.es-404__search-empty {
    display: grid;
    gap: 4px;
    padding: 18px 16px 6px;
}

.es-404__search-empty strong {
    color: var(--es-ink);
    font-size: 1.05rem;
}

.es-404__search-empty span {
    font-size: 0.95rem;
}

.es-404__skeleton {
    display: grid;
    gap: 8px;
    padding: 12px 16px 20px;
}

.es-404__skeleton i {
    display: block;
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--es-soft) 0%, #e3ecfa 50%, var(--es-soft) 100%);
    background-size: 200% 100%;
    animation: es-404-shimmer 1.6s linear infinite;
}

.es-404__skeleton i:nth-child(2) { width: 82%; }
.es-404__skeleton i:nth-child(3) { width: 58%; }

@keyframes es-404-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.es-404-links {
    padding-block: clamp(48px, 6vw, 80px);
}

.es-404-links__title {
    margin-bottom: 24px;
    color: var(--es-ink);
    font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem);
    font-weight: 600;
}

.es-404-links__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.es-404-links__card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
    background: var(--es-white);
    color: var(--es-text);
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.es-404-links__card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--es-shadow-float);
}

.es-404-links__card .es-feature__icon {
    width: 52px;
    height: 52px;
    margin: 0;
    font-size: 1.6rem;
}

.es-404-links__body {
    display: grid;
    gap: 2px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.es-404-links__body strong {
    color: var(--es-ink);
    font-size: 1.1rem;
}

.es-404-links__arrow {
    color: var(--es-blue);
    font-size: 1.2rem;
    transition: transform 200ms ease;
}

.es-404-links__card:hover .es-404-links__arrow {
    transform: translateX(3px);
}

@media (max-width: 1100px) {
    .es-404-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 859px) {
    .es-404__grid {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .es-404__visual {
        justify-items: start;
    }
}

@media (max-width: 559px) {
    .es-404-links__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .es-404__mark,
    .es-404__query::after,
    .es-404__skeleton i {
        animation: none;
    }
}

.es-prose {
    font-size: 1.1rem;
    line-height: 1.7;
}

.es-prose > * + * {
    margin-top: 1.1em;
}

.es-prose h2,
.es-prose h3 {
    color: var(--es-ink);
    line-height: 1.25;
}

.es-prose a {
    color: var(--es-blue);
}

.es-prose ul {
    padding-left: 1.2em;
    list-style: disc;
}

.es-post-row + .es-post-row {
    padding-top: 1.4em;
    border-top: 1px solid var(--es-line);
}

/* 9. Motion ---------------------------------------------------------------- */
@keyframes es-page-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

.es-js body { animation: es-page-enter 360ms ease-out; }

.es-js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.es-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

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

    .es-js body {
        animation: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .es-js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
