:root {
  --cream: #fbf6ec;
  --sand: #d9c4a4;
  --sand-soft: #efe3cf;
  --navy: #172936;
  --slate: #42505a;
  --sea: #2f8f83;
  --sea-dark: #1f6f68;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 41, 54, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.section {
  padding: 88px 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(251, 246, 236, 0.9);
  border-bottom: 1px solid rgba(23, 41, 54, 0.08);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--slate);
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--sea-dark);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  border: 1px solid rgba(23, 41, 54, 0.12);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-btn {
  min-width: 38px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  color: var(--slate);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.lang-btn.is-active {
  color: var(--white);
  background: var(--sea);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(23, 41, 54, 0.12);
  border-radius: 14px;
  background: var(--white);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 99px;
}

.hero {
  position: relative;
  margin-top: 76px;
  overflow: hidden;
  background: var(--navy);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 41, 54, 0.08);
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bde5dc;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--sea);
  box-shadow: 0 16px 30px rgba(47, 143, 131, 0.28);
}

.btn-primary:hover {
  background: var(--sea-dark);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
}

.btn-card {
  width: 100%;
  color: var(--white);
  background: var(--navy);
}

.btn-large {
  min-height: 56px;
  padding-inline: 28px;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.location p,
.cta p {
  color: var(--slate);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.villa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.villa-card,
.faq article,
.cta-box {
  border: 1px solid rgba(23, 41, 54, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.villa-card {
  overflow: hidden;
}

.villa-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body p {
  min-height: 78px;
  color: var(--slate);
}

.card-body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--slate);
  font-size: 0.92rem;
}

.card-body li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sea);
}

.amenities {
  background: var(--sand-soft);
}

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

.amenity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px 28px;
  background: var(--white);
  color: #142638;
  font-weight: 700;
  line-height: 1.25;
}

.amenity span {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sea);
  font-size: 22px;
  font-weight: 900;
}

.amenity-text {
  display: block;
  min-width: 0;
  color: #142638;
  font-weight: 800;
  word-break: normal;
  overflow-wrap: anywhere;
}

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

.gallery-grid img {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(23, 41, 54, 0.11);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-grid img:hover {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.location {
  background: var(--white);
}

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

.map-card {
  border: 1px solid rgba(23, 41, 54, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-card-body {
  margin-bottom: 16px;
}

.map-card h3 {
  margin-bottom: 8px;
}

.map-card p {
  margin-bottom: 8px;
  color: var(--slate);
  font-size: 0.98rem;
}

.map-card small {
  display: block;
  color: var(--sea-dark);
  font-weight: 800;
}

.map-card iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 24px;
}

.map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.faq article {
  padding: 24px;
}

.faq p {
  margin-bottom: 0;
  color: var(--slate);
}

.cta {
  padding-top: 32px;
}

.cta-box {
  padding: 46px;
  text-align: center;
}

.cta-box p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.cta-box .btn {
  margin-top: 10px;
}

.contact-line {
  justify-content: center;
  margin-top: 24px;
  color: var(--slate);
  font-weight: 700;
}

.footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.8);
  background: var(--navy);
}

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

.footer a {
  color: var(--white);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.34);
  font-weight: 900;
}

@media (max-width: 1024px) {
  .villa-grid,
  .gallery-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .section {
    padding: 64px 0;
  }

  .navbar {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(23, 41, 54, 0.1);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(23, 41, 54, 0.08);
  }

  .nav-links a:last-of-type {
    border-bottom: 0;
  }

  .language-switcher {
    margin: 12px 16px 16px;
    align-self: flex-start;
  }

  .hero {
    margin-top: 68px;
  }

  .hero-overlay {
    background: rgba(23, 41, 54, 0.06);
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .contact-line {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-box .btn {
    width: 100%;
  }

  .location-grid,
  .location-cards,
  .villa-grid,
  .amenity-grid,
  .gallery-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    gap: 28px;
  }

  .villa-card img,
  .gallery-grid img {
    height: 240px;
  }

  .card-body p {
    min-height: 0;
  }

  .cta-box {
    padding: 32px 22px;
  }

  .footer .container {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}
