/* RyCart Corp — hoja de estilos única. Móvil primero. Sin dependencias externas. */

:root {
  --navy-950: #051434;
  --navy-900: #071d4f;
  --navy-800: #0b2a6b;
  --blue-700: #0f3d91;
  --blue-600: #1650c0;
  --blue-500: #2d74e8;
  --blue-100: #e7efff;
  --gold-300: #ffd27a;
  --gold-400: #f9b748;
  --gold-500: #f4a531;
  --gold-600: #e8891c;
  --ink: #0d1b3e;
  --text: #2a3756;
  --muted: #56648a;
  --line: #dbe3f1;
  --bg: #ffffff;
  --bg-soft: #f2f6fd;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 62, .06), 0 2px 8px rgba(13, 27, 62, .05);
  --shadow-md: 0 6px 24px rgba(13, 27, 62, .10);
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon .accent { stroke: var(--gold-500); }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--gold-400); color: var(--navy-900); padding: 8px 14px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 10px 24px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.btn--gold { background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); box-shadow: 0 4px 14px rgba(232, 137, 28, .35); }
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(232, 137, 28, .45); }
.btn--outline { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); }
.btn--navy { background: var(--blue-700); color: #fff; }
.btn--navy:hover { background: var(--blue-600); }

.draft { display: inline-block; vertical-align: middle; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a4b00; background: #fff1d6; border: 1px solid #f3c77a; border-radius: 4px; padding: 1px 7px; line-height: 1.6; }
.draft--dark { color: var(--gold-300); background: rgba(255, 210, 122, .1); border-color: rgba(255, 210, 122, .35); }
.draft-note { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); margin: 0 0 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, var(--navy-900), var(--navy-800) 60%, var(--blue-700)); border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.site-header__inner { display: flex; align-items: center; height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 38px; width: auto; }
.site-header__divider { display: none; width: 1px; height: 32px; background: rgba(255, 255, 255, .25); }
.nav { margin-left: auto; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.nav__toggle .icon { width: 24px; height: 24px; }
.nav__toggle .icon--close, .is-open .nav__toggle .icon--open { display: none; }
.is-open .nav__toggle .icon--close { display: block; }
.nav__panel { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 8px 16px 20px; box-shadow: var(--shadow-md); }
.is-open .nav__panel { display: block; }
.nav__list { list-style: none; margin: 0 0 12px; padding: 0; }
.nav__list a { display: block; padding: 12px 4px; color: rgba(255, 255, 255, .92); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav__list a[aria-current="page"] { color: var(--gold-300); }
.nav__cta { width: 100%; min-height: 44px; border-radius: 999px; }
.i18n-review { background: #fff4dc; color: #6b4300; font-size: .88rem; padding: 6px 0; border-bottom: 1px solid #f3d08a; }

@media (min-width: 1200px) {
  .site-header__divider { display: block; }
  .nav { flex: 1; }
  .nav__toggle { display: none; }
  .nav__panel { display: flex !important; align-items: center; position: static; background: none; border: 0; padding: 0; box-shadow: none; }
  .nav__list { display: flex; flex: 1; justify-content: space-evenly; margin: 0 16px 0 0; }
  .nav__list a { border: 0; padding: 8px 6px; position: relative; font-size: 1rem; }
  .nav__list a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 0; height: 2px; background: var(--gold-400); transform: scaleX(0); transition: transform .2s ease; }
  .nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav__cta { width: auto; padding: 8px 26px; }
  .nav__actions { flex-direction: row; align-items: center; gap: 14px; }
  .nav__login { width: auto; min-height: 40px; padding: 7px 16px; font-size: .92rem; }
}

/* ---------- Hero (inicio) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 75% 30%, rgba(45, 116, 232, .45), transparent 60%), linear-gradient(115deg, #08245f 0%, var(--blue-700) 55%, #1550c0 100%); }
.hero__map { position: absolute; right: -30%; top: 6%; width: 120%; max-width: none; opacity: .38; pointer-events: none; }
.hero__waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; object-fit: fill; opacity: .9; pointer-events: none; }
.hero__inner { position: relative; padding: 56px 16px 64px; }
.hero__bar { width: 60px; height: 4px; border-radius: 2px; background: var(--gold-500); margin-bottom: 20px; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 34em; color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .hero__actions .btn { flex: none; } }
@media (min-width: 900px) {
  .hero__map { right: -3%; top: 8%; width: 62%; opacity: .9; }
  .hero__inner { padding: 64px 32px 76px; }
  .hero__content { max-width: 52%; }
}
@media (min-width: 1100px) {
  .hero__title { white-space: nowrap; font-size: clamp(2.8rem, 4vw, 3.5rem); }
}

/* ---------- Tarjetas de pilares ---------- */
.pillars { background: linear-gradient(180deg, #eef3fc, #f7f9fe); padding: 28px 0; border-bottom: 1px solid var(--line); }
.pillars__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars__grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.pillar { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px 34px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #c4d3ee; }
.pillar__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pillar__head .icon { width: 38px; height: 38px; color: var(--blue-700); stroke-width: 1.7; }
.pillar__title { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 0; }
.pillar__text { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0; }
.pillar__chev { position: absolute; right: 16px; bottom: 12px; width: 16px; height: 16px; color: var(--ink); stroke-width: 2.4; }

/* ---------- Secciones genéricas ---------- */
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--navy-800); margin-bottom: 14px; }
.section__title::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--gold-500); margin: 10px auto 0; }
.section__title--left { text-align: left; }
.section__title--left::after { margin-left: 0; }
.section__lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section__more { text-align: center; margin-top: 32px; }

/* ---------- Escalera (inicio + organización) ---------- */
.ladder { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; max-width: 360px; }
.ladder__item { display: flex; flex-direction: column-reverse; align-items: center; width: 100%; }
.ladder__step { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 6px 14px rgba(13, 27, 62, .18), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .15s ease; }
.ladder__step:hover { transform: translateY(-2px); }
.ladder__step .icon { width: 26px; height: 26px; stroke-width: 2; }
.ladder__num { margin-left: auto; font-size: .78rem; opacity: .75; font-weight: 600; }
.ladder__arrow { color: #8a98b8; width: 18px; height: 18px; transform: rotate(-90deg); margin: 2px 0; stroke-width: 2.4; }
.ladder__item:first-child .ladder__arrow { display: none; }

@media (min-width: 1080px) {
  .ladder { flex-direction: row; align-items: flex-end; max-width: none; gap: 0; padding-top: 20px; }
  .ladder__item { flex-direction: row; flex: 1; width: auto; }
  .ladder__item:first-child .ladder__arrow { display: block; visibility: hidden; }
  .ladder__arrow { transform: none; margin: 0 4px; flex: none; }
  .ladder__step { flex-direction: column; justify-content: center; gap: 6px; text-align: center; padding: 14px 6px; min-height: 92px; font-size: .9rem; line-height: 1.15; }
  .ladder__num { display: none; }
  .ladder__step .icon { width: 28px; height: 28px; }
  /* efecto escalera: cada nivel sube un poco */
  .ladder__item:nth-child(1) { margin-bottom: 0; }
  .ladder__item:nth-child(2) { margin-bottom: 6px; }
  .ladder__item:nth-child(3) { margin-bottom: 12px; }
  .ladder__item:nth-child(4) { margin-bottom: 18px; }
  .ladder__item:nth-child(5) { margin-bottom: 24px; }
  .ladder__item:nth-child(6) { margin-bottom: 30px; }
  .ladder__item:nth-child(7) { margin-bottom: 36px; }
  .ladder__item:nth-child(8) { margin-bottom: 42px; }
  .ladder__item:nth-child(9) { margin-bottom: 48px; }
  .ladder__item:nth-child(9) .ladder__step { min-height: 104px; }
}
.ladder-floor { height: 14px; margin: 6px auto 0; max-width: 1180px; background: radial-gradient(ellipse at center, rgba(13, 27, 62, .16), transparent 70%); }

/* ---------- Franja CTA ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(100deg, var(--navy-900), var(--blue-700) 60%, var(--blue-600)); }
.cta-band__waves { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: .55; pointer-events: none; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 36px 16px; }
.cta-band__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 0; white-space: nowrap; }
.cta-band__text { margin: 0; color: rgba(255, 255, 255, .88); max-width: 34em; }
@media (min-width: 900px) {
  .cta-band__inner { flex-direction: row; align-items: center; gap: 40px; padding: 34px 32px; }
  .cta-band__text { border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 40px; flex: 1; }
}

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 380px at 85% 10%, rgba(45, 116, 232, .45), transparent 60%), linear-gradient(115deg, #08245f, var(--blue-700) 70%, #1550c0); }
.page-hero__map { position: absolute; right: -10%; top: -10%; width: 70%; max-width: 900px; opacity: .22; pointer-events: none; }
.page-hero__inner { position: relative; padding: 48px 16px 52px; }
@media (min-width: 768px) { .page-hero__inner { padding: 64px 32px 68px; } }
.page-hero__title { color: #fff; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 10px; }
.page-hero__lead { color: rgba(255, 255, 255, .9); font-size: 1.12rem; max-width: 40em; margin: 0; }
.page-hero .hero__bar { margin-bottom: 16px; }

/* ---------- Bloques de contenido ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; color: var(--navy-800); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card h2, .card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.card h2 { font-size: 1.4rem; }
.card h2 .icon, .card h3 .icon { width: 28px; height: 28px; color: var(--blue-700); }
.card p:last-child { margin-bottom: 0; }
.card--feature { border-top: 4px solid var(--gold-500); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 0; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 12px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

/* ---------- Organización: detalle por nivel ---------- */
.levels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.level { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
.level__badge { display: flex; align-items: center; gap: 14px; padding: 16px 20px; color: #fff; }
.level__badge .icon { width: 34px; height: 34px; stroke-width: 1.9; }
.level__num { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.level__name { font-size: 1.3rem; font-weight: 800; line-height: 1.15; }
.level__es { font-size: .95rem; opacity: .9; }
.level__body { padding: 18px 20px 20px; }
.level__kind { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--blue-600); background: var(--blue-100); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.level__desc { margin-bottom: 12px; }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
@media (min-width: 820px) {
  .level { grid-template-columns: 240px 1fr; }
  .level__badge { flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px 22px; }
  .facts { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .facts .facts__wide { grid-column: 1 / -1; }
}

/* ---------- Liderazgo ---------- */
.seat-group { margin-bottom: 44px; }
.seat-group__title { font-size: 1.35rem; color: var(--navy-800); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 20px; }
.seat-group__title .icon { width: 26px; height: 26px; color: var(--gold-600); }
.seats { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .seats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .seats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .seats { grid-template-columns: repeat(4, 1fr); } }
.seat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.seat__photo { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; background: #e8eef9; }
.seat__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.seat__name { font-size: 1.05rem; margin: 0; color: var(--muted); font-weight: 600; }
.seat:not(.seat--open) .seat__name { font-size: 1.2rem; color: var(--ink); font-weight: 800; }
.seat__title { color: var(--navy-800); font-size: 1.12rem; font-weight: 800; line-height: 1.25; margin: 2px 0 0; }
.seat__territory { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.seat__territory .icon { width: 16px; height: 16px; }
@media (max-width: 519px) {
  .seat { flex-direction: row; align-items: stretch; }
  .seat--open .seat__photo-wrap { width: 112px; flex: none; aspect-ratio: auto; min-height: 112px; }
  .seat--open .seat__photo-wrap .icon { width: 44px; height: 44px; }
}
.seat--open { border: 2px dashed #b8c7e3; background: #f8faff; box-shadow: none; }
.seat--open .seat__photo-wrap { aspect-ratio: 1 / 1; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #eef3fc, #eef3fc 10px, #f6f8fd 10px, #f6f8fd 20px); color: #9aabcb; }
.seat--open .seat__photo-wrap .icon { width: 72px; height: 72px; stroke-width: 1.2; }
.seat__open-label { color: var(--gold-600); font-weight: 800; letter-spacing: .02em; }
.seat__link { margin-top: auto; padding-top: 12px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.seat__link .icon { width: 16px; height: 16px; stroke-width: 2.4; }

/* ---------- Oportunidades ---------- */
.opps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .opps { grid-template-columns: repeat(2, 1fr); } }
.opp { position: relative; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--opp-color, var(--blue-600)); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
.opp:target, .news-item:target { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.opp__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.opp__title { font-size: 1.15rem; margin: 0 0 4px; }
.opp__meta { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.tag { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; background: #e5f6ee; color: #11683f; }
.tag--reserved { background: #eef0f5; color: #5a6480; }
.tag--reserved .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.catalog { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .catalog { grid-template-columns: repeat(3, 1fr); } }
.catalog__list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.catalog__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.catalog__list li.is-reserved { color: #6b7591; background: #f3f4f8; }

/* ---------- Noticias ---------- */
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.news-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
.news-item__emoji { font-size: 1.8rem; line-height: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-100); }
.news-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 4px; }
.news-item__meta .icon { width: 15px; height: 15px; }
.news-item__title { font-size: 1.18rem; margin: 0 0 6px; }
.news-item__summary { margin: 0; color: var(--text); }

.notice { padding: 16px 18px; border-radius: 10px; background: #fff7e6; border: 1px solid #f3d08a; color: #6b4300; }
.notice--info { background: var(--blue-100); border-color: #c4d6fb; color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.site-footer__grid { display: grid; gap: 32px; padding: 48px 16px 36px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; padding: 56px 32px 40px; } }
.site-footer__tagline { margin: 16px 0 0; max-width: 26em; }
.site-footer__h { color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer__h + .lang-select { margin-bottom: 24px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.site-footer__links a { color: rgba(255, 255, 255, .82); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer__links a:hover, .site-footer__links a[aria-current="page"] { color: var(--gold-300); }
.lang-select { font: inherit; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 9px 12px; min-width: 200px; min-height: 44px; }
.lang-select option { color: var(--ink); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social__item { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7); }
.social__item .icon { width: 20px; height: 20px; }
.site-footer__small { font-size: .82rem; margin: 10px 0 0; color: rgba(255, 255, 255, .55); }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* Sin JS: aviso mínimo */
.nojs { background: #fff4dc; color: #6b4300; padding: 10px 16px; text-align: center; }
.nojs a { color: inherit; margin: 0 6px; }

/* ---------- Insignia de nivel (liderazgo / país) ---------- */
.level-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 6px 0 4px; padding: 5px 12px 5px 9px; border-radius: 999px; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 3px 10px rgba(13, 27, 62, .18), inset 0 1px 0 rgba(255, 255, 255, .3); }
.level-chip .icon { width: 17px; height: 17px; stroke-width: 2.2; }
.level-chip[data-level="founder"], .level-chip[data-level="ambassador"] { color: #2b1a00; }
.seat[data-level="founder"]:not(.seat--open) { border-top: 4px solid #d9a52b; }

/* ---------- Banderas y franja de países ---------- */
.flag { display: block; flex: none; border-radius: 4px; box-shadow: 0 0 0 1px rgba(13, 27, 62, .14), 0 2px 6px rgba(13, 27, 62, .16); }
.countries { padding: 40px 0 8px; text-align: center; }
.countries__title { font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.countries__title::before, .countries__title::after { content: ""; display: inline-block; vertical-align: middle; width: 36px; height: 1px; background: #c3cee3; margin: 0 12px; }
.country-strip { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.country-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease; }
.country-link:hover, .country-link:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c4d3ee; filter: brightness(1.04); }
.country-link[aria-current="page"] { border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(244, 165, 49, .35); }
.country-strip--compact { gap: 14px; }
.country-strip--compact .country-link { padding: 7px; border-radius: 10px; }
.pillars__countries { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 22px; }
.pillars__countries .countries__title { margin: 0; }
.pillars__countries .countries__title::before, .pillars__countries .countries__title::after { display: none; }

/* ---------- Últimas noticias (inicio) ---------- */
.latest { padding: 56px 0; }
.latest__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.latest__head .section__title { margin: 0; }
.latest__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .latest__grid { grid-template-columns: 1.85fr 1fr; } }
.feature { position: relative; display: flex; flex-direction: column; min-height: 320px; border-radius: 14px; overflow: hidden; color: #fff; background: radial-gradient(700px 300px at 90% 0%, rgba(45, 116, 232, .55), transparent 60%), linear-gradient(120deg, var(--navy-900), var(--blue-700) 70%, var(--blue-600)); border-top: 4px solid var(--gold-500); box-shadow: var(--shadow-md); transition: transform .18s ease, box-shadow .18s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13, 27, 62, .22); }
.feature__map { position: absolute; right: -12%; bottom: -18%; width: 85%; max-width: none; opacity: .22; pointer-events: none; }
.feature__link { position: relative; flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 28px 24px 16px; color: inherit; text-decoration: none; }
@media (min-width: 640px) { .feature__link { flex-direction: row; gap: 28px; padding: 36px 34px 18px; } }
.feature__visual { flex: none; display: grid; place-items: center; width: 140px; height: 100px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.feature__visual .flag { box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.news-visual__icon { width: 48px; height: 48px; color: #fff; stroke-width: 1.6; }
.feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .88rem; color: rgba(255, 255, 255, .82); margin-bottom: 8px; }
.feature__meta > .icon { width: 15px; height: 15px; }
.chip-country { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: .8rem; }
.chip-country .flag { border-radius: 2px; }
.feature__title { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; line-height: 1.2; margin: 0 0 10px; transition: opacity .35s ease; }
.feature__summary { color: rgba(255, 255, 255, .86); margin: 0 0 14px; transition: opacity .35s ease; }
.feature__read { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-300); font-weight: 800; }
.feature__read .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.feature.is-leaving .feature__title, .feature.is-leaving .feature__summary { opacity: 0; }
.feature__controls { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 22px 18px; }
.latest__dots { display: flex; align-items: center; gap: 6px; }
.latest__dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .35); transition: width .2s ease; }
.latest__dot.is-active { background: var(--gold-400); width: 22px; }
.latest__btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.latest__btn:hover { background: rgba(255, 255, 255, .12); }
.latest__btn .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.latest__side { display: grid; gap: 18px; }
@media (min-width: 960px) { .latest__side { grid-template-rows: 1fr 1fr; } }
.minor { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--blue-600); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.minor:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.minor__meta { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.minor__meta .flag { border-radius: 2px; }
.minor__meta .news-visual__icon { width: 18px; height: 18px; color: var(--blue-700); }
.minor__title { font-size: 1.08rem; font-weight: 800; line-height: 1.3; margin: 0; }
.minor__read { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-600); font-weight: 700; font-size: .9rem; }
.minor__read .icon { width: 15px; height: 15px; stroke-width: 2.4; }

/* ---------- Página por país ---------- */
.country-hero .page-hero__inner { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 768px) { .country-hero .page-hero__inner { flex-direction: row; align-items: center; gap: 40px; } }
.country-hero__flag { flex: none; align-self: flex-start; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.country-hero__flag .flag { width: 168px; height: auto; border-radius: 6px; }
@media (min-width: 768px) { .country-hero__flag { align-self: center; } .country-hero__flag .flag { width: 228px; } }
.country-hero .kicker { color: var(--gold-300); }
.news-item__emoji .flag { border-radius: 3px; }
.news-item__emoji .news-visual__icon { width: 28px; height: 28px; color: var(--blue-700); }
.pillars__countries .country-strip { margin: 0; }
.news-item__title a { color: inherit; text-decoration: none; }
.news-item__title a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Member Login (secundario, no compite con el dorado) ---------- */
.nav__actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1200px) { .nav__actions { flex-direction: row; align-items: center; gap: 14px; } .nav__login { width: auto; min-height: 40px; padding: 7px 16px; font-size: .92rem; } }
.nav__login { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 44px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; color: rgba(255, 255, 255, .9); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.nav__login .icon { width: 16px; height: 16px; stroke-width: 2; }
.nav__login:hover, .nav__login[aria-current="page"] { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); color: #fff; }

/* ---------- Fotos de sillas: marco cuadrado ---------- */
.seat__media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #e8eef9; flex: none; }
.seat__media .seat__photo { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
@media (max-width: 519px) { .seat__media { width: 112px; aspect-ratio: auto; min-height: 112px; } }

/* ---------- Portal de miembros ---------- */
.portal { display: grid; place-items: center; padding: 72px 0 88px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.portal__card { width: 100%; max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue-600); border-radius: 16px; padding: 44px 28px; box-shadow: var(--shadow-md); }
.portal__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 20px; color: #fff; background: linear-gradient(140deg, var(--blue-500), var(--navy-800)); box-shadow: 0 10px 24px rgba(15, 61, 145, .3); }
.portal__icon .icon { width: 40px; height: 40px; stroke-width: 1.8; }
.portal__title { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.portal__text { font-size: 1.12rem; color: var(--muted); margin: 0 0 28px; }
.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; }
.nav__cta { white-space: nowrap; }
@media (min-width: 1200px) { .nav__list { justify-content: space-between; margin: 0 22px 0 18px; } }

/* ---------- «Where we are» en móvil: chips tipo píldora (escritorio sin cambios) ---------- */
@media (max-width: 699px) {
  .country-strip:not(.country-strip--compact) { gap: 8px; max-width: 380px; }
  .country-strip:not(.country-strip--compact) .country-link { gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; font-size: .88rem; line-height: 1.2; white-space: nowrap; box-shadow: 0 1px 3px rgba(13, 27, 62, .08); }
  .country-strip:not(.country-strip--compact) .country-link .flag { width: 28px; height: auto; border-radius: 3px; }
  .countries { padding: 28px 0 4px; }
}
@media (max-width: 699px) {
  .country-strip--compact { gap: 8px; }
  .country-strip--compact .country-link { padding: 5px; }
  .country-strip--compact .country-link .flag { height: 22px; width: auto; }
}
