/* ============================================
   ALPHA PLACE LIBERTADOR — GLOBAL STYLES
   Luxury · Dark · Sophisticated
   ============================================ */

/* Fonts loaded via <link> in HTML head for performance */

:root {
  /* ── Paleta principal ── */
  --verde:       #004144;
  --verde-deep:  #002e30;
  --verde-mid:   #046f73;
  --dorado:      #c7a76c;
  --dorado-pale: #dfc48a;
  --dorado-dim:  #9a7a4a;
  --negro:       #1c1c1c;
  --crema:       #efe9e3;
  --crema-claro: #faf9f5;
  --crema-dim:   #b8b0a4;
  --gris:        #262626;
  --gris-mid:    #2e2e2e;

  /* ── Tipografías ── */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;
  --font-accent:  'IBM Plex Sans', sans-serif;

  --nav-h: 80px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background: var(--negro);
  color: var(--crema);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--negro); }
::-webkit-scrollbar-thumb { background: var(--dorado-dim); border-radius: 2px; }

/* ── Selection ── */
::selection {
  background: var(--dorado);
  color: var(--negro);
}

/* ── Focus visible (accesibilidad) ── */
:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 3px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: var(--verde-deep);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(199, 167, 108, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--dorado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--dorado);
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-logo {
  width: 80px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--crema);
  text-transform: uppercase;
}

.nav-logo-text span:last-child {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--dorado);
  text-transform: uppercase;
  font-weight: 400;
  font-family: var(--font-accent);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crema-dim);
  text-decoration: none;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--dorado);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dorado);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.6rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  color: var(--negro) !important;
  background: var(--dorado);
  padding: 10px 22px !important;
  font-weight: 500 !important;
  transition: background var(--transition) !important;
  min-height: 38px;
  display: inline-flex !important;
  align-items: center;
  text-shadow: none;
}

.nav-links a.nav-cta {
  text-shadow: none;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--dorado-pale) !important;
  color: var(--negro) !important;
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: transparent;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--crema);
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  padding-top: var(--nav-h);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(28,28,28,0.70) 0%, rgba(28,28,28,0.1) 40%, rgba(28,28,28,0.75) 80%, rgba(28,28,28,1) 100%),
    linear-gradient(to right, rgba(28,28,28,0.70) 0%, transparent 60%),
    url('../assets/img/hero.jpg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem 4rem;
  max-width: 680px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--dorado);
  flex-shrink: 0;
}

.hero-eyebrow span {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dorado);
  font-weight: 400;
  font-family: var(--font-accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--crema);
  margin-bottom: 0.3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

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

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--crema-dim);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

.hero-meta {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s forwards;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta-item span:first-child {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado-dim);
  font-family: var(--font-accent);
}

.hero-meta-item span:last-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--crema);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

.hero-scroll span {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dorado-dim);
  writing-mode: vertical-rl;
  font-family: var(--font-accent);
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--dorado), transparent);
  animation: scrollLine 2s ease infinite;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dorado);
  color: var(--negro);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), gap var(--transition);
  border: none;
  cursor: pointer;
  min-height: 48px;
}

.btn-primary:hover {
  background: var(--dorado-pale);
  gap: 18px;
}

.btn-primary svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--crema-dim);
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-bottom: 1px solid rgba(239, 233, 227, 0.2);
  transition: color var(--transition), border-color var(--transition), gap var(--transition);
  min-height: 48px;
}

.btn-ghost:hover {
  color: var(--dorado);
  border-color: var(--dorado);
  gap: 14px;
}

/* ============================================
   SECTIONS — COMMON
   ============================================ */

section {
  padding: 8rem 4rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-label-line {
  width: 30px;
  height: 1px;
  background: var(--dorado);
  flex-shrink: 0;
}

.section-label span {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dorado);
  font-weight: 400;
  font-family: var(--font-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--crema);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--dorado);
}

.section-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--crema-dim);
  max-width: 560px;
}

.intro-text .section-body {
  text-align: justify;
}

.divider {
  width: calc(100% - 8rem);
  height: 1px;
  background: linear-gradient(to right, var(--dorado-dim), transparent);
  margin: 0 4rem;
  opacity: 0.3;
}

/* ============================================
   HOME — INTRO SECTION
   ============================================ */

.intro {
  background: var(--negro);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.intro-visual {
  position: relative;
}

.intro-img-wrap {
  position: relative;
  overflow: hidden;
  height: 600px;
}

/* Picture element (covers placeholder when image loads) */
.intro-picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.intro-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.intro-img-wrap:hover .intro-picture img {
  transform: scale(1.03);
}

/* Gradient placeholder (shows until real image loads) */
.intro-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #004144 0%, #002e30 50%, #262626 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-placeholder-text {
  text-align: center;
  opacity: 0.4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intro-placeholder-text span:first-child {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--dorado);
  text-transform: uppercase;
}

.intro-placeholder-text span:last-child {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--crema-dim);
}

.intro-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--dorado);
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid rgba(199, 167, 108, 0.15);
}

.intro-stat {
  padding: 1.5rem;
  background: var(--gris);
  text-align: center;
}

