/* ════════════════════════════════════════════════
   MailBuilder — Shared Styles
   Font: Inter · Dark theme · Azul MailBuilder (igual que la app)
   ════════════════════════════════════════════════ */

:root {
  --bg:      #0b0c10;
  --s1:      #0e1016;
  --s2:      #13151b;
  --s3:      #191c23;
  --s4:      #22252d;
  --bd:      #2a2d36;
  --bd2:     rgba(255,255,255,.06);
  --tx:      #F0F3FA;
  --tx2:     #9a9da6;
  --tx3:     #5d6068;
  /* Acento = azul de la app (antes ámbar; el nombre --am se conserva). */
  --am:      #4D8FF4;
  --am2:     #66A3FE;
  --gr:      #3DFFA0;
  --az:      #5B8EFF;
  --vi:      #A78BFA;
  --vi2:     #8B5CF6;
  --ro:      #FF5F8F;
  --f: 'Inter', -apple-system, sans-serif;
  --r:       0.22s ease;
  --max:     1200px;
  --pad:     clamp(20px, 5vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--f); background: var(--bg); color: var(--tx); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font-family: var(--f); cursor: pointer; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--s4); border-radius: 3px; }

/* ── Layout ── */
.lc { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media(max-width:900px){ .grid-2{ grid-template-columns:1fr; gap:48px; } }
@media(max-width:768px){ .grid-3{ grid-template-columns:1fr; } .grid-4{ grid-template-columns:1fr 1fr; } }
@media(max-width:500px){ .grid-4{ grid-template-columns:1fr; } }

/* ── Typography ── */
.display { font-size: clamp(48px, 7vw, 96px); font-weight: 900; letter-spacing: -.04em; line-height: 1.0; }
.heading { font-size: clamp(32px, 4vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.subheading { font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(16px, 1.5vw, 18px); font-weight: 300; color: var(--tx2); line-height: 1.8; max-width: 560px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); }
.text-am { color: var(--am); }
.text-gr { color: var(--gr); }
.text-az { color: var(--az); }
.text-vi { color: var(--vi); }
.text-muted { color: var(--tx2); }

/* Gradient text */
.grad { background: linear-gradient(92deg, var(--am) 0%, #8B5CF6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-b { background: linear-gradient(92deg, var(--az) 0%, var(--vi) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Chip / Tag ── */
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--am); padding: 5px 14px 5px 10px; background: rgba(77,143,244,.1); border: 1px solid rgba(77,143,244,.22); border-radius: 100px; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--am); flex-shrink: 0; animation: blink 2s ease infinite; }
.chip.az { color: var(--az); background: rgba(91,142,255,.1); border-color: rgba(91,142,255,.22); }
.chip.az::before { background: var(--az); }
.chip.vi { color: var(--vi); background: rgba(167,139,250,.1); border-color: rgba(167,139,250,.22); }
.chip.vi::before { background: var(--vi); }
.chip.gr { color: var(--gr); background: rgba(61,255,160,.1); border-color: rgba(61,255,160,.22); }
.chip.gr::before { background: var(--gr); }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.4} }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-family: var(--f); font-size: 14px; font-weight: 600; border: none; transition: all var(--r); white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--am); color: #0F0E1A; }
.btn-primary:hover { background: #66A3FE; transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(77,143,244,.18); }
.btn-outline { background: transparent; color: var(--tx); border: 1.5px solid var(--bd); }
.btn-outline:hover { border-color: var(--tx3); background: var(--s3); }
.btn-ghost { background: transparent; color: var(--tx2); padding-inline: 12px; }
.btn-ghost:hover { color: var(--tx); }
.btn-lg { padding: 15px 30px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-icon { gap: 6px; }
.btn-icon svg { transition: transform var(--r); }
.btn-icon:hover svg { transform: translateX(3px); }

/* ── Section header ── */
.sh { margin-bottom: 64px; }
.sh .chip { margin-bottom: 16px; }
.sh .heading { margin-bottom: 18px; }
.sh .lead { }
.sh-center { text-align: center; }
.sh-center .lead { margin-inline: auto; }

/* ── Cards ── */
.card { background: var(--s2); border: 1px solid var(--bd); border-radius: 18px; padding: 28px; transition: border-color var(--r), transform var(--r); }
.card:hover { border-color: var(--tx3); transform: translateY(-3px); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; flex-shrink: 0; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card-desc { font-size: 14px; color: var(--tx2); line-height: 1.65; }

/* ── Divider ── */
.div { border: none; border-top: 1px solid var(--bd); }

/* ── Scroll reveal ── */
.rv  { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rl  { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.rr  { opacity: 0; transform: translateX(28px); transition: opacity .65s ease, transform .65s ease; }
.rv.vis, .rl.vis, .rr.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ═══════════════════════════════ NAV ═══════════════════════════════ */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; transition: all .3s; }
#nav.scrolled { background: rgba(11,12,16,.88); backdrop-filter: blur(20px) saturate(160%); border-bottom: 1px solid var(--bd); }
.nav-inner { max-width: var(--max); margin-inline: auto; padding: 22px var(--pad); display: flex; align-items: center; gap: 40px; transition: padding .3s; }
#nav.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }

/* Logo */
.nav-logo { font-size: 18px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.nav-logo-mark { width: 30px; height: auto; flex-shrink: 0; }

/* Links */
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link { position: relative; font-size: 14px; font-weight: 500; color: var(--tx2); padding: 7px 12px; border-radius: 8px; transition: color var(--r), background var(--r); display: flex; align-items: center; gap: 4px; }
.nav-link:hover { color: var(--tx); background: var(--s3); }
.nav-link.active { color: var(--tx); }
.nav-link svg { width: 12px; height: 12px; transition: transform var(--r); }
.nav-link:hover svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dd { position: relative; }
.nav-dd-menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 320px; background: var(--s2); border: 1px solid var(--bd); border-radius: 16px; padding: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.6); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: all .2s; }
.nav-dd:hover .nav-dd-menu, .nav-dd-menu:hover { opacity: 1; pointer-events: all; transform: none; }
.dd-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px; transition: background var(--r); }
.dd-item:hover { background: var(--s3); }
.dd-item-ico { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.dd-item-t { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.dd-item-d { font-size: 12px; color: var(--tx2); line-height: 1.4; }
.dd-group { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); padding: 10px 12px 4px; }
.dd-new { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vi); background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.3); padding: 1px 7px; border-radius: 100px; margin-left: 4px; vertical-align: 1px; }

/* Nav right */
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Mobile menu */
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; margin-left: auto; background: none; border: none; }
.nav-burger span { width: 22px; height: 2px; background: var(--tx); border-radius: 1px; transition: all .25s; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile { display: none; }

@media(max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { background: var(--s1); border-top: 1px solid var(--bd); padding: 20px var(--pad); display: flex; flex-direction: column; gap: 4px; }
  .nav-mobile a { padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--tx2); display: block; transition: all var(--r); }
  .nav-mobile a:hover { color: var(--tx); background: var(--s3); }
  .nav-mobile .sep { border: none; border-top: 1px solid var(--bd); margin: 10px 0; }
  .nav-mobile .btn-primary { text-align: center; }
}

