:root {
  color-scheme: light;
  --bg: #edf5f8;
  --surface: #fbfdfe;
  --surface-soft: #dcecf2;
  --surface-cool: #e8f2f6;
  --primary: #1f5a72;
  --primary-2: #123f55;
  --accent: #4f8fa8;
  --accent-2: #9bb8c5;
  --text: #17303a;
  --muted: #536872;
  --border: #cbdde5;
  --shadow: 0 18px 42px rgba(25, 77, 101, 0.13);
  --radius: 8px;
  --nav-h: 76px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[id] {
  scroll-margin-top: calc(var(--nav-h) + 1.25rem);
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(79, 143, 168, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 4rem;
  background: rgba(237, 245, 248, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(25, 77, 101, 0.1);
}

.breadcrumb {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin-left: 0.35rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent);
  text-decoration: none;
  color: var(--primary);
  line-height: 1;
  min-width: 210px;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.brand span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
  margin-top: 0.18rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

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

.nav-links .button-small {
  color: #fff;
}

.button,
.button-light,
.button-outline,
.button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button,
.button-small {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 63, 85, 0.13);
}

.button {
  padding: 0.82rem 1.15rem;
}

.button-small {
  min-height: 38px;
  padding: 0.45rem 0.8rem;
}

.button-light {
  background: #fff;
  color: var(--primary);
  padding: 0.82rem 1.15rem;
}

.button-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  padding: 0.82rem 1.15rem;
}

.button:hover,
.button-light:hover,
.button-outline:hover,
.button-small:hover {
  transform: translateY(-2px);
}

.button:hover,
.button-small:hover {
  background: var(--primary-2);
}

.button-outline:hover {
  background: var(--primary);
  color: #fff;
}

.cta-band .button-outline,
.section--primary .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.82);
}

.cta-band .button-outline:hover,
.section--primary .button-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface-cool);
  border-bottom: 1px solid rgba(31, 90, 114, 0.16);
}

.hero::before {
  content: none;
}

.hero--home {
  background: var(--surface-cool);
}

.hero:not(.hero--home) {
  min-height: 52vh;
}

.hero--children {
  background: var(--surface-cool);
}

.hero--adults,
.hero--special,
.hero--about,
.hero--work,
.hero--referrers,
.hero--knowledge,
.hero--contact {
  background: var(--surface-cool);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0 4rem;
  color: var(--text);
  text-align: center;
}

.hero__content--narrow {
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: var(--font-display);
  line-height: 1.04;
  font-weight: 700;
}

h1 {
  margin-right: auto;
  margin-left: auto;
  max-width: 780px;
  font-size: 3.65rem;
  color: var(--primary);
}

h2 {
  color: var(--primary);
  font-size: 2.65rem;
}

