/* ============================================================
   MASTER CONECTOR™ — Design system v2
   Boutique de aterrizaje estratégico Lima ↔ Málaga
   Azul marino #0A1D49 · Oro viejo #C49A2C · Blanco cálido #F8F7F3
   ============================================================ */

:root {
  --navy: #0A1D49;
  --navy-deep: #060f2c;
  --navy-soft: #132458;
  --gold: #C49A2C;
  --gold-light: #D9B65A;
  --gold-pale: #F4E9D2;
  --cream: #F8F7F3;
  --cream-deep: #F0EDE5;
  --white: #FFFFFF;
  --ink: #1A2138;
  --ink-soft: #5C6378;
  --ink-faint: #8A8F9E;
  --line: #E6E3D8;
  --line-soft: #EFEDE4;
  --shadow-sm: 0 8px 28px -8px rgba(10, 29, 73, 0.12);
  --shadow-lg: 0 30px 70px -24px rgba(10, 29, 73, 0.28);
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--gold); }
.eyebrow.on-dark { color: var(--gold-light); }

.h-display {
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h-section {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.16;
  font-weight: 800;
}

.h-card { font-size: 21px; font-weight: 700; color: var(--navy); }

.lede {
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 600px;
  font-weight: 400;
}

.body-text { font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; }

.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-sm { padding: 11px 22px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 247, 243, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo-img { height: 15px; width: auto; display: block; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 22px; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-links a { opacity: 0.75; transition: opacity 0.2s; position: relative; white-space: nowrap; }
.nav-links a:hover { opacity: 1; color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; }

@media (max-width: 1080px) {
  .nav-links { gap: 16px; font-size: 13px; }
}

/* ---------- Hero ---------- */

.hero { padding: 64px 0 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-bottom: 80px; }
.hero-cta-row { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stat-num { font-size: 27px; font-weight: 800; color: var(--navy); }
.hero-stat-label { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; max-width: 130px; }

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  height: 540px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,29,73,0) 40%, rgba(10,29,73,0.55) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
}
.hero-visual-caption {
  color: white; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.hero-visual-caption .gold { color: var(--gold); font-weight: 700; }

/* ---------- Sections ---------- */

section { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-deep { background: var(--cream-deep); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy .body-text, .section-navy .lede { color: rgba(255,255,255,0.72); }

.section-head { margin-bottom: 60px; max-width: 740px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.wide { max-width: 900px; }

/* ---------- Lima ↔ Málaga ---------- */

.lm-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.lm-visual {
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-sm);
}
.lm-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

.lm-cities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lm-city-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
}
.lm-city-card.navy-card { background: var(--navy); border-color: var(--navy); }
.lm-city-card.navy-card h3, .lm-city-card.navy-card .city-sub { color: white; }
.lm-city-card.navy-card p { color: rgba(255,255,255,0.7); }
.lm-city-card .city-sub { font-size: 12.5px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; display: block; }
.lm-city-card h3 { font-size: 25px; margin-bottom: 14px; }
.lm-city-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }

.lm-closer {
  text-align: center;
  max-width: 720px;
  margin: 56px auto 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
}

/* ---------- Entry blocks (Market / Life) ---------- */

.entry-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.entry-block.reverse .entry-text { order: 2; }
.entry-visual {
  border-radius: var(--radius);
  height: 420px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.entry-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.entry-visual-tag {
  position: absolute; top: 24px; left: 24px;
  background: rgba(10,29,73,0.55); backdrop-filter: blur(6px);
  color: var(--gold-light); font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
}

.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  display: flex; gap: 12px; padding: 11px 0; font-size: 14.5px;
  color: var(--ink-soft); border-bottom: 1px solid var(--line-soft);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-top: 7px; flex-shrink: 0;
}
.feature-list.on-dark li { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.1); }

.framework-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-pale); color: #7A5E1A;
  font-size: 12.5px; font-weight: 700; padding: 8px 16px;
  border-radius: 999px; margin-top: 28px;
}
.framework-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Methodology ---------- */

.method-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 56px 0; flex-wrap: wrap;
}
.method-flow-step {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; font-size: 13.5px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.method-flow-step .n { color: var(--gold); }
.method-flow-arrow { color: var(--ink-faint); font-size: 16px; }

.method-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 16px; }
.method-card { border-radius: var(--radius); padding: 38px 32px; position: relative; }
.method-card.m1 { background: var(--navy); color: white; }
.method-card.m2 { background: var(--white); border: 1.5px solid var(--gold); }
.method-card.m3 { background: var(--gold); color: var(--navy); }
.method-card .tag-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-bottom: 14px; display: block; }
.method-card h3 { font-size: 20px; margin-bottom: 12px; }
.method-card.m1 h3 { color: var(--white); }
.method-card.m3 h3 { color: var(--navy); }
.method-card p { font-size: 14px; line-height: 1.65; opacity: 0.88; }
.method-card.m2 p { color: var(--ink-soft); }

