:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #1f2428;
  --muted: #5e6a72;
  --accent: #ef6559;
  --accent-2: #d9584f;
  --line: rgba(31, 36, 40, 0.12);
  --soft: #f6fbfd;
  --shadow: 0 22px 64px rgba(33, 78, 93, 0.13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

.theme-3 {
  --bg: #fffaf8;
  --surface: #ffffff;
  --ink: #25282b;
  --muted: #67717a;
  --accent: #f0675c;
  --accent-2: #df5e55;
  --soft: #fff4f1;
}

.theme-4 {
  --bg: #061112;
  --surface: rgba(11, 23, 23, 0.88);
  --ink: #f2e7d6;
  --muted: rgba(242, 231, 214, 0.72);
  --accent: #b98956;
  --accent-2: #8c633d;
  --line: rgba(232, 194, 143, 0.22);
  --soft: #101d1d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.theme-5 {
  --bg: #eff9fb;
  --surface: #ffffff;
  --ink: #16456d;
  --muted: #4e7085;
  --accent: #4f987e;
  --accent-2: #3b7f6a;
  --line: rgba(22, 69, 109, 0.13);
  --soft: #dff3f7;
}

.page-shell {
  width: min(1440px, calc(100% - 20px));
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 28px 56px 70px;
  isolation: isolate;
}

.theme-3 .hero {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0.28) 68%, rgba(255, 255, 255, 0.02) 100%),
    url("./assets/complex-beach-hero.png") right center / 68% 100% no-repeat,
    #fff;
}

