/* ══════════════════════════════════════════════════════════════════
   MOTOR DE VENTAS — BRADOC Marketing
   Hoja de estilos compartida (una sola, sin frameworks)
   Paleta y tipografía tomadas de la página principal (General/index.html)
   ══════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:          #0B1B62;
  --blue:          #1E40AF;
  --blue-mid:      #2563EB;
  --sky:           #0EA5E9;
  --sky-light:     #38BDF8;
  --sky-lighter:   #BAE6FD;
  --sky-faint:     #F0F9FF;

  --text-primary:  #0F172A;
  --text-secondary:#475569;
  --text-muted:    #94A3B8;

  --surface:       #FFFFFF;
  --surface-alt:   #F8FAFF;
  --border:        #E1EFFE;

  --grad-hero:     linear-gradient(135deg, #0B1B62 0%, #1A3494 55%, #0B1D70 100%);
  --grad-blue:     linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
  --grad-card:     linear-gradient(135deg, rgba(56,189,248,.07) 0%, rgba(37,99,235,.04) 100%);
  --grad-radial:   radial-gradient(circle at 50% 30%, rgba(56,189,248,.16) 0%, rgba(11,27,98,0) 60%);

  --shadow-sm:  0 1px 4px  rgba(11,27,98,.08);
  --shadow-md:  0 4px 16px rgba(11,27,98,.12);
  --shadow-lg:  0 8px 32px rgba(11,27,98,.16);
  --shadow-xl:  0 16px 48px rgba(11,27,98,.20);

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--surface);
  overflow-x: hidden;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
section { position: relative; }

/* ─── UTILS ─────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px; }

.eyebrow-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sky); background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.25);
  padding: 6px 14px; border-radius: var(--r-full);
  margin-bottom: 16px;
}
.eyebrow-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); flex-shrink: 0; }
.eyebrow-tag.on-dark { color: var(--sky-light); background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.3); }
.eyebrow-tag.on-dark::before { background: var(--sky-light); }
.eyebrow-tag.centered { margin-left: auto; margin-right: auto; }

.h-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; line-height: 1.16; color: var(--text-primary);
}
.h-title span { background: var(--grad-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.h-title.on-dark { color: #fff; }
.h-title.on-dark span { background: linear-gradient(135deg,#38BDF8 0%,#BAE6FD 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.h-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.75; margin-top: 14px; }
.h-subtitle.on-dark { color: rgba(255,255,255,.68); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: var(--r-full);
  font-size: .95rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.45); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn-outline-dark { background: transparent; color: var(--blue-mid); border: 1.5px solid rgba(37,99,235,.3); }
.btn-outline-dark:hover { background: rgba(37,99,235,.06); border-color: rgba(37,99,235,.55); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,.35); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.45); }
.btn-lg { padding: 18px 38px; font-size: 1.02rem; }
.btn-full { width: 100%; }

/* Diamond / rombo marker — recurring motif of the "pieces" of the engine */
.rombo {
  width: 9px; height: 9px; flex-shrink: 0;
  background: var(--sky); transform: rotate(45deg);
  display: inline-block; border-radius: 2px;
}
.rombo.filled-strong { background: var(--sky-light); }
.rombo.empty { background: transparent; border: 1.5px solid var(--text-muted); }
.rombo.on-dark { background: var(--sky-light); }

/* ─── REVEAL ON SCROLL (progressive enhancement) ──────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Blueprint grid background, used behind dark bands */
.grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(11,27,98,.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-img { height: 36px; width: auto; display: block; object-fit: contain; }
.logo-brandname { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.02rem; color: #fff; letter-spacing: -.01em; line-height: 1.15; }
.logo-brandname small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-light); margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.75); transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; right: 0; height: 2px; background: var(--sky-light); border-radius: 2px; transform: scaleX(0); transition: transform var(--transition); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; }
.nav-cta.btn-whatsapp { padding: 10px 22px; font-size: .85rem; }

/* Mobile menu — pure CSS via checkbox hack, zero JavaScript */
.nav-toggle-check { display: none; }
.nav-toggle-label {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; cursor: pointer; flex-shrink: 0;
}
.nav-toggle-label span { display: block; height: 2px; width: 24px; background: #fff; border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  max-height: 0; overflow: hidden;
  background: rgba(11,27,98,.98); backdrop-filter: blur(20px);
  transition: max-height .35s ease;
}
.nav-toggle-check:checked ~ .mobile-menu { max-height: 420px; }
.mobile-menu a {
  font-size: 1.02rem; font-weight: 600; color: rgba(255,255,255,.85);
  padding: 15px 24px; border-top: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--sky-light); }
