:root {
  --cream: #f1efea;
  --brown: #cc9658;
  --yellow: #cc9658;
  --dark: #001133;
  --blue: #001133;
  --white: #ffffff;
  --muted: #4d596a;
  --line: rgba(0, 17, 51, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: "Outfit", Arial, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100% - 1120px) / 2));
  color: var(--white);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-decoration: none;
}

.brand small { display: block; margin-top: 4px; font-size: 8px; letter-spacing: 0.26em; }

.brand__logo {
  width: 38px;
  height: 48px;
  object-fit: contain;
}

.header-actions { display: flex; gap: 22px; align-items: center; }

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

.social-links a {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: var(--white);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px) scale(1.08);
  background: var(--cream);
  color: var(--dark);
}

.social-links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links a:last-child svg { fill: currentColor; stroke: none; }

.main-nav { display: flex; gap: 25px; align-items: center; }
.main-nav a { color: var(--white); font-size: 12px; text-decoration: none; }
.nav-cta { border: 1px solid var(--yellow); padding: 9px 14px; }
.menu-toggle { display: none; border: 0; background: none; color: var(--white); }

.hero {
  position: relative;
  display: flex;
  min-height: 690px;
  align-items: end;
  overflow: hidden;
  padding: 136px 0 110px;
  background: linear-gradient(120deg, #43546f, var(--dark) 65%);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";

  background-image:
    linear-gradient(
      to top,
      rgba(0, 17, 51, 0) 25%,
      rgba(0, 17, 51, 0.35) 55%,
      rgba(0, 17, 51, 0.92) 100%
    ),
    linear-gradient(
      to right,
      rgba(0, 17, 51, 0.78) 0%,
      rgba(0, 17, 51, 0.25) 55%,
      rgba(0, 17, 51, 0.15) 100%
    ),
    url("../assets/images/renders/entrada.jpeg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  opacity: 1;
}
.hero__content { z-index: 1; }

.eyebrow { margin: 0 0 14px; color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; }
.hero h1, h2, h3 { margin: 0; font-family: "Outfit", Arial, sans-serif; }
.hero h1 { max-width: 750px; font-size: clamp(45px, 7vw, 82px); font-weight: 400; line-height: 0.98; }
.hero h1 em { color: var(--yellow); font-style: italic; }
.hero__lead { max-width: 480px; margin: 23px 0 29px; font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button--gold { background: var(--yellow); color: var(--dark); }
.button--ghost { border-color: var(--white); color: var(--white); }
.button--outline { border-color: var(--brown); color: var(--dark); }

.button:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 22px rgba(0, 17, 51, 0.22); }
.button:active, .social-links a:active { transform: translateY(0) scale(0.97); }

.hero__asset-note {
  position: absolute;
  right: 20px;
  bottom: 12px;
  left: 20px;
  text-align: center;
  color: var(--cream);
  font-size: 10px;
}

.hero__asset-note code { color: var(--white); }
.section { padding: 95px 0; }
.section--light { background: var(--cream); }
.split-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 55px; align-items: end; }
.split-intro h2, .section-heading h2, .lifestyle h2, .contact h2 { font-size: clamp(34px, 4vw, 53px); font-weight: 400; line-height: 1.04; }
.intro-copy { margin: 0; color: var(--muted); font-size: 16px; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.benefits article { padding-top: 16px; border-top: 1px solid var(--line); }
.benefits span { color: var(--brown); font-size: 11px; }
.benefits h3 { margin: 32px 0 8px; font-size: 21px; font-weight: 400; }
.benefits p { margin: 0; color: var(--muted); font-size: 14px; }

.section--dark { background: var(--dark); color: var(--white); }
.section-heading p:last-child { color: var(--cream); }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; }
.home-card { background: var(--white); color: var(--dark); transition: transform 220ms ease, box-shadow 220ms ease; }
.home-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(0, 17, 51, 0.24); }

.home-card__image {
  display: grid;
  min-height: 285px;
  place-items: center;
  background: linear-gradient(135deg, #c6b8ab, var(--brown));
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.lifestyle__image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--dark);
}

.lifestyle__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.render-card {
  position: relative;
  overflow: hidden;
  height: 285px;
  padding: 0;
  cursor: zoom-in;
  background: #ddd;
}

.render-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.render-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100vw;
  height: 100vh;

  padding: 30px;

  background: rgba(0, 17, 51, 0.94);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}

.render-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.render-lightbox__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  transform: scale(0.85);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.render-lightbox.is-open .render-lightbox__content {
  transform: scale(1);
}

