:root{
    --navy-900:#0B2540;
    --navy-700:#123A5E;
    --blue-500:#1E6094;
    --orange-500:#FF6A1A;
    --orange-300:#FFA15C;
    --paper:#F2F5F8;
    --ink:#0B1620;
    --muted:#5C7186;
    --muted-light:#AFC2D4;
    --line-dark:rgba(255,255,255,.14);
    --line-light:rgba(11,37,64,.14);
    --radius:5px;
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

  body{
    font-family:'Inter',sans-serif;
    color:var(--ink);
    background:var(--paper);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }

  h1,h2,h3{font-family:'Space Grotesk',sans-serif;letter-spacing:-0.01em;}
  a{color:inherit;}
  img,svg{display:block;}

  .container{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:0 24px;
  }

  .mono{font-family:'JetBrains Mono',monospace;}

  .eyebrow{
    font-family:'JetBrains Mono',monospace;
    font-size:12.5px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--orange-500);
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
  }
  .eyebrow .dot{width:6px;height:6px;background:var(--orange-500);display:inline-block;border-radius:1px;}

  /* ---------- Buttons ---------- */
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 26px;
    font-weight:600;
    font-size:15px;
    border-radius:var(--radius);
    text-decoration:none;
    border:1.5px solid transparent;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    cursor:pointer;
    white-space:nowrap;
  }
  .btn-orange{background:var(--orange-500);color:var(--ink);}
  .btn-orange:hover{background:var(--orange-300);transform:translateY(-2px);box-shadow:0 10px 24px rgba(255,106,26,.32);}
  .btn-outline{border-color:rgba(255,255,255,.45);color:#fff;}
  .btn-outline:hover{border-color:var(--orange-500);color:var(--orange-500);transform:translateY(-2px);}
  .btn-navy{background:var(--navy-900);color:#fff;}
  .btn-navy:hover{background:var(--blue-500);transform:translateY(-2px);box-shadow:0 10px 22px rgba(11,37,64,.28);}
  .btn-sm{padding:10px 18px;font-size:13.5px;}

  /* ---------- Crosshairs (signature motif) ---------- */
  .crosshair{position:absolute;width:16px;height:16px;pointer-events:none;}
  .crosshair::before,.crosshair::after{content:"";position:absolute;background:var(--orange-500);opacity:.85;}
  .crosshair::before{width:16px;height:2px;top:7px;left:0;}
  .crosshair::after{width:2px;height:16px;left:7px;top:0;}
  .crosshair.tl{top:18px;left:18px;}
  .crosshair.tr{top:18px;right:18px;}
  .crosshair.bl{bottom:18px;left:18px;}
  .crosshair.br{bottom:18px;right:18px;}
  .crosshair.light::before,.crosshair.light::after{background:var(--navy-900);}

  /* ---------- Header ---------- */
.header-logo {
  width: 500px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .header-logo {
    width: 400px;
    height: 40px;
  }
}

  .site-header{
    position:sticky;top:0;z-index:50;
    background:rgba(255, 255, 255, 0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-light);
  }
  .header-inner{
    display:flex;align-items:center;justify-content:space-between;
    height:78px;
  }
  .logo{display:flex;flex-direction:column;text-decoration:none;line-height:1;}
  .logo-word{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:22px;color:var(--navy-900);letter-spacing:-0.02em;}
  .logo-word span{color:var(--orange-500);}
  .logo-tag{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.16em;color:var(--muted);margin-top:3px;}

  .nav{display:flex;align-items:center;gap:30px;}
  .nav-links{display:flex;align-items:center;gap:28px;}
  .nav-links a{
    text-decoration:none;color:var(--navy-900);font-weight:500;font-size:14.5px;
    position:relative;
  }
  .nav-links a::after{
    content:"";position:absolute;left:0;bottom:-6px;width:0;height:2px;background:var(--orange-500);
    transition:width .2s ease;
  }
  .nav-links a:hover::after{width:100%;}

  .nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px;}
  .nav-toggle span{width:22px;height:2px;background:var(--navy-900);display:block;transition:transform .25s ease, opacity .25s ease;}
  .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
  .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    background:var(--navy-900);
    overflow:hidden;
    padding:108px 0 96px;
  }
  .hero-grid-bg{
    position:absolute;inset:0;
    background-image:
      linear-gradient(var(--line-dark) 1px, transparent 1px),
      linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size:42px 42px;
    mask-image:radial-gradient(ellipse 80% 70% at 50% 30%, black 40%, transparent 90%);
    opacity:.55;
  }
  .hero-ring{
    position:absolute;border:1px dashed rgba(255,106,26,.35);border-radius:50%;
  }
  .hero-ring.r1{width:520px;height:520px;top:-180px;right:-160px;}
  .hero-ring.r2{width:300px;height:300px;bottom:-140px;left:-80px;border-color:rgba(255,255,255,.12);}

  .hero-tag{
    position:absolute;top:24px;right:24px;
    font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.1em;
    color:var(--muted-light);
  }

  .hero-inner{position:relative;z-index:2;max-width:760px;}
  .hero h1{
    color:#fff;font-size:clamp(34px,5.2vw,56px);font-weight:700;line-height:1.1;margin-bottom:22px;
  }
  .hero h1 .accent{color:var(--orange-500);}
  .hero-sub{
    color:var(--muted-light);font-size:17px;max-width:620px;margin-bottom:36px;
  }
  .hero-ctas{display:flex;gap:16px;flex-wrap:wrap;}

  /* ---------- Section base ---------- */
  section{padding:90px 0;}
  .section-light{background:var(--paper);}
  .section-dark{background:var(--navy-900);position:relative;}
  h2{font-size:clamp(26px,3.4vw,38px);color:inherit;font-weight:700;margin-bottom:14px;}
  .section-dark h2{color:#fff;}
  .section-light h2{color:var(--navy-900);}
  .section-lead{color:var(--muted);font-size:16px;margin-bottom:48px;max-width:520px;}
  .section-dark .section-lead{color:var(--muted-light);}

  /* ---------- Category cards ---------- */
  .card-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
  }
  .cat-card{
    display:block;text-decoration:none;
    background:var(--navy-700);
    border:1px solid rgba(255,255,255,.07);
    border-top:3px solid var(--orange-500);
    border-radius:var(--radius);
    padding:30px 26px 28px;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    opacity:0; transform:translateY(16px);
  }
  .cat-card.is-visible{opacity:1;transform:none;transition:opacity .5s ease, transform .5s ease;}
  .cat-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 36px rgba(0,0,0,.28);
    border-color:rgba(255,106,26,.4);
  }
  .cat-code{
    font-family:'JetBrains Mono',monospace;font-size:11.5px;color:var(--orange-300);
    letter-spacing:.1em;margin-bottom:18px;display:block;
  }
  .cat-icon{width:42px;height:42px;color:var(--orange-500);margin-bottom:18px;}
  .cat-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
  .cat-card h3{font-family:'Space Grotesk',sans-serif;color:#fff;font-size:19px;font-weight:600;margin-bottom:8px;}
  .cat-card p{color:var(--muted-light);font-size:14.5px;}
  .cat-card .cat-link{
    margin-top:18px;font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--orange-500);
    display:flex;align-items:center;gap:6px;letter-spacing:.04em;
  }

  .stock-note{
    margin-top:44px;text-align:center;color:var(--muted);font-size:15px;font-weight:500;
    border-top:1px dashed var(--line-light);padding-top:30px;
  }

  /* ---------- Contact ---------- */
  .contact-grid{
    display:grid;grid-template-columns:repeat(2,1fr);gap:24px;
  }
  .contact-card{
    background:var(--paper);
    border-radius:var(--radius);
    padding:36px 32px;
    border:1px solid rgba(255,255,255,.08);
    opacity:0; transform:translateY(16px);
  }
  .contact-card.is-visible{opacity:1;transform:none;transition:opacity .5s ease, transform .5s ease;}
  .contact-icon{
    width:50px;height:50px;border-radius:50%;background:var(--navy-900);
    display:flex;align-items:center;justify-content:center;margin-bottom:22px;
  }
  .contact-icon svg{width:24px;height:24px;color:var(--orange-500);fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
  .contact-card h3{color:var(--navy-900);font-size:20px;margin-bottom:8px;}
  .contact-card p{color:var(--muted);font-size:15px;margin-bottom:24px;}
  .status-dot{width:8px;height:8px;border-radius:50%;background:#2BD66B;display:inline-block;box-shadow:0 0 0 3px rgba(43,214,107,.18);}

  /* ---------- Partner banner ---------- */
  .partner-banner{
    background:var(--orange-500);
    position:relative;
    padding:80px 0;
    border-top:1px dashed rgba(11,37,64,.35);
    border-bottom:1px dashed rgba(11,37,64,.35);
  }
  .partner-inner{text-align:center;max-width:680px;}
  .partner-inner h2{color:var(--ink);margin-bottom:16px;}
  .partner-inner p{color:rgba(11,22,32,.78);font-size:17px;font-weight:500;}
  .partner-inner a{text-decoration:underline;font-weight:700;}

  /* ---------- Footer ---------- */
  .site-footer{background:var(--navy-900);padding:56px 0 32px;color:var(--muted-light);}
  .footer-inner{
    display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-bottom:36px;
    border-bottom:1px solid var(--line-dark);margin-bottom:24px;
  }
  .footer-brand .logo-word{color:#fff;}
  .footer-brand p{margin-top:14px;font-size:14px;max-width:280px;color:var(--muted-light);}
  .footer-col h4{font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:.1em;color:#fff;text-transform:uppercase;margin-bottom:16px;}
  .footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
  .footer-col a{text-decoration:none;font-size:14.5px;color:var(--muted-light);transition:color .2s ease;}
  .footer-col a:hover{color:var(--orange-500);}
  .footer-bottom{
    display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
    font-family:'JetBrains Mono',monospace;font-size:11.5px;color:var(--muted-light);
  }

  /* ---------- Reveal animation ---------- */
  .reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease, transform .6s ease;}
  .reveal.is-visible{opacity:1;transform:none;}
  @media (prefers-reduced-motion:reduce){
    .reveal,.cat-card,.contact-card{opacity:1!important;transform:none!important;transition:none!important;}
  }

  /* ---------- Focus states ---------- */
  a:focus-visible, button:focus-visible{outline:2px solid var(--orange-500);outline-offset:3px;}

  /* ---------- Responsive ---------- */
  @media (max-width:980px){
    .card-grid{grid-template-columns:repeat(2,1fr);}
    .footer-inner{grid-template-columns:1fr 1fr;}
    .footer-brand{grid-column:1/-1;}
  }
  @media (max-width:860px){
    .nav-links{
      position:absolute;top:78px;left:0;right:0;
      background:var(--paper);
      flex-direction:column;align-items:flex-start;gap:0;
      border-bottom:1px solid var(--line-light);
      max-height:0;overflow:hidden;
      transition:max-height .3s ease;
    }
    .nav-links.open{max-height:260px;}
    .nav-links a{width:100%;padding:16px 24px;border-bottom:1px solid var(--line-light);}
    .nav-links a::after{display:none;}
    .nav-links .btn-sm{display:inline-flex;margin:14px 24px 18px;}
    .nav-toggle{display:flex;}
  }
  @media (max-width:640px){
    .card-grid{grid-template-columns:1fr;}
    .contact-grid{grid-template-columns:1fr;}
    .hero{padding:90px 0 70px;}
    section{padding:64px 0;}
    .hero-tag{display:none;}
    .footer-inner{grid-template-columns:1fr;}
  }

  img {
  max-width: 100%;
}


.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 120px;
  margin: 0 40px;
}


/* Animación para el carrusel de logos */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


/* ---------- Ajustes de enlaces vigentes ---------- */
.nav-links .btn-sm {
  color: var(--ink);
}

.nav-links .btn-sm::after {
  display: none;
}

.cat-card {
  cursor: pointer;
}


/* Acciones permanentes del encabezado */
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.header-quote{min-height:48px;padding:0 18px;border-radius:var(--radius);background:var(--orange-500);color:var(--ink);font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex-shrink:0;}
@media(max-width:860px){.nav{margin-left:auto;gap:10px}.header-actions{gap:6px}.header-quote{min-height:42px;padding:0 11px;font-size:11px}.header-logo{width:170px}.nav-toggle{display:flex}.nav-links{z-index:60}}
@media(max-width:640px){.header-inner{padding:0 10px}.container.header-inner{padding-left:10px;padding-right:10px}.header-logo{width:92px;height:38px}.header-actions{gap:5px}.header-quote{min-height:38px;padding:0 7px;font-size:10px}.nav-toggle{padding:5px}.nav-toggle span{width:20px}}

/* ═══ COTIZACIÓN ESPECIAL DE TRANSPORTE ═══ */
.nav-transport,
.header-transport {
  min-height: 48px;
  border: 1px solid var(--orange-500, #FF6A1A);
  border-radius: var(--radius, 7px);
  padding: 0 18px;
  background: #fff;
  color: var(--navy-900, #0B2540);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.nav-transport:hover,
.header-transport:hover {
  background: var(--navy-900, #0B2540);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11,37,64,.18);
}
.transport-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6,20,34,.58);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.transport-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.transport-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 510;
  width: 540px;
  max-width: 100vw;
  background: #fff;
  color: #0B1620;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .26s ease;
  box-shadow: -18px 0 55px rgba(11,37,64,.24);
}
.transport-drawer.open { transform: translateX(0); }
.transport-header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(11,37,64,.14);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.transport-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #0B2540;
}
.transport-subtitle {
  margin-top: 4px;
  color: #5C7186;
  font-size: 13px;
}
.transport-close {
  margin-left: auto;
  border: 1px solid rgba(11,37,64,.16);
  border-radius: 7px;
  background: #F2F5F8;
  color: #0B2540;
  padding: 8px 11px;
  font-weight: 700;
  white-space: nowrap;
}
.transport-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
}
.transport-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.transport-section-title {
  color: #FF6A1A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.transport-input {
  width: 100%;
  border: 1px solid rgba(11,37,64,.17);
  border-radius: 7px;
  background: #F8FAFC;
  color: #0B1620;
  padding: 12px 13px;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.transport-input:focus {
  border-color: #FF6A1A;
  box-shadow: 0 0 0 3px rgba(255,106,26,.12);
  background: #fff;
}
.transport-input.invalid {
  border-color: #D92D20;
  box-shadow: 0 0 0 3px rgba(217,45,32,.1);
}
.transport-notes { resize: vertical; min-height: 92px; }
.transport-note {
  color: #5C7186;
  font-size: 12px;
  line-height: 1.5;
}
.transport-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(11,37,64,.14);
  display: flex;
  gap: 10px;
}
.transport-secondary,
.transport-submit {
  min-height: 46px;
  border-radius: 7px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.transport-secondary {
  border: 1px solid rgba(11,37,64,.18);
  background: #fff;
  color: #0B2540;
}
.transport-submit {
  flex: 1;
  border: 0;
  background: #FF6A1A;
  color: #0B1620;
}
.transport-submit:hover { background: #FFA15C; }

@media (max-width: 860px) {
  .nav-transport,
  .header-transport {
    min-height: 42px;
    padding: 0 11px;
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .nav-actions,
  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-transport,
  .header-transport {
    min-height: 38px;
    padding: 0 8px;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .transport-drawer { width: 100%; }
  .transport-header,
  .transport-body,
  .transport-footer { padding-left: 16px; padding-right: 16px; }
}

/* ═══ AJUSTES RESPONSIVE PORTADA v5 ═══ */
html, body { max-width: 100%; overflow-x: hidden; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-transport, .header-quote { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; flex-shrink: 0; }
.nav-action-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; }
.nav-action-text { display: inline-block; white-space: nowrap; }

@media (max-width: 860px) {
  .header-inner { gap: 10px; }
  .header-logo { width: 190px; height: 50px; }
  .nav { margin-left: auto; }
  .nav-links { width: 100%; max-width: 100vw; overflow-x: hidden; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-transport, .header-quote { min-height: 42px; padding: 0 12px; font-size: 12px; }
}

@media (max-width: 640px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .header-inner { height: 76px; padding-left: 12px; padding-right: 12px; }
  .header-logo { width: 132px; height: 40px; }
  .header-transport, .header-quote {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    min-height: 40px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 7px;
  }
  .nav-action-text { display: none; }
  .nav-action-icon { font-size: 18px; }
  .nav-toggle { flex-shrink: 0; }
}

/* ===== KALLPEX UPDATE v2: control responsive y prevención de desborde horizontal ===== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

.site-header,
.header-inner,
.nav,
.nav-links,
.header-actions {
  max-width: 100%;
}

.header-inner {
  min-width: 0;
  gap: 14px;
}

.nav {
  min-width: 0;
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.header-transport,
.header-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
}

.nav-action-text {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .header-inner {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-logo {
    width: 150px;
    height: 42px;
    flex-shrink: 0;
  }

  .nav-links {
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    z-index: 80;
  }

  .header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .header-transport,
  .header-quote {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: var(--radius);
  }

  .header-quote {
    width: 44px;
    min-width: 44px;
  }

  .nav-action-text {
    display: none;
  }

  .nav-action-icon {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 72px;
    gap: 6px;
  }

  .header-logo {
    width: 118px;
    height: 38px;
  }

  .header-transport,
  .header-quote {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .nav-toggle {
    flex-shrink: 0;
    padding: 5px;
  }
}


/* ===== Misión y visión ===== */
.mission-vision { padding-top: 82px; }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.mv-card { background: #fff; border: 1px solid var(--line-light); border-top: 4px solid var(--orange-500); border-radius: var(--radius); padding: 30px; box-shadow: 0 18px 42px rgba(11,37,64,.08); }
.mv-code { display: inline-block; color: var(--orange-500); font-size: 12px; letter-spacing: .12em; margin-bottom: 14px; }
.mv-card h3 { color: var(--navy-900); font-size: 24px; margin-bottom: 14px; }
.mv-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }
@media (max-width: 860px) { .mv-grid { grid-template-columns: 1fr; } .mv-card { padding: 24px; } }


/* ===== Footer corporativo Kallpex ===== */
.site-footer{background:var(--navy-900);padding:56px 0 32px;color:var(--muted-light);}
.footer-inner{display:grid;grid-template-columns:1.25fr .85fr .95fr 1fr;gap:34px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.14);margin-bottom:22px;}
.footer-brand-title{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.footer-brand-title img{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:10px;padding:6px;}
.footer-brand-title span{font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:800;color:#fff;letter-spacing:-.03em;}
.footer-brand-title span span{color:var(--orange-500);}
.footer-brand p{font-size:14px;line-height:1.65;color:var(--muted-light);max-width:320px;}
.footer-col h4{font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:.1em;color:#fff;text-transform:uppercase;margin-bottom:16px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px;margin:0;padding:0;}
.footer-col a{text-decoration:none;font-size:14px;color:var(--muted-light);transition:color .2s ease;display:inline-flex;align-items:center;gap:9px;}
.footer-col a:hover{color:var(--orange-500);}
.social-mark{width:24px;height:24px;border-radius:6px;background:rgba(255,106,26,.13);color:var(--orange-500);font-size:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-family:'JetBrains Mono',monospace;font-size:11.5px;color:var(--muted-light);}
@media(max-width:980px){.footer-inner{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:640px){.site-footer{padding:42px 0 26px}.footer-inner{grid-template-columns:1fr;gap:28px}.footer-bottom{align-items:flex-start;flex-direction:column}}


/* ===== Ajustes finales responsive y formularios ===== */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.site-header, .header-inner, .nav, .nav-main, .app-layout, .main-content { max-width: 100%; }
.nav-links { max-width: 100vw; }
.nav-links.open { overflow-x: hidden; }
.transport-file-note { margin-top: -6px; }
select option[disabled][hidden] { display: none; }
@media(max-width:860px){
  .nav-links { left: 0; right: 0; width: 100%; max-width: 100vw; }
  .header-actions, .nav-actions { flex-shrink: 0; }
}

@media(max-width:640px){
  .header-transport{width:44px;min-width:44px;max-width:44px;padding-left:0!important;padding-right:0!important;justify-content:center;overflow:visible;}
  .header-transport .nav-action-text{display:none;}
  .header-transport .nav-action-icon{font-size:18px;}
}


.nav-session{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:280px;
  padding:7px 9px;
  border:1px solid rgba(11,37,64,.12);
  border-radius:999px;
  background:#fff;
  box-shadow:0 8px 20px rgba(11,37,64,.07);
  color:var(--navy-900);
  font-size:11.5px;
  font-weight:800;
}
.nav-session[hidden]{display:none!important;}
.nav-session span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.nav-session button{
  border:0;
  border-radius:999px;
  background:rgba(255,106,26,.12);
  color:var(--orange-500);
  padding:7px 10px;
  font-size:11.5px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
@media (max-width: 760px){.nav-session{display:none!important;}}


button:disabled,
button[aria-busy="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}
@media (min-width: 720px){.transport-drawer{width:min(620px,100vw)}}
