/* ═══════════════════════════════════════════════════════════════════════════
   ÁBSIDE 2 · style.css
   Tipografía: Cormorant Garamond (display) + DM Sans (body)
   Paleta: verde profundo · marfil · cobre · carbón
   ═══════════════════════════════════════════════════════════════════════════ */

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

/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #3d5247;
  --green-2:    #28372f;
  --green-soft: #e8efe9;
  --accent:     #1fd44a;
  --ivory:      #f6f3ec;
  --ivory-2:    #ede6d7;
  --sand:       #d6c6ad;
  --stone:      #8a867a;
  --copper:     #a96040;
  --ink:        #1c2720;
  --white:      #ffffff;
  --shadow-sm:  0 8px 32px rgba(28,39,32,.09);
  --shadow-md:  0 22px 64px rgba(28,39,32,.13);
  --shadow-lg:  0 36px 100px rgba(28,39,32,.16);
  --radius:     26px;
  --max:        1160px;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --ease:       cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.58;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.024em;
  color: var(--ink);
  text-wrap: balance;
  font-variant-numeric: lining-nums;
}
h1 { font-size: clamp(50px, 7.2vw, 108px); line-height: 1.02; }
h2 { font-size: clamp(38px, 4.6vw, 72px);  line-height: 1.07; }
h3 { font-size: clamp(22px, 2.2vw, 34px);  line-height: 1.16; }

p { color: rgba(28,39,32,.72); font-size: clamp(15px, 1.15vw, 17.5px); }

.lead {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.52;
  color: rgba(28,39,32,.78);
}

.section   { padding: clamp(90px, 11vw, 158px) 0; position: relative; }
.section-s { padding: clamp(60px, 7vw, 104px)  0; position: relative; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: #1fd44a;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .015em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), background .22s, color .22s, border-color .22s, box-shadow .22s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(45,61,55,.22);
}
.btn-primary:hover { background: var(--green-2); }

.btn-ghost {
  background: rgba(255,255,255,.68);
  color: var(--ink);
  border-color: rgba(28,39,32,.2);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: rgba(28,39,32,.4); background: var(--white); }

.btn-outline-white {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.38);
  backdrop-filter: blur(12px);
}
.btn-outline-white:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }

.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ── Pill tags ────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1.5px solid rgba(61,82,71,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 700;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ── Architectural frame ──────────────────────────────────────────────────── */
.frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #d4d0ca;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.frame img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.frame:hover img { transform: scale(1.04); }
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.32);
  clip-path: inherit;
  pointer-events: none;
}

/* ── Reveal animations ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  HEADER                                                                    */
/* ══════════════════════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(246,243,236,.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(28,39,32,.08);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { width: 130px; height: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(28,39,32,.7);
}
.nav a { transition: color .2s; letter-spacing: .02em; }
.nav a:hover { color: var(--ink); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.5);
  border: 1.5px solid rgba(28,39,32,.16);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  HERO                                                                      */
/* ══════════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 80px);
  position: relative;
  display: grid;
  align-items: end;
  background: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.94) contrast(.97);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,20,17,.78) 0%, rgba(14,20,17,.44) 44%, rgba(14,20,17,.08) 100%),
    linear-gradient(0deg,  rgba(14,20,17,.72) 0%, rgba(14,20,17,.0)  50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(80px, 12vw, 148px) 0 48px;
  color: var(--white);
}
.hero-content .eyebrow { color: rgba(255,255,255,.92); }
.hero-content .eyebrow::before { background: var(--accent); opacity: 1; }
.hero-content h1 { color: var(--white); margin-top: 18px; max-width: 860px; }
.hero-content .lead { color: rgba(255,255,255,.82); max-width: 620px; margin-top: 22px; }

.hero-cta { margin-top: 38px; }
.hero-cta .btn-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}
.hero-cta .btn-primary:hover { background: var(--green-2); color: var(--white); }

/* Stats bar Base */
.hero-stats {
  margin-top: clamp(52px, 7vw, 96px);
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 1px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  width: 100% !important;
}

