/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  font-family: "Inter", Helvetica, sans-serif;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue-gradient);
  color: #fff;
  border: none;
}
.btn--white {
  background: #fff;
  color: var(--text-dark);
  border: none;
}
.btn--white-solid {
  background: #fff;
  color: var(--blue-end);
  font-weight: 600;
  border: none;
}
.btn--full { width: 100%; }

/* =========================================================
   SECTION SHARED
   ========================================================= */
.section {
  padding-block: 72px;
}

.section__head {
  text-align: center;
  margin-bottom: 48px;
}
.section__title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section__desc {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-body);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.65;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  padding-block: 4px;
}
.header.scrolled {
  background: rgba(16, 24, 40, 0.95);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.header.menu-open {
  background: rgba(16, 24, 40, 0.97);
  box-shadow: none;
  backdrop-filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

.nav__link {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.1px;
}
.nav__link:hover { background: rgba(255,255,255,0.12); color: #fff; }

.nav__cta {
  margin-left: 16px;
  padding: 10px 20px;
  font-size: 14px;
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: url('assets/hero.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,30,70,0.4);
}

.hero__desc {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 560px;
  text-shadow: 0 1px 8px rgba(0,30,70,0.3);
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  justify-content: space-between;
  max-width: 600px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.92);
  font-size: 15px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions .btn {
  min-width: 160px;
  padding: 14px 28px;
  font-size: 16px;
}

/* =========================================================
   PROPERTIES
   ========================================================= */
.properties {
  background: var(--bg-gray);
}

.properties__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.prop-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.prop-card__img {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: bottom;
  flex-shrink: 0;
}

.prop-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 999px;
}

.prop-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prop-card__name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.prop-card__loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 12px;
}
.prop-card__loc svg { flex-shrink: 0; color: var(--text-body); }

.prop-card__price {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.3;
}

.prop-card__specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: center;
}

.spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 70px;
}
.spec svg { color: var(--text-mid); }
.spec__val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.3;
  text-align: center;
}
.spec__lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.properties__footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.properties__footer p {
  color: var(--text-body);
  font-size: 15px;
}

/* =========================================================
   AMENITIES
   ========================================================= */
.amenities {
  background: #fff;
}

.amenities__featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.amenity-img-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-card);
}
.amenity-img-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}
.amenity-img-card:hover .amenity-img-card__bg { transform: scale(1.04); }
.amenity-img-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 50%, transparent 100%);
}
.amenity-img-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}
.amenity-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.amenity-icon img { width: 100%; height: 100%; object-fit: contain; }
.amenity-img-card__content h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}
.amenity-img-card__content p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.5;
}

.amenities__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.amenity-info-card {
  background: var(--bg-gray);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.amenity-info-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}
.amenity-info-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.amenity-info-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.amenity-info-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  background: #fff;
}

.gallery__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.gallery__tab {
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: var(--bg-light);
  color: var(--text-mid);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.gallery__tab:hover { background: #e5e7eb; }
.gallery__tab.active {
  background: var(--blue-gradient);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,126,231,0.3);
}

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

.gallery__item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e5e7eb;
  transition: transform 0.2s;
}
.gallery__item:hover { transform: scale(1.02); }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
  background: var(--bg-gray);
}

.contact__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.contact__form-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}
.contact__form-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
}

.form__input,
.form__textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: "Inter", Helvetica, sans-serif;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(10,10,10,0.4); }
.form__input:focus,
.form__textarea:focus {
  border-color: var(--blue-end);
  box-shadow: 0 0 0 3px rgba(26,126,231,0.12);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.contact__info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__info-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.contact__info-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact__item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.contact__item-icon img { width: 100%; height: 100%; object-fit: contain; }
.contact__item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.contact__item p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}
.contact__link {
  color: var(--text-body);
  text-decoration: underline;
}
.contact__link:hover { color: var(--blue-end); }

.contact__cta-card {
  background: var(--blue-gradient);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.contact__cta-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.contact__cta-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--text-dark);
  padding-top: 56px;
  padding-bottom: 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e2939;
}

.footer__brand-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__brand-head span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.footer__brand p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 18px;
}

.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text-light);
  transition: background 0.2s, color 0.2s;
}
.footer__social-link:hover { background: rgba(255,255,255,0.16); color: #fff; }
.footer__social-link--wa { background: #25D366; color: #fff; }
.footer__social-link--wa:hover { background: #20b659; color: #fff; }

.footer__col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col li,
.footer__col a {
  color: var(--text-light);
  font-size: 13px;
  transition: color 0.2s;
}
.footer__col a:hover { color: #fff; }

.footer__map-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding-block: 32px;
  align-items: start;
  border-bottom: 1px solid #1e2939;
}

.footer__map-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__map-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.footer__map-head span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.footer__map-info p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
}
.footer__map-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  transition: background 0.2s;
}
.footer__map-btn:hover { background: rgba(255,255,255,0.18); }

.footer__map-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.footer__bottom {
  padding-block: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.footer__bottom p {
  color: var(--text-light);
  font-size: 12px;
}

/* =========================================================
   WHATSAPP FAB
   ========================================================= */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 200;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__map-section {
    grid-template-columns: 1fr;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding-block: 52px; }

  /* Nav mobile */
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 24, 40, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 99;
    overflow-y: auto;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__link { font-size: 20px; padding: 12px 24px; }

  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(30px, 9vw, 52px); }

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

  .amenities__featured {
    grid-template-columns: 1fr;
  }
  .amenities__info {
    grid-template-columns: 1fr;
  }

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

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

  .footer__map-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .hero__features {
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .contact__form-card,
  .contact__info-card,
  .contact__cta-card {
    padding: 24px 18px;
  }
}
