:root {
  --sand-50: #fbfffd;
  --sand-100: #eef7f5;
  --sand-150: #dcefe9;
  --sand-200: #c6ddd8;
  --ink: #24364b;
  --ink-soft: #526070;
  --muted: #778392;
  --line: rgba(36, 54, 75, 0.14);
  --line-strong: rgba(36, 54, 75, 0.22);
  --azure: #0897c9;
  --azure-deep: #075d7f;
  --azure-soft: #e2f6fb;
  --coral: #d97555;
  --gold: #d7a84f;
  --white: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 70px rgba(41, 45, 58, 0.12);
  --shadow-soft: 0 10px 30px rgba(41, 45, 58, 0.08);
  --r: 18px;
  --maxw: 1180px;
  --font-ui: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sand-100);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.sea-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% -8%, rgba(255, 226, 158, 0.38), transparent 42%),
    radial-gradient(circle at 8% 8%, rgba(54, 173, 198, 0.24), transparent 38%),
    linear-gradient(180deg, #edf9f8 0%, #f8fbf5 46%, #eef7f5 100%);
}
.sea-bg span {
  position: absolute;
  top: -160px;
  right: 8vw;
  width: min(560px, 46vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 127, 0.34), transparent 66%);
}
.sea-bg i {
  position: absolute;
  left: -5vw;
  right: -5vw;
  bottom: -7vw;
  height: 18vw;
  min-height: 150px;
  background:
    radial-gradient(90% 80% at 20% 10%, rgba(8, 151, 201, 0.18), transparent 60%),
    radial-gradient(80% 90% at 70% 0%, rgba(215, 168, 79, 0.14), transparent 60%);
  border-radius: 50% 50% 0 0;
}

.site-header {
  width: min(calc(100% - 32px), var(--maxw));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 12px;
  z-index: 20;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}
.brand__mark svg {
  width: 46px;
  height: 46px;
  display: block;
}
.brand__mark rect { fill: url("#none"); }
.brand__mark svg rect { fill: var(--azure); }
.brand__mark svg path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}
.brand__text strong { font-size: 17px; }
.brand__text em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
}
.site-nav a:hover { background: rgba(8, 151, 201, 0.08); color: var(--ink); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--small { min-height: 40px; padding-inline: 16px; font-size: 14px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--azure), var(--azure-deep));
  box-shadow: 0 12px 28px rgba(8, 151, 201, 0.24);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}
.btn--outline {
  border-color: var(--line-strong);
  background: transparent;
}

.hero {
  width: min(calc(100% - 36px), var(--maxw));
  min-height: min(760px, calc(100dvh - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 42px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--azure-deep);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 9vw, 118px);
  line-height: .86;
  letter-spacing: 0;
}
.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}
.trust-row span,
.amenities span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-weight: 750;
  font-size: 13px;
}
.hero__visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}
.hero-photos {
  position: relative;
  width: min(520px, 100%);
  min-height: 520px;
}
.hero-photo {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 34px;
  background: rgba(255,255,255,.6);
  box-shadow: var(--shadow);
}
.hero-photo img,
.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo--main {
  position: absolute;
  inset: 0 70px 44px 0;
}
.hero-photo--side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  box-shadow: 0 18px 52px rgba(41,45,58,.18);
}
.villa-card {
  width: min(460px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #dff4f7, #f7e2c4);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.8);
  position: relative;
}
.villa-card__sky {
  position: absolute;
  inset: 0 0 40%;
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 217, 127, .9) 0 11%, transparent 12%),
    linear-gradient(180deg, #d8f0f4, #fbefd9);
}
.villa-card__house {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 25%;
  height: 34%;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 44px rgba(61,54,46,.2);
}
.villa-card__house::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: -48px;
  height: 70px;
  background: var(--ink);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.villa-card__house span {
  position: absolute;
  bottom: 24px;
  width: 18%;
  height: 28%;
  border-radius: 10px 10px 4px 4px;
  background: #c9e9f1;
}
.villa-card__house span:nth-child(1) { left: 14%; }
.villa-card__house span:nth-child(2) { left: 41%; height: 45%; background: #e2cda2; }
.villa-card__house span:nth-child(3) { right: 14%; }
.villa-card__water {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background:
    radial-gradient(90% 44% at 18% 15%, rgba(255,255,255,.52), transparent 55%),
    linear-gradient(180deg, #72c7df, #0d91bd);
}
.floating-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow-soft);
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 13px;
}
.floating-note svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--azure);
  stroke-width: 1.8;
  flex: 0 0 auto;
}
.floating-note--top { top: 72px; left: 0; }
.floating-note--bottom { bottom: 84px; right: -4px; }

