:root {
  --blue-950: #071845;
  --blue-900: #102a6b;
  --blue-800: #153c9d;
  --blue: #1d4ed8;
  --blue-100: #dbeafe;
  --purple: #7c3aed;
  --purple-800: #5b21b6;
  --purple-100: #ede9fe;
  --gold: #f5b942;
  --gold-700: #b7791f;
  --gold-100: #fff3c4;
  --green: #0f766e;
  --red: #b91c1c;
  --ink: #111827;
  --muted: #5b6475;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --surface-3: #eef2ff;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 10px 28px rgba(17, 24, 39, 0.09);
  --radius: 8px;
  --container: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--blue-950);
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.age-bar {
  background: var(--blue-950);
  color: #fff;
  font-size: 0.92rem;
}

.age-bar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-stuck {
  box-shadow: var(--shadow-soft);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.94rem;
  font-weight: 750;
  color: var(--blue-900);
}

.primary-nav a {
  padding: 10px 9px;
  border-radius: 6px;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-100);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.icon-button,
.menu-toggle,
.back-to-top {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-button svg,
.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  color: inherit;
}

.button--gold {
  background: linear-gradient(135deg, var(--gold), #ffe08a);
  color: var(--blue-950);
  box-shadow: 0 10px 22px rgba(181, 122, 25, 0.22);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-header .button--ghost,
.cookie-banner .button--ghost {
  color: var(--blue-900);
  border-color: var(--line);
  background: #fff;
}

.button--light {
  background: #fff;
  color: var(--blue-900);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--blue-950);
}

.hero--page {
  min-height: 430px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 24, 69, 0.95) 0%, rgba(16, 42, 107, 0.82) 42%, rgba(124, 58, 237, 0.34) 72%, rgba(245, 185, 66, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 24, 69, 0.22), rgba(7, 24, 69, 0.62));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 0;
  max-width: var(--container);
}

