:root {
  --gold: #c6a15b;
  --gold-dark: #a88045;
  --navy: #022631;
  --navy-mid: #1c5b6b;
  --ink: #022631;
  --muted: #5e676e;
  --bg-light: #f4f6f7;
  --border: #e2e8f0;
  --white: #ffffff;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: #1c1c1c;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; padding-top: 64px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(198, 161, 91, 0.38); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============ Layout helpers ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
.section { padding: 96px 0; }
.section.pt-0 { padding-top: 0; }
.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); }
.bg-mid { background: var(--navy-mid); }
.bg-white { background: var(--white); }
.grid-2, .grid-3, .grid-4, .grid-5 { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }
.gap-xl { gap: 80px; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.text-center { text-align: center; }
.stack, .stack-sm { display: flex; flex-direction: column; }
.stack { gap: 24px; }
.stack-sm { gap: 10px; }
.p-md { padding: 24px; }
.p-lg { padding: 32px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.h-400 { height: 400px; }
.h-380 { height: 380px; }
.h-360 { height: 360px; }
.h-288 { height: 288px; }
.relative { position: relative; }

/* ============ Typography ============ */
h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 36px; font-weight: 700; color: var(--ink); }
.h2-sm { font-size: 32px; }
.h3 { font-size: 28px; }
.white { color: var(--white); }
.light-p { color: #e2e8f0; }
p { line-height: 1.7; color: var(--muted); }
.section p { font-size: 16px; }
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-label .label-line { width: 16px; height: 2px; background: var(--gold); flex-shrink: 0; }
.gold-label { color: var(--gold); font-family: var(--font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
  text-align: center;
}
.section-head p { max-width: 843px; }
.cta-center { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta-center p { max-width: 624px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-quote { position: relative; overflow: hidden; }
.btn-quote::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-160%);
  animation: quote-shine 60s linear -56.32s infinite;
}
@keyframes quote-shine {
  0%, 97% { opacity: 0; transform: translateX(-160%); }
  97.2% { opacity: 1; transform: translateX(-160%); }
  99.8% { opacity: 1; transform: translateX(360%); }
  100% { opacity: 0; transform: translateX(360%); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-quote::after { animation: none; }
}
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 40px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-cta { padding: 12px 24px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-tall { min-height: 680px; }
.hero-short { min-height: 400px; }
.hero-overlay { position: absolute; inset: 0; background: rgba(2, 38, 49, 0.85); }
.hero-content { position: relative; padding: 96px 24px; }
.hero-content .inner { max-width: 843px; display: flex; flex-direction: column; gap: 16px; }
.hero h1 { color: var(--white); }
.hero p { color: #e2e8f0; font-size: 16px; max-width: 733px; }

/* ============ Cards ============ */
.card { border-radius: 4px; }
.card-white { background: var(--white); border: 1px solid var(--border); }
.stat-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-box span { font-family: var(--font-display); font-weight: 700; font-size: 11px; text-transform: uppercase; color: var(--navy-mid); }
.stat-box strong { font-size: 14px; color: var(--ink); }
.img-box { border-radius: 8px; overflow: hidden; }
.img-box img, .img-cover img { width: 100%; height: 100%; object-fit: cover; }
.img-cover { overflow: hidden; }
.img-cover img { height: var(--img-h, 288px); }
.float-card {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.float-card strong { color: var(--white); font-family: var(--font-display); font-size: 20px; line-height: 1.2; }
.float-card span { color: var(--gold); font-size: 12px; }
.sol-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s;
}
.sol-card:hover { border-color: var(--gold); }
.sol-card-top { display: flex; flex-direction: column; gap: 16px; }
.icon-box {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box img { width: 20px; height: 20px; }
.sol-card h3 { font-size: 18px; color: var(--ink); transition: color 0.2s; }
.sol-card:hover h3 { color: var(--gold); }
.sol-card p { font-size: 13px; line-height: 1.5; }
.sol-card-cta { font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; color: var(--gold); }
.img-card { background: var(--bg-light); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.img-card > img { height: 220px; width: 100%; object-fit: cover; }
.img-card h3 { font-size: 20px; color: var(--ink); }
.img-card p { font-size: 14px; line-height: 1.5; }
.mini-card { background: var(--white); border: 1px solid var(--border); padding: 20px; transition: border-color 0.2s, box-shadow 0.2s; }
.mini-card:hover { border-color: var(--gold); box-shadow: 0 4px 12px rgba(2, 38, 49, 0.08); }
.mini-card h3, .tint-card h3 { font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.mini-card p, .tint-card p { font-size: 12px; line-height: 1.6; }
.tint-card { background: var(--bg-light); border: 1px solid var(--border); padding: 20px; transition: border-color 0.2s; }
.tint-card:hover { border-color: var(--gold); }
.panel-navy { background: var(--navy); padding: 32px; }
.panel-navy h3 { color: var(--white); font-size: 18px; margin-bottom: 16px; }
.panel-navy p { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.panel-abasto { background: var(--navy-mid); border-radius: 6px; }
.panel-gold {
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel-gold > strong { color: var(--white); font-family: var(--font-display); font-size: 20px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list div { display: flex; align-items: center; gap: 8px; color: #e2e8f0; font-size: 13px; }
.check-list img { width: 14px; height: 14px; flex-shrink: 0; }
.check-list-gold { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.check-list-gold li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.check-list-gold li::before { content: '✓'; color: var(--gold); }
.quote-box { background: var(--bg-light); border-left: 2px solid var(--gold); padding: 20px; }
.quote-box .gold-label { font-size: 10px; letter-spacing: 0.1em; margin-bottom: 8px; display: block; }
.quote-box p { font-size: 12px; }
.caption-box { background: var(--navy); padding: 16px; margin-top: 4px; }
.caption-box .gold-label { font-size: 10px; letter-spacing: 0.1em; }
.caption-box p { color: rgba(255, 255, 255, 0.6); font-size: 12px; margin-top: 4px; }

/* ============ Steps / timeline ============ */
.steps { position: relative; display: flex; justify-content: space-between; gap: 32px; }
.step-line {
  position: absolute;
  top: 28px;
  left: 70px;
  right: 70px;
  height: 1px;
  background: rgba(198, 161, 91, 0.3);
}
.step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.step strong { color: var(--white); font-family: var(--font-display); font-size: 16px; }
.step span { color: rgba(226, 232, 240, 0.8); font-size: 12px; max-width: 110px; }
.step-circle.lg { width: 64px; height: 64px; background: var(--navy); border-width: 2px; color: var(--gold); }
.step .question { font-style: italic; color: var(--muted); }

/* ============ Photo rows (Abastecimiento) ============ */
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.photo-row + .photo-row { margin-top: 64px; }
.photo-row img { width: 100%; height: 256px; object-fit: cover; }
.photo-row h3 { font-size: 24px; color: var(--ink); margin-bottom: 16px; }
.photo-row.flip > :first-child { order: 2; }

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid.single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.6; }
.dropzone {
  border: 2px dashed rgba(198, 161, 91, 0.4);
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.dropzone:hover { border-color: var(--gold); }
.dropzone .clip { color: var(--gold); margin-right: 8px; }
.form-success {
  background: var(--navy);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-success[hidden], [hidden] { display: none !important; }
.form-success .check { color: var(--gold); font-size: 36px; }
.form-success h3 { color: var(--white); font-size: 20px; }
.form-success p { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.form-success button {
  background: var(--gold);
  color: var(--navy);
  border: 0;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 24px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.form-success button:hover { background: var(--gold-dark); }

/* Contact channel cards */
.channel-card { background: var(--white); border: 1px solid var(--border); padding: 32px; text-align: center; transition: border-color 0.2s; }
.channel-card:hover { border-color: var(--gold); }
.channel-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.channel-icon svg { width: 20px; height: 20px; fill: var(--white); }
.channel-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.channel-card p { font-size: 12px; margin-bottom: 12px; }
.channel-card a { color: var(--gold); font-size: 12px; font-weight: 700; }
.channel-card a:hover { text-decoration: underline; }

/* Info box (Contacto) */
.info-box { border: 1px solid var(--border); padding: 24px; margin-bottom: 24px; }
.info-box h3 { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.info-box .sub { color: var(--gold); font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.info-box .row-icon { margin-bottom: 12px; color: var(--muted); }
.info-box .divider { margin: 16px 0; }

/* ============ Privacidad / legal ============ */
.legal-hero { background: var(--navy); padding: 112px 0 56px; }
.legal-hero h1 { color: var(--white); font-size: 36px; margin: 16px 0 12px; }
.legal-hero p { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.legal-notice {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.legal-badge {
  width: 32px;
  height: 32px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}
.legal-notice strong { font-size: 14px; color: var(--ink); display: block; margin-bottom: 4px; }
.legal-notice p { font-size: 12px; }
.legal-card { background: var(--white); border: 1px solid var(--border); padding: 24px; transition: border-color 0.2s; }
.legal-card:hover { border-color: rgba(198, 161, 91, 0.3); }
.legal-card h2 { font-size: 14px; margin-bottom: 12px; }
.legal-card h2 .num { color: var(--gold); margin-right: 8px; }
.legal-card p { font-size: 12px; margin-bottom: 12px; }
.legal-card ul { display: flex; flex-direction: column; gap: 6px; }
.legal-card li { list-style: none; display: flex; gap: 8px; font-size: 12px; color: var(--muted); }
.legal-card li::before { content: '›'; color: var(--gold); flex-shrink: 0; }
.legal-mail {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  padding: 8px 12px;
  margin-top: 12px;
}
.legal-mail svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }
.legal-mail a { font-size: 12px; font-weight: 600; color: var(--ink); }
.legal-mail a:hover { color: var(--gold); }

/* ============ Footer ============ */
.footer { background: var(--navy); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 64px; }
.footer-logo { height: 80px; width: 120px; object-fit: contain; object-position: left; }
.footer p { color: #e2e8f0; font-size: 14px; }
.footer .stack-sm strong { color: var(--white); font-family: var(--font-display); font-size: 14px; text-transform: uppercase; margin-bottom: 8px; }
.footer .stack-sm a { color: #e2e8f0; font-size: 14px; transition: color 0.2s; }
.footer .stack-sm a:hover { color: var(--gold); }
.row-icon { display: flex; align-items: center; gap: 12px; color: #e2e8f0; font-size: 14px; }
.row-icon img { width: 16px; height: 16px; flex-shrink: 0; }
.footer-bottom { display: flex; flex-direction: column; gap: 24px; }
.divider { height: 1px; background: rgba(28, 91, 107, 0.3); }
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom-row > span { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 12px; text-decoration: underline; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ============ Clases complementarias ============ */

/* Hero con imagen <img> en vez de background */
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Secciones compactas */
.section-sm { padding: 64px 0; }

/* Contenedores angostos para texto centrado */
.narrow { max-width: 896px; }
.narrow-sm { max-width: 672px; }
.mb-lg { margin-bottom: 32px; }

/* Textos sobre fondo oscuro */
.white-50 { color: rgba(255, 255, 255, 0.5); }
.white-60 { color: rgba(255, 255, 255, 0.6); }
.white-p-sm { color: var(--white); font-size: 12px; text-align: center; }
.ink, .step strong.ink { color: var(--ink); }
.ink-strong { color: #112e46; font-weight: 700; }
.h-340 { height: 340px; }
.label-line.wide { width: 24px; }

/* Tarjetas foto + texto (Soluciones) */
.photo-card { background: var(--white); border: 1px solid var(--border); display: flex; transition: border-color 0.2s, box-shadow 0.2s; }
.photo-card:hover { border-color: var(--gold); box-shadow: 0 8px 20px rgba(2, 38, 49, 0.08); }
.photo-card-img { width: 176px; flex-shrink: 0; overflow: hidden; }
.photo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.photo-card:hover .photo-card-img img { transform: scale(1.05); }
.photo-card-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.photo-card-body h3 { color: var(--ink); font-size: 16px; margin-bottom: 8px; transition: color 0.2s; }
.photo-card:hover h3 { color: var(--gold); }
.photo-card-body p { font-size: 12px; line-height: 1.6; }
.mini-cta {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 16px;
}

/* Panel teal con borde dorado (Abastecimiento, Proyectos) */
.panel-teal { background: var(--navy-mid); border: 1px solid rgba(198, 161, 91, 0.2); padding: 32px; }
.panel-teal h3 { color: var(--white); font-size: 18px; margin-bottom: 20px; }
.gold-strong { color: var(--gold); font-size: 14px; font-weight: 600; margin-bottom: 16px; }

/* Proyectos: metodología e integración según la referencia. */
.project-methodology { padding: 28px 0; }
.project-methodology .section-head { gap: 12px; margin-bottom: 60px; }
.project-methodology h2, .project-integration h2 { font-size: 28px; }
.project-methodology .section-label, .project-integration .section-label { font-size: 10px; letter-spacing: 0; }
.project-methodology .section-head p, .project-integration .section-head p { max-width: 600px; font-size: 12px; }
.project-methodology .steps { flex-wrap: nowrap; gap: 24px; }
.project-methodology .step { flex: 0 1 145px; gap: 12px; }
.project-methodology .step-circle {
  width: 42px;
  height: 42px;
  background: var(--navy-mid);
  border: 1px solid var(--gold);
  color: var(--white);
  font-size: 12px;
}
.project-methodology .step strong { color: var(--ink); font-size: 14px; }
.project-methodology .step .question { max-width: none; color: var(--muted); font-size: 11px; font-style: normal; }
.project-methodology .step-line {
  display: block;
  top: 21px;
  left: 72.5px;
  right: 72.5px;
  background: repeating-linear-gradient(to right, rgba(198, 161, 91, 0.6) 0 5px, transparent 5px 8px);
}
.project-integration { padding: 48px 0 36px; }
.project-integration .section-head { gap: 12px; margin-bottom: 48px; }
.project-integration .section-head p { color: #e2e8f0; }
.project-integration-panel { width: 100%; border: none; border-radius: 4px; }
.project-integration-panel h3 { font-size: 18px; margin-bottom: 20px; }
.project-integration-panel .gold-strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--gold); margin-bottom: 16px; }
.project-integration-panel .white-60 { color: #e2e8f0; font-size: 12px; }
@media (max-width: 768px) {
  .project-methodology .steps { flex-wrap: wrap; gap: 28px 24px; }
  .project-methodology .step { flex: 1 1 calc(50% - 24px); }
  .project-methodology .step-line { display: none; }
  .project-integration-panel { padding: 24px; }
}

/* Encabezados alineados a la izquierda (Detalles) */
.head-left { margin-bottom: 48px; }
.head-left p { margin-top: 12px; }

/* Detalles: sectores y desafíos de suministro. */
.details-sectors, .details-challenges { padding: 72px 0; }
.details-sectors h2, .details-challenges h2 { font-size: 30px; }
.details-sectors .section-label, .details-challenges .section-label { font-size: 11px; letter-spacing: 0; }
.details-sectors .head-left p, .details-challenges .head-left p { font-size: 14px; }
.details-sector-card, .details-challenge-card { padding: 24px; border-radius: 4px; }
.details-sector-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 4px;
  margin-bottom: 16px;
}
.details-sector-icon svg { width: 22px; height: 22px; }
.details-sector-card h3, .details-challenge-card h3 { font-size: 16px; margin-bottom: 12px; }
.details-sector-card p, .details-challenge-card p { font-size: 12px; line-height: 1.6; }
.details-challenges h2, .details-challenge-card h3 { color: var(--white); }
.details-challenges .head-left p, .details-challenge-card p { color: #e2e8f0; }
.details-challenge-card { background: var(--navy-mid); border: 1px solid rgba(226, 232, 240, 0.3); }
.details-warning-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  margin-bottom: 16px;
}
.details-warning-icon svg { width: 20px; height: 20px; }
.details-catalog, .details-consolidation { padding: 72px 0; }
.details-catalog h2, .details-consolidation h2 { font-size: 30px; }
.details-catalog .section-label, .details-consolidation .section-label { font-size: 11px; letter-spacing: 0; }
.details-catalog .head-left p { font-size: 14px; }
.details-catalog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-light);
  border-radius: 4px;
  padding: 24px;
  min-height: 168px;
}
.details-catalog-icon { width: 20px; height: 20px; color: var(--navy-mid); flex-shrink: 0; margin-bottom: 12px; }
.details-catalog-card h3 { font-size: 14px; }
.details-catalog-card p { font-size: 12px; }
.details-catalog-card .mini-cta { color: var(--navy-mid); padding-top: 12px; }
.details-consolidation-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
.details-consolidation h2 { color: var(--white); margin-bottom: 28px; }
.details-consolidation p { color: #e2e8f0; font-size: 14px; }
.details-consolidation .quote-box { background: var(--navy); border: 1px solid rgba(198, 161, 91, 0.55); border-radius: 4px; }
.details-consolidation .quote-box p { font-size: 12px; }
.details-logistics-photo { position: relative; }
.details-logistics-photo .img-cover { aspect-ratio: 16 / 15; border-radius: 4px; overflow: hidden; }
.details-logistics-photo .caption-box {
  position: absolute;
  top: 24px;
  left: 24px;
  max-width: calc(100% - 48px);
  margin: 0;
  padding: 24px;
}
.details-logistics-photo .caption-box strong { color: var(--white); font-family: var(--font-display); font-size: 18px; }
.details-logistics-photo .caption-box p { color: var(--gold); font-size: 11px; }
@media (max-width: 768px) {
  .details-consolidation-grid { grid-template-columns: 1fr; gap: 32px; }
  .details-logistics-photo .caption-box { top: 16px; left: 16px; padding: 16px; }
}

/* Compromiso — ícono + título en fila */
.row-icon-sm { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.row-icon-sm img { width: 16px; height: 16px; flex-shrink: 0; }
.row-icon-sm h3 { font-size: 16px; color: var(--ink); }

/* Caja navy de cierre (Nosotros) */
.navy-box {
  background: var(--navy);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.navy-box .gold-label { font-size: 14px; }

/* Número grande de pasos (Nosotros) */
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--navy-mid); }
.card-white h3 { font-size: 18px; color: var(--ink); }
.card-white p { font-size: 13px; line-height: 1.5; }
.card-white.p-lg > p { font-size: 12px; }

/* Contacto — layout formulario + info */
.grid-form { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.btn-block { width: 100%; text-align: center; }
.info-label { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.info-text { font-size: 12px; color: var(--muted); }
.mail-icon { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }
.channels { max-width: 768px; margin: 0 auto; }

/* Contacto: campos claros, información corporativa y canales directos. */
.contact-form-section { padding: 100px 0; }
.contact-form-section .container { max-width: 1328px; }
.contact-page .grid-form { grid-template-columns: 1.4fr 1fr; gap: 64px; }
.contact-form-section h2 { font-size: 36px; margin-bottom: 32px; }
.contact-page .section-label { letter-spacing: 0; }
.contact-page #quote-form { gap: 20px; }
.contact-page .field label { font-family: var(--font-display); font-size: 13px; }
.contact-page .field input, .contact-page .field select, .contact-page .field textarea {
  background: var(--bg-light);
  border-radius: 4px;
  color: var(--ink);
  padding: 11px 15px;
  min-height: 42px;
}
.contact-page .field input::placeholder, .contact-page .field textarea::placeholder { color: var(--muted); opacity: 1; }
.contact-page .field textarea { min-height: 78px; }
.contact-page #detalles { min-height: 96px; }
.contact-page .form-note { background: var(--bg-light); border: 1px solid #d5dde2; border-radius: 6px; padding: 14px 16px; font-size: 12px; }
.contact-page .dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 60px;
  padding: 16px;
  background: var(--bg-light);
  border: 1px dashed var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
}
.contact-page .dropzone .clip { width: 22px; height: 22px; margin: 0; flex-shrink: 0; }
.contact-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.contact-page .dropzone:has(+ .contact-file-input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.contact-page #quote-form .btn-block { min-height: 50px; font-size: 14px; }
.contact-page .info-box { background: var(--bg-light); border-radius: 4px; padding: 32px; }
.contact-page .info-box h3 { font-size: 22px; }
.contact-page .info-box .sub { font-size: 13px; margin-bottom: 24px; }
.contact-page .info-box .row-icon { font-size: 14px; }
.contact-page .info-box .divider { margin: 24px 0; }
.contact-page .info-box .info-label { font-family: var(--font-display); color: var(--navy); font-size: 14px; }
.contact-page .info-box .info-text { font-size: 14px; }
.contact-channels-section { padding: 80px 0; }
.contact-channels-section .container { max-width: 1252px; }
.contact-channels-section h2 { font-size: 24px; margin-bottom: 40px; }
.contact-page .channels { max-width: none; gap: 32px; }
.contact-page .channels-email { max-width: 480px; margin: 0 auto; }
.contact-page .channel-card { border-radius: 4px; padding: 24px; }
.contact-page .channel-icon svg { fill: none; color: var(--gold); }
.contact-page .channel-card p { font-size: 13px; margin-bottom: 16px; }
.contact-page .channel-card a { color: var(--navy-mid); font-family: var(--font-display); font-size: 14px; }
@media (max-width: 900px) {
  .contact-page .grid-form { grid-template-columns: 1fr; gap: 48px; }
  .contact-page .channels { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .contact-form-section h2 { font-size: 28px; }
  .contact-page .info-box { padding: 24px; }
}

/* Capacidades (páginas de solución) */
.cap-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.cap-arrow { color: var(--gold); font-size: 18px; line-height: 1.2; flex-shrink: 0; }
.cap-title { font-weight: 600; color: var(--ink); font-size: 14px; }
.cap-item p { font-size: 12px; }
.option-grid { margin-top: 8px; }

/* Legal */
.legal-date { color: rgba(0, 0, 0, 0.35); font-size: 12px; }
.legal-cta { background: var(--navy); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) {
  .legal-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
.legal-cta h3 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.legal-cta p { color: rgba(255, 255, 255, 0.5); font-size: 14px; }
.gold-link svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }
.gold-link a { color: var(--gold); font-weight: 600; font-size: 14px; }

/* ============ Reveal animations ============ */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
[data-reveal-sequence="snake"] .reveal { transform: translateY(64px); transition-duration: 0.85s; }
[data-reveal-sequence="snake"] .reveal.in { transform: translateY(0); }
[data-reveal-sequence="timeline"] .step.reveal { transform: translateX(-32px); transition-duration: 0.8s; }
[data-reveal-sequence="timeline"] .step.reveal.in { transform: translateX(0); }
[data-reveal-sequence="timeline"] .step-line { transform: scaleX(0); transform-origin: left center; transition: transform var(--line-duration, 2.1s) linear 0.18s; }
[data-reveal-sequence="timeline"].in .step-line { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, [data-reveal-sequence] .reveal, [data-reveal-sequence="timeline"] .step.reveal, [data-reveal-sequence="timeline"] .step-line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; }
  .step { flex-basis: 40%; }
  .step-line { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 8px 0; color: rgba(255, 255, 255, 0.8); }
  .nav-cta { text-align: center; margin-top: 12px; }
  .nav-toggle { display: block; }
}
@media (max-width: 900px) {
  .grid-form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .photo-card { flex-direction: column; }
  .photo-card-img { width: 100%; height: 180px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5, .form-grid { grid-template-columns: 1fr; }
  .photo-row { gap: 24px; }
  .photo-row.flip > :first-child { order: 0; }
  .h-400, .h-380, .h-360, .h-340 { height: 280px; }
  .hero-content h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Formulario de contacto: envío al servidor ---------- */
.contact-page .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-page .field .is-invalid, .contact-page .field .is-invalid:focus { border-color: #c0392b; }
.contact-page .field-error { color: #c0392b; font-size: 12px; }
.contact-page .form-error { background: #fdecea; border: 1px solid #f5c6c0; border-radius: 6px; color: #8a1f14; font-size: 13px; padding: 12px 16px; }
.contact-page .form-folio { color: var(--gold) !important; font-family: var(--font-display); font-size: 15px !important; font-weight: 700; }
.contact-page #quote-form button[type="submit"]:disabled { opacity: 0.7; cursor: wait; }
