/* Torre Auro — Landing Page Styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Brand palette */
  --navy: #0b293b;
  --navy-90: #0e3145;
  --navy-80: #1a3e51;
  --slate: #576889;
  --slate-10: rgba(87, 104, 137, 0.10);
  --gray: #959695;
  --gold: #c8a45c;
  --gold-dark: #b08a3f;
  --gold-soft: rgba(200, 164, 92, 0.12);

  /* Neutrals */
  --cream: #f7f4ee;
  --paper: #faf8f3;
  --bone: #ece6da;
  --ink: #0b293b;
  --muted: #5b6a78;
  --line: rgba(11, 41, 59, 0.12);
  --line-strong: rgba(11, 41, 59, 0.28);

  /* Type */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Roboto', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(72px, 9vw, 140px);
  --max-w: 1360px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

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

/* ------- Layout ------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

/* ------- Type system ------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; color: var(--navy); }
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; font-weight: 500; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; }
h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }

.serif-italic { font-style: italic; color: var(--gold); }

.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

.dot-grid {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 22px;
}
.dot-grid span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.dot-grid span.lg { width: 6px; height: 6px; margin: -1px; }

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn--ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 244, 238, 0.35);
}
.btn--ghost-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--lg { padding: 20px 34px; font-size: 14px; }
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ------- Nav ------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 244, 238, 0.0);
  backdrop-filter: blur(0px);
  transition: all 300ms ease;
  color: var(--cream);
}
.nav.scrolled {
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(14px);
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* Brand logo (PNG used as mask so it recolors with currentColor) */
.brand-logo {
  display: inline-block;
  width: 132px;
  height: 32px;
  background-color: currentColor;
  -webkit-mask: url('assets/torre-auro-logo.png') center / contain no-repeat;
  mask: url('assets/torre-auro-logo.png') center / contain no-repeat;
  transition: width 240ms ease, height 240ms ease;
}
.brand-logo--lg {
  width: 180px;
  height: 44px;
}
.nav.scrolled .brand-logo {
  width: 116px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 150ms ease;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

@media (max-width: 960px) {
  .nav-links { display: none; }
}

/* ------- Hero ------- */
.hero {
  position: relative;
  min-height: 100vh;
  color: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: 140px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #0b293b;
  z-index: 0;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.9) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,41,59,0.55) 0%, rgba(11,41,59,0.35) 30%, rgba(11,41,59,0.78) 75%, rgba(11,41,59,0.92) 100%),
    linear-gradient(90deg, rgba(11,41,59,0.6) 0%, rgba(11,41,59,0.15) 55%, rgba(11,41,59,0.0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}
.hero h1 { color: var(--cream); max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 22px);
  max-width: 58ch;
  color: rgba(247, 244, 238, 0.85);
  line-height: 1.5;
  font-weight: 300;
}
.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.75);
}
.hero-micro span { display: inline-flex; align-items: center; gap: 10px; }
.hero-micro .dot-sep { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

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

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.7);
  text-align: right;
}
.hero-side .price {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  color: var(--gold);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  font-style: italic;
}

.hero-meta {
  position: absolute;
  inset: auto var(--gutter) 32px var(--gutter);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(247, 244, 238, 0.7);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 50px;
  background: linear-gradient(180deg, currentColor, transparent);
}

@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; gap: 36px; }
  .hero-side { flex-direction: row; align-items: flex-start; text-align: left; gap: 32px; flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .hero-meta { display: none; }
}

/* ------- Section header ------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 70px;
  align-items: end;
}
.section-head .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ------- Why section (3 blocks) ------- */
.why { background: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.why-block {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.why-block:nth-child(3n) { border-right: none; }
.why-block .icon-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  color: var(--gold);
  margin-bottom: 28px;
}
.why-block h3 { margin-bottom: 16px; }
.why-block p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 820px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-block { border-right: none; }
}

/* ------- Segments (Para quién) ------- */
.segments { background: var(--cream); }
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.segment {
  padding: 36px 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
  transition: all 250ms ease;
  cursor: pointer;
  position: relative;
}
.segment:hover {
  transform: translateY(-4px);
  border-color: var(--slate);
  box-shadow: 0 24px 40px -28px rgba(11, 41, 59, 0.4);
}
.segment .seg-icon {
  color: var(--slate);
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.segment .seg-icon svg {
  display: block;
}
.segment h4 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
  min-height: 56px;
}
.segment p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.segment .seg-link {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}
.segment .seg-link .arrow { transition: transform 200ms ease; }
.segment:hover .seg-link .arrow { transform: translateX(4px); }

