/* ==========================================================================
   REALLEAD.CL — 2026 OBSIDIAN DARK DESIGN SYSTEM (SUBPAGES)
   Shared across /marketing-inmobiliario/, /marketing-colegios/,
   /casos-de-exito/ and /diagnostico/
   ========================================================================== */
:root {
  --bg: #07080B;
  --bg-deep: #050507;
  --bg-card: rgba(255, 255, 255, 0.028);
  --bg-card-hover: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.095);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #F5F6F8;
  --text-secondary: #A4ABB7;
  --text-muted: #8D95A3;
  --lime: #9FFF00;
  --lime-soft: #C7FF66;
  --emerald: #16A34A;
  --emerald-bright: #22C55E;
  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1220px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg-deep); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body { background: var(--bg-deep); color: var(--text); line-height: 1.6; overflow-x: clip; position: relative; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: 0.025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(100% - 32px, var(--container)); } }

@keyframes limeFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.text-kinetic { background: linear-gradient(110deg, #E8FFC2 0%, #9FFF00 32%, #34D399 66%, #9FFF00 100%); background-size: 240% 240%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: limeFlow 7s ease-in-out infinite; }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--lime); padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(159, 255, 0, 0.24); background: rgba(159, 255, 0, 0.055); }
.eyebrow .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* Floating Navbar */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 1050; display: flex; justify-content: center; padding-inline: 20px; pointer-events: none; }
.navbar { pointer-events: auto; width: min(100%, var(--container)); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 14px 10px 22px; border-radius: var(--radius-pill); background: rgba(9, 10, 14, 0.82); border: 1px solid rgba(255, 255, 255, 0.11); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.035em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: #141519; border: 1px solid rgba(159, 255, 0, 0.38); display: grid; place-items: center; }
.brand-mark svg { width: 17px; height: 17px; }
.brand .tld { color: var(--lime); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); padding: 8px 13px; border-radius: var(--radius-pill); transition: color 0.25s ease, background 0.25s ease; white-space: nowrap; }
.nav-links a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: var(--lime); background: rgba(159, 255, 0, 0.1); box-shadow: inset 0 0 0 1px rgba(159, 255, 0, 0.28); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 0.91rem; padding: 13px 22px; border-radius: var(--radius-pill); transition: transform 0.3s var(--ease-out-expo), background 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease; white-space: nowrap; }
.btn-sm { padding: 9px 17px; font-size: 0.83rem; }
.btn-primary { background: var(--lime); color: #050507; box-shadow: 0 10px 30px -8px rgba(159, 255, 0, 0.45); }
.btn-primary:hover { transform: translateY(-2px); background: #B4FF3B; box-shadow: 0 16px 38px -6px rgba(159, 255, 0, 0.58); }
.btn-ghost { background: rgba(255, 255, 255, 0.045); color: #FFFFFF; border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.32); transform: translateY(-2px); }

.mobile-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); align-items: center; justify-content: center; }
@media (max-width: 960px) { .nav-links { display: none; } .mobile-toggle { display: inline-flex; } }

.mobile-drawer { position: fixed; inset: 0; z-index: 1100; background: rgba(5, 5, 7, 0.96); backdrop-filter: blur(26px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.mobile-close { position: absolute; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); font-size: 1.3rem; }

/* Breadcrumb & Subpage Hero */
.sub-hero { position: relative; padding: 136px 0 74px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 60% 60% at 75% 20%, rgba(159, 255, 0, 0.09), transparent 65%), #07080B; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span.cur { color: var(--lime); }

.sub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 44px; align-items: center; }
@media (max-width: 960px) { .sub-hero-grid { grid-template-columns: 1fr; } }

.sub-h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; margin-top: 18px; }
.sub-lead { margin-top: 20px; font-size: 1.08rem; color: #C7CDD8; line-height: 1.64; max-width: 610px; }
.sub-lead strong { color: #FFFFFF; }
.sub-cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.sub-hero-media { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: #0B0C10; box-shadow: 0 32px 90px rgba(0, 0, 0, 0.75); }
.sub-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Sections & Cards */
.sub-section { padding: 88px 0; position: relative; }
@media (max-width: 768px) { .sub-section { padding: 64px 0; } }
.sub-section + .sub-section { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.sec-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; margin-top: 14px; }
.sec-sub { margin-top: 12px; font-size: 1rem; color: var(--text-secondary); max-width: 620px; line-height: 1.6; }

/* Case Grid (Detailed Proof Cards) */
.cases-detailed-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1020px) { .cases-detailed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cases-detailed-grid { grid-template-columns: 1fr; } }

.case-detail-card { padding: 26px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, background 0.3s ease; }
.case-detail-card:hover { transform: translateY(-4px); border-color: rgba(159, 255, 0, 0.42); background: var(--bg-card-hover); }
.cd-top { display: flex; align-items: center; gap: 14px; }
.cd-logo { width: 84px; height: 50px; border-radius: 12px; background: #FFFFFF; padding: 6px 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cd-logo.dark-bg { background: #0D0B0C; border: 1px solid rgba(255,255,255,0.12); }
.cd-logo.burgundy-bg { background: #6C0019; }
.cd-logo img { max-width: 100%; max-height: 38px; object-fit: contain; }
.cd-meta small { display: block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--lime); }
.cd-meta h3, .cd-meta strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: #FFFFFF; line-height: 1.18; margin-top: 2px; }

.cd-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cd-kpi { padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.032); border: 1px solid rgba(255, 255, 255, 0.08); }
.cd-kpi.hl { background: rgba(159, 255, 0, 0.09); border-color: rgba(159, 255, 0, 0.36); }
.cd-kpi strong { display: block; font-family: var(--font-display); font-size: 1.18rem; color: #FFFFFF; line-height: 1.1; }
.cd-kpi.hl strong { color: var(--lime); }
.cd-kpi span { display: block; font-size: 0.72rem; color: var(--text-secondary); margin-top: 3px; }
.cd-desc { font-size: 0.9rem; color: #C7CDD8; line-height: 1.56; }

/* Filter Pills on /casos-de-exito/ */
.filter-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill { padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03); font-size: 0.85rem; font-weight: 600; color: #CBD1DC; transition: all 0.25s ease; }
.filter-pill:hover { border-color: rgba(159, 255, 0, 0.45); color: #FFFFFF; }
.filter-pill.active { background: var(--lime); border-color: var(--lime); color: #050507; }

/* Video Embeds Grid */
.vt-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 820px) { .vt-grid { grid-template-columns: 1fr; } }
.vt-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); background: #0B0C10; }
.vt-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vt-foot { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.vt-foot strong { display: block; font-family: var(--font-display); font-size: 1.04rem; }
.vt-foot span { display: block; font-size: 0.8rem; color: var(--text-secondary); }
.vt-badge { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill); background: rgba(159, 255, 0, 0.14); border: 1px solid rgba(159, 255, 0, 0.35); color: var(--lime); }

/* Vertical Reel Cards on Subpages */
.reels-row { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 24px; justify-content: start; }
.reels-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .reels-row, .reels-row.three { grid-template-columns: 1fr; max-width: 380px; } }
.reel-box { border-radius: 24px; overflow: hidden; border: 1px solid var(--border-strong); background: #0B0C10; }
.reel-box video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.reel-box-meta { padding: 15px 18px; }
.reel-box-meta strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: #FFFFFF; }
.reel-box-meta span { display: block; font-size: 0.82rem; color: var(--text-secondary); margin-top: 4px; }

/* Pillars / Steps Grid */
.pillars-3 { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .pillars-3 { grid-template-columns: 1fr; } }
.pillar-card { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.pillar-num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--lime); font-weight: 700; margin-bottom: 12px; display: block; }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.pillar-card p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.6; }

/* Form Card */
.diag-split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 44px; align-items: start; }
@media (max-width: 940px) { .diag-split { grid-template-columns: 1fr; } }
.form-card { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-xl); background: linear-gradient(160deg, rgba(16, 18, 24, 0.94) 0%, rgba(8, 9, 12, 0.97) 100%); border: 1px solid rgba(159, 255, 0, 0.28); box-shadow: 0 32px 90px rgba(0, 0, 0, 0.75); }
.form-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.form-card-avatar { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(159, 255, 0, 0.45); flex-shrink: 0; }
.form-card-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.form-card-head h3 { font-family: var(--font-display); font-size: 1.3rem; }
.form-card-head p { font-size: 0.82rem; color: var(--text-secondary); }
.exec-form { display: flex; flex-direction: column; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: #B8BFCC; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.13); color: #FFFFFF; font-family: var(--font-sans); font-size: 0.92rem; outline: none; }
.field select option { background: #0D0E12; color: #FFFFFF; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(159, 255, 0, 0.12); }
.form-feedback { display: none; padding: 14px 16px; border-radius: 14px; background: rgba(159, 255, 0, 0.1); border: 1px solid rgba(159, 255, 0, 0.4); color: #ECFCCB; font-size: 0.88rem; }
.form-feedback.show { display: block; }
.form-feedback a { color: var(--lime); text-decoration: underline; font-weight: 600; }

/* Footer & WA Float */
footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 44px 0 52px; background: #040406; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.84rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--lime); }
.footer-meta { font-size: 0.82rem; color: var(--text-muted); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-pill); background: rgba(10, 12, 16, 0.92); border: 1px solid rgba(159, 255, 0, 0.48); backdrop-filter: blur(18px); color: #FFFFFF; font-size: 0.85rem; font-weight: 600; box-shadow: 0 18px 46px rgba(0, 0, 0, 0.72); transition: all 0.25s ease; }
.wa-float:hover { background: var(--lime); color: #050507; transform: translateY(-2px); }
.wa-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.wa-float:hover .wa-dot { background: #050507; box-shadow: none; }

/* Subpage Visible FAQ Accordion (Matches JSON-LD FAQPage 100%) */
.faq-list { margin-top: 28px; max-width: 860px; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.11); }
.faq-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.11); }
.faq-btn { width: 100%; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; font-family: var(--font-display); font-size: clamp(1.04rem, 1.5vw, 1.24rem); font-weight: 700; color: #EFF2F7; }
.faq-btn:hover, .faq-item.open .faq-btn { color: var(--lime); }
.faq-plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; color: var(--text-secondary); transition: transform 0.3s ease, border-color 0.25s ease, color 0.25s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); border-color: var(--lime); color: var(--lime); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-out-expo); }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p { padding-bottom: 20px; font-size: 0.94rem; line-height: 1.65; color: var(--text-secondary); }

    /* A11y helpers */
    .skip-link { position: absolute; left: 12px; top: -64px; z-index: 10000; background: #9FFF00; color: #050507; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 0.9rem; transition: top 0.2s ease; }
    .skip-link:focus { top: 12px; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid #9FFF00; outline-offset: 3px; }

/* Comparative data table (casos de éxito) */
.table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; background: rgba(255, 255, 255, 0.025); }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.9rem; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: var(--text-secondary); }
.data-table thead th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); background: rgba(255, 255, 255, 0.04); }
.data-table tbody th { color: #FFFFFF; font-weight: 700; font-family: var(--font-display); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(159, 255, 0, 0.04); }

/* Legal / prose pages */
.prose { max-width: 780px; }
.prose h2 { font-family: var(--font-display); font-size: 1.35rem; color: #FFFFFF; margin: 36px 0 10px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--text-secondary); line-height: 1.7; font-size: 0.98rem; }
.prose ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.prose a { color: var(--lime); text-decoration: underline; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}


/* Zero-byte Click-to-Load YouTube Facade */
.yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #07080B;
  cursor: pointer;
  overflow: hidden;
  display: block;
}
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}
.yt-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.08) 0%, rgba(5, 5, 7, 0.45) 100%);
  pointer-events: none;
}
.yt-facade:hover img {
  transform: scale(1.03);
  filter: brightness(1.06);
}
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(159, 255, 0, 0.94);
  color: #050507;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(159, 255, 0, 0.16);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.yt-play-btn svg { margin-left: 3px; }