/* ---------- Partner network ---------- */

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.partner-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 18px; font-size: 13.5px; font-weight: 600; color: var(--navy);
  text-align: center; transition: border-color 0.2s, transform 0.2s;
}
.partner-chip:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ---------- Founder ---------- */

.founder-block { display: grid; grid-template-columns: 0.55fr 1fr; gap: 64px; align-items: center; }
.founder-photo-frame {
  background: var(--navy);
  border-radius: var(--radius); height: 460px;
  display: flex; align-items: flex-end; padding: 32px; position: relative; overflow: hidden;
}
.founder-photo-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 0;
}
.founder-photo-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,29,73,0) 45%, rgba(6,15,44,0.88) 100%);
}
.founder-photo-frame .name-plate { color: white; position: relative; z-index: 2; }
.founder-photo-frame .name-plate .nm { font-size: 24px; font-weight: 800; }
.founder-photo-frame .name-plate .rl { font-size: 13.5px; color: var(--gold-light); margin-top: 5px; font-weight: 600; }
.founder-stats { display: flex; gap: 28px; margin: 30px 0; }
.founder-stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.founder-stat .num { font-size: 25px; font-weight: 800; color: var(--navy); }
.founder-stat .lbl { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; max-width: 140px; }

/* ---------- Proyectos en viaje ---------- */

.journey-card {
  background: var(--navy); border-radius: var(--radius); padding: 48px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px;
  position: relative; overflow: hidden;
}
.journey-card::before {
  content: ""; position: absolute; top: -45%; right: -8%; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(196,154,44,0.16), transparent 70%);
}
.journey-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); color: var(--gold-light);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.journey-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); }
.journey-card h3 { color: white; font-size: 27px; margin-bottom: 10px; }
.journey-card p { color: rgba(255,255,255,0.62); font-size: 14.5px; max-width: 480px; line-height: 1.65; }

/* ---------- Contact form ---------- */

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.contact-visual {
  margin-top: 32px; border-radius: var(--radius); overflow: hidden;
  height: 280px; box-shadow: var(--shadow-sm);
}
.contact-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.contact-form-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; background: var(--cream); color: var(--ink);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); background: white; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field textarea { resize: vertical; min-height: 96px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.5); padding: 56px 0 30px; font-size: 13px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 26px; }
.footer-logo-img { height: 24px; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { opacity: 0.65; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.footer-disclaimer { max-width: 660px; opacity: 0.5; line-height: 1.65; font-size: 12px; }

/* ============================================================
   KAPYDERM PRIVATE PAGE — specific styles
   ============================================================ */

#gate {
  position: fixed; inset: 0; z-index: 999;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.gate-box {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px; padding: 52px 46px; max-width: 440px; width: 100%; text-align: center;
}
.gate-box img { height: 26px; margin: 0 auto 22px; filter: brightness(0) invert(1); opacity: 0.95; }
.gate-box h1 { color: white; font-size: 23px; margin-bottom: 10px; }
.gate-box p.sub { color: rgba(255,255,255,0.52); font-size: 14px; margin-bottom: 30px; line-height: 1.65; }
.gate-box input {
  width: 100%; padding: 15px 16px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: white;
  font-size: 15px; font-family: inherit; text-align: center; letter-spacing: 0.04em;
}
.gate-box input::placeholder { color: rgba(255,255,255,0.32); }
.gate-box input:focus { outline: none; border-color: var(--gold); }
.gate-box button {
  width: 100%; margin-top: 16px; padding: 15px;
  background: var(--gold); color: var(--navy);
  border: none; border-radius: 999px; font-weight: 700; font-size: 14.5px; cursor: pointer;
  transition: background 0.2s;
}
.gate-box button:hover { background: var(--gold-light); }
.gate-error { color: #e4a0a0; font-size: 13px; margin-top: 13px; display: none; }
.gate-back { display: inline-block; margin-top: 24px; color: rgba(255,255,255,0.38); font-size: 13px; }
.gate-back:hover { color: white; }

#private-content { display: none; }

.score-panel {
  background: var(--navy); border-radius: var(--radius); padding: 52px 48px;
  display: flex; align-items: center; gap: 52px;
}
.score-circle {
  width: 176px; height: 176px; border-radius: 50%; border: 6px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0; background: rgba(196,154,44,0.06);
}
.score-circle .num { font-size: 44px; font-weight: 800; color: white; }
.score-circle .denom { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: -4px; }
.score-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,154,44,0.16); color: var(--gold-light);
  font-size: 12.5px; font-weight: 700; padding: 8px 17px; border-radius: 999px; margin-bottom: 16px;
}
.score-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }
.score-panel h3 { color: white; font-size: 23px; margin-bottom: 12px; }
.score-panel p { color: rgba(255,255,255,0.65); font-size: 14.5px; line-height: 1.68; max-width: 500px; }