.mobile-menu .mm-cta { color: var(--sky-light); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle-label { display: flex; }
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  background: var(--grad-hero);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 132px 0 72px;
}
.hero .grid-bg { display: none; }
@media (min-width: 900px) { .hero .grid-bg { display: block; } }
.hero-glow-svg { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1300px; height: 560px; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--sky-light);
  border: 1px solid rgba(56,189,248,.35);
  background: rgba(56,189,248,.1);
  padding: 8px 18px; border-radius: var(--r-full);
  margin-bottom: 22px;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.85)} }

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  color: #fff; margin-bottom: 22px;
}
.hero-title .accent { color: var(--sky-light); }
.hero-desc { font-size: 1.08rem; color: rgba(255,255,255,.72); max-width: 620px; line-height: 1.8; margin-bottom: 38px; }
.hero-desc strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── PIEZAS DEL MOTOR ───────────────────────────────────── */
.pieces-band { position: relative; z-index: 2; margin-top: 76px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.pieces-row { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.pieces-row::before {
  content: ''; position: absolute; top: 22px; left: 3%; right: 3%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.55) 12%, rgba(56,189,248,.55) 88%, transparent);
  z-index: 0;
}
.piece-plate { position: relative; z-index: 1; padding: 0 22px 0 0; }
.piece-plate:last-child { padding-right: 0; }
.piece-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); border: 2px solid rgba(56,189,248,.5);
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: .95rem; color: var(--sky-light);
  margin-bottom: 16px;
}
.piece-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .98rem; color: #fff; margin-bottom: 8px; line-height: 1.35; }
.piece-desc { font-size: .85rem; color: rgba(255,255,255,.62); line-height: 1.6; }
.pieces-note { margin-top: 30px; font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 640px; }
.pieces-note .rombo { margin-right: 4px; vertical-align: middle; }

@media (max-width: 900px) {
  .pieces-row { grid-template-columns: 1fr; gap: 0; }
  .pieces-row::before { display: none; }
  .piece-plate { padding: 0 0 28px 26px; border-left: 2px solid rgba(56,189,248,.3); }
  .piece-plate:last-child { padding-bottom: 0; border-left-color: transparent; }
  .piece-num { width: 38px; height: 38px; font-size: .85rem; margin-left: -21px; margin-bottom: 14px; }
}

/* ─── PROBLEMA (emocional) ──────────────────────────────── */
.problem { padding: 100px 0; background: var(--surface-alt); }
.problem-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.problem-lede { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text-primary); line-height: 1.35; margin-bottom: 20px; }
.problem-text { font-size: 1.02rem; color: var(--text-secondary); line-height: 1.85; }
.problem-text strong { color: var(--text-primary); font-weight: 600; }
.problem-cards { display: flex; flex-direction: column; gap: 14px; }
.problem-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 24px; transition: var(--transition);
}
.problem-card:hover { border-color: var(--sky-light); box-shadow: var(--shadow-md); transform: translateX(4px); }
.problem-card .rombo { margin-top: 7px; background: var(--blue-mid); }
.problem-card-title { font-size: .98rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.problem-card-desc { font-size: .87rem; color: var(--text-secondary); line-height: 1.65; }

/* ─── BRAIN (demo) ───────────────────────────────────────── */
.brain { padding: 104px 0; background: var(--grad-hero); position: relative; overflow: hidden; }
.brain-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; text-align: center; }
.brain-desc { font-size: 1.05rem; color: rgba(255,255,255,.7); line-height: 1.85; margin: 16px auto 32px; max-width: 640px; }
.brain-callout {
  text-align: left; margin: 0 auto 36px; max-width: 680px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(56,189,248,.3);
  border-radius: var(--r-xl); padding: 28px 30px;
  backdrop-filter: blur(10px);
}
.brain-callout p { font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.8; }
.brain-callout strong { color: var(--sky-light); font-weight: 700; }
.brain-micro { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brain-micro-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 20px 18px; text-align: left;
  display: flex; gap: 12px; align-items: flex-start;
}
.brain-micro-item .rombo { margin-top: 6px; }
.brain-micro-item span.txt { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.6; }

@media (max-width: 760px) { .brain-micro { grid-template-columns: 1fr; } }

