:root {
  --green-950: #06261f;
  --green-900: #07372e;
  --green-700: #0c6b55;
  --green-500: #16a36f;
  --mint: #d8f2e5;
  --sand: #f3efe3;
  --stone: #eef3ef;
  --coral: #d16f52;
  --gold: #c8a95f;
  --ink: #10201d;
  --muted: #64736f;
  --line: #dce6e1;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(6, 38, 31, 0.12);
  --shadow-soft: 0 12px 34px rgba(6, 38, 31, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(216, 242, 229, 0.5), transparent 420px),
    #fbfcf9;
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 230, 225, 0.8);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--green-950);
  min-width: 0;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--green-500));
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(12, 107, 85, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--green-950);
  background: var(--mint);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.language-switcher button {
  min-width: 36px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button.is-active,
.language-switcher button:hover {
  color: var(--green-950);
  background: var(--mint);
  border-color: rgba(22, 163, 111, 0.36);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-950);
}

.hero {
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(6, 38, 31, 0.88) 0%, rgba(6, 38, 31, 0.56) 45%, rgba(6, 38, 31, 0.08) 78%),
    url("hero-red-sea-resort.png") center / cover no-repeat;
  color: var(--white);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, #fbfcf9);
  pointer-events: none;
}

.hero__inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 72px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  max-width: 520px;
  margin-top: 34px;
}

.hero-metrics div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 26px;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--green-500);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(22, 163, 111, 0.32);
  outline-offset: 3px;
}

.button:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

.button--small {
  min-height: 42px;
  padding: 0 16px;
}

.section {
  padding: 86px 0;
}

.section--tint {
  background: linear-gradient(180deg, var(--stone), var(--sand));
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 900;
}

h1,
h2,
h3 {
  color: var(--green-950);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
}

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

.feature,
.property-card,
.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.feature,
.info-panel {
  padding: 26px;
}

.info-panel {
  position: sticky;
  top: 98px;
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green-700);
  font-weight: 900;
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 44px;
  align-items: start;
}

.check-list,
.fact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.check-list li,
.fact-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.check-list li::before,
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

.page-hero {
  padding: 98px 0 62px;
  background:
    linear-gradient(135deg, rgba(6, 38, 31, 0.96), rgba(12, 107, 85, 0.9)),
    url("hero-red-sea-resort.png") center / cover no-repeat;
  color: var(--white);
}

.page-hero h1,
.page-hero .lead {
  color: var(--white);
}

.property-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.property-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 111, 0.45);
  box-shadow: var(--shadow);
}

.property-card__media {
  min-height: 148px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 38, 31, 0.18), rgba(6, 38, 31, 0.02)),
    url("hero-red-sea-resort.png") center / cover no-repeat;
  position: relative;
}

.property-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 38, 31, 0.12), rgba(6, 38, 31, 0.74));
}

.property-card__media span {
  position: relative;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}

.property-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-card__body h2 {
  font-size: 24px;
}

.property-card__meta {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.property-card__meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.property-card .button {
  margin-top: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

.section--map {
  padding-top: 0;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
  min-height: 360px;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--green-950);
}

::placeholder {
  color: #7c8b86;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
  min-width: 0;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(22, 163, 111, 0.22);
  border-color: var(--green-500);
}

[aria-invalid="true"] {
  border-color: #b42318;
  background: #fff8f6;
}

.field.is-valid input,
.field.is-valid textarea,
.field.is-valid select {
  border-color: rgba(22, 163, 111, 0.62);
}

.field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.field--checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.field__help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.field__error {
  min-height: 20px;
  margin: 4px 0 0;
  color: #b42318;
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  margin: 0 0 18px;
  padding: 0;
  border-radius: 8px;
  font-weight: 800;
}

.form-status--success {
  color: var(--green-700);
  background: #edf8f1;
  border: 1px solid rgba(22, 163, 111, 0.28);
  padding: 12px 14px;
}

.form-status--error {
  color: #b42318;
  background: #fff4f2;
  border: 1px solid rgba(180, 35, 24, 0.24);
  padding: 12px 14px;
}

.api-status,
.empty-state,
.field__help {
  color: var(--muted);
}

.api-status,
.empty-state {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 163, 111, 0.24);
  border-radius: 8px;
  background: #f4fbf7;
  font-weight: 800;
}

.field__help {
  margin: 6px 0 0;
  font-size: 14px;
}

.admin-page {
  background: var(--stone);
}

.admin-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.admin-login {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 48px;
}

.admin-login h1,
.admin-dashboard h1 {
  font-size: clamp(34px, 4vw, 56px);
}

.admin-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.admin-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.section-head--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-list-item {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-950);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-list-item:hover {
  background: var(--mint);
}

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

.admin-select-label {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
}

.code-field {
  min-height: 280px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

.button--dark {
  color: var(--green-950);
  border-color: var(--green-700);
}

.button--light {
  color: var(--green-950);
  border-color: var(--line);
}

.legal-text {
  max-width: 840px;
}

.site-footer {
  padding: 38px 0;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid a {
  color: var(--white);
  text-decoration: none;
}

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

.decision-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.decision-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green-700);
  font-weight: 900;
  font-size: 13px;
}

.small-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .nav-shell {
    width: min(100% - 24px, 1160px);
    gap: 12px;
  }

  .brand {
    font-size: 15px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .language-switcher {
    justify-content: flex-start;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .section-head,
  .split,
  .contact-layout,
  .decision-grid,
  .admin-login,
  .admin-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    display: grid;
  }

  .grid-3,
  .property-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
    background:
      linear-gradient(180deg, rgba(6, 38, 31, 0.86) 0%, rgba(6, 38, 31, 0.56) 58%, rgba(6, 38, 31, 0.12) 100%),
      url("hero-red-sea-resort.png") center / cover no-repeat;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .info-panel {
    position: static;
  }

  .section {
    padding: 62px 0;
  }

  .section--map {
    padding-top: 0;
  }

  .map-card {
    aspect-ratio: 4 / 5;
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .container,
  .hero__inner {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 76px 0 58px;
  }

  .hero h1 {
    font-size: clamp(34px, 14vw, 48px);
  }

  .hero p,
  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .contact-form,
  .feature,
  .info-panel,
  .decision-grid article,
  .property-card__body {
    padding: 20px;
  }

  .property-card__meta div {
    display: grid;
    gap: 4px;
  }

  dd {
    text-align: left;
  }

  .map-card {
    min-height: 360px;
  }
}