.intro-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--dorado);
  display: block;
}

.intro-stat-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crema-dim);
  margin-top: 4px;
  font-family: var(--font-accent);
}

/* ── Info cards (arquitectura / amenities / tecnología) ── */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gris);
  border-left: 2px solid var(--dorado);
}

.info-card-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 4px;
  font-family: var(--font-accent);
}

.info-card-text {
  font-size: 0.8rem;
  color: var(--crema-dim);
  font-weight: 300;
}

/* ============================================
   HOME — FEATURES GRID
   ============================================ */

.features {
  background: var(--gris);
  padding: 8rem 4rem;
}

.features-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(199, 167, 108, 0.1);
}

.feature-card {
  background: var(--gris);
  padding: 2.5rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--dorado);
  transition: width var(--transition);
}

.feature-card:hover {
  background: var(--gris-mid);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(199, 167, 108, 0.15);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--crema-dim);
}

/* ============================================
   HOME — GALERÍA PREVIEW
   ============================================ */

.gallery-preview {
  background: var(--negro);
  padding: 8rem 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 4px;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item:first-child {
  grid-row: 1 / 3;
}

/* Picture element — covers placeholder when image loads */
.gallery-picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.gallery-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

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

/* Gradient placeholder — visible until image loads */
.gallery-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-bg-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--dorado);
  letter-spacing: 0.15em;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
  font-family: var(--font-accent);
}

/* ============================================
   HOME — UBICACIÓN STRIP
   ============================================ */

.location-strip {
  background: var(--verde-deep);
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
  border-top: 1px solid rgba(199, 167, 108, 0.2);
  border-bottom: 1px solid rgba(199, 167, 108, 0.2);
}

.location-strip-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--crema);
}

.location-strip-title em {
  font-style: italic;
  color: var(--dorado);
}

.location-strip-address {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.location-strip-address span:first-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--crema-dim);
  font-style: italic;
}

.location-strip-address span:last-child {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado);
  font-family: var(--font-accent);
}

/* ============================================
   HOME — TIPOLOGÍAS PREVIEW
   ============================================ */

.tipologias-preview {
  background: var(--negro);
  padding: 8rem 4rem;
}

.tipologias-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}

.tipologias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(199, 167, 108, 0.08);
}

.tipologia-card {
  background: var(--gris);
  padding: 2.5rem;
  transition: background var(--transition);
}

.tipologia-card:hover {
  background: var(--gris-mid);
}

.tipologia-card--featured {
  background: var(--verde-deep);
  border: 1px solid rgba(199, 167, 108, 0.2);
}

.tipologia-card--featured:hover {
  background: var(--verde);
}

.tipologia-type {
  font-family: var(--font-accent);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1rem;
  font-weight: 400;
}

.tipologia-size {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--crema);
  line-height: 1;
}

.tipologia-unit {
  font-size: 1rem;
  color: var(--dorado-dim);
}

.tipologia-desc {
  font-size: 0.7rem;
  color: var(--crema-dim);
  margin-top: 0.75rem;
  font-weight: 300;
}

.tipologia-floors {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  color: rgba(184, 176, 164, 0.5);
  margin-top: 0.5rem;
}

.tipologia-card--featured .tipologia-floors {
  color: var(--dorado-dim);
}

/* ============================================
   HOME — CTA FINAL
   ============================================ */

.cta-final {
  background: var(--gris);
  padding: 10rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: 'ALPHA PLACE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 300;
  color: rgba(199, 167, 108, 0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
}

.cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--crema);
  margin-bottom: 1rem;
}

.cta-final-title em {
  font-style: italic;
  color: var(--dorado);
}

.cta-final-sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--crema-dim);
  margin-bottom: 3rem;
  text-transform: uppercase;
  font-family: var(--font-accent);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--negro);
  padding: 4rem 4rem 2rem;
  border-top: 1px solid rgba(199, 167, 108, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--crema);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-brand-sub {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1.5rem;
  font-family: var(--font-accent);
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--crema-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1.5rem;
  font-family: var(--font-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--crema-dim);
  text-decoration: none;
  font-weight: 300;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--dorado);
}

.footer-contact-item {
  font-size: 0.8rem;
  color: var(--crema-dim);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-contact-item strong {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado-dim);
  margin-bottom: 2px;
  font-weight: 400;
  font-family: var(--font-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.65rem;
  color: rgba(184, 176, 164, 0.4);
  letter-spacing: 0.05em;
}

.footer-mekam {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184, 176, 164, 0.4);
  font-family: var(--font-accent);
}