h3 {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.25;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-actions {
  justify-content: center;
}

.hero .button-light {
  background: var(--primary);
  color: #fff;
}

.hero .button-light:hover {
  background: var(--primary-2);
}

.hero .button-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.hero .button-outline:hover {
  background: var(--primary);
  color: #fff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1160px, calc(100% - 2.5rem));
  margin: -2rem auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(31, 90, 114, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-strip div {
  background: var(--surface);
  padding: 1.15rem;
}

.trust-strip strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-nav {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 1rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.quick-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(251, 253, 254, 0.82);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.quick-nav a:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.quality-strip {
  padding: 2.5rem 4rem 0;
  background: var(--bg);
}

.quality-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: center;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quality-panel__text h2 {
  font-size: 2rem;
}

.quality-panel__text p {
  margin-top: 0.7rem;
}

.quality-logo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quality-logo-list li {
  min-height: 138px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(25, 77, 101, 0.055);
  text-align: center;
}

.quality-logo-list img {
  width: 100%;
  height: 66px;
  object-fit: contain;
  object-position: center;
}

.quality-logo-list span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.quality-logo-list--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.2rem 0;
}

.quality-logo-list--compact li {
  min-height: 118px;
}

.quality-logo-list--compact img {
  height: 58px;
}

.section {
  padding: 5rem 4rem;
}

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

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

.section--primary {
  background: var(--primary-2);
  color: #fff;
}

.section--primary h2,
.section--primary h3 {
  color: #fff;
}

.section--primary p,
.section--primary li {
  color: #d9e9ef;
}

.container {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.content-narrow {
  width: min(820px, 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head p {
  margin-top: 0.9rem;
  font-size: 1.04rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.card,
.route-card,
.info-card,
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 8px 22px rgba(25, 77, 101, 0.055);
}

.card:hover,
.route-card:hover,
.article-card:hover {
  border-color: rgba(79, 143, 168, 0.55);
  box-shadow: 0 14px 34px rgba(25, 77, 101, 0.1);
}

.card p,
.route-card p,
.info-card p,
.article-card p {
  margin-top: 0.55rem;
}

.route-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.route-card a,
.article-card a,
.text-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.route-card a:hover,
.article-card a:hover,
.text-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.route-card .text-link,
.article-card .text-link {
  margin-top: auto;
  padding-top: 1rem;
}

.check-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.number-list {
  counter-reset: steps;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.number-list li {
  counter-increment: steps;
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4rem;
  background: rgba(251, 253, 254, 0.08);
  border: 1px solid rgba(251, 253, 254, 0.2);
  border-radius: var(--radius);
}

.number-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.08rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.highlight {
  background: var(--primary-2);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
}

.highlight h2,
.highlight h3,
.highlight p {
  color: #fff;
}

.highlight p {
  color: #d9e9ef;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-list p {
  margin-top: 0.7rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.contact-actions .button,
.contact-actions .button-outline {
  justify-content: flex-start;
}

.mail-help {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.mail-help h3 {
  margin-bottom: 0.4rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-list a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  color: var(--text);
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.78rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

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

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.map-wrap {
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.cta-band {
  background: var(--primary-2);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
}

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

.cta-band p {
  max-width: 760px;
  margin-top: 0.65rem;
  color: #d9e9ef;
}

.legal-document {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-intro {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(25, 77, 101, 0.08);
}

.legal-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.legal-section h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.legal-section p + p {
  margin-top: 0.8rem;
}

.legal-list {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.legal-list li + li {
  margin-top: 0.35rem;
}

.section--route-links {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  background: var(--surface-cool);
  border-top: 1px solid var(--border);
}

.route-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.route-links h2 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.3;
}

.route-links .cta-row {
  margin-top: 0;
  justify-content: flex-end;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 98;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(251, 253, 254, 0.92);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(25, 77, 101, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.back-to-top:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.site-footer {
  background: #0d3346;
  color: #d9e9ef;
  padding: 2.4rem 4rem 5.5rem;
}

.footer-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p,
.site-footer li {
  color: #d9e9ef;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.35rem;
}

.footer-legal {
  width: min(1160px, 100%);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(217, 233, 239, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: #d9e9ef;
  font-size: 0.92rem;
}

.footer-legal a {
  font-weight: 700;
}

.footer-legal span {
  color: rgba(217, 233, 239, 0.65);
}

.footer-legal span:last-child {
  color: #b8d0da;
}

.mobile-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: none;
  gap: 0.6rem;
  padding: 0.75rem;
  background: rgba(237, 245, 248, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.mobile-contact a {
  flex: 1 1 0;
  min-width: 0;
}

.mobile-contact .button,
.mobile-contact .button-outline {
  width: auto;
  min-height: 42px;
  padding: 0.6rem 0.55rem;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0.75rem 1.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.72rem 0;
  }

  .nav-links .button-small {
    margin-top: 0.4rem;
    text-align: center;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero {
    min-height: 64vh;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .trust-strip,
  .grid--2,
  .grid--3,
  .grid--4,
  .quality-panel,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .site-footer {
    padding: 2.2rem 1.25rem 5.6rem;
  }

  .quality-strip {
    padding: 2rem 1.25rem 0;
  }

  .quality-logo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-links .cta-row {
    justify-content: flex-start;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-legal span {
    display: none;
  }

  .mobile-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .back-to-top {
    bottom: 4.9rem;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 15px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero p {
    max-width: 32ch;
    font-size: 1rem;
  }

  .hero__content {
    width: min(100% - 2rem, 1160px);
    padding: 4rem 0 3rem;
  }

  .button,
  .button-light,
  .button-outline {
    width: 100%;
  }

  .cta-row,
  .hero-actions {
    width: 100%;
  }

  .mobile-contact {
    gap: 0.45rem;
    padding: 0.6rem;
  }

  .mobile-contact a.button,
  .mobile-contact a.button-outline {
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding-right: 0.35rem;
    padding-left: 0.35rem;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .quality-logo-list {
    gap: 0.65rem;
  }

  .quality-logo-list li {
    min-height: 112px;
    padding: 0.8rem;
  }

  .quality-logo-list img,
  .quality-logo-list--compact img {
    height: 50px;
  }

  .quality-logo-list span {
    font-size: 0.78rem;
  }
}
