/* ============================================================
   FlowerHome.it — Design System
   Escalable con custom properties. Todos los componentes
   usan clases reutilizables independientes del contenido.
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  /* Colores de marca (coherentes con logo y hero SVG) */
  --c-navy:         #1d3557;
  --c-navy-dark:    #152640;
  --c-navy-light:   #2a4a70;
  --c-red:          #e63946;
  --c-red-dark:     #c1121f;
  --c-gold:         #d4af37;
  --c-gold-light:   #f0cc5e;

  /* Superficies */
  --c-bg:           #f4f6f9;
  --c-surface:      #ffffff;
  --c-surface-2:    #f9fafb;
  --c-border:       #e2e8f0;
  --c-border-dark:  #cbd5e1;

  /* Texto */
  --c-text:         #111827;
  --c-text-muted:   #6b7280;
  --c-text-light:   #9ca3af;

  /* Semáforo (pagos, pros/cons) */
  --c-green:        #10b981;
  --c-green-bg:     #d1fae5;
  --c-amber:        #f59e0b;
  --c-amber-bg:     #fef3c7;
  --c-red-bg:       #fee2e2;

  /* Tipografía */
  --font:           'Open Sans', system-ui, -apple-system, sans-serif;
  --fs-xs:          0.75rem;
  --fs-sm:          0.875rem;
  --fs-base:        1rem;
  --fs-lg:          1.125rem;
  --fs-xl:          1.25rem;
  --fs-2xl:         1.5rem;
  --fs-3xl:         1.875rem;
  --lh-tight:       1.3;
  --lh-base:        1.7;

  /* Espaciado (escala 4px) */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;

  /* Radios */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Sombras */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.09), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.15);

  /* Transiciones */
  --t-fast:   0.15s ease;
  --t-base:   0.25s ease;

  /* Layout */
  --max-w:  960px;
}


/* ── 2. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--c-navy);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-red); }

ul, ol { list-style: none; }


/* ── 3. LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.main { padding: var(--sp-8) 0 var(--sp-16); }


/* ── 4. HEADER ── */
.header {
  background: linear-gradient(135deg, var(--c-navy-dark) 0%, var(--c-navy) 60%, var(--c-navy-light) 100%);
  padding: var(--sp-3) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
  border-bottom: 3px solid var(--c-gold);
}

.header .container {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img { height: 50px; width: auto; flex-shrink: 0; }

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-left: auto;
}

/* Language dropdown */
.nav__lang-drop {
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.15);
  padding-right: var(--sp-4);
}

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-xs);
  font-weight: 700;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.nav__lang-btn:hover { background: rgba(255,255,255,0.16); }

.nav__lang-chevron {
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.nav__lang-drop:hover .nav__lang-chevron,
.nav__lang-drop.is-open .nav__lang-chevron {
  transform: rotate(180deg);
}

.nav__lang-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  min-width: 90px;
  background: var(--c-navy-dark);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  overflow: hidden;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav__lang-drop:hover .nav__lang-menu,
.nav__lang-drop.is-open .nav__lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__lang-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.nav__lang-opt:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav__lang-opt--active { color: rgba(255,255,255,0.92); background: rgba(255,255,255,0.07); }

/* CTA button */
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-gold);
  color: var(--c-navy-dark) !important;
  font-size: var(--fs-xs);
  font-weight: 800;
  border-radius: var(--r-full);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all var(--t-fast);
  box-shadow: 0 2px 8px rgba(212,175,55,0.35);
}

.nav__cta:hover {
  background: var(--c-gold-light);
  color: var(--c-navy-dark) !important;
  box-shadow: 0 4px 14px rgba(212,175,55,0.5);
  transform: translateY(-1px);
}

/* ── PAGE TITLE (H1) ── */
.page-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--c-navy-dark);
  margin: var(--sp-8) 0 var(--sp-5);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (max-width: 480px) {
  .logo img { height: 44px; }
  .nav__lang-label { display: none; }
  .nav__lang-btn { padding: 5px 7px; gap: 3px; }
  .nav__cta { font-size: 11px; padding: var(--sp-2) var(--sp-4); }
}


