/* =============================================================
   0. Fonts (self-hosted — external Google Fonts links hang render
      inside this sandboxed preview; also arguably better practice
      for a static WinSCP deploy)
   ============================================================= */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('lib/fonts/newsreader-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('lib/fonts/newsreader-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('lib/fonts/public-sans.woff2') format('woff2');
}

/* =============================================================
   WeSurf Desarrollos Sustentables — v3
   1. Tokens
   ============================================================= */
:root {
  --ink: #14120F;
  --arena: #F6F3EC;
  --bg: #EDEAE2;
  --oceano: #16283A;
  --ladrillo: #B4502E;
  --piedra: #C9C2B4;
  --white: #fff;

  --border-soft: rgba(20,18,15,.08);
  --border-mid: rgba(20,18,15,.12);
  --border-strong: rgba(20,18,15,.25);
  --arena-border: rgba(246,243,236,.14);
  --arena-border-mid: rgba(246,243,236,.35);

  --font-display: 'Newsreader', serif;
  --font-sans: 'Public Sans', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 72px;
  --container-pad: 20px;
  --demo-bar-h: 0px; /* demo bar disabled per Eduardo's request — see demoBar() in generate.mjs */
}

@media (min-width: 960px) {
  :root { --nav-h: 96px; --container-pad: 48px; }
}
@media (min-width: 1280px) {
  :root { --container-pad: 64px; }
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  padding-top: var(--demo-bar-h);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ladrillo); color: var(--arena); }

:focus-visible {
  outline: 2px solid var(--ladrillo);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--arena); color: var(--ink);
  z-index: 9999; border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }
.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;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: 1312px; margin-inline: auto; padding-inline: var(--container-pad); }

.wave-icon { display: block; flex-shrink: 0; width: 26px; height: 10px; }
@media (min-width: 960px) { .wave-icon { width: 34px; height: 12px; } }
.separator .wave-icon { width: 140px; height: 16px; }
@media (min-width: 960px) { .separator .wave-icon { width: 200px; height: 20px; } }
.footer-copy .wave-icon { width: 22px; height: 9px; }
@media (min-width: 960px) { .footer-copy .wave-icon { width: 26px; height: 10px; } }

.eyebrow {
  display: flex; align-items: center; gap: 9px;
  font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); opacity: .55; margin-bottom: 16px;
}
.eyebrow .wave-icon { color: currentColor; }
.eyebrow--on-dark { color: var(--arena); }
@media (min-width: 960px) {
  .eyebrow { gap: 12px; font-size: 12px; letter-spacing: .14em; margin-bottom: 22px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font: 600 14px/1 var(--font-sans);
  padding: 15px 26px; text-decoration: none; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), background-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid-light { background: var(--arena); color: var(--ink); }
.btn-solid-ink { background: var(--oceano); color: var(--arena); }
.btn-solid-ladrillo { background: var(--ladrillo); color: var(--arena); }
/* WeSurf Next's own blue accent — used by nav()'s default CTA sitewide
   (every page's header points to the Next investment platform, same as the
   button defined on wesurf-next.html itself, so it carries that page's own
   color instead of the generic ladrillo red). */
.btn-solid-wsn { background-image: linear-gradient(120deg, #2e7cf6, #3ed2f2); color: #fff; border: none; box-shadow: 0 8px 30px rgba(46, 124, 246, .35); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.btn-solid-wsn:hover { box-shadow: 0 8px 40px rgba(62, 210, 242, .45); }
.btn-outline-ink { border: 1px solid var(--border-strong); color: var(--ink); }
.btn-outline-arena { border: 1px solid var(--arena-border-mid); color: var(--arena); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 13px; }
@media (min-width: 960px) {
  .btn { padding: 18px 34px; font-size: 15px; }
  .btn-block { width: auto; }
  .btn-sm { padding: 12px 22px; font-size: 13.5px; }
}

.link-underline {
  color: var(--ink); font: 500 14px/1 var(--font-sans); text-decoration: none;
  border-bottom: 1px solid var(--border-strong); padding-bottom: 3px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .25s var(--ease-out);
}
.link-underline:hover { opacity: .6; }
.link-underline--on-dark { color: var(--arena); border-bottom-color: var(--arena-border-mid); }

.section-title-xl {
  font: italic 500 26px/1.25 var(--font-display); color: var(--ink);
}
@media (min-width: 720px) { .section-title-xl { font-size: 32px; } }
@media (min-width: 960px) { .section-title-xl { font-size: 40px; line-height: 1.2; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.grading {
  filter: contrast(1.12) saturate(.82) brightness(.97);
}

/* =============================================================
   4. Nav
   ============================================================= */
/* Demo disclaimer bar — always on top, pushes nav + page content down */
.demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--demo-bar-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--arena);
  text-align: center; padding-inline: 16px;
  font: 500 11px/1.3 var(--font-sans); letter-spacing: .01em;
}
.demo-bar strong { font-weight: 700; }

.site-nav {
  position: fixed; top: var(--demo-bar-h); left: 0; right: 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--container-pad);
  color: var(--arena);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out);
}
/* overlay theme (photo hero pages): starts transparent, solidifies on scroll.
   Solid state uses Océano (not Arena) per the 2026 brand-manual update —
   text/logo stay light (arena) throughout, so no dark/light logo swap is
   needed on scroll any more (see initNavScroll in main.js). */
.site-nav.is-overlay.is-scrolled {
  background: var(--oceano); border-bottom-color: rgba(246,243,236,.1);
}
/* static theme (no photo behind nav): always solid Océano */
.site-nav.is-static { background: var(--oceano); border-bottom-color: rgba(246,243,236,.1); color: var(--arena); }

main.has-fixed-nav { padding-top: var(--nav-h); }
/* padding-top on has-fixed-nav is relative to body, which already reserves --demo-bar-h */

.nav-logo { height: 48px; width: auto; display: block; }
@media (min-width: 960px) { .nav-logo { height: 64px; } }

.nav-links {
  display: none;
}
@media (min-width: 960px) {
  /* 8 items now (was 6) with longer labels — sized down from the original
     13px/36px so the row still fits on one line instead of wrapping. */
  .nav-links { display: flex; align-items: center; gap: 15px; }
}
@media (min-width: 1280px) {
  .nav-links { gap: 20px; }
}
.nav-links a {
  font: 500 10.5px/1 var(--font-sans); letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; opacity: .7; transition: opacity .25s var(--ease-out);
  padding-bottom: 6px; white-space: nowrap;
}
@media (min-width: 1280px) { .nav-links a { font-size: 11.5px; } }
.nav-links a:hover { opacity: 1; }
.nav-links a.is-active { opacity: 1; font-weight: 600; border-bottom: 2px solid currentColor; }

.nav-right { display: flex; align-items: center; gap: 14px; }
@media (min-width: 960px) { .nav-right { gap: 18px; } }

.lang-toggle {
  display: flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font-sans);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.lang-toggle span { padding-bottom: 2px; transition: opacity .2s var(--ease-out); }
.lang-toggle .lang-es { opacity: 1; border-bottom: 1px solid currentColor; }
.lang-toggle .lang-en { opacity: .5; }
.lang-toggle .lang-sep { opacity: .35; }
.lang-toggle:hover .lang-en { opacity: .8; }
.lang-toggle:hover .lang-es { opacity: .8; }
html[data-lang="en"] .lang-toggle .lang-es { opacity: .45; border-bottom: none; }
html[data-lang="en"] .lang-toggle .lang-en { opacity: 1; border-bottom: 1px solid currentColor; }

.nav-burger {
  display: flex; flex-direction: column; gap: 5px; width: 24px; align-items: flex-end;
  background: none; border: 0; padding: 4px; cursor: pointer;
}
.nav-burger span { display: block; height: 2px; background: currentColor; transition: all .3s var(--ease-out); }
.nav-burger span:nth-child(1) { width: 24px; }
.nav-burger span:nth-child(2) { width: 17px; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); width: 22px; }
.nav-burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); width: 22px; }
@media (min-width: 960px) { .nav-burger { display: none; } }

.nav-cta { display: none; }
@media (min-width: 960px) { .nav-cta { display: inline-flex; } }

/* mobile menu overlay */
.mobile-menu {
  position: fixed; top: var(--demo-bar-h); left: 0; right: 0; bottom: 0; z-index: 90; background: var(--arena);
  display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .45s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu-head {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding-inline: 20px; border-bottom: 1px solid var(--border-soft); flex-shrink: 0;
}
.mobile-menu-links {
  display: flex; flex-direction: column; gap: 26px; padding: 32px 28px;
  font: 500 22px/1 var(--font-sans); color: var(--ink); overflow-y: auto;
}
.mobile-menu-links a { text-decoration: none; }
.mobile-menu-foot {
  margin-top: auto; padding: 24px 28px; border-top: 1px solid var(--border-soft);
}
@media (min-width: 960px) { .mobile-menu { display: none; } }

/* =============================================================
   5. Hero grading overlays (shared pattern across heroes)
   ============================================================= */
.photo-cover { position: relative; overflow: hidden; }
.photo-cover img { width: 100%; height: 100%; object-fit: cover; }
.photo-cover::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(22,40,58,.4), transparent 55%);
  mix-blend-mode: multiply;
}
.photo-cover--warm::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(340deg, rgba(255,214,170,.14), transparent 50%);
  mix-blend-mode: soft-light;
}
.photo-cover--scrim-strong::before, .hero-scrim {
  background: linear-gradient(to top, rgba(20,18,15,.94) 0%, rgba(20,18,15,.5) 32%, rgba(20,18,15,0) 62%);
  mix-blend-mode: normal;
}
/* Top-anchored dim band over every photo hero, just tall enough to sit
   behind the fixed nav — layered on top of each hero's own scrim so the
   header/logo stay legible without noticeably darkening the rest of the
   photo. A flat full-height version of this existed before; this is
   intentionally scoped to the nav area only ("sólo un poco"). */
