:root {
  --navy: #13567f;
  --navy-2: #175b85;
  --navy-3: #0d3e5f;
  --teal: #7ebec5;
  --teal-2: #dff1f3;
  --ink: #173247;
  --body: #415565;
  --muted: #6d7f8d;
  --line: #d9e5ec;
  --soft: #f4f8fa;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(13, 62, 95, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --container: min(1120px, calc(100% - 32px));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: linear-gradient(180deg, rgba(126,190,197,0.16), rgba(255,255,255,0) 460px), var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(126,190,197,0.9); outline-offset: 4px; }

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
}
.topbar__inner {
  width: var(--container);
  min-height: 44px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 8px 0;
}
.topbar a { min-height: 32px; display: inline-flex; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid rgba(19,86,127,0.12);
  backdrop-filter: blur(14px);
}
.nav {
  width: var(--container);
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { min-height: 48px; display: inline-flex; align-items: center; }
.brand img { width: 168px; }
.nav__links { display: none; gap: 4px; align-items: center; font-size: 0.92rem; font-weight: 800; }
.nav__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius-sm);
}
.nav__links a:hover { color: var(--navy); background: var(--teal-2); }
.header-actions { display: none; gap: 10px; align-items: center; }
.menu-toggle {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}
.menu-toggle span::before { transform: translateY(-7px); }
.menu-toggle span::after { transform: translateY(5px); }
.mobile-menu {
  display: none;
  width: var(--container);
  margin: 0 auto;
  padding: 8px 0 18px;
}
.mobile-menu.is-open { display: grid; gap: 8px; }
.mobile-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 800;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 140ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.button:active { transform: scale(0.97); }
.button--primary { color: var(--white); background: var(--navy); }
.button--primary:hover { background: var(--navy-3); }
.button--light { color: var(--navy); background: var(--white); border-color: rgba(19,86,127,0.16); }
.button--light:hover { border-color: var(--teal); background: var(--teal-2); }
.button--line {
  min-height: 42px;
  padding: 8px 0;
  border-radius: 0;
  border-color: transparent;
  border-bottom-color: currentColor;
  color: var(--navy);
  background: transparent;
}
.button--line:hover {
  color: var(--navy-3);
  border-bottom-color: var(--teal);
  background: transparent;
}
.button--ghost { color: var(--white); border-color: rgba(255,255,255,0.38); }
.button--ghost:hover { background: rgba(255,255,255,0.12); }
.button--dark-line {
  min-height: 42px;
  padding: 8px 0;
  border-radius: 0;
  border-color: transparent;
  border-bottom-color: rgba(255,255,255,0.78);
  color: var(--white);
  background: transparent;
}
.button--dark-line:hover {
  border-bottom-color: var(--teal);
  background: transparent;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(126,190,197,0.28), transparent 30%),
    linear-gradient(180deg, #ffffff, #f4f8fa);
  opacity: 1;
  visibility: visible;
  transition: opacity 260ms var(--ease-out), visibility 260ms var(--ease-out);
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader__mark {
  width: min(220px, 62vw);
  display: grid;
  justify-items: center;
  gap: 18px;
  animation: loader-rise 700ms var(--ease-out) both;
}
.page-loader__mark img {
  width: 100%;
  filter: drop-shadow(0 10px 18px rgba(13,62,95,0.14));
}
.page-loader__bar {
  width: min(180px, 52vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(19,86,127,0.14);
}
.page-loader__bar::before {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  content: "";
  animation: loader-sweep 920ms var(--ease-out) infinite;
}

.booking-float {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  box-shadow: 0 8px 20px rgba(13,62,95,0.20);
}
.section { width: var(--container); margin: 0 auto; padding: clamp(52px, 8vw, 96px) 0; }
.hero {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(36px, 8vw, 86px) 0 clamp(44px, 8vw, 96px);
  display: grid;
  gap: 28px;
}
.hero__label, .section__label {
  display: inline-grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__label::before, .section__label::before {
  width: 28px;
  height: 2px;
  background: var(--teal);
  content: "";
}
.hero__copy, .section__head { display: grid; gap: 16px; max-width: 780px; }
.section > .section__head { margin-bottom: clamp(24px, 4vw, 40px); }
h1, h2, h3 { color: var(--ink); line-height: 1.12; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(2.05rem, 6.4vw, 4.35rem); font-weight: 800; max-width: 13ch; }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-weight: 800; }
.lead { max-width: 66ch; color: #314b5f; font-size: clamp(1.04rem, 2vw, 1.22rem); line-height: 1.6; }
.hero__actions, .cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 32px);
  display: grid;
  gap: 16px;
}
.split { display: grid; gap: clamp(28px, 6vw, 56px); align-items: start; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}
.list { display: grid; gap: 12px; }
.list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
}
.list li::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--teal-2);
}
.steps, .cards {
  display: grid;
  gap: 14px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
  display: grid;
  gap: 10px;
}
.card strong { color: var(--navy); }
.article-shell {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: clamp(36px, 7vw, 72px) 0 clamp(52px, 8vw, 96px);
  display: grid;
  gap: clamp(24px, 4vw, 36px);
}
.article-hero {
  display: grid;
  gap: 18px;
}
.article-hero h1 {
  max-width: 14ch;
}
.article-meta {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
}
.article-body {
  display: grid;
  gap: 22px;
  color: #243f53;
  font-size: clamp(1.02rem, 1.8vw, 1.14rem);
  line-height: 1.72;
}
.article-body h2 {
  margin-top: 10px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}