/* ─── COMO FUNCIONA ──────────────────────────────────────── */
.how { padding: 104px 0; background: var(--surface); }
.how-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }

.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.how-step { position: relative; padding-top: 8px; }
.how-step-num { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--sky-lighter); line-height: 1; margin-bottom: 14px; }
.how-step-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.02rem; color: var(--text-primary); margin-bottom: 8px; }
.how-step-desc { font-size: .87rem; color: var(--text-secondary); line-height: 1.65; }

@media (max-width: 900px) { .how-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .how-steps { grid-template-columns: 1fr; } }

/* ─── PLANES ─────────────────────────────────────────────── */
.plans { padding: 104px 0; background: var(--surface-alt); }
.plans-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }

.plan-card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 34px 30px; display: flex; flex-direction: column;
  transition: var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan-card.featured { border: 2px solid var(--blue-mid); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.plan-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.plan-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-blue); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 18px; border-radius: var(--r-full); box-shadow: 0 4px 14px rgba(37,99,235,.4);
  white-space: nowrap;
}
.plan-meter { display: flex; gap: 5px; margin-bottom: 14px; }
.plan-level-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.plan-name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--text-primary); margin-bottom: 10px; }
.plan-tagline { font-size: .92rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 22px; min-height: 66px; }
.plan-price-block { padding: 20px 0 22px; border-top: 1px solid var(--border); }
.plan-price-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 4px; }
.plan-price-compare { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.plan-price-old { font-size: .95rem; font-weight: 600; color: var(--text-muted); text-decoration: line-through; }
.plan-badge-discount {
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  color: #fff; background: linear-gradient(135deg,#F97316,#EF4444);
  padding: 3px 10px; border-radius: var(--r-full);
}
.plan-price { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 2.15rem; color: var(--text-primary); line-height: 1; }
.plan-price sup { font-size: .95rem; font-weight: 700; margin-left: 4px; color: var(--text-muted); }
.plan-price-divider { border: none; border-top: 1.5px dashed var(--border); margin: 16px 0; }
.plan-price-mo { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--blue-mid); }
.plan-price-mo-label { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }

.plan-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 8px; flex: 1; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--text-secondary); line-height: 1.55; }
.plan-list li .rombo { margin-top: 6px; }
.plan-list.excluded { margin-top: 4px; margin-bottom: 26px; }
.plan-list.excluded li { color: var(--text-muted); }
.plan-list.excluded li .rombo { margin-top: 6px; }

.plan-card .btn { margin-top: auto; }

@media (max-width: 980px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-4px); }
}

/* ─── FAQ (details/summary, sin JavaScript) ─────────────── */
.faq { padding: 104px 0; background: var(--surface-alt); }
.faq-header { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 6px 8px; transition: var(--transition);
}
.faq-item[open] { border-color: var(--sky-light); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .98rem; color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.faq-icon svg { transition: transform var(--transition); color: var(--blue-mid); }
.faq-item[open] .faq-icon { background: var(--grad-blue); }
.faq-item[open] .faq-icon svg { transform: rotate(45deg); color: #fff; }
.faq-answer { padding: 0 20px 20px 20px; font-size: .9rem; color: var(--text-secondary); line-height: 1.75; }

/* ─── CIERRE EMOCIONAL ───────────────────────────────────── */
.close { padding: 108px 0; background: var(--grad-hero); position: relative; overflow: hidden; }
.close::before { content: ''; position: absolute; inset: 0; background: var(--grad-radial); }
.close-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; text-align: center; }
.close-desc { font-size: 1.05rem; color: rgba(255,255,255,.7); line-height: 1.85; margin: 16px auto 36px; max-width: 620px; }
.close-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: var(--navy); padding: 44px 0 22px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 30px; width: auto; object-fit: contain; }
.footer-brand-text { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-brand-text a { color: var(--sky-light); font-weight: 600; }
.footer-bottom { text-align: center; margin-top: 20px; font-size: .78rem; color: rgba(255,255,255,.35); }

/* ─── RESPONSIVE (general) ───────────────────────────────── */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .hero { padding: 112px 0 56px; }
  .how-steps { }
  .footer-content { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  section { padding-left: 0; padding-right: 0; }
  .problem, .brain, .how, .plans, .faq, .close { padding: 72px 0; }
}

/* ─── SCROLL TO TOP ──────────────────────────────────────── */
#scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--grad-blue);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  z-index: 500;
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { transform: translateY(-3px); }
#scroll-top svg { color: #fff; }
