/* VentaPOS — Estilos */

:root {
    --red:    #C8321A;
    --red-h:  #a82612;
    --black:  #0a0a0a;
    --d1:     #111;
    --d2:     #1c1c1c;
    --d3:     #2a2a2a;
    --mid:    #555;
    --soft:   #888;
    --line:   #e5e5e5;
    --bg:     #fff;
    --bg2:    #f6f6f6;
    --gold:   #b87020;
    --goldbg: #120e04;
    --white:  #fff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--d1);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--red); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ── NAV ─────────────────────────────── */
nav#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 300;
    height: 58px;
    display: flex; align-items: center;
    padding: 0 40px;
    gap: 28px;
    border-bottom: 1px solid transparent;
    transition: background .25s, border-color .25s;
}
nav#navbar.scrolled {
    background: rgba(10,10,10,.95);
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,.07);
}
.nav-logo {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    margin-right: auto;   /* empuja todo lo demás a la derecha */
    flex-shrink: 0;
}
.nav-logo em { font-style: normal; color: var(--red); }

.nav-link {
    font-size: .85rem; font-weight: 500;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}
.nav-link:hover { color: #fff; }

.nav-cta {
    background: var(--red); color: #fff;
    font-size: .85rem; font-weight: 600;
    text-decoration: none;
    padding: 7px 16px; border-radius: 6px;
    white-space: nowrap;
    transition: background .15s;
}
.nav-cta:hover { background: var(--red-h); }


/* ── HERO ────────────────────────────── */
#hero {
    background: var(--black);
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 80px 40px 60px;
    position: relative; overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(200,50,26,.13) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(200,50,26,.06) 0%, transparent 50%);
    pointer-events: none;
}
#hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; opacity: .4;
}
.hero-wrap {
    max-width: 1100px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
    position: relative; z-index: 1;
}
.hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    padding: 6px 14px; border-radius: 20px;
    margin-bottom: 24px;
}
.hero-label-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px rgba(200,50,26,.7);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.hero-text h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    font-weight: 400; line-height: 1.06;
    letter-spacing: -.03em; color: #fff;
    margin-bottom: 16px;
}
.hero-text h1 em { font-style: italic; color: var(--red); }
.hero-text p {
    font-size: .95rem; color: rgba(255,255,255,.4);
    line-height: 1.75; max-width: 400px; margin-bottom: 32px;
}
.hero-ctas { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red); color: #fff;
    text-decoration: none; font-size: .9rem; font-weight: 700;
    padding: 13px 28px; border-radius: 8px;
    box-shadow: 0 4px 20px rgba(200,50,26,.4);
    transition: background .15s, transform .15s, box-shadow .15s;
    letter-spacing: -.01em;
}
.btn-primary:hover {
    background: var(--red-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200,50,26,.55);
}
.btn-ghost {
    font-size: .875rem; font-weight: 500;
    color: rgba(255,255,255,.4); text-decoration: none;
    transition: color .15s;
}
.btn-ghost:hover { color: rgba(255,255,255,.8); }
.hero-note { font-size: .75rem; color: rgba(255,255,255,.2); }

