/* ==========================================================================
   Dwell Developers — rediseño 2026
   Paleta: negro de marca + tonos piedra/hueso + acento bronce
   Tipografías: Instrument Serif (títulos) · Jost (texto, afín al logo)
   ========================================================================== */

:root {
  --ink: #0d0d0c;
  --ink-2: #1a1a18;
  --bone: #f4f1ea;
  --paper: #faf8f4;
  --stone: #e5dfd3;
  --line: rgba(13, 13, 12, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --muted: #6d675e;
  --muted-light: rgba(255, 255, 255, 0.68);
  --bronze: #a8865a;
  --bronze-soft: #c9ae86;
  --green: #22382b;
  --gc-deep: #1b2c22;
  --gc-sage: #e7ece8;
  --gc-moss: #8fa892;
  --gc-rgb: 27, 44, 34;

  /* Una sola familia en todo el sitio, afín al logo; la jerarquía se da por tamaño y peso */
  --serif: 'Jost', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Jost', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 12vw, 168px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section) 0;
}

/* ---------- Tipografía ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--bronze);
}

.eyebrow-light {
  color: var(--muted-light);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.display em,
.hero-title em {
  font-style: italic;
  color: var(--bronze);
}

/* ---------- Botones y links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow,
.link-arrow:hover .arrow {
  transform: translateX(5px);
}

.btn-small {
  height: 42px;
  padding: 0 20px;
  font-size: 12px;
}

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

.btn-light:hover {
  background: var(--bronze-soft);
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--bronze);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

.arrow {
  flex: none;
  transition: transform 0.35s var(--ease);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  transition: height 0.4s var(--ease);
}

.brand img {
  width: 200px;
  height: auto;
  transition: width 0.4s var(--ease);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-switch {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.lang-switch .is-current {
  color: #fff;
}

.lang-switch .sep {
  margin: 0 6px;
}

.menu-toggle {
  display: none;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .header-inner {
  height: 76px;
}

.site-header.is-scrolled .brand img {
  width: 172px;
}

.site-header.is-scrolled .nav-link {
  color: var(--ink);
}

.site-header.is-scrolled .nav-cta {
  background: var(--ink);
  color: #fff;
}

.site-header.is-scrolled .nav-cta:hover {
  background: var(--bronze);
}

.site-header.is-scrolled .lang-switch {
  color: var(--muted);
}

.site-header.is-scrolled .lang-switch .is-current {
  color: var(--ink);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

/* ---------- Menú mobile ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-link {
  font-family: var(--serif);
  font-size: clamp(38px, 10vw, 56px);
  line-height: 1.2;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted-light);
  font-size: 15px;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100vh, 1000px);
  min-height: min(100svh, 1000px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 9s linear;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 12, 0.55) 0%, rgba(13, 13, 12, 0) 26%),
    linear-gradient(90deg, rgba(13, 13, 12, 0.72) 0%, rgba(13, 13, 12, 0.25) 60%, rgba(13, 13, 12, 0.1) 100%),
    linear-gradient(0deg, rgba(13, 13, 12, 0.7) 0%, rgba(13, 13, 12, 0) 45%);
}

.hero-content {
  position: relative;
  padding-top: 160px;
  padding-bottom: 56px;
}

.hero-title {
  max-width: 13ch;
  margin: 26px 0 28px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(50px, 8vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.hero-title em {
  color: var(--bronze-soft);
}

.hero-text {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.hero-footer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
}

.hero-captions {
  display: flex;
  gap: 28px;
  flex: 1;
  max-width: 820px;
  border-top: 1px solid var(--line-light);
}

.hero-dot {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 16px 0 0;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--sans);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.4s var(--ease);
}

.hero-dot.is-active,
.hero-dot:hover {
  color: #fff;
}

.dot-num {
  font-weight: 500;
  letter-spacing: 0.1em;
}

.dot-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
}

.dot-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

.hero-dot.is-active .dot-bar i {
  animation: dotfill var(--slide-ms, 7000ms) linear forwards;
}

@keyframes dotfill {
  to {
    width: 100%;
  }
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: #fff;
  animation: scrolldown 2.2s var(--ease) infinite;
}

@keyframes scrolldown {
  to {
    top: 100%;
  }
}

/* ---------- Cifras ---------- */

.stats {
  background: var(--ink);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 48px 28px;
  border-left: 1px solid var(--line-light);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-value {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1;
}

.stat-label {
  color: var(--muted-light);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ---------- Intro ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
}

.intro .display {
  max-width: 17ch;
}

.intro-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.intro-cols > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1.1;
  color: var(--ink);
}

.intro .link-arrow {
  color: var(--ink);
}

/* ---------- Encabezados de sección ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-head .display {
  margin-top: 20px;
}

/* ---------- Proyectos ---------- */

.projects {
  background: var(--bone);
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 10vw, 140px);
}

