/* ================================================================
   LABA Studio — DEV (Design System implementation)
   Tokens from: LABA Studio Design System/colors_and_type.css
   Layout/components from: LABA Studio Design System/redesign/
   ================================================================ */

@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-Latin.woff2') format('woff2-variations'),
       url('./fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-Latin-Italic.woff2') format('woff2-variations'),
       url('./fonts/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

:root {
  /* Brand palette — Transporte PETI (rojo + amarillo · moderno/sobrio) */
  --color-red:         #DA241B;   /* primary brand / CTAs */
  --color-red-dark:    #B11A14;
  --color-yellow:      #FFC20A;   /* accent (líneas, chips, hover) */
  --color-charcoal:    #1A1A1A;   /* headings, texto, secciones oscuras */
  --color-ink-2:       #2A2A2A;
  --color-white:       #FFFFFF;
  --color-ice:         #F6F5F2;   /* fondo de sección, blanco cálido */
  --color-ice-mid:     #ECEAE4;
  --color-gray-light:  #E4E2DC;
  --color-gray:        #57534E;   /* texto secundario, AA sobre blanco e ice */
  --color-gray-soft:   #C9C6BF;   /* texto sobre charcoal */

  /* Semantic shortcuts (se conservan los nombres para reutilizar componentes) */
  --navy:    var(--color-charcoal);
  --azul:    var(--color-red);
  --ice:     var(--color-ice);
  --ice2:    var(--color-ice-mid);
  --white:   var(--color-white);
  --gray:    var(--color-gray);
  --gray-lt: var(--color-gray-light);
  --cyan:    var(--color-yellow);

  /* Layout */
  --max:    1160px;
  --radius: 10px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 30px 15px rgba(51, 51, 51, 0.10);
  --shadow-btn:  0 10px 10px 0 rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 2px 16px rgba(26, 26, 26, 0.07);

  /* Type */
  --font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--azul); text-decoration: none; }
a:hover { opacity: 0.85; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================
   A11Y — skip link + global focus-visible
   ========================================= */
.skip-link {
  position: absolute;
  top: 0; left: 0;
  padding: 10px 18px;
  background: var(--azul);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 6px 0;
  transform: translateY(-120%);
  transition: transform 0.18s ease;
  z-index: 2000;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  opacity: 1;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.form-submit:focus-visible,
.nav-cta:focus-visible {
  outline-color: var(--navy);
}

/* =========================================
   NAV
   ========================================= */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-lt);
  transition: box-shadow 0.2s ease, transform 0.28s ease;
  transform: translateY(0);
  will-change: transform;
}
#nav.scrolled { box-shadow: var(--shadow-soft); }
#nav.nav-hidden { transform: translateY(-100%); }
/* Spacer so fixed nav doesn't overlap hero */
body { padding-top: 68px; }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 19px; letter-spacing: 0.04em; color: var(--navy);
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo span { line-height: 1; }
.nav-logo small {
  display: block; font-size: 8px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy);
}

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--navy); transition: color 0.15s;
}
.nav-links a:hover { color: var(--azul); opacity: 1; }

.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-weight: 700 !important; font-size: 14px !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.85 !important; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all 0.2s;
}

/* Active section marker */
.nav-links a[aria-current="page"] {
  color: var(--azul);
  position: relative;
}
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--azul); border-radius: 1px;
}

.nav-mobile {
  display: none; background: #fff; border-top: 1px solid var(--gray-lt);
  padding: 20px 32px 24px;
}
.nav-mobile a {
  display: block; padding: 10px 0; font-size: 17px; font-weight: 500;
  color: var(--navy); border-bottom: 1px solid var(--gray-lt);
}
.nav-mobile a:last-child { border-bottom: none; }

/* =========================================
   SECTIONS / TYPE
   ========================================= */
section { padding: 96px 0; }
section.bg-ice  { background: var(--ice); }
section.bg-navy { background: var(--navy); }

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--azul); margin-bottom: 16px;
}
.section-label.light { color: var(--cyan); }