.section {
  width: min(calc(100% - 36px), var(--maxw));
  margin: 0 auto 26px;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.section--compact {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.section__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.section h2,
.ms-booking h2,
.ms-calendar h2,
.page-hero h1,
.article h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}
.feature-grid,
.cards,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature,
.card,
.post-card a,
.ms-booking__form,
.rule-list div {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow-soft);
}
.feature {
  padding: 22px;
  min-height: 176px;
}
.feature svg,
.card svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--azure);
  stroke-width: 1.8;
}
.feature h2,
.card h3,
.post-card h3,
.post-card h2 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.15;
}
.feature p,
.card p,
.post-card p,
.section--split p,
.ms-booking p,
.article__body,
.content-shell {
  color: var(--ink-soft);
  line-height: 1.68;
}
.card {
  padding: 24px;
  min-height: 212px;
  display: flex;
  flex-direction: column;
}
.card a {
  margin-top: auto;
  color: var(--azure-deep);
  font-weight: 900;
}
.section--split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 38px;
  align-items: center;
}
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.location-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.location-card strong {
  margin-bottom: 4px;
  font-size: 20px;
}
.location-card span {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(8,151,201,.08);
  color: var(--ink-soft);
  font-weight: 780;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-tile {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.78);
  background: rgba(255,255,255,.6);
  box-shadow: var(--shadow-soft);
}
.gallery-tile--wide {
  grid-row: span 2;
}
.rule-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.faq-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow-soft);
}
.faq-grid h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.faq-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}
.rule-list div {
  padding: 20px;
  display: grid;
  gap: 8px;
}
.rule-list strong {
  font-size: 18px;
}
.rule-list span {
  color: var(--ink-soft);
  line-height: 1.52;
}

.ms-booking {
  width: min(calc(100% - 36px), var(--maxw));
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(8,151,201,.12), rgba(215,168,79,.15));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.ms-calendar {
  width: min(calc(100% - 36px), var(--maxw));
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.ms-calendar__frame {
  min-height: 360px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.58);
}
.ms-calendar__frame iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}
.ms-calendar__placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--ink-soft);
}
.ms-calendar__placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
}
.ms-booking__copy {
  padding: 8px 10px;
}
.ms-checklist {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.ms-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-weight: 700;
}
.ms-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--azure);
}
.ms-booking__form {
  padding: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}
label span {
  font-size: 13px;
  color: var(--ink-soft);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(8, 151, 201, .12);
}
.consent {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 10px;
  margin: 16px 0;
  font-weight: 650;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  font-weight: 800;
}
.form-note--ok {
  background: rgba(56, 165, 103, .12);
  color: #217043;
}
.form-note--error {
  background: rgba(217, 117, 85, .12);
  color: #9c402b;
}

.post-card a {
  display: block;
  min-height: 190px;
  padding: 22px;
}
.post-card span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.page-hero,
.article__head {
  width: min(calc(100% - 36px), 920px);
  margin: 0 auto;
  padding: 72px 0 26px;
}
.content-shell,
.article__body {
  width: min(calc(100% - 36px), 920px);
  margin: 0 auto 40px;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-soft);
}
.content-shell h2,
.article__body h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: 30px;
}
.content-shell a,
.article__body a {
  color: var(--azure-deep);
  font-weight: 850;
}
.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--azure-deep);
  font-weight: 900;
}

.site-footer {
  width: min(calc(100% - 36px), var(--maxw));
  margin: 18px auto 28px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(36, 54, 75, 0.92);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 28px;
}
.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255,255,255,.74);
}
.site-footer h2 {
  margin: 0 0 12px;
  font-size: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.brand--footer .brand__text em,
.brand--footer .brand__text strong { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 26px;
  padding-top: 16px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .ms-booking,
  .ms-calendar,
  .section--split {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 44px;
  }
  .hero__visual { min-height: 380px; }
  .feature-grid,
  .cards,
  .post-grid,
  .rule-list,
  .faq-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-auto-rows: 190px;
  }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow-soft);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul {
    display: grid;
    gap: 4px;
  }
  .site-nav a { justify-content: center; }
}

@media (max-width: 640px) {
  .site-header {
    width: min(calc(100% - 20px), var(--maxw));
    margin-top: 10px;
    border-radius: 18px;
  }
  .brand__text strong { font-size: 15px; }
  .brand__text em { display: none; }
  .hero,
  .section,
  .ms-booking,
  .site-footer,
  .content-shell,
  .article__body,
  .page-hero,
  .article__head {
    width: min(calc(100% - 22px), var(--maxw));
  }
  .hero h1 { font-size: clamp(56px, 17vw, 82px); }
  .lead { font-size: 17px; }
  .hero__visual { min-height: 320px; }
  .hero-photos {
    min-height: 360px;
  }
  .hero-photo--main {
    inset: 0 0 56px 0;
  }
  .hero-photo--side {
    width: 42%;
    min-width: 148px;
  }
  .floating-note {
    position: static;
    margin-top: 10px;
    max-width: none;
  }
  .hero__visual {
    display: block;
  }
  .villa-card { margin: 0 auto 8px; border-radius: 24px; }
  .feature-grid,
  .cards,
  .post-grid,
  .rule-list,
  .faq-grid,
  .gallery-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-auto-rows: 210px;
  }
  .gallery-tile--wide {
    grid-row: span 1;
  }
  .section,
  .ms-booking,
  .ms-calendar,
  .content-shell,
  .article__body {
    padding: 22px;
    border-radius: 22px;
  }
  .section__head {
    display: grid;
    align-items: start;
  }
  .footer-bottom {
    display: grid;
  }
}