.footer-mekam a {
  color: var(--dorado-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-mekam a:hover {
  color: var(--dorado);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.footer-disclaimer p {
  font-size: 0.62rem;
  line-height: 1.6;
  color: rgba(240,235,227,0.3);
  font-weight: 300;
  font-family: var(--font-accent);
}

.footer-disclaimer strong {
  color: rgba(240,235,227,0.45);
  font-weight: 500;
}

/* ============================================
   PAGE HEADER (páginas internas)
   ============================================ */

.page-header {
  height: 55vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28, 28, 28, 0.4) 0%, rgba(28, 28, 28, 0.85) 100%);
}

.page-header-content {
  position: relative;
  z-index: 1;
  padding: 0 4rem 5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE — 1280px (pantallas amplias)
   ============================================ */

@media (min-width: 1280px) {
  .nav { padding: 0 6rem; }
  section { padding: 10rem 6rem; }
  .features { padding: 10rem 6rem; }
  .gallery-preview { padding: 10rem 6rem; }
  .tipologias-preview { padding: 10rem 6rem; }
  .cta-final { padding: 12rem 6rem; }
  footer { padding: 5rem 6rem 2.5rem; }
  .location-strip { padding: 6rem; }
  .divider { width: calc(100% - 12rem); margin: 0 6rem; }
}

/* ============================================
   RESPONSIVE — 1024px (tablet landscape)
   ============================================ */

@media (max-width: 1024px) {
  .nav { padding: 0 2rem; }
  section { padding: 6rem 2rem; }
  .features { padding: 6rem 2rem; }
  .gallery-preview { padding: 6rem 2rem; }
  .tipologias-preview { padding: 6rem 2rem; }
  .cta-final { padding: 8rem 2rem; }
  footer { padding: 4rem 2rem 2rem; }
  .location-strip { padding: 4rem 2rem; }
  .divider { width: calc(100% - 4rem); margin: 0 2rem; }

  .intro { grid-template-columns: 1fr; gap: 4rem; }
  .features-header { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 260px;
  }
  .gallery-item:first-child { grid-row: auto; }

  .tipologias-grid { grid-template-columns: repeat(2, 1fr); }
  .tipologias-header { flex-direction: column; align-items: flex-start; }

  .location-strip { grid-template-columns: 1fr; }
  .location-strip-address { align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   RESPONSIVE — 768px (tablet portrait / mobile)
   ============================================ */

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Buttons — 44px min touch target */
  .btn-primary,
  .btn-ghost {
    min-height: 44px;
  }
  .btn-primary { padding: 12px 24px; font-size: 0.65rem; }

  /* Typography — legible sin zoom */
  .section-body { font-size: 1rem; }
  .feature-text { font-size: 0.875rem; }
  .info-card-text { font-size: 0.875rem; }

  .hero {
    min-height: unset;
    height: auto;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 4rem;
    align-items: flex-start;
  }

  .hero-content {
    padding: 0 2rem 3rem;
  }

  .hero-meta { flex-wrap: wrap; gap: 1.5rem; }
  .hero-actions { gap: 1.5rem; }
  .hero-scroll { display: none; }

  .features-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }

  .intro-stats { grid-template-columns: 1fr 1fr; }
  .intro-img-wrap { height: 380px; }

  .tipologias-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid rgba(199, 167, 108, 0.15);
  }

  .tipologia-card { padding: 1.5rem; border-bottom: 1px solid rgba(199, 167, 108, 0.15); }
  .tipologia-card:last-child { border-bottom: none; }
  .tipologia-size { font-size: 3rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-header-content { padding: 0 2rem 4rem; }

  /* Hero text — legibilidad sobre imagen en mobile */
  .hero-eyebrow span {
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }

  .hero-meta-item span:first-child {
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }

  .hero-meta-item span:last-child {
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  }

  .hero-subtitle {
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
}

/* ============================================
   RESPONSIVE — 480px (mobile mediano)
   ============================================ */

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.5rem); }
  .hero-meta { flex-direction: column; gap: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-primary { width: 100%; justify-content: center; }

  .section-title { font-size: clamp(2rem, 9vw, 2.5rem); }

  .gallery-grid { grid-template-rows: repeat(5, 200px); }

  .features-header { gap: 2rem; margin-bottom: 3rem; }

  .intro-stats { grid-template-columns: 1fr 1fr; }
  .intro-img-wrap { height: 300px; }

  .cta-final { padding: 6rem 2rem; }
  .location-strip { gap: 2rem; }

  .footer-links a,
  .footer-contact-item { font-size: 0.9rem; }
}

/* ============================================
   RESPONSIVE — 320px (mobile pequeño)
   ============================================ */

@media (max-width: 320px) {
  .nav { padding: 0 1rem; }
  .hero-content { padding: 0 1rem 4rem; }
  section { padding: 4rem 1rem; }
  .features { padding: 4rem 1rem; }
  .gallery-preview { padding: 4rem 1rem; }
  .tipologias-preview { padding: 4rem 1rem; }
  .cta-final { padding: 5rem 1rem; }
  footer { padding: 3rem 1rem 1.5rem; }
  .location-strip { padding: 3rem 1rem; }
  .divider { width: calc(100% - 2rem); margin: 0 1rem; }

  .hero-title { font-size: 2.4rem; }
  .tipologias-grid { grid-template-columns: 1fr; }

  .intro-stats { grid-template-columns: 1fr; }
  .footer-top { gap: 1.5rem; }
}

/* ============================================
   PAGE HEADER — CONTENT (páginas internas)
   ============================================ */

.page-header-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--crema);
  margin: 0.75rem 0 0;
}

.page-header-subtitle {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-top: 1rem;
  display: block;
}

