@font-face{font-family:Cormorant;src:url('/assets/cormorant-garamond-cyrillic-400-normal-DD2KOZkl.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Cormorant;src:url('/assets/cormorant-garamond-latin-400-normal-B-1hWBU7.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Manrope;src:url('/assets/manrope-cyrillic-400-normal-BMzJvInZ.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('/assets/manrope-latin-400-normal-PaqtzbVb.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  color-scheme: dark;
  --background: #111712;
  --surface: #182119;
  --ink: #f3efe7;
  --muted: #d3cbbb;
  --line: #d9cfb745;
  --accent: #f0d6aa;
  --gutter: clamp(18px, 5.55vw, 88px);
  font: 400 16px/1.6 Manrope, Arial, sans-serif;
  font-synthesis: none;
  background: var(--background);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 5;
  left: var(--gutter);
  top: 8px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--accent);
  color: #151c15;
}

.skip-link:focus { transform: translateY(0); }
.content-width { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }

.site-header {
  padding-top: env(safe-area-inset-top);
  background: #141c16;
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 12px 28px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { width: clamp(174px, 19vw, 264px); height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 30px); }
.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 7px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav [aria-current] { color: var(--accent); }
.main-nav .nav-booking { border: 1px solid #e8d4aa80; padding-inline: 16px; }
.main-nav .nav-booking:hover { border-color: var(--accent); }

h1, h2, h3 {
  margin: 0;
  font-family: Cormorant, Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6vw, 88px); letter-spacing: -.025em; }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: clamp(33px, 3.45vw, 49px); }
p { margin-block: 0 16px; }

