:root {
  --ink: #0b1c1a;
  --ink-soft: #1a3330;
  --jade: #1f8a7a;
  --jade-bright: #2db39e;
  --mist: #e7f1ef;
  --paper: #f4f8f7;
  --white: #ffffff;
  --sand: #d8c3a5;
  --muted: #5b6f6c;
  --line: rgba(11, 28, 26, 0.1);
  --shadow: 0 24px 60px rgba(11, 28, 26, 0.12);
  --radius: 18px;
  --shell: min(1120px, calc(100% - 2.5rem));
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(45, 179, 158, 0.14), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(216, 195, 165, 0.18), transparent 50%),
    var(--paper);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 248, 247, 0.78);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(11, 28, 26, 0.05);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--jade-bright), var(--ink-soft));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px 11px 12px 11px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(0 100%, 0 0, 70% 0, 100% 35%, 100% 100%, 55% 100%, 55% 55%, 35% 55%, 35% 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.15rem;
  align-items: center;
}

.nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--jade);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--jade);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  padding: 0.75rem 0.4rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--jade-bright), var(--jade));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 138, 122, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34c2ab, #18786a);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 22, 20, 0.88) 8%, rgba(7, 22, 20, 0.55) 48%, rgba(7, 22, 20, 0.42) 100%),
    url("/images/hero.svg") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8.5rem 0 5.5rem;
  max-width: 40rem;
}

.hero-brand {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  max-width: 12ch;
  text-wrap: balance;
}

.hero-lead {
  max-width: 36rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.6rem;
}

/* Sections */
main {
  overflow: clip;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jade);
}

.section-head h2,
.page-hero h1,
.content-block h2 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature {
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, rgba(45, 179, 158, 0.2), rgba(216, 195, 165, 0.35));
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.feature p,
.feature li {
  color: var(--muted);
}

.feature ul {
  margin: 0;
  padding-left: 1.1rem;
}

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

.service-tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: calc(var(--radius) + 6px);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.7rem;
  isolation: isolate;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.service-tile:hover::before {
  transform: scale(1.05);
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 24, 22, 0.15), rgba(8, 24, 22, 0.82));
}

.service-tile.dentistry::before {
  background-image: url("/images/dentistry.svg");
}

.service-tile.checkup::before {
  background-image: url("/images/checkup.svg");
}

.service-tile h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.service-tile p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 28rem;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.timeline-day {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--jade);
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

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

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.route {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.route::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 179, 158, 0.35), transparent 70%);
}

.route h3,
.route p,
.route ul {
  position: relative;
}

.route h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.route p {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.route ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
}

.band {
  background: linear-gradient(120deg, #0f2f2b, #164740 45%, #1f5d54);
  color: var(--white);
}

.band .section-head p,
.band .lede {
  color: rgba(255, 255, 255, 0.78);
}

.band .eyebrow {
  color: var(--sand);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-block + .content-block {
  margin-top: 2.5rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, var(--jade-bright), var(--jade)) center / 10px 10px no-repeat,
    rgba(31, 138, 122, 0.15);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 0.85rem 0.95rem;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(31, 138, 122, 0.35);
  border-color: var(--jade);
}

.form-status {
  min-height: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.is-success {
  color: var(--jade);
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(31, 138, 122, 0.12);
  color: #106457;
}

.alert-error {
  background: rgba(176, 54, 54, 0.1);
  color: #8a2424;
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--jade);
  background: rgba(31, 138, 122, 0.08);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.data-table th,
.data-table td {
  padding: 1.05rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(31, 138, 122, 0.06);
  font-weight: 700;
}

.data-table tbody th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 12rem;
}

.data-table tbody td:first-of-type {
  font-weight: 700;
  color: var(--jade);
  white-space: nowrap;
  min-width: 7rem;
}

.data-table tbody td:last-child {
  color: var(--muted);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(31, 138, 122, 0.04);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
}

.footer-legal {
  font-size: 0.9rem;
}

.site-footer .brand-name,
.site-footer .brand-sub {
  color: var(--white);
}

.site-footer .brand-sub {
  opacity: 0.7;
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}

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

.site-footer a:hover {
  color: var(--jade-bright);
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal].delay-1 {
  transition-delay: 0.1s;
}

[data-reveal].delay-2 {
  transition-delay: 0.2s;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .nav-toggle,
  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .split,
  .feature-rail,
  .service-grid,
  .route-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    padding-top: 6rem;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(1120px, calc(100% - 1.4rem));
  }

  .form-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-sm {
    display: none;
  }
}