.hero-nav-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.32), transparent 220px);
}

/* =============================================================
   6. Footer (shared across every page)
   ============================================================= */
.site-footer { background: var(--oceano); padding: 56px 20px 32px; }
@media (min-width: 960px) { .site-footer { padding: 96px 64px 40px; } }

.footer-top {
  display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px;
}
.footer-top .footer-headline {
  font: italic 500 26px/1.15 var(--font-display); color: var(--arena);
}
@media (min-width: 720px) {
  .footer-top { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 80px; }
  .footer-top .footer-headline { font-size: 44px; }
}
@media (min-width: 1280px) { .footer-top .footer-headline { font-size: 52px; } }

.footer-grid {
  display: flex; flex-direction: column; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid var(--arena-border);
  margin-bottom: 28px;
}
@media (min-width: 720px) {
  .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 64px; margin-bottom: 32px; }
}
.footer-col-label {
  font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--arena); opacity: .5; margin-bottom: 12px;
}
@media (min-width: 720px) { .footer-col-label { margin-bottom: 18px; } }
.footer-col-body { font: 400 15px/1.7 var(--font-sans); color: var(--arena); opacity: .85; }
.footer-newsletter-field {
  display: flex; border-bottom: 1px solid var(--arena-border-mid); padding-bottom: 12px;
}
.footer-newsletter-field input {
  background: transparent; border: none; outline: none; color: var(--arena);
  font: 400 15px var(--font-sans); flex: 1;
}
.footer-newsletter-field input::placeholder { color: var(--arena); opacity: .5; }
.footer-newsletter-field button { color: var(--arena); font: 500 14px var(--font-sans); background: none; border: 0; }

.footer-bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-top: 0;
}
@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}
.footer-copy { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.footer-copy .wave-icon { color: var(--arena); opacity: .6; }
.footer-copy span { font: 400 11px/1.5 var(--font-sans); color: var(--arena); opacity: .45; }
@media (min-width: 720px) { .footer-copy span { font-size: 12px; } }
.footer-bottom .lang-toggle { color: var(--arena); }
.footer-bottom .lang-toggle .lang-es,
.footer-bottom .lang-toggle .lang-en { border-bottom-color: var(--arena); }

/* EMDAI studio credit — final strip after the site footer, on every page */
.emdai-credits { background: #000; padding: 16px 20px; text-align: center; }
.emdai-credits__link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--font-sans); letter-spacing: .02em;
  color: rgba(246,243,236,.45);
  transition: color .2s var(--ease-out);
}
.emdai-credits__link:hover, .emdai-credits__link:focus-visible { color: var(--arena); }
.emdai-credits__logo { height: 16px; width: auto; }

/* legal disclaimer (project pages) */
.legal-disclaimer {
  padding-top: 24px; border-top: 1px solid var(--arena-border);
  font: 400 12px/1.5 var(--font-sans); color: var(--arena); opacity: .4; max-width: 820px;
}
@media (min-width: 960px) { .legal-disclaimer { padding-top: 32px; font-size: 13px; } }

/* =============================================================
   7. Separator (oleaje)
   ============================================================= */
.separator { display: flex; justify-content: center; padding: 40px 20px; color: var(--ink); opacity: .22; }
.separator--dark { color: var(--arena); opacity: .2; background: var(--oceano); }
@media (min-width: 960px) { .separator { padding: 56px 64px; } }
.separator--lede { position: relative; flex-direction: column; align-items: center; opacity: 1; background: none; padding-bottom: 56px; }
@media (min-width: 960px) { .separator--lede { padding-bottom: 72px; } }
.separator--lede .separator-layer {
  position: absolute; inset: 0; display: flex; justify-content: center; pointer-events: none;
  padding: 40px 20px 0; background: var(--oceano); color: var(--arena); opacity: .2;
}
@media (min-width: 960px) { .separator--lede .separator-layer { padding: 56px 64px 0; } }
.separator-wave-space { height: 16px; flex-shrink: 0; }
@media (min-width: 960px) { .separator-wave-space { height: 20px; } }
.separator-lede { position: relative; max-width: 1040px; margin: 28px 0 0; text-align: center; color: var(--ink); }
@media (min-width: 960px) { .separator-lede { margin-top: 36px; } }

/* =============================================================
   8. Ladrillos Digitales tag / badge
   ============================================================= */
.tag-ladrillos {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ladrillo); padding: 7px 12px;
}
@media (min-width: 960px) { .tag-ladrillos { gap: 8px; padding: 8px 14px; } }
.tag-ladrillos-dots {
  display: grid; grid-template-columns: 6px 6px; grid-template-rows: 6px 6px; gap: 2px;
}
@media (min-width: 960px) { .tag-ladrillos-dots { grid-template-columns: 7px 7px; grid-template-rows: 7px 7px; } }
.tag-ladrillos-dots span:nth-child(1) { background: var(--arena); }
.tag-ladrillos-dots span:nth-child(2), .tag-ladrillos-dots span:nth-child(3), .tag-ladrillos-dots span:nth-child(4) { background: rgba(246,243,236,.35); }
.tag-ladrillos-label {
  font: 700 9.5px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--arena);
}
@media (min-width: 960px) { .tag-ladrillos-label { font-size: 10.5px; letter-spacing: .1em; } }

.tag-proximo {
  display: inline-block; background: var(--piedra); padding: 5px 10px;
  font: 700 9px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
@media (min-width: 960px) { .tag-proximo { padding: 6px 12px; font-size: 10px; letter-spacing: .08em; } }

.tag-estado {
  display: inline-block; padding: 6px 12px; font: 700 10px/1 var(--font-sans);
  letter-spacing: .08em; text-transform: uppercase; color: var(--arena); background: var(--oceano);
}

/* =============================================================
   9. HOME
   ============================================================= */
.hero-home {
  position: relative; width: 100%; height: 760px; overflow: hidden;
}
@media (min-width: 960px) { .hero-home { height: 860px; } }
.hero-home .photo-cover { position: absolute; inset: 0; }
/* The shared .hero-scrim gradient is tuned for bottom-anchored copy (dark
   at the bottom, fading to nothing by 62% up). Home's content is vertically
   centered, which landed it right in that fade-out zone against a bright
   sky — barely any scrim behind it. Darken the middle here specifically,
   without touching the shared .hero-scrim other heroes still rely on. */
.hero-home .hero-scrim {
  background: linear-gradient(to top, rgba(20,18,15,.92) 0%, rgba(20,18,15,.72) 40%, rgba(20,18,15,.5) 60%, rgba(20,18,15,.28) 100%);
}
/* Crossfade between the two Home hero background photos: both images are
   stacked absolute/full-bleed, JS toggles .is-active between them on a
   timer, and the opacity transition does the fade. */
.hero-home .hero-bg-fade {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease-in-out;
}
.hero-home .hero-bg-fade.is-active { opacity: 1; }
.hero-home-content { position: absolute; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); z-index: 5; }
@media (min-width: 960px) {
  .hero-home-content { left: 64px; right: 64px; }
}
/* Tighter stack: WeSurf / Más con menos / subtitle read as one close-knit
   block instead of three loosely-spaced lines. */
.hero-home-content .eyebrow { margin-bottom: 8px; }
@media (min-width: 960px) { .hero-home-content .eyebrow { margin-bottom: 10px; } }
.hero-home-title {
  font: 500 42px/1.08 var(--font-display); color: var(--arena); max-width: 820px; margin: 0 0 12px;
}
@media (min-width: 960px) { .hero-home-title { font-size: 96px; line-height: 1; margin-bottom: 16px; } }
.hero-scroll-hint {
  position: absolute; bottom: 24px; left: 20px; display: flex; align-items: center; gap: 10px;
  color: var(--arena); opacity: .6; z-index: 5;
}
.hero-home-content .hero-scroll-hint { top: 100%; bottom: auto; left: 0; margin-top: 64px; }
.hero-scroll-hint .line { width: 1px; height: 34px; background: currentColor; }
.hero-scroll-hint span { font: 500 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 959px) { .hero-scroll-hint { display: none; } }

.section-block { padding: 56px 20px 48px; }
@media (min-width: 960px) { .section-block { padding: 128px 64px 100px; } }

