:root {
  --paper: #f4efe4;
  --paper-strong: #ebe2d2;
  --ink: #101715;
  --muted: #657069;
  --deep: #081112;
  --moss: #2f5547;
  --moss-dark: #17362d;
  --ocean: #1d5a6a;
  --ember: #c85f30;
  --gold: #f0b35d;
  --line: rgba(255, 255, 255, 0.24);
  --dark-line: rgba(16, 23, 21, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: var(--deep);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(5, 13, 14, 0.82) 0%, rgba(5, 13, 14, 0.48) 38%, rgba(5, 13, 14, 0.1) 66%, rgba(5, 13, 14, 0.32) 100%),
    linear-gradient(180deg, rgba(5, 13, 14, 0.18) 0%, rgba(5, 13, 14, 0.04) 45%, rgba(5, 13, 14, 0.7) 100%),
    url("./assets/avacha-ocean-hero-4k.jpg") center / cover no-repeat;
  filter: brightness(1) contrast(1.12) saturate(1.05);
  transform: none;
  animation: none;
  pointer-events: none;
}

.sea-haze {
  position: absolute;
  inset: auto -10% -18% -10%;
  z-index: -3;
  height: 44%;
  background:
    radial-gradient(ellipse at 24% 34%, rgba(29, 90, 106, 0.34), transparent 38%),
    radial-gradient(ellipse at 74% 24%, rgba(240, 179, 93, 0.22), transparent 34%),
    linear-gradient(180deg, transparent, rgba(5, 13, 14, 0.72));
  filter: blur(26px);
  opacity: 0.86;
  pointer-events: none;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.volcano-body {
  fill: #fff7eb;
  opacity: 0.95;
}

.volcano-snow {
  fill: rgba(255, 255, 255, 0.52);
}

.volcano-glow {
  fill: url("#brandVolcanoGlow");
  fill: var(--gold);
  opacity: 0.92;
}

.volcano-ridge,
.volcano-smoke {
  fill: none;
  stroke: #081112;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.65;
}

.volcano-smoke {
  stroke: rgba(255, 255, 255, 0.82);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  justify-self: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: white;
  transform: translateY(-1px);
}

.contact-widget {
  position: static;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  color: white;
}

.contact-phone {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0;
  background: rgba(8, 17, 18, 0.62);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.contact-messengers {
  display: flex;
  gap: 7px;
}

.contact-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(8, 17, 18, 0.66);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-phone svg,
.contact-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link.whatsapp svg,
.contact-link.telegram svg,
.contact-link.max svg {
  fill: currentColor;
  stroke: none;
}

.contact-link.whatsapp svg path + path,
.contact-link.telegram svg path + path,
.contact-link.max svg path + path {
  fill: none;
  stroke: #081112;
  stroke-width: 1.4;
}

.contact-link.telegram svg path + path {
  stroke: rgba(8, 17, 18, 0.72);
}

.contact-link.max svg path + path,
.contact-link.max svg path + path + path,
.contact-link.max svg path + path + path + path {
  stroke: #081112;
  stroke-width: 1.55;
}

.contact-link:hover,
.contact-phone:hover {
  transform: translateY(-2px);
}

.contact-link:hover {
  border-color: rgba(240, 179, 93, 0.66);
  background:
    linear-gradient(145deg, rgba(240, 179, 93, 0.2), rgba(255, 255, 255, 0.05)),
    rgba(8, 17, 18, 0.82);
}

.contact-link:focus-visible,
.contact-phone:focus-visible {
  outline: 3px solid rgba(240, 179, 93, 0.55);
  outline-offset: 3px;
}

.hero-grid {
  width: min(960px, calc(100% - 40px));
  margin: 112px auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 430px);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
}

.hero-copy {
  max-width: 800px;
  padding-bottom: clamp(8px, 5vh, 56px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6.15vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.54);
}

.hero-title {
  display: grid;
  gap: 0.03em;
  text-wrap: balance;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title span:first-child {
  max-width: 100%;
}

.lead {
  max-width: 620px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.kamshat-legend {
  max-width: 720px;
  margin: 0 0 20px;
  padding: 15px 18px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(8, 17, 18, 0.42);
  backdrop-filter: blur(18px);
  font-size: 0.96rem;
  line-height: 1.52;
}

.kamshat-legend strong {
  color: white;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.button,
.reserve-button,
.route-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.reserve-button:hover,
.route-cta:hover {
  transform: translateY(-2px);
}

.reserve-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.primary,
.reserve-button {
  color: #1b130b;
  background: linear-gradient(135deg, var(--gold), #f07d41);
  box-shadow: 0 18px 50px rgba(200, 95, 48, 0.28);
}

.ghost {
  border: 1px solid var(--line);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.booking-card {
  position: relative;
  width: 100%;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 17, 18, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.booking-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 44%);
  pointer-events: none;
}

.booking-head,
.booking-card label,
.field-row,
.reserve-button,
.booking-note {
  position: relative;
}

.booking-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
}

.booking-head p {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-head strong {
  display: block;
  color: white;
  font-size: 1.16rem;
}

.booking-head span {
  color: var(--gold);
  font-weight: 850;
  white-space: nowrap;
}

.booking-card label {
  display: grid;
  gap: 8px;
}

.booking-card label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 750;
}

.booking-card input,
.booking-card select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0 13px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 179, 93, 0.2);
}

.booking-card textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 13px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.booking-card input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}

.booking-card input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.7;
}