/* ── 5. HERO IMAGE ── */
.hero {
  display: block;
  margin: 0 auto var(--sp-6);
  max-width: 560px;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}


/* ── 6. TYPOGRAPHY — content area ── */
.content { max-width: 100%; }

.content h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-navy);
  margin: var(--sp-12) 0 var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 3px solid var(--c-gold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.content h2:first-of-type { margin-top: var(--sp-8); }

.content h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-navy-dark);
  margin: var(--sp-8) 0 var(--sp-3);
  line-height: var(--lh-tight);
}

.content h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-text);
  margin: var(--sp-5) 0 var(--sp-2);
}

.content p {
  margin: 0 0 var(--sp-4);
  color: var(--c-text);
  line-height: var(--lh-base);
}

.content p:last-child { margin-bottom: 0; }

.content strong { font-weight: 700; color: var(--c-navy-dark); }

.content a {
  color: var(--c-red);
  text-decoration: underline;
  text-decoration-color: rgba(230,57,70,0.35);
  text-underline-offset: 3px;
}
.content a:hover {
  color: var(--c-red-dark);
  text-decoration-color: var(--c-red-dark);
}

/* Listas genéricas del contenido */
.content ul,
.content ol {
  padding-left: var(--sp-6);
  margin: 0 0 var(--sp-4);
}
.content ul { list-style: disc; }
.content ol { list-style: decimal; }
.content li { margin-bottom: var(--sp-2); line-height: var(--lh-base); }
.content li strong { font-weight: 700; }


/* ── 7. UPDATE TAG ── */
.update-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: var(--sp-1) var(--sp-3);
  margin-top: var(--sp-2);
}


/* ── 8. CASINO CARDS ── */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.casino-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0;
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
  position: relative;
}

.casino-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--c-border-dark);
}

/* Borde izquierdo dorado para los top 3 */
.casino-card--top::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-gold-light), var(--c-gold));
}

.casino-card__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
  border-right: 1px solid var(--c-border);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--c-text-light);
  min-width: 52px;
  padding: var(--sp-4);
  flex-shrink: 0;
}

.casino-card--top .casino-card__rank {
  background: linear-gradient(160deg, #fffbeb, #fef3c7);
  color: var(--c-gold);
}

.casino-card__body {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 0;
}

.casino-card__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.casino-card__name {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--c-navy);
  margin: 0;
  line-height: 1;
}

.casino-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.55;
  margin: 0;
}

.casino-card__bonus {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
  border-radius: var(--r-sm);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #92400e;
  width: fit-content;
}

.casino-card__bonus::before {
  content: '🎁';
  font-size: var(--fs-base);
}

.casino-card__cta {
  display: flex;
  align-items: center;
  padding: var(--sp-4);
  flex-shrink: 0;
}


/* ── 9. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
  box-shadow: 0 4px 12px rgba(230,57,70,0.35);
}
.btn--primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(230,57,70,0.45);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn--outline:hover {
  background: var(--c-navy);
  color: #fff;
}

.btn--sm {
  font-size: var(--fs-xs);
  padding: var(--sp-2) var(--sp-4);
}


/* ── 10. BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px var(--sp-2);
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge--gold {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #fff;
}

.badge--navy {
  background: var(--c-navy);
  color: #fff;
}

.badge--red {
  background: var(--c-red);
  color: #fff;
}

.badge--green {
  background: var(--c-green);
  color: #fff;
}

.badge--ghost {
  background: var(--c-bg);
  color: var(--c-text-muted);
  border: 1px solid var(--c-border-dark);
}


/* ── 11. INFO BOXES ── */
.box {
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
  border-left: 4px solid;
  line-height: var(--lh-base);
}

.box p { margin: 0; font-size: var(--fs-sm); }
.box p + p { margin-top: var(--sp-2); }

.box--info {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}

