/* netvisas.nz shared styles: used by every page */
:root {
  --navy: #0b1437;
  --blue: #1565e8;
  --blue-dark: #0d4fc4;
  --text: #1f2430;
  --cream: #f7f4f0;
  --needs-cream: #efebe5;
  --needs-grey: #f5f5f5;
  --tile: #dbe7fb;
  --line: #e2ddd5;
  --wrap: 1230px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: "Lexend", sans-serif; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.logo img { height: 62px; width: auto; margin-left: -12px; }
.nav { display: flex; gap: 46px; font-family: "Lexend", sans-serif; font-weight: 500; font-size: 16px; color: var(--navy); }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); }

.notice { background: #ddedfd; color: var(--navy); font-size: 15px; font-weight: 500; }
.notice .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 11px; padding-bottom: 11px; text-align: center; }
.notice img { width: 19px; height: 19px; flex: none; }

/* ---------- Hero ---------- */
.hero {
  color: #fff;
  background-color: #17406e;
  background-image:
    linear-gradient(to bottom, rgba(8,25,50,0) 50%, rgba(8,25,50,.5) 100%),
    linear-gradient(95deg, rgba(6,18,44,.55) 0%, rgba(6,18,44,.25) 38%, rgba(6,18,44,0) 60%),
    url("../images/hero-new-zealand.jpg");
  background-size: cover;
  background-position: center bottom;
}
.hero .wrap {
  min-height: min(45.8vw, 760px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: 56px; padding-bottom: 40px;
}
.hero h1 { font-size: clamp(38px, 4.7vw, 66px); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; max-width: 9.5em; }
.hero h1 em {
  display: block;
  font-family: "Playfair Display", serif; font-style: italic; font-weight: 400;
  font-size: .92em; margin-top: 4px;
}
.hero-lead { max-width: 400px; margin: 30px 0 40px; font-size: 18.5px; line-height: 1.45; }
.visa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.visa-card {
  background: rgba(255,255,255,.97);
  border-radius: 18px;
  padding: 24px 34px 26px;
  color: var(--text);
  box-shadow: 0 10px 28px rgba(5,20,45,.22);
}
.card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.tile {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--tile); display: grid; place-items: center;
}
.tile img { width: 28px; height: 28px; }
.visa-card h3 { font-size: 26px; font-weight: 600; color: var(--navy); }
.visa-card p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.42; max-width: 290px; }
.more { font-family: "Lexend", sans-serif; font-weight: 600; font-size: 16px; color: var(--blue); }
.more:hover { color: var(--blue-dark); }

