/* =============================================
   THE VIEW AMV — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* =====================
   1. VARIABLES & RESET
   ===================== */
:root {
  --green: #4a6741;
  --green-dark: #2d4029;
  --green-hover: #3a5233;
  --green-light: #6b8f61;
  --green-cold: #9dc39b;
  --cream: #f5f0e8;
  --cream-dark: #ede8dc;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #6b6b6b;
  --gray-light: #e8e4dc;
  --border: rgba(74, 103, 65, 0.18);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --section-pad: 90px;
  --header-h: 80px;
  --trans: 0.3s ease;
  --trans-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

/* =====================
   2. TYPOGRAPHY
   ===================== */
.h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
}

.h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
}

.h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
}

.overline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  font-weight: 300;
}

/* =====================
   3. LAYOUT
   ===================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: var(--green-dark);
  color: var(--white);
}

.section--green {
  background: var(--green);
  color: var(--white);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* =====================
   4. BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: var(--radius);
  transition: all var(--trans);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}

.btn--primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(74, 103, 65, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn--outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--black);
}

.btn--white {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--white);
}

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border: 2px solid #25D366;
}

.btn--whatsapp:hover {
  background: #1db954;
  border-color: #1db954;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.72rem;
}

.btn--lg {
  padding: 18px 48px;
  font-size: 0.82rem;
}

/* =====================
   5. HEADER
   ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--trans), box-shadow var(--trans), backdrop-filter var(--trans);
}

.header--transparent {
  background: transparent;
}

.header--solid {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border), var(--shadow);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Logo swap on scroll */
.header--solid .header__logo-img--light { display: none !important; }
.header--solid .header__logo-img--dark  { display: block !important; }
.header:not(.header--solid) .header__logo-img--dark { display: none !important; }
.header:not(.header--solid) .header__logo-img--light { display: block !important; }

.logo__mark {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--green);
  line-height: 1;
  transition: color var(--trans);
}

.header--transparent .logo__mark {
  color: var(--white);
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--black);
  transition: color var(--trans);
}

.header--transparent .logo__name {
  color: var(--white);
}

.logo__sub {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 2px;
  transition: color var(--trans);
}

.header--transparent .logo__sub {
  color: rgba(255, 255, 255, 0.7);
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__nav-list {
  display: flex;
  gap: 36px;
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--trans), border-color var(--trans);
}

.header--transparent .header__nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.header--transparent .header__nav-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--black);
  transition: color var(--trans);
}

.header--transparent .header__phone {
  color: rgba(255, 255, 255, 0.9);
}

.header__phone:hover {
  color: var(--green);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
}

.header__burger span {
  display: block;
  height: 2px;
  background: var(--black);
  transition: all var(--trans);
  transform-origin: center;
}

.header--transparent .header__burger span {
  background: var(--white);
}

.header__burger.active span {
  background: var(--green) !important;
}

.header__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  flex-direction: column;
  padding: calc(var(--header-h) + 40px) 40px 40px;
  transform: translateX(100%);
  transition: transform var(--trans-slow);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--black);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  display: block;
  transition: color var(--trans);
}

.mobile-nav__link:hover {
  color: var(--green);
}

.mobile-nav__footer {
  margin-top: auto;
}

/* =====================
   6. HERO
   ===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero__slide.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero__overline {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.hero__title {
  color: var(--white);
  max-width: 700px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-top: 20px;
  line-height: 1.7;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  transition: all var(--trans);
  padding: 0;
}

.hero__dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 3px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Hero pages other than home */
.hero--page {
  height: auto;
  min-height: 55vh;
  padding-bottom: 60px;
  background-size: cover;
  background-position: center;
}

.hero--page .hero__overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.35));
}

.hero--page .hero__content {
  padding-top: var(--header-h);
}

/* =====================
   7. STATS BAR
   ===================== */
.stats-bar {
  background: var(--green-dark);
  color: var(--white);
  padding: 0;
}

.stats-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}

.stat-item__num span {
  font-size: 1.4rem;
}

.stat-item__label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

/* =====================
   8. SECTION HEADERS
   ===================== */
.section-header {
  margin-bottom: 60px;
}

.section-header--center {
  text-align: center;
}

.section-header .overline {
  display: block;
  margin-bottom: 12px;
}

.section-header .h2 {
  margin-top: 8px;
}

.section-header .lead {
  max-width: 620px;
  margin-top: 16px;
}

.section-header--center .lead {
  margin: 16px auto 0;
}

.section-divider {
  display: inline-block;
  width: 50px;
  height: 2px;
  background: var(--green);
  margin-top: 20px;
}