.booking-card select option {
  color: var(--ink);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
}

.consent-field {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px !important;
  margin: 2px 0 4px;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold);
  -webkit-appearance: checkbox;
  appearance: checkbox;
  cursor: pointer;
}

.booking-card .consent-field span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
}

.consent-field a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.reserve-button {
  width: 100%;
}

.booking-note {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 9, 10, 0.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.booking-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal-panel {
  position: relative;
  width: min(460px, 100%);
  transform: translateY(34px) scale(0.94);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease;
}

.booking-modal.is-open .booking-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.booking-modal-card {
  background: rgba(8, 17, 18, 0.88);
  border-color: rgba(255, 255, 255, 0.34);
}

.booking-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  background: rgba(8, 17, 18, 0.86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, background 180ms ease;
}

.booking-modal-close:hover {
  transform: translateY(-1px);
  background: rgba(28, 42, 42, 0.92);
}

.booking-modal-close:focus-visible {
  outline: 3px solid rgba(240, 179, 93, 0.55);
  outline-offset: 3px;
}

.booking-focus {
  padding: clamp(58px, 10vw, 112px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 12%, rgba(29, 90, 106, 0.16), transparent 30%),
    linear-gradient(180deg, #f4efe4, var(--paper-strong));
}

.section-title {
  width: min(860px, 100%);
  margin: 0 auto 28px;
}

.section-title p,
.photo-head p {
  margin-bottom: 8px;
  color: var(--ember);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title h2,
.photo-head h2,
.route-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.house-details {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: stretch;
}

.house-summary,
.house-info-card {
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 45px rgba(36, 33, 28, 0.08);
}

.house-summary {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, rgba(12, 51, 58, 0.94), rgba(31, 67, 58, 0.9)),
    var(--moss-dark);
  color: white;
}

.summary-kicker {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-features {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.house-area {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 12px;
  color: white;
  letter-spacing: 0;
}

.house-area-number {
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 0.86;
  font-weight: 950;
}

.house-area-unit {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.house-summary p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.5;
}

.house-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.house-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.house-summary dt,
.house-summary dd {
  margin: 0;
}

.house-summary dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  font-weight: 800;
}

.house-summary dd {
  color: var(--gold);
  font-weight: 900;
  text-align: right;
}

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

.house-info-card {
  padding: 24px;
}

.house-floor-card,
.house-territory-card {
  grid-column: 1 / -1;
}

.house-info-card h3 {
  margin-bottom: 16px;
  font-size: 1.32rem;
}

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

.floor-grid h4 {
  margin-bottom: 10px;
  color: var(--ember);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.check-list,
.dash-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.45;
}

.check-list li,
.dash-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--ember);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: var(--moss);
}

.route-copy p {
  color: var(--muted);
  line-height: 1.62;
}

.photo-band {
  padding: clamp(58px, 9vw, 108px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 88% 18%, rgba(200, 95, 48, 0.14), transparent 34%),
    linear-gradient(180deg, #f7f2e9, #e8ded0);
}

.photo-head {
  width: min(860px, 100%);
  margin: 0 auto 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.photo-booking-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  color: white;
  background: var(--moss);
  font-weight: 850;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
}

.photo-booking-link:hover {
  transform: translateY(-2px);
  background: var(--moss-dark);
}

.photo-group {
  margin-top: 40px;
}

.photo-group:first-of-type {
  margin-top: 0;
}

/* ── Carousel (stack) ── */
.carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(34, 28, 20, 0.18);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(8, 17, 18, 0.5);
  backdrop-filter: blur(8px);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-btn:hover {
  background: rgba(8, 17, 18, 0.82);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.carousel-counter {
  position: absolute;
  bottom: 14px;
  right: 16px;
  z-index: 5;
  padding: 5px 12px;
  border-radius: 6px;
  color: white;
  background: rgba(8, 17, 18, 0.55);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  position: relative;
  width: min(860px, 100%);
  max-height: 90vh;
}

.lightbox-img {
  display: block;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(8, 17, 18, 0.7);
  backdrop-filter: blur(8px);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease;
}

.lightbox-close:hover { background: rgba(28, 42, 42, 0.92); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav.prev { left: -60px; }
.lightbox-nav.next { right: -60px; }

.lightbox-info {
  margin-top: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

@media (max-width: 720px) {
  .carousel-viewport {
    aspect-ratio: 4 / 3;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

.photo-group-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 4px;
  color: var(--text);
}

.photo-showcase img.is-viewable,
.photo-grid img.is-viewable {
  cursor: zoom-in;
}

.photo-showcase img.is-viewable:focus-visible,
.photo-grid img.is-viewable:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.photo-showcase img.is-viewable:hover,
.photo-grid img.is-viewable:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 22px 42px rgba(34, 28, 20, 0.18);
  filter: saturate(1.08) contrast(1.04);
}

.route-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 26px;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(120deg, rgba(8, 17, 18, 0.96), rgba(23, 54, 45, 0.86)),
    radial-gradient(circle at 82% 14%, rgba(240, 179, 93, 0.34), transparent 30%);
}

.route-copy {
  max-width: 800px;
}

.dark {
  color: var(--gold);
}

.route-copy p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.route-cta {
  color: #1b130b;
  background: var(--gold);
  white-space: nowrap;
}

/* ── Services ── */
.services-band {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 20% 80%, rgba(29, 90, 106, 0.12), transparent 30%),
    linear-gradient(180deg, var(--paper), var(--paper-strong));
}

.services-inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  padding: 28px 22px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 45px rgba(36, 33, 28, 0.06);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(36, 33, 28, 0.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--moss), var(--moss-dark));
  color: white;
  margin: 0 auto 16px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.route-cta-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 10px;
}

.route-cta-row .route-cta {
  position: absolute;
  right: 0;
}

.route-cta-row .route-partners-btn {
  margin: 0 auto;
}

.route-partners-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0 18px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.route-partners-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.18);
}