.project {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.project-reverse {
  grid-template-columns: 5fr 7fr;
}

.project-reverse .project-media {
  order: 2;
}

.project-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.project-media:hover img {
  transform: scale(1.05);
}

.project-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(201, 174, 134, 0.35), transparent 60%),
    radial-gradient(90% 80% at 90% 100%, rgba(13, 13, 12, 0.55), transparent 70%),
    var(--green);
}

.placeholder-mark {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1;
}

.placeholder-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.project-index {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--bronze);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-done {
  color: var(--muted);
}

.status-progress {
  color: var(--bronze);
  border-color: rgba(168, 134, 90, 0.4);
}

.status-new {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.project-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
}

.project-location {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.project-summary {
  margin-top: 24px;
  max-width: 44ch;
}

.project-facts {
  display: flex;
  gap: 40px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.project-facts dt {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.project-facts dd {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.project-body .link-arrow {
  margin-top: 36px;
}

/* ---------- Servicios ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service {
  padding: 44px 40px 8px 0;
}

.service + .service {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.service-num {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--bronze);
  margin-bottom: 56px;
}

.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.service p {
  color: var(--muted);
}

/* ---------- Por qué Dwell ---------- */

.section-dark {
  background: var(--ink);
  color: #fff;
}

.why-head {
  max-width: 820px;
  margin-bottom: clamp(56px, 8vw, 104px);
}

.why-head .display {
  margin-top: 22px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.why-item {
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}

.why-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.why-item p {
  color: var(--muted-light);
  font-size: 16px;
}

/* ---------- Inversores ---------- */

.investors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  background: var(--stone);
}

.investors-media {
  position: relative;
  overflow: hidden;
}

.investors-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.investors-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: var(--section) var(--gutter);
  max-width: 680px;
}

.investors-panel .display {
  font-size: clamp(36px, 4vw, 58px);
}

.investors-panel p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}

.check-list li::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--bronze);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(72px, 9vw, 120px) 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 72px;
}

.footer-brand img {
  width: 232px;
  height: auto;
}

.footer-brand p {
  margin-top: 24px;
  max-width: 34ch;
  color: var(--muted-light);
}

.site-footer h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin-bottom: 22px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted-light);
}

.site-footer ul a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Animaciones de aparición ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.2s var(--ease) forwards;
}

.js .hero-content > *:nth-child(2) {
  animation-delay: 0.12s;
}

.js .hero-content > *:nth-child(3) {
  animation-delay: 0.24s;
}

.js .hero-content > *:nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal],
  .js .hero-content > * {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Componentes compartidos de páginas internas
   ========================================================================== */

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
}

.mobile-link .nav-badge {
  vertical-align: middle;
  margin-left: 12px;
  font-family: var(--sans);
  background: var(--gc-moss);
  color: var(--gc-deep);
}