.comoinvertir-lede { max-width: 62ch; font: 400 16px/1.55 var(--font-sans); color: var(--ink); opacity: .7; margin: 0 0 40px; }
@media (min-width: 960px) { .comoinvertir-lede { font-size: 18px; margin-bottom: 48px; } }
.comoinvertir-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .comoinvertir-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.comoinvertir-card { border-radius: 4px; padding: 28px 26px; display: flex; flex-direction: column; }
@media (min-width: 960px) { .comoinvertir-card { padding: 34px 32px; } }
.comoinvertir-card--dark { background: var(--ink); border: 1px solid var(--ladrillo); }
.comoinvertir-card--bg { background: var(--bg); border: 1px solid var(--piedra); }
.comoinvertir-card--arena { background: var(--arena); border: 1px solid var(--piedra); }
.comoinvertir-card--oceano { background: var(--oceano); border: 1px solid var(--oceano); justify-content: space-between; min-height: 100%; }
.comoinvertir-card-eyebrow { display: block; font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .55; margin-bottom: 10px; }
.comoinvertir-card-eyebrow--ladrillo { color: var(--ladrillo); opacity: 1; }
.comoinvertir-card--dark .comoinvertir-card-eyebrow:not(.comoinvertir-card-eyebrow--ladrillo) { color: var(--arena); opacity: .55; }
.comoinvertir-card-title { font: italic 500 26px/1.2 var(--font-display); color: var(--ink); margin: 0 0 12px; }
@media (min-width: 960px) { .comoinvertir-card-title { font-size: 30px; } }
.comoinvertir-card--dark .comoinvertir-card-title, .comoinvertir-card--oceano .comoinvertir-card-title { color: var(--arena); }
.comoinvertir-card-desc { font: 400 14.5px/1.55 var(--font-sans); color: var(--ink); opacity: .7; margin: 0; flex-grow: 1; }
.comoinvertir-card--dark .comoinvertir-card-desc { color: var(--arena); opacity: .75; }
.comoinvertir-card-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }
.comoinvertir-card--oceano .comoinvertir-card-actions { margin-top: 32px; }

.dos-proyectos-grid { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 960px) { .dos-proyectos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; } }
.proyecto-card-media { position: relative; height: 300px; overflow: hidden; }
@media (min-width: 960px) { .proyecto-card-media { height: 520px; } }
.proyecto-card-media .tag-ladrillos { position: absolute; top: 14px; left: 14px; }
@media (min-width: 960px) { .proyecto-card-media .tag-ladrillos { top: 20px; left: 20px; } }
.proyecto-card-head {
  display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; gap: 12px;
}
@media (min-width: 960px) { .proyecto-card-head { margin-top: 24px; } }
.proyecto-card-name { font: 500 22px/1.2 var(--font-display); color: var(--ink); }
@media (min-width: 960px) { .proyecto-card-name { font-size: 28px; } }
.proyecto-card-count { font: 400 12px/1 var(--font-sans); color: var(--ink); opacity: .55; white-space: nowrap; }
@media (min-width: 960px) { .proyecto-card-count { font-size: 13px; } }
.proyecto-card-loc { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .7; margin: 8px 0 14px; }
@media (min-width: 960px) { .proyecto-card-loc { font-size: 16px; margin: 10px 0 18px; } }

.proximos-grid {
  display: flex; gap: 14px; overflow-x: auto; padding: 0 20px 8px; margin: 0 -20px;
}
@media (min-width: 960px) {
  .proximos-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; padding: 0; margin: 0; overflow: visible; }
}
.proximo-card { flex: none; width: 220px; }
@media (min-width: 960px) { .proximo-card { width: auto; } }
.proximo-card-media { position: relative; height: 220px; overflow: hidden; }
@media (min-width: 960px) { .proximo-card-media { height: 280px; } }
.proximo-card-media .tag-proximo { position: absolute; top: 10px; left: 10px; }
@media (min-width: 960px) { .proximo-card-media .tag-proximo { top: 14px; left: 14px; } }
.proximo-card-name { font: 500 17px/1.3 var(--font-display); color: var(--ink); margin-top: 12px; }
@media (min-width: 960px) { .proximo-card-name { font-size: 20px; } }
.proximo-card-meta { font: 400 11px/1 var(--font-sans); color: var(--ink); opacity: .5; margin: 5px 0 0; }
@media (min-width: 960px) { .proximo-card-meta { font-size: 12px; margin: 6px 0 0; } }
.proximo-card-tag { font: italic 400 13px/1.3 var(--font-display); color: var(--ladrillo); margin: 4px 0 12px; }
@media (min-width: 960px) { .proximo-card-tag { font-size: 14px; margin: 5px 0 12px; } }

.sustentabilidad-band {
  position: relative; padding: 48px 20px; background: var(--piedra);
  background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.10) 0px, rgba(255,255,255,.10) 2px, transparent 2px, transparent 64px);
}
@media (min-width: 960px) {
  .sustentabilidad-band {
    padding: 128px 64px;
    background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.10) 0px, rgba(255,255,255,.10) 2px, transparent 2px, transparent 64px), repeating-linear-gradient(10deg, rgba(20,18,15,.05) 0px, rgba(20,18,15,.05) 1px, transparent 1px, transparent 46px);
  }
}
.sustentabilidad-band-inner { max-width: 1280px; margin: 0 auto; }
@media (min-width: 960px) { .sustentabilidad-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.sustentabilidad-band-lede { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .75; margin-bottom: 20px; max-width: 480px; }
@media (min-width: 960px) { .sustentabilidad-band-lede { font-size: 18px; margin-bottom: 30px; } }
.sustentabilidad-quote { font: italic 500 18px/1.5 var(--font-display); color: var(--ink); opacity: .85; max-width: 520px; margin-top: 24px; }
@media (min-width: 960px) { .sustentabilidad-quote { font-size: 22px; margin-top: 32px; } }
.sustentabilidad-band-media { display: none; }
@media (min-width: 960px) {
  .sustentabilidad-band-media { display: block; height: 380px; position: relative; overflow: hidden; }
  /* image is oversized (118% height) with room to spare so the scroll-parallax
     translate never reveals an edge gap inside the fixed-height container */
  .sustentabilidad-band-media img {
    position: absolute; top: -9%; left: 0; width: 100%; height: 118%;
    object-fit: cover; filter: contrast(1.05) saturate(.9);
  }
}

.nosotros-band { background: var(--oceano); padding: 72px 20px; text-align: center; }
@media (min-width: 960px) { .nosotros-band { padding: 150px 64px; } }
.nosotros-band .eyebrow { justify-content: center; }
.nosotros-band-quote {
  font: italic 500 27px/1.4 var(--font-display); color: var(--arena); max-width: 840px; margin: 0 auto 20px;
}
@media (min-width: 960px) { .nosotros-band-quote { font-size: 44px; line-height: 1.35; margin-bottom: 28px; } }
.nosotros-band-byline { font: 400 13px/1 var(--font-sans); color: var(--arena); opacity: .6; margin-bottom: 24px; }
@media (min-width: 960px) { .nosotros-band-byline { font-size: 14px; margin-bottom: 34px; } }

/* =============================================================
   10. PROYECTOS (index) + FICHA PROYECTO (shared patterns)
   ============================================================= */
.page-intro { padding: 48px 20px 40px; max-width: 920px; }
@media (min-width: 960px) { .page-intro { padding: 110px 64px 96px; } }
.page-intro-title { font: 500 34px/1.15 var(--font-display); color: var(--ink); margin-bottom: 16px; }
@media (min-width: 960px) { .page-intro-title { font-size: 64px; line-height: 1.12; margin-bottom: 26px; } }
.page-intro-lede { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .7; }
@media (min-width: 960px) { .page-intro-lede { font-size: 18px; } }

.proyecto-feature { padding: 0 20px 40px; }
@media (min-width: 960px) { .proyecto-feature { padding: 0 64px 40px; } }
.proyecto-feature-grid { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) {
  .proyecto-feature-grid { display: grid; gap: 56px; align-items: center; }
  .proyecto-feature-grid.media-right { grid-template-columns: 1.3fr 1fr; }
  .proyecto-feature-grid.media-left { grid-template-columns: 1fr 1.3fr; }
  .proyecto-feature-grid.media-left .proyecto-feature-media { order: -1; }
}
.proyecto-feature-media { position: relative; height: 300px; overflow: hidden; }
@media (min-width: 960px) { .proyecto-feature-media { height: 560px; } }
.proyecto-feature-media .tag-ladrillos { position: absolute; top: 14px; left: 14px; }
@media (min-width: 960px) { .proyecto-feature-media .tag-ladrillos { top: 22px; left: 22px; } }
.proyecto-feature-name { font: 500 26px/1.2 var(--font-display); color: var(--ink); margin-bottom: 12px; }
@media (min-width: 960px) { .proyecto-feature-name { font-size: 40px; margin-bottom: 14px; } }
.proyecto-feature-count { font: 400 12px/1 var(--font-sans); color: var(--ink); opacity: .5; margin-bottom: 14px; }
@media (min-width: 960px) { .proyecto-feature-count { font-size: 13px; margin-bottom: 20px; } }
.proyecto-feature-desc { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .75; margin-bottom: 20px; }
@media (min-width: 960px) { .proyecto-feature-desc { font-size: 17px; margin-bottom: 26px; } }

/* =============================================================
   11. FICHA DE PROYECTO — hero / datos / galería / lightbox
   ============================================================= */
.hero-ficha { position: relative; width: 100%; height: 420px; overflow: hidden; }
@media (min-width: 720px) { .hero-ficha { height: 500px; } }
@media (min-width: 960px) { .hero-ficha { height: 620px; } }
.hero-ficha .photo-cover { position: absolute; inset: 0; }
.hero-ficha-badge { position: absolute; top: 20px; left: 20px; z-index: 5; }
@media (min-width: 960px) { .hero-ficha-badge { top: 64px; left: 64px; } }
.hero-ficha-content { position: absolute; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); z-index: 5; }
@media (min-width: 960px) {
  .hero-ficha-content { left: 64px; right: 64px; top: auto; bottom: 64px; transform: none; }
}
.hero-ficha-eyebrow {
  display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--arena);
  font: 600 10.5px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; opacity: .85;
}
@media (min-width: 960px) { .hero-ficha-eyebrow { gap: 12px; margin-bottom: 20px; font-size: 12px; letter-spacing: .14em; } }
.hero-ficha-title { font: 500 34px/1.15 var(--font-display); color: var(--arena); max-width: 820px; }
@media (min-width: 720px) { .hero-ficha-title { font-size: 48px; } }
@media (min-width: 960px) { .hero-ficha-title { font-size: 68px; line-height: 1.1; } }