/* Hero trust + avatars */
.hero-trust {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-top: 32px; margin-bottom: 16px;
}
.hero-avatars { display: flex; }
.ha {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .62rem; font-weight: 800; color: #fff;
    border: 2px solid var(--black);
    margin-right: -8px; position: relative;
}
.hero-trust-text { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; }
.hero-trust-stars { font-size: .75rem; color: #f59e0b; letter-spacing: .05em; }
.hero-trust-text span { font-size: .72rem; color: rgba(255,255,255,.3); font-weight: 500; }
.hero-badges {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .7rem; font-weight: 600;
    color: rgba(255,255,255,.3);
    border: 1px solid rgba(255,255,255,.09);
    padding: 5px 11px; border-radius: 20px;
    background: rgba(255,255,255,.03);
}
.hero-badge svg { color: var(--red); flex-shrink: 0; }

/* Hero floating cards */
.hero-screen { position: relative; }
.hero-float {
    position: absolute;
    background: rgba(18,18,18,.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    z-index: 10; pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.hero-float--a {
    top: -18px; right: -24px;
    animation: hf-bob 4s ease-in-out infinite;
}
.hero-float--b {
    bottom: 24px; left: -28px;
    animation: hf-bob 4s ease-in-out infinite reverse;
}
@keyframes hf-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.hf-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34,197,94,.7);
    flex-shrink: 0;
}
.hf-label { font-size: .62rem; color: rgba(255,255,255,.35); font-weight: 500; white-space: nowrap; }
.hf-val { font-size: .82rem; font-weight: 700; color: #fff; white-space: nowrap; }
.hf-ok { color: #22c55e; }

/* Testimonios */
#testimonios { background: var(--bg2); border-top: 1px solid var(--line); }
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testi-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex; flex-direction: column; gap: 18px;
    transition: box-shadow .2s, border-color .2s, transform .2s;
}
.testi-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    border-color: #ddd;
    transform: translateY(-3px);
}
.testi-card--featured {
    background: var(--d1);
    border-color: rgba(200,50,26,.25);
    box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.testi-card--featured:hover {
    border-color: rgba(200,50,26,.45);
    box-shadow: 0 20px 56px rgba(0,0,0,.3);
}
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 16px; height: 16px; flex-shrink: 0; }
.testi-quote {
    font-size: .875rem; line-height: 1.75;
    color: var(--mid); flex: 1;
    font-style: italic;
}
.testi-card--featured .testi-quote { color: rgba(255,255,255,.45); }
.testi-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.testi-card--featured .testi-author { border-color: rgba(255,255,255,.07); }
.testi-av {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 800; color: #fff;
    flex-shrink: 0;
}
.testi-info { display: flex; flex-direction: column; gap: 2px; }
.testi-info strong {
    font-size: .84rem; font-weight: 700; color: var(--d1);
}
.testi-card--featured .testi-info strong { color: #fff; }
.testi-info span { font-size: .72rem; color: var(--soft); }
.testi-card--featured .testi-info span { color: rgba(255,255,255,.3); }

/* POS Mockup */
.pos-screen {
    background: #161616;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
}
.pos-bar {
    background: #1e1e1e;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
}
.pos-dots { display: flex; gap: 5px; }
.pos-dots span { display: block; width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.pos-bartitle { font-size: .7rem; color: rgba(255,255,255,.2); flex: 1; text-align: center; }
.pos-bartime  { font-size: .7rem; color: rgba(255,255,255,.2); }

.pos-body { display: grid; grid-template-columns: 1fr 1fr; }
.pos-products { border-right: 1px solid rgba(255,255,255,.05); padding: 12px; }
.pos-ticket   { padding: 12px; display: flex; flex-direction: column; }

.pos-col-label {
    font-size: .6rem; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(255,255,255,.2);
    font-weight: 700; margin-bottom: 8px;
}

.pos-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 9px; border-radius: 5px; margin-bottom: 3px;
    cursor: pointer; transition: background .12s, transform .1s;
    user-select: none;
}
.pos-item:hover { background: rgba(200,50,26,.12); transform: scale(1.01); }
.pos-item:active { transform: scale(.98); }
.pos-item span { font-size: .73rem; color: rgba(255,255,255,.55); }
.pos-item b    { font-size: .73rem; color: rgba(255,255,255,.8); font-weight: 600; }

.pos-items-list { flex: 1; min-height: 100px; }
.pos-empty { font-size: .72rem; color: rgba(255,255,255,.2); padding: 8px 0; }

.pos-titem {
    display: flex; justify-content: space-between;
    padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.pos-titem span { font-size: .7rem; color: rgba(255,255,255,.35); }
.pos-titem b    { font-size: .7rem; color: rgba(255,255,255,.65); font-weight: 600; }

.pos-divider { height: 1px; background: rgba(255,255,255,.07); margin: 10px 0; }
.pos-total-row {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 10px;
}
.pos-total-row span { font-size: .75rem; color: rgba(255,255,255,.4); font-weight: 500; }
.pos-total-row b    { font-size: 1rem; color: #fff; font-weight: 700; }

.pos-cobrar {
    width: 100%; background: var(--red); color: #fff;
    border: none; cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .75rem; font-weight: 700;
    padding: 9px; border-radius: 5px;
    margin-bottom: 5px; transition: background .15s;
}
.pos-cobrar:hover { background: var(--red-h); }
.pos-cobrar.success { background: #16a34a; }

.pos-clear {
    width: 100%; background: transparent;
    border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.3);
    cursor: pointer; font-family: 'Inter', sans-serif;
    font-size: .7rem; font-weight: 500;
    padding: 6px; border-radius: 5px;
    margin-bottom: 8px; transition: border-color .15s, color .15s;
}
.pos-clear:hover { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.6); }

.pos-conn {
    display: flex; align-items: center; gap: 5px;
    font-size: .62rem; color: rgba(255,255,255,.2);
}
.conn-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #22c55e; display: inline-block;
}

/* ── STATS ───────────────────────────── */
.stats-bar {
    background: var(--d1);
    border-top: 1px solid rgba(200,50,26,.2);
    border-bottom: 1px solid #1e1e1e;
    position: relative;
}
.stats-bar::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,50,26,.5), transparent);
}
.stats-inner {
    max-width: 1100px; margin: 0 auto; padding: 24px 40px;
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 0 52px; }
.stat-item strong {
    display: block;
    font-family: 'Instrument Serif', serif;
    font-size: 2.4rem; font-weight: 400;
    color: #fff; line-height: 1; margin-bottom: 6px;
}
.stat-item span { font-size: .72rem; color: rgba(255,255,255,.28); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,.07); flex-shrink: 0; }

