/* ESMADA Air: estilos propios de la landing, acotados a .esmada para convivir con el header y footer de Parsion */

body.esmada-page { background: #F8F5F1; }

.esmada {
  --cream: #F8F5F1; --paper: #FFFFFF; --sand: #EFEAE3; --line: #E4DDD3;
  --ink: #2B2B2B; --muted: #6B6B6B; --sage: #688D68; --sage-d: #557555; --sage-l: #E6EEE4;
  --clay: #A17759; --amber: #C98B2B; --red: #B8503E;
  --r: 14px; --shadow: 0 4px 20px rgba(44, 44, 44, .06);
  --head: "Space Grotesk", system-ui, sans-serif; --body: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6;
}
.esmada * { margin: 0; padding: 0; }
.esmada .wrap { margin-inline: auto; padding-inline: var(--s2); }
@media (min-width: 768px) { .esmada .wrap { padding-inline: var(--s3); } }
.esmada img { max-width: 100%; display: block; }
.esmada a { color: inherit; }
.esmada :is(h1, h2, h3, h4) { font-family: var(--head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.esmada .head-font { font-family: var(--head); }
.esmada section { padding: 88px 0; }
.esmada .ea-band { background: var(--paper); border-block: 1px solid var(--line); }
.esmada .eyebrow { font-family: var(--head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.esmada .ea-lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.esmada .btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 500; font-size: 16px; padding: 13px 22px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, transform .2s; }
.esmada .btn:hover { transform: translateY(-1px); }
.esmada .btn-primary { background: var(--sage); color: var(--cream); }
.esmada .btn-primary:hover { background: var(--sage-d); }
.esmada .btn-ghost { border-color: var(--line); background: var(--paper); color: var(--ink); }
.esmada .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.esmada :focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

/* header propio de ESMADA Air (reutiliza la estructura y el JS del header de Parsion) */
.ea-header {
  --ea-ink: #2B2B2B; --ea-muted: #6B6B6B; --ea-sage: #688D68; --ea-sage-d: #557555; --ea-line: #E4DDD3;
  background: rgba(248, 245, 241, .94); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--ea-line);
  font-family: "Source Sans 3", system-ui, sans-serif;
}
.ea-header .wrap { gap: 20px; }
.ea-brand { gap: 10px; color: var(--ea-ink); font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.ea-brand:hover { color: var(--ea-ink); }
.ea-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--ea-sage); color: #F8F5F1; font-size: 15px; letter-spacing: 0; }
.ea-by { display: flex; align-items: center; gap: 8px; padding-left: 16px; border-left: 1px solid var(--ea-line); color: var(--ea-muted); font-size: 13px; text-decoration: none; white-space: nowrap; }
.ea-by img { height: 34px; width: auto; }
.ea-by:hover { color: var(--ea-ink); }
.ea-header .site-nav a { color: var(--ea-muted); font-weight: 400; font-size: 15px; padding-inline: 10px; }
.ea-header .site-nav a:hover { color: var(--ea-ink); }
.ea-header .site-nav a::after { left: 10px; right: 10px; background: var(--ea-sage); }
.ea-header .site-nav .ea-back { display: none; }
.ea-header .lang { border-color: var(--ea-line); }
.ea-header .lang a { color: var(--ea-ink); font-family: "Space Grotesk", system-ui, sans-serif; }
.ea-header .lang a:hover { background: #EFEAE3; }
.ea-header .lang a[aria-current="true"] { background: var(--ea-sage); color: #F8F5F1; }
.ea-header .nav-toggle { color: var(--ea-ink); }
.ea-cta { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 12px; background: var(--ea-sage); color: #F8F5F1; font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 500; font-size: 14px; text-decoration: none; white-space: nowrap; }
.ea-cta:hover { background: var(--ea-sage-d); color: #F8F5F1; }
.ea-header :focus-visible { outline-color: var(--ea-sage); }
@media (max-width: 1239px) { .ea-by span { display: none; } }
@media (max-width: 1139px) { .ea-cta { display: none; } }
@media (max-width: 959px) {
  .ea-header .site-nav .ea-back { display: list-item; }
  .ea-header .site-nav { background: #F8F5F1; }
  .ea-header .site-nav a { font-size: 16px; }
  .ea-by { display: none; }
  .ea-header .wrap { gap: 8px; }
}
@media (max-width: 420px) {
  .ea-brand { gap: 8px; font-size: 15px; letter-spacing: .05em; }
  .ea-mark { width: 28px; height: 28px; font-size: 14px; }
}
@media (max-width: 360px) {
  .ea-header .wrap { gap: 4px; }
  .ea-brand { font-size: 14px; letter-spacing: .03em; }
  .ea-header .lang a { min-width: 30px; padding-inline: 3px; }
  .ea-header .nav-toggle { margin-left: 0; }
}
.esmada section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* hero */
.ea-hero { padding: 64px 0 88px !important; }
.ea-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.ea-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }
.ea-hero h1 em { font-style: normal; color: var(--sage); }
.ea-hero .ea-lead { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }
.esmada .badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; font-size: 14px; }
.esmada .badge img { height: 20px; width: auto; }
.esmada .stage { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #FFF3D9; border: 1px solid #F0D59C; color: #7A4F0F; font-family: var(--head); font-size: 13px; font-weight: 500; }
.stage-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.img-note { position: absolute; right: 16px; bottom: 16px; padding: 3px 10px; border-radius: 999px; background: rgba(43, 43, 43, .55); color: #FFFFFF; font-size: 12px; }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.2; background: linear-gradient(170deg, #9FB9C6 0%, #C9D6D8 55%, #E9DCCB 100%); box-shadow: 0 18px 50px rgba(43, 43, 43, .14); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); font-size: 14px; }
.float .k { font-family: var(--head); font-size: 22px; font-weight: 600; }
.float.a { left: 16px; bottom: 16px; }
.float.b { right: 16px; top: 16px; display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(201, 139, 43, .2); }
.esmada .tiny { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .ea-hero-grid { grid-template-columns: 1fr; } .ea-hero { padding-top: 40px !important; } }

/* grillas */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3, .grid4 { grid-template-columns: 1fr; } }
.ea-head { margin-bottom: 44px; }
.ea-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 12px; max-width: 760px; }
.pcard, .acard { padding: 26px; }
.pcard h3, .acard h3 { font-size: 19px; margin: 14px 0 8px; }
.pcard p, .acard p { color: var(--muted); font-size: 16px; }
.ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--sand); color: var(--clay); }
.ico.s { background: var(--sage-l); color: var(--sage-d); }
.ico svg { width: 22px; height: 22px; }

/* comparación convencional vs. ESMADA Air */
.compare-title { font-size: 22px; margin-bottom: 20px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.compare figure { overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.compare img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.compare-old img { object-fit: contain; background: #F2F2F2; filter: grayscale(.35); }
.compare figcaption { padding: 20px 22px 22px; color: var(--muted); font-size: 16px; }
.compare figcaption b { display: block; margin-bottom: 6px; font-family: var(--head); font-size: 18px; color: var(--ink); }
.compare-new { border-color: var(--sage) !important; box-shadow: 0 0 0 1px var(--sage), var(--shadow) !important; }
.compare-new figcaption b { color: var(--sage-d); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* flujo */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; position: relative; }
.step { padding: 22px; position: relative; }
.step .n { font-family: var(--head); font-size: 13px; color: var(--sage-d); background: var(--sage-l); display: inline-block; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 16px; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 34px; width: 16px; height: 16px; border-top: 2px solid var(--sage); border-right: 2px solid var(--sage); transform: rotate(45deg); opacity: .6; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } }

/* panel demo */
.dash-wrap { background: var(--ink); border-radius: 22px; padding: 14px; box-shadow: 0 24px 60px rgba(43, 43, 43, .25); }
.dash { background: #F4F2EE; border-radius: 14px; overflow: hidden; }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 14px; gap: 10px; flex-wrap: wrap; }
.demo-tag { background: #FFF3D9; color: #8A5A12; border: 1px solid #F0D59C; font-family: var(--head); font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.live { display: flex; align-items: center; gap: 6px; color: var(--sage-d); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.dash-body { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; padding: 14px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.panel h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.stations { display: grid; gap: 8px; }
.st { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.st b { font-family: var(--head); }
.pill { font-size: 12px; padding: 2px 9px; border-radius: 999px; font-family: var(--head); }
.ok { background: var(--sage-l); color: var(--sage-d); } .mid { background: #FBEBCF; color: #8A5A12; } .hi { background: #F6DAD4; color: #8E3526; }
.esmada .alert { margin-top: 12px; border-left: 3px solid var(--red); background: #FBEFEC; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.esmada .alert b { font-family: var(--head); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 14px 14px 0; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi .v { font-family: var(--head); font-size: 24px; font-weight: 600; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 6px; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: var(--c); }
@media (max-width: 900px) { .dash-body { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; } }
.dash-maprow { padding-bottom: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.panel-head h4 { margin: 0; }
.wind-pick { display: flex; align-items: center; gap: 8px; font-size: 13px !important; font-weight: 600; color: var(--muted); }
.esmada .wind-pick select { padding: 5px 8px; font-size: 14px; border-radius: 8px; background: var(--paper); cursor: pointer; }
#ea-map { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #EFEBE2; }
#ea-rose { width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.map-label { font-family: var(--body); font-size: 12px; fill: #3B3B3B; paint-order: stroke; stroke: rgba(247, 244, 238, .92); stroke-width: 3px; stroke-linejoin: round; }
.rose-ring { font-family: var(--body); font-size: 10px; fill: #8A8A8A; }
.rose-dir { font-family: var(--head); font-size: 13px; font-weight: 600; fill: #2B2B2B; }
.rose-hit { cursor: pointer; }
.rose-hit:hover { fill: rgba(104, 141, 104, .08); }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0 6px; font-size: 13px; color: var(--muted); }
.map-legend .ml-title { font-weight: 600; color: var(--ink); }
.map-legend .sw::before { content: ""; display: inline-block; width: 16px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; background: var(--c); border: 1px solid rgba(0, 0, 0, .12); }
.rose-panel { display: flex; flex-direction: column; }
.rose-panel #ea-rose { margin-block: auto; }
.rose-panel .map-legend { justify-content: center; }
.rose-panel .tiny { text-align: center; }

/* hoja de ruta (etapa del proyecto) */
.roadmap { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.roadmap li { position: relative; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.roadmap li.is-current { border-color: var(--sage); box-shadow: 0 0 0 1px var(--sage), var(--shadow); }
.roadmap .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--muted); font-family: var(--head); font-weight: 600; margin-bottom: 12px; }
.roadmap .is-current .n { background: var(--sage); color: var(--cream); }
.roadmap .now { position: absolute; top: 24px; right: 20px; padding: 3px 10px; border-radius: 999px; background: var(--sage-l); color: var(--sage-d); font-family: var(--head); font-size: 12px; }
.roadmap h3 { font-size: 19px; margin-bottom: 6px; }
.roadmap p { color: var(--muted); font-size: 16px; }
@media (max-width: 800px) { .roadmap { grid-template-columns: 1fr; } }

/* fundador */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: start; padding: 34px; }
.founder img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid var(--sage-l); }
.founder h3 { font-size: 24px; }
.founder .role { color: var(--clay); font-family: var(--head); font-size: 15px; margin: 4px 0 14px; }
.founder p { color: #444; margin-bottom: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.fact { background: var(--sand); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.fact b { font-family: var(--head); }
.links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.esmada .links a { color: var(--sage-d); font-weight: 600; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; padding: 24px; } }

/* formulario */
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.cta-grid > * { min-width: 0; }
.esmada select { max-width: 100%; }
.cta-grid h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-grid .ea-lead { margin-bottom: 18px; }
.esmada form { padding: 28px; display: grid; gap: 14px; }
.esmada label { font-size: 14px; font-weight: 600; display: grid; gap: 6px; }
.esmada :is(input, select, textarea) { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); }
.esmada :is(input, select, textarea):focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.esmada .check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.esmada .check input { width: 18px; height: 18px; }
.esmada .hidden { display: none; }
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

.ea-strip { padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ea-strip .wrap { display: block; }
.ea-strip b { font-family: var(--head); color: var(--ink); }

/* página de gracias */
.ea-thanks { padding: 120px 0 !important; }
.ea-thanks .card { max-width: 560px; margin-inline: auto; padding: 40px; text-align: center; }
.ea-thanks h1 { font-size: 30px; margin-bottom: 12px; }
.ea-thanks .ea-lead { margin: 0 auto 24px; }