.box--tip {
  background: #f0fdf4;
  border-color: var(--c-green);
  color: #065f46;
}

.box--warning {
  background: var(--c-amber-bg);
  border-color: var(--c-amber);
  color: #92400e;
}

.box--important {
  background: var(--c-red-bg);
  border-color: var(--c-red);
  color: #991b1b;
}

.box__title {
  font-weight: 700;
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}


/* ── 12. PROS / CONS ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.pros-cons__col {
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}

.pros-cons__title {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.pros-cons__title--pro { color: var(--c-green); }
.pros-cons__title--con { color: var(--c-red); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.check-list li {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--c-text);
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.check-list--pro li::before {
  background-color: var(--c-green-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.check-list--con li::before {
  background-color: var(--c-red-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e63946' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}


/* ── 13. STEPS ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: var(--sp-6) 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-border));
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
  position: relative;
}

.step:last-child { padding-bottom: 0; }

.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-base);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212,175,55,0.45);
  z-index: 1;
  position: relative;
}

.step__body { padding-top: var(--sp-2); }

.step__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-2);
}

.step__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}


/* ── 14. PAYMENT LIST ── */
.payment-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: var(--sp-4) 0;
}

.payment-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  font-size: var(--fs-sm);
}

.payment-item__icon {
  font-size: 1.3rem;
  line-height: 1;
  text-align: center;
}

.payment-item__name { font-weight: 600; color: var(--c-text); }
.payment-item__desc { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: 2px; }

.payment-item__time {
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px var(--sp-2);
  border-radius: var(--r-full);
  white-space: nowrap;
}

.payment-item--fast   .payment-item__time { background: var(--c-green-bg);  color: #065f46; }
.payment-item--medium .payment-item__time { background: var(--c-amber-bg);  color: #92400e; }
.payment-item--slow   .payment-item__time { background: var(--c-red-bg);    color: #991b1b; }


/* ── 15. FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  margin: var(--sp-5) 0 var(--sp-6);
}

.faq-item {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border);
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.faq-list .faq-item:first-child { border-top: 1px solid var(--c-border); }

.faq-item__q {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-navy);
  padding: 0;
  display: block;
  line-height: 1.45;
  margin: 0 0 var(--sp-2);
}

.faq-item__q::before { display: none; }

.faq-item__a {
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-base);
  border-top: none;
  background: none;
  margin: 0;
}

.faq-item__a a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ── 16. SOURCES LIST ── */
.sources-list {
  counter-reset: source;
  padding: 0;
  margin: var(--sp-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.sources-list li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  counter-increment: source;
}

.sources-list li::before {
  content: counter(source);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 1px solid var(--c-border-dark);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.sources-list a {
  color: var(--c-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-border-dark);
}
.sources-list a:hover { color: var(--c-red); }


/* ── 17. SECTION DIVIDER ── */
.section-divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--sp-12) 0;
}


/* ── 18. HIGHLIGHT TEXT ── */
.highlight {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
  border-radius: var(--r-sm);
  padding: var(--sp-1) var(--sp-2);
  font-weight: 700;
  color: #92400e;
  white-space: nowrap;
}


/* ── 19. CRITERIA GRID ── */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.criteria-card {
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base);
}

.criteria-card:hover { box-shadow: var(--shadow-md); }

.criteria-card__icon {
  font-size: 1.6rem;
  margin-bottom: var(--sp-3);
  line-height: 1;
}

.criteria-card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-2);
}

.criteria-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}


/* ── 20. TRUST BAR ── */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--c-border);
  padding: var(--sp-8) 0 var(--sp-6);
}

.trust-bar__label {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin: 0 0 var(--sp-5);
}

.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-4);
  height: 44px;
  text-decoration: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  flex-shrink: 0;
}
.trust-logo:hover {
  border-color: var(--c-border-dark);
  box-shadow: var(--shadow-sm);
}

.trust-logo img,
.trust-logo svg {
  height: 26px;
  width: auto;
  max-width: 110px;
  display: block;
  object-fit: contain;
}

