/* =========================================================
   MLA Servicios — estilos
   Paleta: azul marino de marca + ámbar alta visibilidad
   ========================================================= */
:root {
  --navy-950: #070b26;
  --navy-900: #0b1033;
  --navy-800: #121a4a;
  --navy-700: #1d2763;
  --navy-line: rgba(255, 255, 255, .12);

  --amber: #f2a531;
  --amber-600: #d98b14;
  --amber-100: #fdf0d9;

  --red: #e0342b;
  --red-600: #c12820;

  --paper: #f6f4ef;
  --white: #ffffff;
  --ink: #141833;
  --muted: #565b78;
  --line: #e2ded3;

  --on-dark: #eef0fa;
  --on-dark-muted: #b9bedc;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(11, 16, 51, .06), 0 8px 24px rgba(11, 16, 51, .08);
  --wrap: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 52px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--amber); color: var(--navy-900); padding: 8px 14px; font-weight: 600; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .9em;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: currentColor; }
.eyebrow.dark { color: var(--amber-600); }
.eyebrow.red { color: var(--red); }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: inherit; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  font: 600 .98rem/1 var(--font);
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd);
  border-radius: var(--radius);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { --bg: var(--amber); --fg: var(--navy-900); --bd: var(--amber); }
.btn-primary:hover { --bg: #ffb846; --bd: #ffb846; }
.btn-ghost { --fg: var(--white); --bd: rgba(255,255,255,.35); }
.btn-ghost:hover { --bd: var(--white); }
.btn-sae { --bg: var(--red); --fg: #fff; --bd: var(--red); }
.btn-sae:hover { --bg: var(--red-600); --bd: var(--red-600); }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #fff; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-line);
  color: var(--on-dark);
}
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; padding-left: 12px; border-left: 1px solid var(--navy-line); }
.brand-name { font: 700 1.45rem/1 var(--display); color: var(--white); letter-spacing: .02em; text-transform: uppercase; }
.brand-tag { font-size: .78rem; color: var(--on-dark-muted); margin-top: 3px; }

/* Barra superior */
.topbar { background: var(--navy-950); border-bottom: 1px solid var(--navy-line); font-size: .85rem; }
.topbar-row { display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-height: 36px; }
.topbar a { color: var(--on-dark-muted); text-decoration: none; }
.topbar a:hover { color: var(--white); }
@media (max-width: 1100px) { .topbar { display: none; } }