/* ── SECTIONS BASE ───────────────────── */
section { padding: 72px 0; }
.section-head { margin-bottom: 48px; }
.section-eyebrow {
    display: inline-block;
    font-size: .65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .16em;
    color: var(--red); margin-bottom: 10px;
}
.section-head h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 400; line-height: 1.08;
    letter-spacing: -.028em; color: var(--d1);
    margin-bottom: 14px;
}
.section-head p { font-size: .9rem; color: var(--mid); line-height: 1.75; max-width: 440px; }
.section-head--center { text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }
.section-head--light h2 { color: #fff; }
.section-head--light p  { color: rgba(255,255,255,.35); }

/* ── FEATURES ────────────────────────── */
#features { background: var(--bg); border-top: 1px solid var(--line); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--line);
}
.feat-card {
    background: var(--bg);
    padding: 26px 24px;
    transition: background .2s;
}
.feat-card:hover { background: var(--bg2); }
.feat-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(200,50,26,.08);
    border: 1px solid rgba(200,50,26,.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--red); margin-bottom: 20px;
}
.feat-card h3 {
    font-size: .92rem; font-weight: 700;
    color: var(--d1); margin-bottom: 8px; letter-spacing: -.01em;
}
.feat-card p { font-size: .82rem; color: var(--mid); line-height: 1.7; }

/* ── MARKETPLACE ─────────────────────── */
#productos { background: var(--black); border-top: 1px solid #1a1a1a; }
#productos .section-head h2 { color: #fff; }
#productos .section-head p  { color: rgba(255,255,255,.35); }
#productos .section-eyebrow { color: rgba(200,50,26,.8); }

.mkt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transition: all .2s;
}
.mkt-card {
    background: #111;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.mkt-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.15);
    box-shadow: 0 20px 48px rgba(0,0,0,.5);
}
.mkt-card.hidden { display: none; }

/* Card top — banner */
.mkt-card-top {
    padding: 28px 24px 24px;
    position: relative;
    min-height: 190px;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.mkt-badge {
    position: absolute; top: 16px; right: 16px;
    font-size: .62rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .1em;
    background: #f59e0b; color: #000;
    padding: 3px 9px; border-radius: 4px;
}
.mkt-badge--new { background: #22c55e; color: #fff; }
.mkt-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 16px;
}
.mkt-card-top h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.35rem; font-weight: 400; color: #fff;
    line-height: 1.15; letter-spacing: -.01em;
    margin-bottom: 10px;
}
.mkt-card-top h3 em { font-style: italic; opacity: .85; }
.mkt-cat-badge {
    display: inline-block;
    font-size: .63rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    padding: 3px 10px; border-radius: 20px;
    align-self: flex-start;
}

