:root {
  --blue-900: #0f2342;
  --blue-800: #16315c;
  --blue-700: #1f4477;
  --blue-600: #2a5896;
  --sand: #d9a441;
  --sand-dark: #b9852b;
  --ink: #1a2230;
  --ink-soft: #44505f;
  --cream: #f7f4ec;
  --cream-2: #efe9dc;
  --white: #ffffff;
  --line: #e0d8c7;
  --shadow-sm: 0 2px 6px rgba(15, 35, 66, 0.08);
  --shadow-md: 0 10px 28px rgba(15, 35, 66, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1180px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--blue-800);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section--tight { padding: 52px 0; }

.section--cream2 { background: var(--cream-2); }

.section--blue {
  background: var(--blue-800);
  color: var(--cream);
}

.section--blue h2,
.section--blue h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sand-dark);
  margin-bottom: 14px;
}

.section--blue .eyebrow { color: var(--sand); }

.lead {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.section--blue .lead { color: #d8e0ee; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--primary {
  background: var(--sand);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover { background: var(--sand-dark); color: var(--white); }

.btn--secondary {
  background: transparent;
  color: var(--blue-800);
  border-color: var(--blue-700);
}

.btn--secondary:hover { background: var(--blue-700); color: var(--white); }

.btn--on-dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 244, 236, 0.6);
}

.btn--on-dark:hover { background: var(--cream); color: var(--blue-800); }

.btn .icon { width: 18px; height: 18px; }

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sand);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 1200;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 244, 236, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--blue-800);
  font-size: 1.22rem;
  line-height: 1.05;
}

.brand:hover { text-decoration: none; }

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--blue-800);
  display: grid;
  place-items: center;
  flex: none;
}

.brand__mark .icon { stroke: var(--sand); width: 22px; height: 22px; }

.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-top: 2px;
}

.nav__center {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a,
.dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  min-height: 44px;
}

.nav__links a:hover,
.dropdown__toggle:hover {
  background: var(--cream-2);
  text-decoration: none;
  color: var(--blue-800);
}

.nav__links a[aria-current="page"] {
  color: var(--blue-800);
  font-weight: 600;
}

.dropdown { position: relative; }

.dropdown__toggle .icon { width: 16px; height: 16px; }

.dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  list-style: none;
  margin: 0;
  display: none;
}

.dropdown__menu.open { display: block; }

.dropdown__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.dropdown__menu a:hover { background: var(--cream); color: var(--blue-800); text-decoration: none; }

.dropdown__menu small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--blue-800);
  color: var(--cream);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.96rem;
  min-height: 44px;
  margin-left: 8px;
}

.nav__cta:hover { background: var(--blue-700); color: var(--white); text-decoration: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--blue-800);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background-image: linear-gradient(120deg, rgba(15, 35, 66, 0.86) 0%, rgba(22, 49, 92, 0.72) 55%, rgba(22, 49, 92, 0.5) 100%), url("../img/hero-belajar-pasar-modal.jpg");
  background-size: cover;
  background-position: center;
}

.hero__inner {
  padding: 96px 0 0;
  max-width: 720px;
}

.hero h1 { color: var(--white); margin-bottom: 18px; }

.hero__sub {
  font-size: 1.2rem;
  color: #e7ecf5;
  max-width: 54ch;
  margin-bottom: 26px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__timeline {
  margin-top: 56px;
  border-top: 1px solid rgba(247, 244, 236, 0.28);
  padding: 22px 0 30px;
}

.timeline-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.timeline-band__item {
  position: relative;
  padding-left: 30px;
}

.timeline-band__item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
}

.timeline-band__item::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 11px;
  width: calc(100% - 22px);
  height: 1px;
  background: rgba(247, 244, 236, 0.28);
}

.timeline-band__item:last-child::after { display: none; }

.timeline-band__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
}

.timeline-band__item span {
  font-size: 0.84rem;
  color: #cdd6e6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-2);
}

.deskcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--sand);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.deskcard h3 { margin-bottom: 8px; }

.deskcard dl {
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.deskcard dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sand-dark);
  font-weight: 700;
}