.render-lightbox__content img {
  display: block;

  width: auto;
  height: auto;

  max-width: 94vw;
  max-height: 88vh;

  object-fit: contain;

  border-radius: 2px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.render-lightbox__close {
  position: absolute;
  z-index: 10000;

  top: 20px;
  right: 25px;

  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;

  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;

  background: rgba(0, 17, 51, 0.7);

  color: white;

  cursor: pointer;

  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;

  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.render-lightbox__close:hover {
  background: var(--brown);
  transform: scale(1.08);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .render-lightbox {
    padding: 15px;
  }

  .render-lightbox__content img {
    max-width: 96vw;
    max-height: 82vh;
  }

  .render-lightbox__close {
    top: 12px;
    right: 12px;

    width: 42px;
    height: 42px;

    font-size: 27px;
  }
}

.home-card__body { padding: 28px; }
.home-card h3 { font-size: 42px; font-weight: 400; }
.home-card ul { margin: 16px 0 25px; padding: 0; color: var(--muted); font-size: 14px; list-style: none; }
.home-card li { margin: 5px 0; }
.home-card i { color: var(--yellow); font-style: normal; }
.text-link { color: var(--dark); font-size: 12px; font-weight: bold; text-decoration: none; transition: color 180ms ease; }
.text-link:hover { color: var(--brown); }
.text-link span { margin-left: 8px; color: var(--brown); }

.lifestyle { display: grid; min-height: 570px; grid-template-columns: 1fr 1fr; }
.lifestyle__image { min-height: 100%; background-image: linear-gradient(135deg, var(--blue), #4f6272); }

.lifestyle__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 9vw, 130px);
  background: #eee7df;
}

.lifestyle__content p:not(.eyebrow) { margin: 22px 0 28px; color: var(--muted); }

.map-placeholder {
  display: grid;
  height: 285px;
  place-items: center;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 1, 0, 0.18), rgba(0, 1, 0, 0.18)), url("../assets/images/mapa-villa-kuito.png");
  background-position: center;
  background-size: cover;
}

.map-placeholder__overlay {
  display: grid;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(247, 245, 241, 0.93);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.map-placeholder a { color: var(--brown); font-size: 13px; font-weight: bold; letter-spacing: 0; text-decoration: none; }
.contact { padding: 95px 0; background: var(--dark); color: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact__inner > div > p:not(.eyebrow) { color: var(--cream); }
.interest-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }

.interest-options a {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.interest-options a:hover { border-color: var(--yellow); background: var(--yellow); color: var(--dark); transform: translateY(-2px); }
.interest-options a span { float: right; }

.site-footer { padding: 35px 0; background: #14100d; color: var(--white); }
.footer-content { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: center; }
.footer-content p { margin: 0; color: #cfc9c3; font-size: 11px; }
.footer-note { text-align: right; }
.floating-whatsapp {
  position: fixed;
  z-index: 5;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--brown);
  box-shadow: 0 8px 24px rgba(0, 17, 51, 0.3);
  color: var(--cream);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.floating-whatsapp svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.08); background: var(--dark); box-shadow: 0 12px 28px rgba(0, 17, 51, 0.38); }
.floating-whatsapp:active { transform: translateY(0) scale(0.95); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cfc9c3;
  font-size: 11px;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-contact a:hover {
  color: var(--yellow);
  transform: translateY(-2px);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-contact a:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.footer-contact__icon {
  font-size: 15px;
  line-height: 1;
}

.footer-copy {
  text-align: right;
}

@media (max-width: 700px) {
  .site-header { height: 64px; }
  .menu-toggle { display: block; }
  .header-actions { gap: 14px; }
  .main-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 20px;
    background: var(--dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
    visibility: hidden;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
  .hero { min-height: 650px; padding: 120px 0 95px; }
  .hero h1 { font-size: 50px; }
  .hero__lead { font-size: 16px; }
  .section { padding: 68px 0; }
  .split-intro, .home-grid, .lifestyle, .contact__inner { grid-template-columns: 1fr; gap: 30px; }
  .benefits { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .benefits h3 { margin-top: 18px; font-size: 18px; }
  .lifestyle__image {
    min-height: 330px;
  }

  .lifestyle__image img {
    min-height: 330px;
  }

  .lifestyle__content { padding: 60px 20px; }
  .contact__inner { gap: 36px; }
  .interest-options { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; text-align: left; }
  .footer-note { text-align: left; }
  .floating-whatsapp { right: 20px; bottom: 20px; }

  .render-card__hint {
    opacity: 1;
    transform: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