h1 {
  font-size: clamp(40px, 5.5vw, 66px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.025em; color: var(--navy);
}
h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.02em; color: var(--navy);
}
h2.light { color: #fff; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }

p.lead { font-size: 18px; line-height: 1.65; color: var(--gray); }
p.lead.light { color: var(--color-gray-soft); }

.divider {
  width: 48px; height: 3px; background: var(--azul);
  border-radius: 2px; margin: 20px 0 32px;
}
.divider.white { background: var(--cyan); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-family);
  font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { opacity: 0.87; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--azul);  color: #fff; }
.btn-navy    { background: var(--navy);  color: #fff; }
.btn-ghost   { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-white   { background: #fff; color: var(--navy); }
.btn-wa      { background: #25D366; color: #fff; }
.btn-full    { width: 100%; }

/* =========================================
   HERO
   ========================================= */
#hero {
  padding: 48px 0 88px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-isotipo {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  height: 520px; opacity: 0.07; pointer-events: none; user-select: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ice); border-radius: var(--radius-pill);
  padding: 6px 16px; font-size: 13px; font-weight: 700; color: var(--azul);
  margin-bottom: 28px;
}
.hero-tag::before {
  content: ''; display: block; width: 7px; height: 7px;
  background: var(--azul); border-radius: 50%;
}
.hero-desc {
  font-size: 18px; color: var(--gray); line-height: 1.65;
  margin: 24px 0 36px; max-width: 480px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 18px 0 0;
  font-size: 13px; font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.01em;
}
.hero-chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chip-dot { animation: none; }
}

/* =========================================
   STACKS SECTION (logo-wall as text chips)
   ========================================= */
.stacks-section {
  padding: 56px 0 64px;
  border-top: 1px solid var(--gray-lt);
  border-bottom: 1px solid var(--gray-lt);
  background: var(--white);
}
.stacks-title {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray);
  text-align: center; margin-bottom: 32px;
}
.stacks-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  list-style: none;
}
.stack-chip {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px;
  padding: 18px 14px;
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.stack-chip:hover {
  border-color: var(--azul);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.06);
}
.stack-name {
  font-size: 14px; font-weight: 700; color: var(--navy);
  letter-spacing: -0.01em;
}
.stack-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--azul);
}
.stacks-note {
  font-size: 12px; color: var(--gray);
  text-align: center; margin-top: 24px; font-style: italic;
  max-width: 640px; margin-left: auto; margin-right: auto;
}

.hero-cards { display: flex; flex-direction: column; gap: 16px; }
.hcard {
  display: block; text-decoration: none;
  background: var(--ice); border-radius: var(--radius);
  padding: 24px 28px; border-left: 3px solid var(--azul);
  color: var(--navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hcard:hover {
  opacity: 1;
  transform: translateX(4px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
}
.hcard:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
}
.hcard h3 { font-size: 16px; margin-bottom: 4px; color: var(--navy); }
.hcard p  { font-size: 14px; color: var(--gray); line-height: 1.5; margin-bottom: 10px; }
.hcard-cta {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--azul);
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--gray-lt);
  border-radius: var(--radius); overflow: hidden;
  margin-top: 16px;
}
.hstat { background: #fff; padding: 20px; text-align: center; }
.hstat-n { font-size: 26px; font-weight: 900; color: var(--azul); line-height: 1; }
.hstat-l { font-size: 12px; color: var(--gray); margin-top: 4px; line-height: 1.3; }

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--gray-lt); border-radius: var(--radius); overflow: hidden;
  margin-top: 56px;
}
.svc-block { background: #fff; padding: 48px 40px; }
.svc-block.navy { background: var(--navy); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.svc-icon img { width: 24px; height: 24px; }
.svc-icon.ice  { background: var(--ice); }
.svc-icon.dark { background: var(--azul); }
.svc-block h3 { font-size: 22px; margin-bottom: 10px; }
.svc-block h3.light { color: #fff; }
.svc-block p { color: var(--gray); font-size: 15px; line-height: 1.65; margin: 10px 0 20px; }
.svc-block p.light { color: var(--color-gray-soft); }
.svc-features {
  list-style: none; margin: 20px 0 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--gray);
}
.svc-features li.light { color: var(--color-gray-soft); }
.svc-features li::before {
  content: ''; flex-shrink: 0; width: 5px; height: 5px;
  border-radius: 50%; background: var(--azul); margin-top: 8px;
}
.svc-features li.light::before { background: var(--cyan); }

/* =========================================
   SVC SECTIONS (Tiendas / Landings — dev2 split)
   ========================================= */
.svc-section-head { max-width: 720px; margin-bottom: 40px; }
.svc-section-head .svc-icon.svc-icon-lg {
  width: 68px; height: 68px; border-radius: 18px;
  margin-bottom: 20px;
}

.svc-detail-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 24px; align-items: start;
}
/* Zigzag: invertir orden visual en la sección Landings */
.svc-detail-grid.reverse {
  grid-template-columns: 1fr 1.4fr;
}
.svc-detail-grid.reverse > .svc-detail-card:first-child  { order: 2; }
.svc-detail-grid.reverse > .svc-detail-card:last-child   { order: 1; }
.svc-detail-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 36px; border: 1px solid var(--gray-lt);
}
.svc-detail-card h3 {
  font-size: 17px; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--gray-lt);
}
.svc-detail-card h3.light { color: #fff; border-bottom-color: rgba(255,255,255,0.12); }
.svc-detail-card-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.svc-detail-meta { display: flex; flex-direction: column; }

/* Grid 50/50 para dos sub-bloques equivalentes (Marketing Digital) */
.svc-detail-grid.equal { grid-template-columns: 1fr 1fr; }

/* Card variante "pitch": icono pequeño + h3 descriptivo + párrafo + items + CTA */
.svc-detail-card.svc-detail-pitch { display: flex; flex-direction: column; }
.svc-detail-card.svc-detail-pitch h3 {
  font-size: 19px; line-height: 1.35;
  margin-bottom: 12px; padding-bottom: 0; border-bottom: 0;
}
.svc-detail-card.svc-detail-pitch p {
  color: var(--gray); font-size: 15px; line-height: 1.65;
  margin-bottom: 18px;
}
.svc-detail-card.svc-detail-pitch .svc-features { margin-bottom: auto; }
.svc-pitch-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ice);
  color: var(--azul);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-meta-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px dashed var(--gray-lt);
  gap: 16px;
}
.svc-meta-row:first-child { padding-top: 0; }
.svc-meta-row.light { border-bottom-color: rgba(255, 255, 255, 0.10); }
.svc-meta-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray);
}
.svc-meta-row.light .svc-meta-label { color: var(--color-gray-soft); }
.svc-meta-value {
  font-size: 15px; font-weight: 700; color: var(--navy);
  text-align: right;
}
.svc-meta-row.light .svc-meta-value { color: #fff; }

/* =========================================
   WHY US
   ========================================= */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.why-card {
  padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--gray-lt); background: #fff;
}
.why-card h3 {
  font-size: 17px; margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-lt);
}
.why-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.why-list li {
  font-size: 14px; color: var(--gray);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.4;
}
.why-list li::before {
  content: '✓'; color: var(--azul); font-weight: 900;
  flex-shrink: 0; font-size: 13px; margin-top: 1px;
}

