:root {
  --ink: #17373a;
  --muted: #62797c;
  --line: rgba(23, 55, 58, .14);
  --paper: #fbf8f2;
  --soft: #eef7f4;
  --aqua: #009ab2;
  --aqua-dark: #007a8f;
  --coral: #e7775f;
  --white: #fff;
  --shadow: 0 18px 60px rgba(20, 47, 50, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "TildaSans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 248, 242, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 30px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  border-color: var(--aqua);
}

.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--aqua);
  box-shadow: 0 12px 28px rgba(0, 154, 178, .25);
}

.btn-primary:hover { background: var(--aqua-dark); }
.btn-ghost { color: var(--aqua-dark); border-color: rgba(0, 154, 178, .28); background: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section-anchor { scroll-margin-top: 92px; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 38, 41, .86), rgba(8, 38, 41, .32) 58%, rgba(8, 38, 41, .6));
}

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

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin: 0 0 108px clamp(18px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: .98;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(48px, 7vw, 104px);
}

.hero-lead {
  max-width: 560px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
}

.hero-strip {
  position: absolute;
  left: clamp(18px, 7vw, 92px);
  right: clamp(18px, 7vw, 92px);
  bottom: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
}

.hero-strip span {
  padding: 18px;
  background: rgba(255, 255, 255, .08);
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 6vw, 80px);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contacts h2 {
  font-size: clamp(34px, 5vw, 62px);
}

.section-copy p,
.section-heading p,
.contact-card p,
.final-cta p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.tag-grid,
.subscription-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-grid span,
.subscription-grid span {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
}

.booking-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-panel h3,
.subscribe h3 {
  margin: 0 0 18px;
  font-size: 25px;
}

.booking-panel label {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--muted);
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.program-grid,
.price-layout,
.blog-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card,
.price-card,
.blog-grid article,
.metric-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.program-card {
  position: relative;
}

.program-card::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(23, 55, 58, .9);
  opacity: 0;
  transform: translateY(8px);
  transition: .2s ease;
}

.program-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.program-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.program-card h3,
.program-card p,
.blog-grid h3,
.blog-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.program-card h3,
.price-card h3,
.blog-grid h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.program-card p,
.price-card p,
.blog-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.metrics {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.metric-grid div {
  padding: 24px;
}

.metric-grid strong {
  display: block;
  color: var(--aqua);
  font-size: clamp(38px, 5vw, 64px);
}

.metric-grid span {
  color: var(--muted);
  font-weight: 700;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.image-stack img:first-child {
  margin-top: 52px;
}

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

.clean-list li {
  padding-left: 28px;
  background: linear-gradient(var(--aqua), var(--aqua)) 0 10px / 12px 2px no-repeat;
  color: var(--muted);
  font-weight: 700;
}

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

.price-card {
  padding: 24px;
}

.price-card strong {
  display: block;
  margin: 14px 0;
  color: var(--aqua-dark);
  font-size: 32px;
}

.price-card.highlight {
  color: var(--white);
  background: linear-gradient(135deg, var(--aqua), #39b78e);
}

.price-card.highlight p,
.price-card.highlight strong {
  color: rgba(255, 255, 255, .92);
}

.price-card.highlight span {
  color: #ffe1c9;
  font-weight: 800;
}

.gallery {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.gallery img {
  width: 100%;
  height: clamp(360px, 58vw, 680px);
  object-fit: cover;
}

.gallery button {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  font-size: 30px;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery [data-gallery-prev] { left: 18px; }
.gallery [data-gallery-next] { right: 18px; }

.faq-list {
  max-width: 900px;
}

details {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

details:last-child { border-bottom: 1px solid var(--line); }

summary {
  padding: 22px 0;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.blog-grid article {
  padding: 22px 0;
}

.blog-grid span {
  display: inline-block;
  margin: 0 18px;
  color: var(--coral);
  font-weight: 800;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 22px;
}

.contact-card {
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-card {
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(58px, 7vw, 84px) clamp(18px, 6vw, 80px);
  color: var(--white);
  background: var(--ink);
}

.final-cta p {
  max-width: 700px;
  color: rgba(255, 255, 255, .78);
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  gap: 8px;
}

.chat-main {
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 14px 36px rgba(231, 119, 95, .28);
  font-weight: 800;
  cursor: pointer;
}

.chat-options {
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chat-options.is-open { display: grid; }

.chat-options a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.chat-options a:hover {
  color: var(--ink);
  background: var(--soft);
}

.mobile-quick-actions {
  display: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr .8fr;
  gap: 28px;
  padding: 48px clamp(18px, 6vw, 80px) 80px;
  color: rgba(255, 255, 255, .76);
  background: #0d2527;
}

.site-footer img {
  width: 68px;
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 7px 0;
}

.subscribe {
  display: grid;
  align-content: start;
  gap: 10px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: .25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle { display: block; justify-self: end; }

  .site-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .site-nav.is-open,
  .header-actions.is-open {
    display: flex;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .program-grid,
  .blog-grid,
  .price-layout,
  .metrics,
  .contacts,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.highlight {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span {
    max-width: 150px;
  }

  .site-nav,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 188px;
  }

  .hero-strip {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 16px;
  }

  .split,
  .program-grid,
  .blog-grid,
  .price-layout,
  .metrics,
  .metric-grid,
  .contacts,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:first-child {
    margin-top: 0;
  }

  .contacts {
    gap: 14px;
  }

  .final-cta {
    display: grid;
    padding: 58px 16px;
  }

  .chat-widget {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .mobile-quick-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 76px;
    z-index: 59;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-quick-actions .btn {
    min-height: 46px;
    padding: 10px 12px;
  }

  .site-footer {
    padding-bottom: 178px;
  }
}