.segment--anchor {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  position: relative;
}
.segment--anchor::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  pointer-events: none;
  transform: translate(8px, 8px);
}
.segment--anchor .seg-icon { color: var(--gold); }
.segment--anchor h4 { color: var(--cream); }
.segment--anchor p { color: rgba(247,244,238,0.7); }
.segment--anchor .seg-link { color: var(--gold); }
.segment--anchor .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .segments-grid { grid-template-columns: 1fr; }
}

/* ------- Availability table ------- */
.availability { background: var(--paper); }
.av-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.av-row {
  display: grid;
  grid-template-columns: 100px 1.2fr 2fr 1.2fr 110px 160px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  transition: background 180ms ease;
  cursor: pointer;
}
.av-row:hover { background: var(--cream); }
.av-row--head {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 8px;
  cursor: default;
}
.av-row--head:hover { background: transparent; }
.av-level {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.av-level small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); }
.av-tag {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--navy);
  font-style: italic;
}
.av-config { font-size: 13px; color: var(--muted); line-height: 1.45; }
.av-price {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
}
.av-price small { font-size: 12px; color: var(--muted); font-family: var(--sans); }
.av-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.av-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.status-available { color: #2f7a4d; }
.status-available .dot { background: #46a36c; box-shadow: 0 0 0 4px rgba(70, 163, 108, 0.18); }
.status-reserved { color: var(--gold-dark); }
.status-reserved .dot { background: var(--gold); }
.status-rented { color: var(--muted); }
.status-rented .dot { background: #b8b8b8; }
.av-cta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.av-row:hover .av-cta { color: var(--gold-dark); }

@media (max-width: 920px) {
  .av-row { grid-template-columns: 80px 1fr 1fr; row-gap: 8px; }
  .av-row > .av-config, .av-row > .av-cta { grid-column: span 3; }
  .av-row--head { display: none; }
}

/* ------- Tour / Gallery ------- */
.tour { background: var(--navy); color: var(--cream); }
.tour h2 { color: var(--cream); }
.tour .eyebrow { color: var(--gold); }
.tour .lead { color: rgba(247,244,238,0.75); }
.tour-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 18px;
}
.tour-main {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a3e51, #2a4f63);
  overflow: hidden;
}
.tour-main image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.95);
}
.tour-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.tour-main .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 41, 59, 0.25);
  color: var(--cream);
  z-index: 5;
  cursor: pointer;
  border: none;
  transition: background 200ms ease;
}
.tour-main .play-btn:hover { background: rgba(11, 41, 59, 0.4); }
.tour-main .play-btn:hover .play-circle {
  transform: scale(1.06);
}
.tour-main .play-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(200,164,92,0.15), 0 0 0 24px rgba(200,164,92,0.08);
  transition: transform 240ms ease;
}
.tour-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.tour-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a3e51;
}
.tour-thumb image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(0.95);
  transition: transform 600ms ease;
}
.tour-thumb:hover .tour-thumb-img { transform: scale(1.04); }
.tour-fallback-link {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 6;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(11, 41, 59, 0.7);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border: 1px solid rgba(247, 244, 238, 0.2);
  transition: all 180ms ease;
}
.tour-fallback-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.tour-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent, rgba(11,41,59,0.85));
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}
@media (max-width: 820px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}

/* ------- Services ------- */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.service {
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--navy);
  transition: background 200ms ease;
}
.service:hover { background: var(--cream); }
.service:nth-child(6n) { border-right: none; }
.service:nth-last-child(-n+6) { border-bottom: none; }
.service svg { color: var(--gold); }
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service:nth-child(6n) { border-right: 1px solid var(--line); }
  .service:nth-child(3n) { border-right: none; }
  .service:nth-last-child(-n+6) { border-bottom: 1px solid var(--line); }
  .service:nth-last-child(-n+3) { border-bottom: none; }
}

.services-tagline {
  margin-top: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--navy);
  max-width: 50ch;
}