/* =========================================
   PROCESS
   ========================================= */
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(255, 255, 255, 0.1); border-radius: var(--radius);
  overflow: hidden; margin-top: 56px;
}
.pstep { background: var(--navy); padding: 36px 28px; position: relative; }
.pstep-num {
  font-size: 56px; font-weight: 900;
  color: var(--cyan); opacity: 0.55;
  line-height: 1; margin-bottom: 16px;
}
.pstep h3 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.pstep p  { font-size: 14px; color: var(--color-gray-soft); line-height: 1.55; }
.pstep-accent {
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--azul);
}
.pstep:nth-child(even) .pstep-accent { background: var(--cyan); }

/* =========================================
   SUPPORT
   ========================================= */
.support-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: 760px; margin: 56px auto 0;
}
.support-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-lt); background: #fff;
}
.support-head {
  padding: 28px 32px; background: var(--ice);
  border-bottom: 1px solid var(--gray-lt);
}
.support-head h3 { font-size: 20px; margin-bottom: 4px; }
.support-head p  { font-size: 14px; color: var(--gray); }
.support-body { padding: 28px 32px; }
.support-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.support-list li {
  font-size: 14px; color: var(--gray);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.4;
}
.support-list li::before {
  content: ''; flex-shrink: 0; width: 5px; height: 5px;
  border-radius: 50%; background: var(--azul); margin-top: 8px;
}
.support-note {
  font-size: 13px; color: #888; line-height: 1.5;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--gray-lt); font-style: italic;
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
  margin-top: 56px; border: 1px solid var(--gray-lt);
  border-radius: var(--radius); overflow: hidden; background: #fff;
}
.faq-item { border-bottom: 1px solid var(--gray-lt); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-family);
  font-size: 16px; font-weight: 700; color: var(--navy);
  line-height: 1.4; transition: background 0.15s;
}
.faq-q:hover { background: var(--ice); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ice);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.15s;
}
.faq-icon svg { width: 12px; height: 12px; stroke: var(--azul); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--azul); }
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a {
  display: none; padding: 0 28px 22px;
  font-size: 15px; color: var(--gray); line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* =========================================
   CONTACT
   ========================================= */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-left h2 { margin-bottom: 8px; }
.contact-left p {
  color: var(--gray); font-size: 16px; line-height: 1.65; margin: 20px 0 32px;
}
.contact-wa {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--navy); font-weight: 700; font-size: 16px;
  border: 1px solid var(--gray-lt);
  transition: border-color 0.15s;
}
.contact-wa:hover { border-color: #25D366; opacity: 1; }
.contact-wa-icon {
  width: 44px; height: 44px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-wa-icon svg { width: 22px; height: 22px; fill: #fff; }
.contact-wa small {
  display: block; font-weight: 400; font-size: 13px; color: var(--gray);
}
.contact-alt { margin-top: 24px; font-size: 14px; color: var(--gray); }

.contact-form {
  background: #fff; border: 1px solid var(--gray-lt);
  border-radius: var(--radius); padding: 36px;
}
.contact-form h3 { margin-bottom: 4px; }
.contact-form .form-intro {
  font-size: 14px; color: var(--gray); margin-bottom: 24px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px; letter-spacing: 0.02em;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--gray-lt); border-radius: 8px;
  font-family: var(--font-family); font-size: 15px; color: var(--navy);
  background: #fff; outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--azul); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; background: var(--azul); color: #fff; border: none;
  border-radius: var(--radius-pill); padding: 15px;
  font-family: var(--font-family); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: opacity 0.15s; margin-top: 4px;
}
.form-submit:hover { opacity: 0.87; }
.form-success { text-align: center; padding: 40px 20px; display: none; }
.form-success-mark {
  font-size: 40px; margin-bottom: 16px; color: var(--azul);
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p  { color: var(--gray); font-size: 15px; }

/* =========================================
   FOOTER
   ========================================= */
footer { background: var(--navy); padding: 64px 0 32px; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; color: #fff; font-weight: 900; font-size: 18px;
}
.footer-logo img { height: 28px; }
.footer-desc {
  font-size: 14px; color: var(--color-gray-soft);
  line-height: 1.65; max-width: 260px; margin-bottom: 24px;
}
.footer-social a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--cyan); font-weight: 700;
  padding: 6px 12px; border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9999px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.footer-social a:hover {
  background: var(--cyan); color: var(--navy);
  border-color: var(--cyan); opacity: 1;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-col a {
  display: flex; align-items: center; gap: 10px;
}
.footer-col a svg {
  width: 14px; height: 14px; flex-shrink: 0;
  color: var(--cyan);
  opacity: 0.85;
}
.footer-col a:hover svg { opacity: 1; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--color-gray-soft);
  margin-bottom: 10px; transition: color 0.15s;
}
.footer-col a:hover { color: #fff; opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap; gap: 12px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.35); margin-left: 16px;
  background: none; border: none; cursor: pointer; font: inherit; padding: 0;
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.6); opacity: 1; }

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  opacity: 1;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* =========================================
   LEGAL MODALS
   ========================================= */
.legal-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  background: rgba(26, 26, 26, 0.55);
  padding: 20px;
}
.legal-modal[aria-hidden="false"] { display: flex; }
.legal-modal-content {
  background: #fff; border-radius: 12px;
  max-width: 640px; width: 100%; max-height: 85vh;
  overflow-y: auto; padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(26, 26, 26, 0.25);
}
.legal-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ice); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--navy); line-height: 1;
}
.legal-modal-close:hover { background: var(--ice2); }
.legal-modal-title {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-right: 32px;
}
.legal-modal-body { font-size: 15px; color: var(--gray); line-height: 1.65; }
.legal-modal-body p { margin-bottom: 12px; }
.legal-modal-footer {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--gray-lt);
  font-size: 13px; color: #888;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .wa-float, #nav { transition: none; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-isotipo { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-detail-grid,
  .svc-detail-grid.reverse,
  .svc-detail-grid.equal { grid-template-columns: 1fr; }
  .svc-detail-grid.reverse > .svc-detail-card:first-child,
  .svc-detail-grid.reverse > .svc-detail-card:last-child { order: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 900px) {
  .stacks-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-stats { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .why-grid { gap: 16px; }
  .wa-float { bottom: 20px; right: 20px; }
  .svc-block { padding: 36px 28px; }
  .legal-modal-content { padding: 28px 24px; }
  .stacks-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   TRANSPORTE PETI — componentes específicos del rediseño
   (sobre el design system base; rojo=--azul, amarillo=--cyan,
    carbón=--navy)
   ================================================================ */

/* Logo de marca en nav/footer */
.nav-logo .brand-peti { color: var(--azul); font-weight: 900; letter-spacing: 0.02em; }
.nav-logo .brand-sub  { color: var(--navy); }

/* Acento amarillo bajo títulos clave (variante del divider) */
.divider.accent { background: var(--cyan); }

/* ---- HERO con foto ---- */
.hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; gap: 18px;
  background: rgba(26, 26, 26, 0.82);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: #fff; padding: 12px 18px; border-radius: 12px;
}
.hero-media-badge .n { font-size: 20px; font-weight: 900; line-height: 1; color: var(--cyan); }
.hero-media-badge .l { font-size: 11px; font-weight: 600; opacity: 0.85; letter-spacing: 0.02em; }
.hero-media-badge > div { display: flex; flex-direction: column; gap: 4px; }

/* ---- Banda de stats (reusa .hero-stats fuera del hero) ---- */
.stat-band { margin-top: 0; }

/* ---- Grilla de servicios (overview) ---- */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 12px;
}
.feat-card {
  background: #fff; border: 1px solid var(--gray-lt);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.feat-ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ice); color: var(--azul); margin-bottom: 16px;
}
.feat-card h3 { margin-bottom: 8px; }
.feat-card p { font-size: 15px; color: var(--gray); }
.feat-card .feat-meta { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--azul); }