/* Badge 18+ — sin enlace externo */
.trust-logo--badge {
  background: var(--c-navy-dark);
  border-color: var(--c-navy-dark);
  cursor: default;
  pointer-events: none;
}
.trust-logo--badge img { height: 22px; }

.trust-bar__disclaimer {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── 21. FOOTER ── */
.footer {
  background: var(--c-navy-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: var(--sp-5) 0;
  font-size: var(--fs-xs);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.footer p { margin: 0; color: rgba(255,255,255,0.45); }

.footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer a:hover { color: #fff; }

@media (max-width: 680px) {
  .trust-bar__logos { gap: var(--sp-2); }
  .trust-logo { height: 38px; padding: var(--sp-2) var(--sp-3); }
  .trust-logo img, .trust-logo svg { height: 20px; max-width: 90px; }
}


/* ── 21. TABLE (por si hay alguna) ── */
.table-wrap {
  overflow-x: auto;
  margin: var(--sp-4) 0;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

th {
  background: var(--c-navy);
  color: #fff;
  font-weight: 700;
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  white-space: nowrap;
}

td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}

tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--c-surface-2); }
tr:hover td { background: #eff6ff; }


/* ── 22. RESPONSIVE ── */
@media (max-width: 768px) {
  .container { padding: 0 var(--sp-4); }

  .content h2 { font-size: var(--fs-xl); margin-top: var(--sp-8); }
  .content h3 { font-size: var(--fs-lg); }

  .casino-card {
    grid-template-columns: 44px 1fr;
  }
  .casino-card__cta { display: none; }  /* CTA oculto en mobile — se puede añadir dentro del body */

  .pros-cons { grid-template-columns: 1fr; }

  .criteria-grid { grid-template-columns: 1fr; }

  .steps::before { left: 15px; }
  .step { grid-template-columns: 32px 1fr; }
  .step__number { width: 32px; height: 32px; font-size: var(--fs-sm); }

  .faq-item__a {
    padding-left: 0;
  }

  .payment-item {
    grid-template-columns: 24px 1fr auto;
  }
}

@media (max-width: 480px) {
  .casino-card__rank { min-width: 40px; padding: var(--sp-3); font-size: var(--fs-base); }
  .casino-card__body { padding: var(--sp-3) var(--sp-4); }
  .casino-card__bonus { font-size: var(--fs-xs); }
  .badge { font-size: 10px; }
}


/* ============================================================
   TOPLIST — Dark card redesign
   ============================================================ */

.toplist-lead {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 var(--sp-3);
  line-height: var(--lh-tight);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.toplist-lead::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--c-gold-light), var(--c-gold));
  border-radius: 2px;
  flex-shrink: 0;
}

.toplist-intro {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: var(--lh-base);
  margin: 0 0 var(--sp-5);
}

.toplist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

/* Card */
.toplist__item {
  background: var(--c-navy);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.toplist__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0,0,0,0.38);
}

.toplist__item--top {
  border-left: 3px solid var(--c-gold);
}

.toplist__item--1 {
  background: linear-gradient(to right, #1a3254 0%, var(--c-navy) 50%);
}

/* Main row */
.toplist__main {
  display: grid;
  grid-template-columns: 56px 160px 1fr 240px 190px;
  align-items: stretch;
  min-height: 160px;
}

/* Rank */
.toplist__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.18);
  border-right: 1px solid rgba(255,255,255,0.07);
  letter-spacing: -0.04em;
  user-select: none;
}

.toplist__rank--1 { color: var(--c-gold); }
.toplist__rank--2 { color: rgba(255,255,255,0.55); }
.toplist__rank--3 { color: #cd7f32; }

/* Logo */
.toplist__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  background: rgba(255,255,255,0.035);
  border-right: 1px solid rgba(255,255,255,0.07);
}

.toplist__logo-img {
  max-width: 130px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Info column */
.toplist__info {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-2);
  border-right: 1px solid rgba(255,255,255,0.07);
  min-width: 0;
}

