:root {
  --navy: #16263a;
  --navy-2: #20364f;
  --orange: #f59b23;
  --orange-deep: #dd7c08;
  --ink: #1d2630;
  --muted: #62707d;
  --sand: #f4f0e9;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #dfe2e3;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(18, 35, 52, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; background: var(--white); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(22, 38, 58, .96); box-shadow: 0 8px 30px rgba(0,0,0,.16); backdrop-filter: blur(14px); }
.nav-wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.94); }
.brand span { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a { text-decoration: none; font-size: .86rem; font-weight: 700; }
.nav-cta { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.55); border-radius: 3px; }
.menu-toggle { display: none; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.5); padding: .5rem .75rem; }

.hero { min-height: 810px; height: 100svh; color: var(--white); position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("assets/los-balcones-actual.png") center 52% / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,37,.93) 0%, rgba(11,27,43,.78) 44%, rgba(11,27,43,.18) 78%), linear-gradient(0deg, rgba(9,21,34,.76) 0%, transparent 42%); }
.hero-inner { position: relative; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 150px 0 58px; }
.eyebrow { margin: 0 0 1rem; color: var(--orange-deep); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.light { color: #ffc46f; }
.hero h1 { margin: 0; max-width: 780px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 8.3vw, 7.2rem); line-height: .86; letter-spacing: -.055em; }
.hero h1 span { color: var(--orange); font-style: italic; font-weight: 400; }
.hero-copy { max-width: 650px; margin: 2rem 0 1.7rem; font-size: clamp(1.05rem, 2vw, 1.32rem); line-height: 1.55; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.2rem; border-radius: 3px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--orange); color: #172331; }
.button.primary:hover { background: #ffae3d; }
.button.ghost { border: 1px solid rgba(255,255,255,.6); color: var(--white); }
.hero-stats { max-width: 950px; margin: 3.2rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid rgba(255,255,255,.25); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hero-stats div { display: grid; gap: .1rem; }
.hero-stats dt { font-family: Georgia, serif; font-size: 1.9rem; color: var(--orange); font-weight: 700; }
.hero-stats dd { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }

.section { padding: 112px max(20px, calc((100vw - var(--max)) / 2)); }
.section-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 7vw, 7rem); }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; }
h3 { margin: 0; line-height: 1.25; }
p { margin-top: 0; }
.lead-block { font-size: 1.2rem; color: #46515c; padding-top: .4rem; }
.sequence { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sequence article { padding: 2.2rem 2rem 2.2rem 0; position: relative; }
.sequence article + article { padding-left: 2rem; border-left: 1px solid var(--line); }
.sequence span, .scope-grid span, .control-grid span { display: block; margin-bottom: 1.8rem; color: var(--orange-deep); font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.sequence h3 { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.sequence p { margin: .8rem 0 0; color: var(--muted); }

.dark-section { background: var(--navy); color: var(--white); }
.align-center { align-items: center; }
.muted-light { color: rgba(255,255,255,.68); font-size: 1.1rem; max-width: 520px; }
.progress-list { display: grid; gap: 1.25rem; }
.progress-row { display: grid; grid-template-columns: 1fr auto; gap: .7rem 1rem; color: rgba(255,255,255,.85); }
.progress-row strong { color: var(--orange); }
.progress-row i { grid-column: 1 / -1; height: 6px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.progress-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--progress); background: var(--orange); }
.data-strip { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.16); }
.data-strip div { padding: 1.35rem; min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; }
.data-strip div + div { border-left: 1px solid rgba(255,255,255,.16); }
.data-strip small { color: rgba(255,255,255,.48); text-transform: uppercase; letter-spacing: .08em; }
.data-strip strong { font-size: 1.1rem; }
.micro-note { margin: 1.2rem 0 0; font-size: .78rem; color: rgba(255,255,255,.48); }

.section-heading { max-width: 900px; margin-bottom: 3.5rem; }
.section-heading.narrow { max-width: 760px; }
.section-heading > p:last-child { margin-top: 1.3rem; color: var(--muted); font-size: 1.08rem; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.check-grid article { min-height: 250px; padding: 1.8rem; }
.check-grid article:nth-child(n+4) { border-top: 1px solid var(--line); }
.check-grid article:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.check-grid b { color: var(--orange-deep); font-size: .78rem; letter-spacing: .08em; }
.check-grid h3 { margin-top: 2.2rem; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.check-grid p { margin: .8rem 0 0; color: var(--muted); }
.check-grid .highlight { background: var(--orange); }
.check-grid .highlight b, .check-grid .highlight p { color: #342511; }
.phase-zero { margin-top: 2rem; background: var(--navy); color: var(--white); padding: 2.2rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: center; }
.phase-zero div { display: grid; }
.phase-zero span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.phase-zero strong { color: var(--orange); font-family: Georgia, serif; font-size: 2.1rem; }
.phase-zero p { margin: 0; color: rgba(255,255,255,.72); }

.sand-section { background: var(--sand); }
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.product-visual { background: var(--white); padding: 1.5rem; box-shadow: var(--shadow); }
.product-copy > p:not(.eyebrow) { margin-top: 1.4rem; color: var(--muted); font-size: 1.08rem; }
.plain-list { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid #cfd0cb; }
.plain-list li { padding: .9rem 0 .9rem 1.7rem; border-bottom: 1px solid #cfd0cb; position: relative; }
.plain-list li::before { content: ""; width: 8px; height: 8px; background: var(--orange); position: absolute; left: 0; top: 1.45rem; }

.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.scope-grid article { background: var(--paper); padding: 2rem; min-height: 240px; }
.scope-grid h3 { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.scope-grid p { margin: .8rem 0 0; color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 4rem 0 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.timeline li { position: relative; padding: 2rem 1rem 0 0; border-top: 1px solid rgba(255,255,255,.25); }
.timeline li::before { content: ""; position: absolute; width: 11px; height: 11px; top: -6px; left: 0; background: var(--orange); border-radius: 50%; }
.timeline span { color: var(--orange); font-size: .74rem; font-weight: 900; }
.timeline h3 { margin-top: 1.5rem; max-width: 150px; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.timeline p { color: rgba(255,255,255,.58); margin: .5rem 0 0; }

.financial .section-grid { align-items: end; }
.lead-small { margin-top: 1.5rem; color: var(--muted); font-size: 1.1rem; max-width: 530px; }
.target-box { background: var(--orange); padding: 2.4rem; min-height: 290px; display: flex; flex-direction: column; justify-content: center; }
.target-box small { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.target-box > strong { margin-top: .4rem; font-family: Georgia, serif; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; }
.target-box > span { margin-top: .5rem; }
.target-box hr { width: 100%; border: 0; border-top: 1px solid rgba(26,31,37,.28); margin: 1.7rem 0 1rem; }
.target-box div { display: flex; justify-content: space-between; gap: 1rem; }
.table-wrap { overflow-x: auto; margin-top: 4rem; }
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td { padding: 1rem .85rem; text-align: right; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
tbody tr.selected { background: #fff0d8; font-weight: 800; }
.disclaimer { margin: 1.5rem 0 0; color: var(--muted); font-size: .82rem; }

.map-section { background: #e9e5dd; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.map-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.map-copy h2 { margin-bottom: 1.5rem; }
.map-section figure { margin: 0; background: var(--white); padding: 1rem; box-shadow: var(--shadow); }
.map-section figcaption { margin: .7rem .2rem 0; color: var(--muted); font-size: .75rem; }

.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.control-grid div { background: var(--white); border: 1px solid var(--line); padding: 1.5rem; min-height: 160px; }
.control-grid p { margin: 0; font-weight: 650; }
.start-section { background: var(--sand); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); }
.start-list ol { margin: 0; padding: 0; list-style: none; counter-reset: item; border-top: 1px solid #cfd0cb; }
.start-list li { counter-increment: item; padding: 1rem 0 1rem 3.3rem; border-bottom: 1px solid #cfd0cb; position: relative; }
.start-list li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; color: var(--orange-deep); font-weight: 900; }

.closing { background: var(--navy-2); color: var(--white); padding: 90px max(20px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: center; }
.closing h2 { max-width: 700px; }
.closing p:not(.eyebrow) { margin: 1.3rem 0 0; color: rgba(255,255,255,.7); max-width: 700px; font-size: 1.1rem; }
.closing-action { border-left: 1px solid rgba(255,255,255,.22); padding-left: 3rem; display: grid; }
.closing-action strong { color: var(--orange); font-family: Georgia, serif; font-size: 2.2rem; }
.closing-action span { color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
footer { padding: 2rem max(20px, calc((100vw - var(--max)) / 2)); background: #0d1927; color: rgba(255,255,255,.62); display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-brand img { width: 42px; height: 42px; }
footer p { margin: 0; font-size: .78rem; text-align: right; }

@media (max-width: 900px) {
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: block; }
  nav { position: absolute; top: 72px; left: 0; right: 0; padding: 1.2rem 20px 1.5rem; background: var(--navy); flex-direction: column; align-items: stretch; transform: translateY(-160%); opacity: 0; pointer-events: none; transition: .25s ease; }
  nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta { text-align: center; }
  .hero { min-height: 760px; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,22,37,.92), rgba(11,27,43,.55)), linear-gradient(0deg, rgba(9,21,34,.86), transparent 55%); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .section-grid, .product, .map-section, .start-section, .closing { grid-template-columns: 1fr; }
  .sequence, .check-grid, .scope-grid, .control-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid article:nth-child(n), .check-grid article:not(:nth-child(3n+1)) { border-left: 0; border-top: 0; }
  .check-grid article:nth-child(even) { border-left: 1px solid var(--line); }
  .check-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .data-strip { grid-template-columns: repeat(2, 1fr); }
  .data-strip div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .data-strip div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 0; }
  .closing-action { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding: 2rem 0 0; }
}

@media (max-width: 620px) {
  .brand span { display: none; }
  .hero { min-height: 730px; }
  .hero-inner { padding-bottom: 32px; }
  .hero h1 { font-size: clamp(3.35rem, 16vw, 5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-stats { margin-top: 2rem; }
  .hero-stats dt { font-size: 1.45rem; }
  .section { padding-left: 20px; padding-right: 20px; }
  h2 { font-size: 2.35rem; }
  .sequence, .check-grid, .scope-grid, .control-grid, .data-strip { grid-template-columns: 1fr; }
  .sequence article, .sequence article + article { border-left: 0; padding: 1.5rem 0; }
  .sequence article + article { border-top: 1px solid var(--line); }
  .check-grid article:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .check-grid article:first-child { border-top: 0; }
  .data-strip div:nth-child(n) { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .data-strip div:first-child { border-top: 0; }
  .phase-zero { grid-template-columns: 1fr; padding: 1.5rem; }
  .phase-zero strong { font-size: 1.65rem; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .target-box { padding: 1.5rem; min-height: 245px; }
  .target-box div { flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