/* ---- Cobertura ---- */
.cov-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 12px;
}
.cov-col {
  background: #fff; border: 1px solid var(--gray-lt);
  border-radius: var(--radius); padding: 24px 22px;
}
.cov-col h3 {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 2px solid var(--cyan);
}
.cov-col h3 svg { color: var(--azul); }
.cov-list { list-style: none; }
.cov-list li {
  font-size: 15px; color: var(--gray); padding: 4px 0;
}
.cov-note { margin-top: 18px; font-size: 14px; color: var(--gray); }

/* ---- Flota / galería ---- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 12px;
}
.gallery a {
  display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--ice2);
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery a:hover img { transform: scale(1.05); }
.gallery .span-2 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ---- Sucursales (contacto) ---- */
.branch-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 12px;
}
.branch-card {
  background: #fff; border: 1px solid var(--gray-lt);
  border-radius: var(--radius); padding: 28px 26px;
}
.branch-card.is-main { border-top: 4px solid var(--azul); }
.branch-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--azul); margin-bottom: 6px;
}
.branch-card h3 { font-size: 21px; margin-bottom: 12px; }
.branch-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--gray); padding: 5px 0;
}
.branch-row svg { color: var(--azul); flex-shrink: 0; margin-top: 3px; }
.branch-row a { color: var(--gray); }
.branch-row a:hover { color: var(--azul); opacity: 1; }

