:root {
  --navy: #102033;
  --ink: #171b1f;
  --muted: #65717d;
  --paper: #f5f6f4;
  --panel: #ffffff;
  --line: #d9dee2;
  --yellow: #f5d51f;
  --green: #37a54a;
  --orange: #ef7a28;
  --blue: #2b76d2;
  --red: #c9342a;
  --shadow: 0 18px 46px rgba(16, 32, 51, .16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.en,
body[data-lang="en"] .hr {
  display: none !important;
}

body[data-lang="en"] .en {
  display: inline !important;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 12px clamp(16px, 4vw, 46px);
  color: #fff;
  background: rgba(16, 32, 51, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.top-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
}

.brand-sign {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--yellow);
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, .72);
  font-size: .74rem;
}

.nav {
  justify-content: center;
  gap: 6px;
}

.nav a,
.lang,
.phone {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
}

.lang {
  cursor: pointer;
}

.top-actions {
  gap: 8px;
}

.phone {
  background: var(--green);
  border-color: transparent;
}

.hero {
  position: relative;
  min-height: 94vh;
  color: #fff;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -2;
  background: url("assets/images/exterior-wide.jpg") center / cover no-repeat;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, .94) 0%, rgba(16, 32, 51, .78) 48%, rgba(16, 32, 51, .36) 100%),
    linear-gradient(0deg, rgba(16, 32, 51, .72) 0%, rgba(16, 32, 51, .1) 60%);
}

.hero-grid {
  min-height: 94vh;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 128px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  align-items: end;
  gap: clamp(28px, 5vw, 70px);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
a,
button {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.6rem, 6.2vw, 6.05rem);
  line-height: .94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.14;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--green);
}

.btn.light {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .32);
}

.btn.dark {
  color: #fff;
  background: var(--navy);
}

.hero-card,
.service-board,
.contact-panel,
.route-panel,
.triage-form {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.score strong {
  font-size: 3.2rem;
  line-height: 1;
}

.score span {
  color: var(--yellow);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}

.score small {
  grid-column: 2;
  color: var(--muted);
}

.hours-now {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.hours-now p {
  margin: 4px 0 0;
  color: var(--muted);
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(55, 165, 74, .15);
}

.route-link {
  display: block;
  padding-top: 16px;
  color: var(--blue);
  font-weight: 950;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  color: #fff;
}

.signal-row div {
  min-height: 116px;
  padding: 24px clamp(16px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.signal-row strong,
.signal-row span {
  display: block;
}

.signal-row strong {
  color: var(--yellow);
  font-size: 1.08rem;
}

.signal-row span {
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-head,
.proof-copy,
.gallery-head {
  max-width: 840px;
  margin-bottom: 32px;
}

.service-board {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.tab {
  min-height: 56px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}

.tab:last-child {
  border-right: 0;
}

.tab.is-active {
  color: var(--navy);
  background: var(--yellow);
}

.service-panel {
  display: none;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  min-height: 360px;
}

.service-panel.is-active {
  display: grid;
}

.service-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.service-panel div {
  align-self: center;
  padding: clamp(24px, 5vw, 48px);
}

.service-panel p,
.body-copy p,
.triage p,
.route-text p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-panel li {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef3f8;
  font-weight: 900;
}

.tourists {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: #e8edf2;
  border-block: 1px solid var(--line);
}

.traveler-grid,
.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.traveler-grid article,
.proof-cards article,
.review-themes p {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
}

.traveler-grid article > span {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
  font-weight: 950;
}

.traveler-grid p {
  color: var(--muted);
}

.bodywork,
.triage,
.contact {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.process {
  display: grid;
  gap: 12px;
}

.process div {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(16, 32, 51, .08);
  font-weight: 950;
}

.process b {
  display: grid;
  place-items: center;
  align-self: stretch;
  color: var(--navy);
  background: var(--yellow);
}

.process span {
  padding: 16px;
}

.proof {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: #f0e8d3;
  border-block: 1px solid var(--line);
}

.proof-cards article strong {
  display: block;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1;
}

.proof-cards article span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 900;
}

.review-themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.review-themes p {
  margin: 0;
  color: #4f5660;
  font-weight: 800;
}

.gallery-section {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 32px;
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 12px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
}

.gallery figure.wide {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  font-size: .8rem;
  font-weight: 950;
}

.triage-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
}

.triage-form label {
  display: grid;
  gap: 7px;
  font-weight: 950;
}

.triage-form input[type="text"],
.triage-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checks label {
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
  font-weight: 850;
}

.contact {
  align-items: stretch;
  padding-top: 36px;
}

.contact-panel,
.route-panel {
  background: var(--panel);
  border: 1px solid var(--line);
}

.contact-panel {
  padding: clamp(24px, 4vw, 38px);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
  text-decoration: none;
  font-weight: 950;
}

.route-panel {
  overflow: hidden;
}

.route-map {
  position: relative;
  min-height: 230px;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 32, 51, .08) 1px, transparent 1px),
    #e3edf0;
  background-size: 48px 48px;
}

.pin {
  position: absolute;
  left: 52%;
  top: 47%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50% 50% 50% 8px;
  color: var(--navy);
  background: var(--yellow);
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(-45deg);
  font-weight: 950;
}

.pin::first-letter {
  transform: rotate(45deg);
}

.road {
  position: absolute;
  display: block;
  height: 12px;
  border-radius: 999px;
  background: var(--blue);
}

.road-a {
  left: 8%;
  top: 34%;
  width: 64%;
  transform: rotate(-10deg);
}

.road-b {
  right: 10%;
  top: 58%;
  width: 46%;
  background: var(--orange);
  transform: rotate(17deg);
}

.road-c {
  left: 18%;
  bottom: 18%;
  width: 36%;
  background: rgba(16, 32, 51, .24);
  transform: rotate(8deg);
}

.route-text {
  padding: clamp(22px, 4vw, 34px);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 48px) 88px;
  color: rgba(255, 255, 255, .72);
  background: var(--navy);
}

.footer span:first-child {
  color: #fff;
  font-weight: 950;
}

.mobile-actions {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 35;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

body.show-mobile-actions .mobile-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-actions a {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  text-decoration: none;
  font-weight: 950;
}

.mobile-actions a:first-child {
  background: var(--green);
}

.mobile-actions a + a {
  border-left: 1px solid rgba(255, 255, 255, .16);
}

@media (max-width: 940px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-grid,
  .bodywork,
  .triage,
  .contact,
  .gallery-section {
    grid-template-columns: 1fr;
  }

  .signal-row,
  .traveler-grid,
  .proof-cards,
  .review-themes {
    grid-template-columns: 1fr;
  }

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

  .gallery figure.wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 10px 12px;
  }

  .brand span:last-child {
    max-width: 156px;
  }

  .phone {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-grid {
    min-height: 100svh;
    width: min(100% - 24px, 520px);
    padding: 96px 0 78px;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 4.1rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.65rem);
  }

  .hero-ctas,
  .hero-ctas .btn {
    width: 100%;
  }

  .section {
    width: min(100% - 24px, 520px);
    padding: 58px 0;
  }

  .tab-list,
  .checks {
    grid-template-columns: 1fr;
  }

  .service-panel,
  .service-panel.is-active {
    grid-template-columns: 1fr;
  }

  .service-panel img {
    min-height: 230px;
    height: 230px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery figure.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer {
    flex-direction: column;
  }

  .mobile-actions {
    display: grid;
  }
}