.datos-block { padding: 36px 20px; border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 720px) { .datos-block { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; } }
@media (min-width: 960px) { .datos-block { padding: 80px 64px; grid-template-columns: repeat(4,1fr); gap: 40px; } }
.dato-label { font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .5; margin-bottom: 8px; }
@media (min-width: 960px) { .dato-label { margin-bottom: 10px; } }
.dato-value { font: 400 16px/1.5 var(--font-sans); color: var(--ink); }
@media (min-width: 960px) { .dato-value { font-size: 17px; } }

.galeria-block { padding: 40px 20px 48px; }
@media (min-width: 960px) { .galeria-block { padding: 80px 64px 96px; } }
.galeria-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
@media (min-width: 960px) { .galeria-head { margin-bottom: 32px; } }
.galeria-head-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); }
@media (min-width: 960px) { .galeria-head-title { font-size: 34px; } }
.galeria-head-count { font: 400 12px/1 var(--font-sans); color: var(--ink); opacity: .5; }
@media (min-width: 960px) { .galeria-head-count { font-size: 13px; } }
.galeria-legal { font: 400 11.5px/1.5 var(--font-sans); color: var(--ink); opacity: .5; text-align: center; max-width: 72ch; margin: 22px auto 0; }
@media (min-width: 960px) { .galeria-legal { font-size: 12px; margin-top: 28px; } }
.galeria-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
@media (min-width: 960px) { .galeria-grid { grid-template-columns: repeat(4,1fr); gap: 14px; } }
.galeria-tile { position: relative; height: 150px; overflow: hidden; cursor: pointer; border: 0; padding: 0; display: block; width: 100%; }
@media (min-width: 960px) { .galeria-tile { height: 190px; } }
.galeria-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galeria-tile-more { position: relative; }
.galeria-tile-more img { filter: contrast(1.12) saturate(.82) brightness(.6); }
.galeria-tile-more-label {
  position: absolute; inset: 0; background: rgba(20,18,15,.5);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font: 500 13px/1.2 var(--font-display); color: var(--arena); padding: 0 8px;
}
@media (min-width: 960px) { .galeria-tile-more-label { font-size: 16px; } }

.ladrillos-section { background: var(--oceano); padding: 48px 20px; }
@media (min-width: 960px) { .ladrillos-section { padding: 96px 64px; } }
.ladrillos-section-grid { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 960px) { .ladrillos-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.ladrillos-section-title { font: italic 500 22px/1.3 var(--font-display); color: var(--arena); margin: 16px 0; }
@media (min-width: 960px) { .ladrillos-section-title { font-size: 34px; line-height: 1.25; margin: 20px 0; } }
.ladrillos-section-desc { font: 400 15px/1.6 var(--font-sans); color: var(--arena); opacity: .75; max-width: 460px; margin-bottom: 20px; }
@media (min-width: 960px) { .ladrillos-section-desc { font-size: 17px; margin-bottom: 0; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,18,15,.97);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--arena); background: none; border: 0; cursor: pointer; opacity: .75;
  display: flex; align-items: center; justify-content: center; transition: opacity .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 18px; right: 18px; font-size: 22px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; }
@media (min-width: 960px) {
  .lightbox-close { top: 28px; right: 40px; font-size: 28px; }
  .lightbox-prev { left: 32px; font-size: 36px; }
  .lightbox-next { right: 32px; font-size: 36px; }
}
.lightbox-image { max-width: min(90vw, 900px); max-height: 55vh; width: auto; height: auto; object-fit: contain; }
.lightbox-counter { font: 400 12px/1 var(--font-sans); color: var(--arena); opacity: .55; margin: 16px 0 18px; }
@media (min-width: 960px) { .lightbox-counter { font-size: 13px; margin: 22px 0 26px; } }
.lightbox-filmstrip-wrap { position: relative; max-width: min(90vw, 900px); width: 100%; }
.lightbox-filmstrip-wrap::before, .lightbox-filmstrip-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 36px; pointer-events: none; z-index: 2;
}
.lightbox-filmstrip-wrap::before { left: 0; background: linear-gradient(to right, rgba(20,18,15,.97), transparent); }
.lightbox-filmstrip-wrap::after { right: 0; background: linear-gradient(to left, rgba(20,18,15,.97), transparent); }
.lightbox-filmstrip {
  display: flex; gap: 6px; overflow-x: auto; overflow-y: visible; padding: 4px 4px 10px; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.lightbox-filmstrip::-webkit-scrollbar { display: none; height: 0; }
.lightbox-filmstrip img {
  width: 54px; height: 38px; object-fit: cover; flex: none; cursor: pointer; opacity: .55;
  filter: contrast(1.12) saturate(.82) brightness(.9); transition: opacity .2s, transform .2s var(--ease-out);
  border-radius: 2px;
}
.lightbox-filmstrip img.is-active { opacity: 1; transform: scaleY(1.12); box-shadow: 0 0 0 2px var(--arena); }
@media (min-width: 960px) { .lightbox-filmstrip img { width: 74px; height: 50px; } }

/* =============================================================
   12. PRÓXIMOS — anticipo / captura de mail
   ============================================================= */
.anticipo-block { padding: 40px 20px; }
@media (min-width: 960px) { .anticipo-block { padding: 96px 64px; } }
.anticipo-grid { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) { .anticipo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; } }
.anticipo-title { font: italic 500 26px/1.25 var(--font-display); color: var(--ink); margin-bottom: 16px; }
@media (min-width: 960px) { .anticipo-title { font-size: 40px; margin-bottom: 20px; } }
.anticipo-desc { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .7; max-width: 480px; }
@media (min-width: 960px) { .anticipo-desc { font-size: 17px; } }
.anticipo-form { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 720px) { .anticipo-form { flex-direction: row; gap: 12px; } }
.anticipo-form input[type="email"] {
  flex: 1; height: 52px; border: 1px solid var(--border-strong); background: var(--white);
  padding: 0 18px; font: 400 15px/1 var(--font-sans); color: var(--ink); outline: none;
}
@media (min-width: 960px) { .anticipo-form input[type="email"] { height: 56px; padding: 0 20px; } }
.anticipo-form button {
  height: 52px; padding: 0 22px; background: var(--ink); color: var(--arena);
  font: 600 14px/1 var(--font-sans); white-space: nowrap; border: 0;
}
@media (min-width: 960px) { .anticipo-form button { height: 56px; padding: 0 28px; } }
.anticipo-status { font: 400 13px/1.4 var(--font-sans); margin-top: 8px; min-height: 1em; }

/* =============================================================
   13. LADRILLOS DIGITALES page
   ============================================================= */
.hero-ladrillos { padding: 56px 20px 48px; background: var(--oceano); }
@media (min-width: 960px) { .hero-ladrillos { padding: 120px 64px 96px; } }
.hero-ladrillos .tag-ladrillos { margin-bottom: 22px; }
@media (min-width: 960px) { .hero-ladrillos .tag-ladrillos { margin-bottom: 30px; } }
.hero-ladrillos-title { font: 500 34px/1.15 var(--font-display); color: var(--arena); max-width: 760px; margin-bottom: 18px; }
@media (min-width: 960px) { .hero-ladrillos-title { font-size: 66px; line-height: 1.12; margin-bottom: 28px; } }
.hero-ladrillos-lede { font: 400 15px/1.6 var(--font-sans); color: var(--arena); opacity: .75; max-width: 600px; }
@media (min-width: 960px) { .hero-ladrillos-lede { font-size: 18px; } }

