:root {
  --deep-green: #12382d;
  --forest: #245244;
  --sand: #f4f0e5;
  --gold: #b9965a;
  --text-dark: #1d2a26;
  --white: #ffffff;
  --soft-cream: #fbf8f1;
  --muted-green: #5f766d;
  --border-soft: #d8e2dc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--sand);
  line-height: 1.6;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--deep-green);
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.2rem;
  background:
    linear-gradient(120deg, rgba(8, 28, 21, 0.9), rgba(24, 81, 62, 0.6)),
    url('/static/golf-aerea.jpeg') center / cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 12, 0.28);
}

.hero-content {
  position: relative;
  max-width: 920px;
  color: var(--white);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.subtitle {
  font-size: 1.18rem;
  max-width: 760px;
  margin: 0 auto 0.8rem;
}

.hero-description {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  font-size: 1.02rem;
}

.hero-actions,
.cta-row,
.closing-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions,
.cta-row {
  margin-top: 3rem;
  padding-top: 2rem;
}

.closing-actions {
  margin-top: 1.2rem;
}

.cta-button,
button {
  background: var(--gold);
  color: #241707;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  display: inline-block;
}

.cta-button:hover,
button:hover {
  transform: translateY(-2px);
  opacity: 0.97;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.cta-button.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.content-wrapper {
  display: grid;
  gap: 1.25rem;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}

.card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.card h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 8px;
  background: #c9a96a;
  border-radius: 2px;
}

.benefit-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.section-description {
  color: var(--muted-green);
  margin-bottom: 2rem;
  max-width: 800px;
  line-height: 1.6;
}

.section-note {
  margin-top: 1rem;
  color: var(--forest);
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
  color: var(--deep-green);
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 0.72rem;
  font: inherit;
  background: var(--soft-cream);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(185, 150, 90, 0.25);
  border-color: var(--gold);
}

.field-error {
  color: #b42318;
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
}

.feedback {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border-radius: 12px;
  white-space: pre-line;
}

.feedback.success {
  background: #e5f5ec;
  color: #0d4c2f;
}

.feedback.error {
  background: #ffe8e8;
  color: #842029;
}

/* Admin */
.admin-body {
  background: #f7f8f6;
}

.dashboard-container {
  padding: 1rem;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.7rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e6ece8;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
}

.filter-actions {
  display: flex;
  align-items: end;
}

.table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

th,
td {
  padding: 0.72rem;
  border-bottom: 1px solid #edf1ee;
  text-align: left;
}

th {
  background: #f0f4f1;
}

.badge {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge.hot {
  background: #ffd8d6;
  color: #8e2012;
}

.badge.warm {
  background: #fff1d2;
  color: #8a5200;
}

.badge.cold {
  background: #d9ecff;
  color: #00427a;
}

.image-grid,
.lots-grid,
.build-grid,
.vision-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.image-grid {
  grid-template-columns: repeat(3, 1fr);
}

.image-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.lots-grid,
.build-grid,
.vision-grid {
  grid-template-columns: repeat(3, 1fr);
}

.lot-card,
.build-card,
.vision-card,
.location-card {
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.lot-card {
  background: #f8f5ed;
  border: 1px solid #e1d8c7;
  padding: 1.6rem;
}

.build-card,
.vision-card {
  background: #f6f2e8;
  border: 1px solid #ddd3c2;
}

.build-card {
  padding: 1.4rem;
}

.vision-card {
  padding: 1.1rem;
}

.location-card {
  background: #f7f3ea;
  border: 1px solid #ded4c3;
  padding: 1.1rem;
}

.lot-card h3,
.growth-card h3,
.location-card h3,
.vision-card h3,
.build-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: 'Playfair Display', serif;
  color: var(--deep-green);
}

.lot-card h3 {
  font-size: 1.2rem;
}

.growth-card h3,
.location-card h3,
.vision-card h3 {
  font-size: 1.15rem;
}

.lot-card p,
.growth-card p,
.location-card p,
.vision-card p,
.build-card p,
.team-box p,
.closing-text {
  color: #50675e;
  line-height: 1.6;
}

.lot-card p,
.growth-card p,
.vision-card p,
.build-card p {
  margin: 0;
}

.location-card p {
  margin-bottom: 0.9rem;
}

.price-highlight {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.45rem 0.9rem;
  background: #efe3c7;
  color: #6a4b14;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  padding: 14px 20px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  font-size: 14px;
}

.whatsapp-float:hover {
  background: #1ebe5d;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.growth-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.growth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

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

.closing-text {
  max-width: 720px;
  margin: 0.6rem auto;
}

.closing-section .cta-secondary,
.card-bg-image.closing-section .cta-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;

  color: white !important;
  border: 2px solid rgba(255,255,255,0.9) !important;

  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);

  transition: all 0.25s ease;
}

.closing-section .cta-secondary:hover,
.card-bg-image.closing-section .cta-secondary:hover {
  background: white !important;
  color: var(--deep-green) !important;
  border-color: white !important;
  transform: translateY(-2px);
}

.map-button {
  display: inline-block;
  background: var(--deep-green);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.map-button:hover {
  opacity: 0.92;
}

.map-container,
.masterplan-container {
  margin-top: 1rem;
  border-radius: 14px;
  overflow: hidden;
}

.map-container {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.masterplan-container {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.masterplan-container img {
  width: 100%;
  height: auto;
  display: block;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
  align-items: start;
}

.overview-item {
  display: flex;
  flex-direction: column;
}

.overview-item h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.masterplan-link {
  display: block;
}

.overview-item img,
.overview-item iframe {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
  background: #f8f8f8;
}

.overview-item img {
  object-fit: contain;
}

.overview-item iframe {
  object-fit: contain;
  border: 0;
}

.overview-item .map-button {
  margin-top: 0.8rem;
  align-self: flex-start;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 10000;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: 95vw;
  height: 90vh;
  max-width: none;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: white;
}

.lightbox-content--zoomable {
  position: relative;
  width: 95vw;
  height: 90vh;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-toolbar {
  display: flex;
  gap: 0.6rem;
  padding: 1rem;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
  z-index: 2;
}

.zoom-button {
  background: var(--deep-green);
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-scroll {
  flex: 1;
  overflow: auto;
  background: #f5f5f5;
  padding: 1rem;
}

.lightbox-scroll img {
  display: block;
  max-width: none;
  width: 3000px;
  height: auto;
  transform-origin: top left;
}

.lightbox-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #12382d;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

.masterplan-wrapper {
  position: relative;
}

.lot-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.lot-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #b9965a;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lot-tooltip {
  position: absolute;
  left: 20px;
  top: -10px;
  min-width: 210px;
  background: #ffffff;
  color: #1d2a26;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease;
  pointer-events: none;
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
}

.lot-tooltip strong {
  font-size: 15px;
  color: var(--deep-green);
}

.lot-hotspot:hover .lot-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Posiciones aproximadas */
.hotspot-6 {
  top: 22%;
  left: 48%;
}

.hotspot-31 {
  top: 72%;
  left: 36%;
}

.hotspot-32 {
  top: 74%;
  left: 42%;
}

.hotspot-69 {
  top: 58%;
  left: 78%;
}

.hotspot-70 {
  top: 64%;
  left: 80%;
}

.future-vision {
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 10px;
  opacity: 0.9;
}

.vision-grid {
  margin-top: 1.5rem;
  gap: 1.2rem;
}

.vision-grid .vision-card:nth-child(4) {
  grid-column: 1 / 2;
}

.vision-grid .vision-card:nth-child(5) {
  grid-column: 2 / 3;
}

.card-bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.card-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 20, 0.65);
}

.card-bg-image > * {
  position: relative;
  z-index: 2;
}

.card-bg-image > h2,
.card-bg-image > h3,
.card-bg-image > p,
.card-bg-image > .section-description,
.card-bg-image > .growth-grid {
  position: relative;
  z-index: 2;
}

.card-bg-image > h2,
.card-bg-image > h3,
.card-bg-image > p,
.card-bg-image > .section-description,
.card-bg-image li {
  color: white;
}

.card-bg-image h2 {
  color: white;
  font-size: 2.2rem;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.card-bg-image .growth-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.card-bg-image .growth-card h3 {
  color: var(--deep-green) !important;
}

.card-bg-image .growth-card p {
  color: #445a50 !important;
}

.growth-card h3 {
  color: var(--deep-green);
}

.growth-card p {
  color: #445a50;
}

.closing-section h2::after {
  margin-left: auto;
  margin-right: auto;
}

.subsection-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--deep-green);
  font-family: 'Playfair Display', serif;
}

.build-note {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: #6b7f76;
}

.team-box {
  margin-top: 2rem;
  background: #f3efe5;
  border: 1px solid #ddd3c2;
  border-radius: 14px;
  padding: 1.4rem;
}

.team-box h3 {
  margin-top: 0;
  color: var(--deep-green);
}

.team-box p {
  margin-bottom: 0;
  line-height: 1.7;
}

.image-divider {
  width: 100%;
  height: 340px;
  background-size: cover;
  background-position: center;
  margin: 2rem 0;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.side-decor {
  position: fixed;
  top: 0;
  width: 160px;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.side-decor.left {
  left: 0;
}

.side-decor.right {
  right: 0;
}

#app {
  position: relative;
  z-index: 1;
}

.video-bg-section {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 500px;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 2rem;
}

.video-content h2,
.video-content p,
.video-content li {
  color: white;
}

.video-content h2,
.video-content p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.video-bg-section .build-card {
  background: rgba(246, 242, 232, 0.95);
}

.video-bg-section .build-card h3 {
  color: #1f3d2b;
}

.video-bg-section .build-card p {
  color: #333333;
}

.video-bg-section .cta-secondary {
  color: white;
  border: 2px solid white;
}

.video-bg-section .cta-secondary:hover {
  background: white;
  color: #1f3d2b;
}

@media (max-width: 860px) {
  .grid,
  .filters,
  .lots-grid,
  .growth-grid,
  .overview-grid,
  .build-grid,
  .vision-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh;
  }

  .card {
    padding: 1.2rem;
  }

  .lot-tooltip {
    min-width: 180px;
    font-size: 12px;
  }

  .lot-pin {
    width: 14px;
    height: 14px;
  }
}

.cta-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22) !important;
  transition: all 0.25s ease !important;
}

.cta-secondary:hover {
  background: #ffffff !important;
  color: var(--deep-green) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}