.stage-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.stage-num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-bottom: 18px;
}
.stage-card h4 { color: var(--navy); font-size: 17.5px; margin-bottom: 10px; }
.stage-card p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.65; }
.stage-tag {
  display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700;
  color: #7A5E1A; text-transform: uppercase; letter-spacing: 0.07em;
  background: var(--gold-pale); padding: 5px 11px; border-radius: 999px;
}

.roadmap-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.roadmap-phase { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 22px; border-top: 3px solid var(--gold); }
.roadmap-phase .months { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: 0.06em; }
.roadmap-phase h5 { color: var(--navy); font-size: 15.5px; margin: 10px 0 9px; }
.roadmap-phase p { color: var(--ink-soft); font-size: 12.5px; line-height: 1.6; }

.pricing-card { background: var(--navy); border-radius: var(--radius); padding: 48px; text-align: center; }
.pricing-card .total { color: white; font-size: 48px; font-weight: 800; margin: 14px 0 6px; }
.pricing-card .vat { color: rgba(255,255,255,0.5); font-size: 13.5px; margin-bottom: 30px; }
.pricing-installments { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.installment { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 13px; padding: 19px 26px; min-width: 150px; }
.installment .m { color: var(--gold-light); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.installment .amt { color: white; font-size: 23px; font-weight: 800; margin-top: 7px; }
.installment .desc { color: rgba(255,255,255,0.55); font-size: 11.5px; margin-top: 5px; }

.deliverable-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deliverable-item { display: flex; gap: 13px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 11px; padding: 17px 19px; font-size: 14px; color: var(--ink); }
.deliverable-item .check { width: 21px; height: 21px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; margin-top: 1px; }

.exclusion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.exclusion-col h4 { font-size: 14px; color: var(--navy); margin-bottom: 14px; }
.exclusion-list { list-style: none; }
.exclusion-list li { font-size: 13.5px; color: var(--ink-soft); padding: 7px 0; display: flex; gap: 9px; }
.exclusion-list.yes li::before { content: "✓"; color: var(--gold); font-weight: 800; }
.exclusion-list.no li::before { content: "—"; color: var(--ink-faint); font-weight: 800; }

.final-cta-card { background: var(--gold); border-radius: var(--radius); padding: 52px; text-align: center; }
.final-cta-card h3 { color: var(--navy); font-size: 27px; margin-bottom: 14px; }
.final-cta-card p { color: rgba(10,29,73,0.72); max-width: 500px; margin: 0 auto 30px; font-size: 15px; }
.final-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.download-banner {
  background: var(--white); border: 1.5px solid var(--gold); border-radius: var(--radius-sm);
  padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.download-banner-text h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 4px; }
.download-banner-text p { font-size: 13px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .hero-grid, .lm-intro-grid, .entry-block, .founder-block, .contact-grid { grid-template-columns: 1fr; }
  .entry-block.reverse .entry-text { order: 0; }
  .method-trio, .lm-cities-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .score-panel { flex-direction: column; text-align: center; }
  .roadmap-row, .exclusion-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { height: 420px; }
  .lm-visual { height: 320px; }
  .entry-visual { height: 340px; }
  .founder-photo-frame { height: 380px; }
  .contact-visual { height: 240px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 68px 0; }
  .method-trio, .lm-cities-grid, .form-row-2, .roadmap-row, .deliverable-grid, .exclusion-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .partner-chip { padding: 14px 12px; font-size: 12.5px; }
  .hero { padding: 44px 0 0; }
  .hero-grid { padding-bottom: 56px; gap: 40px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .journey-card, .score-panel { grid-template-columns: 1fr; text-align: left; }
  .footer-top { flex-direction: column; gap: 22px; }
  .footer-links { flex-wrap: wrap; gap: 18px; }
  .download-banner { flex-direction: column; align-items: flex-start; }

  /* Image containers: shorter, content-aware crops on small screens */
  .hero-visual { height: 320px; }
  .hero-visual img { object-position: top center; }
  .lm-visual { height: 260px; }
  .lm-visual img { object-position: center 35%; }
  .entry-visual { height: 280px; }
  .entry-visual img { object-position: top center; }
  .founder-photo-frame { height: 320px; padding: 24px; }
  .founder-photo-frame img { object-position: top center; }
  .contact-visual { height: 200px; margin-top: 24px; }
  .contact-visual img { object-position: center 30%; }
}
@media (max-width: 430px) {
  .hero-visual { height: 280px; }
  .lm-visual { height: 230px; }
  .entry-visual { height: 250px; }
  .founder-photo-frame { height: 300px; }
  .contact-visual { height: 180px; }
  .partner-chip { padding: 12px 10px; font-size: 12px; }
}

/* ---------- Print (for proposal PDF export) ---------- */

@media print {
  body { background: white; }
  .no-print { display: none !important; }
  section { padding: 28px 0; break-inside: avoid; }
  .page-break { break-before: page; }
}

/* ============================================================
   KAPYDERM v2 — methodological depth additions
   ============================================================ */

/* Hero message strip */
.hero-message-strip {
  background: var(--white); border: 1.5px solid var(--gold); border-radius: var(--radius-sm);
  padding: 20px 26px; font-size: 14.5px; color: var(--navy); font-weight: 600; line-height: 1.6;
  max-width: 720px; margin-top: 28px;
}

/* 5-dimension module cards */
.dim-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.dim-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 26px; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
}
.dim-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
}
.dim-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.dim-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }

/* Methodology layers (A, B, C) */
.layer-stack { display: flex; flex-direction: column; gap: 16px; }
.layer-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; position: relative; border-left: 4px solid var(--gold);
}
.layer-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--gold-pale); color: #7A5E1A;
  font-weight: 800; font-size: 14px; margin-bottom: 14px;
}
.layer-card h4 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.layer-card .layer-tag { font-size: 12px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; display: block; }
.layer-card p.layer-desc { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.6; }
.layer-eval-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.layer-eval-item { font-size: 12.5px; color: var(--ink); display: flex; gap: 8px; align-items: flex-start; }
.layer-eval-item::before { content: "—"; color: var(--gold); flex-shrink: 0; }
.layer-threshold {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: var(--gold-pale); color: #7A5E1A; font-size: 12px; font-weight: 700;
  padding: 7px 15px; border-radius: 999px;
}

/* Stage detail blocks (etapa con objetivo + evaluaremos + entregable) */
.stage-detail { display: flex; flex-direction: column; gap: 18px; }
.stage-detail-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 34px;
}
.stage-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.stage-detail-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.stage-detail-head h4 { font-size: 19px; color: var(--navy); }
.stage-detail-obj { font-size: 13px; color: var(--ink-soft); font-style: italic; margin-bottom: 16px; padding-left: 58px; }
.stage-eval-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-left: 58px; margin-bottom: 16px; }
.stage-eval-item { font-size: 13px; color: var(--ink); display: flex; gap: 8px; align-items: flex-start; }
.stage-eval-item::before { content: "✓"; color: var(--gold); font-weight: 800; flex-shrink: 0; }
.stage-deliverable {
  padding-left: 58px; display: flex; gap: 10px; align-items: baseline;
}
.stage-deliverable .lbl { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0; }
.stage-deliverable p { font-size: 13px; color: var(--navy); font-weight: 600; }