/* ═══════════════════════════════ FOOTER ═══════════════════════════════ */
footer { background: var(--bg); border-top: 1px solid var(--bd); padding: 72px var(--pad) 40px; }
.footer-inner { max-width: var(--max); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 56px; }
.footer-brand p { font-size: 13.5px; color: var(--tx2); margin-top: 14px; max-width: 260px; line-height: 1.75; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: var(--tx2); transition: color var(--r); }
.footer-col a:hover { color: var(--tx); }
.footer-bot { border-top: 1px solid var(--bd); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-copy { font-size: 12.5px; color: var(--tx3); }
.footer-social { display: flex; gap: 8px; }
.social-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--bd); background: var(--s2); display: flex; align-items: center; justify-content: center; color: var(--tx2); font-size: 12px; font-weight: 600; transition: all var(--r); }
.social-btn:hover { color: var(--tx); border-color: var(--tx3); }
@media(max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media(max-width:500px){ .footer-top{ grid-template-columns:1fr; } }

/* ═══════════════════════════════ SECTIONS ═══════════════════════════════ */

/* Strip de logos */
.logos-strip { border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); padding: 32px var(--pad); }
.logos-inner { max-width: var(--max); margin-inline: auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logos-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); white-space: nowrap; flex-shrink: 0; }
.logos-sep { width: 1px; height: 28px; background: var(--bd); flex-shrink: 0; }
.logos-list { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.logo-item { font-size: 14px; font-weight: 700; letter-spacing: -.02em; color: var(--tx3); transition: color var(--r); }
.logo-item:hover { color: var(--tx2); }

/* Números */
.nums-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num-item { padding: 48px 32px; text-align: center; border-right: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.num-item:nth-child(4n) { border-right: none; }
.num-item:nth-child(n+5) { border-bottom: none; }
.num-val { font-size: 52px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.num-val sup { font-size: .4em; }
.num-label { font-size: 13px; color: var(--tx2); margin-top: 8px; line-height: 1.4; }
@media(max-width:900px){ .nums-grid{ grid-template-columns:1fr 1fr; } .num-item{ padding:32px 20px; } }
@media(max-width:500px){ .nums-grid{ grid-template-columns:1fr; } .num-item:nth-child(2n){ border-right:none; } }

/* Testimonios */
.testi-card { background: var(--s2); border: 1px solid var(--bd); border-radius: 18px; padding: 28px; position: relative; overflow: hidden; transition: border-color var(--r), transform var(--r); }
.testi-card:hover { border-color: var(--tx3); transform: translateY(-4px); }
.testi-card::before { content: '"'; position: absolute; top: 12px; right: 18px; font-size: 80px; font-weight: 900; line-height: 1; color: var(--s4); font-family: Georgia, serif; }
.testi-stars { color: var(--am); letter-spacing: 2px; font-size: 13px; margin-bottom: 14px; }
.testi-quote { font-size: 15px; color: var(--tx2); line-height: 1.75; font-weight: 300; font-style: italic; margin-bottom: 22px; }
.testi-quote strong { color: var(--tx); font-weight: 600; font-style: normal; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--tx3); }

/* Pricing card */
.price-card { background: var(--s2); border: 1px solid var(--bd); border-radius: 20px; padding: 34px 28px; position: relative; transition: border-color var(--r), transform var(--r); }
.price-card:hover { transform: translateY(-3px); }
.price-card.featured { background: var(--s3); border-color: rgba(77,143,244,.35); box-shadow: 0 0 60px rgba(77,143,244,.07), 0 0 0 1px rgba(77,143,244,.12) inset; }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--am); color: #0F0E1A; font-size: 11px; font-weight: 800; padding: 3px 16px; border-radius: 100px; letter-spacing: .04em; white-space: nowrap; }
.price-plan { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.price-desc { font-size: 13px; color: var(--tx2); margin-bottom: 26px; line-height: 1.5; }
.price-amount { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.price-val { font-size: 52px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.price-card.featured .price-val { color: var(--am); }
.price-per { font-size: 14px; color: var(--tx2); }
.price-note { font-size: 12px; color: var(--tx3); margin-bottom: 26px; }
.price-divider { border: none; border-top: 1px solid var(--bd); margin-bottom: 22px; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; }
.price-feat::before { font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-feat.si::before { content: "✓"; color: var(--gr); }
.price-feat.no::before { content: "–"; color: var(--tx3); }
.price-feat.no { color: var(--tx3); }
.price-cta { width: 100%; justify-content: center; }

/* Feature split */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.feature-split.rev { direction: rtl; }
.feature-split.rev > * { direction: ltr; }
.feat-text .chip { margin-bottom: 14px; }
.feat-text h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.feat-text p { font-size: 15px; color: var(--tx2); line-height: 1.8; margin-bottom: 14px; }
.feat-points { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.feat-point { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; font-weight: 500; }
.feat-point::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--am); margin-top: 8px; flex-shrink: 0; }
.feat-points li { display: flex; gap: 10px; font-size: 14.5px; color: var(--tx2); line-height: 1.6; }
.feat-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--am); margin-top: 9px; flex-shrink: 0; }
@media(max-width:900px){ .feature-split{ grid-template-columns:1fr; gap:48px; } .feature-split.rev{ direction:ltr; } }

/* Mockup box */
.mockup { background: var(--s2); border: 1px solid var(--bd); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.mockup-bar { background: var(--s3); border-bottom: 1px solid var(--bd); padding: 0 14px; height: 38px; display: flex; align-items: center; gap: 10px; }
.mac-dots { display: flex; gap: 6px; }
.mac-dot { width: 11px; height: 11px; border-radius: 50%; }
.mac-dot:nth-child(1){background:#FF5F57}.mac-dot:nth-child(2){background:#FFBD2E}.mac-dot:nth-child(3){background:#28C840}

/* Journey steps */
.journey { display: flex; flex-direction: column; gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(180deg, var(--am) 0%, var(--vi) 50%, var(--az) 100%); }
.journey-step { display: flex; gap: 24px; padding: 24px 0; position: relative; }
.journey-num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--bd); background: var(--s2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; position: relative; z-index: 1; transition: all var(--r); }
.journey-step:hover .journey-num { border-color: var(--am); color: var(--am); background: rgba(77,143,244,.08); }
.journey-content { padding-top: 6px; }
.journey-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.journey-desc { font-size: 14px; color: var(--tx2); line-height: 1.6; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--bd); }
.faq-q { width: 100%; background: none; border: none; color: var(--tx); font-family: var(--f); font-size: 16px; font-weight: 600; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; text-align: left; }
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--tx3); transition: transform .25s; }
.faq-q.open svg { transform: rotate(45deg); color: var(--am); }
.faq-a { font-size: 15px; color: var(--tx2); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s; }
.faq-a.open { max-height: 300px; padding-bottom: 20px; }