.route-cta-mobile {
  display: none;
}

.route-partners-btn-mobile {
  display: none;
}

.policy-page {
  min-height: 100vh;
  padding: clamp(28px, 6vw, 72px) 20px;
  background:
    radial-gradient(circle at 10% 10%, rgba(200, 95, 48, 0.16), transparent 26%),
    linear-gradient(180deg, #f7f2e9, #e8ded0);
}

.policy-back {
  display: inline-flex;
  margin: 0 0 18px calc((100% - min(860px, 100%)) / 2);
  color: var(--moss);
  font-weight: 850;
}

.policy-card {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 62px rgba(34, 28, 20, 0.12);
}

.policy-card h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  line-height: 0.94;
  text-shadow: none;
}

.policy-card h2 {
  margin: 28px 0 10px;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.policy-card p {
  color: var(--muted);
  line-height: 1.68;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  width: min(720px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: white;
  background: rgba(8, 17, 18, 0.92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie-consent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.45;
}

.cookie-consent a {
  color: var(--gold);
  font-weight: 800;
}

.cookie-consent button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #1b130b;
  background: linear-gradient(135deg, var(--gold), #f07d41);
  cursor: pointer;
  font-weight: 850;
}

.cookie-consent button:focus-visible {
  outline: 3px solid rgba(240, 179, 93, 0.5);
  outline-offset: 3px;
}

@keyframes heroBreath {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-10px);
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    margin-top: 126px;
    margin-bottom: 80px;
  }

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

  .booking-card {
    max-width: 560px;
  }

  .house-details,
  .route-band {
    grid-template-columns: 1fr;
  }

  .photo-head {
    grid-template-columns: 1fr;
  }

  .photo-head {
    display: grid;
    align-items: start;
  }

  .route-cta {
    width: 100%;
  }

  .route-partners-btn {
    width: 100%;
  }

  .route-cta-row {
    display: none;
  }

  .route-cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    padding: 0 22px;
    width: 100%;
    color: #1b130b;
    background: linear-gradient(135deg, var(--gold), #f07d41);
    box-shadow: 0 18px 50px rgba(200, 95, 48, 0.28);
    font-weight: 850;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 180ms ease;
    margin-top: 10px;
  }

  .route-cta-mobile:hover {
    transform: translateY(-2px);
  }

  .route-partners-btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0 18px;
    margin-bottom: 10px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 850;
    cursor: pointer;
    transition: transform 180ms ease;
  }

  .route-partners-btn-mobile:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
  }
}

