/* Alantus SpA — estilos compartidos (index.html y eolica/index.html) */

/* ── RESET & TOKENS ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #132B45;
  --steel: #2E6F9E;
  --steel-dark: #1B5A8A;
  --sky:   #9CC2DC;

  --white: #FFFFFF;
  --gray:  #F4F6F8;
  --card-light: #F7F9FB;

  --border:  #E3E7EB;
  --border-input: #D5DCE3;
  --icon-bg: #EFF5FA;
  --icon-border: #C9DDEC;

  --text:   #4A535E;
  --list:   #2F3A46;
  --muted:  #6B6E76;

  --red:    #EF4444;
  --orange: #F97316;
  --yellow: #EAB308;
  --green:  #22C55E;

  --font-title: 'Fira Sans', system-ui, sans-serif;
  --font-body:  'Spline Sans', system-ui, sans-serif;
  --font-mono:  'IBM Plex Mono', ui-monospace, monospace;

  --nav-h: 72px;
  --t: .22s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--steel); }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex-shrink: 0; display: block; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.sec-white { background: var(--white); --card-bg: var(--card-light); }
.sec-gray  { background: var(--gray);  --card-bg: var(--white); }

.label {
  display: block; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em; color: var(--steel);
}
h1, h2, h3 { font-family: var(--font-title); color: var(--navy); }
h2 {
  font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1.18;
  margin-bottom: 16px;
}
.lead { font-size: 17px; max-width: 620px; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .lead { margin: 0 auto; }

.fade-up {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── BOTONES ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 24px; border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background var(--t), border-color var(--t), transform var(--t), color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--steel-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--icon-bg); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--steel-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border-input); }
.btn-outline:hover { border-color: var(--steel); color: var(--steel); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--steel); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(19,43,69,.1); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 8px 24px; min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nav-logo { display: block; flex-shrink: 0; }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-back {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.nav-back:hover { color: var(--steel); }
.nav-brand .chip { white-space: nowrap; }
.nav-sep { width: 1px; height: 28px; background: var(--border-input); flex-shrink: 0; }
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1.4;
  color: var(--list); background: #fff;
  border: 1px solid var(--border-input); border-radius: 4px; padding: 3px 8px;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 600;
  transition: color var(--t);
}
.nav-links a:hover { color: var(--steel); }
.nav-right { display: flex; align-items: center; gap: 32px; }
.btn-nav { min-height: 44px; padding: 0 20px; font-size: 14px; background: var(--navy); color: #fff; white-space: nowrap; }
.btn-nav:hover { background: var(--steel-dark); }

.hamburger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; flex-shrink: 0;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

#mobileMenu {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: rgba(10,22,36,.97); backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  overflow-y: auto; padding: 72px 24px 32px;
}
#mobileMenu.open { display: flex; }
#mobileMenu a {
  color: #fff; text-decoration: none; font-family: var(--font-title);
  font-size: 22px; font-weight: 600; transition: color var(--t);
}
#mobileMenu a:hover { color: var(--sky); }
.mob-close {
  position: absolute; top: 14px; right: 18px; width: 44px; height: 44px;
  background: none; border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mob-close .ico { width: 24px; height: 24px; }

/* ── ZONAS OSCURAS ──────────────────────────────────────── */
.dark-photo { position: relative; overflow: hidden; color: #fff; }
.bg-photo {
  position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.overlay-hero { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, rgba(10,22,36,.88) 0%, rgba(10,22,36,.5) 55%, rgba(10,22,36,.72) 100%); }
.overlay-contact { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,22,36,.82), rgba(10,22,36,.7)); }
.dark-photo > .container { position: relative; z-index: 2; }

