/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif; color: #3d4465; background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== ACCESIBILIDAD ===== */
.skip-link { position: absolute; left: -9999px; top: 0; background: #6d007e; color: #fff; padding: 0.5rem 1rem; border-radius: 0 0 4px 4px; z-index: 9999; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid #6d007e; outline-offset: 2px; }

/* ===== VARIABLES ===== */
:root {
    --brand:       #6d007e;
    --brand-d:     #b12140;
    --brand-l:     #fce8f3;
    --navy:        #3d0048;
    --success:     #10ca93;
    --warning:     #ff9f00;
    --text:        #3d4465;
    --muted:       #89879f;
    --border:      #e8d5e8;
    --surface:     #fdf5f9;
    --warm:        #fff5f8;
    --white:       #ffffff;
    --dark:        #1a0025;
    --grad-brand:  linear-gradient(135deg, #6d007e 0%, #b12140 100%);
    --grad-img:    linear-gradient(135deg, rgba(109,0,126,.22), rgba(177,33,64,.28));
    --radius:      16px;
    --radius-sm:   10px;
    --radius-lg:   28px;
    --shadow:      0 4px 24px rgba(82,63,105,.11);
    --shadow-lg:   0 16px 56px rgba(82,63,105,.18);
}

/* ===== LAYOUT HELPERS ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5.5rem 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.75rem); font-weight: 900; color: var(--navy); line-height: 1.12; letter-spacing: -1.2px; margin-bottom: 1rem; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; max-width: 500px; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); margin-bottom: 0.875rem; }
.eyebrow::before { content: ''; width: 16px; height: 2px; background: var(--brand); border-radius: 2px; }

/* ===== BOTONES ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: var(--radius-sm); font-weight: 800; font-size: 0.95rem; cursor: pointer; border: none; transition: all .2s; text-decoration: none; font-family: inherit; }
.btn-primary { background: var(--grad-brand); color: var(--white); }
.btn-primary:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(109,0,126,.35); }
.btn-secondary { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-secondary:hover { background: var(--brand-l); }
.btn-accent { background: var(--white); color: var(--navy); box-shadow: 0 4px 20px rgba(0,0,0,.18); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.26); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ===== NAV ===== */
#main-content { padding-top: 70px; }
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(232,213,232,.6); transition: box-shadow .3s; }
.nav-container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; height: 70px; }
.nav-logo img { height: 34px; width: auto; }
.nav-menu { display: flex; gap: 2px; margin-left: auto; }
.nav-menu a { font-size: 0.875rem; font-weight: 700; color: var(--muted); transition: color .18s, background .18s; padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); }
.nav-menu a:hover, .nav-menu a.active { color: var(--brand); background: var(--brand-l); }
.nav-home a { color: var(--navy) !important; font-weight: 900 !important; }
.nav-caret { font-size: .55rem; margin-left: 3px; transition: transform .2s; display: inline-block; }
.nav-has-drop { position: relative; }
.nav-has-drop:hover .nav-caret { transform: rotate(180deg); }
.nav-drop { display: none; position: absolute; top: 100%; left: 0; background: transparent; min-width: 180px; padding-top: 8px; flex-direction: column; gap: 0; z-index: 600; }
.nav-drop::before { content: ''; position: absolute; top: 8px; left: 0; right: 0; bottom: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: -1; }
.nav-drop li { position: relative; z-index: 1; padding: 0.25rem 0.5rem; }
.nav-drop li { list-style: none; }
.nav-drop a { display: block; padding: 0.5rem 0.85rem; border-radius: 7px; font-size: 0.875rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.nav-drop a:hover, .nav-drop a.active { color: var(--brand); background: var(--brand-l); }
.nav-has-drop:hover .nav-drop { display: flex; }
.nav-has-drop:hover .nav-caret { transform: rotate(180deg); }
.btn-nav-login { font-size: 0.875rem; font-weight: 700; color: var(--text); border: 1.5px solid var(--border); padding: 0.5rem 1.1rem; border-radius: var(--radius-sm); transition: all .2s; }
.btn-nav-login:hover { border-color: var(--brand); color: var(--brand); }
.btn-nav-cta { background: var(--grad-brand); color: var(--white); padding: 0.625rem 1.375rem; border-radius: var(--radius-sm); font-weight: 800; font-size: 0.875rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.375rem; transition: all .2s; }
.btn-nav-cta:hover { opacity: .88; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; outline: none; -webkit-appearance: none; appearance: none; cursor: pointer; padding: 8px; border-radius: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle:focus-visible { outline: 2px solid var(--brand); }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); padding: 4rem 0 0; }
.footer-container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand p { margin-top: 0.75rem; color: rgba(255,255,255,.37); font-size: 0.875rem; line-height: 1.6; max-width: 210px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-col h3 { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.28); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,.47); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,.27); }
.footer-legal { display: flex; gap: 1.125rem; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,.27); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.65); }