/* ============================================
   COMPONENTE — RESUMEN EJECUTIVO (2-col)
   ============================================ */

.resumen-section {
  background: var(--negro);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8rem;
  align-items: start;
}

/* ============================================
   COMPONENTE — FEATURES CON ÍCONO
   ============================================ */

.features-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(199, 167, 108, 0.1);
  margin-top: 4rem;
}

.feature-icon-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--gris);
  transition: background var(--transition);
  position: relative;
}

.feature-icon-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--dorado);
  transition: width var(--transition);
}

.feature-icon-card:hover { background: var(--gris-mid); }
.feature-icon-card:hover::after { width: 100%; }

.feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(199, 167, 108, 0.3);
  color: var(--dorado);
  padding: 10px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 0.4rem;
}

.feature-icon-desc {
  font-size: 0.8rem;
  color: var(--crema-dim);
  font-weight: 300;
  line-height: 1.75;
}

/* ============================================
   COMPONENTE — AMENITIES
   ============================================ */

.amenities-section {
  background: var(--verde);
  border-top: 1px solid rgba(199, 167, 108, 0.2);
  border-bottom: 1px solid rgba(199, 167, 108, 0.2);
}

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

.amenity-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(199, 167, 108, 0.15);
  padding: 2.5rem;
  transition: background var(--transition), border-color var(--transition);
}

.amenity-card:hover {
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(199, 167, 108, 0.3);
}

.amenity-icon {
  width: 36px;
  height: 36px;
  color: var(--dorado);
  margin-bottom: 1.25rem;
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amenity-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 0.75rem;
}

.amenity-text {
  font-size: 0.8rem;
  color: rgba(239, 233, 227, 0.65);
  font-weight: 300;
  line-height: 1.85;
}

/* ============================================
   COMPONENTE — PILARES
   ============================================ */

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(199, 167, 108, 0.08);
  margin-top: 4rem;
}

.pilar-card {
  background: var(--gris);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.pilar-card:hover { background: var(--gris-mid); }

.pilar-num {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 300;
  color: rgba(199, 167, 108, 0.07);
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.pilar-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 1.5rem;
  position: relative;
}

.pilar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

.pilar-list li {
  font-size: 0.8rem;
  color: var(--crema-dim);
  font-weight: 300;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.pilar-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--dorado-dim);
  font-family: var(--font-display);
}

/* ============================================
   COMPONENTE — CTA VARIANTE NEGRO
   ============================================ */

.cta-final--dark {
  background: var(--negro);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* ============================================
   RESPONSIVE — NUEVOS COMPONENTES
   ============================================ */

@media (max-width: 1024px) {
  .resumen-section { grid-template-columns: 1fr !important; gap: 4rem !important; }
  .features-icon-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pilares-grid { grid-template-columns: 1fr; }
  .pilar-num { font-size: 5.5rem; }
}

@media (max-width: 768px) {
  .features-icon-grid { margin-top: 2.5rem; }
  .amenities-grid { margin-top: 2.5rem; }
  .pilares-grid { margin-top: 2.5rem; }
  .pilar-num { font-size: 4.5rem; right: 1.5rem; }
  .pilar-card { padding: 2rem; }
  .feature-icon-card { padding: 1.75rem; }
  .cta-actions { gap: 1.5rem; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { min-width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .feature-icon-card { padding: 1.5rem; gap: 1rem; }
  .amenity-card { padding: 1.75rem; }
  .pilar-card { padding: 1.5rem; }
  .pilar-num { font-size: 3.5rem; top: 1rem; right: 1rem; }
}

@media (max-width: 320px) {
  .feature-icon-card { padding: 1.25rem; flex-direction: column; gap: 0.75rem; }
  .pilar-card { padding: 1.25rem; }
  .amenity-card { padding: 1.25rem; }
}

/* ============================================
   ESPACIOS PAGE COMPONENTS
   ============================================ */

/* ── Placeholder genérico (imagen aún no disponible) ── */
.img-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.img-ph-inner {
  text-align: center;
  opacity: 0.4;
  padding: 1rem;
}

.img-ph-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--dorado);
  display: block;
  text-transform: uppercase;
}

.img-ph-sub {
  font-family: var(--font-accent);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  color: var(--crema-dim);
  display: block;
  margin-top: 4px;
}

/* ── Gallery exteriores (5 imágenes, asimétrica) ── */
.gallery-espacios {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 380px 380px;
  gap: 4px;
  margin-top: 3rem;
}

.gallery-espacios-item {
  position: relative;
  overflow: hidden;
}

.gallery-espacios-item:first-child {
  grid-row: 1 / 3;
}

.gallery-espacios-item picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.gallery-espacios-item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.gallery-espacios-item:hover picture img { transform: scale(1.03); }

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.88) 0%, rgba(28,28,28,0.15) 55%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  z-index: 2;
}

.gallery-espacios-item:hover .gallery-hover-overlay { opacity: 1; }

.hover-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dorado);
  margin-bottom: 0.3rem;
}

.hover-desc {
  font-size: 0.72rem;
  color: var(--crema-dim);
  font-weight: 300;
  line-height: 1.5;
}