.article-body p,
.article-body ul {
  max-width: 72ch;
}
.article-body ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
}
.article-note {
  border-left: 3px solid var(--teal);
  padding: 16px 18px;
  background: var(--teal-2);
  color: var(--ink);
  font-weight: 700;
}
.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}
.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.cta {
  width: var(--container);
  margin: 0 auto clamp(52px, 8vw, 96px);
  border-radius: 14px;
  padding: clamp(28px, 6vw, 56px);
  background: linear-gradient(135deg, rgba(19,86,127,0.96), rgba(23,91,133,0.92)), var(--navy);
  color: var(--white);
  display: grid;
  gap: 20px;
}
.cta > div:first-child {
  display: grid;
  gap: 18px;
}
.cta h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.12;
  max-width: 18ch;
}
.cta h2, .cta p { color: var(--white); }
.cta p { max-width: 64ch; color: rgba(255,255,255,0.86); }
.tidycal-wrap {
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@keyframes loader-rise {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes loader-sweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(260%); }
}
.footer {
  background: var(--navy-3);
  color: rgba(255,255,255,0.78);
  padding: 48px 0 28px;
}
.footer__grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.footer img { width: 164px; margin-bottom: 16px; }
.footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.footer a { color: var(--white); min-height: 32px; display: inline-flex; align-items: center; }
.footer__bottom {
  width: var(--container);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.86rem;
}

@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 0.85fr; }
  .steps, .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .cta { grid-template-columns: 1.2fr auto; align-items: center; }
}
@media (min-width: 980px) {
  .menu-toggle, .mobile-menu { display: none !important; }
  .nav__links, .header-actions { display: flex; }
  .hero { grid-template-columns: 1fr 0.85fr; align-items: center; }
}
@media (min-width: 980px) and (max-width: 1179px) {
  .nav__links, .header-actions { display: none; }
  .menu-toggle { display: inline-grid !important; }
  .mobile-menu.is-open { display: grid !important; }
}
@media (max-width: 460px) {
  :root { --container: min(100% - 22px, 1120px); }
  .topbar__inner { justify-content: center; text-align: center; }
  .brand img { width: 138px; }
  .button { width: 100%; }
  .booking-float {
    left: 11px;
    right: 11px;
    width: auto;
    max-width: none;
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-loader__mark,
  .page-loader__bar::before {
    animation: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