/* ------- Blog / Eventos cards ------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 250ms ease;
  cursor: pointer;
}
.card:hover { transform: translateY(-4px); border-color: var(--slate); box-shadow: 0 30px 50px -36px rgba(11,41,59,0.5); }
.card-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #576889, #1a3e51);
  position: relative;
  overflow: hidden;
}
.card-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-img .ph-tag {
  position: absolute;
  inset: auto 14px 14px auto;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(11,41,59,0.7);
  color: var(--cream);
  padding: 6px 10px;
  backdrop-filter: blur(8px);
}
.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card .cat {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.card h3 {
  font-size: 22px;
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}
.card p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.card .read {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  margin-top: 4px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 920px) {
  .cards-grid { grid-template-columns: 1fr; }
}

/* Eventos variant */
.event-card .card-img {
  background: linear-gradient(135deg, #0b293b 0%, #1a3e51 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: end;
  padding: 24px;
}
.event-date {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  position: relative;
  z-index: 2;
}
.event-card .sector {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  position: absolute;
  inset: 24px 24px auto auto;
  z-index: 2;
}

/* ------- Final CTA ------- */
.final {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(200,164,92,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(87,104,137,0.15) 0%, transparent 60%);
}
.final-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.final h2 { color: var(--cream); margin-bottom: 28px; }
.final h2 em { font-style: italic; color: var(--gold); }
.final .lead { color: rgba(247,244,238,0.8); margin: 0 auto; max-width: 56ch; }
.final-actions {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.final-actions .btn--primary { background: var(--gold); color: var(--navy); }

.final-strip {
  margin-top: 90px;
  border-top: 1px solid rgba(247,244,238,0.12);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.final-strip .item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.6);
}
.final-strip .item strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* ------- Footer ------- */
.footer {
  background: #081f2c;
  color: rgba(247,244,238,0.6);
  padding: 60px var(--gutter) 30px;
  font-size: 13px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(247,244,238,0.1);
}
.footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.5);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.4);
  flex-wrap: wrap;
}
.footer-logo {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  color: var(--cream);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ------- Decorative dots (architectural motif) ------- */
.bg-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  opacity: 0.18;
  pointer-events: none;
}
.bg-dots span {
  width: 4px; height: 4px; border-radius: 50%; background: currentColor;
}

/* ------- Marquee strip ------- */
.strip {
  background: var(--navy);
  color: var(--cream);
  padding: 28px var(--gutter);
  overflow: hidden;
  position: relative;
}
.strip-inner {
  display: flex;
  gap: 60px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
}
.strip-inner span { display: inline-flex; gap: 60px; align-items: center; }
.strip-inner .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block;
}
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ------- Ecosistema ------- */
.ecosistema { background: var(--paper); }
.eco-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: stretch;
}
.eco-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--cream);
  align-self: start;
}
.eco-layer {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr 22px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: all 240ms ease;
  background: transparent;
  font-family: var(--sans);
}
.eco-layer:last-child { border-bottom: none; }
.eco-layer-n {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--slate);
  transition: color 240ms ease;
  font-style: italic;
}
.eco-layer-role {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--navy);
  font-weight: 500;
}
.eco-layer-line {
  width: 14px; height: 1px; background: var(--line-strong); justify-self: end;
  transition: all 240ms ease;
}
.eco-layer:hover { background: var(--paper); }
.eco-layer.is-active {
  background: var(--navy);
}
.eco-layer.is-active .eco-layer-n { color: var(--gold); }
.eco-layer.is-active .eco-layer-role { color: var(--cream); }
.eco-layer.is-active .eco-layer-line { background: var(--gold); width: 24px; }
.eco-layer.tone-gold .eco-layer-n { color: var(--gold-dark); }

.eco-viewer {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  min-height: 540px;
}

.eco-plan {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  overflow: hidden;
}
.eco-plan img {
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  animation: fadeIn 280ms ease;
}
.eco-plan-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.eco-aside {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 280ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.eco-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 48px;
}
.eco-flow-item .num {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 46px);
  color: var(--navy);
  line-height: 1;
  font-weight: 500;
}
.eco-flow-item .lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .eco-viewer { grid-template-columns: 1fr; }
  .eco-plan { min-height: 360px; padding: 18px; }
}
@media (max-width: 820px) {
  .eco-shell { grid-template-columns: 1fr; gap: 24px; }
  .eco-flow { grid-template-columns: repeat(2, 1fr); }
}

/* ------- Niveles legacy styles (reusados por aside) ------- */
.nv-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nv-stat .lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.nv-stat .val {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-dark);
}
.nv-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--navy);
}
.lg-item { display: flex; align-items: center; gap: 12px; }
.sw { width: 16px; height: 16px; border-radius: 2px; display: inline-block; }
.sw-a { background: rgba(87, 104, 137, 0.35); border: 1px solid var(--slate); }
.sw-b { background: rgba(87, 104, 137, 0.7); border: 1px solid var(--slate); }
.sw-c { background: var(--slate); }

/* ------- Util ------- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}
.kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--slate);
  font-size: 18px;
}