/* ── Lobby layout ── */
.lobby-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 4rem;
}

.lobby-img-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.lobby-img-secondary {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-top: 1.5rem;
}

.lobby-img-main picture,
.lobby-img-secondary picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.lobby-img-main picture img,
.lobby-img-secondary picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.lobby-img-main:hover picture img,
.lobby-img-secondary:hover picture img { transform: scale(1.02); }

.lobby-content-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--crema);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

/* ── Unidades grid (3 cards con imagen) ── */
.unidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.unidad-card {
  background: var(--gris);
  overflow: hidden;
  transition: transform var(--transition);
}

.unidad-card:hover { transform: translateY(-3px); }

.unidad-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.unidad-img picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.unidad-img picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.unidad-card:hover .unidad-img picture img { transform: scale(1.04); }

.unidad-body {
  padding: 1.75rem;
  border-top: 1px solid rgba(199, 167, 108, 0.12);
}

.unidad-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 0.6rem;
}

.unidad-desc {
  font-size: 0.8rem;
  color: var(--crema-dim);
  font-weight: 300;
  line-height: 1.75;
}

/* ── Amenities con imagen ── */
.amenities-img-section {
  background: var(--verde);
  border-top: 1px solid rgba(199, 167, 108, 0.2);
  border-bottom: 1px solid rgba(199, 167, 108, 0.2);
}

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

.amenity-img-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(199, 167, 108, 0.15);
  overflow: hidden;
  transition: border-color var(--transition);
}

.amenity-img-card:hover { border-color: rgba(199, 167, 108, 0.4); }

.amenity-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.amenity-img-wrap picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.amenity-img-wrap picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.amenity-img-card:hover .amenity-img-wrap picture img { transform: scale(1.04); }

.amenity-img-body { padding: 1.75rem; }

.amenity-img-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 0.6rem;
}

.amenity-img-desc {
  font-size: 0.8rem;
  color: rgba(239, 233, 227, 0.65);
  font-weight: 300;
  line-height: 1.8;
}

/* ── Materialidad grid ── */
.materialidad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(199, 167, 108, 0.08);
  margin-top: 4rem;
}

.material-card {
  background: var(--negro);
  padding: 2.5rem;
  border-left: 2px solid var(--dorado);
  transition: background var(--transition);
}

.material-card:hover { background: #212121; }

.material-icon {
  width: 28px;
  height: 28px;
  color: var(--dorado);
  margin-bottom: 1.25rem;
}

.material-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.material-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 1rem;
}

.material-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.material-list li {
  font-size: 0.78rem;
  color: var(--crema-dim);
  font-weight: 300;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.material-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--dorado-dim);
  font-weight: 700;
}

/* ── Responsive — espacios ── */
@media (max-width: 1024px) {
  .gallery-espacios {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 280px);
  }
  .gallery-espacios-item:first-child { grid-row: auto; }
  .lobby-layout { grid-template-columns: 1fr; }
  .lobby-img-main { aspect-ratio: 16 / 9; }
  .unidades-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .amenities-img-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .materialidad-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gallery-espacios {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 240px);
  }
  .unidades-grid { grid-template-columns: 1fr; }
  .materialidad-grid { grid-template-columns: 1fr; }
  .hover-desc { display: none; }
}

@media (max-width: 480px) {
  .gallery-espacios { grid-template-rows: repeat(5, 200px); }
  .amenity-img-wrap { aspect-ratio: 4 / 3; }
}

@media (max-width: 320px) {
  .gallery-espacios { grid-template-rows: repeat(5, 170px); }
  .material-card { padding: 1.5rem; }
  .unidad-body { padding: 1.25rem; }
  .amenity-img-body { padding: 1.25rem; }
}

/* ============================================
   TIPOLOGÍAS PAGE COMPONENTS
   ============================================ */

/* ── Screen reader only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Intro pills ── */
.intro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.intro-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(199, 167, 108, 0.2);
  background: rgba(199, 167, 108, 0.04);
  min-width: 130px;
}

.intro-pill-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--dorado);
  line-height: 1;
}

.intro-pill-label {
  font-family: var(--font-accent);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crema-dim);
  margin-top: 6px;
}

/* ── Filter bar ── */
.tipologia-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(199, 167, 108, 0.12);
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(199, 167, 108, 0.2);
  color: var(--crema-dim);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover {
  border-color: rgba(199, 167, 108, 0.5);
  color: var(--dorado);
}

.filter-btn.active,
.filter-btn[aria-pressed="true"] {
  background: var(--dorado);
  border-color: var(--dorado);
  color: var(--negro);
  font-weight: 500;
}

/* ── Cards grid ── */
.tipologias-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  transition: opacity 0.2s ease;
}

.tipologias-cards-grid.filtering {
  opacity: 0;
  pointer-events: none;
}

/* 1–2 cards: mismas columnas que el grid normal */
.tipologias-cards-grid.tipologias-cards-grid--few {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* ── Tipología card ── */
.tipologia-card {
  background: var(--gris);
  border: 1px solid rgba(199, 167, 108, 0.1);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}

.tipologia-card:hover {
  border-color: rgba(199, 167, 108, 0.25);
}

.tipologia-badge {
  padding: 0.65rem 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado);
  background: rgba(199, 167, 108, 0.07);
  border-bottom: 1px solid rgba(199, 167, 108, 0.12);
}