.opciones-block { padding: 44px 20px; border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .opciones-block { padding: 88px 64px; } }
.opciones-head { margin-bottom: 28px; }
@media (min-width: 960px) { .opciones-head { margin-bottom: 48px; max-width: 700px; } }
.opciones-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 14px; }
@media (min-width: 960px) { .opciones-title { font-size: 34px; margin-bottom: 18px; } }
.opciones-intro { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .75; }
@media (min-width: 960px) { .opciones-intro { font-size: 17px; } }
.opciones-grid { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 960px) { .opciones-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; } }
.opcion-card { background: var(--oceano); overflow: hidden; }
.opcion-card-media { width: 100%; }
.opcion-card-media img { width: 100%; height: auto; display: block; }
.opcion-card-body { padding: 22px 22px 26px; }
@media (min-width: 960px) { .opcion-card-body { padding: 26px 26px 30px; } }
.opcion-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.opcion-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.opcion-dot--start { background: #4CAF6D; }
.opcion-dot--plus { background: #3E8FD6; }
.opcion-dot--prime { background: var(--arena); opacity: .85; }
.opcion-card-name { font: 600 16px/1.2 var(--font-sans); color: var(--arena); }
@media (min-width: 960px) { .opcion-card-name { font-size: 18px; } }
.opcion-card-price { font: 600 22px/1 var(--font-sans); color: var(--arena); margin-bottom: 12px; }
@media (min-width: 960px) { .opcion-card-price { font-size: 26px; margin-bottom: 14px; } }
.opcion-card-desc { font: 400 14px/1.5 var(--font-sans); color: var(--arena); opacity: .7; }
@media (min-width: 960px) { .opcion-card-desc { font-size: 14.5px; } }
.opcion-card-cta { display: inline-flex; margin-top: 18px; }
.opciones-tagline { font: italic 500 17px/1.5 var(--font-display); color: var(--ink); margin-top: 32px; text-align: center; }
@media (min-width: 960px) { .opciones-tagline { font-size: 21px; margin-top: 48px; } }

.cta-invertir-block { padding: 44px 20px; border-bottom: 1px solid var(--border-soft); text-align: center; }
@media (min-width: 960px) { .cta-invertir-block { padding: 72px 64px; } }

.content-split { padding: 44px 20px; border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .content-split { padding: 96px 64px; } }
.content-split-grid { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 960px) { .content-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; } }
.content-split-title { font: italic 500 24px/1.3 var(--font-display); color: var(--ink); }
@media (min-width: 960px) { .content-split-title { font-size: 36px; } }
.content-split-title--on-dark { color: var(--arena); }
.content-split-body { font: 400 15px/1.65 var(--font-sans); color: var(--ink); opacity: .75; }
@media (min-width: 960px) { .content-split-body { font-size: 17px; line-height: 1.7; } }
.content-split-body--on-dark { color: var(--arena); opacity: .75; }

.pasos-block { padding: 44px 20px; background: var(--bg); border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .pasos-block { padding: 96px 64px; } }
.pasos-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 24px; }
@media (min-width: 960px) { .pasos-title { font-size: 34px; margin-bottom: 52px; } }
.pasos-grid { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 960px) { .pasos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; } }
.paso-card { background: var(--white); padding: 26px 22px; }
@media (min-width: 960px) { .paso-card { padding: 40px 36px; } }
.paso-num { font: italic 500 30px/1 var(--font-display); color: var(--ladrillo); margin-bottom: 14px; }
@media (min-width: 960px) { .paso-num { font-size: 46px; margin-bottom: 24px; } }
.paso-title { font: 600 17px/1.3 var(--font-sans); color: var(--ink); margin-bottom: 8px; }
@media (min-width: 960px) { .paso-title { font-size: 19px; margin-bottom: 12px; } }
.paso-desc { font: 400 14px/1.6 var(--font-sans); color: var(--ink); opacity: .7; }
@media (min-width: 960px) { .paso-desc { font-size: 15px; } }

.legal-transparencia { padding: 44px 20px; background: var(--oceano); }
@media (min-width: 960px) { .legal-transparencia { padding: 96px 64px; } }
.legal-faq-item { border-top: 1px solid var(--arena-border); padding-top: 18px; }
.legal-faq-item + .legal-faq-item { margin-top: 18px; }
@media (min-width: 960px) { .legal-faq-item { padding-top: 22px; } .legal-faq-item + .legal-faq-item { margin-top: 28px; } }
.legal-faq-q { font: 600 15px/1.4 var(--font-sans); color: var(--arena); margin-bottom: 6px; }
@media (min-width: 960px) { .legal-faq-q { font-size: 16px; margin-bottom: 8px; } }
.legal-faq-a { font: 400 14px/1.6 var(--font-sans); color: var(--arena); opacity: .65; }
@media (min-width: 960px) { .legal-faq-a { font-size: 15px; } }

/* =============================================================
   14. SUSTENTABILIDAD page
   ============================================================= */
.hero-content-page { position: relative; width: 100%; height: 420px; overflow: hidden; }
@media (min-width: 960px) { .hero-content-page { height: 560px; } }
.hero-content-page .photo-cover { position: absolute; inset: 0; }
.hero-content-page-inner { position: absolute; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); z-index: 5; }
@media (min-width: 960px) {
  .hero-content-page-inner { left: 64px; right: 64px; top: auto; bottom: 64px; transform: none; }
}
.hero-content-page-eyebrow { font: 600 10.5px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--arena); opacity: .85; }
@media (min-width: 960px) { .hero-content-page-eyebrow { font-size: 12px; letter-spacing: .14em; } }
.hero-content-page-title { font: 500 32px/1.2 var(--font-display); color: var(--arena); max-width: 780px; margin-top: 12px; }
@media (min-width: 960px) { .hero-content-page-title { font-size: 60px; line-height: 1.15; margin-top: 20px; } }

.pilares-3-grid { display: flex; flex-direction: column; gap: 26px; }
@media (min-width: 960px) { .pilares-3-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; } }
.pilar-icon { width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 50%; margin-bottom: 16px; position: relative; }
@media (min-width: 960px) { .pilar-icon { width: 44px; height: 44px; margin-bottom: 24px; } }
.pilar-title { font: 600 18px/1.3 var(--font-sans); color: var(--ink); margin-bottom: 8px; }
@media (min-width: 960px) { .pilar-title { font-size: 20px; margin-bottom: 12px; } }
.pilar-desc { font: 400 14px/1.6 var(--font-sans); color: var(--ink); opacity: .7; }
@media (min-width: 960px) { .pilar-desc { font-size: 15px; line-height: 1.65; } }

.quote-band { padding: 56px 20px; background: var(--oceano); }
@media (min-width: 960px) { .quote-band { padding: 110px 64px; } }
.quote-band-text { font: italic 500 22px/1.4 var(--font-display); color: var(--arena); max-width: 900px; }
@media (min-width: 960px) { .quote-band-text { font-size: 42px; } }

/* =============================================================
   15. NOSOTROS page
   ============================================================= */
.hero-nosotros { padding: 64px 20px; text-align: center; }
@media (min-width: 960px) { .hero-nosotros { padding: 150px 64px; } }
.hero-nosotros-eyebrow { font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .5; }
@media (min-width: 960px) { .hero-nosotros-eyebrow { font-size: 12px; letter-spacing: .14em; } }
.hero-nosotros-quote {
  font: italic 500 27px/1.4 var(--font-display); color: var(--ink); max-width: 920px; margin: 18px auto 0;
}
@media (min-width: 960px) { .hero-nosotros-quote { font-size: 50px; line-height: 1.35; margin-top: 28px; } }

.pilares-strip { padding: 0 20px 40px; }
@media (min-width: 960px) { .pilares-strip { padding: 0 64px 110px; } }
.pilares-strip-grid { display: flex; flex-direction: column; gap: 1px; background: var(--border-mid); }
@media (min-width: 960px) { .pilares-strip-grid { display: grid; grid-template-columns: repeat(3,1fr); } }
.pilar-strip-item { background: var(--arena); padding: 28px 22px; }
@media (min-width: 960px) { .pilar-strip-item { padding: 52px 44px; } }
.pilar-strip-num { font: italic 500 18px/1 var(--font-display); color: var(--ladrillo); margin-bottom: 12px; }
@media (min-width: 960px) { .pilar-strip-num { font-size: 22px; margin-bottom: 20px; } }
.pilar-strip-title { font: 600 17px/1.3 var(--font-sans); color: var(--ink); margin-bottom: 8px; }
@media (min-width: 960px) { .pilar-strip-title { font-size: 20px; margin-bottom: 14px; } }
.pilar-strip-desc { font: 400 14px/1.6 var(--font-sans); color: var(--ink); opacity: .7; }
@media (min-width: 960px) { .pilar-strip-desc { font-size: 15px; line-height: 1.65; } }

.fundadores-block { padding: 40px 20px 8px; }
@media (min-width: 960px) { .fundadores-block { padding: 0 64px 20px; } }
.fundadores-grid { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 960px) { .fundadores-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; } }
.fundador-card { border-top: 1px solid var(--border-mid); padding-top: 18px; }
@media (min-width: 960px) { .fundador-card { padding-top: 24px; } }
.fundador-name { font: 500 19px/1.2 var(--font-display); color: var(--ink); margin-bottom: 4px; }
@media (min-width: 960px) { .fundador-name { font-size: 22px; } }
.fundador-role { font: 600 11px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ladrillo); margin-bottom: 12px; }
.fundador-bio { font: 400 14px/1.6 var(--font-sans); color: var(--ink); opacity: .7; }
@media (min-width: 960px) { .fundador-bio { font-size: 15px; } }

.foto-full { position: relative; width: 100%; height: 220px; overflow: hidden; }
@media (min-width: 960px) { .foto-full { height: 520px; } }

.donde-estamos-block { padding: 40px 20px; border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .donde-estamos-block { padding: 96px 64px; } }
.donde-estamos-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 24px; }
@media (min-width: 960px) { .donde-estamos-title { font-size: 34px; margin-bottom: 44px; } }
.oficinas-grid { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 960px) { .oficinas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; } }
.oficina-item { border-top: 1px solid var(--border-mid); padding-top: 18px; }
@media (min-width: 960px) { .oficina-item { padding-top: 24px; } }
.oficina-label { font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .5; margin-bottom: 8px; }
@media (min-width: 960px) { .oficina-label { margin-bottom: 12px; } }
.oficina-value { font: 400 17px/1.5 var(--font-sans); color: var(--ink); }
@media (min-width: 960px) { .oficina-value { font-size: 20px; } }

/* =============================================================
   16. CONTACTO page
   ============================================================= */