/* Redes sociales */
.social { display: flex; align-items: center; gap: 4px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius); color: var(--on-dark-muted); transition: color .15s, background-color .15s; }
.social a:hover { color: var(--navy-900); background: var(--amber); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar .social a { width: 32px; height: 32px; }
.topbar .social svg { width: 16px; height: 16px; }
.nav-social { display: none; }
.contact-list .social { margin-left: -9px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; white-space: nowrap; padding: 8px 11px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--on-dark-muted); border-radius: var(--radius); }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--white); }
.main-nav a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--navy-line); border-radius: var(--radius); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .hide-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--navy-900); border-bottom: 1px solid var(--navy-line);
    padding: 8px 16px 20px; display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--navy-line); border-radius: 0; }
  .main-nav .nav-social { display: flex; padding-top: 12px; }
  .main-nav .nav-social a { width: 44px; height: 44px; border-bottom: 0; padding: 0; border-radius: var(--radius); }
}
@media (max-width: 1260px) and (min-width: 1101px) {
  .brand-tag { display: none; }
  .main-nav a { padding: 8px 8px; }
  .header-row { gap: 16px; }
}
@media (max-width: 480px) {
  .brand-tag { display: none; }
  .brand img { height: 34px; }
  .brand-text { padding-left: 10px; }
  .brand-name { font-size: 1.15rem; }
  .brand { gap: 10px; }
}
@media (max-width: 440px) { .sae-long { display: none; } }
@media (max-width: 340px) { .brand img { display: none; } .brand-text { border-left: 0; padding-left: 0; } }
@media (max-width: 420px) {
  .btn-sae .label-long { display: none; }
  .header-actions .btn-sae { padding: 0 12px; font-size: .9rem; }
  .brand img { height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(242,165,49,.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--on-dark);
  padding: 72px 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .hl { color: var(--amber); }
.lead { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 30px 60px rgba(0,0,0,.35); position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 22% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.12); border-radius: inherit; pointer-events: none; }

/* Slider de portada (hasta 4 fotos, 4:3) */
.hero-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px rgba(0,0,0,.35); background: var(--navy-800); }
.hero-slider::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.12); border-radius: inherit; pointer-events: none; z-index: 3; }
.hero-slider .slides { position: absolute; inset: 0; }
.hero-slider .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slider .slide.is-active { opacity: 1; z-index: 1; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slider .slide.is-active img { transform: scale(1); }
.slider-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 40px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(7,11,38,.6));
}
.slider-dots { display: flex; gap: 2px; }
.slider-dots button { width: 32px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.slider-dots span { display: block; width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.45); overflow: hidden; position: relative; }
.slider-dots button:hover span { background: rgba(255,255,255,.7); }
.slider-dots button[aria-pressed="true"] span { background: rgba(255,255,255,.35); }
.slider-dots button[aria-pressed="true"] span::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform-origin: left; animation: slide-progress var(--slide-ms, 6000ms) linear forwards; }
.hero-slider.paused .slider-dots button[aria-pressed="true"] span::after { animation: none; transform: none; }
@keyframes slide-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-pause { width: 32px; height: 32px; display: grid; place-items: center; background: rgba(7,11,38,.5); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; cursor: pointer; color: #fff; padding: 0; }
.slider-pause svg { width: 14px; height: 14px; fill: currentColor; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-pause .i-play, .hero-slider.paused .slider-pause .i-pause { display: none; }
.hero-slider.paused .slider-pause .i-play { display: block; }
.slider-pause:hover { background: rgba(7,11,38,.8); }
@media (max-width: 900px) { .hero-slider { aspect-ratio: 4 / 3; } }

.stats {
  margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--navy-line);
}
.stats > div { padding: 28px 24px 32px; border-left: 1px solid var(--navy-line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-size: .9rem; color: var(--on-dark-muted); order: 2; }
.stats dd { margin: 0 0 4px; font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--display); color: var(--white); }
.stats dd .acc { color: var(--amber); }
.stats dd .num { font-variant-numeric: tabular-nums; }

/* Animación de la barra de cifras */
.stats { position: relative; }
.stats::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--amber), rgba(242,165,49,0));
  transform: scaleX(0); transform-origin: left;
}
.stats.is-animated > div { opacity: 0; transform: translateY(14px); }
.stats.is-animated.in::before { transform: scaleX(1); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.stats.is-animated.in > div { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.stats.is-animated.in > div:nth-child(2) { transition-delay: .12s; }
.stats.is-animated.in > div:nth-child(3) { transition-delay: .24s; }
.stats.is-animated.in > div:nth-child(4) { transition-delay: .36s; }
.stats .acc { display: inline-block; }
.stats.done .acc { animation: pop .5s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .stats > div { padding: 20px 16px; }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
}

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section.paper { background: var(--paper); }
.section.navy { background: var(--navy-900); color: var(--on-dark); }
.section.navy h2, .section.navy h3 { color: var(--white); }
.muted-light { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.navy .section-head p:last-child { color: var(--on-dark-muted); }
@media (max-width: 700px) { .section { padding: 72px 0; } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split-wide { grid-template-columns: .8fr 1.2fr; align-items: start; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; gap: 40px; } }

/* Nosotros */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.mv article { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: var(--radius); padding: 20px 22px; }
.mv h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4em; }
.mv p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 560px) { .mv { grid-template-columns: 1fr; } }

.photo-frame { margin: 0; position: relative; justify-self: end; max-width: 440px; }
.photo-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo-frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--amber); border-radius: var(--radius-lg); z-index: -1; }
.photo-frame figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--navy-900); color: var(--white); font-size: .85rem; padding: 6px 12px; border-radius: var(--radius); }
@media (max-width: 900px) { .photo-frame { justify-self: start; } .photo-frame::before { inset: 16px -12px -12px 16px; } }

/* Sectores */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.sector { background: var(--white); padding: 32px 28px 36px; transition: background-color .2s; }
.sector:hover { background: var(--amber-100); }
.sector svg { width: 40px; height: 40px; fill: none; stroke: var(--navy-800); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.sector p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }

/* Tabs */
.tabs { background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); overflow: hidden; }
.tab-list { display: flex; border-bottom: 1px solid var(--navy-line); overflow-x: auto; scrollbar-width: none; }
.tab-list button {
  flex: 1 0 auto; min-height: 56px; padding: 0 22px;
  background: none; border: 0; border-bottom: 3px solid transparent;
  color: var(--on-dark-muted); font: 600 1.1rem var(--display); letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.tab-list button:hover { color: var(--white); }
.tab-list button[aria-selected="true"] { color: var(--white); border-bottom-color: var(--amber); background: rgba(255,255,255,.03); }
.tab-panel { padding: 28px 32px 32px; }
@media (max-width: 600px) { .tab-panel { padding: 20px; } }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--navy-line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1033' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; }
.step-n { display: block; font: 700 3.5rem/1 var(--display); color: var(--amber); margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Seguridad */
.photo-wide { margin: 0; }
.photo-wide img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 40% center; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; }
.feature-list li { padding: 14px 0 14px 20px; border-left: 3px solid var(--line); margin-bottom: 4px; color: var(--muted); }
.feature-list li:hover { border-left-color: var(--amber); }
.feature-list strong { color: var(--ink); display: block; font-weight: 600; }

/* Cobertura */
.coverage {
  background:
    radial-gradient(600px 400px at 20% 60%, rgba(242,165,49,.08), transparent 70%),
    var(--navy-900);
}
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.map-card { background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); padding: 16px; }
.map { width: 100%; height: auto; display: block; }
.map .coast { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 4 5; }
.map .land { fill: rgba(255,255,255,.03); }
.map .lat { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.map .lat-label, .map .ocean { fill: rgba(255,255,255,.35); font: 500 11px var(--font); }
.map .ocean { font-style: italic; letter-spacing: .1em; }
.map .region-label { fill: rgba(255,255,255,.5); font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.map .pin circle.dot { fill: var(--amber); stroke: var(--navy-900); stroke-width: 2; transition: r .15s; }
.map .pin circle.halo { fill: var(--amber); opacity: 0; transition: opacity .2s; }
.map .pin text { fill: var(--white); font: 500 12px var(--font); opacity: .85; }
.map .pin.dim { opacity: .2; }
.map .pin.active circle.halo { opacity: .25; }
.map .pin.active text { opacity: 1; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--navy-line); background: transparent; color: var(--on-dark-muted); font: 500 .95rem var(--font); cursor: pointer; }
.chip:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--navy-900); font-weight: 600; }