.hero-stat {
  padding: 16px 8px !important;
  background: rgba(255,255,255,.09);
  flex: 1 1 0px !important;
  min-width: 0 !important;
  text-align: left;
}

.hero-stat strong,
.hero-stat h3,
.hero-stat .stat-title {
  display: block;
  color: var(--white);
  font-size: clamp(0.85rem, 1.15vw, 1.25rem) !important;
  line-height: 1.15;
  font-family: var(--serif);
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.hero-stat span,
.hero-stat p,
.hero-stat .stat-desc {
  display: block;
  color: rgba(255,255,255,.66);
  font-size: clamp(0.62rem, 0.72vw, 0.75rem) !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
  line-height: 1.15;
}

/* 6-stat variant */
.hero-stats-6 {
  display: flex !important;
  flex-wrap: nowrap !important;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  INTRO                                                                     */
/* ══════════════════════════════════════════════════════════════════════════ */
.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
}

.editorial-card {
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(28,39,32,.08);
  border-radius: var(--radius);
  padding: clamp(30px, 4.5vw, 56px);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}
.editorial-card p + p { margin-top: 18px; }
.editorial-card h2 { margin-top: 16px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  SPLIT (diseño interior)                                                   */
/* ══════════════════════════════════════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(38px, 6vw, 88px);
  align-items: center;
}
.copy-stack > * + * { margin-top: 24px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  PULLQUOTE                                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */
.pullquote {
  background: var(--green);
  color: var(--white);
  padding: clamp(80px, 10vw, 130px) 0;
}
.pullquote .eyebrow { color: rgba(255,255,255,.82); }
.pullquote .eyebrow::before { background: var(--accent); opacity: 1; }
.pullquote h2 { color: var(--white); max-width: 1000px; margin-top: 18px; }
.pullquote p  { color: rgba(255,255,255,.72); margin-top: 24px; max-width: 680px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  ARCHITECTURE (galería 3 imágenes)                                         */
/* ══════════════════════════════════════════════════════════════════════════ */
.arch-bg { background: var(--ivory-2); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: clamp(36px, 5vw, 76px);
}
.section-head p { max-width: 500px; }

.arch-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 20px;
  align-items: stretch;
}
.arch-grid .frame:first-child { min-height: 700px; }
.arch-side { display: grid; gap: 20px; }
.arch-side .frame { min-height: 338px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  EFFICIENCY                                                                */
/* ══════════════════════════════════════════════════════════════════════════ */
.efficiency-bg { background: var(--green-soft); }

.benefit-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(36px, 7.5vw, 98px);
  align-items: start;
}

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

.benefit {
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(61,82,71,.12);
  border-radius: 24px;
  padding: 26px;
  min-height: 172px;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.benefit-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800;
  margin-bottom: 20px;
}
.benefit h3 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.022em;
  margin-bottom: 10px;
}
.benefit p { font-size: 13.5px; color: rgba(28,39,32,.64); }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  LIFESTYLE                                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */
.lifestyle-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(34px, 6.5vw, 88px);
  align-items: center;
}

.points-list { display: grid; gap: 20px; margin-top: 34px; }

