/* ===========================================
   LAS GOLONDRINAS — IMMERSIVE STYLESHEET
   =========================================== */

:root {
  /* Brand palette — alineada con Brandbook V1.0 (2026) */
  --c-primary: #1A7A3E;        /* forest */
  --c-primary-dark: #0F5A2C;   /* forest-deep */
  --c-accent: #8DC63F;         /* lime */
  --c-accent-dark: #7AB031;    /* lime-dark */
  --c-sky: #29B6E3;            /* sky */
  --c-sky-deep: #1893BD;
  --c-bg: #FBFAF6;             /* bone */
  --c-bg-2: #F7F4EC;           /* cream */
  --c-bg-3: #E8E2D3;           /* stone */
  --c-bg-dark: #111111;        /* ink */
  --c-ink: #111111;
  --c-ink-soft: #2A2A2A;
  --c-muted: #8A8478;
  --c-graphite: #3A3A3A;
  --c-line: rgba(17, 17, 17, 0.12);
  --c-line-dark: rgba(251, 250, 246, 0.18);
  --f-serif: 'EB Garamond', 'Quattrocento', Georgia, 'Times New Roman', serif;
  --f-serif-alt: 'Quattrocento', Georgia, serif;
  --f-sans: 'Quattrocento Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --nav-h: 116px;
  --maxw: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.serif { font-family: var(--f-serif); }
.eyebrow {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(244, 241, 234, 0);
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--c-line);
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo span {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  color: var(--c-bg);
  transition: color 0.4s var(--ease);
}
.nav.scrolled .nav-logo span { color: var(--c-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--c-bg);
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0.92;
}
.nav.scrolled .nav-links a { color: var(--c-ink); }
.nav-links a:hover { opacity: 1; color: var(--c-accent); }
.nav-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--c-accent);
  color: var(--c-accent) !important;
  border-radius: 999px;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--c-accent);
  color: var(--c-primary) !important;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--c-bg);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav.scrolled .nav-toggle span { background: var(--c-ink); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    background: var(--c-bg);
    flex-direction: column;
    padding: calc(var(--nav-h) + 1rem) 2rem 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease);
    border-bottom: 1px solid var(--c-line);
    visibility: hidden;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a { color: var(--c-ink) !important; font-size: 1.1rem; }
}

/* ============ SECTIONS / SCROLL SNAP ============ */
.snap-container {
  scroll-snap-type: y mandatory;
}
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 4rem) 4rem;
  overflow: hidden;
}
.section-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.section.dark {
  background: var(--c-primary);
  color: var(--c-bg);
}
.section.darker {
  background: var(--c-bg-dark);
  color: var(--c-bg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--c-bg);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vh, 6rem);
}
.hero h1 {
  font-size: clamp(2.75rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero p.lede {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  max-width: 36ch;
  opacity: 0.92;
  margin-bottom: 2.5rem;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--c-accent);
  color: var(--c-primary);
}
.btn-primary:hover { background: var(--c-bg); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(244, 241, 234, 0.55);
  color: var(--c-bg);
}
.btn-outline:hover { background: var(--c-bg); color: var(--c-primary); border-color: var(--c-bg); }
.btn-dark {
  background: var(--c-primary);
  color: var(--c-bg);
}
.btn-dark:hover { background: var(--c-primary-dark); transform: translateY(-2px); }

/* ============ SCROLL CUE ============ */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--c-bg);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.8;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 38px;
  background: var(--c-bg);
  animation: cue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============ MANIFESTO / INTRO ============ */
.manifesto { text-align: center; }
.manifesto blockquote {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  line-height: 1.2;
  font-weight: 400;
  font-style: italic;
  max-width: 22ch;
  margin: 0 auto 2rem;
  color: var(--c-bg);
}
.manifesto p {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
  opacity: 0.85;
  line-height: 1.75;
}

/* ============ MODELOS SPLIT ============ */
.models-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  scroll-snap-align: start;
}
.model-half {
  position: relative;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--c-bg);
  min-height: 100vh;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.5s var(--ease);
}
.model-half-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease);
  z-index: 0;
}
.model-half:hover .model-half-bg { transform: scale(1.06); }
.model-half::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}
.model-half-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}
.model-half h2 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  margin-bottom: 0.5rem;
}
.model-half .price {
  font-family: var(--f-serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.model-half .specs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.model-half .specs span { display: flex; flex-direction: column; }
.model-half .specs strong {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 500;
}
.model-half p {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: 1.75rem;
  max-width: 38ch;
}
@media (max-width: 880px) {
  .models-split { grid-template-columns: 1fr; }
  .model-half { min-height: 80vh; }
}

/* ============ SECTION HEADERS ============ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  max-width: 18ch;
}
.section-head p {
  max-width: 38ch;
  color: var(--c-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.section.dark .section-head p { color: rgba(244, 241, 234, 0.75); }

/* ============ DISTANCES ============ */
.distances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--c-line-dark);
  border-top: 1px solid var(--c-line-dark);
  border-bottom: 1px solid var(--c-line-dark);
  margin-top: 2rem;
}
.distance {
  background: var(--c-primary);
  padding: 2rem 1.5rem;
}
.distance .num {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  color: var(--c-accent);
  display: block;
  line-height: 1;
}
.distance .num small {
  font-size: 0.45em;
  opacity: 0.8;
  margin-left: 0.25rem;
}
.distance .label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============ AMENIDADES GRID ============ */
.amen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.amen-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: #ddd;
}
.amen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.amen-card:hover img { transform: scale(1.06); }
.amen-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--c-bg);
}
.amen-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.amen-card p {
  font-size: 0.85rem;
  opacity: 0.88;
  line-height: 1.55;
}

