/* ==========================================================================
   LOADEX — styles.css
   Built for Cargo. Built for Precision.
   One-page "company overview" — white background, rounded
   cards, Figtree, navy + orange.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette (CLAUDE.md, "Diseño") */
  --navy: #0B1F3A;            /* text, dark panels, main button */
  --navy-900: #071528;        /* deepest navy (gradients) */
  --orange: #EA580C;          /* highlighted words, lines, accents */
  --orange-ink: #C2410C;      /* small labels / text on light bg (AA) and accent buttons */
  --orange-ink-hover: #9A3412;
  --cream: #FFF4EC;           /* mission + why panels */
  --panel: #F2F4F7;           /* gray panels */
  --border: #E6EAF0;          /* thin borders */
  --gray-text: #44556B;       /* secondary text */
  --white: #FFFFFF;

  /* Derived (accessibility / states) */
  --field-border: #8593A6;    /* form controls, >= 3:1 on white */
  --error: #B42318;
  --success: #0F7A3D;
  --orange-on-dark: #FB923C;  /* orange text on navy (AA) */

  /* Aliases used by inner pages */
  --gray-100: var(--panel);
  --line: var(--border);

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .05), 0 2px 8px rgba(11, 31, 58, .04);
  --shadow-md: 0 12px 32px -16px rgba(11, 31, 58, .25);

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 72px;

  --focus: var(--orange-ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Large / very large screens: wider container and slightly larger type */
@media (min-width: 1800px) { :root { --container: 1520px; --header-h: 80px; } html { font-size: 112.5%; } }
@media (min-width: 2400px) { :root { --container: 1840px; --header-h: 88px; } html { font-size: 131.25%; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.icon { width: 24px; height: 24px; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Highlighted part of a title */
.hl { color: var(--orange); }
.on-dark .hl { color: var(--orange-on-dark); }

/* Visible marker for data not confirmed yet (see PENDIENTES.md) */
.pending {
  display: inline-block;
  font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
  color: var(--orange-ink);
  background: rgba(234, 88, 12, .06);
  border: 1px dashed rgba(194, 65, 12, .55);
  border-radius: 6px;
  padding: 2px 8px;
}
.on-dark .pending { color: #FDBA8C; background: rgba(234, 88, 12, .12); border-color: rgba(253, 186, 140, .6); }

/* ---------- Labels ---------- */
/* Small uppercase label above each title */
.eyebrow {
  display: block;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  line-height: 1.4;
  color: var(--orange-ink);
  margin: 0 0 14px;
}
.on-dark .eyebrow { color: var(--orange-on-dark); }
/* Minor subtitle with a short orange dash ("— Infrastructure & equipment") */
.subhead {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem; font-weight: 700; color: var(--navy);
  margin: 0 0 14px;
}
.subhead::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--orange); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.5em;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font); font-weight: 700; font-size: .975rem; letter-spacing: .005em;
  text-decoration: none; line-height: 1.1; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
/* Main button: navy */
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-900); transform: translateY(-1px); }
.on-dark .btn--primary { background: var(--white); color: var(--navy); }
.on-dark .btn--primary:hover { background: var(--cream); }
/* Action button: orange (darker orange so white text passes AA) */
.btn--accent { background: var(--orange-ink); color: var(--white); }
.btn--accent:hover { background: var(--orange-ink-hover); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-900); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--panel); }
.btn--sm { min-height: 42px; padding: .55em 1.15em; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; font-size: .95rem;
  color: var(--navy); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--orange-ink); transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* ---------- Header (no menu, not fixed: scrolls away with the page) ---------- */
.site-header { position: relative; z-index: 100; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}
.header-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
/* Tagline in two lines, small orange capitals */
.header-tagline {
  margin: 0; text-align: right;
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase;
  color: var(--orange-ink);
}
.header-tagline span { display: block; white-space: nowrap; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand__logo { height: 36px; width: auto; }
.brand__wordmark { display: none; line-height: 1; }
.brand.no-logo .brand__logo { display: none; }
.brand.no-logo .brand__wordmark { display: inline-flex; flex-direction: column; }
.brand__name { font-weight: 800; font-size: 1.5rem; letter-spacing: .03em; }
.brand__name span { color: var(--orange); }
.brand__sub { font-size: .6rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-text); margin-top: 5px; }
.brand--sm .brand__logo { height: 28px; }
.brand--sm .brand__name { font-size: 1.2rem; }
.brand--sm .brand__sub { font-size: .55rem; margin-top: 4px; }

