/* ==========================================================================
   EXMULI — styles.css
   Base, tokens y componentes. Enfoque mobile-first: lo de pantallas grandes
   vive en responsive.css y los movimientos en animations.css.
   Sin fuentes externas: se usa la pila de fuentes del sistema (rápido, sin
   solicitudes extra, sin dependencias).
   ========================================================================== */

:root {
  /* Paleta */
  --navy-900: #07122a;
  --navy-800: #0b1b33;
  --navy-700: #12284a;
  --navy-600: #1c3a68;
  --graphite: #14171c;
  --graphite-2: #1d2229;
  --orange: #d62839;          /* fondos y acentos */
  --orange-hover: #ff7e36;
  --orange-text: #b84a08;     /* texto naranja sobre blanco (contraste >= 4.5:1) */
  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #f1f4f8;
  --gray-200: #e3e8ef;
  --gray-300: #cfd6e0;
  --gray-500: #5d6878;
  --gray-700: #363f4d;
  --ink: #18202c;
  --danger: #b3261e;
  --success: #1b6e3c;

  /* Tipografía: pila del sistema */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Espaciado / forma */
  --max: 1180px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(7, 18, 42, 0.08), 0 2px 8px rgba(7, 18, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 18, 42, 0.14);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1rem; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--orange); color: var(--navy-900);
  padding: 0.75rem 1rem; border-radius: var(--radius); font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
  color: var(--navy-800);
}
h1 { font-size: clamp(2.2rem, 8.5vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--gray-700); max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-text); margin-bottom: 0.6rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 3px;
  background: var(--orange); vertical-align: middle; margin-right: 0.6rem; border-radius: 2px;
}

.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--alt { background: var(--gray-100); }
.section--dark { background: var(--navy-900); color: #e6ebf3; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: #ff9a5c; }
.section--dark .lead { color: #c9d1dc; }
.section--dark a { color: #ff9aa2; }
.section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 4vw, 3rem); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform 0.18s var(--ease), background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: var(--navy-900); }
.btn--primary:hover { background: var(--orange-hover); color: var(--navy-900); box-shadow: 0 6px 18px rgba(214, 40, 57, 0.35); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--sm { min-height: 42px; padding: 0.5rem 1rem; font-size: 0.95rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Cabecera y navegación (móvil primero) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 150px; height: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  background: transparent; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius);
  color: var(--white);
}
.nav-toggle:hover { border-color: var(--orange); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.primary-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-900);
  border-bottom: 3px solid var(--orange);
  padding: 0.5rem 1rem 1.25rem;
  display: none;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; }