/* Lead Fit Score dimensions on landing (lighter than full PDF) */
.lfs-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.lfs-row {
  display: grid; grid-template-columns: 2fr 50px 1fr; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px;
}
.lfs-row .lfs-name { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.lfs-row .lfs-weight { font-size: 15px; font-weight: 800; color: var(--gold); text-align: center; }
.lfs-row .lfs-desc { font-size: 12px; color: var(--ink-soft); }
.lfs-threshold-banner {
  background: var(--navy); border-radius: var(--radius-sm); padding: 18px 26px;
  display: flex; align-items: center; justify-content: space-between; margin-top: 16px; flex-wrap: wrap; gap: 12px;
}
.lfs-threshold-banner .txt { color: rgba(255,255,255,0.7); font-size: 13px; }
.lfs-threshold-banner .val { color: white; font-size: 20px; font-weight: 800; }
.lfs-threshold-banner .val .gold { color: var(--gold-light); }
.lfs-semaforo-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.lfs-sem-chip { font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 999px; }
.lfs-sem-go { background: #E3EFD8; color: #2E5C1F; }
.lfs-sem-revisar { background: var(--gold-pale); color: #7A5E1A; }
.lfs-sem-descartar { background: #F3DCDC; color: #8C3838; }

/* Role cards (Daniel / Rosario) */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.role-card .role-name { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.role-card .role-title { font-size: 12.5px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.role-resp-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.role-resp-list li { font-size: 13px; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.role-resp-list li::before { content: "—"; color: var(--gold); flex-shrink: 0; }
.role-message-band {
  background: var(--navy); border-radius: var(--radius-sm); padding: 20px 26px; margin-top: 20px;
  text-align: center; color: white; font-size: 14px; font-weight: 600; line-height: 1.6;
}
.role-message-band .gold { color: var(--gold-light); }

/* Methodology summary tags reused (framework-tag) already exist */

/* ============================================================
   RUTA — Lima/Málaga comparative dashboard (collapsible panel)
   ============================================================ */

.lm-compare-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; margin-bottom: 56px;
}
.lm-compare-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.lm-compare-title { font-size: 16px; font-weight: 700; color: var(--navy); }
.lm-compare-sources { font-size: 11px; color: var(--ink-faint); }

.lm-compare-citytags { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.lm-compare-citytag { border-radius: 10px; padding: 14px 16px; text-align: center; }
.lm-compare-citytag .lbl { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.lm-compare-citytag .sub { display: block; font-size: 11.5px; margin-top: 2px; }
.lm-compare-citytag.navy { background: var(--navy); }
.lm-compare-citytag.navy .lbl { color: var(--gold-light); }
.lm-compare-citytag.navy .sub { color: rgba(255,255,255,0.6); }
.lm-compare-citytag.gold { background: var(--gold); }
.lm-compare-citytag.gold .lbl, .lm-compare-citytag.gold .sub { color: var(--navy); }

.lm-compare-block { border-top: 0.5px solid var(--line); padding-top: 18px; margin-bottom: 18px; }
.lm-compare-block:first-of-type { border-top: none; padding-top: 0; }
.lm-compare-block-title { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }

.lm-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.lm-bar-label { width: 60px; font-size: 12.5px; color: var(--ink-soft); flex-shrink: 0; }
.lm-bar-track { flex: 1; background: var(--cream-deep); border-radius: 5px; height: 18px; overflow: hidden; }
.lm-bar-fill { height: 100%; border-radius: 5px; }
.lm-bar-fill.navy { background: var(--navy); }
.lm-bar-fill.gold { background: var(--gold); }
.lm-bar-value { width: 90px; font-size: 12.5px; font-weight: 700; color: var(--navy); text-align: right; flex-shrink: 0; }

.lm-compare-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.lm-compare-card { background: var(--cream); border-radius: 10px; padding: 16px; }
.lm-compare-card-label { display: block; font-size: 11.5px; color: var(--ink-soft); margin-bottom: 8px; }
.lm-compare-card-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.lm-compare-card-row .num { font-size: 19px; font-weight: 800; }
.lm-compare-card-row .num.navy { color: var(--navy); }
.lm-compare-card-row .num.gold { color: var(--gold); }
.lm-compare-card-row .tag { font-size: 11px; color: var(--ink-faint); }
.lm-compare-card-line { font-size: 14px; font-weight: 700; margin-top: 4px; }
.lm-compare-card-line.navy { color: var(--navy); }
.lm-compare-card-line.gold { color: var(--gold); }
.lm-compare-card-sub { font-size: 10.5px; color: var(--ink-faint); margin-bottom: 6px; }

.lm-rank-card { border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.lm-rank-card.navy { background: var(--navy); }
.lm-rank-card.gold { background: var(--gold); }
.lm-rank-card .rank-city { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.lm-rank-card.navy .rank-city { color: rgba(255,255,255,0.55); }
.lm-rank-card.gold .rank-city { color: rgba(10,29,73,0.6); }
.lm-rank-card .rank-main { font-size: 16px; font-weight: 800; }
.lm-rank-card.navy .rank-main { color: white; }
.lm-rank-card.gold .rank-main { color: var(--navy); }
.lm-rank-card .rank-sub { font-size: 11px; }
.lm-rank-card.navy .rank-sub { color: rgba(255,255,255,0.6); }
.lm-rank-card.gold .rank-sub { color: rgba(10,29,73,0.65); }

.lm-compare-footnote { font-size: 10.5px; color: var(--ink-faint); text-align: center; margin-top: 18px; }

@media (max-width: 640px) {
  .lm-compare-panel { padding: 24px 20px; margin-bottom: 40px; }
  .lm-compare-grid2 { grid-template-columns: 1fr; }
}