.tipologia-badge--featured {
  background: var(--verde-deep);
  border-bottom-color: rgba(199, 167, 108, 0.2);
}

/* Plan image (aspect-ratio 3:4 — formato vertical de plano) */
.tipologia-plan {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-bottom: 1px solid rgba(199, 167, 108, 0.1);
  background: var(--gris);
}

.tipologia-plan picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.tipologia-plan picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--gris);
  padding: 1.5rem;
  transition: transform 0.6s ease;
}

.tipologia-card:hover .tipologia-plan picture img {
  transform: scale(1.02);
}

/* Data block */
.tipologia-data {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tipologia-data-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(199, 167, 108, 0.12);
}

.tipologia-plano {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado-dim);
  display: block;
  margin-bottom: 0.3rem;
}

.tipologia-orientacion {
  font-family: var(--font-accent);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--crema-dim);
  opacity: 0.7;
}

.tipologia-total {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--crema);
  line-height: 1;
  text-align: right;
}

.tipologia-m2 {
  font-size: 1.1rem;
  color: var(--dorado-dim);
}

/* Specs (dl) */
.tipologia-specs { display: flex; flex-direction: column; }

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  gap: 1rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-row dt {
  font-family: var(--font-accent);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crema-dim);
  font-weight: 300;
  white-space: nowrap;
}

.spec-row dd {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  color: var(--crema);
  font-weight: 400;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tipologia-note {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  color: var(--dorado-dim);
  padding: 0.65rem 0.75rem;
  border-left: 2px solid var(--dorado-dim);
  background: rgba(199, 167, 108, 0.05);
  margin-top: 0.5rem;
}

/* Features list */
.tipologia-features-wrap {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(199, 167, 108, 0.1);
  background: rgba(0, 0, 0, 0.12);
}

.tipologia-features-title {
  font-family: var(--font-accent);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dorado-dim);
  margin-bottom: 0.75rem;
}

.tipologia-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
}

.tipologia-features li {
  font-size: 0.73rem;
  color: var(--crema-dim);
  font-weight: 300;
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.5;
}

.tipologia-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--dorado-dim);
  font-weight: 700;
}

/* ── Planilla de unidades (tabla) ── */
.units-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  margin-top: 3rem;
  border: 1px solid rgba(199, 167, 108, 0.12);
}

.units-table-outer {
  position: relative;
}

.table-scroll-hint {
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 100%;
  background: linear-gradient(to left, rgba(38, 38, 38, 0.9), transparent);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.units-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-family: var(--font-accent);
  background: var(--negro);
}

.units-table thead tr {
  background: var(--verde);
}

.units-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crema-claro);
  font-weight: 400;
  border-right: 1px solid rgba(199, 167, 108, 0.15);
  white-space: nowrap;
}

.units-table thead th:last-child { border-right: none; }

.units-table tbody tr {
  border-bottom: 1px solid rgba(199, 167, 108, 0.07);
  transition: background var(--transition);
}

.units-table tbody tr:nth-child(even) { background: #202020; }

.units-table tbody tr:hover {
  background: #282828;
  box-shadow: inset 3px 0 0 var(--dorado);
}

.units-table td {
  padding: 0.78rem 1.25rem;
  font-size: 0.75rem;
  color: var(--crema-dim);
  border-right: 1px solid rgba(199, 167, 108, 0.05);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.units-table td:last-child { border-right: none; }
.units-table td:first-child { color: var(--dorado-dim); font-weight: 500; }
.units-table td:nth-child(2) { color: var(--crema); }
.units-table td:last-child { color: var(--dorado); font-weight: 500; }

/* ── Responsive — tipologias ── */
@media (max-width: 1024px) {
  .tipologias-cards-grid { grid-template-columns: 1fr; }
  .tipologia-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .intro-pills { gap: 0.75rem; }
  .intro-pill { min-width: calc(50% - 0.375rem); flex: 1; }
  .tipologia-filter { gap: 0.4rem; }
  .filter-btn { padding: 0.55rem 1rem; font-size: 0.6rem; }
  .tipologia-total { font-size: 2.4rem; }
  .tipologia-data { padding: 1.5rem; }
  .tipologia-features-wrap { padding: 1.25rem 1.5rem; }
  .table-scroll-hint { width: 40px; }
  .tipologias-cards-grid,
  .tipologias-cards-grid.tipologias-cards-grid--few {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .intro-pill { min-width: calc(50% - 0.375rem); }
  .tipologia-data { padding: 1.25rem; }
  .filter-btn { padding: 0.5rem 0.85rem; }
}

@media (max-width: 320px) {
  .intro-pill { min-width: 100%; }
  .tipologia-data { padding: 1rem; }
  .tipologia-features-wrap { padding: 1rem; }
  .filter-btn { padding: 0.5rem 0.65rem; font-size: 0.58rem; }
}

/* ============================================
   UBICACIÓN PAGE COMPONENTS
   ============================================ */

/* ── Page header gradient-only (sin imagen) ── */
.page-header-bg--ubicacion {
  background: linear-gradient(135deg, #004144 0%, #002e30 55%, #1c1c1c 100%);
}

.page-header-bg--ubicacion::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(28,28,28,0.45) 100%);
}

/* ── Location time cards (right column of intro) ── */
.location-time-cards {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
  border: 1px solid rgba(199, 167, 108, 0.15);
}

.location-time-card {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  border-bottom: 1px solid rgba(199, 167, 108, 0.1);
  transition: background var(--transition);
}

.location-time-card:last-child { border-bottom: none; }
.location-time-card:hover { background: rgba(199, 167, 108, 0.04); }

.location-time-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--dorado);
  line-height: 1;
  min-width: 90px;
  flex-shrink: 0;
}