/* Template card */
.tmpl-card { background: var(--s2); border: 1px solid var(--bd); border-radius: 14px; overflow: hidden; transition: border-color var(--r), transform var(--r), box-shadow var(--r); cursor: pointer; }
.tmpl-card:hover { border-color: rgba(77,143,244,.4); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.tmpl-preview { height: 200px; position: relative; overflow: hidden; }
.tmpl-overlay { position: absolute; inset: 0; background: rgba(11,12,16,0); display: flex; align-items: center; justify-content: center; transition: background var(--r); }
.tmpl-card:hover .tmpl-overlay { background: rgba(11,12,16,.72); }
.tmpl-overlay .btn { opacity: 0; transform: translateY(8px); transition: all var(--r); }
.tmpl-card:hover .tmpl-overlay .btn { opacity: 1; transform: none; }
.tmpl-info { padding: 16px; }
.tmpl-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.tmpl-tag { font-size: 11px; color: var(--tx3); font-weight: 500; }

/* Filter tabs */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { padding: 7px 16px; border-radius: 8px; border: 1px solid var(--bd); font-family: var(--f); font-size: 13px; font-weight: 500; color: var(--tx2); background: transparent; cursor: pointer; transition: all var(--r); }
.filter-tab:hover { color: var(--tx); border-color: var(--tx3); }
.filter-tab.active { background: var(--am); color: #0F0E1A; border-color: var(--am); font-weight: 700; }

/* CTA band */
.cta-band { background: var(--s1); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); padding: 80px var(--pad); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(77,143,244,.06) 0%, transparent 65%); pointer-events: none; }
.cta-band-inner { max-width: 680px; margin-inline: auto; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; letter-spacing: -.04em; margin-bottom: 18px; line-height: 1.05; }
.cta-band h2 em { font-style: normal; color: var(--am); }
.cta-band p { font-size: 17px; color: var(--tx2); line-height: 1.75; margin-bottom: 36px; }
.cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 12px; color: var(--tx3); margin-top: 14px; }

