/* =============================================================
   Carmon · Navalperal Fase II
   Identidad Visual aplicada según PDF "Identidad Visual Definida"
   Paleta: #737373 #33383b #e1b551 #eae7e0 #bfbfbf #faeac6 #ffffff
   Tipografía: Cormorant Garamond + Futura Bold / Futura Regular
   ============================================================= */

:root {
  /* --------- Paleta oficial PDF --------- */
  --ink: #33383b;          /* negro corporativo  · PDF #33383b */
  --ink-deep: #23272a;
  --ink-soft: #737373;     /* gris medio         · PDF #737373 */
  --ink-mute: #8a8a8a;

  --gold: #e1b551;         /* dorado corporativo · PDF #e1b551 */
  --gold-deep: #b38f30;    /* dorado profundo para contrastes sobre crema */
  --gold-soft: #faeac6;    /* crema dorada       · PDF #faeac6 */

  --bg: #eae7e0;           /* fondo base         · PDF #eae7e0 */
  --bg-warm: #faeac6;      /* crema papel        · PDF #faeac6 */
  --cream: #faeac6;        /* alias              · PDF #faeac6 */
  --paper: #ffffff;        /* blanco             · PDF #ffffff */
  --stone: #bfbfbf;        /* gris claro         · PDF #bfbfbf */
  --stone-2: #d6d3cb;      /* derivado para matices */

  --line: rgba(51,56,59,0.16);
  --line-soft: rgba(51,56,59,0.08);

  --shadow-sm: 0 1px 2px rgba(51,56,59,0.04), 0 2px 8px rgba(51,56,59,0.05);
  --shadow-md: 0 2px 4px rgba(51,56,59,0.05), 0 8px 24px rgba(51,56,59,0.08);
  --shadow-lg: 0 8px 16px rgba(51,56,59,0.06), 0 24px 48px rgba(51,56,59,0.12);

  /* --------- Tipografía oficial PDF --------- */
  /* Cormorant Garamond = títulos, subtítulos, pies de foto, separadores */
  --font-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  /* Futura = cuerpo, paginación, ejes editoriales.
     Caída controlada a Futura PT / Jost (metrically similar) si no hay Futura local */
  --font-sans: 'Futura', 'Futura PT', 'Futura Std', 'Mulish', 'Jost', 'Century Gothic', 'Avenir Next', 'Avenir', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  font-size: 15px;          /* Cuerpo · Futura 12 (PDF) → 15px web para legibilidad */
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}
#root {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
.serif, h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-optical-sizing: auto;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

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

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(234,231,224,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
  line-height: 1;
}
.logo-hex { width: 30px; height: 30px; flex-shrink: 0; display:block; }
.logo-img { height: 56px; width: auto; object-fit: contain; display: block; transition: height 0.3s ease; }
.logo-word {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
}
/* Tag debajo ya no se usa; conservamos la clase por si se referencia */
.logo-tag { display: none; }
.nav-links {
  display: flex; gap: 28px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--bg-warm);
  border: 1px solid var(--ink);
}
.btn-primary:hover { background: var(--ink-deep); border-color: var(--ink-deep); transform: translateY(-1px); }
.btn-moss { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.btn-moss:hover { background: var(--gold-deep); color: var(--bg-warm); border-color: var(--gold-deep); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg-warm); }
.btn-gold-outline { color: var(--gold-deep); border: 1px solid var(--gold); background: transparent; }
.btn-gold-outline:hover { background: var(--gold); color: #343434; }
.btn-sm { padding: 9px 18px; font-size: 10px; letter-spacing: 0.16em; }
.btn-lg { padding: 17px 34px; font-size: 12px; letter-spacing: 0.20em; }
.btn-nav-cta { padding: 18px 36px; font-size: 12px; letter-spacing: 0.20em; }

@keyframes gold-border-pulse {
  /* base */
  0%, 6%, 10%, 16%, 20%, 26%, 100% {
    border-color: var(--gold);
    box-shadow: 0 0 0 0 rgba(225,181,81,0.9), 0 0 12px 2px rgba(225,181,81,0.35);
    transform: scale(1);
  }
  /* pico pulso 1 (~0.3s) · pulso 2 (~1.3s) · pulso 3 (~2.3s) */
  3%, 13%, 23% {
    border-color: #f5cc5a;
    box-shadow: 0 0 0 10px rgba(225,181,81,0), 0 0 32px 10px rgba(225,181,81,0.75);
    transform: scale(1.05);
  }
}
.btn-gold-pulse {
  border: 2px solid var(--gold) !important;
  animation: gold-border-pulse 10s ease-in-out infinite;
}

/* ===== STATUS DOT ===== */
.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  position: relative;
}
.dot-live { background: var(--gold); }
.dot-live::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--gold);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}