@media (max-width: 699px) {
  .header-tagline { font-size: .62rem; letter-spacing: .12em; }
}
/* Phones: the tagline is already the big title of the photo, so the header keeps logo + EN/ES */
@media (max-width: 519px) {
  .header-tagline { display: none; }
  .brand__name { font-size: 1.35rem; }
}

/* ---------- Media slots (image or elegant placeholder) ---------- */
.media {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(234, 88, 12, .16), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px),
    var(--navy);
  isolation: isolate;
}
.media--3x2 { aspect-ratio: 3 / 2; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media picture, .media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.media img { object-fit: cover; }
.media.is-missing picture { display: none; }
.media__ph {
  position: absolute; inset: 0; z-index: -1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 16px; text-align: center;
  color: rgba(255, 255, 255, .78);
}
.media__ph .icon { width: 34px; height: 34px; color: var(--orange-on-dark); }
.media__ph-label { font-weight: 700; font-size: .95rem; color: var(--white); }
.media__ph-file { font-size: .75rem; letter-spacing: .04em; color: rgba(255, 255, 255, .62); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }

/* ---------- Hero (rounded card) ---------- */
.hero { padding-bottom: clamp(40px, 6vw, 72px); }
.hero-card {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(480px, 64vh, 680px);
  border-radius: var(--radius-xl);
  background: var(--navy-900);
  color: var(--white);
}
.hero-card__media { position: absolute; inset: 0; z-index: 0; }
.hero-card__media img { object-position: 60% 40%; }
.hero-card__media .media__ph { justify-content: flex-start; align-items: flex-end; padding: 40px; }
.hero-card__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(7, 21, 40, .94) 0%, rgba(7, 21, 40, .72) 38%, rgba(7, 21, 40, .18) 72%, rgba(7, 21, 40, .05) 100%),
    linear-gradient(90deg, rgba(7, 21, 40, .55) 0%, rgba(7, 21, 40, 0) 60%);
}
.hero-card__content {
  position: relative; z-index: 2;
  max-width: 46rem;
  padding: clamp(28px, 5vw, 64px);
}
.hero-card__title {
  color: var(--white);
  font-size: clamp(2.2rem, 5.2vw, 4.25rem);
  line-height: 1.02; letter-spacing: -.03em;
  margin-bottom: 18px;
}
.hero-card__lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .88); max-width: 36rem; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 599px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--top0 { padding-top: 0; }
.section--tight { padding-block: 0 var(--section-y); }
.section--gray { background: var(--panel); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }
.section-title { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
.section-lead { font-size: 1.075rem; max-width: 620px; margin: 0; }

/* Lists with orange dots */
.dot-list { display: grid; gap: 8px; font-size: .95rem; }
.dot-list li { position: relative; padding-left: 20px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dot-list--lg { gap: 12px; font-size: 1.025rem; margin: 22px 0 18px; color: var(--navy); }

/* ---------- Panels + pills ---------- */
.panel { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); background: var(--white); }
.panel h3 { font-size: 1.4rem; }
.panel p { margin-bottom: 20px; }
.panel--navy { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .82); }
.panel--navy h3 { color: var(--white); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--panel);
  font-size: .925rem; font-weight: 600; color: var(--navy);
}
.on-dark .pills li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: var(--white); }

/* ---------- Infrastructure ---------- */
.infra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.infra__media { border-radius: var(--radius-lg); }
.infra__note { font-size: .925rem; margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.stat { padding: 18px 20px; border-radius: var(--radius-md); background: var(--panel); }
.stat .icon { color: var(--navy); margin-bottom: 12px; }
.stat__value { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; color: var(--navy); margin-bottom: 4px; letter-spacing: -.02em; }
.stat__value.is-pending { font-size: 1.05rem; font-weight: 800; color: var(--orange-ink); padding: 6px 0 4px; letter-spacing: 0; }
.stat__unit { font-size: .55em; font-weight: 700; margin-left: 4px; color: var(--gray-text); }
.stat__label { font-size: .875rem; font-weight: 600; }
.section--gray .stat { background: var(--white); }
@media (max-width: 899px) { .infra { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__title { font-size: clamp(2.3rem, 4.8vw, 3.75rem); line-height: 1.02; letter-spacing: -.03em; }
.contact__title span:not(.hl) { color: var(--orange); }
.contact-list { display: grid; gap: 14px; margin-top: 32px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex: none;
  display: grid; place-items: center; background: var(--cream); color: var(--orange-ink);
}
.contact-list__label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-text); }
.contact-list__value { font-weight: 600; color: var(--navy); text-decoration: none; word-break: break-word; }
a.contact-list__value:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }

.form-card { background: var(--panel); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--navy); }
.field .req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--field-border); border-radius: var(--radius-sm);
  color: var(--navy); font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.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' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(194, 65, 12, .35), 0 0 0 1px var(--navy);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field__error { font-size: .8125rem; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { font-size: .8125rem; }
/* SEND REQUEST is the action button */
.form-foot .btn--primary { background: var(--orange-ink); }
.form-foot .btn--primary:hover { background: var(--orange-ink-hover); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-md); font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #E7F6EC; color: var(--success); }
.form-status.is-error { background: #FDECEA; color: var(--error); }
.btn[aria-busy="true"] { cursor: progress; }
.spinner {
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: currentColor;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-card.is-sending form .field { opacity: .6; transition: opacity .2s var(--ease); }

/* Success panel (replaces the form after sending) */
.form-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(24px, 5vw, 48px) 8px; outline: none;
  animation: rise .5s var(--ease) both;
}
.form-success[hidden] { display: none; }
.form-success__icon {
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center;
  background: #E7F6EC; color: var(--success);
  box-shadow: 0 0 0 10px rgba(15, 122, 61, .06);
}
.form-success__icon .icon { width: 36px; height: 36px; }
.form-success h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 10px; }
.form-success p { max-width: 30rem; margin: 0 0 24px; font-size: 1.025rem; }

@media (max-width: 899px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 559px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- Closing band ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 140% at 100% 50%, rgba(234, 88, 12, .22), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, .82);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0; letter-spacing: -.025em; }
.cta-band h2 span { color: var(--orange-on-dark); display: inline-block; }
.cta-band p { margin: 8px 0 0; max-width: 36rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 559px) { .cta-band .btn, .cta-band__actions { width: 100%; } }

