:root {
  --blue: #0f4d7d;
  --blue-dark: #0b3659;
  --terracotta: #c45c3d;
  --paper: #f7f4ee;
  --milk: #fffdf8;
  --ink: #1f2c33;
  --muted: #61717b;
  --line: rgba(15, 77, 125, 0.15);
  --soft-blue: #eaf3f5;
  --soft-red: #fff4ee;
  --shadow: 0 22px 60px rgba(23, 45, 58, 0.11);
  --copy: 1.56;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 182px;
}

.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand strong { display: block; color: var(--blue-dark); font-size: 20px; line-height: 1; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.desktop-nav a:hover { color: var(--blue); }
.top-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 800;
}

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(34px, 6vw, 78px) clamp(16px, 5vw, 72px) 28px;
}

.hero-copy { max-width: 820px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 850;
}

h1, h2, h3, p, a, button, input, textarea, select, summary { overflow-wrap: break-word; }
h1 {
  max-width: 900px;
  margin: 0;
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5.35vw, 68px);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #40515a;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  text-wrap: pretty;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  text-align: center;
}

.button.primary { background: var(--blue); color: white; }
.button.danger { background: var(--terracotta); color: white; }
.button.calm { background: white; border-color: var(--line); color: var(--blue-dark); }
.button:hover, .top-action:hover { filter: brightness(0.97); }

.hero-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.hero-note a {
  color: var(--terracotta);
  font-weight: 900;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: min(100%, 500px);
  max-height: min(58svh, 480px);
  object-fit: contain;
  filter: drop-shadow(0 24px 54px rgba(15, 77, 125, 0.15));
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(16px, 5vw, 72px) 50px;
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-strip article {
  min-height: 126px;
  padding: 20px;
  background: var(--milk);
}

.trust-strip b { display: block; color: var(--blue-dark); font-size: 18px; line-height: 1.25; }
.trust-strip span { display: block; margin-top: 8px; color: var(--muted); line-height: 1.42; }

.center-passport {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -26px clamp(16px, 5vw, 72px) 50px;
  border: 1px solid var(--line);
  background: var(--line);
}

.center-passport article {
  min-height: 132px;
  padding: 20px;
  background: rgba(255,253,248,0.84);
}

.center-passport b {
  display: block;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.25;
}

.center-passport span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.42;
}

.section {
  scroll-margin-top: 78px;
  padding: clamp(56px, 7vw, 86px) clamp(16px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-head.centered {
  max-width: 960px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.centered p {
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  max-width: 980px;
  margin: 0;
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: var(--copy);
  text-wrap: pretty;
}

.need-grid, .route-grid, .program-grid, .ethics-grid, .partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.need-grid article, .route-grid article, .program-card, .ethics-grid article, .partner-grid article {
  min-width: 0;
  min-height: 218px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 12px 34px rgba(23, 45, 58, 0.05);
}

.need-grid span, .route-grid b {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  font-weight: 900;
}

.need-grid h3, .route-grid h3, .program-card h3, .ethics-grid h3, .partner-grid h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.12;
  text-wrap: balance;
}

.need-grid p, .route-grid p, .program-card p, .ethics-grid p, .partner-grid p {
  margin-bottom: 0;
  color: #40515a;
  line-height: var(--copy);
  text-wrap: pretty;
}

.section-cta {
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--milk);
}

.section-cta p {
  margin: 0;
  color: var(--blue-dark);
  font-size: 19px;
  font-weight: 850;
}

.route { background: var(--soft-blue); }
.programs { background: var(--milk); }
.program-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
}
.program-card h3 { color: var(--terracotta); font-size: 30px; }
.program-card span {
  display: block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 850;
  line-height: 1.35;
}

.thread {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  background: var(--blue-dark);
  color: white;
}

.thread h2 { color: white; }
.thread p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: var(--copy);
  text-wrap: pretty;
}

.thread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.thread-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.055)),
    rgba(255,255,255,0.04);
  box-shadow: 0 26px 80px rgba(0,0,0,0.16);
}

.thread-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.thread-facts article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}

.thread-facts b {
  display: block;
  margin-bottom: 10px;
  color: white;
  font-size: 16px;
}

.thread-facts span {
  color: rgba(255,255,255,0.76);
  line-height: 1.4;
}

.thread-note {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
}

.thread-note b {
  display: block;
  margin-bottom: 6px;
  color: white;
}

.thread-note p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.45;
}

.thread-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thread-rules span {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  font-weight: 750;
}

.app-promo {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  background: #f1ece3;
}