.point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  border-top: 1px solid rgba(28,39,32,.1);
  padding-top: 20px;
}
.point-num { color: var(--green); font-weight: 900; font-size: 13px; padding-top: 2px; }
.point strong { display: block; color: var(--ink); margin-bottom: 5px; font-size: 15px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  PLANS                                                                     */
/* ══════════════════════════════════════════════════════════════════════════ */
.plans-bg {
  background: var(--ink);
  color: var(--white);
}
.plans-bg .eyebrow { color: rgba(255,255,255,.82); }
.plans-bg .eyebrow::before { background: var(--accent); opacity: 1; }
.plans-bg h2 { color: var(--white); }
.plans-bg .section-head p { color: rgba(255,255,255,.68); }

.tabs { margin-top: 44px; display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }

.tab-buttons { display: grid; gap: 10px; }

.tab-btn {
  width: 100%; text-align: left;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.72);
  border-radius: 20px;
  padding: 18px 20px;
  cursor: pointer;
  transition: background .22s, border-color .22s, color .22s;
}
.tab-btn strong { display: block; font-size: 17px; margin-bottom: 4px; color: inherit; font-family: var(--serif); font-weight: 600; }
.tab-btn span   { font-size: 12px; color: rgba(255,255,255,.54); }
.tab-btn[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: transparent; }
.tab-btn[aria-selected="true"] span { color: rgba(28,39,32,.55); }