.toplist__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.toplist__name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.toplist__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--c-gold);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.toplist__license {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-full);
  padding: 3px 10px;
  line-height: 1;
  width: fit-content;
}

/* Bonus column */
.toplist__bonus {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-2);
  border-right: 1px solid rgba(255,255,255,0.07);
}

.toplist__bonus-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 5px;
}

.toplist__bonus-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

/* CTA column */
.toplist__cta {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: stretch;
  justify-content: center;
}

/* Footer info bar */
.toplist__footer {
  display: grid;
  grid-template-columns: 2.2fr 0.7fr 1.4fr;
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.toplist__footer-col {
  padding: var(--sp-3) var(--sp-4);
  border-right: 1px solid rgba(255,255,255,0.07);
  min-width: 0;
}

.toplist__footer-col:last-child { border-right: none; }

.toplist__footer-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 3px;
  white-space: nowrap;
}

.toplist__footer-val {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Buttons */
.btn--play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 800;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(22,163,74,0.40);
  transition: all var(--t-fast);
  width: 100%;
}

.btn--play::after { content: '→'; transition: transform var(--t-fast); }
.btn--play:hover {
  background: linear-gradient(135deg, #15803d, #166534);
  color: #fff;
  box-shadow: 0 6px 20px rgba(22,163,74,0.50);
  transform: translateY(-1px);
}
.btn--play:hover::after { transform: translateX(3px); }

.btn--review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none !important;
  transition: all var(--t-fast);
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.btn--review:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px var(--sp-2);
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge--gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: #fff; }
.badge--navy { background: var(--c-navy); color: #fff; }
.badge--red  { background: var(--c-red); color: #fff; }
.badge--green{ background: var(--c-green); color: #fff; }
.badge--ghost{ background: var(--c-bg); color: var(--c-text-muted); border: 1px solid var(--c-border-dark); }

/* Stars (keep for compatibility) */
.stars { display:inline-block; position:relative; font-size:13px; letter-spacing:1px; color:#d1d5db; line-height:1; }
.stars::before { content:'★★★★★'; }
.stars__fill { position:absolute; top:0; left:0; overflow:hidden; width:var(--w,100%); color:var(--c-gold); white-space:nowrap; }
.stars__fill::before { content:'★★★★★'; }
.toplist__score { font-size:var(--fs-xs); font-weight:700; color:var(--c-text-muted); }

/* ── Mobile < 680px ── */
@media (max-width: 680px) {
  .toplist__main {
    grid-template-columns: 44px 110px 1fr;
    grid-template-rows: auto auto auto;
  }

  .toplist__rank {
    grid-row: 1 / 3;
    grid-column: 1;
    align-self: stretch;
    font-size: var(--fs-base);
  }

  .toplist__logo {
    grid-row: 1;
    grid-column: 2;
    border-right: none;
    padding: var(--sp-3) var(--sp-4);
    overflow: hidden;
    min-height: 80px;
  }

  .toplist__logo-img {
    max-width: 100%;
    max-height: 64px;
  }

  .toplist__logo-init { width: 50px; height: 50px; font-size: .85rem; }

  .toplist__info {
    grid-row: 1;
    grid-column: 3;
    border-right: none;
    padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-2);
  }

  .toplist__bonus {
    grid-row: 2;
    grid-column: 2 / 4;
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: var(--sp-2) var(--sp-3);
  }

  .toplist__bonus-value { font-size: var(--fs-base); }

  .toplist__cta {
    grid-row: 3;
    grid-column: 1 / 4;
    flex-direction: row-reverse;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: var(--sp-3);
    gap: var(--sp-2);
  }

  .toplist__footer { grid-template-columns: 1fr; }

  .toplist__footer-col {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 7px var(--sp-3);
  }

  .toplist__footer-col:last-child { border-bottom: none; }

  .toplist__item--top { border-left: none; border-top: 3px solid var(--c-gold); }

  .toplist__name { font-size: var(--fs-base); }
  .toplist-lead { font-size: var(--fs-base); }
}

@media (max-width: 480px) {
  .toplist__bonus-value { font-size: var(--fs-base); }
  .toplist__name { font-size: var(--fs-sm); }
}

/* ─── REVIEW SCREENSHOTS ────────────────────────────────────────── */
.review-screenshot {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  margin: var(--sp-3) 0 var(--sp-5);
}

@media (max-width: 680px) {
  .review-screenshot {
    border-radius: var(--r-md);
    margin: var(--sp-2) 0 var(--sp-4);
  }
}


/* ── LEGAL PAGES ── */
.legal-page {
  max-width: 700px;
}

.legal-page .page-title {
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-2);
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: var(--c-navy);
  line-height: 1.2;
}

.legal-page .update-tag {
  margin-bottom: var(--sp-10);
}

.legal-page h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin: 3rem 0 var(--sp-4);
  padding-left: var(--sp-4);
  border-left: 3px solid var(--c-navy);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.legal-page h3 {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: var(--sp-7) 0 var(--sp-3);
}

.legal-page p {
  line-height: 1.75;
  color: var(--c-text);
  font-size: var(--fs-sm);
}

.legal-page ul {
  margin: 0 0 var(--sp-5);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-border);
}

.legal-page ul li {
  position: relative;
  padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
  line-height: 1.6;
  color: var(--c-text);
  font-size: var(--fs-sm);
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: var(--sp-2);
  top: calc(var(--sp-3) + 0.55em);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-navy);
  opacity: 0.3;
}

.legal-page ol {
  padding-left: var(--sp-5);
  margin: 0 0 var(--sp-5);
}

.legal-page ol li {
  padding: var(--sp-1) 0 var(--sp-1) var(--sp-2);
  line-height: 1.7;
  font-size: var(--fs-sm);
  color: var(--c-text);
}

/* Contact box — sin emojis, grid label/valor */
.contact-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-7);
  margin: var(--sp-6) 0;
}