/* ---- Mapa embed ---- */
.map-embed {
  margin-top: 28px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-lt); line-height: 0;
}
.map-embed iframe { width: 100%; height: 360px; border: 0; }

/* ---- Page header (servicios / contacto) ---- */
.page-head { padding: 60px 0 8px; background: var(--ice); text-align: center; }
.page-head .container { max-width: 760px; }
.page-head h1 { font-size: clamp(34px, 4.5vw, 52px); }
.page-head .divider { margin-left: auto; margin-right: auto; }
.page-head p.lead { margin: 0 auto; }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .feat-grid, .cov-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .hero-media { aspect-ratio: 16 / 11; margin-top: 8px; }
  .feat-grid, .cov-grid, .branch-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .span-2 { grid-column: span 2; grid-row: auto; }
}

/* ---- servicios.html: grilla de 2 columnas + chips de datos ---- */
.feat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feat-card .svc-features { margin: 16px 0 0; }
.feat-data {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px;
}
.feat-data span {
  font-size: 12px; font-weight: 700; color: var(--navy);
  background: var(--ice2); border-radius: var(--radius-pill);
  padding: 5px 12px;
}
.feat-card.span-all { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .feat-grid.cols-2 { grid-template-columns: 1fr; }
}

/* ---- Crédito de autoría LABA Studio (footer) ---- */
.footer-credit {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 500;
  margin-left: 16px; transition: color 0.15s, opacity 0.15s;
}
.footer-credit img { height: 22px; width: auto; }
.footer-credit strong { color: #fff; font-weight: 800; letter-spacing: 0.02em; }
.footer-credit:hover { color: rgba(255,255,255,0.85); opacity: 1; }