.yt-facade:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 14px 40px rgba(159, 255, 0, 0.32), 0 0 0 12px rgba(159, 255, 0, 0.22);
}
.yt-pill-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F5F6F8;
}

/* Guides Hub & Long-Form GEO Editorial Articles */
.guides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
@media (max-width: 820px) { .guides-grid { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.028); border: 1px solid rgba(255, 255, 255, 0.1); transition: border-color 0.25s ease, transform 0.25s ease; }
.guide-card:hover { border-color: rgba(159, 255, 0, 0.35); transform: translateY(-2px); }
.guide-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.guide-card h2 { font-family: var(--font-display); font-size: clamp(1.22rem, 1.8vw, 1.48rem); line-height: 1.22; color: #FFFFFF; letter-spacing: -0.025em; margin-top: 10px; }
.guide-card p { font-size: 0.94rem; color: var(--text-secondary); line-height: 1.62; margin-top: 10px; }
.guide-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }
.guide-read { color: var(--lime); font-weight: 700; }

.article-shell { max-width: 820px; }
.article-meta-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted); }
.article-meta-bar strong { color: #FFFFFF; font-weight: 600; }
.answer-box { margin-top: 28px; padding: 24px 26px; border-radius: 20px; background: rgba(159, 255, 0, 0.06); border: 1px solid rgba(159, 255, 0, 0.28); }
.answer-box-label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; display: block; }
.answer-box p { font-size: 1.02rem; line-height: 1.68; color: #F5F6F8; margin: 0; }

.article-body { max-width: 820px; }
.article-body h2 { font-family: var(--font-display); font-size: clamp(1.38rem, 2.3vw, 1.85rem); line-height: 1.2; letter-spacing: -0.025em; color: #FFFFFF; margin: 44px 0 14px; }
.article-body h3 { font-family: var(--font-display); font-size: 1.14rem; line-height: 1.3; color: #FFFFFF; margin: 26px 0 8px; }
.article-body p { color: var(--text-secondary); font-size: 1.01rem; line-height: 1.74; margin-bottom: 14px; }
.article-body strong { color: #FFFFFF; font-weight: 700; }
.article-body ul, .article-body ol { margin: 12px 0 20px 22px; display: grid; gap: 10px; color: var(--text-secondary); font-size: 0.99rem; line-height: 1.68; }
.article-body blockquote { margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--lime); background: rgba(255, 255, 255, 0.03); border-radius: 0 14px 14px 0; color: #E5E9F0; font-size: 0.98rem; line-height: 1.65; }
.article-body .table-wrap { margin: 24px 0; }
.article-body .table-note { font-size: 0.82rem; color: var(--text-muted); margin-top: -12px; margin-bottom: 24px; }

.callout-cta { margin-top: 44px; padding: 32px; border-radius: 26px; background: linear-gradient(135deg, rgba(159, 255, 0, 0.08), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(159, 255, 0, 0.28); }
.callout-cta h2 { margin-top: 0; font-size: clamp(1.32rem, 2.1vw, 1.7rem); }
.callout-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.related-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
@media (max-width: 720px) { .related-guides { grid-template-columns: 1fr; } }
.related-link { display: block; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.025); transition: border-color 0.2s ease; }
.related-link:hover { border-color: rgba(159, 255, 0, 0.35); }
.related-link span { display: block; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); margin-bottom: 6px; }
.related-link strong { display: block; font-family: var(--font-display); font-size: 1rem; color: #FFFFFF; line-height: 1.3; }

/* Course Landing Page (/curso/ & /gracias/) */
.course-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
@media (max-width: 900px) { .course-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pillar-box { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); }
.pillar-box.accent { border-color: rgba(159, 255, 0, 0.35); background: rgba(159, 255, 0, 0.05); }
.pillar-box strong { display: block; font-family: var(--font-display); font-size: 0.98rem; color: #FFFFFF; margin-bottom: 6px; }
.pillar-box span { display: block; font-size: 0.83rem; color: var(--text-secondary); line-height: 1.5; }

.price-card { max-width: 680px; margin: 32px auto 0; padding: 32px; border-radius: 28px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(159, 255, 0, 0.35); text-align: center; }
.price-old { font-size: 1.15rem; color: var(--text-muted); text-decoration: line-through; margin-right: 12px; }
.price-now { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: #FFFFFF; letter-spacing: -0.03em; }
.price-iva { display: inline-block; margin-left: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(159, 255, 0, 0.12); border: 1px solid rgba(159, 255, 0, 0.3); font-family: var(--font-mono); font-size: 0.72rem; color: var(--lime); vertical-align: middle; }
.checkout-stack { display: grid; gap: 12px; margin-top: 22px; }
.inst-box { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(22, 163, 74, 0.09); border: 1px solid rgba(34, 197, 94, 0.3); text-align: left; font-size: 0.84rem; color: var(--text-secondary); line-height: 1.55; }
.inst-box strong { color: #86EFAC; }

.module-list { display: grid; gap: 18px; margin-top: 28px; }
.module-card { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.028); border: 1px solid rgba(255, 255, 255, 0.1); }
.module-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.module-num { width: 46px; height: 46px; border-radius: 14px; background: rgba(159, 255, 0, 0.12); border: 1px solid rgba(159, 255, 0, 0.35); color: var(--lime); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; flex-shrink: 0; }
.module-card h3 { font-family: var(--font-display); font-size: 1.18rem; color: #FFFFFF; line-height: 1.25; }
.module-card ul { margin: 12px 0 14px 20px; display: grid; gap: 8px; color: var(--text-secondary); font-size: 0.94rem; }
.pdf-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: rgba(22, 163, 74, 0.12); border: 1px solid rgba(34, 197, 94, 0.3); font-family: var(--font-mono); font-size: 0.74rem; color: #86EFAC; }

.roi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
@media (max-width: 820px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-card { padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.028); border: 1px solid rgba(255, 255, 255, 0.1); }
.roi-card.win { border-color: rgba(159, 255, 0, 0.45); background: rgba(159, 255, 0, 0.05); }
.roi-card small { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.roi-card.win small { color: var(--lime); }
.roi-card .roi-val { font-family: var(--font-display); font-size: 1.85rem; font-weight: 800; color: #FFFFFF; margin: 10px 0 8px; }
.roi-card.win .roi-val { color: var(--lime); }
.roi-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.58; }

.sticky-checkout { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; background: rgba(7, 8, 11, 0.94); border-top: 1px solid rgba(159, 255, 0, 0.28); backdrop-filter: blur(14px); padding: 12px 20px; }
.sticky-checkout-inner { max-width: var(--container); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.sticky-checkout-price strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--lime); }
.sticky-checkout-price span { display: block; font-size: 0.78rem; color: var(--text-secondary); }
.sticky-checkout-actions { display: flex; align-items: center; gap: 10px; }
body.has-sticky-bar { padding-bottom: 84px; }
body.has-sticky-bar .wa-float { bottom: 92px; }

.transfer-modal { position: fixed; inset: 0; z-index: 950; background: rgba(5, 5, 7, 0.85); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 20px; }
.transfer-modal.open { display: flex; }
.transfer-card { width: min(100%, 520px); max-height: 90vh; overflow-y: auto; background: #0E1016; border: 1px solid rgba(159, 255, 0, 0.35); border-radius: 26px; padding: 26px; }
.transfer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.transfer-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: #FFFFFF; cursor: pointer; font-size: 1rem; }
.bank-rows { display: grid; gap: 10px; margin: 16px 0; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); }
.bank-row small { display: block; font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.bank-row strong { display: block; font-size: 0.94rem; color: #FFFFFF; word-break: break-word; }
.copy-btn { padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(159, 255, 0, 0.35); background: rgba(159, 255, 0, 0.1); color: var(--lime); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.copy-btn:hover { background: var(--lime); color: #050507; }