/* =====================
   9. VILLA CARDS
   ===================== */
.villas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.villa-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
}

.villa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.villa-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.villa-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.villa-card:hover .villa-card__img {
  transform: scale(1.04);
}

.villa-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.villa-card__body {
  padding: 24px;
}

.villa-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
}

.villa-card__slogan {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 4px;
}

.villa-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}

.villa-spec {
  text-align: center;
}

.villa-spec__val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--green);
}

.villa-spec__key {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 2px;
}

.villa-card__footer {
  padding: 0 24px 24px;
}

.villa-card__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Villa Filter */
.villa-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 2px solid var(--gray-light);
  border-radius: 30px;
  color: var(--gray);
  background: var(--white);
  transition: all var(--trans);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.villa-card.hidden {
  display: none;
}

/* =====================
   10. VILLA DRAWER
   ===================== */
.villa-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--trans), visibility var(--trans);
}

.villa-drawer.open {
  visibility: visible;
  opacity: 1;
}

.villa-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.villa-drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(900px, 90vw);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--trans-slow);
  overflow-y: auto;
}

.villa-drawer.open .villa-drawer__panel {
  transform: translateX(0);
}

.villa-drawer__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background var(--trans);
}

.villa-drawer__close:hover {
  background: var(--cream);
}

.drawer-gallery {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--black);
}

.drawer-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.drawer-gallery__img.active {
  opacity: 1;
}

.drawer-gallery__thumbs {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.drawer-gallery__thumb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  transition: all var(--trans);
}

.drawer-gallery__thumb.active {
  background: var(--white);
  width: 24px;
  border-radius: 4px;
}

.drawer-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}

.drawer-gallery__nav:hover {
  background: var(--white);
}

.drawer-gallery__prev {
  left: 16px;
}

.drawer-gallery__next {
  right: 16px;
}

.drawer-body {
  padding: 40px;
  flex: 1;
}

.drawer-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.drawer-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
}

.drawer-slogan {
  color: var(--gray);
  margin-top: 4px;
}

.drawer-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding: 24px;
  background: var(--cream);
  border-radius: 4px;
}

.drawer-spec {
  text-align: center;
}

.drawer-spec__val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--green);
}

.drawer-spec__key {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

.drawer-features {
  margin-top: 28px;
}

.drawer-features__title {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.drawer-features__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-features__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--black);
}

.drawer-features__item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.drawer-plans {
  margin-top: 28px;
}

.drawer-plans__title {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.drawer-plans__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.plan-tab {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 2px solid var(--gray-light);
  border-radius: 2px;
  color: var(--gray);
  background: var(--white);
  transition: all var(--trans);
}

.plan-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.plan-image {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--gray-light);
}

.plan-image.hidden {
  display: none;
}

.drawer-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================
   11. AMENITIES
   ===================== */
.amenities-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.amenity-tab {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid var(--gray-light);
  border-radius: 2px;
  color: var(--gray);
  background: var(--white);
  transition: all var(--trans);
}

.amenity-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.amenities-panel {
  display: none;
}

.amenities-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.amenities-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.amenities-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenities-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}

.amenity-item:first-child {
  border-top: 1px solid var(--gray-light);
}

.amenity-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.amenity-item__name {
  font-weight: 500;
  font-size: 0.9rem;
}

.amenity-item__detail {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

/* Amenity icons — Font Awesome */
.amenity-icon i {
  font-size: 1.15rem;
  color: var(--green);
}

.feat-icon {
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
}

/* =====================
   12. LOCATION
   ===================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.location-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location-img img {
  width: 100%;
}

.location-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.location-point {
  display: flex;
  align-items: center;
  gap: 16px;
}

.location-point__icon {
  color: var(--green);
  font-size: .8rem;
  flex-shrink: 0;
}

.location-point__text {
  font-size: 0.9rem;
}

.location-point__text strong {
  color: var(--green);
}

/* =====================
   13. LEAD FORM
   ===================== */
.form-section {
  background: var(--cream);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-info {
  padding-top: 20px;
}

.form-info .h2 {
  margin-top: 12px;
}

.form-info .lead {
  margin-top: 16px;
}

.form-contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.form-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--black);
  transition: color var(--trans);
}

.form-contact-link:hover {
  color: var(--green);
}

.form-contact-link__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.lead-form {
  background: var(--white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Project Tabs */
.form-project-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--green);
  background: #f9f6f0;
}