.deskcard dd { margin: 2px 0 0; color: var(--ink-soft); }

.mission__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.mission__item {
  padding: 4px 0 0 0;
}

.mission__item .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(217, 164, 65, 0.16);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.section--blue .mission__item .icon-wrap { background: rgba(217, 164, 65, 0.22); }

.mission__item .icon { stroke: var(--sand); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 38px;
}

.cards--adv { grid-template-columns: repeat(4, 1fr); }

.tcard {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sand);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tcard__dot {
  position: absolute;
  left: -7px;
  top: 28px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--cream);
}

.tcard h3, .tcard h4 { margin-bottom: 10px; }

.tcard p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

.tcard .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--blue-800);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.tcard .icon-wrap .icon { stroke: var(--sand); }

.acard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.acard__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-2);
  border-left: 4px solid var(--sand);
}

.acard__media img { width: 100%; height: 100%; object-fit: cover; }

.acard__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.acard__meta {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sand-dark);
  font-weight: 600;
  margin-bottom: 9px;
}

.acard h3, .acard h4 { margin-bottom: 10px; font-size: 1.25rem; }

.acard p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }

.acard__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--blue-700);
  margin-top: 6px;
}

.acard__link .icon { width: 17px; height: 17px; }

.note-band {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 34px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.note-band .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(22, 49, 92, 0.08);
  display: grid;
  place-items: center;
}

.note-band .icon-wrap .icon { stroke: var(--blue-700); width: 30px; height: 30px; }

