:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #eef3f1;
  --ink: #112126;
  --muted: #64737a;
  --brand: #0e5f65;
  --brand-deep: #17393f;
  --line: rgba(17, 33, 38, 0.1);
  --line-strong: rgba(17, 33, 38, 0.18);
  --accent: #b8c8c1;
  --shadow: 0 20px 44px rgba(17, 33, 38, 0.08);
  --shadow-lg: 0 36px 80px rgba(17, 33, 38, 0.12);
  --container: 1240px;
  --header-height: 88px;
  --heading: "Sora", sans-serif;
  --body: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at top left, rgba(14, 95, 101, 0.08), transparent 24%),
    linear-gradient(180deg, #f8faf9 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(14, 95, 101, 0.18);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 249, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-sign {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  position: relative;
}

.brand-sign::before,
.brand-sign::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}

.brand-sign::before {
  width: 16px;
  height: 2px;
  left: 11px;
  top: 18px;
}

.brand-sign::after {
  width: 2px;
  height: 16px;
  left: 18px;
  top: 11px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-nav-meta {
  display: none;
  width: 100%;
}

.site-nav a,
.header-phone {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a {
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav a:hover,
.header-phone:hover {
  color: var(--ink);
}

.mobile-nav-meta a:hover {
  color: inherit;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.language-switch {
  min-height: 42px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.language-link {
  min-width: 42px;
  min-height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-link.is-active {
  background: var(--brand);
  color: #fff;
}

.header-phone {
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 1380px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 20px;
  }

  .header-actions {
    gap: 14px;
  }

  .button {
    padding: 0 20px;
  }
}

@media (max-width: 1280px) {
  .header-phone {
    display: none;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.9rem;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 14px 36px rgba(14, 95, 101, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero,
.services-section,
.metrics-section,
.appointment-section {
  padding: 88px 0 112px;
}

.trust-bar,
.about-section,
.programs-section,
.journey-section,
.contact-band,
.site-footer {
  padding-bottom: 112px;
}

.hero-grid,
.about-grid,
.programs-layout,
.appointment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.hero-copy {
  padding-top: 38px;
}

.hero-copy h1,
.about-panel h2,
.section-intro h2,
.programs-copy h2,
.journey-intro h2,
.appointment-panel h2,
.contact-band h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  max-width: 10ch;
}

.about-panel h2,
.section-intro h2,
.programs-copy h2,
.journey-intro h2,
.appointment-panel h2,
.contact-band h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.hero-lead,
.section-intro > p,
.service-card p,
.service-feature-copy p,
.trust-item p,
.metric-card p,
.programs-copy p,
.program-row p,
.journey-card p,
.appointment-panel p,
.appointment-notes li,
.contact-band-actions a,
.footer-brand p,
.footer-links a,
.footer-links span,
.footer-bottom p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 46ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-notes span {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.55);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-image {
  position: absolute;
  inset: 34px 0 0 72px;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(180deg, rgba(17, 33, 38, 0.08), rgba(17, 33, 38, 0.28)),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
}

.hero-overlay-card {
  position: absolute;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-overlay-top {
  top: 0;
  left: 0;
}

.hero-overlay-bottom {
  right: 16px;
  bottom: 0;
  width: 230px;
}

.hero-overlay-top strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.hero-overlay-top p,
.hero-overlay-bottom p {
  margin: 0;
}

.hero-overlay-bottom span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.trust-item {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.trust-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.about-panel,
.service-feature,
.service-card,
.metric-card,
.program-row,
.journey-card,
.appointment-form,
.footer-grid {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.about-panel {
  border-radius: 28px;
  padding: 36px;
}

.about-panel-dark {
  background: linear-gradient(145deg, var(--brand-deep), #0f4f55);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.about-panel-dark p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  max-width: 42ch;
}

.about-panel-light {
  display: grid;
  align-items: center;
}

.about-points {
  display: grid;
  gap: 24px;
}

.about-points div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-points span,
.service-card span,
.metric-card span,
.program-code,
.journey-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.about-points h3,
.service-card h3,
.service-feature-copy h3,
.metric-card strong,
.program-content h3,
.journey-card h3,
.footer-links h3 {
  margin: 16px 0 10px;
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.04em;
}

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

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.section-intro > p {
  max-width: 420px;
  margin: 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 20px;
}

.service-feature {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.service-feature-image {
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(17, 33, 38, 0.06), rgba(17, 33, 38, 0.2)),
    url("https://images.unsplash.com/photo-1586773860418-d37222d8fce3?auto=format&fit=crop&w=1400&q=80")
      center/cover no-repeat;
}

.service-feature-copy {
  padding: 30px;
}

.service-tag,
.program-content small {
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-feature-copy h3 {
  font-size: 1.9rem;
  max-width: 13ch;
}

.service-feature-copy p {
  margin: 14px 0 0;
  max-width: 40ch;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
}

.text-link::after {
  content: "→";
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 206px;
  padding: 26px;
  border-radius: 24px;
  transition:
    transform 180ms var(--ease),
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.metric-card {
  padding: 28px;
  border-radius: 24px;
}

.metric-card strong {
  display: block;
  font-size: 1.42rem;
}

.metric-card p {
  margin: 0;
}

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

.programs-layout {
  align-items: start;
}

.programs-copy p {
  margin: 22px 0 0;
  max-width: 42ch;
}

.programs-list {
  display: grid;
  gap: 16px;
}

.program-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
}

.program-code {
  width: 52px;
  height: 52px;
}

.program-content h3 {
  margin-top: 10px;
  font-size: 1.42rem;
}

.program-content p {
  margin: 10px 0 0;
}

.journey-intro {
  margin-bottom: 36px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-card {
  min-height: 226px;
  padding: 24px;
  border-radius: 24px;
}

.appointment-grid {
  align-items: start;
}

.appointment-panel {
  border-radius: 28px;
  padding: 36px;
}

.appointment-panel-dark {
  background: linear-gradient(145deg, var(--brand-deep), #0d4d54);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.appointment-panel-dark p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.appointment-notes {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.appointment-notes li {
  position: relative;
  padding-left: 18px;
}

.appointment-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 8px;
}

.appointment-form label.full,
.appointment-form .button.full,
.appointment-form .form-feedback {
  grid-column: 1 / -1;
}

.appointment-form label > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 15px;
  color: var(--ink);
  outline: none;
}

.appointment-form textarea {
  min-height: 150px;
  padding-top: 14px;
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: rgba(14, 95, 101, 0.34);
  box-shadow: 0 0 0 4px rgba(14, 95, 101, 0.08);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.consent span {
  color: var(--muted);
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.6;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.form-feedback {
  margin: 0;
  color: var(--brand);
}

.form-feedback.is-error {
  color: #9b4141;
}

.contact-band-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 36px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--brand-deep), #0f535a);
  box-shadow: var(--shadow-lg);
}

.contact-band h2 {
  color: #fff;
}

.contact-band-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.contact-band-actions a,
.contact-band-actions span {
  color: rgba(255, 255, 255, 0.8);
}

.contact-band-actions a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 0.8fr;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
}

.footer-brand,
.footer-links {
  padding: 10px;
}

.footer-brand p {
  margin: 18px 0 0;
  max-width: 34ch;
}

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

.footer-links h3 {
  margin: 0 0 4px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .site-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-inner {
    position: relative;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 12px 10px;
    border-radius: 12px;
    color: var(--ink);
  }

  .mobile-nav-meta {
    display: none;
    gap: 12px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open .mobile-nav-meta {
    display: grid;
  }

  .mobile-nav-meta .language-switch {
    width: max-content;
  }

  .mobile-nav-meta .button {
    width: 100%;
  }

  .hero-grid,
  .about-grid,
  .services-layout,
  .programs-layout,
  .appointment-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .contact-band-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-image {
    inset: 34px 0 0 24px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .section-intro > p {
    max-width: none;
  }

  .trust-grid,
  .metrics-grid,
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .about-panel,
  .appointment-panel,
  .appointment-form,
  .contact-band-inner {
    padding: 30px;
  }

  .service-feature-copy,
  .service-card,
  .metric-card,
  .program-row,
  .journey-card,
  .footer-grid {
    padding: 24px;
  }

  .contact-band-actions {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-sign {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-text strong {
    font-size: 0.74rem;
  }

  .brand-text span:last-child {
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  .hero,
  .services-section,
  .metrics-section,
  .appointment-section {
    padding: 72px 0 88px;
  }

  .trust-bar,
  .about-section,
  .programs-section,
  .journey-section,
  .contact-band,
  .site-footer {
    padding-bottom: 88px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(2.4rem, 12.8vw, 3.7rem);
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 0.96rem;
  }

  .hero-notes {
    gap: 8px;
    margin-top: 24px;
  }

  .hero-notes span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .hero-image,
  .hero-overlay-top,
  .hero-overlay-bottom {
    position: relative;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
  }

  .hero-image {
    order: 2;
    min-height: 280px;
    border-radius: 24px;
  }

  .hero-overlay-top {
    order: 1;
  }

  .hero-overlay-top,
  .hero-overlay-bottom {
    padding: 16px 18px;
  }

  .hero-overlay-bottom {
    order: 3;
  }

  .hero-actions,
  .service-grid,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .appointment-form {
    display: grid;
  }

  .about-panel,
  .appointment-panel,
  .appointment-form,
  .contact-band-inner,
  .footer-grid {
    padding: 22px;
    border-radius: 22px;
  }

  .service-feature-copy,
  .service-card,
  .metric-card,
  .journey-card {
    padding: 22px;
    min-height: auto;
  }

  .service-feature-image {
    min-height: 220px;
  }

  .program-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .program-code {
    width: 46px;
    height: 46px;
  }

  .contact-band h2,
  .appointment-panel h2,
  .section-intro h2,
  .programs-copy h2,
  .journey-intro h2,
  .about-panel h2 {
    max-width: none;
  }

  .footer-bottom .button {
    width: auto;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-nav.is-open {
    padding: 12px;
    border-radius: 16px;
  }

  .button {
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 13.5vw, 3.2rem);
  }

  .hero-image {
    min-height: 240px;
  }
}