/* ---------- Footer (thin line) ---------- */
.site-footer { color: var(--gray-text); font-size: .9rem; }
.footer-line {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding-block: 28px 32px;
  /* thin line aligned with the content (not with the container padding) */
  background: linear-gradient(var(--border), var(--border)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a { text-decoration: none; font-weight: 600; color: var(--navy); }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.footer-copy { margin: 0; font-size: .85rem; }
@media (max-width: 699px) { .footer-line { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   Home (BRIEF.md layout, 2026-12-02)
   ========================================================================== */

/* EN / ES selector */
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius-pill); }
.lang-switch a {
  min-width: 38px; padding: 6px 10px; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-align: center;
  color: var(--gray-text); text-decoration: none;
}
.lang-switch a:hover { color: var(--navy); background: var(--panel); }
.lang-switch a[aria-current] { background: var(--navy); color: var(--white); }

/* Hero: "LOADEX" above the tagline */
.hero-card__brand {
  display: block; margin-bottom: 14px;
  font-size: .9rem; font-weight: 800; letter-spacing: .32em; color: var(--orange-on-dark);
}

.hero-card__line { display: block; }

/* Services: 4 cards, photo on top, orange-dot task list */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-card__body { padding: 20px 22px 24px; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
@media (max-width: 1099px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px)  { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Operations: 5 cards in a row; on smaller screens the last row is centered */
.ops-row { --cols: 5; --gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.op-card {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.op-card__body { padding: 16px 18px 20px; }
.op-card__num { display: block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; color: var(--orange-ink); margin-bottom: 4px; }
.op-card h3 { font-size: 1.1rem; margin: 0; }
@media (max-width: 1099px) { .ops-row { --cols: 3; } }
@media (max-width: 699px)  { .ops-row { --cols: 2; --gap: 12px; } .op-card__body { padding: 12px 14px 16px; } .op-card h3 { font-size: 1rem; } }
@media (max-width: 339px)  { .ops-row { --cols: 1; } }
.op-card .media__ph-label { font-size: .85rem; }
@media (max-width: 699px) { .op-card .media__ph-label { display: none; } }

/* Infrastructure: photo left, figures + equipment + photo slots right */
.infra { align-items: stretch; }
.infra__media { aspect-ratio: auto; min-height: 320px; }
@media (max-width: 899px) { .infra__media { aspect-ratio: 16 / 9; min-height: 0; } }
.infra__side .stats { margin-bottom: 26px; }
.infra__side .dot-list--lg { margin: 0 0 26px; }
.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.thumbs figure { margin: 0; }
.thumbs .media { border-radius: var(--radius-md); }
.thumbs .media__ph-label { display: none; }  /* the caption below already names it */
.thumbs figcaption { margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--navy); }

/* About: navy positioning panel + cream focus panel */
.about-panels { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.panel--cream { background: var(--cream); border-color: var(--cream); }
.about__title { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 28px; }
.link-arrow--light { color: var(--white); }
.link-arrow--light .icon { color: var(--orange-on-dark); }
.about-panels .panel { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 899px) { .about-panels { grid-template-columns: minmax(0, 1fr); } }

/* Target customers panel */
.customers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; background: var(--panel); border-color: var(--panel); }
.customers .section-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.pills--lg li { padding: 10px 18px; font-size: 1rem; background: var(--white); }
@media (max-width: 899px) { .customers { grid-template-columns: minmax(0, 1fr); } }

/* Contact: WhatsApp Business box */
.wa-box { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; }


/* ---------- Full-screen hero; the header sits over the photo and scrolls away ---------- */
.page-home .site-header { position: absolute; left: 0; right: 0; top: 16px; }
/* No white bar: logo, tagline and EN/ES sit directly on the photo */
.page-home .site-header .brand { color: var(--white); }
.page-home .site-header .brand__sub { color: rgba(255, 255, 255, .8); }
.page-home .site-header .header-tagline { color: var(--orange-on-dark); text-shadow: 0 1px 8px rgba(7, 21, 40, .6); }
.page-home .site-header .lang-switch { border-color: rgba(255, 255, 255, .35); }
.page-home .site-header .lang-switch a { color: rgba(255, 255, 255, .85); }
.page-home .site-header .lang-switch a:hover { color: var(--white); background: rgba(255, 255, 255, .12); }
.page-home .site-header .lang-switch a[aria-current] { background: var(--white); color: var(--navy); }

.hero--full {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 56px) 0 clamp(48px, 8vh, 96px);
  margin-bottom: clamp(56px, 8vw, 96px);
  background: var(--navy-900); color: var(--white);
}
.hero--full .hero-card__media { position: absolute; inset: 0; z-index: -2; }
.hero--full .hero-card__media img { object-position: 65% 50%; }
.hero--full .hero-card__overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 21, 40, .7) 0%, rgba(7, 21, 40, 0) 24%),  /* behind the header */
    linear-gradient(90deg, rgba(7, 21, 40, .9) 0%, rgba(7, 21, 40, .72) 34%, rgba(7, 21, 40, .2) 66%, rgba(7, 21, 40, .05) 100%),
    linear-gradient(0deg, rgba(7, 21, 40, .55) 0%, rgba(7, 21, 40, 0) 40%);
}
.hero--full__inner { position: relative; width: 100%; }
.hero--full .hero-card__content { padding: 0; max-width: 48rem; }
.hero--full .hero-card__title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
/* Phones and portrait tablets: text at the bottom of the photo */
@media (max-width: 699px), (orientation: portrait) and (max-width: 1100px) {
  .hero--full { align-items: flex-end; }
  .hero--full .hero-card__overlay {
    background:
      linear-gradient(180deg, rgba(7, 21, 40, .6) 0%, rgba(7, 21, 40, 0) 18%),
      linear-gradient(0deg, rgba(7, 21, 40, .95) 0%, rgba(7, 21, 40, .78) 45%, rgba(7, 21, 40, .15) 85%);
  }
}
@media (max-width: 599px) { .hero--full .hero__actions .btn { flex: 1 1 100%; } }

/* ---------- 404 ---------- */
.error-page {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 60vh; margin-block: clamp(24px, 6vw, 64px);
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius-xl);
  background: radial-gradient(70% 120% at 100% 0%, rgba(234, 88, 12, .22), transparent 60%), var(--navy);
  color: rgba(255, 255, 255, .85);
}
.error-page h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.error-page p { max-width: 36rem; }
.error-code { font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: .9; color: var(--orange-on-dark); margin-bottom: 12px; letter-spacing: -.04em; }
.error-page .hero__actions { margin-top: 20px; }

/* ---------- WhatsApp float + cookie banner ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: var(--navy-900);
  box-shadow: 0 12px 30px -10px rgba(7, 21, 40, .55);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float[hidden] { display: none; }

.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 95;
  max-width: 420px; padding: 18px 20px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  font-size: .9rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-bottom: 12px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 559px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-card__content > * { animation: rise .8s var(--ease) both; }
.hero-card__content > *:nth-child(2) { animation-delay: .08s; }
.hero-card__content > *:nth-child(3) { animation-delay: .16s; }
.hero-card__content > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .spinner { animation: spin 1.6s linear infinite !important; }  /* essential status indicator */
}
