/* Островия — статическая вёрстка под MODX
   Чанки: header, footer, breadcrumbs
   Шрифты: Google Fonts (можно заменить на локальные в assets) */

:root {
  --burgundy: #5d2e27;
  --burgundy-deep: #3d1c18;
  --teal: #009ac0;
  --teal-deep: #007a99;
  --cream: #f4efe6;
  --sand: #e6d9c4;
  --ink: #1c1412;
  --muted: #6a5c54;
  --line: rgba(93, 46, 39, 0.14);
  --white: #fff;
  --radius: 1.5rem;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.5;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
.font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font: 600 0.875rem/1 Manrope, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

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

.btn-teal {
  background: var(--teal);
  color: var(--burgundy-deep);
}

.btn-teal:hover {
  background: #17b0d4;
}

.btn-burgundy {
  background: var(--burgundy);
  color: var(--white);
}

.btn-burgundy:hover {
  background: var(--burgundy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.eyebrow {
  margin: 0;
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Header — чанк [[$header]] */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover,
.nav a.is-active {
  color: var(--burgundy);
}

.header__cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header__phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--burgundy);
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--burgundy);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.25rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--burgundy);
}

@media (min-width: 1024px) {
  .nav,
  .header__cta {
    display: flex;
  }

  .burger,
  .mobile-nav {
    display: none !important;
  }
}

/* Footer — чанк [[$footer]] */

.footer {
  margin-top: auto;
  background: var(--burgundy-deep);
  color: var(--cream);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

.footer__logo {
  display: inline-block;
  background: var(--cream);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.footer p,
.footer a {
  color: rgba(244, 239, 230, 0.8);
}

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

.footer__title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer__list {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: rgba(244, 239, 230, 0.5);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Breadcrumbs */

.crumbs {
  padding: 1.4rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.crumbs a:hover {
  color: var(--burgundy);
}

.crumbs [aria-current="page"] {
  color: var(--burgundy);
}

.crumbs--on-hero {
  margin-bottom: .75rem;
  padding: 0;
  color: rgba(255, 255, 255, .72);
}

.crumbs--on-hero a:hover,
.crumbs--on-hero [aria-current="page"] {
  color: var(--white);
}

.crumbs--on-hero + h1 {
  margin-top: 0;
}

/* Page hero */

.page-hero {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 28, 24, 0.82), rgba(61, 28, 24, 0.28));
}

.page-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 42vh;
  padding: 6rem 0 3rem;
  color: var(--cream);
}

.page-hero h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.page-hero p {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: rgba(244, 239, 230, 0.85);
}

/* Home hero */

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61, 28, 24, 0.82), rgba(61, 28, 24, 0.2) 70%, transparent);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 88vh;
  padding: 8rem 0 4rem;
  color: var(--cream);
}

.hero__tag {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero h1 {
  max-width: 16ch;
  margin: 1rem 0 0;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 1.02;
}

.hero__lead {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  font-size: 1.15rem;
  color: rgba(244, 239, 230, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.page-hero .hero__actions .btn-teal {
  color: var(--burgundy-deep);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--burgundy-deep);
  color: var(--cream);
}

.grid-2 {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--burgundy);
}

.stat span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--burgundy);
}

.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}

.lead {
  margin: 1.2rem 0 0;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38rem;
}

/* Cards */

.card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
}

.card--cream {
  background: var(--cream);
}

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

.card__img {
  height: 220px;
}

.card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--burgundy);
}

.card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 2rem;
}

.media--tall {
  min-height: 420px;
}

.gallery {
  display: grid;
  gap: 0.75rem;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.amenity {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 154, 192, 0.35);
}

.amenity h3 {
  margin: 0;
  font-size: 1.15rem;
}

.amenity p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(244, 239, 230, 0.7);
}

.cta-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 2rem;
}

.rules {
  background: var(--white);
  border-radius: 2rem;
  padding: 2rem;
}

.rules dl {
  margin: 1.5rem 0 0;
}

.rules div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.rules div:last-child {
  border-bottom: 0;
}

.rules dt {
  color: var(--muted);
}

/* Form */

.form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}

.form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--burgundy);
}

.field {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font: inherit;
}

.field:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 154, 192, 0.18);
}

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