/* Header sólido para páginas sin foto de portada */
.header-solid .site-header {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-solid .site-header .nav-link,
.header-solid .site-header .lang-switch .is-current {
  color: var(--ink);
}

.header-solid .site-header .lang-switch {
  color: var(--muted);
}

.header-solid .site-header .nav-cta {
  background: var(--ink);
  color: #fff;
}

.header-solid .site-header .nav-cta:hover {
  background: var(--bronze);
}

.lead {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.45;
  font-weight: 300;
  color: var(--ink);
}

.muted-p {
  margin-top: 20px;
  color: var(--muted);
}

.section-tight {
  padding: clamp(56px, 7vw, 96px) 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.two-col .link-arrow {
  margin-top: 36px;
}

.link-light {
  color: #fff;
}

/* Encabezado de páginas internas */
.page-hero {
  padding: 200px 0 clamp(56px, 7vw, 96px);
}

.page-title {
  margin: 24px 0 28px;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.015em;
}

.page-title em {
  font-style: italic;
  color: var(--bronze);
}

.page-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
}

.projects-page {
  padding-top: 0;
  background: var(--paper);
}

/* Tarjeta de proyecto nuevo (Green Concept) */
.project-media-logo {
  position: absolute;
  left: 32px;
  bottom: 28px;
  width: 104px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.35));
  transform: none !important;
}

.project-new .project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27, 44, 34, 0.55), transparent 50%);
  pointer-events: none;
}

.project-new .project-media-logo {
  z-index: 1;
}

/* Portada de proyecto */
.p-hero,
.gc-hero {
  position: relative;
  min-height: min(92vh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.p-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowzoom 14s var(--ease) forwards;
}

@keyframes slowzoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.p-hero-content {
  position: relative;
  padding-top: 160px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.p-hero-content .hero-title {
  margin: 0;
  max-width: 16ch;
}

.back-link {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.back-link:hover {
  color: #fff;
}

.p-hero .status-done,
.p-hero .status-progress {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.p-facts,
.gc-facts {
  background: var(--ink);
  color: #fff;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0;
}

.facts-grid > div {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--line-light);
}

.facts-grid > div + div {
  padding-left: 24px;
}

.facts-grid > div:last-child {
  border-right: 0;
}

.facts-grid dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin-bottom: 8px;
}

.facts-grid dd {
  margin: 0;
  font-size: 17px;
}

.p-trust {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  max-width: 30ch;
}

.amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.amenity-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.p-amenities {
  background: var(--bone);
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}

.numbers-grid p {
  margin-top: 22px;
  color: var(--muted-light);
  font-size: 18px;
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(180px, 19vw, 270px);
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--stone);
  cursor: zoom-in;
}

/* ritmo editorial: una foto grande cada seis, alternando lado */
.gallery-item:nth-child(6n + 1) {
  grid-column: 1 / span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(12n + 7) {
  grid-column: 2 / span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 13, 12, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-item:hover .gallery-caption,
.mosaic-item:hover .gallery-caption {
  opacity: 1;
  transform: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 9, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lb-figure {
  margin: 0;
  max-width: 88vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lb-figure img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
}

.lb-figure figcaption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.lb-close,
.lb-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lb-close:hover,
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lb-close {
  top: 24px;
  right: 24px;
  font-size: 28px;
  font-weight: 300;
}

.lb-prev {
  left: 24px;
}

.lb-prev .arrow {
  transform: rotate(180deg);
}

.lb-next {
  right: 24px;
}

/* Siguiente proyecto */
.next-project {
  position: relative;
  display: block;
  height: 360px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.next-project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 1.4s var(--ease), opacity 0.6s var(--ease);
}

.next-project:hover img {
  transform: scale(1.04);
  opacity: 0.62;
}

.next-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.next-name {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
}

.next-name .arrow {
  width: 40px;
  height: 22px;
}

/* Banda de llamado a la acción */
.cta-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bone);
}

.cta-band.section-dark {
  background: var(--ink);
}

.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.cta-inner .display {
  max-width: 18ch;
  font-size: clamp(36px, 4.6vw, 64px);
}

.cta-inner p {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--muted);
}

.cta-band.section-dark .cta-inner p {
  color: var(--muted-light);
}

/* ==========================================================================
   Green Concept — destacado en home y página propia
   Paleta tomada del brochure: verde bosque profundo + salvia
   ========================================================================== */

.featured {
  position: relative;
  background: var(--gc-deep);
  color: #fff;
  padding: clamp(88px, 11vw, 160px) 0;
  overflow: hidden;
}

.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 85% 20%, rgba(143, 168, 146, 0.18), transparent 70%);
  pointer-events: none;
}