.form-project-tab {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.form-project-tab:first-child {
  border-right: 1px solid var(--green);
}

.form-project-tab.active {
  background: var(--green);
  color: #fff;
}

.form-project-tab:hover:not(.active) {
  background: rgba(74, 103, 65, 0.1);
  color: var(--dark);
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

/* =====================
   14. FLIPBOOK MODAL
   ===================== */
.flipbook-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all var(--trans);
  padding: 20px;
}

.flipbook-modal.open {
  visibility: visible;
  opacity: 1;
}

.flipbook-modal__inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.flipbook-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  color: var(--white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}

.flipbook-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.flipbook-modal__title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.flipbook-spread {
  display: flex;
  width: 100%;
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
  aspect-ratio: 2/0.73;
}

.flipbook-page-left,
.flipbook-page-right {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.flipbook-page-left {
  border-right: 2px solid rgba(0, 0, 0, 0.4);
}

.flipbook-page-left img,
.flipbook-page-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.flipbook-spine {
  width: 4px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(60, 60, 60, 0.4), rgba(0, 0, 0, 0.6));
  flex-shrink: 0;
}

.flipbook-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flipbook-nav {
  color: var(--white);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
  flex-shrink: 0;
}

.flipbook-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.flipbook-nav:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.flipbook-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  letter-spacing: 1px;
  min-width: 80px;
  text-align: center;
}

.flipbook-progress {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  max-width: 200px;
}

.flipbook-progress__bar {
  height: 100%;
  background: var(--green);
  border-radius: 1px;
  transition: width var(--trans);
}

/* Single page mobile */
.flipbook-page-single {
  display: none;
  flex: 1;
}

/* =====================
   15. FOOTER
   ===================== */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
}

.footer__top {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px 60px;
}

.footer__brand {}

.footer__logo-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--green);
  line-height: 1;
}

.footer__logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 2px;
  margin-top: 4px;
}

.footer__logo-sub {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.footer__desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--trans);
}

.footer__social:hover {
  border-color: var(--green);
  color: var(--green);
}

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--trans);
}

.footer__link:hover {
  color: var(--green);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer__contact-item strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 40px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__sites {
  display: flex;
  gap: 20px;
}

.footer__site {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--trans);
}

.footer__site:hover {
  color: var(--green);
}

/* =====================
   16. STICKY BOTTOM BAR (mobile)
   ===================== */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--gray-light);
}

.sticky-bar__inner {
  display: flex;
  height: 64px;
  width: 100%;
}

.sticky-bar__btn {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-right: 1px solid var(--gray-light);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--black);
  transition: background var(--trans);
  overflow: hidden;
}

.sticky-bar__btn:last-child {
  border-right: none;
}

.sticky-bar__btn:hover {
  background: var(--cream);
}

.sticky-bar__btn--wa {
  background: #25D366;
  color: #fff;
}

.sticky-bar__btn--wa:hover {
  background: #1da851;
}

.sticky-bar__btn--wa .sticky-bar__icon {
  color: #fff;
}

.sticky-bar__btn--call {
  color: var(--green);
}

.sticky-bar__icon {
  font-size: 1.25rem;
  color: var(--green);
  display: block;
}

/* Desktop floating CTA */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-cta__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--trans);
}

.float-cta__btn:hover {
  transform: scale(1.1);
}

.float-cta__btn--wa {
  background: #25D366;
}

.float-cta__btn--call {
  background: var(--green);
  color: var(--white);
}

/* =====================
   17. RAPPEL MODAL
   ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  transition: all var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  visibility: visible;
  opacity: 1;
}

.modal-box {
  background: var(--white);
  border-radius: 4px;
  padding: 48px;
  width: 100%;
  max-width: 560px;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--trans-slow);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}

.modal-close:hover {
  background: var(--gray-light);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 28px;
}

/* =====================
   18. ABOUT / TEXT SECTIONS
   ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img__main {
  border-radius: 4px;
  width: 100%;
}

.about-img__accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: 4px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about-content .overline {
  display: block;
  margin-bottom: 12px;
}

.about-content .lead {
  margin-top: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.about-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 24px 0;
}

@media (max-width: 767px) {
  .about-features-row {
    grid-template-columns: 1fr 1fr;
  }
  .about-features-row .about-feature {
    border-bottom: 1px solid var(--gray-light);
    padding: 12px 8px 12px 0;
  }
  .about-features-row .about-feature:nth-child(3),
  .about-features-row .about-feature:nth-child(4) {
    border-bottom: none;
  }
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
}

.about-feature:last-child {
  border-bottom: none;
}

.about-feature__dot {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: .85rem;
}

.location-point__dot {
  color: var(--green);
  font-size: .75rem;
  flex-shrink: 0;
}

.about-feature__text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-feature__text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Full-width image banner */
.img-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%);
  display: flex;
  align-items: center;
}

.img-banner__content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  color: var(--white);
}