/* ── HERO ───────────────────────────────────────────────── */
#hero { min-height: 100vh; display: flex; align-items: center; }
#hero > .container { width: 100%; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em; color: var(--sky);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px; padding: 6px 14px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
h1 {
  font-size: clamp(40px, 5.6vw, 72px); font-weight: 700; line-height: 1.06;
  color: #fff; margin-bottom: 24px;
}
.hero-sub { font-size: 17px; color: rgba(255,255,255,.84); max-width: 560px; margin-bottom: 36px; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 24px 40px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2);
}
.hstat-val { font-family: var(--font-mono); font-size: 24px; font-weight: 500; color: #fff; line-height: 1.1; white-space: nowrap; }
.hstat-val em { color: var(--sky); font-style: normal; }
.hstat-lbl { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.75); margin-top: 6px; max-width: 150px; }

/* ── PANEL (tarjeta de ejemplo) ─────────────────────────── */
.panel {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  color: var(--text);
}
.on-dark .panel, .panel.on-dark { box-shadow: 0 18px 48px rgba(4,12,22,.35); }
.panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted);
}
.panel-body { padding: 8px 20px; }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--card-light); font-size: 13px; line-height: 1.55; color: var(--muted); }
.op-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.op-row:last-child { border-bottom: none; }
.op-txt { flex: 1; min-width: 0; }
.op-title { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.op-detail { font-size: 13px; color: var(--muted); line-height: 1.45; }

.icon-box {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  background: var(--icon-bg); border: 1px solid var(--icon-border); color: var(--steel);
  display: flex; align-items: center; justify-content: center;
}
.icon-box.sm { width: 38px; height: 38px; border-radius: 9px; }
.icon-box.sm .ico { width: 18px; height: 18px; }

.pill {
  display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1.4;
  padding: 3px 9px; border-radius: 4px; border: 1px solid;
}
.pill.red    { color: #B91C1C; background: #FEF2F2; border-color: #FECACA; }
.pill.orange { color: #C2410C; background: #FFF4ED; border-color: #FED7AA; }
.pill.green  { color: #15803D; background: #F0FDF4; border-color: #BBF7D0; }
.pill.blue   { color: #1B5A8A; background: #EFF5FA; border-color: #C9DDEC; }

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.dot.red { background: var(--red); } .dot.orange { background: var(--orange); }
.dot.yellow { background: var(--yellow); } .dot.green { background: var(--green); }

/* ranking */
.rank-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.rank-row:last-child { border-bottom: none; }
.rank-wtg { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--navy); width: 64px; flex-shrink: 0; }
.rank-comp { font-family: var(--font-mono); font-size: 12px; color: var(--muted); width: 34px; flex-shrink: 0; }
.rank-act { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--list); }

/* ── TARJETAS ───────────────────────────────────────────── */
.card {
  background: var(--card-bg, var(--card-light)); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px;
}
.card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 20px 0 10px; }
.card p { font-size: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* servicios */
.svc { display: flex; flex-direction: column; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-num { font-family: var(--font-mono); font-size: 28px; font-weight: 500; line-height: 1; color: var(--sky); }
.svc p { margin-bottom: 20px; }
.svc .chips { margin-top: auto; }
.svc .link-arrow { margin-top: 18px; font-size: 15px; }

/* soluciones */
.sol { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sol-visual { background: var(--card-light); border-bottom: 1px solid var(--border); min-height: 196px; padding: 14px 18px 18px; display: flex; flex-direction: column; }
.sol-visual-head {
  display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.sol-visual-body { flex: 1; display: flex; align-items: center; }
.sol-text { padding: 24px 28px 28px; }
.sol-text .chip { margin-bottom: 14px; }
.sol-text h3 { margin: 0 0 12px; }
.sol-text p { margin-bottom: 8px; }
.sol-text p:last-child { margin-bottom: 0; }
.sol-text b { color: var(--navy); font-weight: 700; }

.bars { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.bar { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--list); }
.bar-rail { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--steel); border-radius: 4px; }

.log { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.log-row { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: var(--list); overflow-wrap: anywhere; }

.fleet { width: 100%; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; align-items: center; }
.minimap {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 130px; border-radius: 8px; border: 1px solid var(--border);
  background-color: #EAF0F5;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 26px 26px;
}
.minimap i { position: absolute; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(19,43,69,.3); }
.fleet-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fleet-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--list); }
.fleet-list .dot { margin-top: 5px; width: 9px; height: 9px; }

.proposal { width: 100%; display: flex; align-items: center; gap: 22px; }
.a4 { width: 92px; height: 130px; flex-shrink: 0; background: #fff; border: 1px solid var(--border-input); border-radius: 3px; padding: 10px 9px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 2px 6px rgba(19,43,69,.08); }
.a4 span { display: block; height: 4px; border-radius: 2px; background: var(--border); }
.a4 .a4-title { height: 8px; width: 70%; background: var(--navy); margin-bottom: 4px; }
.a4 .a4-short { width: 60%; }
.a4 .a4-foot { margin-top: auto; height: 6px; background: var(--navy); }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--list); }
.checks .ico { width: 16px; height: 16px; color: #15803D; margin-top: 1px; }

.strip {
  margin-top: 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
}
.strip p { color: var(--list); font-size: 16px; }
.strip strong { color: var(--navy); }

/* proceso / capacidad */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.p-top img { object-position: center 35%; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.steps li { display: flex; gap: 20px; }
.step-num { font-family: var(--font-mono); font-size: 20px; font-weight: 500; color: var(--steel); width: 36px; flex-shrink: 0; line-height: 1.4; }
.steps h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.steps p { font-size: 15px; }
.tick-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--list); }
.tick-list .ico { width: 18px; height: 18px; color: var(--steel); margin-top: 4px; }

/* banda eólica */
.band { background: var(--navy); color: #fff; }
.band .label { color: var(--sky); }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 520px; margin-bottom: 28px; }

/* equipo */
.person h3 { margin: 0 0 4px; font-size: 24px; }
.role { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--steel); margin-bottom: 16px; }
.person p { margin-bottom: 18px; }
.person .link-arrow { gap: 8px; }
.person .link-arrow .ico { width: 18px; height: 18px; }

/* faq */
.faq-card h3 { margin: 0 0 10px; font-size: 18px; }

/* tablas */
.table-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.table-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--card-light); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; padding: 12px 24px; border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
td { padding: 14px 24px; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: middle; color: var(--list); }
tbody tr:last-child td { border-bottom: none; }
.t-mono { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.t-wtg { white-space: nowrap; font-family: var(--font-mono); font-weight: 500; color: var(--navy); }
.t-comp { font-weight: 600; color: var(--navy); }
.t-cost { font-family: var(--font-mono); font-weight: 500; color: #B91C1C; }
.t-prev { font-family: var(--font-mono); font-weight: 500; color: #15803D; }
.dots { display: flex; gap: 6px; }
.table-foot { padding: 12px 24px; border-top: 1px solid var(--border); background: var(--card-light); font-size: 13px; color: var(--muted); }
.report { max-width: 780px; margin: 0 auto 40px; }

.callout {
  margin-top: 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 32px; text-align: center;
}
.callout p { font-family: var(--font-title); font-size: 20px; font-weight: 500; color: var(--navy); line-height: 1.4; }
.callout small { display: block; margin: 8px 0 16px; font-size: 13px; color: var(--muted); }

/* planes */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; }
.plan.featured { border: 2px solid var(--steel); padding: 35px 31px 31px; }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--steel); color: #fff; white-space: nowrap;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em;
  padding: 4px 12px; border-radius: 4px;
}
.plan-name { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--steel); margin-bottom: 14px; }
.plan-phrase { font-family: var(--font-title); font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
.plan-quote { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.plan hr { border: 0; height: 1px; background: var(--border); margin: 24px 0; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 28px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--list); }
.plan-feats .ico { width: 18px; height: 18px; color: var(--steel); margin-top: 4px; }
.plan-feats li.off { color: var(--muted); }
.plan-feats li.off .ico { color: var(--muted); }
.plans-note { text-align: center; margin-top: 32px; font-size: 15px; color: var(--text); }
.plans-note a { font-weight: 600; text-underline-offset: 3px; }

/* ── CONTACTO ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.contact-copy .label { color: var(--sky); }
.contact-copy h2 { color: #fff; }
.contact-copy .lead { color: rgba(255,255,255,.85); }
.contact-rows { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 32px 0; }
.contact-rows li { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 16px; }
.contact-rows .ico { color: var(--sky); width: 22px; height: 22px; }
.contact-rows a { color: #fff; text-decoration: none; }
.contact-rows a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form-card { background: #fff; border-radius: 14px; padding: 36px; box-shadow: 0 18px 48px rgba(4,12,22,.35); color: var(--text); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; background: #fff;
  border: 1px solid var(--border-input); border-radius: 8px;
  font-family: var(--font-body); font-size: 16px; color: var(--list);
  transition: border-color var(--t), box-shadow var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(46,111,158,.2);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23132B45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.form-note .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--steel); }
#form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 14px; text-align: center; border: 1px solid; }
#form-msg.ok  { display: block; color: #15803D; background: #F0FDF4; border-color: #BBF7D0; }
#form-msg.err { display: block; color: #B91C1C; background: #FEF2F2; border-color: #FECACA; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.ft-grid.three { grid-template-columns: 1.6fr 1fr 1fr; }
.ft-logo { display: inline-block; background: #fff; border-radius: 6px; padding: 4px 10px; margin-bottom: 16px; }
.ft-logo img { height: 40px; width: auto; display: block; }
.ft-desc { font-size: 14px; line-height: 1.7; max-width: 300px; }
.ft-social {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: 16px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #fff; transition: background var(--t), border-color var(--t);
}
.ft-social:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.ft-title { margin-bottom: 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; color: var(--sky); }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-links a { font-size: 14px; color: rgba(255,255,255,.78); text-decoration: none; transition: color var(--t); }
.ft-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-back { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; }
.ft-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-bottom {
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.7);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .nav-right { gap: 22px; }
}
@media (min-width: 1024px) {
  .plan-phrase { min-height: 64px; }
}
@media (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 960px) {
  .nav-links, .btn-nav { display: none; }
  .nav-right { gap: 0; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  #hero { min-height: 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .photo.first-m { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .ft-grid, .ft-grid.three { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ft-grid > :first-child { grid-column: 1 / -1; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* tabla de impacto apilada */
  .stack thead { display: none; }
  .stack, .stack tbody, .stack tr, .stack td { display: block; width: 100%; }
  .stack tr { padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .stack tbody tr:last-child { border-bottom: none; }
  .stack td { border: none; padding: 5px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; align-items: center; }
  .stack td::before { content: attr(data-label); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: left; flex-shrink: 0; max-width: 45%; }
  .stack td.t-comp { font-size: 16px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .sol { padding: 0; }
  .sec-head { margin-bottom: 40px; }
  .hero-actions { margin-bottom: 40px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .hstat-val { white-space: normal; }
  .nav-inner { gap: 12px; }
  .nav-brand { gap: 10px; }
  .nav-logo img { height: 40px; }
  .nav-sep { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 20px; }
  .strip { padding: 20px; }
  .callout { padding: 24px 20px; }
  .ft-grid, .ft-grid.three { grid-template-columns: 1fr; }
  .ft-bottom { flex-direction: column; }
  .panel-head, .panel-body, .panel-foot { padding-left: 16px; padding-right: 16px; }
  .col-evo, .col-pos { display: none; }
  th, td { padding-left: 14px; padding-right: 14px; }
  .table-head, .table-foot { padding-left: 14px; padding-right: 14px; }
  .report .pill { white-space: normal; }
  .fleet { grid-template-columns: 1fr; }
  .minimap { max-width: 100%; aspect-ratio: 2.2; }
}
@media (max-width: 420px) {
  .nav-back { font-size: 13px; }
  .nav-brand { gap: 8px; }
  .nav-brand .chip { font-size: 10px; padding: 2px 6px; }
}