/* Card body */
.mkt-card-body {
    padding: 20px 22px 22px;
    display: flex; flex-direction: column; flex: 1;
}
.mkt-desc {
    font-size: .82rem; color: rgba(255,255,255,.35);
    line-height: 1.65; margin-bottom: 16px;
}
.mkt-features {
    list-style: none; flex: 1;
    display: flex; flex-direction: column; gap: 7px;
    margin-bottom: 20px;
}
.mkt-features li {
    font-size: .78rem; color: rgba(255,255,255,.45);
    padding-left: 14px; position: relative; line-height: 1.4;
}
.mkt-features li::before {
    content: ''; position: absolute; left: 0; top: 5px;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--red);
}

/* Footer de la card */
.mkt-card-footer {
    display: flex; flex-direction: column; gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.mkt-price {
    display: flex; align-items: baseline; gap: 4px;
}
.mkt-desde { font-size: .68rem; color: rgba(255,255,255,.3); font-weight: 500; }
.mkt-price strong {
    font-family: 'Instrument Serif', serif;
    font-size: 1.6rem; color: #fff; font-weight: 400;
    line-height: 1;
}
.mkt-period { font-size: .72rem; color: rgba(255,255,255,.3); }
.mkt-custom-price {
    font-size: .82rem; color: rgba(255,255,255,.5);
    font-weight: 500; line-height: 1.4;
}
.mkt-actions { display: flex; gap: 8px; }
.mkt-btn-ghost {
    flex: 1; text-align: center; text-decoration: none;
    font-size: .75rem; font-weight: 600;
    padding: 9px 10px; border-radius: 7px;
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.5);
    transition: border-color .15s, color .15s;
    white-space: nowrap;
}
.mkt-btn-ghost:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.mkt-btn-main {
    flex: 1; text-align: center; text-decoration: none;
    font-size: .75rem; font-weight: 700;
    padding: 9px 10px; border-radius: 7px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff; transition: background .15s;
    white-space: nowrap;
}
.mkt-btn-main:hover  { background: rgba(255,255,255,.15); }
.mkt-btn-red         { background: var(--red); border-color: var(--red); }
.mkt-btn-red:hover   { background: var(--red-h); border-color: var(--red-h); }
.mkt-btn-wa {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; text-align: center; text-decoration: none;
    font-size: .82rem; font-weight: 700;
    padding: 11px 16px; border-radius: 7px;
    background: #25d366; color: #fff;
    border: none; transition: background .15s;
    white-space: nowrap;
}
.mkt-btn-wa:hover { background: #1ebe5a; }


/* ── CÓMO FUNCIONA ───────────────────── */
#como-funciona { background: var(--bg2); border-top: 1px solid var(--line); }
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0; align-items: start;
}
.step {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 14px; padding: 28px 26px;
    transition: box-shadow .2s, border-color .2s;
}
.step:hover { border-color: rgba(200,50,26,.25); box-shadow: 0 8px 32px rgba(0,0,0,.07); }
.step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(200,50,26,.08);
    border: 1px solid rgba(200,50,26,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 800; color: var(--red);
    letter-spacing: .02em; margin-bottom: 20px;
}
.step-body h3 {
    font-size: .97rem; font-weight: 700;
    color: var(--d1); margin-bottom: 10px; letter-spacing: -.015em;
}
.step-body p { font-size: .84rem; color: var(--mid); line-height: 1.7; }
.step-arrow {
    display: flex; align-items: flex-start;
    padding-top: 56px; padding-inline: 20px;
    color: #ddd;
}


