/* Compra por Mayor — Sitio en construcción */
:root {
    --navy: #1f2b6c;
    --navy-900: #131a47;
    --navy-700: #2a3988;
    --cyan: #1da1db;
    --cyan-700: #1381b4;
    --cyan-300: #8fd8f8;
    --ink: #141a3a;
    --muted: #5b6488;
    --line: #dfe6f2;
    --paper: #f4f7fc;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 24px 60px -28px rgba(19, 26, 71, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* Fondo */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg__blob { position: absolute; border-radius: 50%; }
.bg__blob--1 { width: 900px; height: 900px; top: -450px; right: -400px; background: radial-gradient(closest-side, rgba(143, 216, 248, .6), rgba(143, 216, 248, 0)); }
.bg__blob--2 { width: 800px; height: 800px; bottom: -420px; left: -400px; background: radial-gradient(closest-side, rgba(201, 208, 245, .7), rgba(201, 208, 245, 0)); }
.bg__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(31, 43, 108, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 43, 108, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}

/* Estructura */
.page {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand__logo {
    height: 96px; width: auto;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 8px 24px -14px rgba(19, 26, 71, .35);
}
.brand__name { font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.status {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 11px 22px;
    font-size: 15px; font-weight: 700; color: var(--navy);
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
}
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.status__dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: var(--cyan); animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}

/* Hero */
.hero {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: 56px;
    padding: 48px 0;
}
.hero__copy { min-width: 0; }
.eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--cyan-700);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: ""; display: inline-block; vertical-align: middle;
    width: 28px; height: 2px; margin-right: 10px; background: var(--cyan);
}
.hero__title {
    margin: 0 0 20px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--navy-900);
}
.hl {
    background: linear-gradient(100deg, var(--cyan) 0%, var(--navy-700) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--cyan);
}
/* "Por mayor" destacado */
.badge-mayor {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
    padding: 8px 18px 8px 8px;
    font-size: 14px; font-weight: 600; color: var(--white);
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    border-radius: 999px;
    box-shadow: 0 10px 24px -12px rgba(19, 26, 71, .7);
}
.badge-mayor svg {
    width: 30px; height: 30px; padding: 6px;
    color: var(--navy-900); background: var(--cyan-300);
    border-radius: 50%;
}
.badge-mayor strong { color: var(--cyan-300); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.mayor { position: relative; isolation: isolate; display: inline-block; white-space: nowrap; padding: 0 .12em .08em; margin-left: .04em; }
.mayor::before {
    content: ""; position: absolute; z-index: -1;
    left: 0; right: 0; top: 18%; bottom: 8%;
    background: linear-gradient(100deg, rgba(143, 216, 248, .55), rgba(143, 216, 248, .2));
    border-radius: 10px;
    transform: skewX(-8deg);
}
.mayor__txt {
    font-size: 1.3em; font-weight: 800;
    background: linear-gradient(100deg, var(--cyan) 0%, #37b8f0 35%, var(--navy-700) 70%, var(--cyan) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--cyan);
    animation: brillo 6s ease-in-out infinite;
}
.mayor__trazo {
    position: absolute; left: 0; right: 0; bottom: -.12em;
    width: 100%; height: .32em;
    fill: none; stroke: var(--cyan); stroke-width: 7; stroke-linecap: round;
    stroke-dasharray: 320; stroke-dashoffset: 320;
}
.is-ready .mayor__trazo { animation: trazo 1s .6s ease-out forwards; }
html:not(.js) .mayor__trazo { stroke-dashoffset: 0; }
.hero__title-sub {
    display: block;
    margin-top: .25em;
    font-size: .62em; font-weight: 700; letter-spacing: -.02em;
    color: var(--navy);
}

.hero__lead { margin: 0 0 32px; max-width: 540px; font-size: 18px; color: var(--muted); }

/* Formulario */
.notify {
    display: flex; flex-wrap: wrap; gap: 10px;
    max-width: 600px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.notify__fields { flex: 1 1 320px; display: flex; gap: 10px; min-width: 0; }
.field {
    flex: 1 1 0; min-width: 0;
    display: flex; align-items: center; gap: 10px;
    padding: 0 14px;
    background: var(--paper);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: border-color .2s, background .2s;
}
.field:focus-within { border-color: var(--cyan); background: var(--white); }
.field__icon { font-size: 18px; color: var(--muted); }
.field input {
    width: 100%; min-width: 0;
    height: 50px;
    border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 15px; color: var(--ink);
}
.field input::placeholder { color: #98a0bd; }
.notify__msg { flex-basis: 100%; font-size: 14px; font-weight: 600; padding: 0 6px; }
.notify__msg:empty { display: none; }
.notify__msg.is-success { color: #0f8a5f; }
.notify__msg.is-error { color: #c0392b; }
.notify__hint { margin: 12px 0 0 4px; font-size: 13px; color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px;
    font: inherit; font-size: 15px; font-weight: 700;
    border: 0; border-radius: 12px; cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { font-size: 18px; transition: transform .2s; }
.btn--primary {
    flex: 0 0 auto;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-700), var(--navy));
    box-shadow: 0 12px 24px -12px rgba(31, 43, 108, .8);
}
.btn--primary:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--cyan-700), var(--navy-700)); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn:focus-visible, .chip:focus-visible, .social a:focus-visible, .link-about:focus-visible, .modal__close:focus-visible {
    outline: 3px solid var(--cyan-300); outline-offset: 2px;
}

/* Contacto */
.contact { margin-top: 36px; }
.contact__label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--navy); }
.contact__list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    max-width: 100%;
    padding: 10px 16px;
    font-size: 14px; font-weight: 600; color: var(--navy);
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow-wrap: anywhere;
    transition: border-color .2s, transform .2s, color .2s;
}
.chip svg { font-size: 17px; color: var(--cyan); }
.chip:hover { border-color: var(--cyan); transform: translateY(-1px); }
.chip--wsp { color: var(--white); background: #1faa59; border-color: #1faa59; }
.chip--wsp svg { color: var(--white); }
.chip--wsp:hover { background: #178c49; border-color: #178c49; }

/* Visual */
.hero__visual { min-width: 0; }
.visual {
    position: relative;
    padding: 36px 32px 28px;
    background: linear-gradient(160deg, #ffffff 0%, #eaf5fc 100%);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.boxes { display: block; width: 100%; height: auto; max-width: 360px; margin: 0 auto 20px; overflow: visible; }
.boxes polygon, .boxes polyline { stroke: none; }
.boxes__shadow { fill: rgba(19, 26, 71, .12); stroke: none; }
.box--navy .f-top { fill: #3a4ba6; }
.box--navy .f-left { fill: var(--navy); }
.box--navy .f-right { fill: var(--navy-900); }
.box--cyan .f-top { fill: var(--cyan-300); }
.box--cyan .f-left { fill: var(--cyan); }
.box--cyan .f-right { fill: var(--cyan-700); }
.box--cyan .f-inner { fill: #0f6592; }
.box--cyan .flap--l { fill: #5cc4f0; }
.box--cyan .flap--r { fill: #47b2e2; }
.boxes .tape { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 6; stroke-linecap: butt; }
.box--float { animation: float 4s ease-in-out infinite; }

.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--line);
    border-radius: 14px;
    min-width: 0;
}
.perks__icon {
    display: grid; place-items: center;
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan), var(--cyan-700));
}
.perks__icon svg { font-size: 20px; }
.perks li:nth-child(2) .perks__icon { background: linear-gradient(135deg, var(--navy-700), var(--navy)); }
.perks strong { display: block; font-size: 15px; color: var(--navy-900); line-height: 1.3; }
.perks li > span:last-child { font-size: 13px; color: var(--muted); min-width: 0; }

/* Footer */
.footer {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.footer__left { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer__copy { margin: 0; font-size: 13px; color: var(--muted); }
.footer__copy a { color: var(--navy); font-weight: 700; text-decoration: none; }
.footer__copy a:hover { color: var(--cyan-700); }
.social { display: flex; gap: 8px; }
.social a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: color .2s, border-color .2s, transform .2s;
}
.social a svg { font-size: 18px; }
.social a:hover { color: var(--cyan-700); border-color: var(--cyan); transform: translateY(-2px); }
.link-about {
    padding: 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 700; color: var(--navy);
    text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px;
}
.link-about:hover { color: var(--cyan-700); }

/* Modal */
.modal {
    position: fixed; inset: 0; z-index: 50;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(19, 26, 71, .55);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s, visibility .25s;
}
.modal.is-visible { opacity: 1; visibility: visible; }
.modal__dialog {
    position: relative;
    width: 100%; max-width: 640px; max-height: 85vh; overflow-y: auto;
    padding: 40px 36px 32px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
    transform: translateY(16px);
    transition: transform .25s;
}
.modal.is-visible .modal__dialog { transform: none; }
.modal__dialog h2 { margin: 0 0 16px; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; color: var(--navy-900); }
.modal__close {
    position: absolute; top: 16px; right: 16px;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 0; border-radius: 50%;
    color: var(--navy); background: var(--paper); cursor: pointer;
}
.modal__close svg { font-size: 18px; }
.modal__body { color: var(--muted); overflow-wrap: anywhere; }
.modal__body img, .modal__body iframe { max-width: 100%; height: auto; }
.modal__body h1, .modal__body h2, .modal__body h3 { color: var(--navy-900); font-size: 20px; }

/* Animaciones */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.is-ready .reveal { opacity: 1; transform: none; }
.is-ready .reveal:nth-child(2) { transition-delay: .08s; }
.is-ready .reveal:nth-child(3) { transition-delay: .16s; }
.is-ready .reveal:nth-child(4) { transition-delay: .24s; }
.is-ready .reveal:nth-child(5) { transition-delay: .32s; }
.is-ready .reveal:nth-child(6) { transition-delay: .4s; }
.is-ready .hero__visual { transition-delay: .2s; }

@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes brillo { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes trazo { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal, .js .reveal { opacity: 1; transform: none; }
    .mayor__trazo { stroke-dashoffset: 0; }
}

/* Responsive */
@media (max-width: 960px) {
    .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px 0; }
    .hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
    .page { padding: 18px 16px; }
    .brand__logo { height: 72px; border-radius: 14px; }
    .status { padding: 8px 15px; font-size: 13.5px; }
    .hero { padding: 28px 0 36px; }
    .hero__lead { font-size: 16px; }
    .notify__fields { flex-direction: column; flex-basis: 100%; }
    .btn--primary { width: 100%; white-space: normal; }
    .visual { padding: 24px 18px 18px; border-radius: 22px; }
    .footer { flex-direction: column; align-items: flex-start; }
    .modal__dialog { padding: 32px 22px 24px; }
}
@media (max-width: 340px) {
    .status { font-size: 0; gap: 0; padding: 10px; }
    .status__dot { margin: 0; }
}