.location-time-label {
  font-size: 0.8rem;
  color: var(--crema-dim);
  font-weight: 300;
  line-height: 1.5;
}

/* ── Map section (zero padding, full width) ── */
.map-section {
  padding: 0 !important;
  background: var(--negro);
}

.map-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--gris);
}

.map-wrapper iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 500px;
}

/* ── Map bar (below iframe) ── */
.map-bar {
  background: var(--verde);
  padding: 1.75rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(199, 167, 108, 0.25);
}

.map-bar-address { display: flex; flex-direction: column; gap: 3px; }

.map-bar-street {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--crema);
  font-style: italic;
}

.map-bar-city {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 245, 0.6);
}

/* ── POI grid (2×2) ── */
.poi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(199, 167, 108, 0.08);
  margin-top: 4rem;
}

.poi-card {
  background: var(--gris);
  padding: 2.5rem;
  border-left: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.poi-card:hover {
  background: var(--gris-mid);
  border-left-color: var(--dorado);
}

.poi-icon {
  width: 30px;
  height: 30px;
  color: var(--dorado);
  margin-bottom: 1.25rem;
}

.poi-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.poi-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 1rem;
}

.poi-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.poi-list li {
  font-size: 0.78rem;
  color: var(--crema-dim);
  font-weight: 300;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.poi-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--dorado-dim);
  font-weight: 700;
}

/* ── Connectivity cards (3 horizontal) ── */
.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.connectivity-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--gris);
  border: 1px solid rgba(199, 167, 108, 0.1);
  transition: border-color var(--transition);
}

.connectivity-card:hover { border-color: rgba(199, 167, 108, 0.28); }

.connectivity-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(199, 167, 108, 0.25);
  color: var(--dorado);
  padding: 9px;
}

.connectivity-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connectivity-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 0.4rem;
}

.connectivity-text {
  font-size: 0.78rem;
  color: var(--crema-dim);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Responsive — ubicacion ── */
@media (max-width: 1024px) {
  .poi-grid { grid-template-columns: 1fr; }
  .connectivity-grid { grid-template-columns: 1fr; }
  .map-bar { padding: 1.5rem 2rem; }
}

@media (max-width: 768px) {
  .map-wrapper iframe { height: 350px; }
  .map-bar { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem 2rem; }
  .location-time-cards { flex-direction: row; flex-wrap: wrap; }
  .location-time-card { flex: 1; min-width: calc(50% - 1px); border-bottom: 1px solid rgba(199,167,108,0.1); }
  .location-time-value { font-size: 2.2rem; min-width: auto; }
}

@media (max-width: 480px) {
  .map-bar { padding: 1.25rem 1.5rem; }
  .poi-card { padding: 1.75rem; }
  .connectivity-card { padding: 1.5rem; }
  .location-time-card { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 320px) {
  .map-bar { padding: 1rem; }
  .poi-card { padding: 1.25rem; }
  .location-time-card { min-width: 100%; }
  .connectivity-icon { width: 34px; height: 34px; }
}

/* ============================================
   DESARROLLADOR PAGE COMPONENTS
   ============================================ */

/* ── Mekam stats 2×2 ── */
.mekam-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(199, 167, 108, 0.08);
  height: 100%;
}

.mekam-stat {
  background: var(--gris);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mekam-stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--dorado);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}

.mekam-stat-label {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crema-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* ── Mekam logo inline ── */
.mekam-logo-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mekam-svg {
  height: 40px;
  width: auto;
  display: block;
}

.mekam-investments-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--crema);
  letter-spacing: 0.05em;
}

/* ── Botón link externo (CTA) ── */
.btn-link-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dorado-dim);
  text-decoration: none;
  transition: color var(--transition);
  margin-top: 1.5rem;
}

.btn-link-external:hover { color: var(--dorado); }

.btn-link-external svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* ── Bio layout (Mazzocchetti) ── */
.bio-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.bio-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.bio-photo picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.bio-photo picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.bio-photo:hover picture img { transform: scale(1.02); }

/* Credential badges/pills */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(199, 167, 108, 0.35);
  background: transparent;
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--dorado);
  white-space: nowrap;
  transition: background var(--transition);
}

.credential-badge:hover { background: rgba(199, 167, 108, 0.06); }