.featured-grid {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gc-moss);
  color: var(--gc-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.featured-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gc-deep);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

.featured-logo {
  width: 150px;
  margin: 40px 0 36px;
}

.featured .display {
  font-size: clamp(36px, 4.2vw, 60px);
}

.featured .display em,
.theme-gc .display em,
.gc-tagline em {
  color: var(--gc-moss);
}

.featured-copy > p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
}

.featured-facts {
  display: flex;
  gap: 40px;
  margin: 36px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.featured-facts dt {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}

.featured-facts dd {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}

.featured-media {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: clamp(460px, 48vw, 680px);
}

.fm {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.fm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.fm:hover img {
  transform: scale(1.05);
}

.fm-main {
  grid-row: span 2;
}

/* Página Green Concept */
.page-gc {
  background: var(--gc-sage);
}

.gc-shade {
  background:
    linear-gradient(180deg, rgba(var(--gc-rgb), 0.6) 0%, rgba(var(--gc-rgb), 0) 30%),
    linear-gradient(90deg, rgba(var(--gc-rgb), 0.75) 0%, rgba(var(--gc-rgb), 0.2) 65%),
    linear-gradient(0deg, rgba(var(--gc-rgb), 0.8) 0%, rgba(var(--gc-rgb), 0) 50%);
}

.gc-hero {
  min-height: min(100vh, 1000px);
}

.gc-hero-content {
  position: relative;
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gc-hero-logo {
  width: clamp(140px, 14vw, 200px);
  margin: 12px 0 36px;
}

.gc-tagline {
  margin: 0;
  max-width: 14ch;
}

.gc-hero-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 36px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.gc-hero-foot .status-new {
  background: var(--gc-moss);
  border-color: var(--gc-moss);
  color: var(--gc-deep);
}

.gc-facts {
  background: var(--gc-deep);
}

.theme-gc .facts-grid dt {
  color: var(--gc-moss);
}

.gc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.gc-split-copy .display {
  margin: 22px 0 32px;
}

.gc-split-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.gc-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-gc .eyebrow::before {
  background: var(--gc-moss);
}

.gc-pillars {
  background: var(--gc-deep);
  color: #fff;
}

.gc-pillars-intro {
  max-width: 28ch;
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.1;
  margin-bottom: clamp(56px, 8vw, 104px);
}

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

.pillar {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.pillar-num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gc-moss);
}

.pillar h3 {
  margin: 36px 0 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.pillar p {
  color: rgba(255, 255, 255, 0.7);
}

.gc-project-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.gc-project-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 6 / 5;
}

.gc-project-main img,
.gc-project-side {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gc-project-copy .lead {
  margin-top: 24px;
}

.gc-project-side {
  margin-top: 40px;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.gc-amenities {
  background: var(--gc-deep);
  color: #fff;
}

.gc-amenity-grid {
  list-style: none;
  margin: 0 0 clamp(48px, 6vw, 80px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.gc-amenity-grid li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px 16px 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 18px;
}

.gc-amenity-grid li span {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gc-moss);
}

.gc-amenity-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.mosaic-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.mosaic-item:hover img {
  transform: scale(1.04);
}

.mosaic-1 {
  grid-row: span 2;
}

.mosaic-4 {
  grid-column: span 2;
}

.gc-location {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gc-location > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gc-location-panel {
  position: relative;
  max-width: 520px;
  padding: clamp(36px, 4vw, 56px);
  border-radius: var(--radius);
  background: rgba(231, 236, 232, 0.94);
  backdrop-filter: blur(10px);
}

.gc-location-panel .lead {
  margin-top: 22px;
}

.nearby {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nearby li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(27, 44, 34, 0.25);
  font-size: 13px;
}

.gc-apartments-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.gc-apartments-head .muted-p {
  margin-top: 0;
}

.gallery-gc .gallery-item {
  background: #d5ddd7;
}

.gc-credits {
  border-top: 1px solid rgba(27, 44, 34, 0.14);
}

.credits {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(27, 44, 34, 0.14);
}

.credits > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(27, 44, 34, 0.14);
}

.credits dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.credits dd {
  margin: 0;
}

.gc-cta {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--gc-deep);
}

.gc-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gc-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gc-cta-logo {
  width: 110px;
  margin-bottom: 32px;
}

.gc-cta-inner .display {
  max-width: 14ch;
}

.gc-cta-inner p {
  margin-top: 22px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Nosotros ---------- */

.about-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-about .signature {
  margin-top: 36px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}

.member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}

.member-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.6s var(--ease);
}

.member:hover .member-photo img {
  filter: none;
}

.member h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
}

.member-role {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

.member .muted-p {
  font-size: 16px;
}

/* ---------- Contacto ---------- */

.contact-hero {
  padding-bottom: var(--section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.contact-data {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.contact-data dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 10px;
}

.contact-data dd {
  margin: 0;
  color: var(--muted);
}

.contact-data a:hover {
  color: var(--ink);
}

.contact-form-wrap {
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--bone);
  margin-top: 48px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form label span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(13, 13, 12, 0.25);
  background: transparent;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-success {
  margin-bottom: 28px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--gc-sage);
  color: var(--gc-deep);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .main-nav .nav-link,
  .main-nav .lang-switch {
    display: none;
  }
  .main-nav .nav-cta {
    display: none;
  }
  .menu-toggle {
    position: relative;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    padding: 0 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.4s var(--ease);
  }
  body.menu-open .menu-toggle span:first-child {
    transform: translateY(4.25px) rotate(45deg);
  }
  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-4.25px) rotate(-45deg);
  }
  .site-header.is-scrolled .menu-toggle {
    background: var(--ink);
  }
  .site-header.is-scrolled .menu-toggle span {
    background: #fff;
  }
  body.menu-open .site-header {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  body.menu-open .menu-toggle {
    background: #fff;
  }
  body.menu-open .menu-toggle span {
    background: var(--ink);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-light);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }
  .header-inner {
    height: 80px;
  }
  .brand img {
    width: 168px;
  }
  .site-header.is-scrolled .brand img {
    width: 150px;
  }
  .hero-content {
    padding-bottom: 40px;
  }
  .hero-text {
    font-size: 16px;
  }
  .hero-captions .dot-label {
    display: none;
  }
  .hero-captions {
    gap: 16px;
  }
  .hero-scroll {
    display: none;
  }
  .project,
  .project-reverse {
    grid-template-columns: 1fr;
  }
  .project-reverse .project-media {
    order: 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .intro-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service,
  .service + .service {
    padding: 36px 0 32px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-num {
    margin-bottom: 24px;
  }
  .investors {
    grid-template-columns: minmax(0, 1fr);
  }
  .investors-media {
    min-height: 320px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .btn {
    height: auto;
    min-height: 54px;
    padding: 14px 24px;
    white-space: normal;
    text-align: left;
  }
  .eyebrow::before {
    display: none;
  }
  .stat {
    padding: 32px 16px;
  }
  .stat:nth-child(odd) {
    padding-left: 0;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Responsive páginas internas y Green Concept ---------- */

@media (max-width: 1080px) {
  .featured-grid,
  .gc-split,
  .gc-project-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gc-amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .header-solid .menu-toggle {
    background: var(--ink);
  }
  .header-solid .menu-toggle span {
    background: #fff;
  }
  body.header-solid.menu-open .menu-toggle {
    background: #fff;
  }
  body.header-solid.menu-open .menu-toggle span {
    background: var(--ink);
  }
}

@media (max-width: 820px) {
  .two-col,
  .numbers-grid,
  .gc-apartments-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .page-hero {
    padding-top: 150px;
  }
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts-grid > div,
  .facts-grid > div + div {
    padding: 22px 16px 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }
  .amenity-list {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 42vw;
    gap: 10px;
  }
  .gallery-item,
  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(12n + 7) {
    grid-column: auto / span 1;
    grid-row: auto;
  }
  .gallery-item:nth-child(5n + 1) {
    grid-column: 1 / span 2;
  }
  .featured-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 160px;
    height: auto;
  }
  .fm-main {
    grid-row: auto;
    grid-column: span 2;
  }
  .gc-amenity-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 160px 160px;
  }
  .mosaic-1 {
    grid-row: auto;
    grid-column: span 2;
  }
  .mosaic-4 {
    grid-column: span 2;
  }
  .gc-location {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .gc-location > img {
    position: relative;
    height: 320px;
  }
  .gc-location .container {
    padding: 0;
  }
  .gc-location-panel {
    max-width: none;
    border-radius: 0;
    padding: 48px var(--gutter);
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .member {
    grid-template-columns: 120px 1fr;
    gap: 20px;
  }
  .member h3 {
    font-size: 26px;
  }
  .contact-form,
  .contact-data {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .lb-nav {
    top: auto;
    bottom: 24px;
  }
  .next-project {
    height: 260px;
  }
  .credits > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .gc-amenity-grid {
    grid-template-columns: 1fr;
  }
  .featured-facts,
  .project-facts {
    gap: 24px;
  }
  .member {
    grid-template-columns: 1fr;
  }
  .member-photo {
    max-width: 220px;
  }
}

/* ==========================================================================
   Ajustes tipográficos: una sola familia (Jost), sin itálicas ni cambios de color
   ========================================================================== */

.display,
.hero-title,
.page-title,
.project-name,
.service h3,
.why-item h3,
.member h3,
.next-name,
.mobile-link,
.gc-pillars-intro,
.placeholder-mark {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.display {
  line-height: 1.08;
}

.hero-title,
.page-title {
  line-height: 1.02;
}

.display em,
.hero-title em,
.page-title em {
  font-style: normal;
  color: inherit;
}

.stat-value,
.project-facts dt,
.featured-facts dt,
.project-index,
.service-num,
.pillar-num,
.gc-amenity-grid li span {
  font-weight: 300;
  letter-spacing: -0.01em;
}

.signature {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.02em;
}

/* ---------- Home: portada con la marca como protagonista ---------- */

.hero-brand-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 64px;
}

.hero-brand {
  margin: 0;
  line-height: 0;
}

.hero-brand img {
  width: min(760px, 78vw);
  height: auto;
}

.hero-tagline {
  margin-top: 32px;
  max-width: 34ch;
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.hero-brand-content .hero-actions {
  margin-top: 44px;
}

/* En la home, el logo del header aparece recién al bajar (arriba ya está el grande) */
.page-home .site-header:not(.is-scrolled) .brand {
  opacity: 0;
  pointer-events: none;
}

.page-home .brand {
  transition: opacity 0.4s var(--ease);
}

/* ---------- Home: "Sobre Dwell" simplificado ---------- */

.intro-simple-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

.intro-heading {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.intro-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.intro-body p {
  font-size: 18px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .intro-simple-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hero-brand img {
    width: 88vw;
  }
}

/* ==========================================================================
   Green Concept: premio, etapas, vivienda promovida y render destacado
   ========================================================================== */

/* Cinta del premio colgando en la portada */
.gc-hero-ribbon {
  position: absolute;
  bottom: 36px;
  right: clamp(24px, 6vw, 96px);
  z-index: 2;
  width: clamp(78px, 7vw, 108px);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.5s var(--ease);
}

.gc-hero-ribbon:hover {
  transform: translateY(6px);
}

.gc-hero-ribbon img {
  width: 100%;
  height: auto;
}

.gc-hero-award {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 28px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.award-star {
  color: #d9c08f;
  font-size: 14px;
}

/* Banda del premio */
.gc-award {
  background: var(--paper);
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid rgba(27, 44, 34, 0.1);
}

.gc-award-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: 1080px;
}

.gc-award-ribbon {
  width: clamp(110px, 11vw, 150px);
  height: auto;
}

.gc-award-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gc-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gc-award .display {
  margin: 24px 0 22px;
  font-size: clamp(32px, 3.8vw, 54px);
  max-width: 20ch;
}

.gc-award p {
  max-width: 60ch;
  color: var(--muted);
}

.gc-award .gc-award-edition {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* Etapas + vivienda promovida */
.gc-status-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.gc-stages .display {
  margin: 22px 0 0;
  font-size: clamp(32px, 3.6vw, 50px);
}

.stage-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.stage-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.stage-name {
  font-size: 20px;
  font-weight: 400;
}

.stage-status {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stage-sold .stage-status {
  color: var(--gc-deep);
}

.stage-open .stage-status {
  color: #fff;
  background: var(--gc-deep);
  padding: 4px 12px;
  border-radius: 999px;
}

.stage-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(27, 44, 34, 0.12);
  overflow: hidden;
}

.stage-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gc-deep);
  transform-origin: left;
  transition: transform 1.6s var(--ease) 0.3s;
}

.js .gc-stages:not(.is-visible) .stage-bar i {
  transform: scaleX(0);
}

.stage-open .stage-bar i {
  background: var(--gc-moss);
}

.gc-promoted {
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--radius);
  background: var(--gc-deep);
  color: #fff;
}

.gc-promoted-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gc-moss);
  color: var(--gc-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gc-promoted h3 {
  margin: 24px 0 16px;
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gc-promoted > p {
  color: rgba(255, 255, 255, 0.75);
}

.gc-promoted .check-list {
  margin-top: 26px;
  gap: 14px;
}

.gc-promoted .check-list li {
  align-items: flex-start;
  line-height: 1.5;
}

.gc-promoted .check-list li::before {
  margin-top: 12px;
  flex: none;
  background: var(--gc-moss);
}

.gc-promoted .gc-promoted-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Render destacado: jardín interno */
.gc-highlight {
  background: var(--gc-deep);
  color: #fff;
  padding: clamp(80px, 10vw, 150px) 0;
  overflow: hidden;
}

.gc-highlight-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.gc-highlight-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
}

.gc-highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s var(--ease);
}

.gc-highlight-media:hover img {
  transform: scale(1.04);
}

.gc-highlight-copy .display {
  margin: 24px 0 26px;
  font-size: clamp(36px, 4.4vw, 64px);
}

.gc-highlight-copy p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.gc-highlight-caption {
  display: inline-block;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gc-moss);
}

@media (max-width: 1080px) {
  .gc-status-grid,
  .gc-highlight-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gc-highlight-media {
    max-width: 560px;
  }
}

@media (max-width: 820px) {
  .gc-award-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .gc-award-ribbon {
    width: 96px;
  }
  .gc-hero-ribbon {
    width: 58px;
    right: 20px;
    bottom: 24px;
  }
  .gc-hero-award {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ---------- Green Concept: alianza y equipo (logos) ---------- */

.gc-partners {
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
}

.gc-partners-head {
  max-width: 620px;
  margin: 0 auto;
}

.gc-partners-title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.gc-partners-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.partner-role {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* los logos vienen en blanco; se pasan a negro para fondo claro */
.gc-partners img {
  filter: brightness(0);
  opacity: 0.88;
}

.gc-partners-dev {
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  max-width: 760px;
}

.partner-dev-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 28px;
}

.partner-dev-logos img {
  height: clamp(44px, 5vw, 64px);
  width: auto;
}

.partner-x {
  font-size: 26px;
  font-weight: 200;
  color: var(--muted);
}

.gc-partners-team {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.gc-partners-team li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 8px 20px;
}

.gc-partners-team li + li {
  border-left: 1px solid var(--line);
}

.gc-partners-team img {
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 820px) {
  .gc-partners-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .gc-partners-team li:nth-child(odd) {
    border-left: 0;
  }
  .gc-partners-team img {
    height: 30px;
  }
}

/* ==========================================================================
   Fichas de proyecto: paletas por proyecto (tomadas de cada brochure)
   ========================================================================== */

.theme-zpj {
  --gc-deep: #0f4a43;
  --gc-sage: #eaf0ee;
  --gc-moss: #86bfb0;
  --gc-rgb: 15, 74, 67;
}

.theme-zr {
  --gc-deep: #263f40;
  --gc-sage: #e6e3dc;
  --gc-moss: #c4a46a;
  --gc-rgb: 38, 63, 64;
}

/* Banda destacada sin cinta de premio (diferencial del proyecto) */
.gc-award-text .gc-award-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
}

.award-chips {
  margin-top: 26px;
}

.gc-award .award-chips li {
  border-color: rgba(var(--gc-rgb), 0.25);
  color: var(--ink);
}

/* Etapas */
.gc-status-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}

.stage-name small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

.stage-done .stage-status {
  color: var(--gc-deep);
}

.stage-link {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gc-deep);
}

/* Amenities con descripción */
.gc-amenity-grid-detail {
  grid-template-columns: repeat(3, 1fr);
}

.gc-amenity-grid-detail li {
  padding: 26px 24px 26px 0;
}

.gc-amenity-grid-detail strong {
  display: block;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 6px;
}

.gc-amenity-grid-detail p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
}

/* Menú con dos proyectos destacados: más compacto en pantallas medianas */
@media (max-width: 1280px) {
  .main-nav {
    gap: 24px;
  }
  .nav-link {
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  .gc-amenity-grid-detail {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Frases de portada largas: un tamaño menor para no ocupar toda la foto */
.gc-tagline-long {
  max-width: 20ch;
  font-size: clamp(40px, 5.4vw, 80px);
}

/* Torres Nuevocentro: grafito urbano + bronce Dwell */
.theme-tnc {
  --gc-deep: #23272c;
  --gc-sage: #eceae5;
  --gc-moss: #c9ae86;
  --gc-rgb: 35, 39, 44;
}

/* Nombre del proyecto en portada cuando no hay logo */
.gc-hero-name {
  margin: 8px 0 22px;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* Cifras de desempeño */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 36px 0 0;
  border-top: 1px solid rgba(var(--gc-rgb), 0.15);
}

.results-grid > div {
  padding: 24px 20px 24px 0;
  border-bottom: 1px solid rgba(var(--gc-rgb), 0.15);
}

.results-grid > div:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid rgba(var(--gc-rgb), 0.15);
}

.results-grid dt {
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gc-deep);
}

.results-grid dd {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Galerías cortas: la última foto completa la fila en vez de quedar sola */
.gallery-item:nth-child(4):last-child,
.gallery-item:nth-child(7):last-child {
  grid-column: 1 / -1;
}

/* Socios sin logo: nombre en texto con el mismo peso visual */
.partner-text {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.partner-text-sm {
  font-size: 20px;
}

/* Oxo Parques: piedra cálida y arcilla */
.theme-oxo {
  --gc-deep: #39322e;
  --gc-sage: #efebe5;
  --gc-moss: #c99b74;
  --gc-rgb: 57, 50, 46;
}

/* Sin fila de equipo: la línea divisoria sobra */
.gc-partners-dev:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* ---------- Nosotros: fichas del equipo con foto grande ---------- */

.team-grid {
  gap: clamp(40px, 6vw, 88px);
}

.member {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.member-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

.member-photo img {
  filter: none;
  object-position: center 18%;
  transition: transform 1.4s var(--ease);
}

.member:hover .member-photo img {
  transform: scale(1.03);
}

.member h3 {
  font-size: clamp(28px, 2.6vw, 36px);
}

@media (max-width: 820px) {
  .member {
    gap: 22px;
  }
  .member-photo {
    max-width: none;
  }
}