.theme-4 .hero {
  min-height: 620px;
  padding-bottom: 165px;
  background:
    linear-gradient(90deg, rgba(5, 12, 13, 0.98) 0%, rgba(6, 13, 14, 0.86) 43%, rgba(6, 12, 13, 0.38) 74%, rgba(6, 12, 13, 0.16) 100%),
    linear-gradient(180deg, rgba(6, 12, 13, 0) 55%, #061112 100%),
    url("./assets/resort-hero.png") right center / cover no-repeat;
}

.theme-5 .hero {
  min-height: 790px;
  padding-bottom: 230px;
  background:
    radial-gradient(950px 380px at 82% 22%, rgba(255, 255, 255, 0.14), transparent 62%),
    linear-gradient(90deg, rgba(239, 249, 251, 0.98) 0%, rgba(239, 249, 251, 0.82) 35%, rgba(239, 249, 251, 0.12) 70%),
    linear-gradient(180deg, rgba(239, 249, 251, 0) 60%, #eff9fb 100%),
    url("./assets/complex-beach-hero.png") right top / cover no-repeat;
}

.theme-5 .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -44px;
  height: 335px;
  z-index: 1;
  pointer-events: none;
  background: url("./assets/wave-green.png") center bottom / 100% 100% no-repeat;
}

.topbar {
  position: relative;
  z-index: 2;
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.topbar__promo {
  display: none;
}

.logo {
  display: grid;
  gap: 2px;
  width: fit-content;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1;
}

.logo span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.logo strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.theme-4 .logo strong,
.theme-4 .logo span,
.theme-4 .logo em {
  color: var(--accent);
}

.theme-5 .logo strong,
.theme-5 .logo span,
.theme-5 .logo em {
  color: var(--ink);
}

.logo em {
  color: var(--accent);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: clamp(14px, 2vw, 34px);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  white-space: nowrap;
}

.topbar__contact {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
}

.topbar__contact a {
  text-decoration: none;
}

.topbar__contact button,
.button {
  min-height: 44px;
  border: 0;
  border-radius: 2px;
  padding: 0 28px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 26px rgba(213, 88, 77, 0.22);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.theme-4 .topbar__contact button,
.theme-4 .button {
  border: 1px solid rgba(232, 194, 143, 0.38);
  background: linear-gradient(180deg, #a8794a, #7f5633);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.theme-5 .topbar__contact button,
.theme-5 .button {
  border-radius: 7px;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(54, 126, 103, 0.2);
}

.theme-5 .topbar {
  min-height: 54px;
  grid-template-columns: 1fr auto;
}

.theme-5 .logo strong {
  font-size: 29px;
}

.theme-5 .nav {
  gap: 28px;
  color: #1e4d70;
  font-size: 10px;
}

.hero__grid {
  position: relative;
  z-index: 2;
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.theme-3 .hero__grid {
  grid-template-columns: minmax(520px, 0.62fr) 1fr;
}

.theme-4 .hero__grid {
  grid-template-columns: minmax(560px, 0.7fr) 1fr;
}

.hero__content {
  max-width: 760px;
  padding-top: 38px;
}

.theme-5 .hero__content {
  max-width: 640px;
  padding-top: 34px;
}

h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--accent);
}

.theme-4 h1 {
  max-width: 780px;
  color: #f3eadb;
}

.theme-5 h1 {
  max-width: 610px;
  color: var(--ink);
  font-size: clamp(50px, 4.45vw, 70px);
  line-height: 0.97;
}

.hero__lead {
  max-width: 520px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.theme-5 .hero__lead {
  max-width: 430px;
  margin-bottom: 66px;
  font-size: 15px;
  line-height: 1.55;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 760px;
}

.theme-5 .metrics {
  max-width: 635px;
  gap: 12px;
}

.theme-5 .metrics strong {
  font-size: 18px;
}

.theme-5 .metrics strong span {
  font-size: 35px;
}

.metrics article {
  min-width: 0;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
}

.metrics strong span {
  font-size: 40px;
  line-height: 0.8;
}

.metrics p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 42px;
}

.income-link {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.income-link::after {
  content: "→";
  margin-left: 14px;
}

.feature-strip {
  position: relative;
  z-index: 2;
  margin: -34px 56px 0;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
}

.theme-4 .feature-strip {
  margin-top: -40px;
  border-top: 1px solid var(--line);
  background: rgba(10, 22, 22, 0.88);
}

.theme-5 .feature-strip {
  margin-top: -40px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-top: 54px;
  padding-bottom: 58px;
  background: #fff;
  box-shadow: none;
}

.feature-strip article {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--ink);
}

.theme-5 .feature-strip article {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.feature-strip img,
.icon-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: var(--icon-filter, none);
}

.theme-5 .feature-strip img {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
}

.theme-4 {
  --icon-filter: sepia(1) saturate(0.7) hue-rotate(345deg) brightness(1.25);
}

.feature-strip b,
.icon-grid b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.feature-strip span,
.icon-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.infrastructure {
  padding: 70px 56px 34px;
}

.theme-4 .infrastructure {
  padding-top: 36px;
}

.theme-5 .infrastructure {
  position: relative;
  padding-top: 92px;
  background:
    linear-gradient(180deg, transparent 0 10%, rgba(197, 230, 241, 0.72) 10%, rgba(197, 230, 241, 0.78) 100%);
}

.infrastructure h2 {
  margin-bottom: 38px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 24px;
}

.icon-grid article {
  min-width: 0;
  text-align: center;
}

.icon-grid img {
  margin-bottom: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(18, 63, 85, 0.1);
}

.theme-4 .gallery-grid article {
  border-color: rgba(232, 194, 143, 0.24);
  background: rgba(15, 28, 28, 0.92);
}

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

.gallery-grid span {
  display: block;
  min-height: 44px;
  padding: 12px 10px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.presentation {
  margin: 18px 56px 70px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  background: #fff;
}

.video-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
}

.video-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: block;
  object-fit: cover;
}

.video-card button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  color: var(--accent);
  background: #fff;
  font-size: 26px;
}

.video-card span {
  position: absolute;
  left: 24px;
  bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-card {
  padding: 34px 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow);
}

.theme-3 .presentation .lead-card {
  border: 0;
  box-shadow: none;
}

.lead-card--hero {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 50px;
  width: min(620px, calc(100% - 96px));
  transform: translateX(-50%);
  border-color: rgba(232, 194, 143, 0.42);
  background: rgba(10, 20, 20, 0.78);
}

.lead-card--side {
  align-self: end;
  width: min(100%, 390px);
  margin-left: auto;
  margin-bottom: -18px;
  border-radius: 28px;
}

.theme-5 .lead-card--side {
  width: min(100%, 376px);
  margin-bottom: -8px;
  padding: 34px 34px 30px;
  border-radius: 30px;
  transform: translateY(132px);
}

.lead-card h2,
.modal h2,
.privacy-modal h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.lead-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lead-card--side .form-row,
.modal .lead-form {
  grid-template-columns: 1fr;
}

.lead-form label {
  position: relative;
  display: block;
}

.lead-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 14px;
  outline: none;
  color: #263136;
  background: #fff;
  font-size: 13px;
}

.theme-4 .lead-form input[type="text"],
.theme-4 .lead-form input[type="tel"] {
  color: #f6ead7;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(232, 194, 143, 0.3);
}

.lead-form input::placeholder {
  color: #9aa4aa;
}

.lead-form input[aria-invalid="true"] {
  border-color: #d84a3f;
  box-shadow: 0 0 0 3px rgba(216, 74, 63, 0.14);
}

.lead-form__status {
  min-height: 18px;
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.lead-form__status:empty {
  display: none;
}

.lead-form small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.lead-form small a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.bottom-proof {
  padding: 26px 56px 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  color: var(--ink);
}

.theme-5 .bottom-proof {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(239, 249, 251, 0.96);
}

.bottom-proof article {
  min-height: 82px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
}

.bottom-proof article img {
  grid-row: 1 / span 2;
}

.bottom-proof article strong,
.bottom-proof article span {
  grid-column: 2;
}

.bottom-proof article:first-child {
  border-left: 0;
  padding-left: 0;
}

.bottom-proof strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}

.bottom-proof span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.bottom-proof img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.theme-5 .bottom-proof img {
  width: 48px;
  height: 48px;
}

.bottom-proof__cta {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  padding-top: 18px;
}

.bottom-proof__cta button {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  padding: 0 28px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(54, 126, 103, 0.2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-footer {
  padding: 0 56px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  color: color-mix(in srgb, var(--muted) 82%, transparent);
  font-size: 11px;
}

.legal-footer a {
  text-underline-offset: 3px;
}

.modal,
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 12, 14, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal.is-open,
.privacy-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__dialog,
.privacy-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--accent);
  background: color-mix(in srgb, var(--surface) 72%, #fff);
  font-size: 24px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  max-width: min(380px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(90px);
  opacity: 0;
  visibility: hidden;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1280px) {
  .hero,
  .infrastructure {
    padding-left: 32px;
    padding-right: 32px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .nav {
    gap: 14px;
    font-size: 10px;
  }

  .feature-strip {
    margin-left: 32px;
    margin-right: 32px;
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 22px 24px 46px;
  }

  .theme-3 .hero,
  .theme-5 .hero {
    background-size: cover;
    background-position: 62% top;
  }

  .theme-4 .hero {
    padding-bottom: 46px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .logo strong {
    font-size: 26px;
  }

  .nav {
    display: none;
  }

  .topbar__contact {
    font-size: 14px;
  }

  .topbar__contact button {
    min-height: 38px;
    padding: 0 18px;
  }

  .hero__grid,
  .theme-3 .hero__grid,
  .theme-4 .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding-top: 44px;
  }

  h1 {
    max-width: 720px;
    font-size: clamp(46px, 8vw, 68px);
  }

  .metrics {
    max-width: 720px;
  }

  .lead-card--hero {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 28px;
  }

  .lead-card--side {
    width: min(100%, 520px);
    margin: 4px 0 0;
  }

  .feature-strip,
  .theme-5 .feature-strip {
    margin: 0;
    padding: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .presentation {
    margin: 0 24px 42px;
    grid-template-columns: 1fr;
  }

  .bottom-proof,
  .theme-5 .bottom-proof {
    padding: 26px 24px 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-proof article:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .legal-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .theme-5 .hero {
    min-height: auto;
    padding: 24px 28px 112px;
    background:
      radial-gradient(620px 330px at 78% 26%, rgba(255, 255, 255, 0.16), transparent 62%),
      linear-gradient(90deg, rgba(239, 249, 251, 0.98) 0%, rgba(239, 249, 251, 0.78) 48%, rgba(239, 249, 251, 0.18) 100%),
      linear-gradient(180deg, rgba(239, 249, 251, 0) 56%, #eff9fb 100%),
      url("./assets/complex-beach-hero.png") 66% top / auto 760px no-repeat;
  }

  .theme-5 .hero::after {
    bottom: -52px;
    height: 260px;
    background-size: 1380px 100%;
    background-position: 44% bottom;
  }

  .theme-5 .topbar {
    grid-template-columns: 1fr auto;
  }

  .theme-5 .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(286px, 340px);
    gap: 18px;
    align-items: end;
  }

  .theme-5 .hero__content {
    padding-top: 44px;
  }

  .theme-5 h1 {
    max-width: 540px;
    font-size: clamp(46px, 6.5vw, 62px);
  }

  .theme-5 .hero__lead {
    max-width: 430px;
    margin-bottom: 34px;
  }

  .theme-5 .metrics {
    max-width: 520px;
    gap: 8px;
  }

  .theme-5 .metrics strong {
    font-size: 15px;
  }

  .theme-5 .metrics strong span {
    font-size: 28px;
  }

  .theme-5 .lead-card--side {
    width: min(100%, 330px);
    margin: 0;
    padding: 24px 22px 22px;
    transform: translateY(70px);
  }

  .theme-5 .lead-card--side h2 {
    font-size: 27px;
  }

  .theme-5 .lead-card--side p {
    margin-bottom: 15px;
  }

  .theme-5 .lead-form {
    gap: 11px;
  }

  .theme-5 .lead-form input[type="text"],
  .theme-5 .lead-form input[type="tel"] {
    height: 42px;
  }

  .theme-5 .feature-strip {
    margin-top: 0;
    padding: 76px 28px 46px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
  }

  .theme-5 .feature-strip article {
    max-width: 170px;
    margin: 0 auto;
  }

  .theme-5 .infrastructure {
    padding-top: 76px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 18px 16px 34px;
  }

  .theme-3 .hero,
  .theme-5 .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, var(--bg) 520px),
      url("./assets/complex-beach-hero.png") 67% top / auto 520px no-repeat,
      var(--bg);
  }

  .theme-5 .hero {
    background:
      linear-gradient(180deg, rgba(239, 249, 251, 0.72) 0%, var(--bg) 520px),
      url("./assets/complex-beach-hero.png") 67% top / auto 520px no-repeat,
      var(--bg);
  }

  .theme-4 .hero {
    background:
      linear-gradient(180deg, rgba(5, 12, 13, 0.82) 0%, #061112 560px),
      url("./assets/resort-hero.png") 62% top / auto 560px no-repeat,
      #061112;
  }

  .theme-5 .hero::after {
    display: none;
  }

  .topbar {
    align-items: start;
  }

  .topbar__contact {
    gap: 6px;
  }

  .topbar__contact button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }

  .hero__content {
    padding-top: 44px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(39px, 12vw, 54px);
  }

  .hero__lead {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.55;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metrics article {
    padding: 12px 0 12px 14px;
    border-right: 0;
    border-left: 2px solid var(--accent);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .feature-strip,
  .theme-5 .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 16px;
  }

  .feature-strip article {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .infrastructure {
    padding: 42px 16px 24px;
  }

  .infrastructure h2 {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .icon-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .icon-grid article {
    padding: 16px 10px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 70%, transparent);
  }

  .gallery-grid span {
    min-height: 52px;
    font-size: 11px;
  }

  .presentation {
    margin: 0 16px 34px;
  }

  .lead-card {
    padding: 24px 18px;
  }

  .lead-card h2,
  .modal h2,
  .privacy-modal h2 {
    font-size: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .bottom-proof,
  .theme-5 .bottom-proof {
    grid-template-columns: 1fr;
    padding: 22px 16px 28px;
  }

  .bottom-proof article,
  .bottom-proof article:nth-child(odd) {
    min-height: 72px;
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .bottom-proof article:first-child {
    border-top: 0;
  }

  .legal-footer {
    padding: 0 16px 20px;
    justify-content: center;
    text-align: center;
  }

  .theme-5 .hero {
    padding: 16px 14px 28px;
    background:
      linear-gradient(180deg, rgba(239, 249, 251, 0.68) 0%, rgba(239, 249, 251, 0.92) 378px, var(--bg) 620px),
      url("./assets/complex-beach-hero.png") 71% top / auto 450px no-repeat,
      var(--bg);
  }

  .theme-5 .hero::after {
    display: none;
  }

  .theme-5 .topbar {
    min-height: 36px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .theme-5 .logo {
    letter-spacing: 0.13em;
  }

  .theme-5 .logo span,
  .theme-5 .logo em {
    font-size: 7px;
  }

  .theme-5 .logo strong {
    font-size: 20px;
  }

  .theme-5 .topbar__contact {
    font-size: 10px;
  }

  .theme-5 .topbar__contact button {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 8px;
  }

  .theme-5 .hero__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .theme-5 .hero__content {
    padding-top: 32px;
  }

  .theme-5 h1 {
    max-width: 350px;
    margin-bottom: 12px;
    font-size: clamp(34px, 10.6vw, 44px);
    line-height: 0.98;
  }

  .theme-5 .hero__lead {
    max-width: 320px;
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 1.42;
  }

  .theme-5 .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .theme-5 .metrics article {
    padding: 8px 6px;
    border-left: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
  }

  .theme-5 .metrics strong {
    font-size: 10px;
  }

  .theme-5 .metrics strong span {
    font-size: 18px;
  }

  .theme-5 .metrics p {
    font-size: 8px;
    line-height: 1.25;
  }

  .theme-5 .lead-card--side {
    width: 100%;
    max-width: 390px;
    margin: 12px auto 0;
    padding: 20px 16px 17px;
    border-radius: 20px;
    transform: none;
  }

  .theme-5 .lead-card h2 {
    font-size: 23px;
  }

  .theme-5 .lead-card p {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .theme-5 .lead-form {
    gap: 9px;
  }

  .theme-5 .lead-form input[type="text"],
  .theme-5 .lead-form input[type="tel"] {
    height: 39px;
    font-size: 12px;
  }

  .theme-5 .button {
    min-height: 41px;
    font-size: 10px;
  }

  .theme-5 .lead-form small {
    gap: 7px;
    font-size: 9px;
    line-height: 1.3;
  }

  .theme-5 .feature-strip {
    padding: 32px 16px 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    background: #fff;
  }

  .theme-5 .feature-strip article {
    max-width: 154px;
    margin: 0 auto;
  }

  .theme-5 .feature-strip img {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }

  .theme-5 .feature-strip b {
    font-size: 10px;
    line-height: 1.18;
  }

  .theme-5 .feature-strip span {
    font-size: 9px;
    line-height: 1.35;
  }

  .theme-5 .infrastructure {
    padding: 38px 14px 22px;
  }

  .theme-5 .infrastructure h2 {
    font-size: 26px;
  }

  .theme-5 .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .theme-5 .gallery-grid img {
    aspect-ratio: 1.1;
  }

  .theme-5 .gallery-grid span {
    min-height: 42px;
    padding: 9px 8px;
    font-size: 10px;
  }

  .theme-5 .bottom-proof {
    gap: 0;
    padding-top: 18px;
  }

  .theme-5 .bottom-proof article,
  .theme-5 .bottom-proof article:nth-child(odd) {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .theme-5 .bottom-proof img {
    width: 36px;
    height: 36px;
  }

  .theme-5 .bottom-proof strong {
    font-size: 30px;
  }

  .theme-5 .bottom-proof span {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .logo strong {
    font-size: 22px;
  }

  .topbar__contact a {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(35px, 11.5vw, 44px);
  }

  .feature-strip,
  .theme-5 .feature-strip,
  .icon-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .theme-5 .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-5 .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    box-shadow: none;
  }

  .theme-5 {
    --bg: #eef8f7;
    --ink: #123f62;
    --muted: #4c7180;
    --accent: #3e9279;
    --accent-2: #2d765f;
    --soft: #d9eff0;
    --shadow: 0 18px 42px rgba(22, 69, 109, 0.16);
  }

  .theme-5 .hero {
    min-height: auto;
    padding: 14px 14px 22px;
    background:
      linear-gradient(180deg, rgba(238, 248, 247, 0.08) 0 210px, rgba(238, 248, 247, 0.92) 368px, #eef8f7 540px),
      url("./assets/complex-beach-hero.png") 62% top / auto 425px no-repeat,
      #eef8f7;
  }

  .theme-5 .hero::after {
    display: none;
  }

  .theme-5 .topbar {
    position: sticky;
    top: 10px;
    z-index: 6;
    min-height: 46px;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 8px 8px 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 34px rgba(22, 69, 109, 0.14);
    backdrop-filter: blur(16px);
  }

  .theme-5 .topbar::before {
    content: none;
  }

  .theme-5 .topbar__promo {
    display: block;
    min-width: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.05;
  }

  .theme-5 .topbar__promo span {
    color: var(--accent-2);
    white-space: nowrap;
  }

  .theme-5 .nav {
    display: none;
  }

  .theme-5 .topbar__contact {
    display: none;
  }

  .theme-5 .hero__grid {
    display: block;
    min-height: auto;
  }

  .theme-5 .hero__content {
    max-width: none;
    padding-top: 238px;
  }

  .theme-5 h1 {
    max-width: 440px;
    margin: 0 0 12px;
    font-size: clamp(37px, 11vw, 48px);
    line-height: 0.94;
  }

  .theme-5 h1 span {
    margin-bottom: 4px;
    color: var(--accent-2);
  }

  .theme-5 .hero__lead {
    max-width: 340px;
    margin: 0 0 18px;
    color: #315e72;
    font-size: 14px;
    line-height: 1.45;
  }

  .theme-5 .metrics {
    max-width: none;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .theme-5 .metrics article {
    min-height: 68px;
    padding: 12px 14px;
    border: 1px solid rgba(62, 146, 121, 0.14);
    border-radius: 16px;
    display: grid;
    grid-template-columns: minmax(124px, auto) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 26px rgba(22, 69, 109, 0.08);
    backdrop-filter: blur(12px);
  }

  .theme-5 .metrics strong {
    margin: 0;
    color: var(--accent-2);
    font-size: 13px;
    line-height: 1;
  }

  .theme-5 .metrics strong span {
    font-size: 30px;
  }

  .theme-5 .metrics p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.3;
  }

  .theme-5 .lead-card--side {
    width: 100%;
    max-width: none;
    margin: 14px 0 0;
    padding: 18px;
    border: 1px solid rgba(62, 146, 121, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 48px rgba(22, 69, 109, 0.18);
    transform: none;
  }

  .theme-5 .lead-card h2 {
    max-width: 280px;
    margin-bottom: 6px;
    font-size: 27px;
    line-height: 0.98;
  }

  .theme-5 .lead-card p {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.42;
  }

  .theme-5 .lead-form {
    gap: 10px;
  }

  .theme-5 .lead-form input[type="text"],
  .theme-5 .lead-form input[type="tel"] {
    height: 46px;
    border-radius: 12px;
    padding: 0 13px;
    font-size: 14px;
  }

  .theme-5 .button {
    min-height: 48px;
    border-radius: 13px;
    font-size: 11px;
    line-height: 1.1;
    white-space: normal;
  }

  .theme-5 .lead-form small {
    gap: 8px;
    font-size: 10px;
    line-height: 1.35;
  }

  .theme-5 .feature-strip {
    margin: 0;
    padding: 18px 14px 22px;
    grid-template-columns: 1fr;
    gap: 10px;
    background: #fff;
  }

  .theme-5 .feature-strip article {
    max-width: none;
    min-height: 72px;
    margin: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: start;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(22, 69, 109, 0.08);
    border-radius: 16px;
    text-align: left;
    background: #f7fcfc;
  }

  .theme-5 .feature-strip img {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .theme-5 .feature-strip b {
    grid-column: 2;
    align-self: end;
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 1.2;
  }

  .theme-5 .feature-strip span {
    grid-column: 2;
    align-self: start;
    font-size: 11px;
    line-height: 1.35;
  }

  .theme-5 .infrastructure {
    padding: 34px 14px 24px;
    background: linear-gradient(180deg, #dff2f4 0%, #eef8f7 100%);
  }

  .theme-5 .infrastructure h2 {
    margin-bottom: 18px;
    font-size: 31px;
    text-align: left;
  }

  .theme-5 .gallery-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .theme-5 .gallery-grid article {
    flex: 0 0 74vw;
    max-width: 300px;
    border: 0;
    border-radius: 18px;
    scroll-snap-align: start;
    box-shadow: 0 16px 34px rgba(22, 69, 109, 0.13);
  }

  .theme-5 .gallery-grid img {
    aspect-ratio: 1.18;
  }

  .theme-5 .gallery-grid span {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
  }

  .theme-5 .bottom-proof {
    padding: 12px 14px 26px;
    grid-template-columns: 1fr;
    gap: 10px;
    background: #eef8f7;
  }

  .theme-5 .bottom-proof article,
  .theme-5 .bottom-proof article:nth-child(odd) {
    min-height: 78px;
    padding: 12px;
    border: 1px solid rgba(22, 69, 109, 0.08);
    border-radius: 16px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 0.66);
  }

  .theme-5 .bottom-proof img {
    width: 38px;
    height: 38px;
  }

  .theme-5 .bottom-proof strong {
    font-size: 30px;
  }

  .theme-5 .bottom-proof span {
    font-size: 12px;
  }

  .theme-5 .bottom-proof__cta {
    padding: 2px 0 0;
  }

  .theme-5 .bottom-proof__cta button {
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    padding: 0 16px;
    background: var(--accent);
    box-shadow: 0 16px 34px rgba(62, 146, 121, 0.22);
    font-size: 11px;
    line-height: 1.15;
  }

  .theme-5 .legal-footer {
    padding: 0 18px 22px;
    justify-content: flex-start;
    text-align: left;
    background: #eef8f7;
    font-size: 10px;
    line-height: 1.45;
  }

  .theme-5 .modal,
  .theme-5 .privacy-modal {
    align-items: end;
    padding: 12px;
  }

  .theme-5 .modal__dialog,
  .theme-5 .privacy-modal__dialog {
    width: 100%;
    padding: 26px 18px 18px;
    border-radius: 22px;
  }
}

@media (max-width: 380px) {
  .theme-5 .topbar::before {
    font-size: 21px;
  }

  .theme-5 .topbar__promo {
    font-size: 19px;
  }

  .theme-5 .topbar__contact button {
    padding: 0 9px;
    font-size: 8px;
  }

  .theme-5 h1 {
    font-size: clamp(34px, 10.7vw, 41px);
  }

  .theme-5 .metrics article {
    grid-template-columns: minmax(106px, auto) minmax(0, 1fr);
  }

  .theme-5 .metrics strong span {
    font-size: 26px;
  }
}