.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(540px, 75svh, 820px); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 50% 48%; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(0deg, #0b130ded 0%, #0c140e89 35%, #0c140e10 75%),
    linear-gradient(90deg, #0b130dc7, #0b130d15 78%);
}

.hero-copy { padding-block: clamp(120px, 24vh, 310px) 32px; }
.place-label { margin-bottom: 12px; color: var(--accent); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; }
.hero-description { margin-block: 18px 0; max-width: 34ch; color: var(--ink); font-size: clamp(16px, 1.7vw, 19px); }
.image-note { margin-block: 22px 0; color: var(--muted); font-size: 13px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 23px; }
.button, .text-link, .back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 46px;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.button { padding: 11px 17px; border: 1px solid var(--accent); background: var(--accent); color: #151c15; }
.button:hover { background: #f8e7c8; border-color: #f8e7c8; }
.text-link { border-bottom: 1px solid #e8d4aa80; }
.text-link:hover, .back-link:hover, .footer-links a:hover, .footer-links button:hover { color: var(--accent); }
.back-link { margin-bottom: 12px; color: var(--muted); }
.outbound-arrow {
  position: relative;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.outbound-arrow::after {
  position: absolute;
  inset: 3px -2px auto;
  height: 1px;
  transform: rotate(-45deg);
  background: currentColor;
  content: '';
}

.section-spacing { padding-block: clamp(34px, 7vw, 95px); }
.narrow { max-width: 700px; min-height: min(48vh, 390px); }
.narrow > p { max-width: 58ch; }
.intro { max-width: 48ch; margin-block: 18px 28px; color: var(--muted); font-size: clamp(16px, 1.7vw, 20px); }

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  margin-block-start: clamp(20px, 4vw, 56px);
  overflow: hidden;
  scroll-margin-block-start: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.booking-page { margin-block-end: clamp(30px, 5vw, 70px); }
.booking-photo { position: relative; min-width: 0; min-height: 230px; margin: 0; background: #141c16; }
.booking-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booking-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 20px 16px 10px;
  background: linear-gradient(transparent, #0b130ded);
  color: var(--ink);
  font-size: 12px;
}

.booking-form { min-width: 0; padding: clamp(20px, 3.5vw, 48px); }
.booking-form h1, .booking-form h2 { font-size: clamp(34px, 4vw, 54px); }
.booking-intro { margin-block: 12px 20px; color: var(--muted); }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.booking-plan-fields { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .8fr); }
.booking-date-field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.booking-fields label { display: grid; align-content: start; gap: 5px; min-width: 0; color: var(--muted); font-size: 13px; }
.booking-fields input, .booking-fields select, .booking-fields textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #e8d4aa70;
  border-radius: 0;
  background: #111712;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.booking-date-control { display: block; position: relative; min-width: 0; }
.booking-date-control.has-display:not(:focus-within) input { color: transparent; }
.booking-date-control .trip-date-display {
  position: absolute;
  inset: 1px 35px 1px 10px;
  display: flex;
  align-items: center;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
}

.booking-date-control:focus-within .trip-date-display { visibility: hidden; }
.booking-help { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.booking-help.is-error { color: #ffc1a9; }
.booking-fields input[aria-invalid="true"] { border-color: #ffac90; }
.booking-actions { gap: 10px 14px; }
.booking-tour { background: transparent; color: var(--ink); border-color: #e8d4aa80; }
.booking-tour:hover { background: #e8d4aa18; border-color: var(--accent); }
.booking-tour-row { margin-block: 14px 20px; }
.booking-note { grid-column: 1 / -1; }
.booking-fields textarea { resize: vertical; }
.booking-message { margin-top: 14px; color: var(--muted); font-size: 13px; }
.booking-message summary { width: fit-content; cursor: pointer; }
.booking-message pre { margin-block: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.booking-clear { min-height: 44px; padding: 0; border: 0; background: transparent; font-size: 13px; text-decoration: underline; }
.booking-status:empty { display: none; }

.villa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 38px); }
.villa-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); }
.villa-card > a { display: block; height: 100%; text-decoration: none; }
.villa-card > a:hover h3 { color: var(--accent); }
.villa-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-copy { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: clamp(16px, 3vw, 32px); }
.card-copy p, .visit p { margin: 7px 0 0; color: var(--muted); }
.card-arrow { color: var(--accent); font-size: 21px; }

.villa-detail { display: grid; align-items: start; grid-template-columns: .86fr 1.14fr; gap: clamp(22px, 5vw, 72px); }
.villa-details-copy { align-self: center; }
.villa-photo { margin: 0; min-width: 0; }
.villa-photo img { width: 100%; height: auto; }
.villa-photo figcaption { padding-top: 9px; color: var(--muted); font-size: 13px; }
.villa-specs { display: grid; gap: 0; padding: 0; margin: 0; }
.villa-specs > div { border-top: 1px solid var(--line); padding-block: 10px; }
.villa-specs dt { color: var(--muted); font-size: 13px; }
.villa-specs dd, .facts dd { margin-inline: 0; }

.facts, .visit { padding-block: clamp(30px, 5vw, 65px); }
.facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 26px; margin-bottom: 0; }
.facts dl > div { border-top: 1px solid var(--line); padding-top: 12px; }
.facts dt { margin-bottom: 5px; color: var(--ink); }
.facts dd { color: var(--muted); }
.facts a { color: var(--accent); text-underline-offset: 3px; }
.visit { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px; border-top: 1px solid var(--line); }

.site-statistics, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; }
.site-statistics { padding: 12px var(--gutter); border-top: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.site-statistics p { margin: 0; }
.statistics-actions, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; }
.statistics-actions button, .footer-links button, .footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer { border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); color: var(--muted); font-size: 13px; }
.footer-inner { min-height: 66px; padding-block: 7px; }

dialog {
  position: fixed;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(21px, 4vw, 36px);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  overflow: auto;
}

dialog::backdrop { background: #050906c5; }
dialog h2 { padding-inline-end: 42px; margin-bottom: 15px; }
dialog p { margin-bottom: 11px; }
dialog .actions { margin-top: 18px; }
.dialog-close { position: absolute; top: 7px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; }
.dialog-close:focus-visible { outline-offset: -3px; }

@media (max-width: 760px) {
  .header-inner { display: grid; gap: 4px; padding-top: 4px; padding-bottom: 8px; }
  .main-nav { gap: 6px 14px; flex-wrap: wrap; }
  .main-nav a { padding-inline: 0; }
  .main-nav .nav-booking { padding-inline: 11px; }
  .hero { min-height: clamp(460px, 69svh, 640px); }
  .hero-image { object-position: 74% 47%; }
  .hero-copy { padding-block: 145px 25px; }
  .hero-shade { background: linear-gradient(0deg, #0b130df5, #0b130db8 35%, #0b130d15 80%); }
  .villa-grid, .villa-detail, .facts dl { grid-template-columns: minmax(0, 1fr); }
  .footer-inner, .site-statistics { align-items: start; flex-direction: column; }
  .footer-inner { gap: 0; padding-top: 13px; }
  .booking-section { grid-template-columns: minmax(0, 1fr); }
  .booking-photo { min-height: clamp(142px, 40vw, 230px); }
  .booking-photo img { object-position: 50% 48%; }
}

@media (max-width: 359px) and (max-height: 680px) {
  .hero-copy { padding-block: 94px 19px; }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 480px) {
  .booking-plan-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-plan-fields .booking-guests { grid-column: 1 / -1; }
  .booking-actions { flex-direction: column; align-items: stretch; }
  .booking-actions .button { width: 100%; justify-content: space-between; }
}

@media (max-width: 380px) {
  .booking-plan-fields, .booking-page .booking-fields:not(.booking-details) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-height: 490px) and (min-width: 761px) {
  .header-inner { min-height: 58px; }
  .hero { min-height: 0; }
  .hero-copy { padding-block: 24px 16px; }
  .hero h1 { font-size: clamp(44px, 6vw, 57px); }
  .hero-description { margin-top: 12px; }
  .hero .actions { margin-top: 12px; }
  .image-note { margin-top: 12px; }
}