.contacto-block { padding: 48px 20px 0; }
@media (min-width: 960px) { .contacto-block { padding: 96px 64px 110px; } }
.contacto-grid { display: flex; flex-direction: column; }
@media (min-width: 960px) { .contacto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.contacto-eyebrow { font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .5; }
.contacto-title { font: italic 500 30px/1.25 var(--font-display); color: var(--ink); margin: 16px 0 16px; }
@media (min-width: 960px) { .contacto-title { font-size: 46px; margin: 22px 0 32px; } }
.contacto-lede { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .7; max-width: 380px; margin-bottom: 32px; }
@media (min-width: 960px) { .contacto-lede { font-size: 16px; line-height: 1.65; margin-bottom: 48px; } }
.contacto-info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 40px; }
@media (min-width: 960px) { .contacto-info-list { gap: 26px; margin-bottom: 0; } }
.contacto-info-item { border-top: 1px solid var(--border-mid); padding-top: 18px; }
@media (min-width: 960px) { .contacto-info-item { padding-top: 20px; } }
.contacto-info-label { font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .5; margin-bottom: 8px; }
.contacto-info-value { font: 400 17px/1.5 var(--font-sans); color: var(--ink); text-decoration: none; display: block; }
@media (min-width: 960px) { .contacto-info-value { font-size: 18px; } }

.contacto-form-card { background: var(--white); padding: 28px 22px; margin-top: 32px; }
@media (min-width: 960px) { .contacto-form-card { padding: 52px; margin-top: 0; } }
.contacto-form { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 960px) { .contacto-form { gap: 26px; } }
.form-row-2 { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 720px) { .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
.field-label { font: 600 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: .5; margin-bottom: 8px; display: block; }
@media (min-width: 960px) { .field-label { margin-bottom: 10px; } }
.field-input {
  width: 100%; height: 48px; border: 0; border-bottom: 1px solid var(--border-strong);
  background: transparent; font: 400 15px/1 var(--font-sans); color: var(--ink); outline: none;
  padding: 0; transition: border-color .2s;
}
.field-input:focus { border-color: var(--ink); }
@media (min-width: 960px) { .field-input { height: 52px; } }
textarea.field-input { height: 90px; padding-top: 12px; resize: vertical; font-family: var(--font-sans); }
@media (min-width: 960px) { textarea.field-input { height: 110px; } }
select.field-input { appearance: none; background-image: none; cursor: pointer; }
.field-select-wrap { position: relative; }
.field-select-wrap::after {
  content: "⌄"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  opacity: .4; pointer-events: none;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-status { font: 400 13px/1.4 var(--font-sans); min-height: 1.2em; }
.form-status.is-success { color: #2f6b3f; }
.form-status.is-error { color: var(--ladrillo); }

/* =============================================================
   16b. FICHA — Estado de Desarrollo / Renta en Mano / Proyecto /
        Amenities / Unidades / Ubicación / Equipo / Empresas
   ============================================================= */
.estado-desarrollo-block { padding: 44px 20px; border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .estado-desarrollo-block { padding: 80px 64px; } }
.estado-desarrollo-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 28px; }
@media (min-width: 960px) { .estado-desarrollo-title { font-size: 34px; margin-bottom: 44px; } }
.progreso-grid { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 720px) { .progreso-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; } }
@media (min-width: 960px) { .progreso-grid { grid-template-columns: repeat(4,1fr); gap: 40px; } }
.progreso-label-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.progreso-label-row span { font: 600 13px/1 var(--font-sans); color: var(--ink); }
.progreso-label-row .progreso-pendiente { opacity: .4; font-style: italic; font-weight: 600; font-size: 11px; }
.progreso-track { height: 6px; background: var(--border-soft); }
.progreso-fill { height: 100%; background: var(--oceano); }

.estado-desarrollo-video-block { padding: 0 20px 44px; border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .estado-desarrollo-video-block { padding: 0 64px 80px; } }
.estado-desarrollo-video-wrap { max-width: 900px; margin: 0 auto; border-radius: 4px; overflow: hidden; }
.estado-desarrollo-video-wrap iframe { display: block; width: 100%; height: 500px; border: 0; }

.renta-mano-block { padding: 44px 20px; background: var(--arena); border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .renta-mano-block { padding: 88px 64px; } }
.renta-mano-label {
  font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  opacity: .5; margin-bottom: 24px; display: block;
}
@media (min-width: 960px) { .renta-mano-label { margin-bottom: 36px; } }
.renta-mano-grid { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 960px) { .renta-mano-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; } }
.renta-mano-quote { font: italic 500 19px/1.5 var(--font-display); color: var(--ink); }
@media (min-width: 960px) { .renta-mano-quote { font-size: 24px; } }

.colegio-banner {
  display: block; border: 1px solid var(--border-mid); overflow: hidden;
  margin-top: 24px; max-width: 420px; text-decoration: none; color: inherit; transition: border-color .2s;
}
.colegio-banner:hover { border-color: var(--border-strong); }
@media (min-width: 960px) { .colegio-banner { margin-top: 28px; max-width: 460px; } }
.colegio-banner-media { width: 100%; aspect-ratio: 600 / 342; overflow: hidden; background: var(--white); }
.colegio-banner-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.colegio-banner-text {
  display: block; padding: 14px 18px; font: 400 13px/1.5 var(--font-sans); color: var(--ink); opacity: .7;
}
@media (min-width: 960px) { .colegio-banner-text { padding: 16px 22px; font-size: 14px; } }

.amenities-block { padding: 44px 20px; background: var(--arena); border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .amenities-block { padding: 88px 64px; } }
.amenities-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 24px; }
@media (min-width: 960px) { .amenities-title { font-size: 34px; margin-bottom: 44px; } }
.amenities-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px 12px; }
@media (min-width: 960px) { .amenities-grid { grid-template-columns: repeat(5,1fr); gap: 28px 20px; } }
.amenity-item { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (min-width: 960px) { .amenity-item { gap: 12px; } }
.amenity-item img { width: 46px; height: 46px; opacity: .8; }
@media (min-width: 960px) { .amenity-item img { width: 58px; height: 58px; } }
.amenity-item span { font: 500 11.5px/1.3 var(--font-sans); color: var(--ink); opacity: .75; }
@media (min-width: 960px) { .amenity-item span { font-size: 13px; } }

.ubicacion-block { padding: 44px 20px; background: var(--arena); border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .ubicacion-block { padding: 88px 64px; } }
.ubicacion-grid { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) { .ubicacion-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }
.ubicacion-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 16px; }
@media (min-width: 960px) { .ubicacion-title { font-size: 34px; margin-bottom: 18px; } }
.ubicacion-address { font: 600 15px/1.4 var(--font-sans); color: var(--ink); margin-bottom: 10px; }
@media (min-width: 960px) { .ubicacion-address { font-size: 18px; margin-bottom: 14px; } }
.ubicacion-body { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .7; }
@media (min-width: 960px) { .ubicacion-body { font-size: 16px; line-height: 1.65; } }
.ubicacion-map { height: 200px; overflow: hidden; }
@media (min-width: 960px) { .ubicacion-map { height: 320px; } }
.ubicacion-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

.equipo-block { padding: 44px 20px; border-bottom: 1px solid var(--border-soft); }
@media (min-width: 960px) { .equipo-block { padding: 88px 64px; } }
.equipo-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 24px; }
@media (min-width: 960px) { .equipo-title { font-size: 34px; margin-bottom: 44px; } }
.equipo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; max-width: 640px; }
@media (min-width: 960px) { .equipo-grid { gap: 28px; } }
.equipo-item-logo {
  height: 48px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 8px;
}
@media (min-width: 960px) { .equipo-item-logo { height: 64px; margin-bottom: 14px; } }
.equipo-item-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.equipo-item-logo a { display: flex; align-items: center; height: 100%; max-width: 100%; transition: opacity .25s var(--ease-out); }
.equipo-item-logo a:hover { opacity: .7; }
.qwe-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity .25s var(--ease-out); }
.qwe-body a:hover { opacity: .6; }
.equipo-item-role { font: 500 11px/1.3 var(--font-sans); color: var(--ink); opacity: .7; }
@media (min-width: 960px) { .equipo-item-role { font-size: 13px; } }

.empresas-block { padding: 44px 20px; background: var(--arena); }
@media (min-width: 960px) { .empresas-block { padding: 88px 64px; } }
.empresas-title { font: italic 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 24px; }
@media (min-width: 960px) { .empresas-title { font-size: 34px; margin-bottom: 44px; } }
.empresas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (min-width: 960px) { .empresas-grid { grid-template-columns: repeat(5,1fr); gap: 20px; } }
.empresa-item-logo {
  height: 68px; background: var(--white); border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center; padding: 6px; margin-bottom: 8px;
}
@media (min-width: 960px) { .empresa-item-logo { height: 92px; padding: 8px; margin-bottom: 10px; } }
.empresa-item-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* =============================================================
   17. WhatsApp floating button
   ============================================================= */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(20,18,15,.25); transition: transform .25s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }
@media (min-width: 960px) { .wa-float { right: 32px; bottom: 32px; width: 58px; height: 58px; } .wa-float svg { width: 28px; height: 28px; } }

/* =============================================================
   18. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .25s; }
  [data-parallax] { transform: none !important; }
}

/* =============================================================
   19. Reorg 2026 — Home sections, Renta en Mano / Invertir hub
   pages, Nosotros reformulada, Contacto oficinas, shared footer
   sedes+redes, ERA gallery.
   ============================================================= */