.contact-box__row {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
  align-items: baseline;
}

.contact-box__row:last-child { border-bottom: none; }

.contact-box__label {
  flex-shrink: 0;
  width: 80px;
  font-weight: 700;
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 1px;
}

.contact-box__val {
  color: var(--c-text);
}

.contact-box__val a {
  color: var(--c-navy);
  font-weight: 600;
}

/* Divider entre secciones grandes */
.legal-divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: var(--sp-10) 0;
}


/* ── SECTION SEO IMAGES ── */
.section-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  margin: var(--sp-6) 0 var(--sp-8);
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}

/* ── STICKY BONUS BAR ── */
.sticky-bonus {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 300;
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34,1.28,0.64,1), opacity 0.3s ease;
  background: linear-gradient(135deg, #152640 0%, #1d3557 100%);
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  overflow: hidden;
}

.sticky-bonus.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-bonus.is-dismissed { display: none; }

.sticky-bonus__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.sticky-bonus__rank {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--c-gold-light), var(--c-gold));
  color: #1d3557;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sticky-bonus__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 8px;
}
.sticky-bonus__logo-img {
  height: 36px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
}

.sticky-bonus__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.sticky-bonus__name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.sticky-bonus__offer {
  font-size: 12px;
  color: var(--c-gold-light);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.sticky-bonus__stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  line-height: 1.15;
}