.branches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.branches button {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  min-height: 52px; padding: 10px 16px; background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: var(--radius);
  color: var(--white); font: 500 1rem var(--font); cursor: pointer;
}
.branches button small { color: var(--on-dark-muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.branches button:hover, .branches button[aria-pressed="true"] { border-color: var(--amber); }
.branches button[aria-pressed="true"] { background: rgba(242,165,49,.1); }
.branch-count { margin-top: 16px; color: var(--on-dark-muted); font-size: .95rem; }
@media (max-width: 900px) { .coverage-grid { grid-template-columns: 1fr; } .map-card { max-width: 480px; } }
@media (max-width: 420px) { .branches { grid-template-columns: 1fr; } }

/* Clientes */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; }
.client-kind { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-600); font-weight: 600; margin-bottom: .4em; }
.client h3 { font-size: 1.7rem; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.client ul { list-style: none; margin: 0; padding: 0; }
.client li { font-size: .95rem; color: var(--muted); padding: 5px 0 5px 16px; position: relative; }
.client li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; background: var(--amber); }
@media (max-width: 1000px) { .clients { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .clients { grid-template-columns: 1fr; } }

/* Formularios */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); color: var(--ink); }
@media (max-width: 560px) { .card { padding: 20px; } }
.form .field { margin-bottom: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; gap: 0; } }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: 400 1rem var(--font); color: var(--ink);
  background: var(--white); border: 1px solid #cfcbbf; border-radius: var(--radius);
}
.form textarea { resize: vertical; min-height: 96px; }
.form input[type="file"] { padding: 10px; background: var(--paper); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(242,165,49,.4); }
.form .invalid { border-color: var(--red); }
.field-error { color: var(--red-600); font-size: .85rem; margin: 6px 0 0; }
.form-status { margin: 12px 0 0; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: #19733a; }

/* Bolsa de trabajo */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 64px; }
.job { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; }
.job h3 { font-size: 1.6rem; margin-bottom: .4em; }
.job p { color: var(--muted); font-size: .97rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.job-meta span { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-700); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.job-req-title { font-weight: 600; color: var(--ink) !important; margin-bottom: .3em; }
.job-req { margin: 0 0 20px; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.job .btn { margin-top: auto; align-self: flex-start; }
.apply-title { font-size: 1.9rem; }
.apply-split { align-items: start; }
@media (max-width: 420px) { .jobs { grid-template-columns: 1fr; } }
.form-status.err { color: var(--red-600); }

.notice { margin-top: 24px; padding: 18px 20px; background: var(--amber-100); border-left: 4px solid var(--amber); border-radius: var(--radius); color: var(--ink); }
.notice strong { display: block; }

/* Contacto */
.contact-list { list-style: none; padding: 0; margin: 32px 0; }
.contact-list li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
.contact-list span { color: var(--on-dark-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 3px; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--amber); }

.sae-callout { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px; border: 1px solid rgba(224,52,43,.5); background: rgba(224,52,43,.1); border-radius: var(--radius-lg); }
.sae-callout strong { display: block; color: var(--white); }
.sae-callout span { color: var(--on-dark-muted); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 40px 0; }
.footer-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-row img { height: 44px; width: auto; }
.motto { margin: 0; font: 600 1.2rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.copy { margin: 0 0 0 auto; font-size: .9rem; }
.site-footer .social { margin-left: auto; }
.site-footer .social + .copy { margin-left: 0; }
@media (max-width: 700px) { .copy { margin-left: 0; width: 100%; } }

/* Modal SAE */
.sae-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; border-top: 6px solid var(--red); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.4); color: var(--ink); }
.sae-dialog::backdrop { background: rgba(7, 11, 38, .7); }
.sae-dialog h2 { font-size: 2rem; margin: 0; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.dialog-head .eyebrow { margin-bottom: .4em; }
.dialog-note { color: var(--muted); font-size: .95rem; }
.dialog-note a { color: var(--red-600); font-weight: 600; }
.icon-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.icon-btn:hover { background: var(--paper); }
@media (max-width: 560px) { .sae-dialog { padding: 20px; } }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}