.primary-nav li a:not(.btn) {
  display: block; padding: 0.95rem 0.25rem;
  color: #e6ebf3; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.primary-nav li a:not(.btn):hover { color: #ff9aa2; }
.primary-nav li a[aria-current="page"] { color: var(--orange); }
.primary-nav .btn { width: 100%; margin-top: 1rem; }
/* Sin JavaScript el menú se muestra siempre desplegado (degradación elegante) */
.no-js .primary-nav { position: static; display: block; }
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; padding-block: 0.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(214, 40, 57, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  padding-block: clamp(2.5rem, 7vw, 5rem) 0;
}
.hero::after { /* franja de carretera */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 48px, transparent 48px 72px);
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 .accent { color: var(--orange); display: block; }
.hero .lead { color: #d5dce8; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-art { margin-inline: -0.5rem; padding-bottom: 1.5rem; }
.hero-art img { width: 100%; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.35)); }
.hero-note { font-size: 0.85rem; color: #aeb8c8; margin-top: 1.25rem; max-width: 56ch; }

.page-hero {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 6px solid var(--orange);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 7vw, 3.3rem); margin-bottom: 0.75rem; }
.page-hero .lead { color: #d5dce8; margin-bottom: 0; }
.breadcrumb { font-size: 0.85rem; color: #aeb8c8; margin-bottom: 1rem; }
.breadcrumb a { color: #ff9aa2; }

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: 1.25rem; }
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 800; color: var(--navy-800); text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
.card-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.card-link:hover::after { transform: translateX(4px); }
.card-link:hover { color: var(--orange-text); }

.icon-badge {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--navy-800); color: var(--orange);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.icon-badge svg { width: 28px; height: 28px; }

.service-card { display: flex; flex-direction: column; }
.service-card .card-link { margin-top: auto; padding-top: 1rem; }

/* Lista con viñetas de verificación */
.check-list { list-style: none; display: grid; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.check-list li { position: relative; padding-left: 1.7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1.05rem; height: 1.05rem;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.tag-list li { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 999px; padding: 0.2rem 0.75rem; font-size: 0.88rem; font-weight: 600; color: var(--gray-700); }

/* Detalles dentro de tarjetas (información para cotizar) */
.more { border-top: 1px solid var(--gray-200); margin-top: 1rem; padding-top: 0.25rem; }
.more summary, .faq summary {
  cursor: pointer; font-weight: 800; color: var(--navy-800);
  padding: 0.75rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.more summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.more summary::after, .faq summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-text); flex: none;
  transition: transform 0.25s var(--ease);
}
.more[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); }

/* ---------- Equipo ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.spec-list { display: grid; gap: 0; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); overflow: hidden; margin: 1.25rem 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: #aeb8c8; }
.spec-list dd { margin: 0; font-weight: 700; color: var(--white); text-align: right; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.12); }
.media-caption { font-size: 0.82rem; color: #aeb8c8; margin-top: 0.6rem; }

/* ---------- Proceso ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.25rem; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.5rem 4.5rem; box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.25rem; top: 1.35rem;
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  background: var(--orange); color: var(--navy-900); font-weight: 900; border-radius: 50%;
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--gray-700); }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.filter-btn {
  min-height: 44px; padding: 0.45rem 1rem; border-radius: 999px;
  background: var(--white); border: 2px solid var(--gray-300); font-weight: 700; color: var(--navy-800);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filter-btn:hover { border-color: var(--navy-800); }
.filter-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; }
.gallery li[hidden] { display: none; }
.gallery-item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--navy-800);
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; text-align: left;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(7, 18, 42, 0.92)); color: var(--white); font-weight: 700; font-size: 0.95rem;
}
.gallery-note { font-size: 0.88rem; color: var(--gray-500); margin-top: 1rem; }

dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%;
  color: var(--white);
}
dialog.lightbox::backdrop { background: rgba(4, 9, 22, 0.88); }
.lightbox-inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: 0.75rem; gap: 0.5rem; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; }
.lightbox-stage img { max-height: 100%; width: auto; max-width: 100%; border-radius: var(--radius); background: var(--navy-800); }
.lightbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.lightbox-caption { flex: 1; text-align: center; font-size: 0.95rem; }
.icon-btn {
  min-width: 48px; min-height: 48px; padding: 0 0.9rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12); border: 2px solid rgba(255, 255, 255, 0.35); color: var(--white); font-weight: 800;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.25); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 0 1.25rem; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: var(--orange); }
.faq details p { color: var(--gray-700); padding-bottom: 1rem; margin: 0; }

/* ---------- Banda CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.75rem, 5vw, 3.25rem);
  border-left: 8px solid var(--orange);
  display: grid; gap: 1.25rem; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: #d5dce8; }

/* ---------- Formularios ---------- */
.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--shadow-sm); }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
legend { font-weight: 800; font-size: 1.1rem; color: var(--navy-800); padding: 0 0 0.75rem; border-bottom: 2px solid var(--orange); margin-bottom: 1rem; width: 100%; }
.form-grid { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: 0.95rem; color: var(--navy-800); }
.req { color: var(--danger); font-weight: 800; }
.opt { color: var(--gray-500); font-weight: 600; font-size: 0.85rem; }
.hint { font-size: 0.85rem; color: var(--gray-500); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.85rem;
  background: var(--white); border: 2px solid var(--gray-300); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(214, 40, 57, 0.35); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff8f7; }