.app-promo-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.app-promo img { width: 74px; height: 74px; object-fit: contain; }
.app-promo p { color: var(--muted); line-height: var(--copy); }

.ethics { background: var(--paper); }
.ethics-grid {
  max-width: 1120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
}
.ethics-grid article { min-height: 210px; background: var(--milk); }

.site-sos { background: var(--soft-red); }
.sos-panel {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 16px;
  margin: 0 auto;
}

.sos-panel > div {
  padding: 24px;
  border: 1px solid rgba(196, 92, 61, 0.22);
  border-radius: 10px;
  background: white;
}

.sos-panel h3 { margin-top: 0; color: var(--blue-dark); font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.sos-panel p { color: #40515a; line-height: var(--copy); }
.sos-panel > div:first-child {
  border-color: rgba(196, 92, 61, 0.42);
  box-shadow: 0 18px 50px rgba(196, 92, 61, 0.12);
}

.sos-checklist {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-left: 20px;
  color: #40515a;
  line-height: 1.42;
}

.sos-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.sos-numbers a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--terracotta);
  color: white;
  font-size: 20px;
  font-weight: 950;
}

.sos-caption {
  margin: 12px 0 0;
  color: var(--muted) !important;
  font-size: 14px;
}

.partners { background: var(--milk); }
.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.faq .section-head.centered {
  max-width: 430px;
  margin: 0;
  text-align: left;
}

.faq .section-head.centered p {
  margin-left: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin: 0;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  overflow: hidden;
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: #40515a;
  line-height: var(--copy);
}

.booking {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  background: var(--soft-blue);
}

.booking .section-head.centered {
  max-width: 500px;
  margin: 0;
  text-align: left;
}

.booking .section-head.centered p {
  margin-left: 0;
}

.form {
  max-width: 820px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}

textarea, input, select {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

textarea {
  grid-column: 1 / -1;
  min-height: 116px;
  resize: vertical;
}

.form-hint,
.after-submit {
  grid-column: 1 / -1;
}

.form-hint {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.after-submit {
  padding: 14px;
  border-radius: 10px;
  background: var(--soft-blue);
  color: #40515a;
  line-height: 1.45;
}

.after-submit b {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
}

.check {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0;
  color: #40515a;
  font-size: 14px;
  line-height: 1.35;
}

.check input { width: auto; min-height: auto; margin: 3px 0 0; }
.form .button { grid-column: 1 / -1; width: 100%; }
.reply {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) minmax(220px, 0.7fr);
  gap: 24px;
  padding: 34px clamp(16px, 5vw, 72px) 100px;
  background: var(--blue-dark);
  color: white;
}

.footer strong { display: block; margin-bottom: 8px; font-size: 18px; }
.footer p, .footer a, .footer span { color: rgba(255,255,255,0.76); line-height: 1.45; }
.association-link {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.association-link img { width: min(100%, 260px); height: auto; }
.footer-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { justify-content: flex-start; }
  .hero-visual img { width: min(72vw, 300px); max-height: 280px; }
  .center-passport { grid-template-columns: 1fr 1fr; margin-top: -16px; }
  .need-grid, .route-grid, .program-grid, .ethics-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
  .thread, .app-promo, .sos-panel, .faq, .booking, .footer { grid-template-columns: 1fr; }
  .app-promo { align-items: start; }
  .section-head.centered { text-align: left; margin-left: 0; margin-right: 0; }
  .section-head.centered p { margin-left: 0; margin-right: 0; }
  .faq .section-head.centered,
  .booking .section-head.centered { max-width: 820px; }
  .thread-facts { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { gap: 10px; padding: 10px 12px; }
  .brand { min-width: 0; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 12px; }
  .top-action { min-height: 38px; padding: 9px 11px; font-size: 13px; }
  .hero { padding-top: 24px; }
  .lead { margin-top: 18px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { margin-top: 4px; }
  .hero-visual img { width: min(66vw, 250px); max-height: 230px; }
  .trust-strip, .center-passport, .need-grid, .route-grid, .program-grid, .ethics-grid, .partner-grid, .form { grid-template-columns: 1fr; }
  .trust-strip { margin-bottom: 34px; }
  .center-passport { margin-bottom: 34px; }
  .section-cta { display: grid; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .app-promo-icon { width: 82px; height: 82px; }
  .app-promo img { width: 62px; height: 62px; }
  .sos-numbers { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  .need-grid h3, .route-grid h3, .program-card h3, .ethics-grid h3, .partner-grid h3 { overflow-wrap: anywhere; }
}