/* --- Qué es WeSurf (Home) --- */
.qwe-body { font: 400 16px/1.6 var(--font-sans); color: var(--ink); opacity: .72; max-width: 66ch; margin: 0 0 36px; }
@media (min-width: 960px) { .qwe-body { font-size: 18px; margin-bottom: 48px; } }
.qwe-body--phil { opacity: 1; color: rgba(20,18,15,.72); font: 400 15px/1.6 var(--font-sans); }
@media (min-width: 960px) { .qwe-body--phil { font-size: 16px; } }
.qwe-pillars { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding-top: 24px; border-top: 1px solid var(--border-mid); }
.qwe-pillar { display: flex; flex-direction: column; gap: 4px; }
.qwe-pillar-num { font: 600 11px/1 var(--font-sans); color: var(--ink); opacity: .4; }
.qwe-pillar-name { font: 500 19px/1.2 var(--font-display); color: var(--ink); }
@media (min-width: 960px) { .qwe-pillar-name { font-size: 22px; } }
.qwe-pillar-plus { align-self: center; font: 300 22px/1 var(--font-display); color: var(--ink); opacity: .3; }
.qwe-pillars--sus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-bottom: 28px; }
.qwe-pillars--sus .qwe-pillar-plus { display: none; }
.qwe-pillars--sus .qwe-pillar-name { font-size: 16px; }
@media (min-width: 960px) {
  .qwe-pillars--sus { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 0 12px; }
  .qwe-pillars--sus .qwe-pillar-plus { display: block; align-self: flex-start; margin-top: 14px; }
  .qwe-pillars--sus .qwe-pillar-name { font-size: 15px; }
  .qwe-pillars--sus .qwe-pillar:not(:last-child) .qwe-pillar-name { white-space: nowrap; }
}

/* --- Home Proyectos: grouped en-construcción / en-desarrollo grid --- */
.home-proy-group-label {
  font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .5;
  margin: 0 0 16px;
}
@media (min-width: 960px) { .home-proy-group-label { margin-bottom: 22px; } }
/* was targeting a ".home-proy-group" class that the markup never had, so
   "En desarrollo" ended up with no top margin at all, sitting right under
   the "Conocer proyecto" links of the row above it */
.construccion-grid + .home-proy-group-label { margin-top: 40px; }
@media (min-width: 960px) { .construccion-grid + .home-proy-group-label { margin-top: 56px; } }
.construccion-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .construccion-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.construccion-card-media { position: relative; height: 220px; overflow: hidden; }
@media (min-width: 960px) { .construccion-card-media { height: 300px; } }
.construccion-card-media .tag-estado { position: absolute; top: 12px; left: 12px; }
.construccion-card-name { font: 500 19px/1.2 var(--font-display); color: var(--ink); margin-top: 14px; }
@media (min-width: 960px) { .construccion-card-name { font-size: 22px; } }
.construccion-card-loc { font: 400 13px/1.5 var(--font-sans); color: var(--ink); opacity: .55; margin: 4px 0 2px; }
.construccion-card-tag { font: italic 400 14px/1.4 var(--font-display); color: var(--ladrillo); margin: 4px 0 0; }
.construccion-card-btn { margin-top: 18px; }
/* 5-6 "en desarrollo" cards read better as fixed 3-col rows than a lone
   item on its own row (which repeat(5,1fr)/repeat(6,1fr) can produce) */
@media (min-width: 960px) { .proximos-grid { grid-template-columns: repeat(3,1fr); } }

/* --- Formas de invertir: 4 equal-weight cards (Home + Invertir hub) --- */
.invertir-cards-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .invertir-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .invertir-cards-grid { grid-template-columns: repeat(4,1fr); gap: 22px; } }
.invertir-card { background: var(--arena); border-top: 3px solid var(--piedra); padding: 26px 22px; display: flex; flex-direction: column; }
@media (min-width: 960px) { .invertir-card { padding: 32px 26px; } }
/* Per-card color system (approved Design round): terracota moves to
   "Compra tradicional", WeSurf Next switches to Océano. Same in Home + Invertir. */