/* ---------- Visa sections ---------- */
.visa { padding: 34px 0 62px; background: #fff; }
.visa.cream { background: var(--cream); }
.visa .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 456px; gap: 64px; align-items: start; }
.visa-copy { max-width: 540px; padding-top: 4px; }
.visa-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.visa-head .tile { width: 70px; height: 70px; border-radius: 14px; }
.visa-head .tile img { width: 44px; height: 44px; }
.visa h2 { font-size: clamp(34px, 3.5vw, 46px); font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.visa-copy p { margin: 0 0 18px; font-size: 18.5px; line-height: 1.45; }
.btn {
  display: inline-flex; align-items: center; gap: 20px;
  margin-top: 10px;
  background: var(--blue); color: #fff;
  font-family: "Lexend", sans-serif; font-weight: 600; font-size: 16.5px;
  padding: 14px 26px; border-radius: 999px;
  transition: background .15s;
}
.btn:hover { background: var(--blue-dark); }
.needs {
  border: 1px solid #dcd8d2; border-radius: 20px;
  padding: 22px 24px 14px;
  background: var(--needs-grey);
}
.visa.cream .needs { background: var(--needs-cream); }
.needs h3 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.needs ol { list-style: none; margin: 0; padding: 0; counter-reset: need; }
.needs li {
  counter-increment: need;
  display: grid; grid-template-columns: 50px 1fr;
  padding: 11px 0;
  font-size: 15.5px; line-height: 1.42; font-weight: 500;
}
.needs li + li { border-top: 1px solid var(--line); }
.needs li::before {
  content: counter(need, decimal-leading-zero);
  font-family: "Lexend", sans-serif; font-size: 12.5px; font-weight: 700; color: var(--blue);
  padding-top: 2px;
}

/* ---------- CTA ---------- */
.cta { padding: 62px 0 52px; background: #fff; }
.cta-box { border: 1px solid #d9d9d9; border-radius: 28px; text-align: center; padding: 40px 24px 34px; }
.cta-box h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 18px; }
.cta-box p { margin: 0 auto; max-width: 600px; font-size: 19px; line-height: 1.5; color: #3b4150; }
.cta-box .btn { margin-top: 26px; font-size: 19px; padding: 16px 36px; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #e4e4e4; font-size: 15.5px; background: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 290px 1.15fr .6fr .8fr .9fr; gap: 34px;
  padding-top: 34px; padding-bottom: 34px;
}
.footer-brand img { height: 78px; width: auto; margin: -8px 0 12px -14px; }
.footer-brand p, .footer-address p { margin: 0; line-height: 1.5; }
.footer-address { border-left: 1px solid #d9d9d9; padding-left: 34px; margin-top: 10px; }
.icon-row { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; }
.icon-row + .icon-row { margin-top: 26px; }
.icon-row img { width: 24px; height: 24px; margin-top: 2px; }
.site-footer h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #3b4150; margin: 10px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 14px; font-weight: 500; }
.site-footer li a:hover { color: var(--blue); }
.contact-link { display: inline-flex; align-items: center; gap: 12px; }
.contact-link img { width: 22px; height: 22px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #e4e4e4; padding-top: 22px; padding-bottom: 30px;
  font-size: 14.5px; color: #3b4150;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 26px; }
  .visa-card { padding: 22px 22px 24px; }
  .visa .wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-address { grid-column: span 3; }
  .footer-address { border-left: 0; padding-left: 0; margin-top: 0; }
}
@media (max-width: 800px) {
  .site-header .wrap { flex-direction: column; justify-content: center; gap: 2px; padding-top: 8px; padding-bottom: 12px; }
  .logo img { margin-left: 0; }
  .nav { flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 15px; }
  .notice { font-size: 13.5px; }
  .hero { background-position: 62% bottom; }
  .hero .wrap { padding-top: 40px; padding-bottom: 32px; }
  .visa-cards { grid-template-columns: 1fr; }
  .visa-card p { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-address { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* =====================================================================
   Shared components for inner pages
   ===================================================================== */
.serif { font-family: "Playfair Display", serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.eyebrow {
  display: block; margin-bottom: 12px;
  font-family: "Lexend", sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.section { padding: 84px 0; background: #fff; }
.section.cream { background: var(--cream); }
.section h2 { font-size: clamp(30px, 3.3vw, 44px); font-weight: 600; line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }
.section h3 { font-size: 19px; font-weight: 600; color: var(--navy); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.split.center { align-items: center; }
.split-lead { margin: 18px 0 0; font-size: 17.5px; max-width: 380px; color: #3b4150; }
.muted { color: #4a5060; }

.btn-sm { margin-top: 0; padding: 11px 22px; font-size: 15.5px; gap: 12px; }
.btn-block { display: flex; justify-content: center; width: 100%; padding: 17px 26px; font-size: 17.5px; gap: 12px; }

.check-icon { flex: none; width: 20px; height: 20px; }

/* ---------- Page hero (split with photo) ---------- */
.site-header.bordered { border-bottom: 1px solid #e8e8e8; }
.page-hero { padding: 62px 0 76px; background: linear-gradient(to bottom, #f8f7f5, #fff); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 72px; align-items: center; }
.page-hero h1 { font-size: clamp(44px, 5.4vw, 74px); font-weight: 700; line-height: 1.04; color: var(--navy); letter-spacing: -0.02em; }
.page-hero h1 .serif { display: block; font-size: 1.02em; margin-top: 4px; }
.page-hero-lead { margin: 28px 0 24px; max-width: 500px; font-size: 20px; line-height: 1.45; color: #3b4150; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; }
.ticks li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 17.5px; font-weight: 500; }
.apply-box { max-width: 500px; }
.apply-box label { display: block; margin-bottom: 10px; font-family: "Lexend", sans-serif; font-weight: 600; font-size: 15.5px; color: var(--navy); }
.passport-select { position: relative; margin-bottom: 14px; }
.passport-select img.flag { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.passport-select select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 16px 48px 16px 60px;
  font: 500 17px "DM Sans", system-ui, sans-serif; color: var(--text);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1437' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 20px center / 18px;
  border: 1px solid #cfd3da; border-radius: 999px; cursor: pointer;
}
.passport-select select:focus-visible, .search input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.status { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 16.5px; }
.status strong { color: var(--navy); }
.fineprint { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #dcdcdc; font-size: 15px; color: #4a5060; max-width: 440px; }
.photo-frame { padding: 10px; border: 1px solid #dedede; border-radius: 30px; background: #fff; box-shadow: 0 18px 40px rgba(11,20,55,.08); }
.photo-frame img { width: 100%; aspect-ratio: 396 / 506; object-fit: cover; border-radius: 21px; }
img.flag { width: 24px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11,20,55,.1); flex: none; }

/* ---------- About + stats ---------- */
.prose p { margin: 0 0 16px; font-size: 17.5px; line-height: 1.6; }
.prose p:last-child { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border: 1px solid #d9d9d9; border-radius: 24px; overflow: hidden; }
.stats > div { padding: 30px 34px 34px; }
.stats > div + div { border-left: 1px solid #d9d9d9; }
.stats dt { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #4a5060; margin-bottom: 12px; }
.stats dd { margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }

/* ---------- Process steps ---------- */
.centered { text-align: center; }
.centered .section-lead { margin: 16px auto 0; max-width: 520px; font-size: 18.5px; color: #3b4150; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 16.66%; right: 16.66%; border-top: 1px solid #d5d0c6; }
.steps li { position: relative; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--blue); color: #fff;
  font-family: "Lexend", sans-serif; font-size: 21px; font-weight: 600;
  box-shadow: 0 0 0 10px var(--cream);
}
.steps p { margin: 10px auto 0; max-width: 280px; font-size: 16.5px; color: #3b4150; }
.centered .btn { margin-top: 44px; }

/* ---------- Check list (what we check) ---------- */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid #e3e3e3; }
.checks li:last-child { border-bottom: 1px solid #e3e3e3; }
.checks .check-icon { margin-top: 3px; }
.checks p, .numbered p, .reasons p { margin: 6px 0 0; font-size: 16.5px; color: #3b4150; }

/* ---------- Who we are ---------- */
.info-card { margin: 26px 0 0; background: #fff; border: 1px solid #e2ddd5; border-radius: 20px; }
.info-card > div { display: grid; grid-template-columns: 124px 1fr; gap: 12px; padding: 18px 24px; }
.info-card > div + div { border-top: 1px solid #ece8e1; }
.info-card dt { padding-top: 3px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #4a5060; }
.info-card dd { margin: 0; font-size: 15px; color: #3b4150; }
.info-card dd strong { display: block; font-family: "Lexend", sans-serif; font-weight: 600; font-size: 15.5px; color: var(--navy); }
.note { display: grid; grid-template-columns: 20px 1fr; gap: 12px; margin: 22px 0 0; font-size: 15px; color: #3b4150; }
.note img { width: 20px; height: 20px; margin-top: 1px; }
.reasons-title { margin: 6px 0 14px; font-family: "Lexend", sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #3b4150; }
.reasons { list-style: none; margin: 0; padding: 0; }
.reasons li { display: grid; grid-template-columns: 124px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid #e2ddd5; }
.reasons .eyebrow { margin: 6px 0 0; font-size: 11.5px; }
.reasons h3 { font-size: 21px; }

/* ---------- Numbered requirements ---------- */
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: req; }
.numbered li { counter-increment: req; display: grid; grid-template-columns: 78px 1fr; padding: 22px 0; border-top: 1px solid #e3e3e3; }
.numbered li::before { content: counter(req, decimal-leading-zero); font-family: "Lexend", sans-serif; font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--blue); }
.numbered p { margin-top: 4px; }

/* ---------- Eligibility ---------- */
.dots { margin: 16px 0 0; padding: 0; list-style: none; font-size: 17px; color: #3b4150; }
.dots li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.search { position: relative; margin: 26px 0 0; max-width: 380px; }
.search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; }
.search input { width: 100%; padding: 15px 20px 15px 52px; font: 400 16.5px "DM Sans", system-ui, sans-serif; color: var(--text); background: #fff; border: 1px solid #d5d0c6; border-radius: 14px; }
.search-help { margin: 14px 0 0; font-size: 14.5px; max-width: 380px; color: #4a5060; }
.countries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.countries li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid #e2ddd5; border-radius: 12px; font-size: 15.5px; font-weight: 500; line-height: 1.25; }
.countries li[hidden] { display: none; }
.no-results { margin: 14px 0 0; font-size: 15.5px; color: #3b4150; }

/* ---------- Covers table ---------- */
.head-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 60px; align-items: end; margin-bottom: 36px; }
.head-row p { margin: 0; font-size: 16.5px; color: #3b4150; }
.covers { list-style: none; margin: 0; padding: 0; border: 1px solid #d9d9d9; border-radius: 22px; overflow: hidden; }
.covers li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 26px; font-size: 17px; font-weight: 500; }
.covers li + li { border-top: 1px solid #e6e6e6; }
.pill { flex: none; padding: 5px 13px; border-radius: 999px; font-family: "Lexend", sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pill.yes { background: #dcefdc; color: #14602a; }
.pill.no { background: #fbdfe2; color: #a3142a; }

/* ---------- Info cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-tile { padding: 26px 26px 28px; background: var(--needs-cream); border: 1px solid #dcd8d2; border-radius: 20px; }
.info-tile .eyebrow { font-size: 11.5px; margin-bottom: 10px; }
.info-tile h3 { font-size: 21px; margin-bottom: 12px; }
.info-tile p { margin: 0; font-size: 16px; line-height: 1.55; color: #3b4150; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.faq details { border-top: 1px solid #dedede; }
.faq details:last-child { border-bottom: 1px solid #dedede; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: "Lexend", sans-serif; font-size: 18.5px; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; border: 6px solid transparent; border-top: 8px solid var(--blue); border-bottom: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.faq details p { margin: 0; padding: 0 44px 24px 4px; font-size: 16.5px; line-height: 1.6; color: #3b4150; }

@media (max-width: 1080px) {
  .section { padding: 64px 0; }
  .split, .faq-layout, .head-row { grid-template-columns: 1fr; gap: 34px; }
  .head-row { align-items: start; }
  .split-lead { max-width: 560px; }
  .page-hero .wrap { gap: 40px; }
}
@media (max-width: 800px) {
  .page-hero { padding: 36px 0 52px; }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .photo-frame { max-width: 420px; }
  .stats, .steps, .cards-3 { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; border-top: 1px solid #d9d9d9; }
  .steps { gap: 34px; margin-top: 40px; }
  .steps::before { display: none; }
  .step-num { box-shadow: none; margin-bottom: 16px; }
  .countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons li, .info-card > div { grid-template-columns: 1fr; gap: 4px; }
  .numbered li { grid-template-columns: 60px 1fr; }
  .covers li { padding: 15px 18px; font-size: 16px; }
  .site-header.has-cta .nav { order: 3; }
}
@media (max-width: 460px) { .countries { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* =====================================================================
   Cookie consent (js/consent.js): banner and "Cookie settings" panel
   ===================================================================== */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 1100px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  background: #fff; border: 1px solid #dcdcdc; border-radius: 20px; box-shadow: 0 18px 50px rgba(11,20,55,.2);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; flex: 1 1 380px; font-size: 15.5px; line-height: 1.5; color: #3b4150; }
.consent-banner a, .consent-intro a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions.center { justify-content: center; margin-top: 30px; }
.consent-btn {
  padding: 13px 24px; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: #fff;
  font: 600 15.5px "Lexend", sans-serif; cursor: pointer;
}
.consent-btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.consent-btn.ghost { background: #fff; color: var(--navy); border-color: #c9c9c9; }
.consent-btn.ghost:hover { background: #fff; border-color: var(--blue); color: var(--blue); }
.consent-btn:focus-visible, .consent-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.consent-dialog {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 48px 36px 36px; border: 1px solid #dcdcdc; border-radius: 28px; background: #fff; color: var(--text);
}
.consent-dialog::backdrop { background: rgba(11,20,55,.6); }
.consent-dialog h2 { margin: 0 0 18px; text-align: center; font-size: 30px; font-weight: 600; color: var(--navy); }
.consent-intro { margin: 0 0 28px; text-align: center; font-size: 16px; line-height: 1.55; color: #3b4150; }
.consent-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; font-size: 28px; line-height: 1; color: #4a5060; cursor: pointer; }
.consent-card {
  display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 20px 22px;
  background: #f6f6f6; border: 1px solid #dcdcdc; border-radius: 18px; cursor: pointer;
}
.consent-copy { flex: 1; font-size: 14.5px; line-height: 1.5; color: #4a5060; }
.consent-copy strong { display: block; margin-bottom: 6px; font: 600 18px "Lexend", sans-serif; color: var(--navy); }
.consent-always { flex: none; font: 600 11.5px "Lexend", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.consent-card input {
  appearance: none; -webkit-appearance: none; flex: none; width: 28px; height: 28px; margin: 0;
  border: 2px solid #b9b9b9; border-radius: 50%; background: #fff; cursor: pointer;
}
.consent-card input:checked { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 5px #fff; }
.consent-card input:disabled { opacity: .5; cursor: not-allowed; }
.consent-card input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.consent-registry { margin: 8px 0 0 22px; font-size: 14px; color: #3b4150; }
.consent-registry summary { cursor: pointer; padding: 4px 0; }
.consent-registry p { margin: 8px 0 4px; }
.consent-table { overflow-x: auto; margin-top: 8px; }
.consent-registry table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
.consent-registry th, .consent-registry td { padding: 8px 10px 8px 0; text-align: left; vertical-align: top; border-top: 1px solid #e3e3e3; }
.consent-registry th { font-weight: 600; color: var(--navy); border-top: 0; }
@media (max-width: 600px) {
  .consent-banner { padding: 18px; }
  .consent-banner .consent-actions { width: 100%; }
  .consent-banner .consent-btn { flex: 1 1 auto; }
  .consent-dialog { padding: 44px 20px 26px; }
  .consent-card { align-items: flex-start; flex-wrap: wrap; }
  .consent-copy { flex-basis: calc(100% - 46px); }
}