.field-error { color: var(--danger); font-size: 0.88rem; font-weight: 700; min-height: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "⚠ "; }
.inline-fields { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.check-field { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-field input { width: 1.4rem; height: 1.4rem; min-height: 0; margin-top: 0.2rem; accent-color: var(--orange); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.error-summary { background: #fff3f1; border: 2px solid var(--danger); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.error-summary h2 { font-size: 1.1rem; color: var(--danger); margin-bottom: 0.4rem; }
.error-summary ul { padding-left: 1.2rem; margin: 0; }
.error-summary a { color: var(--danger); font-weight: 700; }

.notice { border-left: 6px solid var(--orange); background: var(--gray-100); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.5rem; }
.notice strong { color: var(--navy-800); }
.notice--info { border-left-color: var(--navy-600); }
.notice--ok { border-left-color: var(--success); background: #eef8f1; }
.request-output { width: 100%; min-height: 220px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88rem; background: var(--gray-50); border: 2px solid var(--gray-300); border-radius: var(--radius); padding: 0.85rem; }
.copy-status { font-weight: 700; color: var(--success); min-height: 1.5em; }

/* ---------- Contacto ---------- */
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-row { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.contact-row .label { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }
.contact-row .value { font-size: 1.15rem; font-weight: 800; word-break: break-word; }
.contact-row[hidden] { display: none; }

/* ---------- Seguimiento ---------- */
.track-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--shadow-sm); }
.track-form { display: grid; gap: 0.75rem; }
.timeline { list-style: none; position: relative; margin: 1.5rem 0 0; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 0.55rem; top: 0.4rem; bottom: 0.4rem; width: 3px; background: var(--gray-300); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 1.25rem; }
.timeline li::before { content: ""; position: absolute; left: -1.78rem; top: 0.35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--gray-300); }
.timeline li.done::before { background: var(--orange); border-color: var(--orange); }
.timeline li.current::before { border-color: var(--orange); box-shadow: 0 0 0 5px rgba(214, 40, 57, 0.25); }
.timeline strong { display: block; color: var(--navy-800); }
.badge-demo { display: inline-block; background: var(--orange); color: var(--navy-900); font-weight: 900; letter-spacing: 0.1em; font-size: 0.78rem; padding: 0.2rem 0.6rem; border-radius: 4px; vertical-align: middle; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--graphite); color: #c3ccd9; padding-top: clamp(2.5rem, 6vw, 4rem); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 0.9rem; }
.site-footer a { color: #e6ebf3; text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.footer-links { list-style: none; display: grid; gap: 0.45rem; }
.footer-links a { display: inline-block; padding: 0.2rem 0; }
.footer-brand img { width: 170px; margin-bottom: 1rem; }
.footer-brand p { max-width: 38ch; font-size: 0.95rem; }
.footer-contact { list-style: none; display: grid; gap: 0.5rem; }
.footer-contact li[hidden] { display: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.25rem; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.disclaimer { font-size: 0.82rem; color: #97a3b5; }

/* ---------- Utilidades flotantes ---------- */
.back-to-top {
  position: fixed; right: 1rem; bottom: 5.25rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-800); color: var(--white); border: 2px solid var(--orange);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--orange); color: var(--navy-900); }
.back-to-top svg { width: 22px; height: 22px; }

/* Barra de acción fija en móvil: el botón de cotizar siempre funciona;
   "Call" solo aparece si hay teléfono configurado en js/config.js */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex; gap: 0.5rem; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(7, 18, 42, 0.97); border-top: 2px solid var(--orange);
}
.mobile-cta .btn { flex: 1; min-height: 46px; }
.mobile-cta [hidden] { display: none; }
body { padding-bottom: 4.5rem; }

/* Marcadores solo visibles en desarrollo/preview (ver main.js → isDev) */
.dev-marker, [data-dev-only] {
  display: none;
}
.is-dev .dev-marker, .is-dev [data-dev-only] {
  display: block;
  background: #fff3c4; color: #5a4300; border: 2px dashed #c79100;
  padding: 0.5rem 0.75rem; border-radius: var(--radius); font-size: 0.85rem; font-weight: 700; margin-top: 0.5rem;
}

/* Páginas legales / texto largo */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.4rem; }

/* El atributo hidden siempre gana sobre display de componentes */
[hidden] { display: none !important; }

/* Eyebrow sobre fondos oscuros: naranja claro para contraste suficiente */
.hero .eyebrow, .page-hero .eyebrow { color: #ff9a5c; }

/* ==========================================================================
   v3 — banner de video, selector de carga, WhatsApp, progreso de lectura
   ========================================================================== */
.hero--video { isolation: isolate; min-height: 640px; }
.hero--video::after { display: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 100%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,18,42,.9) 0, rgba(7,18,42,.62) 55%, rgba(7,18,42,.12) 100%); }
.hero--video .hero-grid { grid-template-columns: 1fr; }
.hero--video .hero-copy { max-width: 37rem; padding-bottom: 12rem; }
.video-toggle { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; background: rgba(7,18,42,.8); color: #fff; border: 1px solid #fff; border-radius: 99px; padding: .45rem 1rem; font: inherit; font-size: .85rem; cursor: pointer; min-height: 40px; }
.video-toggle:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-900); }
.video-toggle[hidden], .wa-fab[hidden], .cargo-picker[hidden], .btn--wa[hidden] { display: none !important; }
.cargo-picker { margin: 1.4rem 0 1rem; }
.cargo-picker p { margin: 0 0 .5rem; font-weight: 700; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chip { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; padding: .5rem 1rem; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; transition: background .2s, transform .2s, color .2s; }
.chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.22); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy-900); }
.btn--wa { background: #25d366; border-color: #25d366; color: #052e16; }
.btn--wa:hover { background: #fff; color: #052e16; }
.wa-fab { display: none; position: fixed; right: 1.5rem; bottom: 5rem; z-index: 90; align-items: center; gap: .5rem; border-radius: 99px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.marquee { background: var(--orange); color: var(--navy-900); overflow: hidden; white-space: nowrap; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .7rem 0; }
.marquee-track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee-track span { padding-right: 2rem; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; pointer-events: none; }
.site-header { transition: transform .3s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .site-header { transition: none; } }
@media print { .wa-fab, .marquee, .video-toggle, .scroll-progress { display: none !important; } }