/* Comparison table */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-table th { padding: 14px 20px; text-align: left; font-size: 13px; font-weight: 700; color: var(--tx2); border-bottom: 1px solid var(--bd); background: var(--s2); }
.cmp-table th:first-child { border-radius: 10px 0 0 0; }
.cmp-table th:last-child { border-radius: 0 10px 0 0; }
.cmp-table th.hi { color: var(--am); background: rgba(77,143,244,.06); }
.cmp-table td { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.04); }
.cmp-table td.hi { background: rgba(77,143,244,.04); }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:hover td { background: var(--s3); }
.cmp-table tr:hover td.hi { background: rgba(77,143,244,.08); }
.cmp-y { color: var(--gr); font-weight: 600; }
.cmp-n { color: var(--tx3); }
.cmp-p { color: var(--am); font-weight: 600; }

/* Page hero (for inner pages) */
.page-hero { padding: 160px var(--pad) 80px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(167,139,250,.1) 0%, transparent 60%); pointer-events: none; }
.page-hero-inner { max-width: 760px; margin-inline: auto; position: relative; z-index: 1; }
.page-hero .chip { margin-bottom: 18px; }
.page-hero .heading { margin-bottom: 20px; }
.page-hero .lead { margin-inline: auto; margin-bottom: 36px; }

/* ── Misc utilities ── */
.pt-section { padding-top: 100px; }
.pb-section { padding-bottom: 100px; }
.py-section { padding-top: 100px; padding-bottom: 100px; }
.mt-sm { margin-top: 16px; } .mt-md { margin-top: 32px; } .mt-lg { margin-top: 56px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-gap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

@media(prefers-reduced-motion:reduce){ .rv,.rl,.rr{ transition:none; } }

/* Íconos del menú (línea, en vez de emojis) */
.dd-item-ico svg { width: 18px; height: 18px; }
.ico-az { background: rgba(77,143,244,.12); color: var(--am); }
.ico-vi { background: rgba(139,92,246,.14); color: var(--vi); }
.ico-gr { background: rgba(61,255,160,.1); color: var(--gr); }
.ico-ro { background: rgba(255,95,143,.1); color: var(--ro); }

/* Etiquetas de sección: una anotación a mano, no una píldora en mayúsculas. */
.chip { font-family: 'Caveat', cursive; font-size: 23px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 0; background: none; border: none; border-radius: 0; color: var(--am); line-height: 1.1; }
.chip::before { display: none; }
.chip.az { color: var(--am); background: none; }
.chip.vi { color: var(--vi); background: none; }
.chip.gr { color: var(--gr); background: none; }