.invertir-card--compra { background: #D9916C; border-top-color: #B4502E; }
.invertir-card--tasa { background: #3E5A70; border-top-color: var(--piedra); }
.invertir-card--next { background: var(--oceano); border-top-color: var(--piedra); }
.invertir-card--agro { background: #9BAA8E; border-top-color: #5C6B52; }
.invertir-card--compra .invertir-card-num { color: #7A3A22; }
.invertir-card--tasa .invertir-card-num, .invertir-card--next .invertir-card-num { color: var(--piedra); }
.invertir-card--agro .invertir-card-num { color: #4B5743; }
.invertir-card--tasa .invertir-card-title, .invertir-card--next .invertir-card-title { color: var(--arena); }
.invertir-card--compra .invertir-card-desc { color: #6B3A24; }
.invertir-card--tasa .invertir-card-desc { color: #AEBDC7; }
.invertir-card--next .invertir-card-desc { color: var(--piedra); }
.invertir-card--agro .invertir-card-desc { color: #3D4536; }
.invertir-card[class*="invertir-card--"] .invertir-card-num, .invertir-card[class*="invertir-card--"] .invertir-card-desc { opacity: 1; }
.invertir-card-num { font: 600 11px/1 var(--font-sans); color: var(--ink); opacity: .4; margin-bottom: 14px; display: block; }
.invertir-card-title { font: 500 19px/1.25 var(--font-display); color: var(--ink); margin: 0 0 12px; }
@media (min-width: 960px) { .invertir-card-title { font-size: 22px; } }
.invertir-card-desc { font: 400 14.5px/1.55 var(--font-sans); color: var(--ink); opacity: .7; margin: 0; flex-grow: 1; }
.invertir-card-btn { align-self: flex-start; margin-top: 22px; padding: 14px 22px; font-size: 13.5px; font-weight: 700; }

/* --- Renta en Mano: full 7-step grid with icon + one-liner. Lives only on
   Home now (dark Océano band) — the standalone page was retired, so these
   colors are tuned for that dark background directly instead of needing a
   light/dark modifier. --- */
/* Connected 7-step route. Circle diameter = --d0 + --i * --dstep, so it grows
   from step 1 to step 7 ("Renta" = largest, bold title = the result).
   Mobile: vertical column. Tablet: two rows (1-4 / 5-7) joined by a break.
   Desktop: one horizontal row on a single connector line. */
.renta-flow {
  --d0: 44px; --dstep: 5px; --dmax: 74px; --gap: 28px; --line: var(--arena-border-mid);
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: var(--gap);
}
.renta-flow-step {
  --d: calc(var(--d0) + var(--i) * var(--dstep));
  --dnext: calc(var(--d0) + (var(--i) + 1) * var(--dstep));
  position: relative; display: grid; grid-template-columns: var(--dmax) 1fr; column-gap: 18px; align-items: start;
}
.renta-flow-step:not(:last-of-type)::before {
  content: ""; position: absolute; left: calc(var(--dmax) / 2); width: 1px; background: var(--line);
  top: calc(var(--d) / 2); height: calc(100% - var(--d) / 2 + var(--gap) + var(--dnext) / 2);
}
.renta-flow-break { display: none; }
.renta-flow-node {
  position: relative; z-index: 1; justify-self: center; width: var(--d); height: var(--d); border-radius: 50%;
  background: var(--arena); color: var(--oceano); display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.renta-flow-icon { display: flex; width: 42%; height: 42%; }
.renta-flow-icon svg { width: 100%; height: 100%; }
.renta-flow-text { padding-top: calc(var(--d) / 2 - 12px); }
.renta-flow-num { display: block; font: 600 11px/1 var(--font-sans); color: var(--arena); opacity: .45; margin-bottom: 6px; }
.renta-flow-title { font: 500 18px/1.25 var(--font-display); color: var(--arena); margin: 0 0 6px; }
.renta-flow-desc { font: 400 13.5px/1.5 var(--font-sans); color: var(--arena); opacity: .7; margin: 0; }
.renta-flow:not(.renta-flow--pillars) .renta-flow-step:last-of-type .renta-flow-title { font-weight: 700; font-size: 21px; }

@media (min-width: 640px) {
  .renta-flow {
    --d0: 54px; --dstep: 6px; --dmax: 90px; --gap: 0px;
    grid-template-columns: repeat(4, 1fr); gap: 0 20px;
  }
  .renta-flow-step { display: block; text-align: center; }
  .renta-flow-step::before { display: none; }
  .renta-flow-step:not(:nth-of-type(4n)):not(:last-of-type)::after {
    content: ""; position: absolute; top: calc(var(--dmax) / 2); left: 50%; width: calc(100% + 20px); height: 1px; background: var(--line);
  }
  .renta-flow-node { margin: calc((var(--dmax) - var(--d)) / 2) auto calc((var(--dmax) - var(--d)) / 2 + 16px); }
  .renta-flow-text { padding-top: 0; }
  .renta-flow-break {
    display: flex; flex-direction: column; align-items: center; grid-column: 1 / -1; color: var(--arena); opacity: .6; padding: 22px 0;
  }
  .renta-flow-break-line { display: block; width: 1px; height: 22px; background: var(--line); }
  .renta-flow-break svg { width: 18px; height: 18px; margin-top: 2px; }
}

@media (min-width: 1024px) {
  .renta-flow { --d0: 56px; --dstep: 8px; --dmax: 104px; grid-template-columns: repeat(7, 1fr); gap: 0 14px; }
  .renta-flow-step:not(:nth-of-type(4n)):not(:last-of-type)::after { width: calc(100% + 14px); }
  .renta-flow:not(.renta-flow--pillars) .renta-flow-step:nth-of-type(4)::after { content: ""; position: absolute; top: calc(var(--dmax) / 2); left: 50%; width: calc(100% + 14px); height: 1px; background: var(--line); }
  .renta-flow-break { display: none; }
}

/* "Qué es WeSurf" 4 pillars: same route language, but 4 equal circles (no growth, no
   highlighted last item) on the light background. */
.renta-flow--pillars {
  --d0: 56px; --dstep: 0px; --dmax: 56px; --line: rgba(20,18,15,.28);
  max-width: 880px; margin-bottom: 8px;
}
.renta-flow--pillars .renta-flow-node { border: 1px solid rgba(20,18,15,.14); }
.renta-flow--pillars .renta-flow-num { color: var(--ink); }
.renta-flow--pillars .renta-flow-title { color: var(--ink); font-size: 19px; margin: 0; }
@media (min-width: 640px) {
  .renta-flow--pillars { --d0: 64px; --dmax: 64px; grid-template-columns: repeat(4, 1fr); gap: 0 20px; }
  .renta-flow--pillars .renta-flow-step:not(:nth-of-type(4n)):not(:last-of-type)::after { width: calc(100% + 20px); }
}
@media (min-width: 1024px) {
  .renta-flow--pillars { --d0: 72px; --dmax: 72px; grid-template-columns: repeat(4, 1fr); gap: 0 20px; }
  .renta-flow--pillars .renta-flow-step:not(:nth-of-type(4n)):not(:last-of-type)::after { width: calc(100% + 20px); }
  .renta-flow--pillars .renta-flow-title { font-size: 21px; }
}

/* Rollover only for real hover devices on desktop widths (no sticky hover on touch) */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .renta-flow-step:hover .renta-flow-node {
    transform: scale(1.09);
    box-shadow: 0 0 0 7px rgba(246,243,236,.12), 0 14px 34px rgba(0,0,0,.35);
  }
  .renta-flow--pillars .renta-flow-step:hover .renta-flow-node {
    box-shadow: 0 0 0 7px rgba(20,18,15,.06), 0 12px 28px rgba(20,18,15,.18);
  }
}

/* Soft zoom-in on hover for project / gallery photos (desktop pointers only) */
.era-gallery-media img, .proximo-card-media img, .construccion-card-media img, .sustentabilidad-band-media img, .galeria-tile img {
  transition: transform .9s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .era-gallery-media:hover img, .proximo-card-media:hover img, .construccion-card-media:hover img, .sustentabilidad-band-media:hover img, .galeria-tile:hover img {
    transform: scale(1.06);
  }
}

/* --- Más con menos --- */
.mascon-columns { display: grid; grid-template-columns: 1fr; gap: 24px 60px; margin-top: 8px; }
@media (min-width: 720px) { .mascon-columns { grid-template-columns: 1fr 1fr; } }
.mascon-list { display: flex; flex-direction: column; gap: 14px; padding-left: 20px; border-left: 1px solid var(--border-mid); }
@media (min-width: 960px) { .mascon-list { gap: 18px; } }
.mascon-list--mas { border-left-color: var(--ladrillo); }
.mascon-item { font: 500 16px/1.4 var(--font-display); color: var(--ink); }
@media (min-width: 960px) { .mascon-item { font-size: 19px; } }
.mascon-list--menos .mascon-item { font: 400 15px/1.4 var(--font-sans); color: var(--ink); opacity: .55; }
@media (min-width: 960px) { .mascon-list--menos .mascon-item { font-size: 16px; } }

/* --- ERA Arquitectos gallery (shared: Home + Nosotros) --- */
.era-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 10px; margin-top: 8px; }
@media (min-width: 960px) { .era-gallery-grid { grid-template-columns: repeat(4,1fr); gap: 36px 16px; } }
.era-gallery-item { margin: 0; }
.era-gallery-media { aspect-ratio: 4/3; }
.era-gallery-item figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; }
.era-gallery-name { font: 500 14px/1.3 var(--font-display); color: var(--ink); }
@media (min-width: 960px) { .era-gallery-name { font-size: 16px; } }
.era-gallery-m2 { font: 400 12.5px/1.3 var(--font-sans); color: var(--ink); opacity: .6; }

/* --- Nosotros reformulada: apertura + visión/misión + equipo --- */
.somos-block { max-width: 980px; }
.somos-eyebrow { font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .5; margin-bottom: 18px; display: block; }
.somos-body { font: 500 21px/1.5 var(--font-display); color: var(--ink); }
.somos-body + .somos-body { margin-top: 20px; }
@media (min-width: 960px) { .somos-body { font-size: 28px; line-height: 1.5; } .somos-body + .somos-body { margin-top: 28px; } }

.vision-mision-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 0 20px 56px; }
@media (min-width: 720px) { .vision-mision-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 960px) { .vision-mision-grid { padding: 0 64px 80px; } }
.vision-mision-grid--inline { grid-template-columns: 1fr; gap: 32px; max-width: 760px; padding: 0; margin-top: 44px; }
@media (min-width: 960px) { .vision-mision-grid--inline { padding: 0; margin-top: 56px; } }
.vision-mision-title { font: italic 500 22px/1.3 var(--font-display); color: var(--ink); margin: 0 0 14px; }
@media (min-width: 960px) { .vision-mision-title { font-size: 26px; } }
.vision-mision-body { font: 400 15px/1.6 var(--font-sans); color: var(--ink); opacity: .72; }
@media (min-width: 960px) { .vision-mision-body { font-size: 16px; } }


/* --- Contacto: oficinas cards + email/teléfono/redes row --- */
.oficinas-cards-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 28px 0; }
@media (min-width: 640px) { .oficinas-cards-grid { grid-template-columns: repeat(3,1fr); gap: 18px; margin: 40px 0; } }
.oficina-card { border: 1px solid var(--border-mid); padding: 22px 20px; display: flex; flex-direction: column; align-items: flex-start; }
.oficina-card-name { font: 500 18px/1.2 var(--font-display); color: var(--ink); margin-bottom: 8px; }
.oficina-card-addr { font: 400 14px/1.5 var(--font-sans); color: var(--ink); opacity: .65; flex-grow: 1; }
.oficina-card-btn { margin-top: 18px; padding: 11px 20px; font-size: 13px; }
.contacto-meta-row { display: flex; flex-wrap: wrap; gap: 24px 48px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.contacto-meta-item { display: flex; flex-direction: column; gap: 6px; }
.contacto-meta-label { font: 600 10.5px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .5; }
.contacto-meta-value { font: 400 15px/1.4 var(--font-sans); color: var(--ink); }
.contacto-meta-socials { display: flex; gap: 10px; }
.contacto-meta-socials .footer-social-icon { color: var(--ink); border-color: var(--border-mid); }

/* --- Shared footer: 3 sedes + redes sociales (replaces the old
   oficinas/contacto/newsletter 4-col grid sitewide) --- */
.footer-sedes-row {
  display: flex; flex-direction: column; gap: 28px;
  padding-bottom: 32px; border-bottom: 1px solid var(--arena-border); margin-bottom: 24px;
}
@media (min-width: 720px) {
  .footer-sedes-row { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 56px; margin-bottom: 28px; }
}
.footer-sedes-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px 24px; }
@media (min-width: 480px) { .footer-sedes-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 720px) { .footer-sedes-grid { gap: 40px; } }
.footer-sede-label { font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--arena); opacity: .5; margin-bottom: 8px; }
.footer-sede-value { font: 400 14px/1.55 var(--font-sans); color: var(--arena); opacity: .85; }
.footer-sede-btn { margin-top: 14px; padding: 10px 18px; font-size: 12.5px; font-weight: 700; }
.footer-social { display: flex; gap: 10px; flex-shrink: 0; }
.footer-social-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--arena-border-mid);
  display: flex; align-items: center; justify-content: center; color: var(--arena); opacity: .85;
  transition: opacity .2s, border-color .2s;
}
.footer-social-icon:hover { opacity: 1; }
.footer-social-icon svg { width: 16px; height: 16px; }
.site-footer--bottom-only .footer-top { display: none; }

/* --- WeSurf Next: "esto es de WeSurf" context strip, between the hero and "Qué es" --- */
.wsn-context-strip {
  background: var(--oceano); color: var(--arena); text-align: center;
  padding: 12px 20px; font: 400 12.5px/1.5 var(--font-sans);
}
@media (min-width: 960px) { .wsn-context-strip { padding: 14px 20px; font-size: 13px; } }
.wsn-context-strip strong { font-weight: 600; }

/* --- Solid-color hero (Renta en Mano / Invertir — no photo) --- */
.page-intro--oceano { background: var(--oceano); }
.page-intro--oceano .page-intro-title, .page-intro--oceano .page-intro-lede { color: var(--arena); }
.page-intro--oceano .page-intro-lede { opacity: .8; }

.hero-home-sub { font: 600 15px/1.4 var(--font-sans); color: var(--arena); opacity: .92; max-width: 520px; margin: 0 0 22px; }
@media (min-width: 960px) { .hero-home-sub { font-size: 18px; margin-bottom: 28px; } }
.hero-home-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* Sustentabilidad concept pills (Home's condensed section only — the
   dedicated sustentabilidad.html page keeps its own fuller 3-pilar layout) */
.concept-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.concept-pill {
  padding: 8px 14px; border: 1px solid var(--border-mid); font: 500 12.5px/1 var(--font-sans); color: var(--ink); opacity: .8;
}
@media (min-width: 960px) { .concept-pill { padding: 9px 16px; font-size: 13px; } }

/* Native cross-page anchor jumps (Invertir's dropdown links land on
   invertir.html#compra-tradicional etc.) need to clear the fixed nav —
   initSmoothScroll's JS offset only covers same-page hash clicks. */
#compra-tradicional, #inversion-a-tasa, #como-invertir,
#que-es-wesurf, #proyectos, #renta-en-mano, #mas-con-menos, #sustentabilidad, #nuestra-historia {
  scroll-margin-top: var(--nav-h);
}