.img-banner__content .h2 {
  color: var(--white);
  max-width: 500px;
}

.img-banner__content .lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
  margin-top: 12px;
}

.img-banner__content .btn {
  margin-top: 28px;
}

/* Two residences comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.compare-card {
  padding: 60px;
  background: var(--cream-dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-card--dark {
  background: var(--green-dark);
  color: var(--white);
}

.compare-card__logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 3px;
}

.compare-card__desc {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.8;
}

.compare-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* =====================
   19. REVEAL ANIMATIONS
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-20px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(20px);
}

.reveal--right.visible {
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* =====================
   20. ÉQUIPEMENTS GRID
   ===================== */

/* Equipment Category Sliders */
.equip-category__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.equip-category__icon {
  color: var(--green);
  font-size: 1.2rem;
}
.equip-category__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--black);
  flex: 1;
  margin: 0;
}
.equip-slider-nav {
  display: flex;
  gap: 8px;
}
.equip-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: background 0.2s, color 0.2s;
}
.equip-nav-btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.equip-slider {
  overflow: hidden;
  border-radius: 4px;
}
.equip-slider__track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.equip-slider__item {
  flex: 0 0 calc(33.333% - 11px);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.equip-slider__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}
.equip-slider__item:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .equip-slider__item { flex: 0 0 100%; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .equip-slider__item { flex: 0 0 calc(50% - 8px); }
}

.equipement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.equipement-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.equipement-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.equipement-item:hover img { transform: scale(1.04); }
.equipement-item__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 24px 16px 12px;
}

/* =====================
   21. LIGHTBOX
   ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--trans);
  z-index: 1;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

[data-lightbox] {
  cursor: zoom-in;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--trans);
  z-index: 1;
  cursor: pointer;
}
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__nav:hover { background: rgba(255,255,255,0.25); }

/* =====================
   21. MEDIA QUERIES
   ===================== */
@media (max-width: 1100px) {
  .villas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  :root {
    --section-pad: 60px;
  }

  .container {
    padding: 0 24px;
  }

  .header__inner {
    padding: 0 24px;
  }

  .header__burger {
    margin-right: 16px;
  }

  .reveal--left,
  .reveal--right {
    transform: translateY(20px);
  }

  .reveal--left.visible,
  .reveal--right.visible {
    transform: translateY(0);
  }

  .location-img { max-width: 100%; overflow: hidden; }
  .location-img img { width: 100%; height: auto; display: block; }
  .equipement-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .video-grid { grid-template-columns: 1fr !important; }
  .video-grid-inline { grid-template-columns: 1fr !important; }

  .header__nav,
  .header__phone,
  .header__actions .btn {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
    padding: 0 24px;
    padding-top: calc(var(--header-h) + 30px);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-grid,
  .location-grid,
  .form-wrap,
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img__accent {
    display: none;
  }

  .amenities-panel.active {
    grid-template-columns: 1fr;
  }

  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .villas-grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 24px 40px;
  }

  .footer__bottom {
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .float-cta {
    display: none;
  }

  .sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 767px) {
  #homeVillasGrid {
    grid-template-columns: 1fr !important;
  }

  .amenities-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .amenity-tab {
    padding: 12px 10px;
    text-align: center;
  }

  .mobile-nav__link {
    font-size: 2rem;
  }

  .hero__content {
    padding: 0 24px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  .drawer-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .drawer-features__list {
    grid-template-columns: 1fr;
  }

  .drawer-cta {
    flex-direction: column;
  }

  .drawer-cta .btn {
    justify-content: center;
  }

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

  .flipbook-spread {
    aspect-ratio: auto;
    height: 60vw;
  }

  .flipbook-page-left {
    display: none;
  }

  .flipbook-page-right {
    display: none;
  }

  .flipbook-page-single {
    display: block;
  }

  .lead-form {
    padding: 24px;
  }

  .modal-box {
    padding: 32px 24px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .compare-card {
    padding: 40px 24px;
  }

  .villa-drawer__panel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 48px;
  }

  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 24px 10px;
  }

  .stat-item__num {
    font-size: 2rem;
  }

  .hero--page {
    min-height: 50vh;
  }

  .hero:not(.hero--page) {
    height: auto;
    min-height: 60vh;
    padding-bottom: 60px;
  }

  .hero:not(.hero--page) .hero__content {
    padding-top: calc(var(--header-h) + 40px);
  }

  .mobile-nav__link {
    font-size: 1.75rem;
  }

  .sticky-bar__btn {
    font-size: 0.55rem;
  }

  .sticky-bar__icon {
    font-size: 1.1rem;
  }
}