.tab-panel {
  display: none;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
.tab-panel.active { display: grid; grid-template-columns: 1fr .78fr; }

.plan-img {
  background: var(--white);
  padding: 20px;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.plan-img img { width: 100%; height: auto; }

.plan-info { padding: clamp(28px, 4vw, 50px); align-self: center; }
.plan-info h3 { color: var(--white); margin-bottom: 14px; }
.plan-info p  { color: rgba(255,255,255,.68); font-size: 14px; }

.area-list { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.area-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.74);
  font-size: 14px;
}
.area-list strong { color: var(--white); white-space: nowrap; }

.area-total {
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(31,212,74,.15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  font-weight: 800;
  font-size: 14.5px;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  SECTION VIEW (sección 3D)                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */
.section-view-bg {
  background: linear-gradient(180deg, var(--ivory) 0%, rgba(232,239,233,.65) 100%);
}
.section-view-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(36px, 6.5vw, 84px);
  align-items: center;
}
.section-view-media { position: relative; }
.section-view-media .frame img { min-height: 540px; }

.view-note {
  position: absolute;
  left: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  background: rgba(246,243,236,.9);
  border: 1px solid rgba(28,39,32,.1);
  backdrop-filter: blur(14px);
  padding: 16px 18px;
  max-width: 300px;
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.view-note strong { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.view-note span   { display: block; font-size: 13px; color: rgba(28,39,32,.64); line-height: 1.45; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  QUALITIES                                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 48px;
}

.quality-card {
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(28,39,32,.08);
  border-radius: 24px;
  padding: 28px;
  min-height: 220px;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.quality-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.quality-card small {
  display: inline-flex;
  color: var(--green);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 16px;
}
.quality-card h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.026em;
  margin-bottom: 12px;
}
.quality-card p { font-size: 13.5px; color: rgba(28,39,32,.64); }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  GALLERY                                                                   */
/* ══════════════════════════════════════════════════════════════════════════ */
.gallery-bg { background: var(--ivory-2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: 18px;
  margin-top: 50px;
}
.gallery-grid .frame { min-height: 420px; }
.g-wide { grid-column: span 8; }
.g-tall { grid-column: span 4; }
.g-half { grid-column: span 6; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  LOCATION MAP (schematic)                                                  */
/* ══════════════════════════════════════════════════════════════════════════ */
.location-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(34px, 6.5vw, 84px);
  align-items: center;
}

.nearby-map {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 85%, rgba(61,82,71,.1), transparent 22%),
    radial-gradient(circle at 76% 42%, rgba(61,82,71,.1), transparent 24%),
    linear-gradient(135deg, rgba(232,240,233,.94), rgba(247,244,236,.92)),
    repeating-linear-gradient(0deg, rgba(61,82,71,.08) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(61,82,71,.08) 0 1px, transparent 1px 56px);
  border: 1px solid rgba(61,82,71,.12);
  box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.map-title {
  position: absolute;
  z-index: 8;
  top: 62px;
  left: 60px;
  width: min(400px, calc(100% - 120px));
  padding: 26px 28px;
  background: rgba(246,243,236,.93);
  border: 1px solid rgba(61,82,71,.1);
  box-shadow: 0 20px 50px rgba(45,61,55,.08);
}
.map-title strong { display: block; margin-bottom: 8px; color: var(--green); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.map-title h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; color: rgba(28,39,32,.72); line-height: 1.55; }

/* Roads */
.road { position: absolute; z-index: 1; background: rgba(61,82,71,.2); border-radius: 999px; }
.road-main  { left: 10%; right: 10%; top: 62%; height: 12px; background: linear-gradient(90deg, rgba(61,82,71,.34), rgba(61,82,71,.22)); }
.road-left  { left: 27%; top: 38%; bottom: 14%; width: 10px; }
.road-right { right: 27%; top: 34%; bottom: 17%; width: 10px; }
.road-bot   { left: 16%; right: 18%; bottom: 20%; height: 8px; background: rgba(61,82,71,.13); }

.street-label {
  position: absolute; z-index: 3;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(61,82,71,.6); font-weight: 700;
}
.sl-main  { left: 48%; top: 57%; transform: translateX(-50%); }
.sl-left  { left: 24%; top: 45%; writing-mode: vertical-rl; transform: rotate(180deg); }
.sl-right { right: 24%; top: 42%; writing-mode: vertical-rl; }

/* Plots */
.plot-row {
  position: absolute; z-index: 5;
  left: 30%; right: 30%; top: 54%;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
}
.plot {
  height: 90px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 10px;
  border: 2px solid rgba(61,82,71,.66);
  background: rgba(31,212,74,.17);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}
.plot.active {
  background: var(--green);
  color: var(--white);
  position: relative;
}
.plot.active::before {
  content: 'ÁBSIDE 2';
  position: absolute;
  left: 50%; bottom: calc(100% + 12px);
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.promo-dot {
  position: absolute; z-index: 7;
  left: 50%; top: 61.5%;
  width: 18px; height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--green);
  box-shadow: 0 0 0 8px rgba(31,212,74,.14);
}

/* POI cards */
.poi {
  position: absolute; z-index: 6;
  min-width: 130px;
  padding: 12px 14px 11px;
  background: rgba(246,243,236,.95);
  border: 1px solid rgba(61,82,71,.12);
  box-shadow: 0 18px 44px rgba(45,61,55,.12);
}
.poi::before {
  content: '';
  position: absolute; left: 14px; top: 18px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
}
.poi b    { display: block; margin-left: 20px; font-size: 12.5px; color: var(--ink); font-weight: 800; line-height: 1.15; }
.poi span { display: block; margin: 5px 0 0 20px; font-size: 11px; color: rgba(28,39,32,.56); }
.poi::after {
  content: '';
  position: absolute;
  border-top: 1px dashed rgba(61,82,71,.28);
  transform-origin: left center;
  pointer-events: none;
}

.poi.colegio    { left: 15%; top: 38%; }
.poi.colegio::after { width: 155px; left: 78%; top: 64%; transform: rotate(28deg); }
.poi.mercadona  { right: 14%; top: 35%; }
.poi.mercadona::after { width: 140px; right: 72%; top: 65%; transform: rotate(150deg); }
.poi.acuatico   { right: 11%; top: 47%; }
.poi.acuatico::after { width: 116px; right: 72%; top: 55%; transform: rotate(175deg); }
.poi.salud      { left: 13%; bottom: 18%; }
.poi.salud::after { width: 172px; left: 82%; top: 30%; transform: rotate(-30deg); }
.poi.autovia    { right: 14%; bottom: 17%; }
.poi.autovia::after { width: 148px; right: 76%; top: 30%; transform: rotate(205deg); }

.map-note {
  position: absolute; z-index: 8;
  right: 38px; bottom: 28px;
  max-width: 240px;
  font-size: 10.5px; line-height: 1.5;
  color: rgba(28,39,32,.48);
}

/* Time list */
.time-list { list-style: none; margin-top: 32px; display: grid; gap: 10px; }
.time-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(28,39,32,.1);
  padding-bottom: 12px;
  color: rgba(28,39,32,.64);
  font-size: 14px;
}
.time-list strong { color: var(--ink); white-space: nowrap; }
.location-note { margin-top: 16px; font-size: 12px; color: rgba(28,39,32,.48); }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  AVAILABILITY                                                              */
/* ══════════════════════════════════════════════════════════════════════════ */
.availability-bg {
  background: var(--green);
  color: var(--white);
}
.availability-bg .eyebrow { color: rgba(255,255,255,.82); }
.availability-bg .eyebrow::before { background: var(--accent); opacity: 1; }
.availability-bg h2 { color: var(--white); }
.availability-bg .section-head p { color: rgba(255,255,255,.68); }

.surface-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.surface-card {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 22px;
  padding: 24px 24px 22px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.surface-card .sc-label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 800; margin-bottom: 8px; }
.surface-card .sc-value { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.04; color: var(--white); font-weight: 600; margin-bottom: 8px; }
.surface-card .sc-note  { display: block; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; }

.table-wrap {
  overflow-x: auto;
  border-radius: 26px;
  border: 1.5px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.09);
}
.avail-table {
  width: 100%; border-collapse: collapse;
  min-width: 740px;
  color: var(--white);
}
.avail-table th, .avail-table td {
  text-align: left;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.avail-table th { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.56); }
.avail-table tr:last-child td { border-bottom: 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31,212,74,.15);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 800;
}
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  CTA + CONTACT FORM                                                        */
/* ══════════════════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(.96); }
.cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,39,32,.86) 0%, rgba(28,39,32,.60) 48%, rgba(28,39,32,.14) 100%);
}
.cta-inner {
  position: relative; z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: .96fr .72fr;
  gap: clamp(34px, 7.5vw, 98px);
  align-items: center;
}
.cta-inner .eyebrow { color: rgba(255,255,255,.82); }
.cta-inner .eyebrow::before { background: var(--accent); opacity: 1; }
.cta-inner h2 { color: var(--white); }
.cta-inner .lead { color: rgba(255,255,255,.78); }

/* Form card */
.form-card {
  background: rgba(246,243,236,.95);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
  color: var(--ink);
}
.form-card h3 {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(28,39,32,.55);
  font-weight: 800;
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid rgba(28,39,32,.14);
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .22s, box-shadow .22s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(61,82,71,.1);
}
.field textarea { min-height: 104px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231c2720' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }

.form-card .btn { width: 100%; margin-top: 10px; min-height: 54px; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; tab-index: -1; }

/* Messages */
.form-msg {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}
.form-msg.success { display: block; background: rgba(61,82,71,.1); color: var(--green); border: 1.5px solid rgba(61,82,71,.2); }
.form-msg.error   { display: block; background: rgba(169,96,64,.1); color: var(--copper); border: 1.5px solid rgba(169,96,64,.22); }

/* Spinner */
.btn-spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
.btn.loading .btn-spinner { display: block; }
.btn.loading .btn-label   { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  FOOTER                                                                    */
/* ══════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 52px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer img { width: 128px; filter: brightness(1.1); margin-bottom: 18px; }
.footer p   { color: rgba(255,255,255,.58); font-size: 13px; max-width: 740px; }
.footer-note { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.68); font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                                */
/* ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1020px) {
  .header .nav, .header .btn { display: none; }
  .menu-btn { display: flex; }

  .nav.open {
    display: grid !important;
    position: absolute;
    top: 80px;
    left: 20px; right: 20px;
    background: rgba(246,243,236,.98);
    border: 1.5px solid rgba(28,39,32,.1);
    border-radius: 22px;
    padding: 10px;
    box-shadow: var(--shadow-md);
    z-index: 99;
    gap: 0;
  }
  .nav.open a { padding: 14px 16px; display: block; }

  .hero-stats {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .intro-grid, .split, .benefit-grid, .lifestyle-grid,
  .section-view-grid, .location-grid, .cta-inner { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
  .arch-grid .frame:first-child,
  .arch-side .frame { min-height: 460px; }
  .benefits-list, .quality-grid { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .tab-buttons { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tab-panel.active { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-wide, .g-tall, .g-half { grid-column: auto; }
  .surface-cards { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; gap: 18px; }
  .nearby-map { min-height: 760px; }
  .map-title { top: 28px; left: 22px; width: calc(100% - 44px); }
  .road-main  { top: 55%; left: 8%; right: 8%; }
  .road-left  { left: 18%; top: 42%; bottom: 20%; }
  .road-right { right: 18%; top: 42%; bottom: 20%; }
  .road-bot   { bottom: 18%; left: 12%; right: 12%; }
  .plot-row   { left: 18%; right: 18%; top: 49%; }
  .plot       { height: 76px; font-size: 10px; }
  .promo-dot  { top: 55%; }
  .poi::after { display: none; }
  .poi.colegio   { left: 8%; top: 31%; }
  .poi.mercadona { right: 8%; top: 31%; }
  .poi.acuatico  { right: 8%; top: 64%; }
  .poi.salud     { left: 8%; bottom: 12%; }
  .poi.autovia   { right: 8%; bottom: 12%; }
  .map-note { display: none; }
  .cta-section { min-height: auto; padding: 90px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-stats, .hero-stats-6 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(42px, 13vw, 62px); }
  h2 { font-size: clamp(34px, 10vw, 50px); }
  .hero-stats, .hero-stats-6 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .hero-stat { padding: 14px 10px !important; }
  .actions .btn { width: 100%; }
  .frame img { min-height: 380px; }
  .nearby-map { min-height: 860px; clip-path: none; }
  .map-title { top: 20px; left: 16px; width: calc(100% - 32px); }
  .plot-row { left: 8%; right: 8%; top: 52%; gap: 2px; }
  .plot { height: 62px; font-size: 9px; border-width: 1.5px; }
  .promo-dot { top: 58%; }
  .sl-left, .sl-right { display: none; }
  .poi { min-width: 116px; }
  .poi.colegio   { left: 6%; top: 28%; }
  .poi.mercadona { right: 6%; top: 36%; }
  .poi.acuatico  { left: 6%; right: auto; top: 68%; }
  .poi.salud     { left: 6%; bottom: 6%; }
  .poi.autovia   { right: 6%; bottom: 6%; }
  .tab-buttons   { grid-template-columns: 1fr; }
  .avail-table th, .avail-table td { padding: 16px 18px; }
  .footer-links  { flex-direction: column; gap: 12px; }
}

/* Mapa real de ubicación */
.map-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  background: #1c2720;
  align-self: stretch;
}
.map-photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  max-height: 660px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .9s var(--ease);
}
.map-photo:hover img { transform: scale(1.03); }

/* ── Botón hero "Ver precios y disponibilidad" ───────────────────────────── */
.btn-hero-cta {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(31,212,74,.35);
  font-weight: 800;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: .015em;
}
.btn-hero-cta:hover {
  background: #17c040;
  border-color: #17c040;
  box-shadow: 0 14px 40px rgba(31,212,74,.5);
}

/* ── Estados de disponibilidad ───────────────────────────────────────────── */
.status.available {
  background: rgba(31,212,74,.18);
  color: #fff;
}
.status.available::before { background: var(--accent); }

.status.reserved {
  background: rgba(169,96,64,.18);
  color: #fff;
}
.status.reserved::before { background: var(--copper); }

.status.sold {
  background: rgba(138,134,122,.18);
  color: rgba(255,255,255,.6);
}
.status.sold::before { background: var(--stone); }