.tag {
  display: inline-block;
  background: rgba(217, 164, 65, 0.18);
  color: var(--sand-dark);
  border: 1px solid rgba(185, 133, 43, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.cta-band {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-band .btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.pagehead {
  background: var(--blue-800);
  color: var(--cream);
  padding: 64px 0 58px;
}

.pagehead h1 { color: var(--white); }

.pagehead .lead { color: #d8e0ee; }

.breadcrumb {
  font-size: 0.86rem;
  color: #b9c4d8;
  margin-bottom: 16px;
}

.breadcrumb a { color: #d8e0ee; }

.breadcrumb span { color: var(--sand); }

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article .byline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.article .byline .icon { width: 18px; height: 18px; stroke: var(--sand-dark); }

.article__lead {
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.65;
}

.article h2 {
  margin-top: 1.7em;
  padding-top: 0.3em;
}

.article h3 { margin-top: 1.4em; }

.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }

.article li { margin-bottom: 0.5em; }

.article figure {
  margin: 28px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.article figure img { width: 100%; }

.article figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 10px 16px;
  background: var(--cream-2);
}

.callout {
  background: var(--cream-2);
  border-left: 4px solid var(--sand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 26px 0;
}

.callout strong { color: var(--blue-800); }

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

.summary-box {
  background: var(--blue-800);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  margin: 34px 0;
}

.summary-box h3 { color: var(--white); }

.summary-box ul { padding-left: 1.2em; }

.summary-box li { margin-bottom: 0.5em; }

.prevnext {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 28px;
}

.prevnext a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 48%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  min-height: 44px;
}

.prevnext a:hover { border-color: var(--sand); text-decoration: none; }

.prevnext small { color: var(--ink-soft); font-size: 0.8rem; }

.prevnext strong { color: var(--blue-800); font-family: var(--font-serif); font-weight: 600; }

.prevnext .next { text-align: right; margin-left: auto; }

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.contact-layout {
  display: grid;
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
}

.info-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-stack__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.info-stack__item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--blue-800);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.info-stack__item .icon-wrap .icon { stroke: var(--sand); }

.info-stack__item h3 { font-size: 1.05rem; margin-bottom: 6px; }

.info-stack__item p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.96rem; }

.info-stack__item a { color: var(--blue-700); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--blue-800);
  font-size: 0.96rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  min-height: 48px;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(42, 88, 150, 0.25);
  border-color: var(--blue-700);
}

.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.legal {
  max-width: 800px;
  margin: 0 auto;
}

.legal h2 { margin-top: 1.6em; }

.legal ul { padding-left: 1.3em; }

.legal li { margin-bottom: 0.5em; }

.legal .updated {
  display: inline-block;
  background: var(--cream-2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.toc {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 30px;
}

.toc strong { display: block; margin-bottom: 8px; color: var(--blue-800); }

.toc ol { margin: 0; padding-left: 1.2em; }

.review-note {
  background: rgba(217, 164, 65, 0.12);
  border: 1px dashed var(--sand-dark);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 30px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-footer {
  background: var(--blue-900);
  color: #c8d2e3;
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.site-footer a { color: #c8d2e3; }

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}

.footer-brand .brand__mark { background: var(--blue-700); }

.footer-brand span {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--white);
  font-weight: 600;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.94rem;
}

.footer-contact .icon { width: 19px; height: 19px; stroke: var(--sand); margin-top: 2px; }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links button {
  background: none;
  border: none;
  color: #c8d2e3;
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.footer-links button:hover { color: var(--sand); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 44px;
  padding-top: 22px;
  font-size: 0.86rem;
  color: #97a4bb;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--blue-900);
  color: var(--cream);
  border-top: 3px solid var(--sand);
  padding: 14px 0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.22);
  display: none;
}

.cookie-bar.show { display: block; }

.cookie-bar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-bar__text { flex: 1 1 320px; font-size: 0.92rem; color: #d8e0ee; }

.cookie-bar__text a { color: var(--sand); }

.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-bar__actions .btn { padding: 11px 18px; min-height: 44px; font-size: 0.92rem; }

.btn--ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 244, 236, 0.45);
}

.btn--ghost-light:hover { background: rgba(247, 244, 236, 0.12); color: var(--white); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 35, 66, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show { display: flex; }

.cookie-modal__panel {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-md);
}

.cookie-modal__panel h2 { font-size: 1.6rem; }

.pref-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pref-row:last-of-type { border-bottom: none; }

.pref-row h3 { font-size: 1.08rem; margin-bottom: 4px; }

.pref-row p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.switch { position: relative; flex: none; width: 52px; height: 30px; }

.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }

.switch__slider {
  position: absolute;
  inset: 0;
  background: #c3ccdb;
  border-radius: 30px;
  transition: background 0.2s ease;
}

.switch__slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 4px;
  top: 4px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.switch input:checked + .switch__slider { background: var(--blue-700); }

.switch input:checked + .switch__slider::before { transform: translateX(22px); }

.switch input:disabled + .switch__slider { background: var(--sand); cursor: not-allowed; }

.switch input:focus-visible + .switch__slider { outline: 3px solid rgba(42, 88, 150, 0.4); outline-offset: 2px; }

.cookie-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 35, 66, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show { display: flex; }

.modal__panel {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 34px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.modal__panel .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.2);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.modal__panel .icon-wrap .icon { stroke: var(--sand-dark); width: 30px; height: 30px; }

.modal__panel h3 { margin-bottom: 8px; }

.modal__panel p { color: var(--ink-soft); margin-bottom: 22px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .cards--adv { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__center { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__center {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open .nav__links a,
  .nav.open .dropdown__toggle { width: 100%; }
  .nav.open .dropdown { width: 100%; }
  .nav.open .dropdown__menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: var(--cream-2);
    margin-top: 2px;
    min-width: 0;
  }
  .nav.open .nav__cta { margin: 8px 0 0; justify-content: center; }
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .mission__grid { grid-template-columns: 1fr; gap: 22px; }
  .cards, .cards--adv, .list-grid { grid-template-columns: 1fr 1fr; }
  .timeline-band { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .timeline-band__item::after { display: none; }
  .info-stack { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .cards, .cards--adv, .list-grid { grid-template-columns: 1fr; }
  .timeline-band { grid-template-columns: 1fr; }
  .note-band { grid-template-columns: 1fr; }
  .note-band .icon-wrap { margin-bottom: 4px; }
  .prevnext a { max-width: 100%; }
  .hero { min-height: 520px; }
  .hero__inner { padding-top: 72px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .tcard:hover, .acard:hover { transform: none; }
}