/* ============ FINANCIAMIENTO ============ */
.fin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.fin-item {
  border-top: 1px solid var(--c-line);
  padding-top: 1.5rem;
}
.section.dark .fin-item { border-top-color: var(--c-line-dark); }
.fin-item .big {
  font-family: var(--f-serif);
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  color: var(--c-accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.fin-item h4 {
  font-family: var(--f-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.fin-item p {
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.75rem 0;
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--c-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.faq-q::after {
  content: '+';
  font-family: var(--f-sans);
  font-size: 1.5rem;
  color: var(--c-accent);
  font-weight: 300;
  transition: transform 0.4s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--c-muted);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 1.75rem;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--c-bg-dark);
  color: var(--c-bg);
  padding: 5rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-line-dark);
}
.footer h4 {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.footer p, .footer a, .footer li {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(244, 241, 234, 0.78);
}
.footer ul { list-style: none; }
.footer a:hover { color: var(--c-accent); }
.footer-brand img { height: 132px; margin-bottom: 1.25rem; width: auto; max-width: 360px; }
.footer-brand .tagline {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--c-bg);
  margin-top: 0.5rem;
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(244, 241, 234, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============ CONTENT BLOCKS ============ */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.two-col.reverse { grid-template-columns: 1fr 1.05fr; }
.two-col img { border-radius: 4px; object-fit: cover; width: 100%; aspect-ratio: 4/5; }
@media (max-width: 880px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.spec-row .item {
  border-top: 1px solid var(--c-line);
  padding-top: 1rem;
}
.section.dark .spec-row .item { border-top-color: var(--c-line-dark); }
.spec-row strong {
  font-family: var(--f-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--c-accent);
  display: block;
  line-height: 1;
}
.spec-row span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.78;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}
.feature-list li {
  padding: 0.65rem 0 0.65rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--c-line);
}
.section.dark .feature-list li { border-bottom-color: var(--c-line-dark); }
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.15rem;
  width: 8px; height: 1px;
  background: var(--c-accent);
}

/* ============ MAP IFRAME ============ */
.map-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 4px;
  filter: grayscale(0.3) contrast(1.05);
}

/* ============ FUNNEL VARIANTS ============ */
.funnel-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}
.funnel-nav img { height: 42px; }
.funnel-nav a {
  color: var(--c-bg);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.funnel-nav a:hover { opacity: 1; color: var(--c-accent); }

.huge-price {
  font-family: var(--f-serif);
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 400;
  line-height: 0.9;
  color: var(--c-accent);
  letter-spacing: -0.03em;
}
.huge-price small {
  display: block;
  font-size: 0.18em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-bg);
  opacity: 0.7;
  font-family: var(--f-sans);
  margin-top: 1rem;
}

.section-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.section-image-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.75));
}
.section.has-bg-image { color: var(--c-bg); }
.section.has-bg-image .section-inner { position: relative; z-index: 2; }

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-strip img {
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
}
@media (max-width: 720px) {
  .gallery-strip { grid-template-columns: 1fr; }
}

