:root {
  --foam: #f4eee4;
  --foam-deep: #ebe4d8;
  --cream: #e8d5c0;
  --ink: #12283a;
  --ink-soft: #3e5568;
  --sea: #14344c;
  --sea-mid: #1b4f6e;
  --sea-bright: #1f5a85;
  --gold: #e8d5c0;
  --gold-hover: #f3e6d6;
  --gold-ink: #12283a;
  --line: rgba(18, 40, 58, 0.12);
  --foam-line: rgba(244, 238, 228, 0.18);
  --max: 68rem;
  --header-h: 4.15rem;
  --radius: 1rem;
  --font-d: "Syne", "Segoe UI", sans-serif;
  --font-b: "Outfit", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-b);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--foam);
  padding-bottom: 5.25rem;
}

@media (min-width: 720px) {
  body { padding-bottom: 0; }
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--sea-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.8rem;
  top: -4rem;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 60;
}

.skip:focus { top: 0.8rem; }

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

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(20, 52, 76, 0.94);
  backdrop-filter: blur(14px);
  color: var(--foam);
  border-bottom: 1px solid var(--foam-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.logo { display: flex; align-items: center; line-height: 0; text-decoration: none; }
.logo img { display: block; height: 2.35rem; width: auto; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-tools .btn { display: none; }

@media (min-width: 720px) {
  .logo img { height: 2.7rem; }
  .header-tools .btn { display: inline-flex; }
}

.lang {
  display: flex;
  border: 1px solid var(--foam-line);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(243, 239, 230, 0.75);
  font: 600 0.72rem/1 var(--font-b);
  letter-spacing: 0.06em;
  padding: 0.42rem 0.55rem;
  cursor: pointer;
  min-width: 2.3rem;
}

.lang button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-b);
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  min-height: 2.85rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn-cream {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn-cream:hover { background: var(--gold-hover); }

.btn-lg {
  width: 100%;
  max-width: 24rem;
  min-height: 3.15rem;
  font-size: 1.05rem;
}

.booking-form .btn-lg {
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--sea);
  color: var(--foam);
}

.hero-media {
  position: relative;
  height: min(48svh, 22rem);
  overflow: hidden;
  background: var(--sea-mid);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
  display: block;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 52, 76, 0.1) 40%, var(--sea) 100%);
  pointer-events: none;
}

.hero-copy {
  padding: 1.5rem 0 2.4rem;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.hero-tagline {
  margin: 0 0 0.7rem;
  font-size: clamp(0.92rem, 2.2vw, 1.1rem);
  letter-spacing: 0.16em;
  color: var(--cream);
}

.hero h1 {
  margin: 0 0 1.3rem;
  font-family: var(--font-d);
  font-weight: 750;
  font-size: clamp(1.7rem, 5.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(88svh - var(--header-h));
    align-items: stretch;
  }
  .hero-media {
    order: 2;
    height: auto;
    min-height: 100%;
  }
  .hero-media::after {
    background: linear-gradient(90deg, var(--sea) 0%, rgba(20, 52, 76, 0.4) 18%, rgba(20, 52, 76, 0.12) 50%, rgba(20, 52, 76, 0.2) 100%);
  }
  .hero-copy {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem 0 4.2rem;
    width: 100%;
    margin: 0;
    padding-inline: clamp(1rem, calc((100vw - var(--max)) / 2), 5rem) 2rem;
  }
}

/* Bullets */
.bullets { padding: 2.4rem 0 2.2rem; }

.bullets-grid {
  display: grid;
  gap: 1.1rem;
}

.bullets-grid article {
  padding: 0.2rem 0;
}

.bullets-grid h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-d);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.bullets-grid p {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .bullets-grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
}

/* Booking */
.booking {
  background: var(--sea);
  color: var(--foam);
  padding: 2.6rem 0 3rem;
}

.booking h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.booking-lead {
  margin: 0 0 1.4rem;
  max-width: 32rem;
  color: rgba(244, 238, 228, 0.86);
}

.booking-form {
  display: grid;
  gap: 0.9rem 1rem;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .booking-form {
    grid-template-columns: 1fr 1fr;
  }
  .field-wide,
  .booking-total,
  .booking-error,
  .booking-form .btn {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: rgba(244, 238, 228, 0.8);
}

.field input,
.field select {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid var(--foam-line);
  border-radius: 0.7rem;
  background: rgba(18, 40, 58, 0.45);
  color: var(--foam);
  font: 600 1.02rem/1.3 var(--font-b);
  padding: 0.55rem 0.8rem;
}

#partner-code {
  font-family: var(--font-d);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

.field-help {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--cream);
}

.booking-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.3rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--foam-line);
  font-size: 1.05rem;
}

.booking-total strong {
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 750;
}

.booking-error {
  margin: 0;
  color: #f3c6c0;
  font-size: 0.95rem;
}

.booking-form.is-bookeo-off #booking-form { display: none; }

/* Gallery */
.gallery { padding: 1.5rem 0; }

.gallery-grid {
  display: grid;
  gap: 0.5rem;
}

.gallery-grid picture {
  display: block;
  height: 14rem;
  overflow: hidden;
  border-radius: 0.7rem;
}

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

@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid picture { height: 16rem; }
}

/* Location */
.location { padding: 2.2rem 0; }

.location-panel {
  background: var(--sea);
  color: var(--foam);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.5rem 1.3rem 1.6rem;
}

.location-panel h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-d);
  font-size: 1.5rem;
}

.location-meet,
.location-hours {
  margin: 0.45rem 0 0;
  color: rgba(244, 238, 228, 0.88);
}

.location-maps { margin: 1rem 0 0; }

.location-maps a {
  color: var(--gold);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 213, 192, 0.45);
}

.location-maps a:hover { color: var(--gold-hover); }

/* FAQ */
.faq { padding: 0 0 2.6rem; }

.faq h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-d);
  font-size: 1.5rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
}

.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

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

.faq-list p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--sea);
  color: rgba(244, 238, 228, 0.82);
  padding: 1.8rem 0 2rem;
}

.footer-inner { display: grid; gap: 0.85rem; }

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

.footer-contacts a,
.partners-line a {
  color: var(--gold);
  text-decoration: none;
}

.footer-contacts a:hover,
.partners-line a:hover { text-decoration: underline; }

.partners-line,
.footer-copy { margin: 0; font-size: 0.92rem; }

.footer-copy { color: rgba(244, 238, 228, 0.65); }

/* Sticky + float */
.sticky-book {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: calc(0.7rem + env(safe-area-inset-bottom));
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(18, 40, 58, 0.28);
}

@media (min-width: 720px) {
  .sticky-book { display: none; }
}

.wa-float {
  position: fixed;
  right: 0.9rem;
  bottom: calc(4.7rem + env(safe-area-inset-bottom));
  z-index: 36;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(18, 40, 58, 0.28);
  text-decoration: none;
}

.wa-float:hover { filter: brightness(1.05); }

@media (min-width: 720px) {
  .wa-float { bottom: 1.3rem; }
}