/* ===== HERO SPLIT (Home) ===== */
.hero-split { min-height: 85vh; height: 85vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.hero-left { background: var(--grad-brand); display: flex; align-items: center; padding: 5rem 4rem; position: relative; overflow: hidden; }
.hero-left::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.04); top: -180px; right: -120px; pointer-events: none; }
.hero-left::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); bottom: -80px; left: -60px; pointer-events: none; }
.hero-left-inner { position: relative; z-index: 1; max-width: 520px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.92); font-size: 11px; font-weight: 800; padding: 5px 14px; border-radius: 100px; margin-bottom: 1.75rem; letter-spacing: .6px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.5;transform:scale(.8);} }
.hero-left h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 900; color: #fff; line-height: 1.08; letter-spacing: -2px; margin-bottom: 1.375rem; }
.hero-left h1 mark { background: none; color: transparent; background-image: linear-gradient(90deg, #c4b5fd, var(--success)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.0625rem; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 2.25rem; max-width: 440px; }
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 0; margin-top: 3.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); }
.hstat { flex: 1; text-align: center; padding: 0 1rem; border-right: 1px solid rgba(255,255,255,.1); }
.hstat:first-child { padding-left: 0; text-align: left; }
.hstat:last-child { border-right: none; }
.hstat-num { font-size: 1.75rem; font-weight: 900; color: #fff; }
.hstat-lbl { font-size: 11px; color: rgba(255,255,255,.48); margin-top: 2px; font-weight: 600; }
.hero-right { position: relative; overflow: hidden; }
.hero-right-img { width: 100%; height: 100%; object-fit: cover; display: block; animation: heroZoom 7s ease-out both; }
.hero-float { position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.875rem 1.125rem; }
.hero-float-notif { top: 3rem; right: 2rem; max-width: 220px; animation: floatNotif 4s ease-in-out infinite; }
@keyframes floatNotif { 0%,100%{transform:translateY(0);}50%{transform:translateY(-8px);} }
.hero-float-qr { bottom: 3rem; left: 2rem; display: flex; align-items: center; gap: 0.875rem; }
.qr-box { width: 52px; height: 52px; background: var(--grad-brand); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; flex-shrink: 0; }
.qr-text strong { display: block; font-size: 0.875rem; font-weight: 800; color: var(--navy); }
.qr-text span { font-size: 0.75rem; color: var(--muted); }
.hero-float-stat { bottom: 3rem; right: 2rem; text-align: center; }
.fstat-big { font-size: 1.875rem; font-weight: 900; color: var(--brand); }
.fstat-lbl { font-size: 11px; color: var(--muted); font-weight: 700; }
.notif-header { display: flex; align-items: center; gap: 8px; margin-bottom: 0.5rem; }
.notif-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-l); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.notif-app { font-size: 11px; font-weight: 800; color: var(--brand); }
.notif-time { font-size: 10px; color: var(--muted); margin-left: auto; }
.notif-text { font-size: 0.8125rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.notif-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.375rem 2rem; }
.trust-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.trust-lbl { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.trust-logos { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.trust-logo { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 14px; font-size: 0.8125rem; font-weight: 700; color: var(--text); }

/* ===== Animación Ken Burns (hero backgrounds) ===== */
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ===== SUB-HERO con foto de fondo (subpáginas) ===== */
.sub-hero { position: relative; height: 400px; overflow: hidden; display: flex; align-items: center; padding: 0 2rem; }
.sub-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: heroZoom 7s ease-out both; }
.sub-hero-ov { position: absolute; inset: 0; background: var(--grad-img); }
.sub-hero-cnt { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; width: 100%; }
.sub-ey { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.9); font-size: 11px; font-weight: 800; padding: 5px 14px; border-radius: 100px; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 1.25rem; }
.sub-hero h1 { font-size: clamp(1.875rem, 4vw, 3.375rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -1.5px; max-width: 700px; }
.sub-hero p { font-size: 1.125rem; color: rgba(255,255,255,.72); margin-top: 0.875rem; max-width: 540px; }

/* ===== HERO GENÉRICO (subpáginas sin foto) ===== */
.hero { background: var(--grad-brand); color: var(--white); padding: 5rem 0 4rem; }
.hero-container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
.hero p { font-size: 1.0625rem; color: rgba(255,255,255,.72); max-width: 580px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== STORIES SECTION ===== */
.stories-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 3.25rem; }
.story-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 420px; cursor: pointer; }
.story-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.story-card:hover img { transform: scale(1.04); }
.story-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,28,100,.72) 0%, rgba(44,28,100,.08) 60%, transparent 100%); }
.story-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem 1.5rem; }
.story-cat { display: inline-flex; align-items: center; gap: 6px; background: var(--grad-brand); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 100px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 0.625rem; }
.story-content h3 { font-size: 1.25rem; font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 6px; }
.story-content p { font-size: 0.8125rem; color: rgba(255,255,255,.72); line-height: 1.5; }
.story-meta { display: flex; align-items: center; gap: 8px; margin-top: 0.875rem; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,.15); }
.story-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.story-avatar-img { background: #fff; padding: 2px; }
.story-avatar-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.story-who { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,.85); }

/* ===== HOW-IT-WORKS ===== */
.how-timeline { display: flex; flex-direction: column; gap: 0; margin-top: 3.75rem; }
.how-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.75rem; align-items: center; padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.how-row:last-child { border-bottom: none; }
.how-row.flip .how-img { order: -1; }
.how-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.how-img img { width: 100%; display: block; height: 320px; object-fit: cover; }
.how-step-num { font-size: 4rem; font-weight: 900; color: var(--brand-l); line-height: 1; margin-bottom: 0.5rem; }
.how-copy h3 { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 0.75rem; letter-spacing: -.5px; }
.how-copy p { font-size: 1rem; color: var(--muted); line-height: 1.7; }
.how-detail { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; }
.how-detail-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text); }
.how-detail-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-l); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; margin-top: 1px; color: var(--success); font-weight: 800; }

/* ===== ECO SECTION ===== */
.eco-sec { overflow: hidden; background: var(--warm); }
.eco-header { max-width: 1180px; margin: 0 auto; padding: 4.5rem 2rem 3rem; text-align: center; }
.eco-header .eyebrow { justify-content: center; }
.eco-header .section-title { text-align: center; margin: 0 auto 1rem; max-width: 620px; }
.eco-header .section-subtitle { text-align: center; margin: 0 auto 2rem; }
.eco-pills { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }
.eco-pill { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--border); border-radius: 100px; padding: 0.625rem 1.375rem; font-size: 0.875rem; font-weight: 800; color: var(--navy); box-shadow: var(--shadow); }
.eco-img-wrap { position: relative; }
.eco-img-wrap img { width: 100%; display: block; max-height: 680px; object-fit: cover; object-position: center top; }
.eco-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--warm) 0%, transparent 18%, transparent 72%, #fff 100%); }