/* ===== TAGS / BADGES ===== */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--ink);
}
.tag-live { background: var(--gold); color: #343434; }
.tag-moss { background: var(--cream); color: var(--gold-deep); }
.tag-ochre { background: rgba(225,181,81,0.18); color: var(--gold-deep); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 56px 32px 0;
  max-width: 1280px; margin: 0 auto;
}
.hero-grid { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 640px;
}
.hero-left { padding-bottom: 32px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px; color: var(--ink-soft);
  margin-bottom: 28px;
  letter-spacing: 0.20em; text-transform: uppercase;
  font-weight: 700;
  flex-wrap: wrap; /* Evita que el texto de dirección desborde en móvil */
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 28px;
  text-wrap: balance;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--gold-deep); font-weight: 700; }
.hero h1 .lite { font-weight: 400; color: var(--ink-soft); }
.hero-sub {
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.65;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-right {
  position: relative;
  height: 640px;
  border-radius: 0;
  overflow: hidden;
  background: var(--stone-2);
}
.hero-img {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #d6c8a3 0%, #c7b68a 45%, #b8a878 100%);
  display: flex; align-items: flex-end; padding: 24px;
  overflow: hidden;
}
.hero-honey {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(51,56,59,0) 40%, rgba(51,56,59,0.45) 100%);
  pointer-events: none;
}
.hero-img-label { position: relative; z-index: 2; }
.hero-img-label {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-card {
  position: absolute; right: 24px; top: 24px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-radius: 0;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  min-width: 210px;
  border-top: 3px solid var(--gold);
}
.hero-card-label {
  font-family: var(--font-sans);
  font-size: 10px; color: var(--ink-soft);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 4px;
}
.hero-card-val {
  font-family: var(--font-sans);
  font-size: 46px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.015em;
  line-height: 1;
}
.hero-card-note {
  font-family: var(--font-sans);
  font-style: normal; font-size: 13px; color: var(--ink-soft); margin-top: 6px;
}


/* ===== KPI STRIP ===== */
.kpi-strip {
  max-width: 1280px; margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 56px;
}
.kpi { padding: 24px 36px; border-right: 1px solid var(--line); }
.kpi:first-child { padding-left: 0; }
.kpi:last-child { border-right: none; padding-right: 0; }
.kpi-label {
  font-family: var(--font-sans);
  font-size: 10px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 14px;
}
.kpi-val {
  font-family: var(--font-sans);
  font-size: 52px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.kpi-unit {
  font-size: 22px;
  color: var(--gold-deep);
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
}
.kpi-note {
  font-family: var(--font-sans);
  font-style: normal; font-size: 13px; color: var(--ink-soft); margin-top: 10px;
}

/* ===== SECTION ===== */
.section {
  max-width: 1280px; margin: 0 auto;
  padding: 104px 32px;
}
.section-head { margin-bottom: 56px; max-width: 740px; }
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.26em;
  color: var(--gold-deep); font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-left: 34px;
}
.section-eyebrow::before {
  content: ''; position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--gold);
}
.section h2 {
  font-family: var(--font-sans);
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.01em;
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
  color: var(--ink);
}
.section h2 em { font-style: normal; color: var(--gold-deep); font-weight: 700; }
.section h2 .lite { font-weight: 400; color: var(--ink-soft); }
.section-sub {
  font-family: var(--font-sans);
  font-size: 16px; color: var(--ink-soft); line-height: 1.65;
  max-width: 600px;
  font-weight: 400;
}

/* ===== PROGRESS ===== */
.progress-card {
  background: var(--paper);
  border-radius: 0;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
}
.progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.progress-raised {
  font-family: var(--font-sans);
  font-size: 56px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1;
}
.progress-raised-unit { font-size: 24px; color: var(--gold-deep); font-style: normal; }
.progress-goal {
  font-family: var(--font-sans);
  font-size: 13px; color: var(--ink-soft);
}
.progress-goal b {
  color: var(--ink);
  font-weight: 700;
  font-style: normal;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}
.progress-bar {
  height: 8px;
  border-radius: 0;
  background: var(--stone);
  overflow: hidden;
  margin: 22px 0;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) 100%);
  width: 0;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 11px; color: var(--ink-soft);
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
}
.progress-meta b { color: var(--ink); font-weight: 700; }

/* ===== STICKY BAR ===== */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--bg-warm);
  padding: 16px 32px;
  display: flex; align-items: center; gap: 32px;
  z-index: 40;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.2);
  border-top: 1px solid var(--gold);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-item { display: flex; flex-direction: column; gap: 2px; }