/* ── Portfolio grid (2×2, 16/9) ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: 4rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.portfolio-item picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.portfolio-item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 2;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dorado);
  margin-bottom: 0.2rem;
}

.portfolio-overlay-sub {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  color: var(--crema-dim);
  letter-spacing: 0.1em;
}

/* ── Presencia internacional (4 cols) ── */
.international-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(199, 167, 108, 0.08);
  margin-top: 4rem;
}

.international-card {
  background: var(--gris);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}

.international-card:hover { background: var(--gris-mid); }

.international-icon {
  width: 28px;
  height: 28px;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.international-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.international-country {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--crema);
  margin-bottom: 0.6rem;
}

.international-desc {
  font-size: 0.75rem;
  color: var(--crema-dim);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Responsive — desarrollador ── */
@media (max-width: 1024px) {
  .bio-layout { grid-template-columns: 240px 1fr; gap: 3rem; }
  .international-grid { grid-template-columns: repeat(2, 1fr); }
  .mekam-stats { height: auto; }
}

@media (max-width: 768px) {
  .bio-layout { grid-template-columns: 1fr; }
  .bio-photo { max-width: 320px; aspect-ratio: 3/4; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .international-grid { grid-template-columns: 1fr 1fr; }
  .mekam-stats { grid-template-columns: 1fr 1fr; }
  .credentials { gap: 0.4rem; }
  .credential-badge { font-size: 0.55rem; padding: 0.35rem 0.75rem; }
}

@media (max-width: 480px) {
  .international-grid { grid-template-columns: 1fr; }
  .mekam-stats { grid-template-columns: 1fr; }
  .international-card { padding: 1.75rem 1.5rem; }
}

@media (max-width: 320px) {
  .mekam-stat { padding: 1.25rem; }
  .mekam-stat-value { font-size: 1.8rem; }
  .bio-photo { max-width: 100%; }
  .credential-badge { white-space: normal; }
  .international-card { padding: 1.25rem; }
}

/* ============================================
   CONTACTO PAGE COMPONENTS
   ============================================ */

.contact-section {
  background: var(--negro);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

/* ── Contact info column ── */
.contact-info-list {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
  border: 1px solid rgba(199, 167, 108, 0.15);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(199, 167, 108, 0.1);
  transition: background var(--transition);
}

.contact-info-item:last-child { border-bottom: none; }
.contact-info-item:hover { background: rgba(199, 167, 108, 0.03); }

.contact-info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(199, 167, 108, 0.25);
  color: var(--dorado);
  padding: 8px;
}

.contact-info-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado-dim);
  margin-bottom: 3px;
}

.contact-info-value {
  display: block;
  font-size: 0.82rem;
  color: var(--crema-dim);
  font-weight: 300;
  line-height: 1.6;
}

.contact-info-value a {
  color: var(--crema-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-info-value a:hover { color: var(--dorado); }

/* ── Form card ── */
.contact-form-wrap {
  background: var(--gris);
  border: 1px solid rgba(199, 167, 108, 0.12);
  padding: 3rem;
}

.form-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(199, 167, 108, 0.12);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--crema);
  margin-bottom: 0.4rem;
}

.form-title em {
  font-style: italic;
  color: var(--dorado);
}

.form-subtitle {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado-dim);
}

/* ── Status message ── */
.form-status {
  display: none;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  line-height: 1.6;
  font-weight: 300;
}

.form-status.visible { display: block; }

.form-status--ok {
  background: rgba(4, 111, 115, 0.12);
  border-left: 2px solid var(--verde-mid);
  color: var(--crema-dim);
}

.form-status--error {
  background: rgba(180, 60, 60, 0.1);
  border-left: 2px solid #b43c3c;
  color: var(--crema-dim);
}

/* ── Form fields ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-label {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crema-dim);
  font-weight: 400;
}

.form-label .req {
  color: var(--dorado);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(199, 167, 108, 0.18);
  color: var(--crema);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
  border-radius: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(184, 176, 164, 0.3);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--dorado-dim);
  background: rgba(255, 255, 255, 0.06);
}

.form-input.invalid,
.form-select.invalid,
.form-textarea.invalid {
  border-color: #b43c3c;
}

.field-error {
  display: none;
  font-family: var(--font-accent);
  font-size: 0.6rem;
  color: #b43c3c;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}
.field-error.visible { display: block; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c7a76c' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(255, 255, 255, 0.04);
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--negro);
  color: var(--crema);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.form-disclaimer {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  color: rgba(184, 176, 164, 0.38);
  line-height: 1.6;
  max-width: 260px;
  font-weight: 300;
}

/* ── Honeypot (hidden) ── */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ── Responsive — contacto ── */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
  .contact-form-wrap { padding: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .btn-primary { width: 100%; justify-content: center; }
  .form-disclaimer { max-width: 100%; }
}

@media (max-width: 480px) {
  .contact-form-wrap { padding: 1.5rem; }
  .form-header { margin-bottom: 1.75rem; padding-bottom: 1.5rem; }
}

@media (max-width: 320px) {
  .contact-form-wrap { padding: 1.25rem; }
  .form-grid { gap: 1.25rem; }
}