.form__note {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.form-success {
  display: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-success.is-visible {
  display: block;
}

/* WuBook */

.wubook {
  border: 1px dashed color-mix(in srgb, var(--burgundy) 28%, transparent);
  background: var(--white);
  border-radius: var(--radius);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.wubook h2 {
  margin-top: 0.75rem;
}

.wubook p {
  max-width: 28rem;
  margin: 0.75rem auto 0;
  color: var(--muted);
}

.center-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.center-note a {
  color: var(--burgundy);
}

/* Contacts */

.map iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: var(--radius);
}

.contacts dt {
  font-size: 0.8rem;
  color: var(--muted);
}

.contacts dd {
  margin: 0.25rem 0 1.2rem;
}

.contacts dd a {
  color: var(--burgundy);
}

.contacts a:hover {
  text-decoration: underline;
}

/* Policy */

.policy {
  padding: 3rem 0 5rem;
}

.policy h1 {
  margin: 0;
  font-size: 2.6rem;
  color: var(--burgundy);
}

.policy h2 {
  margin: 2.4rem 0 0.7rem;
  font-size: 1.35rem;
}

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

.policy ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.policy li + li {
  margin-top: 0.4rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .cta-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .form-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}

/* Modern visual system: logo keeps its own colour; interface does not. */
:root {
  --burgundy: #183d4c;
  --burgundy-deep: #0d2631;
  --teal: #d6aa4a;
  --teal-deep: #167c80;
  --cream: #f5f7f5;
  --sand: #e9eeeb;
  --ink: #12232c;
  --muted: #64727a;
  --line: rgba(18, 35, 44, 0.14);
}

body { background: var(--cream); }
h1, h2, h3, .font-display {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.btn {
  border-radius: .45rem;
  min-height: 3.25rem;
  padding-inline: 1.7rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}
.btn-teal { color: var(--ink); }
.btn-teal:hover { background: #e5bd68; }

.header {
  border-bottom-color: rgba(18, 35, 44, .08);
  background: rgba(245, 247, 245, .88);
  backdrop-filter: blur(18px);
}
.header__inner { min-height: 76px; padding: .5rem 0; }
.logo img { height: 43px; }
.footer__logo img {
  height: 46px;
  filter: brightness(0) invert(1);
  opacity: .94;
}
.nav a { letter-spacing: -.01em; text-transform: none; }
.header__phone { color: var(--ink); }

.footer, .section--dark { background: #102a34; }
.footer__logo { border-radius: .4rem; }
.page-hero__shade { background: linear-gradient(to top, rgba(4, 23, 31, .78), rgba(4, 23, 31, .1)); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.3rem); }

.hero { min-height: clamp(500px, calc(62vh + 30px), 670px); }
.hero__shade { background: linear-gradient(90deg, rgba(4, 23, 31, .72), rgba(4, 23, 31, .18) 54%, transparent); }
.hero__content {
  min-height: clamp(500px, calc(62vh + 30px), 670px);
  padding: 6.5rem 0 3.25rem;
}
.hero__tag { letter-spacing: .12em; }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.45rem, 4.4vw, 4.5rem);
  line-height: .98;
}

@media (max-width: 959px) {
  .hero__shade {
    background: linear-gradient(90deg, rgba(4, 23, 31, .84), rgba(4, 23, 31, .4) 62%, rgba(4, 23, 31, .12));
  }
}

@media (min-width: 960px) {
  .hero {
    background: #102a34;
  }

  .hero img {
    left: auto;
    width: 50%;
    object-position: center;
  }

  .hero__shade {
    background: transparent;
  }
}

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
h2 { font-size: clamp(2.4rem, 4.5vw, 4.35rem); }
.stat {
  background: transparent;
  border-radius: 0;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  text-align: left;
}
.stat b {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 2.6rem;
}

.card {
  border-radius: .8rem;
  border: 1px solid rgba(18, 35, 44, .08);
}
.card--cream { background: var(--white); }
.card__img { height: 290px; }
.card__body { padding: 1.5rem; }
.card h3 { font-size: 1.45rem; }
.media,
.media img,
.gallery img { border-radius: .85rem; }
.cta-bar { background: #e6eeec; border-radius: .85rem; }
.rules, .form, .wubook { border-radius: .85rem; }
.field { border-radius: .4rem; }

@media (min-width: 960px) {
  .grid-2 { gap: clamp(3rem, 8vw, 9rem); }
  .stats { gap: 1.5rem; }
  .hero__lead { font-size: 1.28rem; line-height: 1.55; }
  .hero__content { padding-bottom: 3.75rem; }
}

/* Compact web lockup based on the approved wordmark.
   The original long logo remains in /images/logo.png for print or spacious placements. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #183d4c;
}

.logo__anchor {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: #183d4c;
  color: #d7ff52;
  font-size: 1.2rem;
  line-height: 1;
}

.logo__name {
  display: grid;
  gap: .05rem;
  color: #183d4c;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
}

.logo__name small {
  color: #167c80;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.footer__logo {
  background: transparent;
  padding: 0;
}

.footer .logo__anchor {
  background: #d7ff52;
  color: #102a34;
}

.footer .logo__name {
  color: #f5f7f5;
}

.footer .logo__name small {
  color: #d7ff52;
}

.btn-outline {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
}

.page-hero .hero__actions .btn-outline {
  border-color: rgba(255, 255, 255, .7);
  color: var(--white);
}

.page-hero .hero__actions .btn-outline:hover {
  background: var(--white);
  color: var(--burgundy);
}

.section-note {
  max-width: 20rem;
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.stay-cases {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}

.stay-case {
  min-height: 17rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--white);
}

.stay-case__number,
.location-route span {
  display: block;
  color: var(--teal-deep);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.stay-case h3,
.location-route h3 {
  margin: 2.6rem 0 .6rem;
  color: var(--ink);
  font-size: 1.45rem;
}

.stay-case p,
.location-route p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

.business {
  background: #102a34;
  color: var(--white);
}

.business h2 { color: var(--white); }
.business .lead { color: rgba(255,255,255,.72); }

.business__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 2rem 0;
}

.business__list span {
  padding-top: .75rem;
  border-top: 1px solid rgba(215,255,82,.45);
  color: rgba(255,255,255,.9);
  font-size: .88rem;
}

.location-route {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.location-route article {
  position: relative;
  min-height: 12rem;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--line);
}

.location-route h3 { margin-top: 1.8rem; }

.amenities-location__route {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255,255,255,.16);
}

.section--dark .amenities-location__route .eyebrow,
.section--dark .location-route span {
  color: var(--teal);
}

.section--dark .location-route article {
  border-top-color: rgba(255,255,255,.2);
}

.section--dark .location-route p {
  color: rgba(255,255,255,.7);
}

.section--dark .btn-outline {
  border-color: rgba(255,255,255,.65);
  color: var(--white);
}

.section--dark .btn-outline:hover {
  background: var(--white);
  color: var(--burgundy);
}

.service-location {
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
}

.service-location h2 {
  margin-top: .45rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
}

.service-location__amenities {
  display: grid;
  gap: 1.15rem 2rem;
  margin-top: 2.25rem;
}

.service-location__routes {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
}

.service-location__routes .location-route {
  gap: 0;
  margin-top: 1.6rem;
}

.service-location__routes .location-route article {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: .75rem;
  min-height: 0;
  padding: .85rem 0;
}

.service-location__routes .location-route span {
  grid-row: span 2;
  padding-top: .1rem;
}

.service-location__routes .location-route h3 {
  margin: 0;
  font-size: 1rem;
}

.service-location__routes .location-route p {
  margin: .2rem 0 0;
  font-size: .82rem;
}

.service-location__routes .btn {
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .service-location__amenities {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .service-location {
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
  }

  .service-location__routes {
    padding-top: 0;
    padding-left: clamp(2rem, 5vw, 5rem);
    border-top: 0;
    border-left: 1px solid rgba(255,255,255,.18);
  }
}

.local-guide__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.local-guide__head h2 {
  margin-top: .35rem;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.local-guide__grid {
  display: grid;
  gap: 1rem;
}

.local-guide__panel {
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: .65rem;
}

.local-guide__panel > h3 {
  margin: 0 0 1.25rem;
  color: var(--teal);
  font: 700 .75rem/1 Manrope, system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.local-guide__services,
.local-guide__routes {
  display: grid;
  gap: 0;
}

.local-guide__services article,
.local-guide__routes article {
  padding: .9rem 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.local-guide__services h4,
.local-guide__routes h4 {
  margin: 0;
  color: var(--white);
  font: 600 1rem/1.2 Manrope, system-ui, sans-serif;
}

.local-guide__services p,
.local-guide__routes p {
  margin: .3rem 0 0;
  color: rgba(255,255,255,.66);
  font-size: .78rem;
  line-height: 1.42;
}

.local-guide__routes article {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: .5rem;
}

.local-guide__routes span {
  padding-top: .1rem;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .local-guide__services,
  .local-guide__routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .local-guide__services article:nth-child(2),
  .local-guide__services article:nth-child(4),
  .local-guide__services article:nth-child(6),
  .local-guide__routes article:nth-child(2),
  .local-guide__routes article:nth-child(4) {
    border-left: 1px solid rgba(255,255,255,.14);
    padding-left: 1.5rem;
  }
}

@media (min-width: 960px) {
  .local-guide__grid {
    grid-template-columns: 1.2fr .8fr;
    align-items: stretch;
  }

  .local-guide__routes {
    grid-template-columns: 1fr;
  }

  .local-guide__routes article:nth-child(2),
  .local-guide__routes article:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
}

.prefooter {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: .85rem;
  background: #e6eeec;
}

.prefooter__reviews,
.prefooter__address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prefooter h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.prefooter .lead {
  margin-top: .6rem;
}

.prefooter .btn {
  margin-top: 1.5rem;
}

.prefooter__rating {
  display: grid;
  align-content: center;
  gap: .4rem;
  min-height: 12rem;
  padding: 1.5rem;
  border-radius: .65rem;
  background: #102a34;
  color: var(--white);
}

.prefooter__rating strong {
  color: var(--teal);
  font-size: clamp(3.75rem, 7vw, 5rem);
  letter-spacing: -.08em;
  line-height: .8;
}

.prefooter__rating span {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
}

@media (min-width: 960px) {
  .prefooter {
    grid-template-columns: 1.1fr .5fr 1fr;
    align-items: stretch;
  }
}

.reviews__inner {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.reviews__rating {
  display: grid;
  justify-items: start;
  gap: .6rem;
  padding: 2rem;
  border-radius: .85rem;
  background: #102a34;
  color: var(--white);
}

.reviews__rating strong {
  color: var(--teal);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: -.08em;
  line-height: .8;
}

.reviews__rating span {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
}

.reviews__rating .btn { margin-top: 1rem; }

@media (min-width: 640px) {
  .stay-cases { grid-template-columns: repeat(3, 1fr); }
  .location-route { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .location-route { grid-template-columns: repeat(4, 1fr); }
  .reviews__inner { grid-template-columns: 1.25fr .75fr; }
}

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: .85rem;
  background: transparent;
  cursor: zoom-in;
}

.gallery__item::after {
  content: "↗";
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(16, 42, 52, .8);
  color: var(--white);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(.25rem);
  transition: .2s ease;
}

.gallery__item img {
  transition: transform .35s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 2rem;
  background: rgba(3, 15, 20, .9);
}

.lightbox.is-open { display: grid; }
.is-lightbox-open { overflow: hidden; }

.lightbox__image {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 4rem);
  border-radius: .6rem;
  object-fit: contain;
}

.lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(3, 15, 20, .35);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

@media (max-width: 639px) {
  .lightbox__nav {
    width: 2.75rem;
    height: 2.75rem;
  }

  .lightbox__nav--prev { left: .5rem; }
  .lightbox__nav--next { right: .5rem; }
}

/* Finishing details */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.language-switch a {
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
}

.language-switch a.is-active,
.language-switch a:hover {
  border-color: var(--teal);
  color: var(--ink);
}

.language-switch--mobile {
  justify-content: center;
  margin-top: .5rem;
}

.nav a,
.footer a,
.header__phone {
  transition: color .2s ease;
}

.nav a:focus-visible,
.btn:focus-visible,
.gallery__item:focus-visible,
.language-switch a:focus-visible,
.lightbox__close:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 70%, var(--white));
  outline-offset: 3px;
}

.section {
  position: relative;
}

.card,
.media,
.gallery__item {
  box-shadow: 0 16px 36px rgba(10, 37, 47, .08);
}

.card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(10, 37, 47, .13);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