/* ── PRECIOS ─────────────────────────── */
#precios { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px; align-items: start; }
.plan {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 14px; padding: 28px 26px;
    display: flex; flex-direction: column;
    transition: box-shadow .2s, border-color .2s;
}
.plan:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); border-color: #ddd; }
.plan--featured {
    background: var(--d1); border-color: transparent;
    box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 1px rgba(200,50,26,.3);
    transform: translateY(-8px);
}
.plan--featured:hover { box-shadow: 0 24px 70px rgba(0,0,0,.35), 0 0 0 1px rgba(200,50,26,.4); }
.plan-badge {
    display: inline-block; font-size: .65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    background: var(--red); color: #fff;
    padding: 3px 9px; border-radius: 4px; margin-bottom: 18px;
    align-self: flex-start;
}
.plan-name {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--soft); margin-bottom: 10px;
}
.plan--featured .plan-name { color: rgba(255,255,255,.35); }
.plan-price {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem; font-weight: 400;
    color: var(--d1); letter-spacing: -.03em; line-height: 1;
    margin-bottom: 10px;
}
.plan-price small { font-family: 'Inter', sans-serif; font-size: .8rem; color: var(--soft); font-weight: 500; }
.plan--featured .plan-price { color: #fff; }
.plan--featured .plan-price small { color: rgba(255,255,255,.35); }
.plan-price--text { font-size: 1.5rem; }
.plan-desc {
    font-size: .82rem; color: var(--mid); line-height: 1.6;
    padding-bottom: 12px; margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.plan--featured .plan-desc { color: rgba(255,255,255,.3); border-color: rgba(255,255,255,.08); }
.plan-list { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.plan-list li {
    font-size: .82rem; color: var(--mid);
    padding-left: 18px; position: relative; line-height: 1.4;
}
.plan-list li::before {
    content: '';
    position: absolute; left: 0; top: 4px;
    width: 10px; height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}
.plan--featured .plan-list li { color: rgba(255,255,255,.5); }
.plan--featured .plan-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,.5)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.plan-btn {
    display: block; text-align: center; text-decoration: none;
    font-size: .85rem; font-weight: 600;
    padding: 10px; border-radius: 6px;
    border: 1px solid var(--line); color: var(--d1);
    background: var(--bg2); transition: all .15s;
}
.plan-btn:hover { background: var(--line); }
.plan-btn--featured {
    background: var(--red); border-color: var(--red); color: #fff;
}
.plan-btn--featured:hover { background: var(--red-h); border-color: var(--red-h); }
.plan-btn--wa { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
.plan-btn--wa:hover { background: #1ebe5a !important; border-color: #1ebe5a !important; }
.pricing-note { text-align: center; font-size: .8rem; color: var(--soft); }


/* ── CONTACTO ────────────────────────── */
#contact { background: var(--black); padding: 72px 40px; }
.contact-wrap {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.contact-label {
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--red); margin-bottom: 18px;
}
.contact-info h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 400; color: #fff;
    line-height: 1.05; letter-spacing: -.03em;
    margin-bottom: 16px;
}
.contact-info > p {
    font-size: .9rem; color: rgba(255,255,255,.3);
    line-height: 1.75; max-width: 360px; margin-bottom: 36px;
}
.contact-checks { display: flex; flex-direction: column; gap: 12px; }
.check-item {
    display: flex; align-items: center; gap: 10px;
    font-size: .84rem; color: rgba(255,255,255,.35);
}
.check-item svg { color: var(--red); flex-shrink: 0; }

/* Canales de contacto */
.contact-channels {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.contact-channel {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    transition: background .15s, border-color .15s;
}
.contact-channel:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
}
.cch-icon {
    width: 38px; height: 38px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cch-wa   { background: rgba(37,211,102,.15); color: #25d366; }
.cch-mail { background: rgba(200,50,26,.15);  color: var(--red); }
.cch-fb   { background: rgba(24,119,242,.15); color: #1877f2; }
.cch-text { display: flex; flex-direction: column; gap: 1px; }
.cch-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); }
.cch-val   { font-size: .83rem; font-weight: 500; color: rgba(255,255,255,.75); }

/* Form */
.field { margin-bottom: 13px; }
.field label {
    display: block; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: rgba(255,255,255,.3); margin-bottom: 6px;
}
.field input, .field select {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 6px; padding: 11px 13px;
    color: #fff; font-family: 'Inter', sans-serif; font-size: .875rem;
    outline: none; transition: border-color .15s, background .15s;
}
.field input::placeholder { color: rgba(255,255,255,.18); }
.field input:focus, .field select:focus {
    border-color: rgba(200,50,26,.6);
    background: rgba(255,255,255,.06);
}
.field select option { background: #1a1a1a; color: #fff; }
.form-error {
    font-size: .8rem; color: #f87171;
    margin-bottom: 10px; padding: 8px 12px;
    background: rgba(248,113,113,.08); border-radius: 5px;
}
.btn-submit {
    width: 100%; background: var(--red); color: #fff;
    border: none; cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .9rem; font-weight: 700;
    padding: 13px; border-radius: 6px;
    margin-top: 4px; transition: background .15s, transform .15s;
}
.btn-submit:hover { background: var(--red-h); transform: translateY(-1px); }
.form-success {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; padding: 44px 0;
}
.form-success h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem; font-weight: 400; color: #fff; margin: 12px 0 8px;
}
.form-success p { font-size: .875rem; color: rgba(255,255,255,.35); }

/* ── FOOTER ──────────────────────────── */
footer {
    background: var(--black);
    border-top: 1px solid #1e1e1e;
    padding: 32px 40px;
    position: relative;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 🔥 CLAVE */
    gap: 28px;
    flex-wrap: wrap;
}

/* BLOQUE IZQUIERDA */
.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex: 1;
}

.footer-logo {
    font-family: 'Instrument Serif', serif;
    font-size: 1.1rem;
    color: #fff;
}

.footer-logo em {
    font-style: normal;
    color: var(--red);
}

.footer-tagline {
    font-size: .77rem;
    color: rgba(255,255,255,.45);
}
.footer-yucatan {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .72rem; font-weight: 600;
    color: var(--red);
    letter-spacing: .03em;
}

/* CENTRO */
.footer-nav {
    display: flex;
    gap: 22px;
    flex: 1;
    justify-content: center; /* 🔥 centra */
}

.footer-nav a {
    font-size: .78rem;
    color: rgba(255,255,255,.25);
    text-decoration: none;
    transition: color .15s;
}

.footer-nav a:hover {
    color: rgba(255,255,255,.6);
}

/* DERECHA */
.footer-copy {
    font-size: .72rem;
    color: rgba(255,255,255,.35);
    flex: 1;
    text-align: right; /* 🔥 lo manda a la derecha */
}

/* ── WHATSAPP BUBBLE ─────────────────── */
#wa-bubble {
    position: fixed; bottom: 22px; left: 22px; z-index: 99;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(37,211,102,.45);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
#wa-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.6);
}
.wa-tooltip {
    position: absolute; left: 62px;
    background: #111; color: #fff;
    font-size: .75rem; font-weight: 500;
    padding: 5px 10px; border-radius: 5px;
    white-space: nowrap; pointer-events: none;
    opacity: 0; transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
}
.wa-tooltip::before {
    content: '';
    position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
    border: 5px solid transparent; border-right-color: #111;
}
#wa-bubble:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ── BURBUJA CONTACTO ────────────────── */
.cb-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 199;
    background: rgba(0,0,0,.5);
}
.cb-overlay.open { display: block; }

.contact-bubble {
    position: fixed; bottom: 22px; left: 22px; z-index: 200;
}
.cb-trigger {
    display: flex; align-items: center; gap: 8px;
    background: var(--d2); color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px; padding: 10px 16px;
    cursor: pointer; font-family: 'Inter', sans-serif;
    font-size: .78rem; font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    transition: background .15s, border-color .15s;
}
.cb-trigger:hover { background: var(--d3); border-color: rgba(255,255,255,.18); }
.cb-label { white-space: nowrap; }

.cb-panel {
    position: absolute; bottom: calc(100% + 10px); left: 0;
    width: 260px;
    background: #161616;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,.6);
    overflow: hidden;
    opacity: 0; pointer-events: none; transform: translateY(8px);
    transition: opacity .2s, transform .2s;
}
.cb-panel.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.cb-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.cb-title { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.6); }
.cb-close {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,.3); font-size: 1rem;
    line-height: 1; padding: 0;
    transition: color .15s;
}
.cb-close:hover { color: #fff; }

.cb-links { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.cb-item {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; padding: 10px 12px;
    border-radius: 9px; border: 1px solid transparent;
    transition: background .15s, border-color .15s;
}
.cb-item:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.cb-ico {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cb-item--wa  .cb-ico { background: rgba(37,211,102,.15); color: #25d366; }
.cb-item--mail .cb-ico { background: rgba(200,50,26,.15); color: var(--red); }
.cb-item--fb  .cb-ico { background: rgba(24,119,242,.15); color: #1877f2; }
.cb-item-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.3); }
.cb-item-val   { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.75); }

/* ── BACK TO TOP ─────────────────────── */
#back-top {
    position: fixed; bottom: 22px; right: 22px; z-index: 99;
    width: 36px; height: 36px; border-radius: 7px;
    background: var(--d2); border: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.5); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .25s, background .15s, color .15s;
}
#back-top.show { opacity: 1; pointer-events: all; }
#back-top:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ── ANIMACIONES ─────────────────────── */
.fade-in {
    opacity: 0; transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
    .container { padding: 0 28px; }
    #hero, #contact { padding-left: 28px; padding-right: 28px; }
    nav#navbar, footer { padding-left: 28px; padding-right: 28px; }
    .stats-inner { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 1100px) {
    .mkt-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ── TABLET ──────────────────────────── */
@media (max-width: 880px) {
    section { padding: 56px 0; }

    /* Hero */
    #hero { padding: 86px 24px 48px; }
    .hero-wrap  { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: clamp(2.6rem, 7vw, 3.4rem); }
    .hero-text p  { max-width: 100%; }
    .hero-ctas { flex-wrap: wrap; gap: 14px; }
    .btn-primary { width: 100%; justify-content: center; }

    /* Nav */
    nav#navbar { gap: 16px; padding: 0 20px; }
    .nav-link { font-size: .78rem; }
    .nav-cta { font-size: .78rem; padding: 6px 12px; }
    .nav-link--hide-sm { display: none; }

    /* Floats */
    .hero-float--a { top: -14px; right: -10px; }
    .hero-float--b { display: none; }

    /* Sections */
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .step-arrow { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .mkt-grid { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .testi-card--featured { transform: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .plan--featured { transform: none; }
    .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
    #contact { padding: 72px 24px; }
}

/* ── MÓVIL ───────────────────────────── */
@media (max-width: 560px) {
    section { padding: 44px 0; }

    /* Container */
    .container { padding: 0 20px; }
    #hero { padding: 72px 20px 40px; }
    #contact { padding: 44px 20px; }

    /* Hero */
    .hero-text h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
    .hero-label { font-size: .62rem; }
    .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hero-float--a { display: none; }

    /* Nav */
    nav#navbar { padding: 0 16px; gap: 12px; }
    .nav-link { font-size: .74rem; }
    .nav-cta { font-size: .74rem; padding: 6px 11px; }

    /* Section heads */
    .section-head { margin-bottom: 28px; }
    .section-head h2 { font-size: clamp(1.8rem, 7vw, 2.2rem); }

    /* Stats */
    .stats-inner { padding: 24px 20px; flex-wrap: wrap; gap: 0; }
    .stat-item { width: 50%; padding: 12px 8px; }
    .stat-item strong { font-size: 2rem; }
    .stat-sep { display: none; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; }
    .feat-card { padding: 24px 20px; }

    /* Products */
    .mkt-grid { grid-template-columns: 1fr; }

    /* Steps */
    .step { padding: 24px 20px; }

    /* Testimonios */
    .testi-card { padding: 24px 20px; }

    /* Pricing */
    .plan { padding: 28px 22px; }

    /* Footer */
    nav#navbar, footer { padding-left: 20px; padding-right: 20px; }
    .footer-inner { flex-direction: column; gap: 14px; }
    .footer-brand { flex-direction: column; gap: 4px; }
    .footer-nav { flex-wrap: wrap; gap: 14px; justify-content: center; }
    .footer-copy { text-align: center; }

    /* Burbujas en móvil */
    .contact-bubble { left: 18px; bottom: 18px; }
    .cb-label { display: none; }
    .cb-trigger { padding: 10px; border-radius: 50%; }
    #back-top { bottom: 18px; right: 18px; }

    /* Panel: bottom sheet en móvil */
    .cb-panel {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        width: 100%;
        border-radius: 18px 18px 0 0;
        transform: translateY(100%);
        opacity: 1;
    }
    .cb-panel.open { transform: translateY(0); }
}

/* ── MÓVIL PEQUEÑO ───────────────────── */
@media (max-width: 420px) {
    .hero-text h1 { font-size: 2rem; }
    nav#navbar { gap: 8px; padding: 0 14px; }
    .nav-link { font-size: .7rem; }
    .nav-cta { font-size: .7rem; padding: 5px 10px; }
    .nav-link--hide-sm { display: none; }
    .stat-item { width: 50%; }
}