.sticky-label {
  font-family: var(--font-sans);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(250,234,198,0.55);
  font-weight: 700;
}
.sticky-val {
  font-family: var(--font-sans);
  font-size: 20px; font-weight: 700; color: var(--gold-soft); letter-spacing: -0.01em;
}
.sticky-bar .btn-moss { margin-left: auto; }
.sticky-toggle {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--paper);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.sticky-toggle:hover { background: rgba(255,255,255,0.16); border-color: var(--gold); }
.sticky-reopen {
  position: fixed; bottom: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 18px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 60;
  transition: background .2s, transform .2s;
}
.sticky-reopen:hover { background: #1f2426; transform: translateY(-2px); }

/* ===== PHASES ===== */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phase-card {
  background: var(--paper);
  border-radius: 0;
  padding: 36px;
  border: 1px solid var(--line-soft);
  position: relative;
  transition: all .3s;
  border-top: 3px solid transparent;
}
.phase-card:hover { border-top-color: var(--gold); }
.phase-card.active {
  background: var(--ink);
  color: var(--bg-warm);
  border-color: var(--ink);
  border-top-color: var(--gold);
}
.phase-card.active .phase-label { color: rgba(250,234,198,0.6); }
.phase-card.active .phase-title { color: var(--gold-soft) !important; }
.phase-card.active .phase-sub { color: rgba(250,234,198,0.75); }
.phase-card.active .phase-row { border-color: rgba(250,234,198,0.1); }
.phase-card.active .phase-row-k { color: rgba(250,234,198,0.6); }
.phase-card.active .phase-row-v { color: var(--gold-soft); }

.phase-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.phase-label {
  font-family: var(--font-sans);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.20em;
  color: var(--ink-soft);
  font-weight: 700;
}
.phase-title {
  font-family: var(--font-sans);
  font-size: 30px; font-weight: 700; letter-spacing: -0.01em;
  margin: 6px 0 8px; line-height: 1.15;
}
.phase-sub {
  font-family: var(--font-sans);
  font-size: 14px; color: var(--ink-soft); margin-bottom: 24px;
  line-height: 1.55;
}
.phase-rows { border-top: 1px solid var(--line); }
.phase-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.phase-row-k {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
}
.phase-row-v {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

/* ===== SIMULATOR ===== */
.sim {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}
.sim-left h3 {
  font-family: var(--font-sans);
  font-size: 34px; font-weight: 700; letter-spacing: -0.01em;
  margin: 8px 0 10px;
}
.sim-left p {
  font-family: var(--font-sans);
  color: var(--ink-soft); font-size: 15px;
  margin: 0 0 28px;
  line-height: 1.6;
}
.sim-input-wrap { margin-bottom: 24px; }
.sim-input-label {
  font-family: var(--font-sans);
  font-size: 10px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 10px; display: block;
  font-weight: 700;
}
.sim-input {
  width: 100%;
  padding: 20px 22px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: border .2s;
}
.sim-input:focus { outline: none; border-color: var(--gold); }
.sim-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.sim-preset {
  padding: 7px 14px;
  border-radius: 0;
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 10px; color: var(--ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .15s;
}
.sim-preset:hover { border-color: var(--ink); color: var(--ink); }
.sim-preset.active { background: var(--ink); color: var(--bg-warm); border-color: var(--ink); }

.sim-right {
  background: var(--ink);
  border-radius: 0;
  padding: 36px;
  color: var(--bg-warm);
  border-top: 3px solid var(--gold);
}
.sim-result-label {
  font-family: var(--font-sans);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.20em;
  color: rgba(250,234,198,0.55); margin-bottom: 12px;
  font-weight: 700;
}
.sim-result-val {
  font-family: var(--font-sans);
  font-size: 64px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.sim-result-note {
  font-family: var(--font-sans);
  font-style: normal; font-size: 13px;
  color: rgba(250,234,198,0.6); margin-bottom: 30px;
}
.sim-breakdown { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(250,234,198,0.12); }
.sim-row { display: flex; justify-content: space-between; font-size: 14px; }
.sim-row-k {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(250,234,198,0.65);
}
.sim-row-v {
  font-family: var(--font-sans);
  font-size: 18px; color: var(--gold-soft);
  font-variant-numeric: tabular-nums; font-weight: 700;
}

/* ===== TABS ===== */
.tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  margin-bottom: -1px;
  max-width: 100%;
  -webkit-overflow-scrolling: touch; /* Scroll suave en iOS/Safari */
}
.tabs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.tab {
  padding: 18px 26px;
  font-family: var(--font-sans);
  font-size: 11px; color: var(--ink-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
  white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-color: var(--gold); font-weight: 700; }

.tab-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
}
.tab-panel-full { grid-template-columns: 1fr; }
.prose p {
  font-family: var(--font-sans);
  font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 18px;
}
.prose p:first-child {
  font-family: var(--font-sans);
  font-size: 19px; line-height: 1.55;
  color: var(--ink); font-weight: 500; font-style: normal;
}
.prose h4 {
  font-family: var(--font-sans);
  font-size: 22px; font-weight: 700; margin: 36px 0 14px;
  letter-spacing: -0.005em; color: var(--ink);
}
.prose ul { padding-left: 0; list-style: none; }
.prose ul li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 24px;
  width: 20px; height: 1px; background: var(--gold);
}

/* feature list */
.feats { display: grid; gap: 14px; }
.feat {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 22px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: all .2s;
}
.feat:hover { border-color: var(--gold); }
.feat-icon {
  width: 40px; height: 40px;
  border-radius: 0;
  background: var(--cream);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 14px;
  font-style: normal;
}
.feat-title {
  font-family: var(--font-sans);
  font-weight: 700; font-size: 16px; margin-bottom: 4px; color: var(--ink);
}
.feat-desc {
  font-family: var(--font-sans);
  font-size: 13px; color: var(--ink-soft); line-height: 1.6;
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -36px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
}
.tl-item.done::before { background: var(--gold); border-color: var(--gold); }
.tl-item.current::before {
  background: var(--ink); border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(225,181,81,0.22);
}
.tl-date {
  font-family: var(--font-sans);
  font-size: 11px; color: var(--gold-deep);
  letter-spacing: 0.20em; text-transform: uppercase;
  font-weight: 700;
}
.tl-title {
  font-family: var(--font-sans);
  font-size: 22px; font-weight: 700; margin: 4px 0 6px;
  letter-spacing: -0.005em; color: var(--ink);
}
.tl-desc {
  font-family: var(--font-sans);
  font-size: 13px; color: var(--ink-soft); line-height: 1.7;
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
}
.gal-item {
  border-radius: 0;
  overflow: hidden;
  background: var(--stone);
  position: relative;
  transition: transform .3s;
}
.gal-item:hover { transform: scale(1.005); }
.gal-item:nth-child(1) { grid-row: span 2; }
.gal-ph {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 18px; color: rgba(255,255,255,0.92);
  font-family: var(--font-sans);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700;
}
.gal-ph-1 { background: linear-gradient(165deg, #d4c79f 0%, #b6a77a 100%); }
.gal-ph-2 { background: linear-gradient(150deg, #c9bb8c 0%, #a99a6c 100%); }
.gal-ph-3 { background: linear-gradient(175deg, #dccfa6 0%, #c0b283 100%); }
.gal-ph-4 { background: linear-gradient(190deg, #8d8876 0%, #6f6a5a 100%); }
.gal-ph-5 { background: linear-gradient(155deg, #bab395 0%, #9c9578 100%); }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  letter-spacing: -0.005em;
  color: var(--ink);
  cursor: pointer;
}
.faq-plus {
  font-size: 22px; color: var(--gold);
  transition: transform .3s;
  font-family: var(--font-sans);
}
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .2s;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 26px; }

/* ===== CTA ===== */
.cta-section {
  background: var(--ink);
  color: var(--bg-warm);
  border-radius: 0;
  padding: 80px 72px;
  margin: 104px 32px;
  max-width: 1216px;
  margin-left: auto; margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--gold);
}
.cta-section::before {
  content: ''; position: absolute;
  right: -100px; top: -100px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,181,81,0.16), transparent 70%);
}
.cta-section h3 {
  font-family: var(--font-sans);
  font-size: 48px; font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
}
.cta-section h3 em { color: var(--gold-soft); font-style: normal; font-weight: 700; }
.cta-section h3 .lite { font-weight: 400; color: rgba(250,234,198,0.65); }
.cta-section p {
  font-family: var(--font-sans);
  color: rgba(250,234,198,0.75); font-size: 15px;
  max-width: 440px;
  font-style: italic;
}

.form { display: grid; gap: 12px; position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form select {
  width: 100%;
  box-sizing: border-box;
  padding: 17px 20px;
  border-radius: 0;
  border: 1px solid rgba(250,234,198,0.22);
  background: rgba(250,234,198,0.04);
  color: var(--bg-warm);
  font-family: var(--font-sans);
  font-size: 14px;
}
.form input::placeholder { color: rgba(250,234,198,0.5); }
.form select option {
  background: #2a2b2e;
  color: #f0e6cc;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--gold); }
.form-submit {
  margin-top: 8px;
  padding: 18px;
  background: var(--gold);
  color: #343434;
  border-radius: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all .2s;
}
.form-submit:hover { background: var(--gold-soft); }
.form-success {
  padding: 36px; border-radius: 0;
  background: rgba(250,234,198,0.04);
  border: 1px solid rgba(225,181,81,0.35);
  text-align: center;
  grid-column: 1 / -1;
}
.form-success-title {
  font-family: var(--font-sans);
  font-size: 26px; color: var(--gold-soft); font-weight: 700;
  margin-bottom: 8px; font-style: normal;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-warm);
  padding: 72px 32px 36px;
  border-top: 1px solid var(--line-soft);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold-deep); margin: 0 0 18px;
  font-weight: 700;
}
.footer-col a {
  display: block; padding: 5px 0;
  font-family: var(--font-sans);
  font-size: 13px; color: var(--ink);
}
.footer-col a:hover { color: var(--gold-deep); }
.footer-legal {
  padding-top: 26px; border-top: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 11px; color: var(--ink-soft); line-height: 1.7;
  letter-spacing: 0.02em;
}
.footer-legal p { margin: 8px 0; }

/* ===== TWEAKS PANEL ===== */
.tweaks {
  position: fixed; right: 24px; top: 90px;
  width: 288px;
  background: var(--paper);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  z-index: 60;
  display: none;
  font-size: 13px;
  border-top: 3px solid var(--gold);
}
.tweaks.visible { display: block; }
.tweaks-title {
  font-family: var(--font-sans);
  font-size: 18px; font-weight: 700; margin: 0 0 18px;
  letter-spacing: -0.005em; font-style: normal; color: var(--ink);
}
.tweak-group { margin-bottom: 18px; }
.tweak-group-label {
  font-family: var(--font-sans);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft); margin-bottom: 10px; display: block;
  font-weight: 700;
}
.tweak-swatches { display: flex; gap: 8px; }
.tweak-swatch {
  width: 30px; height: 30px; border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
}
.tweak-swatch.active { border-color: var(--ink); }
.tweak-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 13px;
}
.tweak-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.tweak-row label { color: var(--ink-soft); }
.tweak-val { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: var(--gold-deep); }

/* ===== HISTORY ===== */
.history-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.history-projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { height: 420px; }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(2) { border-right: none; }
  .kpi:nth-child(3) { border-top: 1px solid var(--line); padding-top: 24px; }
  .kpi:nth-child(4) { border-top: 1px solid var(--line); padding-top: 24px; }
  .phases { grid-template-columns: 1fr; }
  .sim { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
  .tab-panel { grid-template-columns: 1fr; gap: 36px; }
  .cta-section { grid-template-columns: 1fr; padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .gal-item:nth-child(1) { grid-row: span 1; grid-column: span 2; }
  .history-kpis { grid-template-columns: 1fr 1fr; }
  .history-projects { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .sticky-bar {
    padding: 12px 16px;
    gap: 12px;
  }
  .sticky-item {
    display: none;
  }
  .sticky-bar .btn-moss {
    width: 100%;
    margin-left: 0;
    padding: 14px 20px;
    font-size: 11px;
    display: flex;
    justify-content: center;
  }
  .sticky-toggle {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-inner { padding: 12px 16px; }
  .logo-img { height: 40px; }
  .hero { padding: 32px 16px 0; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); line-height: 1.1; margin-bottom: 20px; }
  .hero-sub { font-size: 14px; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; gap: 10px; width: 100%; }
  .hero-ctas .btn { width: 100%; display: flex; justify-content: center; text-align: center; }

  .btn {
    white-space: normal !important;
    letter-spacing: 0.08em !important;
    padding: 12px 16px !important;
    font-size: 10px !important;
  }
  .form-submit {
    white-space: normal !important;
    letter-spacing: 0.08em !important;
    padding: 12px 16px !important;
    font-size: 11px !important;
  }
  .btn-nav-cta {
    padding: 10px 16px !important;
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
  }

  .hero-right { height: 320px; }
  .hero-card { top: 12px; right: 12px; min-width: 150px; padding: 10px 14px; }
  .hero-card-val { font-size: 32px; }
  .hero-card-note { font-size: 11px; }

  .section { padding: 48px 16px; }
  .section-head { margin-bottom: 32px; }
  .section h2 { font-size: clamp(24px, 6vw, 36px); line-height: 1.15; }

  .progress-card { padding: 24px 20px; }
  .progress-head { flex-direction: column; gap: 8px; align-items: flex-start; }
  .progress-raised { font-size: 36px; }
  .progress-goal { text-align: left !important; }
  .progress-meta { flex-direction: column; gap: 6px; align-items: flex-start; }

  .sim { padding: 24px 20px; }
  .sim-left h3 { font-size: 26px; }
  .sim-input { font-size: 24px; padding: 14px 16px; }
  .sim-right { padding: 24px 20px; }
  .sim-result-val { font-size: 40px; }
  .sim-result-note { margin-bottom: 20px; }

  .tab { padding: 14px 16px; font-size: 10px; letter-spacing: 0.12em; }
  .feats { gap: 10px; }
  .feat { padding: 16px; gap: 12px; }
  .feat-icon { width: 32px; height: 32px; font-size: 12px; }
  .feat-title { font-size: 14px; }
  .feat-desc { font-size: 12px; }

  .cta-section { padding: 40px 20px; margin: 48px 16px; }
  .cta-section h3 { font-size: clamp(24px, 6vw, 36px); line-height: 1.15; }
  .cta-section p { font-size: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .form input, .form select { padding: 14px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
  .kpi-strip {
    grid-template-columns: 1fr;
    padding: 24px 16px;
    margin-top: 32px;
  }
  .kpi {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }
  .kpi:first-child {
    padding-top: 0;
  }
  .kpi:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .history-kpis { grid-template-columns: 1fr; }
  .history-projects { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(5, 200px); }
  .gal-item:nth-child(1) { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =============================================================
   REDISEÑO 2026-11 · Mismo estilo que carmoninversores.com
   Kumbh Sans, fondo blanco, botones redondeados (41px), tarjetas
   blancas con sombra suave (19px) y menú común de Carmon.
   ============================================================= */
:root {
  --font-sans: 'Kumbh Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Kumbh Sans', system-ui, sans-serif;
  --ink: #4d4d4d;
  --ink-deep: #333333;
  --ink-soft: #6b6b6b;
  --heading: #37465a;
  --gold: #e1b551;
  --gold-deep: #a97f1f;
  --gold-soft: #fdf3dc;
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --paper: #ffffff;
  --radius: 19px;
  --pill: 41px;
  --card-shadow: 2px 0 25px rgba(93, 93, 93, 0.25);
}
body { background: var(--bg); color: var(--ink); font-size: 16px; }
.serif, h1, h2, h3, h4, h5 { font-family: var(--font-sans); }

/* ---- Menú común ---- */
.nav { background: rgba(255,255,255,0.96); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-inner { max-width: 1180px; padding: 10px 32px; gap: 24px; justify-content: space-between; }
.logo-img { height: 34px; }
.nav-links {
  list-style: none; margin: 0 0 0 auto; padding: 0;
  display: flex; align-items: center; gap: 26px;
  font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink);
}
.nav-links a { color: var(--ink); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-deep); }
.nav-links .nav-strong { font-weight: 700; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle:focus-visible, .btn:focus-visible, .tab:focus-visible, .faq-q:focus-visible, .sim-preset:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* ---- Botones ---- */
.btn {
  border-radius: var(--pill); font-size: 16px; font-weight: 500; letter-spacing: 0;
  text-transform: none; padding: 11px 26px; min-height: 43px;
}
.btn-lg { font-size: 16px; padding: 12px 30px; letter-spacing: 0; }
.btn-sm { font-size: 14px; padding: 8px 18px; letter-spacing: 0; }
.btn-primary, .btn-moss { background: var(--gold); color: #343434; border: 2px solid var(--gold); }
.btn-primary:hover, .btn-moss:hover { background: #f9d37c; border-color: #f9d37c; color: #343434; }
.btn-ghost { background: #fff; color: var(--gold-deep); border: 2px solid var(--gold); }
.btn-ghost:hover { background: var(--gold); color: #343434; }
.btn-light { background: #fff; color: var(--gold-deep); border: 2px solid #fff; font-weight: 600; }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); }

/* ---- Hero: foto en gris, como /proximo-proyecto ---- */
.hero { max-width: none; padding: 0; position: relative; overflow: hidden; background: #2f3336; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: grayscale(1) brightness(0.45);
}
.hero-grid { max-width: 1180px; margin: 0 auto; padding: 72px 32px 80px; min-height: 560px; grid-template-columns: 1.4fr 0.6fr; }
.hero-kicker { color: rgba(255,255,255,0.85); font-size: 13px; letter-spacing: 0.08em; font-weight: 600; }
.hero-kicker .dot { background: var(--gold); }
.hero h1 { color: #fff; font-weight: 300; font-size: clamp(38px, 5vw, 66px); line-height: 1.08; }
.hero h1 em { color: var(--gold); font-weight: 600; }
.hero-sub { color: rgba(255,255,255,0.88); font-size: 17px; }
.hero-sub b { color: #fff; }
.hero-right { height: auto; background: none; overflow: visible; display: flex; justify-content: flex-end; align-items: center; }
.hero-card { position: static; border-radius: var(--radius); border-top: 0; box-shadow: var(--card-shadow); padding: 24px 28px; min-width: 230px; }
.hero-card-label { font-size: 13px; letter-spacing: 0.06em; }
.hero-card-val { color: var(--gold-deep); font-weight: 700; font-size: 56px; }
.hero-card-note { font-size: 14px; }

/* ---- Accesos a secciones ---- */
.section-nav {
  max-width: 1180px; margin: 28px auto 0; padding: 0 32px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.section-nav a {
  border: 2px solid var(--gold); color: var(--gold-deep); border-radius: var(--pill);
  padding: 8px 20px; font-size: 15px; font-weight: 500;
}
.section-nav a:hover { background: var(--gold); color: #343434; }

/* ---- Bloques ---- */
.kpi-strip {
  max-width: 1180px; margin: 32px auto 0; padding: 32px; border: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
}
.kpi { border-right: 1px solid rgba(0,0,0,0.08); }
.kpi-label, .phase-row-k, .sim-input-label, .sim-result-label, .sticky-label { letter-spacing: 0.06em; font-size: 12px; }
.kpi-val { color: var(--heading); font-weight: 600; }
.section { max-width: 1180px; padding: 88px 32px; }
.section-eyebrow { color: var(--gold-deep); letter-spacing: 0.12em; font-size: 13px; }
.section h2 { color: var(--heading); font-weight: 500; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.2; }
.section h2 em { color: var(--gold-deep); font-weight: 600; }
.section-sub { font-size: 18px; }
.panel-title { font-family: var(--font-sans); font-size: 22px; font-weight: 600; color: var(--heading); margin: 0 0 20px; }

.phase-card, .feat, .sim, .progress-card, .cta-section, .tab-panel .feat {
  border-radius: var(--radius);
}
.phase-card { background: #fff; box-shadow: var(--card-shadow); border: 2px solid transparent; }
.phase-card.active { background: #fff; border-color: var(--gold); }
.phase-card.active .phase-label, .phase-card.active .phase-sub, .phase-card.active .phase-row-k { color: var(--ink-soft); }
.phase-card.active .phase-row-v { color: var(--ink); }
.phase-card.active .phase-row { border-color: rgba(0,0,0,0.08); }
.phase-card .tag { border-radius: var(--pill); }

.sim { background: #fff; box-shadow: var(--card-shadow); overflow: hidden; }
.sim-left h3 { color: var(--heading); font-weight: 500; }
.sim-input { border-radius: 14px; font-family: var(--font-sans); }
.sim-input-error { border-color: #b3261e !important; }
.sim-help { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }
.sim-help-error { color: #b3261e; font-weight: 600; }
.sim-preset { border-radius: var(--pill); }
.sim-right { border-radius: var(--radius); }

.tabs { border-bottom: 1px solid rgba(0,0,0,0.1); }
.tab { letter-spacing: 0.04em; text-transform: none; font-size: 15px; }
.feat { background: #fff; box-shadow: 0 2px 14px rgba(93,93,93,0.14); }
.feat-icon { border-radius: 50%; }

.faq-h { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-q { width: 100%; text-align: left; color: var(--heading); font-size: 18px; }
.faq-a[hidden] { display: none; }
.faq-item.open .faq-a { max-height: none; }

.cta-section { background: var(--heading); }
.footer { background: var(--bg-soft); }
.footer-col h5 { letter-spacing: 0.08em; }

/* ---- Historial ---- */
.history-kpi { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 26px; }
.history-kpi-val { font-size: 42px; font-weight: 700; color: var(--gold-deep); line-height: 1; }
.history-kpi-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 12px; letter-spacing: 0.04em; }
.history-card {
  display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 24px; border: 2px solid transparent; transition: border-color .2s, transform .2s;
}
.history-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.history-card-name { font-size: 14px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }
.history-card-rate { font-size: 38px; font-weight: 700; color: var(--gold-deep); margin-top: 8px; line-height: 1.1; }
.history-card-est { font-size: 18px; font-weight: 600; }
.history-card-badge {
  display: inline-block; margin-top: 12px; padding: 8px 16px; border-radius: var(--pill);
  background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; font-size: 18px;
}
.history-card-note { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.history-card-link { font-size: 14px; color: var(--gold-deep); font-weight: 600; margin-top: 12px; }
.history-last { font-size: 16px; color: var(--ink-soft); margin-top: 28px; text-align: center; }

.sticky-bar { background: var(--heading); border-top: 0; }

/* ---- Móvil ---- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,0.12); padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 24px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 48px 24px 56px; }
  .hero-right { justify-content: flex-start; }
  .kpi { border-right: 0; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 8px 16px; }
  .logo-img { height: 30px; }
  .hero-grid { padding: 36px 16px 44px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .btn { font-size: 15px !important; letter-spacing: 0 !important; padding: 11px 20px !important; }
  .section-nav { padding: 0 16px; }
  .section-nav a { font-size: 14px; padding: 7px 14px; }
  .kpi-strip { margin: 24px 16px 0; padding: 20px; }
  .history-kpi-val { font-size: 34px; }
}
.sim-right { background: var(--heading); }

.logo-img { height: 40px; }
.phase-row-v { text-align: right; }
@media (max-width: 600px) { .logo-img { height: 32px; } }

.sim-preset.active { background: var(--gold); border-color: var(--gold); color: #343434; }
@media (max-width: 480px) { .history-kpis { grid-template-columns: 1fr 1fr; gap: 12px; } .history-kpi { padding: 18px; } .history-kpi-val { font-size: 28px; } }

.phase-card.active .phase-title { color: var(--gold-deep) !important; }

/* =============================================================
   DISEÑO V2 2026-11 · Ajustes pedidos por Marketing (Lourdes, 11/11)
   Portada clara, titulos como /proyectos (50px, 300, destacado en
   negrita), sin etiquetas en mayusculas, fondos alternos y logo
   del mismo tamaño que el resto de webs.
   ============================================================= */
:root { --ink: #4d4d4d; --heading: #4d4d4d; --band: #f9f9f9; }
body { background: #fff; }

/* Logo como en carmoninversores.com */
.logo-img { width: 176px; height: auto; }

/* Titulos: mismo tamaño y peso que /proyectos; se destaca con negrita, no con dorado */
.hero h1, .section h2, .cta-section h3 {
  font-size: clamp(32px, 4vw, 50px); font-weight: 300; line-height: 1.15; color: #4d4d4d; letter-spacing: 0;
}
.hero h1 strong, .hero h1 em, .section h2 strong, .section h2 em, .cta-section h3 strong, .cta-section h3 em {
  font-weight: 700; color: inherit; font-style: normal;
}

/* Portada clara con texto oscuro */
.hero { background: #fff; overflow: visible; }
.hero-bg { display: none; }
.hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; min-height: 0; padding: 56px 32px 40px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; margin: 0 0 20px; }
.hero-sub, .hero-sub b { color: #4d4d4d; }
.hero-sub { font-size: 17px; max-width: 600px; }
.hero-right { position: relative; display: block; height: auto; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--card-shadow); }
.hero-card { position: absolute; top: auto; right: auto; left: -24px; bottom: -24px; min-width: 210px; }

/* Sin etiquetas pequeñas en mayusculas */
.section-eyebrow { display: none; }
.kpi-label, .phase-label, .phase-row-k, .sim-input-label, .sim-result-label, .history-card-name,
.tag, .tab, .footer-col h5, .hero-card-label, .phase-header span {
  text-transform: none !important; letter-spacing: 0 !important;
}
.kpi-label, .sim-input-label, .sim-result-label { font-size: 14px; font-weight: 600; }
.phase-label { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.tag { font-size: 13px; }
.footer-col h5 { font-size: 15px; }

/* Fondos alternos blanco / gris claro a todo el ancho, como en las otras webs */
.section { padding: 80px 32px; }
.band-alt { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.kpi-strip { margin-bottom: 48px; }

/* Cierre de fase + invitacion a la comunidad */
.band-cta { padding: 72px 0; }
.cta-section {
  max-width: 900px; margin: 0 auto; padding: 48px 40px; text-align: center;
  display: block;
  background: #fff; color: #4d4d4d; border-radius: var(--radius); box-shadow: var(--card-shadow);
}
.cta-section::before { display: none; }
.cta-section p { color: #4d4d4d; margin: 12px auto 0; max-width: 640px; font-size: 17px; }
.cta-next { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-section .cta-next-text { font-size: 20px; font-weight: 600; margin: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 36px 24px 48px; gap: 40px; }
  .hero-card { top: auto; right: auto; left: 16px; bottom: -20px; }
}
@media (max-width: 600px) {
  .logo-img { width: 140px; }
  .hero-grid { padding: 28px 16px 44px; }
  .hero h1, .section h2, .cta-section h3 { font-size: clamp(28px, 8vw, 36px); }
  .section { padding: 48px 16px; }
  .band-cta { padding: 48px 16px; }
  .cta-section { padding: 32px 20px; }
}

/* Texto en el gris del logo (#343434) sobre el dorado: contraste 6,5 frente a 1,9 del blanco (Marketing 18/11).
   Al pasar el ratón, dorado claro (#f9d37c) como en el resto de las webs. «Aceptar todas» de Cookiebot se pinta de
   dorado aquí: con el plan gratis la cuenta ya no lo hace (18/11). */
#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  background-color: #E1B551 !important; border-color: #E1B551 !important; color: #343434 !important;
}
/* «Denegar» y «Aceptar las seleccionadas» en blanco con texto oscuro: el plan gratis de Cookiebot los pone en azul. */
#CybotCookiebotDialog #CybotCookiebotDialogBodyButtonDecline,
#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
  background-color: #FFFFFF !important; border-color: #E1B551 !important; color: #141414 !important;
}