.sticky-bonus__score {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.sticky-stars {
  color: var(--c-gold);
  font-size: 10px;
  letter-spacing: 1px;
}

.sticky-bonus__cta {
  flex-shrink: 0;
  width: auto !important;  /* override btn--play width:100% */
  font-size: 13px;
  padding: 9px 16px;
  white-space: nowrap;
}

.sticky-bonus__close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 4px;
  margin-left: 2px;
  transition: color var(--t-fast);
}
.sticky-bonus__close:hover { color: #fff; }

/* Desktop: centralizado y con ancho máximo */
@media (min-width: 800px) {
  .sticky-bonus {
    left: 50%;
    right: auto;
    width: 760px;
    margin-left: -380px;
    bottom: 20px;
  }
  .sticky-bonus__inner { padding: 14px 18px; gap: 14px; }
  .sticky-bonus__name  { font-size: 15px; }
  .sticky-bonus__offer { font-size: 13px; }
  .sticky-bonus__cta   { font-size: 14px; padding: 10px 20px; }
}

/* Mobile pequeño: ocultar rank y estrellas */
@media (max-width: 420px) {
  .sticky-bonus__rank  { display: none; }
  .sticky-bonus__stars { display: none; }
}

/* ── Footer expandido ─────────────────────────────────── */
/* ── FOOTER REDESIGN ── */
.footer { padding: 0; text-align: left; }

.footer__top {
  background: var(--c-navy-dark);
  border-top: 3px solid var(--c-gold);
  padding: var(--sp-8) 0;
}

/* Reset the generic .footer .container flex so the grid inside can work */
.footer__top .container {
  display: block;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--sp-6);
  align-items: start;
}

/* Brand column */
.footer__logo-link { display: inline-block; margin-bottom: var(--sp-3); }
.footer__logo-link img { height: 34px; width: auto; opacity: .9; }
.footer__desc {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0 0 var(--sp-3);
}
.footer__email {
  font-size: var(--fs-xs);
  color: var(--c-gold) !important;
  text-decoration: none;
  font-weight: 600;
}
.footer__email:hover { text-decoration: underline; }

/* Title */
.footer__title {
  color: rgba(255,255,255,0.4);
  font-size: .7rem;
  font-weight: 700;
  margin: 0 0 var(--sp-3);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Links */
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links li { display: flex; align-items: center; }
.footer__links a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.65) !important;
  text-decoration: none;
  transition: color .2s;
}
.footer__links a:hover { color: #fff !important; }

/* Warnings */
.footer__warn {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  margin: 0 0 var(--sp-3);
}
.footer__warn strong { color: rgba(255,255,255,0.7); }

/* Badges */
.footer__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--sp-2); }
.footer__badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Bottom bar */
.footer__bottom { background: #070b17; padding: var(--sp-3) 0; text-align: center; }
.footer__bottom .container { display: block; }
.footer__bottom p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.footer__bottom a { color: rgba(255,255,255,0.45) !important; text-decoration: none; }
.footer__bottom a:hover { color: rgba(255,255,255,0.8) !important; }

@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}


/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--c-navy-dark) 0%, var(--c-navy) 60%, var(--c-navy-light) 100%);
  border-bottom: 3px solid var(--c-gold);
  padding: var(--sp-12) 0;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: var(--sp-10);
}

.update-tag--hero {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  margin-top: var(--sp-5);
  white-space: normal;
}
@media (max-width: 600px) {
  .update-tag--hero { margin-top: 0; margin-bottom: var(--sp-4); }
}

.update-tag__date, .update-tag__sep, .update-tag__info { display: inline; }

@media (max-width: 600px) {
  .update-tag__sep { display: none; }
  .update-tag__date, .update-tag__info { display: block; }
}

.update-tag--hero a {
  color: var(--c-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-title--hero {
  color: #fff;
  margin-top: 0;
  margin-bottom: var(--sp-6);
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.page-hero__text p {
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
}

.page-hero__text p:last-child { margin-bottom: 0; }

.page-hero__text strong { color: #fff; font-weight: 700; }

.page-hero__text a {
  color: var(--c-gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(240,204,94,0.4);
  text-underline-offset: 3px;
}

.page-hero__img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
}

.page-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}

.page-hero__img img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--r-lg);
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.45));
}

/* También actualizar .main para que no tenga padding-top extra */
.main { padding-top: var(--sp-8); }

@media (max-width: 760px) {
  .page-hero { padding: var(--sp-8) 0; }
  .page-hero__inner { grid-template-columns: 1fr; gap: var(--sp-5); }
  .page-hero__img { justify-content: center; }
  .page-hero__img img { max-width: 260px; margin: 0 auto; }
}