/* ============ PILL ============ */
.pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: rgba(141, 198, 63, 0.15);
  color: var(--c-accent);
  border: 1px solid rgba(141, 198, 63, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ============ CALENDAR WRAPPER ============ */
.cal-wrap {
  background: var(--c-bg);
  color: var(--c-ink);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 6px;
  margin-top: 2rem;
}

/* ============ NAV LOGO (bicolor swap, display-based — no overlap) ============ */
.nav-logo,
.nav-mini-mark {
  display: inline-flex;
  align-items: center;
  height: 100%;
  position: relative;
}
.nav-logo img,
.nav-mini-mark img {
  height: 88px;
  width: auto;
  display: block;
}
/* Default state (over hero): show light, hide dark */
.nav-logo .logo-dark,
.nav-mini-mark .logo-dark { display: none; }
.nav-logo .logo-light,
.nav-mini-mark .logo-light { display: block; }

/* Scrolled (or always-solid pages): swap */
.nav.scrolled .nav-logo .logo-light,
.nav.scrolled .nav-mini-mark .logo-light,
.nav.always-solid .nav-logo .logo-light,
.nav.always-solid .nav-mini-mark .logo-light { display: none; }
.nav.scrolled .nav-logo .logo-dark,
.nav.scrolled .nav-mini-mark .logo-dark,
.nav.always-solid .nav-logo .logo-dark,
.nav.always-solid .nav-mini-mark .logo-dark { display: block; }

@media (max-width: 540px) {
  .nav-logo img,
  .nav-mini-mark img { height: 64px; }
}

/* ============ EYEBROW NUMBERED (brandbook style) ============ */
.eyebrow-numbered {
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
}
.eyebrow-numbered .num {
  color: var(--c-accent);
  font-weight: 700;
}
.eyebrow-numbered .bi em {
  font-style: italic;
  color: var(--c-muted);
  opacity: 0.7;
  letter-spacing: 0.18em;
  text-transform: none;
  font-family: var(--f-serif);
  font-size: 0.95em;
  margin-left: 0.25rem;
}
.section.dark .eyebrow-numbered,
.section.darker .eyebrow-numbered { color: rgba(251, 250, 246, 0.7); }
.section.dark .eyebrow-numbered .bi em,
.section.darker .eyebrow-numbered .bi em { color: rgba(251, 250, 246, 0.55); }

/* ============ LIME-WORD HIGHLIGHT (brandbook signature) ============ */
.lime-word,
em.lime-word {
  font-style: italic;
  color: var(--c-accent-dark);
  font-weight: 500;
}
.section.dark em.lime-word,
.section.darker em.lime-word,
.postura-si em.lime-word { color: var(--c-accent); }

/* ============ POSTURA — No somos otro residencial ============ */
.postura {
  background: var(--c-bg-2); /* cream */
}
.postura-head {
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.postura-head h2 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.0;
  margin-top: 0.85rem;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.postura-head .bilingual {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.postura-head .postura-intro {
  font-family: var(--f-serif-alt);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--c-graphite);
  text-align: right;
  max-width: 460px;
  justify-self: end;
}
@media (max-width: 820px) {
  .postura-head { grid-template-columns: 1fr; }
  .postura-head .postura-intro { text-align: left; justify-self: start; }
}

.postura-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 820px) {
  .postura-grid { grid-template-columns: 1fr; }
}
.postura-card {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.postura-no { background: var(--c-bg); }
.postura-si {
  background: var(--c-primary-dark);
  color: var(--c-bg);
}
.postura-marker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.postura-marker .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--f-sans);
}
.postura-marker .dot-no { background: #C94A4A; color: #fff; }
.postura-marker .dot-si { background: var(--c-accent); color: var(--c-ink); }
.postura-marker .label-no,
.postura-marker .label-si {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.postura-marker .label-no { color: #9A2F2F; }
.postura-marker .label-si { color: var(--c-accent); }
.postura-card h3 {
  font-family: var(--f-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0.25rem 0 0.1rem;
}
.postura-no h3 { color: var(--c-graphite); }
.postura-si h3 { color: var(--c-bg); }
.postura-card .bilingual {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-top: 0;
}
.postura-list {
  list-style: none;
  padding: 1rem 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--f-serif-alt);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--c-muted);
}
.postura-si .postura-list {
  border-top-color: rgba(251, 250, 246, 0.18);
  color: rgba(251, 250, 246, 0.88);
}
.postura-list li::before {
  content: '— ';
  margin-right: 0.15rem;
}

/* ============ UTIL ============ */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.divider {
  width: 60px;
  height: 1px;
  background: var(--c-accent);
  margin: 1.5rem 0;
}
.text-center .divider { margin-left: auto; margin-right: auto; }

/* ============ MOBILE-FIRST OPTIMIZATIONS ============ */
/* Inputs: prevent iOS zoom on focus */
input, select, textarea, button { font-size: 16px; }

/* Tighter spacing under 640px */
@media (max-width: 640px) {
  .section-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section { padding: 3.5rem 0; }
  .section.dark { padding: 3.5rem 0; }
  .hero { min-height: 72vh; }
  .hero-content { padding: 1.25rem; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.6rem); line-height: 1.05; }
  .hero .lede, .hero p.lede { font-size: 1rem; line-height: 1.55; }
  .hero-cta-row { flex-direction: column; gap: .65rem; width: 100%; }
  .hero-cta-row .btn { width: 100%; text-align: center; padding: 1rem 1.25rem; }

  .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta, .topnav-cta { min-height: 44px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.25rem; }
  .section-head h2 { font-size: clamp(1.85rem, 7vw, 2.6rem); }

  .two-col { gap: 1.75rem; }
  .two-col img { aspect-ratio: 4/3; }

  .spec-row { gap: .5rem; }
  .spec-row .item { padding: .85rem .65rem; }
  .spec-row .item strong { font-size: 1.4rem; }

  .models-split .model-half { min-height: 60vh; }
  .model-half-content { padding: 1.75rem 1.25rem; }

  .footer-inner { padding: 2.5rem 1.25rem 1.5rem; gap: 1.5rem; }

  /* Scroll cue overlaps hero CTAs on mobile — hide it (sticky bar + CTAs are enough cue) */
  .scroll-cue { display: none; }
}

/* Very small viewports — iPhone SE etc. */
@media (max-width: 380px) {
  .hero h1 { font-size: 2.1rem; }
  .nav-logo img, .nav-mini-mark img { height: 64px; }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none !important; opacity: 1 !important; transition: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