.hero-content h1 {
  max-width: 770px;
  margin: 0;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: clamp(2.35rem, 7vw, 4.95rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.5vw, 1.28rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin-top: 34px;
}

.hero-stats span {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-stats strong {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.hero-stats small,
.updated-line {
  color: rgba(255, 255, 255, 0.78);
}

.updated-line {
  margin: 18px 0 0;
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section--tinted {
  background: var(--surface-2);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.prose h2,
.cta-band h2 {
  margin: 0;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--blue-950);
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.offer-card,
.feature-card,
.article-card,
.operator-card,
.comparison-card,
.contact-form,
.contact-card,
.insight-panel,
.resource-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.offer-card__top,
.operator-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offer-card__top {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.offer-card h3,
.operator-card h3,
.article-card h3,
.feature-card h3,
.comparison-card h3 {
  margin: 0;
  color: var(--blue-950);
  line-height: 1.15;
}

.operator-logo {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.operator-logo--blue {
  background: linear-gradient(135deg, var(--blue), #0f766e);
}

.operator-logo--purple {
  background: linear-gradient(135deg, var(--purple), #db2777);
}

.operator-logo--gold {
  background: linear-gradient(135deg, var(--gold), #ef4444);
  color: var(--blue-950);
}

.rank-badge {
  margin-left: auto;
  min-width: 38px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--blue);
  font-weight: 900;
}

.offer-card__body {
  padding: 18px;
}

.offer-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.bonus-amount {
  margin: 0 0 16px;
  color: var(--blue-950);
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.15;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.score-grid span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-2);
}

.score-grid strong {
  color: var(--blue);
}

.score-grid small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.check-list,
.warning-list,
.number-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.check-list li,
.warning-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before,
.warning-list li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.check-list li::before {
  content: "✓";
  color: #fff;
  background: var(--green);
}

.warning-list li::before {
  content: "!";
  color: #fff;
  background: var(--red);
}

.conditions {
  margin: auto 18px 0;
  padding: 13px;
  border-radius: 8px;
  background: #fff8db;
  color: #5f4211;
  font-size: 0.9rem;
}

.offer-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.text-link {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.prose {
  max-width: 830px;
}

.prose h2 {
  margin-top: 36px;
  margin-bottom: 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 8px;
  color: var(--blue-900);
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.04rem;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.note {
  margin: 24px 0;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff8db;
  border-radius: 0 8px 8px 0;
}

.insight-panel,
.resource-panel,
.contact-card {
  padding: 24px;
  position: sticky;
  top: 110px;
}

.insight-panel h3,
.resource-panel h3,
.contact-card h2 {
  margin: 0 0 12px;
  color: var(--blue-950);
  font-size: 1.35rem;
}

.insight-panel p,
.resource-panel p,
.contact-card p {
  color: var(--muted);
}

.insight-panel--gold {
  border-color: rgba(245, 185, 66, 0.65);
  background: linear-gradient(180deg, #fff, #fff8db);
}

.feature-grid,
.article-grid,
.operator-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.article-grid,
.operator-grid,
.comparison-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.article-card,
.operator-card,
.comparison-card {
  padding: 22px;
}

.feature-card p,
.article-card p,
.operator-card p,
.comparison-card p {
  color: var(--muted);
}

.feature-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--blue-950);
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.operator-card {
  display: grid;
  gap: 18px;
}

.operator-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.operator-facts div {
  display: grid;
  gap: 2px;
  padding: 12px;
  background: var(--surface-2);
  border-radius: 8px;
}

.operator-facts dt {
  font-weight: 900;
  color: var(--blue-900);
}

.operator-facts dd {
  margin: 0;
  color: var(--muted);
}

.comparison-card h4 {
  margin: 18px 0 8px;
  color: var(--blue-900);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  padding: 16px 18px;
  border: 0;
  background: #fff;
  color: var(--blue-950);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
}

.faq-item button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 18px 18px;
  color: var(--muted);
}

.cta-band {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--blue-900), var(--purple-800));
  color: #fff;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.resource-panel {
  background: var(--blue-950);
  color: #fff;
}

.resource-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.resource-panel a {
  display: block;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-weight: 850;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  font-weight: 850;
  color: var(--blue-950);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd6e4;
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(245, 185, 66, 0.55);
  outline-offset: 2px;
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 650;
}

.checkbox-row input {
  width: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
}

.form-status {
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  padding: 58px 0;
  background: #081333;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 30px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  display: block;
  margin: 9px 0;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer h2 {
  margin: 10px 0 14px;
  font-size: 1rem;
  color: #fff;
}

.footer-warning {
  padding: 12px;
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: 8px;
}

.copyright {
  margin-top: 18px;
  font-size: 0.92rem;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}

body.search-open .search-panel {
  display: block;
}

.search-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 69, 0.72);
}

.search-dialog {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 7vh auto;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.search-close {
  position: absolute;
  right: 16px;
  top: 16px;
}

.search-dialog h2 {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--blue-950);
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  line-height: 1.1;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  max-height: 45vh;
  overflow: auto;
}

.search-results a,
.search-empty {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.search-results strong {
  display: block;
  color: var(--blue-950);
}

.search-results span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 220;
  width: min(960px, calc(100% - 32px));
  margin-inline: auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 210;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .primary-nav {
    position: fixed;
    inset: 124px 0 auto 0;
    max-height: calc(100vh - 124px);
    overflow: auto;
    display: none;
    padding: 18px 16px 26px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.menu-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .offer-grid,
  .feature-grid,
  .article-grid,
  .operator-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .age-bar__inner {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.84rem;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 176px;
  }

  .primary-nav {
    inset: 118px 0 auto 0;
  }

  .hero,
  .hero--page {
    min-height: 580px;
  }

  .hero-content {
    padding: 68px 0;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 69, 0.97), rgba(16, 42, 107, 0.88)),
      linear-gradient(180deg, rgba(7, 24, 69, 0.2), rgba(7, 24, 69, 0.82));
  }

  .hero-actions,
  .cta-band__inner,
  .cookie-banner,
  .cookie-actions,
  .offer-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .offer-grid,
  .feature-grid,
  .article-grid,
  .operator-grid,
  .comparison-grid,
  .split-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .insight-panel,
  .resource-panel,
  .contact-card {
    position: static;
  }

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

  .footer-grid {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.operator-logo {
    width: 90px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.operator-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.offer-card__top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rank-badge {
    margin-left: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 180px;
  height: auto;
  display: block;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 750;
  color: var(--blue-900);
  white-space: nowrap;
}

.primary-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  transition: background .18s ease, color .18s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue);
  background: #eef4ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
}

.button--gold {
  background: linear-gradient(135deg, #ffc94d, #ffdd7a);
  color: var(--blue-950);
  box-shadow: 0 8px 18px rgba(181, 122, 25, .18);
}

@media (max-width: 1240px) {
  .primary-nav {
    gap: 2px;
    font-size: 13px;
  }

  .primary-nav a {
    padding: 8px 8px;
  }

  .brand img {
    width: 165px;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: 118px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.menu-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 16px;
    font-size: 15px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }
}