/* ===== LOCALIDADES DARK ===== */
.loc-dark { background: linear-gradient(135deg, var(--dark) 0%, #2d1b69 100%); padding: 5rem 0; overflow: hidden; }
.loc-dark .eyebrow { color: #a78bfa; }
.loc-dark .eyebrow::before { background: #a78bfa; }
.loc-dark .section-title { color: #fff; }
.loc-dark .section-subtitle { color: rgba(255,255,255,.55); }
.marquee-wrap { margin-top: 2.75rem; overflow: hidden; position: relative; }
.marquee-wrap::before, .marquee-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, #2d1b69, transparent); }
.marquee-track { display: flex; gap: 0.75rem; animation: marquee 28s linear infinite; white-space: nowrap; }
@keyframes marquee { 0%{transform:translateX(0);}100%{transform:translateX(-50%);} }
.loc-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 700; color: rgba(255,255,255,.8); white-space: nowrap; transition: all .2s; text-decoration: none; }
.loc-chip:hover { background: rgba(115,86,241,.25); border-color: var(--brand); color: #fff; }
.loc-chip-count { font-size: 11px; font-weight: 700; background: rgba(115,86,241,.25); color: #a78bfa; border-radius: 100px; padding: 1px 8px; }
.loc-chip-real { border-color: rgba(167,139,250,.35); }
.loc-chip-prox { opacity: .45; cursor: default; }
.loc-chip-prox:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }

/* ===== BENEFICIOS GRID ===== */
.bene-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.125rem; }
.bene { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.875rem 1.625rem; box-shadow: var(--shadow); transition: all .25s; }
.bene:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.bene.feat { background: var(--grad-brand); border: none; }
.bene.feat h3, .bene.feat p { color: rgba(255,255,255,.88); }
.bene.feat h3 { color: #fff; }
.bene-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--brand-l); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; margin-bottom: 1rem; }
.bene.feat .bene-icon { background: rgba(255,255,255,.15); }
.bene h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.bene p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ===== CTA FINAL SPLIT ===== */
.cta-final-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; overflow: hidden; }
.cta-left { background: var(--grad-brand); padding: 5rem 4rem; display: flex; align-items: center; }
.cta-left-inner { max-width: 460px; }
.cta-left h2 { font-size: clamp(1.625rem, 3vw, 2.75rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -1px; margin-bottom: 1rem; }
.cta-left p { font-size: 1.0625rem; color: rgba(255,255,255,.65); margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 0.875rem; flex-wrap: wrap; }
.cta-right { position: relative; overflow: hidden; }
.cta-right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-right-ov { position: absolute; inset: 0; background: rgba(44,28,100,.2); }

/* ===== LOCALIDAD PAGE ===== */
.loc-hero { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.loc-hero-bg { position: absolute; inset: 0; background: var(--grad-brand); }
.loc-hero-ov { position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.loc-hero-cnt { position: relative; z-index: 2; text-align: center; padding: 3.75rem 1.5rem 3.5rem; max-width: 700px; margin: 0 auto; width: 100%; }
.loc-hero-cnt h1 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1.1; margin: 0.875rem 0 0.625rem; }
.loc-hero-cnt > p { color: rgba(255,255,255,.85); font-size: 1.0625rem; }
.categoria-label { margin-top: 0.5rem; color: rgba(255,255,255,.7); font-size: 0.9rem; }

/* ===== COMERCIO CARD ===== */
.comercio-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; display: flex; flex-direction: column; }
.comercio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.card-logo-wrap { position: relative; }
.card-logo img { width: 100%; height: 140px; object-fit: cover; }
.card-initials { width: 100%; height: 100px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 2rem; color: #fff; letter-spacing: -2px; }
.card-body { padding: 1rem 1.125rem; flex: 1; display: flex; flex-direction: column; }
.card-name { font-size: 0.9375rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.card-type { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.5rem; }
.card-address { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.875rem; display: flex; align-items: center; gap: 4px; }
.card-offer { font-size: 0.8125rem; margin-bottom: 0.875rem; display: flex; align-items: center; gap: 0.5rem; }
.offer-badge { background: rgba(255,159,0,.15); color: #92400e; font-size: 0.6875rem; font-weight: 800; padding: 2px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: .05em; }
.btn-card { display: block; text-align: center; background: var(--brand-l); color: var(--brand); padding: 0.5625rem; border-radius: var(--radius-sm); font-size: 0.8125rem; font-weight: 800; transition: all .2s; margin-top: auto; }
.btn-card:hover { background: var(--grad-brand); color: #fff; }

/* ===== COMERCIOS GRID ===== */
.comercios-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }

/* ===== ALERTAS ===== */
.alert { padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.95rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ===== PÁGINAS DE ERROR ===== */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 4rem 1.25rem; text-align: center; }
.error-content { max-width: 480px; }
.error-code { font-size: 6rem; font-weight: 900; color: var(--brand); line-height: 1; margin-bottom: 1rem; }
.error-content h1 { font-size: 1.6rem; margin-bottom: 1rem; }
.error-content p { color: var(--muted); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== PAGINACION ===== */
.pagination { display: flex; justify-content: center; gap: 0.5rem; padding: 2rem 0; flex-wrap: wrap; }
.pagination .page-link { padding: 0.5rem 0.9rem; border: 1px solid var(--border); border-radius: 6px; font-size: 0.9rem; color: var(--brand); transition: all .2s; }
.pagination .page-link:hover, .pagination .page-link.active { background: var(--grad-brand); color: var(--white); border-color: transparent; }

/* ===== SEO TEXT ===== */
.seo-text p { color: #4b5563; margin-bottom: 1rem; }
.seo-text h2 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--navy); }

/* ===== ESCAPARATE DIGITAL (pagcom) ===== */
.pagcom-sec { background: #fff; overflow: hidden; }
.pagcom-inner { max-width: 1180px; margin: 0 auto; padding: 5.5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.pagcom-copy .eyebrow { margin-bottom: 1.125rem; }
.pagcom-copy .section-title { margin-bottom: 1.25rem; }
.pagcom-copy .section-subtitle { margin-bottom: 2rem; }
.pagcom-features { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2.25rem; }
.pagcom-feat { display: flex; align-items: flex-start; gap: 0.875rem; }
.pagcom-feat-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-l); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.pagcom-feat-txt strong { display: block; font-size: 0.875rem; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.pagcom-feat-txt span { font-size: 0.8125rem; color: var(--muted); }

/* Browser frame */
.pagcom-browser { background: #f3f4f6; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 72px rgba(82,63,105,.22); border: 1.5px solid #e5e7eb; }
.pagcom-browser-bar { background: #e5e7eb; padding: 10px 14px; display: flex; align-items: center; gap: 7px; }
.pagcom-dot { width: 11px; height: 11px; border-radius: 50%; }
.pagcom-url { flex: 1; margin-left: 8px; background: #fff; border-radius: 6px; padding: 4px 12px; font-size: 11px; color: #6b7280; font-family: monospace; }
.pagcom-screen { background: #f9fafb; max-height: 520px; overflow: hidden; }
.pc2-hero-img { height: 100px; background: var(--grad-brand); position: relative; }
.pc2-hero-overlay { position: absolute; inset-x: 0; bottom: 0; height: 40px; background: linear-gradient(to top, rgba(0,0,0,.3), transparent); }
.pc2-card { background: #fff; border-radius: 14px; margin: -24px 10px 0; position: relative; z-index: 10; padding: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.pc2-logo { width: 44px; height: 44px; border-radius: 11px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 17px; flex-shrink: 0; }
.pc2-name { font-size: 14px; font-weight: 900; color: #111827; margin: 0 0 3px; }
.pc2-tag { display: inline-block; background: #f3f4f6; color: #6b7280; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; }
.pc2-open { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #16a34a; font-weight: 700; }
.pc2-open-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.pc2-nav { background: #fff; border-bottom: 1px solid #f3f4f6; padding: 7px 10px; display: flex; gap: 5px; overflow-x: auto; margin-top: 7px; }
.pc2-pill { flex-shrink: 0; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; color: #6b7280; white-space: nowrap; }
.pc2-pill.on { background: var(--brand-l); color: var(--brand); }
.pc2-sec { padding: 12px 10px 0; }
.pc2-sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.pc2-sec-title { font-size: 12px; font-weight: 900; color: #111827; }
.pc2-sec-badge { font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 20px; background: var(--brand-l); color: var(--brand); }
.pc2-offers { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.pc2-offer-card { flex-shrink: 0; width: 130px; background: #fff; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 2px 8px rgba(0,0,0,.06); overflow: hidden; }
.pc2-offer-img { height: 52px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; color: #fff; position: relative; }
.pc2-offer-img span { position: relative; z-index: 1; }
.pc2-offer-body { padding: 8px; }
.pc2-offer-title { font-size: 10px; font-weight: 800; color: #111827; margin: 0 0 2px; }
.pc2-offer-desc { font-size: 9px; color: #9ca3af; margin: 0 0 6px; line-height: 1.3; }
.pc2-offer-btn { width: 100%; padding: 5px; border-radius: 7px; background: var(--grad-brand); color: #fff; font-size: 9px; font-weight: 700; border: none; text-align: center; display: block; }
.pc2-loyalty { margin: 12px 10px 0; border-radius: 14px; overflow: hidden; padding: 12px; position: relative; }
.pc2-loyalty-pat { position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(circle, white 1px, transparent 1px); background-size: 14px 14px; }
.pc2-loyalty-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pc2-loyalty-logo { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; color: #fff; flex-shrink: 0; }
.pc2-loyalty-name { color: #fff; font-size: 12px; font-weight: 900; }
.pc2-loyalty-sub { color: rgba(255,255,255,.65); font-size: 9px; }
.pc2-loyalty-qr { width: 28px; height: 28px; border-radius: 7px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; }
.pc2-stamps-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; margin-bottom: 9px; }
.pc2-stamp { aspect-ratio: 1; border-radius: 8px; border: 2px dashed rgba(255,255,255,.3); background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.pc2-stamp.filled { background: rgba(255,255,255,.3); border-color: transparent; }
.pc2-stamp svg { width: 13px; height: 13px; }
.pc2-progress { height: 4px; background: rgba(255,255,255,.2); border-radius: 4px; margin-bottom: 9px; overflow: hidden; }
.pc2-progress-bar { height: 100%; background: #fff; border-radius: 4px; }
.pc2-loyalty-foot { display: flex; align-items: flex-end; justify-content: space-between; }
.pc2-loyalty-prize { font-size: 9px; color: rgba(255,255,255,.6); }
.pc2-loyalty-prize strong { display: block; color: #fff; font-size: 11px; font-weight: 800; }
.pc2-loyalty-remaining { text-align: right; }
.pc2-loyalty-remaining span { font-size: 9px; color: rgba(255,255,255,.6); display: block; }
.pc2-loyalty-remaining strong { font-size: 20px; font-weight: 900; color: #fff; line-height: 1; }

/* ===== BENEFICIOS TABS ===== */
.tab-row { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 10px; width: fit-content; margin: 0 auto 44px; box-shadow: var(--shadow); }
.tab-btn { font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700; padding: 9px 22px; border-radius: 8px; border: none; background: none; cursor: pointer; color: var(--muted); transition: all .2s; }
.tab-btn.on { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(109,0,126,.35); }
.bene-tab-panel { display: none; }
.bene-tab-panel.on { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

/* ===== POSTER SECTION ===== */
.poster-sec { position: relative; overflow: hidden; }
.poster-sec-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; }
.poster-sec-ov { position: absolute; inset: 0; background: var(--grad-img); }
.poster-sec-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 88px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.poster-copy h2 { color: #fff; }
.poster-copy .eyebrow { color: #c4b5fd; }
.poster-copy .eyebrow::before { background: #c4b5fd; }
.poster-copy p { color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.7; margin-bottom: 28px; max-width: 420px; }
.poster-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.pimg { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.pimg img { width: 100%; display: block; transition: transform .4s; }
.pimg:hover img { transform: scale(1.04); }
.pimg.tall { grid-row: span 2; }

/* ===== TESTIMONIOS ===== */
.test-sec { background: var(--warm); padding: 80px 0; }
.test-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.tcard-big { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tcard-big::before { content: '\201C'; position: absolute; top: -10px; left: 20px; font-size: 120px; color: var(--brand-l); font-family: Georgia,serif; line-height: 1; }
.tcard-big p { font-size: 17px; line-height: 1.75; color: var(--text); font-style: italic; position: relative; z-index: 1; margin-bottom: 28px; }
.tcard-big.big2 { grid-column: span 2; background: var(--grad-brand); border: none; }
.tcard-big.big2::before { color: rgba(255,255,255,.1); }
.tcard-big.big2 p { color: rgba(255,255,255,.88); font-size: 20px; }
.tauthor { display: flex; align-items: center; gap: 12px; }
.tavatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-l); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.tcard-big.big2 .tavatar { background: rgba(255,255,255,.15); }
.tname { font-size: 14px; font-weight: 800; color: var(--navy); }
.tcard-big.big2 .tname { color: #fff; }
.trole { font-size: 12px; color: var(--muted); }
.tcard-big.big2 .trole { color: rgba(255,255,255,.6); }
.test-stars { color: #ff9f00; font-size: 13px; letter-spacing: 1.5px; margin-bottom: 14px; }

/* ===== PRECIOS ===== */
.price-sec { background: #fff; padding: 80px 0; }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; align-items: start; }
.pcard { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 36px 28px; box-shadow: var(--shadow); position: relative; }
.pcard.pop { background: var(--grad-brand); border: none; transform: scale(1.04); box-shadow: var(--shadow-lg), 0 0 0 4px rgba(109,0,126,.18); }
.pop-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #10ca93; color: #fff; font-size: 11px; font-weight: 800; padding: 4px 14px; border-radius: 100px; white-space: nowrap; }
.pname { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.pcard.pop .pname { color: rgba(255,255,255,.6); }
.pprice { font-size: 44px; font-weight: 900; color: var(--navy); line-height: 1; }
.pcard.pop .pprice { color: #fff; }
.pprice small { font-size: 15px; font-weight: 400; color: var(--muted); }
.pcard.pop .pprice small { color: rgba(255,255,255,.55); }
.pdesc { font-size: 13px; color: var(--muted); margin: 10px 0 24px; line-height: 1.5; }
.pcard.pop .pdesc { color: rgba(255,255,255,.65); }
.pfeats { list-style: none; margin-bottom: 28px; }
.pfeats li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text); padding: 7px 0; border-bottom: 1px solid var(--border); }
.pcard.pop .pfeats li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.12); }
.pfeats li:last-child { border-bottom: none; }
.pchk { color: #10ca93; font-size: 12px; margin-top: 3px; flex-shrink: 0; }
.pbtn { display: block; text-align: center; font-family: 'Nunito',sans-serif; font-size: 15px; font-weight: 800; padding: 13px; border-radius: 10px; border: none; cursor: pointer; width: 100%; transition: all .2s; text-decoration: none; }
.pbtn-outline { color: var(--brand); background: var(--brand-l); }
.pbtn-outline:hover { background: var(--brand); color: #fff; }
.pbtn-white { color: var(--navy); background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.pbtn-white:hover { transform: translateY(-2px); }

/* ===== PRECIOS v2 ===== */
.price-free-wrap { display: flex; justify-content: center; margin: 3rem 0 2.5rem; }
.price-free-card { background: var(--grad-brand); border-radius: 24px; padding: 3rem 3.5rem; max-width: 700px; width: 100%; display: flex; gap: 3rem; align-items: center; box-shadow: var(--shadow-lg), 0 24px 64px rgba(109,0,126,.22); }
.pfc-left { flex: 1; min-width: 0; }
.pfc-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 13px; border-radius: 100px; margin-bottom: 1.25rem; letter-spacing: .6px; }
.pfc-name { font-size: 13px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .4rem; }
.pfc-desc { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.55; margin-bottom: 1.5rem; }
.pfc-feats { list-style: none; margin-bottom: 2rem; }
.pfc-feats li { font-size: 14px; color: rgba(255,255,255,.9); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 8px; }
.pfc-feats li::before { content: '✓'; color: #10ca93; font-weight: 900; flex-shrink: 0; }
.pfc-feats li:last-child { border-bottom: none; }
.pfc-btn { display: inline-block; background: #fff; color: var(--navy); font-family: 'Nunito',sans-serif; font-size: 15px; font-weight: 800; padding: 14px 32px; border-radius: 12px; text-decoration: none; transition: all .2s; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.pfc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.pfc-right { text-align: center; flex-shrink: 0; }
.pfc-price { font-size: 80px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -4px; }
.pfc-price span { font-size: 36px; vertical-align: super; letter-spacing: 0; font-weight: 800; }
.pfc-per { font-size: 12px; color: rgba(255,255,255,.5); margin-top: .5rem; font-weight: 600; letter-spacing: .3px; }
.pfc-seal { margin-top: 1.25rem; font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.6; }
.price-addons-wrap { max-width: 700px; margin: 0 auto; }
.price-addon-sep { text-align: center; margin: 2rem 0 1.5rem; }
.price-addon-sep span {
    display: inline-flex; align-items: center; gap: .45rem;
    background: linear-gradient(135deg, #6d007e 0%, #b12140 100%);
    color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em;
    padding: .45rem 1.25rem; border-radius: 999px;
    box-shadow: 0 4px 14px rgba(109,0,126,.22);
}
.price-addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.addon-card { background: var(--warm); border: 1.5px solid var(--border); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.addon-top { display: flex; align-items: center; gap: .625rem; }
.addon-icon { font-size: 22px; }
.addon-name { font-size: 15px; font-weight: 800; color: var(--navy); }
.addon-desc { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }
.addon-btn { display: block; text-align: center; color: var(--brand); background: transparent; border: 1.5px solid rgba(109,0,126,.3); font-family: 'Nunito',sans-serif; font-size: 13px; font-weight: 800; padding: 9px; border-radius: 9px; text-decoration: none; transition: all .2s; margin-top: auto; }
.addon-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ===== DEMO INTERACTIVA (cómo funciona) ===== */
.demo-sec { background: var(--dark); padding: 72px 24px 80px; }
.demo-header { text-align: center; margin-bottom: 44px; }
.demo-header .eyebrow { justify-content: center; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.7); }
.demo-header h2 { color: #fff; }
.demo-header p { color: rgba(255,255,255,.55); max-width: 480px; margin: 1rem auto 0; }
.demo-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.demo-tab { font-family: 'Nunito',sans-serif; font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 8px; }
.demo-tab.on, .demo-tab:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.demo-tab-num { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; flex-shrink: 0; }
.demo-tab.on .demo-tab-num { background: rgba(255,255,255,.25); }
.demo-panel { max-width: 1080px; margin: 0 auto; }
.demo-step { display: none; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.demo-step.on { display: grid; }
.demo-img { width: 100%; border-radius: 16px; box-shadow: 0 24px 72px rgba(0,0,0,.5); }
.demo-copy h3 { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 14px; }
.demo-copy p { color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.demo-copy-bullets { display: flex; flex-direction: column; gap: 12px; }
.demo-bullet { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.8); }
.demo-bullet-ico { width: 28px; height: 28px; border-radius: 8px; background: rgba(109,0,126,.5); display: flex; align-items: center; justify-content: center; color: #c4b5fd; font-size: 12px; flex-shrink: 0; }

/* ===== SLIDER COMERCIOS (para-comercios) ===== */
.com-slider-sec { background: var(--warm); padding: 72px 0 64px; overflow: hidden; }
.com-slider-header { max-width: 1180px; margin: 0 auto; padding: 0 32px; text-align: center; margin-bottom: 40px; }
.com-slider-header .eyebrow { justify-content: center; }
.com-slider-header h2, .com-slider-header p { text-align: center; }
.com-slider-header p { max-width: 480px; margin: 0 auto; color: var(--muted); }
.com-slider-wrap { position: relative; overflow: hidden; }
.com-slider-wrap::before, .com-slider-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.com-slider-wrap::before { left: 0; background: linear-gradient(to right, var(--warm) 0%, transparent 100%); }
.com-slider-wrap::after { right: 0; background: linear-gradient(to left, var(--warm) 0%, transparent 100%); }
.com-slider-track { display: flex; gap: 16px; width: max-content; padding: 8px 0 16px; animation: marquee 28s linear infinite; }
.com-slider-track:hover { animation-play-state: paused; }
.com-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); flex-shrink: 0; text-decoration: none; color: inherit; cursor: pointer; transition: all .2s; }
.com-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.com-card-logo { width: 44px; height: 44px; border-radius: 11px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 14px; flex-shrink: 0; }
.com-card-name { font-size: 13px; font-weight: 800; color: var(--navy); }
.com-card-type { font-size: 11px; color: var(--muted); }
.com-card-loc { font-size: 10px; color: var(--brand); font-weight: 700; margin-top: 2px; }

/* ===== STATS ASOCIACIONES ===== */
.asoc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 56px; }
.astat { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px 20px; text-align: center; box-shadow: var(--shadow); }
.astat-n { font-size: 42px; font-weight: 900; color: var(--brand); line-height: 1; }
.astat-l { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* ===== DIRECTORIO ASOCIACIONES ===== */
.asoc-dir-sec { background: var(--warm); padding: 80px 0 72px; }
.asoc-dir-header { max-width: 1180px; margin: 0 auto; padding: 0 32px 40px; text-align: center; }
.asoc-grid { max-width: 1180px; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; gap: 12px; }
.asoc-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.asoc-item-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.asoc-ilogo { width: 48px; height: 48px; border-radius: 12px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 16px; flex-shrink: 0; }
.asoc-item-name { font-size: 15px; font-weight: 800; color: var(--navy); }
.asoc-item-loc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.asoc-item-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.asoc-item-count { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-l); padding: 3px 10px; border-radius: 100px; }
.asoc-chevron { font-size: 12px; color: var(--muted); transition: transform .3s; }
.asoc-item.open .asoc-chevron { transform: rotate(180deg); }
.asoc-drawer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.asoc-item.open .asoc-drawer { max-height: 400px; }
.asoc-drawer-inner { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 24px 20px; }
.asoc-chip { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; text-decoration: none; transition: all .2s; }
.asoc-chip:hover { border-color: var(--brand); background: var(--brand-l); }
.asoc-chip-logo { width: 34px; height: 34px; border-radius: 8px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 11px; flex-shrink: 0; }
.asoc-chip-name { font-size: 12px; font-weight: 800; color: var(--navy); }
.asoc-chip-type { font-size: 10px; color: var(--muted); }

/* ===== BLOG MEJORAS ===== */
.blog-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 52px; }
.bf-img { position: relative; min-height: 300px; display: block; overflow: hidden; }
.bf-img img { width: 100%; height: 100%; object-fit: cover; }
.bf-img-ov { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(109,0,126,.22),rgba(177,33,64,.22)); }
.bf-cat { position: absolute; bottom: 16px; left: 16px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 100px; }
.bf-body { background: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.bf-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 12px; }
.bf-body h2 { font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1.3; margin-bottom: 14px; }
.bf-body p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.bf-meta { display: flex; align-items: center; gap: 12px; }
.bf-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-l); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.bf-author { font-size: 13px; font-weight: 800; color: var(--navy); }
.bf-date { font-size: 12px; color: var(--muted); }
.bf-readtime { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }
.blog-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0 44px; }
.bpill { font-family: 'Nunito',sans-serif; font-size: 13px; font-weight: 700; padding: 7px 18px; border-radius: 100px; border: 1.5px solid var(--border); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s; text-decoration: none; }
.bpill.on, .bpill:hover { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ===== COMERCIO CARD ===== */
.com-dir-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.com-dir-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; transition: all .2s; display: flex; flex-direction: column; }
.com-dir-card:hover { border-color: var(--brand); box-shadow: 0 6px 24px rgba(109,0,126,.12); transform: translateY(-3px); }
.com-dir-img { position: relative; height: 160px; overflow: hidden; background: var(--surface); flex-shrink: 0; }
.com-dir-img img { width: 100%; height: 100%; object-fit: cover; }
.com-dir-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 900; color: #fff; letter-spacing: -1px; }
.com-dir-logo-badge { position: absolute; bottom: 10px; left: 12px; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); background: #fff; }
.com-dir-logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.com-dir-body { padding: 1rem 1.125rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.com-dir-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.com-dir-cat { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-l); padding: 2px 8px; border-radius: 100px; }
.com-dir-city { font-size: .75rem; color: var(--muted); }
.com-dir-name { font-size: 1rem; font-weight: 800; color: var(--navy); line-height: 1.3; margin: 0 0 auto; padding-bottom: .75rem; }
.com-dir-btn { display: inline-block; margin-top: .75rem; font-size: .8rem; font-weight: 700; color: var(--brand); text-decoration: none; border: 1.5px solid var(--brand); border-radius: 8px; padding: .45rem 1rem; transition: all .2s; text-align: center; }
.com-dir-btn:hover { background: var(--brand); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; min-height: auto; height: auto; }
    .hero-left { align-items: flex-start; padding: 3.5rem 2.5rem; order: 2; }
    .hero-right { min-height: 360px; height: 360px; order: 1; }
    .cta-final-split { grid-template-columns: 1fr; }
    .cta-right { min-height: 280px; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .comercios-grid { grid-template-columns: repeat(2,1fr); }
    .com-dir-grid { grid-template-columns: repeat(2,1fr); }
    .pagcom-inner { grid-template-columns: 1fr; gap: 3rem; padding: 3.5rem 2rem; }
    .poster-sec-inner { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 2rem; }
    .price-grid { grid-template-columns: 1fr; }
    .pcard.pop { transform: scale(1); }
    .price-free-card { flex-direction: column; gap: 2rem; padding: 2.5rem 2rem; }
    .pfc-right { text-align: left; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
    .pfc-price { font-size: 60px; }
    .price-addons-grid { grid-template-columns: 1fr; }
    .test-featured { grid-template-columns: 1fr; }
    .tcard-big.big2 { grid-column: span 1; }
    .demo-step.on { grid-template-columns: 1fr; }
    .blog-featured { grid-template-columns: 1fr; }
    .asoc-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; margin-left: auto; }

    /* Menú desplegado en móvil */
    .nav-menu {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 0.375rem 0 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 32px rgba(0,0,0,.12); gap: 0;
    }
    .nav-menu.open { display: flex; }

    /* Ítems principales */
    .nav-menu > li > a {
        display: block; padding: 0.875rem 1.5rem;
        font-size: 0.9375rem; font-weight: 700; color: var(--navy);
        border-bottom: 1px solid var(--border); border-radius: 0;
        transition: background .15s, color .15s;
    }
    .nav-menu > li:last-child > a { border-bottom: none; }
    .nav-menu > li > a:hover,
    .nav-menu > li > a.active { color: var(--brand); background: var(--brand-l); }

    /* Ocultar caret en móvil */
    .nav-caret { display: none; }

    /* Submenu — siempre visible, indentado con fondo sutil */
    .nav-drop {
        position: static; border: none; box-shadow: none; border-radius: 0;
        padding: 0; background: #f9fafb;
        display: flex !important; flex-direction: column;
    }
    .nav-drop::before { display: none; }
    .nav-drop li { padding: 0; }
    .nav-drop a {
        display: block; padding: 0.7rem 1.5rem 0.7rem 2.25rem;
        font-size: 0.875rem; font-weight: 600; color: var(--muted);
        border-bottom: 1px solid var(--border); border-radius: 0;
    }
    .nav-drop a:hover, .nav-drop a.active { color: var(--brand); background: var(--brand-l); }

    /* Ocultar el primer hijo del dropdown cuando repite el enlace del padre */
    .nav-has-drop > .nav-drop > li:first-child { display: none; }
    .nav-caret { display: none; }
    .btn-nav-cta { display: none; }
    .btn-nav-login { display: none; }
    .hero-left { padding: 2.5rem 1.5rem 2rem; }
    .hero-stats { display: none; }
    .hero-right { min-height: 280px; height: 280px; }
    .hero-float { padding: .6rem .75rem; border-radius: 10px; }
    .hero-float-notif { top: 1.25rem; right: 1rem; max-width: 180px; }
    .notif-text { font-size: .75rem; }
    .notif-sub { font-size: 10px; }
    .hero-float-qr { bottom: 1.25rem; left: 1rem; gap: .5rem; }
    .qr-box { width: 38px; height: 38px; font-size: 16px; border-radius: 8px; }
    .qr-text strong { font-size: .78rem; }
    .qr-text span { font-size: .68rem; }
    .hero-float-stat { bottom: 1.25rem; right: 1rem; }
    .fstat-big { font-size: 1.375rem; }
    .fstat-lbl { font-size: 10px; }
    .how-row { grid-template-columns: 1fr; gap: 2rem; }
    .how-row.flip .how-img { order: 0; }
    .stories-grid { grid-template-columns: 1fr; }
    .bene-grid { grid-template-columns: 1fr; }
    .bene-tab-panel.on { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .comercios-grid { grid-template-columns: 1fr; }
    .com-dir-grid { grid-template-columns: 1fr; }
    .cta-left { padding: 3rem 1.5rem; }
    .tab-row { flex-wrap: wrap; width: 100%; justify-content: center; }
    .poster-imgs { grid-template-columns: 1fr 1fr; }
    .pimg.tall { grid-row: span 1; }
    .asoc-stats { grid-template-columns: 1fr 1fr; }
    .asoc-grid { padding: 0 1rem; }
    .asoc-item-head { padding: 16px; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
    .asoc-item-name { font-size: 14px; }
    .asoc-item-right { margin-left: 0; flex-shrink: 0; }
    .asoc-ilogo { width: 42px; height: 42px; font-size: 14px; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-left h1 { font-size: 1.875rem; letter-spacing: -.5px; margin-bottom: 1rem; }
    .hero-sub { font-size: .95rem; margin-bottom: 1.5rem; }
    .hero-badge { margin-bottom: 1.25rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .footer-container { grid-template-columns: 1fr; }
    .stories-grid { grid-template-columns: 1fr; }
    .asoc-stats { grid-template-columns: 1fr; }
    .demo-tabs { flex-direction: column; align-items: center; }
}

/* ── Blog home section ─────────────────────────────────── */
.blog-home-sec { background: var(--surface); padding: 5rem 0; }
.blog-home-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; flex-wrap: wrap; }
.blog-home-ver-btn { align-self: flex-end; white-space: nowrap; }

/* Featured */
.blog-feat-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; margin-bottom: 2rem; }
.blog-feat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-feat-img { position: relative; min-height: 300px; overflow: hidden; }
.blog-feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-feat-img-placeholder { width: 100%; height: 100%; background: var(--grad-brand); }
.blog-feat-img-ov { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(109,0,126,.25) 0%, rgba(177,33,64,.15) 100%); }
.blog-feat-body { padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: .75rem; }
.blog-feat-title { font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.25; margin: 0; }
.blog-feat-excerpt { color: #6b7280; font-size: .9rem; line-height: 1.6; margin: 0; }

/* Grid 3 cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { height: 180px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-img-placeholder { width: 100%; height: 100%; background: var(--grad-brand); }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-card-title { font-size: 1rem; font-weight: 800; color: var(--navy); line-height: 1.3; margin: 0; }
.blog-card-excerpt { color: #6b7280; font-size: .8rem; line-height: 1.55; margin: 0; flex: 1; }

/* Shared */
.blog-cat-badge { font-size: .65rem; font-weight: 800; letter-spacing: .07em; color: var(--brand); text-transform: uppercase; }
.blog-meta { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: .5rem; }
.blog-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.blog-author { font-size: .78rem; font-weight: 700; color: var(--navy); }
.blog-date { font-size: .7rem; color: var(--muted); }
.blog-meta-sm { justify-content: space-between; border-top: 1px solid var(--border); }
.blog-read-time { font-size: .72rem; color: var(--muted); font-weight: 600; }

@media (max-width: 900px) {
    .blog-feat-card { grid-template-columns: 1fr; }
    .blog-feat-img { min-height: 220px; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .blog-home-header { flex-direction: column; align-items: flex-start; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* ===== NEWSLETTER CTA ===== */
.blog-newsletter { background: var(--grad-brand); padding: 4rem 2rem; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: center; text-align: left; }
.bn-copy { color: #fff; max-width: 480px; }
.bn-copy h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .75rem; line-height: 1.25; }
.bn-copy p { color: rgba(255,255,255,.8); font-size: .95rem; }
.bn-form-wrap { display: flex; flex-direction: column; gap: .75rem; }
.bn-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.bn-input { padding: .75rem 1rem; border: none; border-radius: 8px; font-size: .9rem; min-width: 180px; outline: none; }
.bn-input-err { outline: 2px solid #fca5a5; }
.bn-btn { padding: .75rem 1.5rem; background: #fff; color: var(--brand); font-weight: 700; font-size: .9rem; border-radius: 8px; text-decoration: none; white-space: nowrap; border: none; cursor: pointer; }
.bn-btn:hover { background: var(--warm); }
.bn-msg { padding: .9rem 1.25rem; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.bn-msg-ok { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.bn-msg-err { background: rgba(239,68,68,.15); color: #fff; border: 1px solid rgba(239,68,68,.4); }
@media (max-width: 640px) {
    .blog-newsletter { text-align: center; }
    .bn-form { flex-direction: column; width: 100%; }
    .bn-input { width: 100%; }
    .bn-btn { width: 100%; text-align: center; }
}