@media (min-width: 1440px) {
  .hero-grid {
    width: min(1680px, calc(100% - 128px));
    grid-template-columns: minmax(0, 900px) minmax(390px, 430px);
    gap: clamp(96px, 8vw, 180px);
    align-items: center;
  }

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

  h1 {
    max-width: 900px;
    font-size: clamp(4.6rem, 4.25vw, 5.65rem);
    line-height: 0.95;
  }

  .kamshat-legend {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    padding: 18px 20px;
  }

  .nav-links {
    display: none;
  }

  .contact-widget {
    justify-self: start;
    flex-wrap: wrap;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.85rem, 13vw, 5rem);
  }

  .hero-title span {
    white-space: normal;
  }

  .lead {
    font-size: 1.02rem;
  }

  .kamshat-legend {
    padding: 15px 16px;
  }

  .section-title h2,
  .photo-head h2,
  .route-copy h2 {
    font-size: 2rem;
  }

  .house-details {
    grid-template-columns: 1fr;
  }

  .house-info-card {
    min-height: 0;
  }

  .house-info-grid,
  .floor-grid {
    grid-template-columns: 1fr;
  }

  .contact-phone {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
  }

  .contact-link {
    width: 38px;
    height: 38px;
  }

  .cookie-consent {
    display: grid;
    gap: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px;
    z-index: 10;
  }

  .cookie-consent button {
    width: 100%;
  }

  .route-band {
    padding: clamp(36px, 6vw, 56px) clamp(16px, 4vw, 32px);
  }

  .route-copy h2 {
    font-size: 1.8rem;
  }

  .route-address {
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
  }

  .route-divider {
    display: none;
  }

  .hero .booking-card {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-grid {
    width: min(100% - 28px, 1220px);
    margin-top: 156px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .booking-card {
    padding: 16px;
    gap: 10px;
  }

  .booking-head,
  .field-row {
    grid-template-columns: 1fr;
    display: grid;
    gap: 8px;
  }

  .booking-head span {
    white-space: normal;
  }

  .section-title h2,
  .photo-head h2,
  .route-copy h2 {
    font-size: 1.7rem;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .carousel-counter {
    font-size: 0.78rem;
    padding: 4px 10px;
  }

  .lightbox-frame {
    width: 100%;
  }

  .lightbox-img {
    max-height: 70vh;
    border-radius: 6px;
  }

  .lightbox-close {
    top: -10px;
    right: -4px;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .lightbox-nav.prev { left: 4px; }
  .lightbox-nav.next { right: 4px; }

  .lightbox-info {
    font-size: 0.82rem;
  }

  .booking-modal {
    padding: 12px;
    align-items: start;
    padding-top: 40px;
  }

  .booking-modal-panel {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .booking-modal-card {
    padding: 16px;
    gap: 10px;
  }
}

.route-address {
  grid-column: 1 / -1;
  justify-self: center;
  display: block;
  gap: 12px;
  margin: 24px auto 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  text-align: center;
}

.route-address a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  text-align: center;
  transition: color 180ms ease;
}

.route-address a:hover {
  color: var(--gold, #d4a853);
}

.route-divider {
  color: rgba(255, 255, 255, 0.3);
}

.route-address:hover {
  color: var(--gold, #d4a853);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
