/* self-hosted fonts (latin subset) */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/hanken-grotesk-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/hanken-grotesk-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/hanken-grotesk-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/hanken-grotesk-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Urbania Developer — design system
   AEDAS-pattern anatomy · Urbania brand tokens
   Square corners everywhere · hairline borders · alternating bands
   ========================================================================== */

:root {
  --ink: #0e1116;
  --green: #1f6f5c;
  --green-dark: #17544612;
  --green-deep: #174f42;
  --gold: #fdc957;
  --gold-soft: #fff3d6;
  --pale: #e8f3ee;
  --wa: #25d366;
  --band: #f7f7f5;
  --border: #ddd;
  --text: #222;
  --muted: #5f6b7a;
  --overlay: rgba(10, 20, 16, 0.82);
  --font-display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --container: 1280px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 1rem; }
.small, small { font-size: 0.875rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

section { padding: clamp(56px, 8vw, 96px) 0; }
.band { background: var(--band); }
.band-dark { background: var(--ink); color: #e8eae9; }
.band-dark h2, .band-dark h3 { color: #fff; }

.kicker {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.band-dark .kicker { color: var(--gold); }

/* ------------------------------------------------------------------ btns */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.9rem 2rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.45s ease, border-color 0.45s ease;
  text-align: center;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--ink);
  z-index: -1;
  transition: inset 0.45s ease;
}
.btn:hover { color: #fff; }
.btn:hover::before { inset: 0; }

.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary::before { background: var(--ink); }
.btn-primary:hover { border-color: var(--ink); }

.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold::before { background: var(--ink); }
.btn-gold:hover { color: #fff; border-color: var(--ink); }

.btn-light { border-color: #fff; color: #fff; }
.btn-light::before { background: #fff; }
.btn-light:hover { color: var(--ink); }

.btn-wa { background: var(--wa); border-color: var(--wa); color: var(--ink); font-weight: 600; }
.btn-wa::before { background: var(--ink); }
.btn-wa:hover { color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-header .logo img { height: 46px; width: auto; }
.site-header .logo .logo-ink { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .btn { min-height: 44px; padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-contact-hdr { border-color: #fff; color: #fff; }
.btn-contact-hdr::before { background: var(--gold); }
.btn-contact-hdr:hover { color: var(--ink); border-color: var(--gold); }

.site-header.solid, .site-header.always-solid {
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
}
.site-header.solid .logo .logo-white, .site-header.always-solid .logo .logo-white { display: none; }
.site-header.solid .logo .logo-ink, .site-header.always-solid .logo .logo-ink { display: block; }
.site-header.solid .btn-contact-hdr, .site-header.always-solid .btn-contact-hdr {
  border-color: var(--ink); color: var(--ink);
}
.site-header.solid .btn-contact-hdr:hover, .site-header.always-solid .btn-contact-hdr:hover { color: var(--ink); }

.burger {
  width: 44px; height: 44px;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  padding: 0;
}
.burger span { display: block; width: 20px; height: 2px; background: #fff; transition: 0.3s; }
.site-header.solid .burger, .site-header.always-solid .burger { border-color: var(--ink); }
.site-header.solid .burger span, .site-header.always-solid .burger span { background: var(--ink); }

/* overlay menu */
.menu-overlay {
  position: fixed; inset: 0;
  background: var(--ink);
  color: #fff;
  z-index: 1000;
  padding: 32px 0;
  overflow-y: auto;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s 0.5s;
}
.menu-overlay.open { transform: translateY(0); visibility: visible; transition-delay: 0s, 0s; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.menu-top img { height: 46px; }
.menu-close {
  width: 44px; height: 44px;
  background: transparent; border: 1px solid #fff; color: #fff;
  font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.menu-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
@media (max-width: 820px) { .menu-grid { grid-template-columns: 1fr; gap: 2rem; } }
.menu-col .menu-h {
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.menu-col ul { list-style: none; margin: 0; padding: 0; }
.menu-col li { margin-bottom: 0.6rem; }
.menu-col a { color: #e8eae9; font-size: 1.05rem; }
.menu-col a:hover { color: var(--gold); }
.menu-col .menu-featured a { font-family: var(--font-display); font-size: 1.35rem; }
.menu-social { display: flex; gap: 1rem; margin-top: 2rem; }
.menu-social a { display: flex; width: 42px; height: 42px; border: 1px solid #3a3f45; align-items: center; justify-content: center; }
.menu-social a:hover { border-color: var(--gold); }
.menu-social svg { width: 18px; height: 18px; fill: #fff; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 0;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,16,0.45) 0%, rgba(10,20,16,0.45) 25%, rgba(10,20,16,0.78) 60%, rgba(10,20,16,0.85) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 120px 0 48px; }
.hero h1 { color: #fff; margin-bottom: 0.5rem; }
.hero .tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: #f2f4f3;
  margin-bottom: 2rem;
}

/* hero search bar */
.searchbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 64px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(14, 17, 22, 0.55);
  backdrop-filter: blur(8px);
}
.searchbar select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fdc957' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 1.15rem 2.4rem 1.15rem 1.15rem;
  cursor: pointer;
  min-width: 0;
}
.searchbar select option { color: var(--ink); background: #fff; }
.searchbar .search-btn {
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.searchbar .search-btn:hover { background: #f5b92e; }
.searchbar .search-btn svg { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar select { border-bottom: 1px solid rgba(255,255,255,0.45); }
  .searchbar .search-btn { grid-column: 1 / -1; min-height: 56px; }
}

/* ----------------------------------------------------------- promo cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

.card-promo {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.card-promo:hover { box-shadow: 0 14px 40px rgba(14, 17, 22, 0.14); transform: translateY(-2px); color: var(--text); }
.promo-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card-promo:hover .promo-img img { transform: scale(1.04); }
.tags-list {
  position: absolute; top: 0.5rem; right: 0.5rem;
  display: flex; flex-wrap: wrap; gap: 0.375rem;
  list-style: none; margin: 0; padding: 0;
  justify-content: flex-end;
}
.tags-list li {
  background: #fff;
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 0.5rem;
}
.tags-list li.tag-gold { background: var(--gold); }
.promo-text { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.5rem; }
.promo-title { font-family: var(--font-display); font-size: 1.3125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.promo-description { list-style: none; margin: 0 0 1rem; padding: 0; color: var(--muted); font-size: 0.9rem; }
.promo-description li { padding: 0.15rem 0; }
.promo-price {
  margin: auto 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
}
.promo-price.sold { color: var(--muted); }

/* horizontal card carousel (home) */
.cards-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(320px, 78vw);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 20px;
  scrollbar-width: thin;
}
.cards-carousel .card-promo { scroll-snap-align: start; }

/* ------------------------------------------------------- section helpers */
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col .img-wrap { border: 1px solid var(--border); }
.two-col .img-wrap img { width: 100%; }

/* counters */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 820px) { .counters { grid-template-columns: repeat(2, 1fr); } }
.counter .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold);
  line-height: 1;
}
.counter .lbl { margin-top: 0.5rem; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; color: #c7cbc9; }

/* key facts bar (project page) */
.keyfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border: 1px solid var(--border);
  background: #fff;
}
.keyfact { padding: 1.25rem 1rem; border-right: 1px solid var(--border); }
.keyfact:last-child { border-right: none; }
@media (max-width: 820px) {
  .keyfact { border-bottom: 1px solid var(--border); }
}
.keyfact .kf-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.keyfact .kf-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-top: 0.25rem; }

/* anchor tabs */
.anchor-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  white-space: nowrap;
}
.anchor-tabs .container { display: flex; gap: 2rem; }
.anchor-tabs a {
  display: inline-block;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.anchor-tabs a:hover, .anchor-tabs a.active { color: var(--ink); border-bottom-color: var(--gold); }

/* amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.amenity {
  background: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--text);
}
.amenity img { width: 40px; height: 40px; margin: 0 auto 0.75rem; }

/* typology table */
.typo-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); }
.typo-table th, .typo-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.typo-table th { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--band); }
.typo-table .price { font-weight: 600; color: var(--green); white-space: nowrap; }
.typo-table .status-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.typo-table .st-available { color: var(--green); }
.typo-table .st-last { color: #946108; }
.typo-table .st-sold { color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(10, 14, 12, 0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  background: transparent; border: 1px solid #fff; color: #fff;
  width: 48px; height: 48px; font-size: 1.2rem; cursor: pointer;
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* map + location */
.map-embed { border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* sales office / contact cards */
.office-card { border: 1px solid var(--border); background: #fff; padding: 1.75rem; }
.office-card h3 { margin-bottom: 0.75rem; }
.office-card p { margin-bottom: 0.4rem; font-size: 0.9375rem; }

/* forms */
.lead-form { background: #fff; border: 1px solid var(--border); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.35rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--band);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.85rem 1rem;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: -1px;
  background: #fff;
}
.checkline { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.8125rem; color: var(--muted); margin-top: 1rem; }
.checkline input { margin-top: 0.2rem; }
.radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-group label {
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  background: #fff;
  font-weight: 400;
}
.radio-group input { position: absolute; opacity: 0; }
.radio-group label:has(input:checked) { border-color: var(--green); background: var(--pale); font-weight: 600; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.form-success .check { font-size: 3rem; color: var(--green); }

/* fixed bottom CTA bar (project pages, mobile-first) */
.c2c-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 800;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.c2c-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 58px;
  white-space: nowrap;
  font-size: clamp(0.8125rem, 3.5vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.c2c-info { background: var(--overlay); color: #fff; backdrop-filter: blur(6px); }
.c2c-info:hover { color: var(--gold); }
.c2c-wa { background: var(--wa); color: var(--ink); }
.c2c-wa:hover { background: #1eb85a; color: var(--ink); }
.c2c-bar svg { width: 20px; height: 20px; fill: currentColor; }
body.has-c2c { padding-bottom: 58px; }
@media (min-width: 1100px) {
  .c2c-bar { left: auto; right: 32px; bottom: 32px; grid-template-columns: auto auto; box-shadow: 0 10px 34px rgba(14,17,22,0.35); }
  .c2c-bar a { padding: 0 1.5rem; }
  body.has-c2c { padding-bottom: 0; }
}

/* anchor sections clear the sticky header + tabs */
section[id], [id="formulario-ficha"], [id="tipologias"], [id="galeria"], [id="ubicacion"], [id="caracteristicas"] {
  scroll-margin-top: calc(var(--header-h) + 64px);
}

/* c2c label swap on small screens */
.c2c-bar .lbl-short { display: none; }
@media (max-width: 480px) {
  .c2c-bar .lbl-long { display: none; }
  .c2c-bar .lbl-short { display: inline; }
}

/* breadcrumbs */
.breadcrumbs { font-size: 0.8125rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #b9bfbc; padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .footer-h { color: #fff; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #b9bfbc; }
.site-footer a:hover { color: var(--gold); }
.footer-logo img { height: 56px; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a { display: flex; width: 40px; height: 40px; border: 1px solid #3a3f45; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.footer-bottom { border-top: 1px solid #272c31; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.8125rem; color: #98a09b; }

/* ------------------------------------------------------------- utilities */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* collapsible SEO text */
.seo-text { max-width: 860px; color: var(--muted); font-size: 0.9375rem; }
.seo-text .more { display: none; }
.seo-text.expanded .more { display: inline; }
.seo-toggle { background: none; border: none; color: var(--green); font-weight: 600; cursor: pointer; padding: 0; font-size: 0.9375rem; }

/* FAQ accordion */
.faq-item { border: 1px solid var(--border); border-bottom: none; background: #fff; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--green); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 1.25rem 1.25rem; color: var(--text); font-size: 0.9375rem; }

/* status chip on detail hero */
.status-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.status-chip {
  background: #fff; color: var(--ink);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.45rem 0.7rem;
}
.status-chip.gold { background: var(--gold); }
.status-chip.green { background: var(--green); color: #fff; }

/* detail hero */
.detail-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; }
.detail-hero .hero-inner { padding-bottom: 40px; }
.detail-hero h1 { color: #fff; }
.detail-hero .loc-line { color: #e5e9e7; font-size: 1.05rem; }

/* zone hero smaller */
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 48px) 0 48px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c7cbc9; max-width: 720px; }

/* services trio */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { border: 1px solid var(--border); background: #fff; padding: 2rem 1.5rem; }
.service-card .icon { width: 44px; height: 44px; margin-bottom: 1.25rem; color: var(--green); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* newsletter prefooter */
.prefooter { background: var(--band); }
.newsletter-form { display: block; max-width: 560px; }
.newsletter-form .nl-step { display: flex; }
.newsletter-form input {
  flex: 1;
  border: 1px solid var(--border); border-right: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-body); font-size: 0.9375rem;
  background: #fff;
}
.newsletter-form button { min-height: auto; }

/* team strip */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { border: 1px solid var(--border); background: #fff; text-align: center; padding: 2rem 1.5rem; }
.team-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; filter: grayscale(20%); }
.team-card .role { color: var(--muted); font-size: 0.875rem; }

/* trayectoria timeline strip */
.track-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.track-item { border: 1px solid var(--border); background: #fff; padding: 1.25rem; scroll-snap-align: start; }
.track-item .yr { font-family: var(--font-display); color: var(--green); font-weight: 600; font-size: 0.9rem; }
.track-item h3 { font-size: 1.05rem; margin: 0.35rem 0 0.25rem; }
.track-item p { font-size: 0.8125rem; color: var(--muted); margin: 0; }

/* skip link (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gold); color: var(--ink); padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* WhatsApp float on non-project pages */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 790;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(14, 17, 22, 0.3);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float:hover { background: #1eb85a; }

@media (max-width: 820px) {
  .field input, .field select, .field textarea, .searchbar select, .newsletter-form input { font-size: 1rem; }
}

/* grid modifiers (replace inline styles; keep mobile collapse) */
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .services-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid.cols-3 { grid-template-columns: 1fr; } }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .cards-grid.cols-2 { grid-template-columns: 1fr; } }

/* radio chips keyboard focus */
.radio-group label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }

/* fieldset reset + legend styled as label */
.field fieldset, fieldset.field { border: none; margin: 0 0 1rem; padding: 0; }
fieldset.field legend { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.35rem; color: var(--ink); padding: 0; }

/* contacto heading size */
.h3-size { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }

/* hero video: fades in over the static image after lazy start */
.hero-media .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-media .hero-video.playing { opacity: 1; }
.hero-video-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 17, 22, 0.55); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5); cursor: pointer;
}
.hero-video-toggle:hover { background: rgba(14, 17, 22, 0.8); }

/* c2c bar: safe-area padding */
body.has-c2c { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
.c2c-bar a { padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 1100px) { body.has-c2c { padding-bottom: 0; } }

/* reduced motion: also stop overlay slide */
@media (prefers-reduced-motion: reduce) {
  .menu-overlay { transition: none; }
  .hero-media .hero-video { transition: none; }
  .card-promo, .promo-img img, .btn, .btn::before { transition: none; }
}

/* print */
@media print {
  .site-header, .c2c-bar, .wa-float, .menu-overlay, .prefooter, .hero-video, .hero-video-toggle, .skip-link { display: none !important; }
  body { color: #000; }
  .band-dark, .site-footer { background: #fff; color: #000; }
  .band-dark h2, .band-dark h3 { color: #000; }
}

.kicker-hero { color: var(--gold); font-size: 0.875rem; font-weight: 700; text-shadow: 0 1px 10px rgba(10, 20, 16, 0.6); }
