/* ApuestaPuerto — hoja de estilos principal */

:root {
  --ink: #0b2540;
  --ink-soft: #3c5a78;
  --ink-mute: #64809c;
  --blue: #0a5bd3;
  --blue-deep: #063f96;
  --blue-wash: #eaf2ff;
  --cyan: #12bfe3;
  --cyan-deep: #0895b4;
  --cyan-wash: #e4f8fd;
  --paper: #ffffff;
  --mist: #f4f8fc;
  --mist-deep: #e9f1f9;
  --line: #d9e6f2;
  --line-soft: #e8f0f8;
  --amber: #f0a30a;
  --amber-wash: #fff6e2;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 37, 64, .06), 0 4px 12px rgba(11, 37, 64, .05);
  --shadow-md: 0 2px 6px rgba(11, 37, 64, .06), 0 14px 34px rgba(11, 37, 64, .09);
  --shadow-lg: 0 4px 10px rgba(11, 37, 64, .07), 0 26px 60px rgba(11, 37, 64, .13);

  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 800;
}

h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.14rem, 1.7vw, 1.36rem); }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 800px; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: .85rem;
}

.lead { font-size: 1.16rem; color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.small { font-size: .93rem; }
.tiny { font-size: .84rem; }

/* ---------- barra de advertencia ---------- */

.topbar {
  background: var(--ink);
  color: #cfe2f4;
  font-size: .845rem;
  padding: 9px 0;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.topbar a { color: #9fd8ea; font-weight: 600; }
.topbar a:hover { color: #fff; }
.age-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 1px 9px;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: #3b2600;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .01em;
}

/* ---------- cabecera ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 0;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name b {
  font-size: 1.19rem;
  font-weight: 800;
  letter-spacing: -.028em;
  color: var(--ink);
}
.brand-name span {
  font-size: .655rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.nav { margin-left: auto; }
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav li { margin: 0; }
.nav a {
  display: block;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: .945rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--blue-wash); color: var(--blue-deep); }

.nav-toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--mist); }
.nav-toggle span {
  width: 16px; height: 10px;
  position: relative;
  display: inline-block;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle span::before { top: 0; }
.nav-toggle span::after { bottom: 0; }

/* ---------- botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.008em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 91, 211, .28);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(10, 91, 211, .34); }
.btn-accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  color: #04303c;
  box-shadow: 0 6px 18px rgba(18, 191, 227, .3);
}
.btn-accent:hover { color: #04303c; }
.btn-ghost {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: .93rem; }
.btn-wide { width: 100%; }

/* ---------- secciones ---------- */

.section { padding: 68px 0; }
.section-tight { padding: 46px 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #dce9f5; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink a { color: #7fd7ee; }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- portada: hero panorama provincial ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 6%, rgba(18, 191, 227, .16), transparent 46%),
    radial-gradient(circle at 4% 92%, rgba(10, 91, 211, .1), transparent 44%),
    var(--mist);
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 52px;
  align-items: start;
  padding: 62px 0 66px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue) 10%, var(--cyan-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink-mute);
  max-width: 46em;
}
.hero-note svg { flex: 0 0 18px; margin-top: 3px; }

/* panel de datos provinciales */
.snapshot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.snapshot-head {
  padding: 20px 24px 16px;
  background: linear-gradient(135deg, var(--ink) 0%, #14406b 100%);
  color: #fff;
}
.snapshot-head h2 {
  font-size: 1.06rem;
  margin: 0;
  letter-spacing: -.012em;
}
.snapshot-head p {
  margin: 5px 0 0;
  font-size: .84rem;
  color: #a9c9e4;
}
.snapshot dl { margin: 0; padding: 6px 24px 8px; }
.snapshot-row {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.snapshot-row:last-child { border-bottom: 0; }
.snapshot dt {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex: 0 0 auto;
  max-width: 46%;
}
.snapshot dd {
  margin: 0;
  font-size: .97rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}
.snapshot dd small { display: block; font-weight: 500; font-size: .82rem; color: var(--ink-mute); }
.snapshot-foot {
  padding: 14px 24px 20px;
  background: var(--mist);
  border-top: 1px solid var(--line-soft);
  font-size: .85rem;
  color: var(--ink-mute);
}
.snapshot-foot a { font-weight: 600; }

/* ---------- tarjetas con acento ---------- */

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: "";
  position: absolute;
  left: 26px; right: 26px; top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.card h3 { margin-bottom: .5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-accent-cyan::before { background: linear-gradient(90deg, var(--cyan), var(--cyan-deep)); }
.card-accent-amber::before { background: linear-gradient(90deg, var(--amber), #e2761b); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  background: var(--blue-wash);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}

/* ---------- aviso de afiliación ---------- */

.disclose {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 20px;
  border-radius: var(--r-md);
  background: var(--amber-wash);
  border: 1px solid #f5dda6;
  font-size: .92rem;
  color: #5a4108;
  margin-bottom: 28px;
}
.disclose svg { flex: 0 0 20px; margin-top: 2px; }
.disclose p { margin: 0; }
.disclose a { color: #7a4a00; font-weight: 700; }

/* ---------- operadores: destacado + grilla ---------- */

.op-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.op-logo {
  width: 62px; height: 62px;
  flex: 0 0 62px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.op-logo img { width: 100%; height: 100%; object-fit: cover; }
.op-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #17324c 0%, #0b2540 100%);
  border-color: #17324c;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.02em;
}

.op-spotlight {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px 28px 26px;
  overflow: hidden;
}
.op-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.op-flag {
  position: absolute;
  top: 22px; right: 24px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.op-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.op-head h3 { margin: 0 0 3px; }
.op-head .op-domain {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-mute);
  word-break: break-all;
}

.op-verdict {
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: var(--cyan-wash);
  border: 1px solid #c4ecf6;
  font-size: .96rem;
  color: #084b5c;
  margin-bottom: 18px;
}
.op-verdict b { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-deep); margin-bottom: 4px; }

.op-facts { list-style: none; margin: 0 0 20px; padding: 0; }
.op-facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.op-facts li:last-child { border-bottom: 0; }
.op-facts svg { flex: 0 0 17px; margin-top: 4px; }
.op-facts span { color: var(--ink-soft); }
.op-facts span b { color: var(--ink); font-weight: 700; }

.op-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.op-cta .tiny { color: var(--ink-mute); }

.op-stack { display: grid; gap: 18px; }
.op-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.op-card::after {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}
.op-card h3 { font-size: 1.1rem; margin: 0 0 2px; }
.op-card .op-domain { font-size: .85rem; font-weight: 600; color: var(--ink-mute); word-break: break-all; }
.op-card p { font-size: .93rem; color: var(--ink-soft); margin: 10px 0 14px; }
.op-card .op-cta { gap: 8px; }

/* ---------- tabla comparativa ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
table.cmp {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: .93rem;
}
table.cmp th, table.cmp td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
table.cmp thead th {
  background: var(--ink);
  color: #fff;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
table.cmp thead th:first-child { border-radius: var(--r-lg) 0 0 0; }
table.cmp thead th:last-child { border-radius: 0 var(--r-lg) 0 0; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:nth-child(even) { background: var(--mist); }
table.cmp td:first-child { font-weight: 700; color: var(--ink); }
.mono, code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .88em;
  word-break: break-all;
}
code {
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: var(--mist-deep);
  color: var(--blue-deep);
}
table.cmp .mono { font-size: .87rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  font-size: .79rem;
  font-weight: 700;
  white-space: nowrap;
}
.tag-ok { background: #e2f7ec; color: #0d6b41; }
.tag-info { background: var(--blue-wash); color: var(--blue-deep); }
.tag-neutral { background: var(--mist-deep); color: var(--ink-soft); }

.table-note { font-size: .87rem; color: var(--ink-mute); margin-top: 14px; }

/* ---------- lista de licencias ---------- */

.licence-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: lic;
  display: grid;
  gap: 10px;
}
.licence-list li {
  counter-increment: lic;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px 17px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: .93rem;
  margin: 0;
}
.licence-list li::before {
  content: counter(lic);
  flex: 0 0 24px;
  height: 24px;
  border-radius: var(--r-pill);
  background: var(--blue-wash);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- recursos oficiales ---------- */

.resource-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 20px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.resource h3 { font-size: 1.06rem; margin: 0; }
.resource p { margin: 0; font-size: .93rem; color: #b9d2e8; }
.resource .res-line {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}
.resource a { font-weight: 700; word-break: break-word; }
.resource-note { margin-top: 22px; font-size: .88rem; color: #a4c2dc; }

/* ---------- preguntas frecuentes ---------- */

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 22px;
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -6px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 22px 20px; color: var(--ink-soft); font-size: .98rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- bloques de contenido interior ---------- */

.page-head {
  background:
    radial-gradient(circle at 92% 10%, rgba(18, 191, 227, .14), transparent 44%),
    var(--mist);
  border-bottom: 1px solid var(--line-soft);
  padding: 52px 0 44px;
}
.page-head h1 { margin-bottom: 14px; }
.page-head p { max-width: 46em; margin-bottom: 0; color: var(--ink-soft); font-size: 1.1rem; }
.page-head .updated { margin-top: 18px; font-size: .87rem; color: var(--ink-mute); }
.page-head .mailrow { margin-top: 28px; margin-bottom: 0; max-width: 36em; }

.prose { padding: 52px 0 66px; }
.prose h2 { margin-top: 2.1em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose > p:first-child { font-size: 1.1rem; color: var(--ink-soft); }

.callout {
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--blue-wash);
  border-left: 4px solid var(--blue);
  margin: 1.6em 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-cyan { background: var(--cyan-wash); border-left-color: var(--cyan-deep); }
.callout-amber { background: var(--amber-wash); border-left-color: var(--amber); }

.check { list-style: none; padding-left: 0; }
.check li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: .7em;
}
.check svg { flex: 0 0 18px; margin-top: 4px; }

.mailrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: 1.5em 0;
}
.mailrow .mailrow-label {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mailrow a { font-size: 1.14rem; font-weight: 800; letter-spacing: -.015em; }

.crumbs { font-size: .87rem; color: var(--ink-mute); margin-bottom: 16px; }
.crumbs a { color: var(--ink-mute); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

.next-read {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}
.next-read a {
  display: block;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.next-read a:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.next-read strong { display: block; color: var(--ink); margin-bottom: 4px; }
.next-read span { font-size: .9rem; color: var(--ink-mute); }

/* ---------- pie ---------- */

.site-foot {
  background: var(--ink);
  color: #b9d2e8;
  padding: 54px 0 30px;
  font-size: .93rem;
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.foot-brand .brand-name b { color: #fff; }
.foot-brand p { margin: 16px 0 0; max-width: 34em; color: #a4c2dc; font-size: .91rem; }
.site-foot h4 {
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .55em; }
.site-foot a { color: #b9d2e8; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }

.foot-statement {
  margin: 30px 0 0;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: rgba(18, 191, 227, .1);
  border: 1px solid rgba(18, 191, 227, .28);
  color: #d3ecf6;
  font-size: .93rem;
}
.foot-statement strong { color: #fff; }
.foot-statement p { margin: 0 0 .7em; }
.foot-statement p:last-child { margin-bottom: 0; }

.foot-operator {
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #a4c2dc;
  font-size: .9rem;
  line-height: 1.55;
}
.foot-operator p { margin: 0 0 .45em; }
.foot-operator p:last-child { margin-bottom: 0; }
.foot-operator strong { color: #fff; }

.foot-legal {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .86rem;
  color: #8fb0cd;
}
.foot-age {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: #dce9f5;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 50px; }
  .op-showcase { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .resource-grid { grid-template-columns: 1fr; }
  .next-read { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    margin-left: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line-soft);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 11px 14px; border-radius: var(--r-sm); }
  .head-row { flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 17px; }
  .card { padding: 22px 20px; }
  .op-spotlight { padding: 24px 20px; }
  .op-card { grid-template-columns: 52px minmax(0, 1fr); gap: 13px; padding: 18px; }
  .op-logo { width: 52px; height: 52px; flex-basis: 52px; }
  .op-flag { position: static; display: block; margin-bottom: 12px; }
  .foot-top { grid-template-columns: 1fr; }
  .snapshot-row { flex-direction: column; gap: 3px; }
  .snapshot dt { max-width: 100%; }
  .snapshot dd { text-align: left; }
  .btn { width: 100%; }
  .op-cta .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
  .btn:hover { transform: none; }
}
