/* Muvex S.A. — estilos compartidos por todas las páginas (portada y fletes).
   Si se cambia este archivo, subir el número ?v= en los <link> de cada página. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #FF6C0E;
  --black: #000000;
  --white: #FFFFFF;
  --gray-light: #E3E3E2;
  --gray-mid: #D4D4D2;
  --gray-text: #5A5A55;
  --orange-text: #A84400;     /* naranja oscuro para texto chico sobre fondos claros (contraste AA) */
  --wa-green: #25D366;
  --wa-text: #0B1F17;         /* texto oscuro sobre verde WhatsApp (contraste AA) */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 76px;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14,19,32,0.10);
  box-shadow: 0 4px 18px rgba(14,19,32,0.05);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-decoration: none;
}

.nav-logo img {
  height: 34px;
  width: auto;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links > li { flex-shrink: 0; }

.nav-links a {
  display: inline-block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 400;
  color: #3A4352;
  text-decoration: none;
  opacity: 1;
  transition: color 0.2s;
}

.nav-links a:hover { color: #0E1320; }

/* SOCIAL ICONS EN NAV */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-social-btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.nav-social-btn svg {
  width: 16px;
  height: 16px;
  fill: white;
}

/* BOTÓN COTIZAR — más grande y con más resalte */
.nav-links .nav-cta, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--orange);
  color: #1A1200 !important;
  opacity: 1 !important;
  padding: 0 24px;
  height: 46px;
  line-height: 1;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700 !important;
  font-size: 15px;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255,108,14,0.3);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s !important;
}

.nav-links .nav-cta:hover, .nav-cta:hover {
  background: #FF8A3D;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,108,14,0.5) !important;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

/* LOGO GRANDE HERO (más chico que antes: el logo ya está en la barra) */
.hero-logo-wrap {
  margin-bottom: 32px;
  width: 100%;
}

.hero-logo-img {
  width: 100%;
  max-width: 684px;
  height: auto;
  display: block;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F3F5F8 52%, #E9EDF3 100%);
  position: relative;
  overflow: hidden;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 14% 86%, rgba(255,108,14,0.13) 0%, transparent 52%),
                    radial-gradient(circle at 86% 14%, rgba(20,90,180,0.10) 0%, transparent 46%);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 6% 64px 6%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,108,14,0.12);
  border: 1px solid rgba(255,108,14,0.38);
  color: var(--orange-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  color: #0E1320;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-title span {
  color: #D94E00;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.75;
  color: #57606F;
  max-width: 440px;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--black);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,108,14,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #3A4352;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid rgba(14,19,32,0.20);
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(14,19,32,0.45);
  color: #0E1320;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(14,19,32,0.13);
}

.stat-item { }

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #0E1320;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: #5A6473;
  letter-spacing: 0.5px;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #F1F4F8 0%, transparent 22%),
              linear-gradient(to top, #F1F4F8 0%, transparent 20%);
}

.hero-right .hero-card {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  background: rgba(13,13,13,0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,108,14,0.35);
  color: white;
  padding: 20px 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37,211,102,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(37,211,102,0.1); }
}

.hero-card-status {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-card-phone {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
  line-height: 1;
}

.hero-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--wa-text);
  text-decoration: none;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-display);
}

.hero-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.hero-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* SCROLL TICKER */
.ticker-wrap {
  background: var(--orange);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 20s linear infinite;
  gap: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTION COMMON */
section { padding: 100px 8%; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 16px;
}
/* Sobre fondo negro el naranja original tiene contraste de sobra */
.how .section-label, .faq .section-label { color: var(--orange); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 20px;
}

.section-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-text);
  max-width: 580px;
  font-weight: 300;
}

/* SERVICES */
.services {
  background: var(--gray-light);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Tarjeta dividida: foto arriba (sin texto encima), contenido abajo sobre blanco */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.service-card.featured { outline: 3px solid var(--orange); outline-offset: -3px; }
.service-card.best-value { outline: 3px solid var(--black); outline-offset: -3px; }

.service-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-light); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.service-card:hover .service-photo img { transform: scale(1.05); }

.service-card-content { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.service-number {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-text);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* Título y descripción con altura fija (2 y 3 líneas) para que las 4 tarjetas queden alineadas */
.service-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
  min-height: 2.3em;
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.55;
  min-height: 4.65em;
  color: var(--gray-text);
  font-weight: 300;
  margin-bottom: 14px;
}

.service-incl { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.service-incl li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.4; color: var(--black); }
.service-incl li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* Botón "Consultar este servicio": abre WhatsApp con el paquete ya indicado */
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--wa-green);
  color: var(--wa-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-cta svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.service-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }

/* ===== TABLA COMPARATIVA "¿Qué incluye cada paquete?" ===== */
.compare { margin-top: 56px; }
.compare-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.compare-sub { color: var(--gray-text); font-size: 15px; margin-bottom: 22px; }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 18px;
  overflow: hidden;
  font-size: 15px;
}
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-light); text-align: center; }
.compare-table th { font-family: var(--font-display); font-size: 15px; font-weight: 700; background: var(--black); color: var(--white); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table td.y { color: var(--orange-text); font-weight: 800; font-size: 18px; }
.compare-table td.n { color: #B5B5B0; }
.compare-table .hl { background: rgba(255,108,14,0.08); }
.compare-table th.hl { background: var(--orange); color: var(--black); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .service-cta { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.compare-table th small { display: block; font-weight: 500; font-size: 11px; opacity: 0.8; margin-top: 2px; letter-spacing: 0.5px; }

/* Versión móvil de la comparativa: un desplegable por paquete */
.compare-mobile { display: none; flex-direction: column; gap: 10px; }
.compare-mobile details { background: var(--white); border: 1px solid var(--gray-mid); border-radius: 14px; padding: 4px 16px; }
.compare-mobile summary { list-style: none; cursor: pointer; padding: 14px 0; font-family: var(--font-display); font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.compare-mobile summary::-webkit-details-marker { display: none; }
.compare-mobile summary::after { content: "+"; color: var(--orange); font-weight: 700; font-size: 20px; }
.compare-mobile details[open] summary::after { content: "–"; }
.compare-mobile .service-incl { margin: 0 0 14px; }
.compare-mobile .service-cta { margin: 0 0 14px; }

/* HOW IT WORKS — versión clara: 3 tarjetas en fila (ilustración arriba, texto abajo) */
.how {
  background: linear-gradient(135deg, #FFFFFF 0%, #F3F5F8 52%, #E9EDF3 100%);
  color: #0E1320;
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,108,14,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.how .section-title { color: #0E1320; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  position: relative;
}

.how-step {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(14,19,32,0.08);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(14,19,32,0.06);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.how-step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14,19,32,0.10); }

/* Flecha naranja entre un paso y el siguiente (solo escritorio) */
.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 125px; right: -32px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23160D04' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 6px 16px rgba(255,108,14,0.35), 0 0 0 5px #F3F5F8;
  z-index: 2;
}

.how-step-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  height: 250px;
  border-radius: 18px 18px 0 0;
  border-bottom: 1px solid rgba(14,19,32,0.06);
  overflow: hidden;
}

.how-step-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 22px;
}

.how-step-text {
  padding: 26px 30px 34px;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,108,14,0.30);
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #0E1320;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.step-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #57606F;
  font-weight: 400;
}

/* WHY US */
.why {
  background: var(--white);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 0;
}

.why-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  align-self: stretch;   /* misma altura que la lista de la derecha: sin hueco vacío */
  min-height: 480px;
}
/* "+5 años" visible también en móvil (donde la foto se oculta) */
.why-badge-mobile { display: none; }

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-img-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: var(--black);
  color: white;
  padding: 20px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.why-img-badge .big-text {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

.why-img-badge .small-text {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  font-weight: 300;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-feature {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-mid);
  align-items: flex-start;
}

.why-feature:first-child { padding-top: 0; }
.why-feature:last-child { border-bottom: none; }

.feature-icon {
  --feature-icon-bg: #FFF0E3;
  width: 80px;
  height: 80px;
  background: var(--feature-icon-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 64px;
  height: 64px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon .icon-surface { fill: var(--feature-icon-bg); }

.feature-text { min-width: 0; }

.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray-text);
  font-weight: 300;
}


/* CTA BANNER */
.cta-banner {
  background: var(--orange);
  padding: 80px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-banner-left {}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: 15px;
  color: rgba(0,0,0,0.75);
  font-weight: 400;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 18px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.btn-white svg {
  width: 20px;
  height: 20px;
  fill: var(--wa-green);
}

/* CONTACT */
.contact {
  background: var(--gray-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 80px;
  margin-top: 64px;
  align-items: start;
}

.contact-info { min-width: 0; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-mid);
}

.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--black);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail {}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 4px;
}

.contact-value {
  display: inline-block;
  font-size: 16px;
  line-height: 1.5;
  padding: 10px 0;
  color: var(--black);
  font-weight: 400;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-value.static { padding: 0; }
.contact-note { font-size: 13px; color: var(--gray-text); margin-top: 4px; }

.contact-value:hover { color: var(--orange); }

/* SOCIAL SECTION */
.socials-block {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-mid);
}

.socials-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  color: var(--black);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* PRESUPUESTO FORM */
.budget-form {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid var(--gray-mid);
  min-width: 0;
}

.form-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 32px;
  font-weight: 300;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--black);
  margin-bottom: 8px;
}
.form-label .opt { color: var(--gray-text); font-weight: 400; }

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 10px;
  font-size: 16px; /* 16px evita el zoom automático de iOS al enfocar */
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus { border-color: var(--orange); }
.form-input.is-invalid, .form-select.is-invalid { border-color: #C0392B; }
.form-error { display: none; font-size: 13px; color: #C0392B; margin-top: 6px; }
.form-error.show { display: block; }

.form-select {
  width: 100%;
  padding: 13px 40px 13px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B65' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s;
  outline: none;
}

.form-select:focus { border-color: var(--orange); }

.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.2s;
  outline: none;
}

.form-textarea:focus { border-color: var(--orange); }

.form-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--wa-green);
  color: var(--wa-text);
  border: none;
  padding: 16px;
  min-height: 52px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  margin-top: 24px;
}

.form-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.3);
}

.form-whatsapp-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.form-privacy { font-size: 13px; color: var(--gray-text); margin-top: 12px; text-align: center; }

/* FOOTER */
footer {
  background: var(--black);
  padding: 64px 8% 40px;
  color: rgba(255,255,255,0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--orange); }

.footer-social a svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  padding: 2px 0;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}

.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* FLOATING WA BUTTON */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  transition: transform 0.3s;
  animation: pulse-wa 2.5s infinite;
}

.floating-wa:hover { transform: scale(1.1); }
body.hero-visible .floating-wa { opacity: 0; pointer-events: none; }   /* mientras el hero (con su tarjeta de WhatsApp) está a la vista, no se duplica */
.floating-wa { transition: transform 0.3s, opacity 0.3s; }

.floating-wa svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 48px rgba(37,211,102,0.7); }
}

/* MAP */
.map-section {
  background: var(--white);
  padding: 0;
  position: relative;
}

.map-section iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

.map-card {
  position: absolute;
  top: 20px;
  left: 8%;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 260px;
}
.map-card-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--black); }
.map-card-addr { font-size: 14px; color: var(--gray-text); }
.map-card-btn {
  margin-top: 10px;
  align-self: flex-start;
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.map-card-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,108,14,0.35); }

/* ===== SOCIAL PROOF BAND ===== */
.social-proof {
  background: var(--white);
  padding: 44px 8% 48px;
  border-bottom: 1px solid var(--gray-mid);
}
.social-proof-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 32px;
  font-weight: 600;
}
.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.client-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  background: var(--gray-light);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.client-logo img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: all 0.3s ease;
}
/* Ajuste por logo para igualar el peso óptico dentro del mismo box */
.client-logo.logo-alcogreen img { max-height: 44px; }
.client-logo.logo-eximia   img { max-height: 46px; }
.client-logo.logo-catedral img { max-height: 52px; }
.client-logo.logo-raices   img { max-height: 44px; }
.client-logo.logo-blackcow img { max-height: 62px; }
.client-logo:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* ===== METODOS DE PAGO (MARQUEE) ===== */
.payments { background: var(--gray-light); padding: 96px 0; overflow: hidden; }
.payments-head { text-align: center; padding: 0 8%; margin-bottom: 48px; }
.payments-title {
  font-family: var(--font-display);
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 48px); line-height: 1.05; color: var(--black);
}
.payments-sub { margin-top: 14px; font-family: var(--font-body); font-size: 1rem; color: var(--gray-text); }
.marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.pay-logo {
  flex: 0 0 auto; width: 152px; height: 92px; margin: 0 12px;
  background-color: var(--white); background-repeat: no-repeat; background-position: center; background-size: 76% auto;
  border: 1px solid var(--gray-mid); border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  opacity: 1;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.pay-logo:hover {
  transform: translateY(-5px);
  border-color: var(--orange); box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}
.pl-visa { background-image: url("../images/pago-visa.svg"); }
.pl-mastercard { background-image: url("../images/pago-mastercard.svg"); }
.pl-amex { background-image: url("../images/pago-amex.svg"); }
.pl-diners { background-image: url("../images/pago-diners.svg"); }
.pl-bancardcheck { background-image: url("../images/pago-bancardcheck.svg"); }
.pl-discover { background-image: url("../images/pago-discover.svg"); }
.pl-elo { background-image: url("../images/pago-elo.svg"); }
.pl-jcb { background-image: url("../images/pago-jcb.svg"); }
.pl-unionpay { background-image: url("../images/pago-unionpay.svg"); }
.pl-credicard { background-image: url("../images/pago-credicard.svg"); }
.pl-infonet { background-image: url("../images/pago-infonet.svg"); }
.pl-unica { background-image: url("../images/pago-unica.svg"); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }


/* ===== SERVICE CARD BADGES ===== */
.service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 100px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.service-badge.value { background: var(--black); color: var(--white); }

/* ===== COVERAGE ZONES ===== */
.coverage {
  background: var(--gray-light);
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.coverage-col {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.coverage-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.07);
}
.coverage-zone-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.coverage-icon {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: 18px;
  background: rgba(255,108,14,0.1);
  display: flex; align-items: center; justify-content: center;
}
.coverage-icon svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.coverage-zone-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--black);
}
.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.coverage-tag {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  color: var(--gray-text);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 100px;
  transition: background 0.25s, color 0.25s;
}
.coverage-col:hover .coverage-tag { color: var(--black); }

/* ===== HERO CAROUSEL (crossfade) ===== */
.hero-slides { position: absolute; inset: 0; }
.hero-slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  mix-blend-mode: normal;
  transition: opacity 1.1s ease-in-out;
}
.hero-slides img.active { opacity: 1; }
/* Zoom lento y sutil sobre la foto visible (lo activa el script; no corre con "reducir movimiento") */
.hero-slides.zoom img { transition: opacity 1.1s ease-in-out, transform 7s ease-out; }
.hero-slides.zoom img.active { transform: scale(1.05); }
/* Foto apaisada del camión completo: en escritorio se muestra entera (sin recortar) y con los bordes difuminados,
   porque la columna del hero es más alta que ancha. La máscara tiene la misma proporción que la foto (1400x1040). */
@media (min-width: 901px) {
  .hero-slides img.hero-slide-entera {
    object-fit: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='1040' viewBox='0 0 1400 1040'%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='14'/%3E%3C/filter%3E%3Crect x='30' y='30' width='1340' height='980' rx='40' fill='%23000' filter='url(%23b)'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='1040' viewBox='0 0 1400 1040'%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='14'/%3E%3C/filter%3E%3Crect x='30' y='30' width='1340' height='980' rx='40' fill='%23000' filter='url(%23b)'/%3E%3C/svg%3E");
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    transform: scale(0.955);                     /* el zoom lento va de 95,5 % a 100 %: nunca se sale de la columna */
  }
  .hero-slides.zoom img.hero-slide-entera.active { transform: scale(1); }
}
/* Render del camión (trae fondo claro propio): se difuminan sus bordes para que se funda con el fondo del hero
   en vez de verse como un recuadro. La máscara tiene la misma proporción que la imagen (900x611) y usa "contain",
   así calza exacto con la foto en cualquier tamaño de pantalla. */
.hero-slides img[src*="img-presentac"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='611' viewBox='0 0 900 611'%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='24'/%3E%3C/filter%3E%3Crect x='34' y='28' width='832' height='555' rx='40' fill='%23000' filter='url(%23b)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='611' viewBox='0 0 900 611'%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='24'/%3E%3C/filter%3E%3Crect x='34' y='28' width='832' height='555' rx='40' fill='%23000' filter='url(%23b)'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* ===== NAV MÓVIL (hamburguesa + acciones compactas) ===== */
.nav-mobile-actions { display: none; align-items: center; gap: 8px; }
.nav-mobile-call, .nav-mobile-cta, .nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; border-radius: 12px; text-decoration: none;
}
.nav-mobile-call { background: rgba(37,211,102,0.14); }
.nav-mobile-call svg { width: 22px; height: 22px; fill: #128C4B; }
.nav-mobile-cta {
  gap: 6px; padding: 0 14px; background: var(--orange); color: var(--black);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.nav-mobile-cta svg { width: 16px; height: 16px; fill: currentColor; }
.nav-toggle { background: rgba(14,19,32,0.06); border: 0; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: #0E1320; border-radius: 2px;
  position: relative; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14,19,32,0.10);
  box-shadow: 0 12px 28px rgba(14,19,32,0.10);
  padding: 8px 5% 20px;
  list-style: none;
}
body.menu-open .nav-menu { display: block; }
.nav-menu a {
  display: block; padding: 14px 4px; font-size: 17px; color: #0E1320; text-decoration: none;
  border-bottom: 1px solid rgba(14,19,32,0.08); font-weight: 500;
}
.nav-menu li:last-child a { border-bottom: 0; }
.nav-menu-socials { display: flex; gap: 10px; padding-top: 14px; }
.nav-menu-socials a {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(14,19,32,0.06);
  display: flex; align-items: center; justify-content: center; padding: 0; border: 0;
}
.nav-menu-socials svg { width: 18px; height: 18px; fill: #0E1320; }

/* ===== BARRA INFERIOR FIJA (solo móvil): Llamar | WhatsApp ===== */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(14,19,32,0.10);
  box-shadow: 0 -6px 20px rgba(14,19,32,0.08);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 12px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.mobile-bar a svg { width: 20px; height: 20px; fill: currentColor; }
.mobile-bar a { white-space: nowrap; }
.mobile-bar-call { background: rgba(14,19,32,0.06); color: #0E1320; border: 1px solid rgba(14,19,32,0.12); }
.mobile-bar-wa { background: var(--wa-green); color: var(--wa-text); }

/* Escritorio angosto / tablet horizontal: la barra se compacta para que entre el botón Cotizar */
@media (max-width: 1150px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .nav-phone { display: none !important; }
}

/* ===== TABLET: 2 columnas de servicios antes de llegar a móvil ===== */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { gap: 22px; }
  .how-step-img { height: 210px; }
  .how-step-text { padding: 22px 22px 28px; }
  .step-title { font-size: 21px; }
  .how-step:not(:last-child)::after { top: 105px; right: -29px; }
  .hero-title { font-size: clamp(34px, 4.2vw, 48px); }
}

/* MOBILE */
@media (max-width: 900px) {
  nav { padding: 0 4%; height: 60px; }
  .nav-logo img { height: 28px; }
  .nav-links { display: none; }
  .nav-mobile-actions { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; min-height: 0; }
  .hero-left { padding: 28px 5% 32px; }
  .hero-logo-wrap { display: none; }          /* el logo ya está en la barra */
  .hero-badge { margin-bottom: 16px; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); margin-bottom: 14px; }
  .hero-subtitle { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .btn-primary, .btn-secondary { min-height: 48px; padding: 12px 22px; }
  .hero-stats { gap: 20px; margin-top: 26px; padding-top: 20px; justify-content: space-between; }
  .stat-number { font-size: 22px; }
  .hero-right { height: 300px; }
  .hero-right .hero-card { display: none; }   /* en móvil ya están la barra inferior y el botón Cotizar de la nav */
  .hero-right .hero-card-unused {
    bottom: 14px; right: 14px; left: 14px; min-width: auto;
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 12px 14px; gap: 10px;
  }
  .hero-card-top { display: none; }
  .hero-card-phone { font-size: 16px; margin-bottom: 0; }
  .hero-card-link { padding: 10px 16px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
  .services-header { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card-content { padding: 18px 18px 20px; }
  .compare { margin-top: 40px; }
  .compare-table-wrap { display: none; }
  .compare-mobile { display: flex; }
  .logo-strip { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .coverage-grid { grid-template-columns: 1fr; gap: 14px; }
  .coverage-col { padding: 20px 18px; }
  .coverage-icon { width: 56px; height: 56px; border-radius: 16px; }
  .coverage-icon svg { width: 36px; height: 36px; }
  .coverage-tag { font-size: 0.8rem; padding: 6px 11px; }
  .coverage-tags { gap: 7px; }
  .how-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .how-step:not(:last-child)::after { display: none; }
  .how-step:hover { transform: none; }
  .how-step-img { height: 210px; }
  .how-step-img img { padding: 16px; }
  .how-step-text { padding: 22px 22px 28px; }
  .step-num { font-size: 48px; margin-bottom: 8px; }
  .step-title { font-size: 22px; margin-bottom: 10px; }
  .why-layout { grid-template-columns: 1fr; gap: 0; }
  .why-img { display: none; }
  .why-feature { gap: 16px; }
  .feature-icon { width: 64px; height: 64px; border-radius: 18px; }
  .feature-icon svg { width: 50px; height: 50px; }
  .why-badge-mobile {
    display: flex; align-items: center; gap: 14px; margin-top: 24px;
    background: var(--black); color: var(--white); border-radius: 14px; padding: 16px 20px;
  }
  .why-badge-mobile .big-text { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--orange); line-height: 1; }
  .why-badge-mobile .small-text { font-size: 14px; color: rgba(255,255,255,0.8); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 36px; }
  .budget-form { padding: 28px 20px; border-radius: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  section { padding: 56px 5%; }
  .section-title { font-size: clamp(28px, 7.5vw, 40px); }
  .cta-banner { padding: 48px 5%; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .payments { padding: 56px 0; }
  .floating-wa { display: none; }               /* lo reemplaza la barra inferior */
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }                /* espacio para la barra inferior */
  .map-section iframe { height: 300px; }
  .map-card { top: auto; bottom: 14px; left: 5%; right: 5%; max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; padding: 12px 14px; }
  .map-card-btn { margin-top: 0; margin-left: auto; }
}

@media (max-width: 600px) {
  .hero-right { height: 270px; }
  .hero-right .hero-card { padding: 10px 12px; gap: 8px; }
  .hero-card-phone { font-size: 15px; }
  .pay-logo { width: 118px; height: 72px; margin: 0 8px; border-radius: 11px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-name, .service-desc { min-height: 0; }   /* en una columna no hace falta igualar alturas */
  .logo-strip { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .client-logo { grid-column: span 2; height: 68px; padding: 8px 14px; }
  .client-logo:nth-child(4) { grid-column: 2 / span 2; }   /* fila 2: dos logos centrados (3 + 2) */
  .client-logo:nth-child(5) { grid-column: 4 / span 2; }
  .social-proof { padding: 36px 5% 40px; }
  .hero-stats { gap: 12px; }
  .stat-label { font-size: 12px; }
}

@media (max-width: 380px) {
  .nav-mobile-cta span { display: none; }       /* en pantallas muy angostas queda solo el ícono */
  .nav-mobile-cta { padding: 0; min-width: 44px; }
}

/* Accesibilidad: foco visible con teclado y menos movimiento si el usuario lo pide */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 2px;
}
/* ===== EL PROCESO: animaciones de las tarjetas (entrada escalonada, números, flechas) =====
   Estado por defecto = estado final (sin JS o con "menos movimiento" se ve todo quieto y completo).
   El JS agrega .anim-ready y, al entrar en pantalla, .in-view. */
.how .step-num {
  display: inline-block;
  align-self: flex-start;
  color: transparent;
  background: linear-gradient(90deg, var(--orange) 0 50%, rgba(255,108,14,0.28) 50% 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: filter 0.25s;
}
.how-step:hover .step-num { filter: drop-shadow(0 4px 10px rgba(255,108,14,0.35)); }
.how-step:not(:last-child)::after { transition: box-shadow 0.25s; }
.how-step:hover::after { box-shadow: 0 8px 22px rgba(255,108,14,0.5), 0 0 0 5px #F3F5F8, 0 0 0 10px rgba(255,108,14,0.16); }

/* --d: entrada de la tarjeta · --nd: el número se llena · --ad: aparece la flecha */
.how-step:nth-child(1) { --d: 0s;    --nd: 0.55s; --ad: 0.8s; }
.how-step:nth-child(2) { --d: 0.18s; --nd: 0.73s; --ad: 1s; }
.how-step:nth-child(3) { --d: 0.36s; --nd: 0.91s; }

.how.anim-ready .how-step { opacity: 0; translate: 0 28px; }
.how.anim-ready .step-num { background-position: 100% 0; }
.how.anim-ready .how-step:not(:last-child)::after { scale: 0; }

.how.in-view .how-step, .how .how-step.in-view { animation: how-card-in 0.7s cubic-bezier(.2,.7,.2,1) var(--d) both; }
.how.in-view .step-num, .how .how-step.in-view .step-num { animation: how-num-fill 0.9s ease-out var(--nd) both; }
.how.in-view .how-step:not(:last-child)::after,
.how .how-step.in-view:not(:last-child)::after {
  animation: how-arrow-in 0.45s cubic-bezier(.3,1.6,.5,1) var(--ad) both,
             how-arrow-pulse 2.6s ease-in-out calc(var(--ad) + 1.2s) infinite;
}

@keyframes how-card-in { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes how-num-fill { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes how-arrow-in { from { scale: 0; } to { scale: 1; } }
@keyframes how-arrow-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }

/* Celular: cada tarjeta se anima al aparecer y una flecha hacia abajo las une */
@media (max-width: 900px) {
  .how-grid { gap: 44px; }
  .how-step:nth-child(n) { --d: 0s; --nd: 0.45s; --ad: 0.75s; }
  .how .how-step:not(:last-child)::after {
    display: block; top: auto; right: auto; bottom: -38px; left: 50%;
    margin-left: -16px; width: 32px; height: 32px; background-size: 16px; rotate: 90deg;
  }
}

/* ===== EL PROCESO: escenas animadas (SVG) de cada paso ===== */
.how-step-img svg { width: 100%; height: 100%; display: block; padding: 10px 16px; box-sizing: border-box; }
.how-step-img svg { transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.how-step:hover .how-step-img svg { transform: scale(1.03); }
.how-step:not(.e3-run) .e3 .hA, .how-step:not(.e3-run) .e3 .crew, .how-step:not(.e3-run) .e3 .pin { opacity: 0; }
.how-step:not(.e3-run) .e3 .lift { opacity: 1; transform: translateY(-68px); }
.how-step:not(.e3-run) .e3 .rope { opacity: 1; transform: scaleY(.34); }

.e1 * { transform-box: fill-box; }
.e1 .pop { transform-origin: center; }
.e1-run .e1-fade { animation: e1-fade 10s infinite; }
@keyframes e1-fade { 0% { opacity:0 } 4% { opacity:1 } 94% { opacity:1 } 100% { opacity:0 } }
.e1-run .e1 .phone > g { animation: e1-phoneg 10s infinite;  }
@keyframes e1-phoneg { 0% { transform:translateY(30px);opacity:0 } 5%,100% { transform:translateY(0);opacity:1 } }
.e1-run .e1 .b1 { transform-origin: right bottom; animation: e1-b1 10s infinite; }
@keyframes e1-b1 { 0% { transform:scale(0);opacity:0 } 7% { transform:scale(0);opacity:0 } 9.5% { transform:scale(1.12);opacity:1 } 11% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }
.e1 .dots { opacity:0 }
.e1-run .e1 .dots { animation: e1-dots 10s infinite;  }
@keyframes e1-dots { 0%,15% { opacity:0 } 16%,25% { opacity:1 } 26%,100% { opacity:0 } }
.e1-run .e1 .dots circle { animation: e1-dot .9s infinite ease-in-out; } .e1 .d1 { animation-delay:.15s !important } .e1 .d2 { animation-delay:.3s !important }
@keyframes e1-dot { 0%,60%,100% { transform:translateY(0) } 30% { transform:translateY(-2.5px) } }
.e1-run .e1 .b2 { transform-origin: left bottom; animation: e1-b2 10s infinite; }
@keyframes e1-b2 { 0% { transform:scale(0);opacity:0 } 26% { transform:scale(0);opacity:0 } 28.5% { transform:scale(1.12);opacity:1 } 30% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }
.e1-run .e1 .adv { animation: e1-adv 10s infinite;  }
@keyframes e1-adv { 0%,30% { transform:translateX(-90px);opacity:0 } 31% { opacity:1 } 38%,100% { transform:translateX(0);opacity:1 } }
.e1 .tape { transform-origin: left center; }
.e1-run .e1 .tape { animation: e1-tape 10s infinite; animation-timing-function: ease-out; }
@keyframes e1-tape { 0%,39% { transform:scaleX(0) } 48%,100% { transform:scaleX(1) } }
.e1-run .e1 .meas { transform-origin: center; animation: e1-meas 10s infinite; }
@keyframes e1-meas { 0% { transform:scale(0);opacity:0 } 48% { transform:scale(0);opacity:0 } 50.5% { transform:scale(1.12);opacity:1 } 52% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }
.e1-run .e1 .list > g { animation: e1-listg 10s infinite;  }
@keyframes e1-listg { 0%,50% { transform:translateY(10px);opacity:0 } 54%,100% { transform:translateY(0);opacity:1 } }
.e1 .c1 { stroke-dasharray:14; }
.e1-run .e1 .c1 { animation: e1-c1 10s infinite; }
@keyframes e1-c1 { 0% { stroke-dashoffset:14 } 57% { stroke-dashoffset:14 } 60% { stroke-dashoffset:0 } 100% { stroke-dashoffset:0 } }
.e1 .c2 { stroke-dasharray:14; }
.e1-run .e1 .c2 { animation: e1-c2 10s infinite; }
@keyframes e1-c2 { 0% { stroke-dashoffset:14 } 61% { stroke-dashoffset:14 } 64% { stroke-dashoffset:0 } 100% { stroke-dashoffset:0 } }
.e1 .c3 { stroke-dasharray:14; }
.e1-run .e1 .c3 { animation: e1-c3 10s infinite; }
@keyframes e1-c3 { 0% { stroke-dashoffset:14 } 65% { stroke-dashoffset:14 } 68% { stroke-dashoffset:0 } 100% { stroke-dashoffset:0 } }
.e1 .c4 { stroke-dasharray:14; }
.e1-run .e1 .c4 { animation: e1-c4 10s infinite; }
@keyframes e1-c4 { 0% { stroke-dashoffset:14 } 69% { stroke-dashoffset:14 } 72% { stroke-dashoffset:0 } 100% { stroke-dashoffset:0 } }
.e1 .plane { opacity:0 }
.e1-run .e1 .plane { animation: e1-plane 10s infinite;  }
@keyframes e1-plane { 0%,73% { transform:translate(220px,60px) rotate(-20deg) scale(.6);opacity:0 } 74% { transform:translate(220px,60px) rotate(-20deg) scale(.8);opacity:1 } 79% { transform:translate(275px,30px) rotate(5deg) scale(1);opacity:1 } 82% { transform:translate(305px,130px) rotate(40deg) scale(.6);opacity:0 } 100% { opacity:0 } }
.e1-run .e1 .b3 { transform-origin: left bottom; animation: e1-b3 10s infinite; }
@keyframes e1-b3 { 0% { transform:scale(0);opacity:0 } 82% { transform:scale(0);opacity:0 } 84.5% { transform:scale(1.12);opacity:1 } 86% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }
.e1-run .e1 .ok { transform-origin: center; animation: e1-ok 10s infinite; }
@keyframes e1-ok { 0% { transform:scale(0);opacity:0 } 86% { transform:scale(0);opacity:0 } 88.5% { transform:scale(1.12);opacity:1 } 90% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }

.e2 * { transform-box: fill-box; }
.e2 .pop { transform-origin: center; }
.e2-run .e2-fade { animation: e2-fade 10s infinite; }
@keyframes e2-fade { 0% { opacity:0 } 4% { opacity:1 } 94% { opacity:1 } 100% { opacity:0 } }
.e2-run .e2 .doc > g { animation: e2-docg 10s infinite;  }
@keyframes e2-docg { 0% { transform:translateY(24px);opacity:0 } 6%,100% { transform:translateY(0);opacity:1 } }
.e2-run .e2 .r1 { animation: e2-r1 10s infinite;  }
@keyframes e2-r1 { 0% { transform:translateX(-10px);opacity:0 } 8% { transform:translateX(-10px);opacity:0 } 11%,100% { transform:translateX(0);opacity:1 } }
.e2-run .e2 .r2 { animation: e2-r2 10s infinite;  }
@keyframes e2-r2 { 0% { transform:translateX(-10px);opacity:0 } 11% { transform:translateX(-10px);opacity:0 } 14%,100% { transform:translateX(0);opacity:1 } }
.e2-run .e2 .r3 { animation: e2-r3 10s infinite;  }
@keyframes e2-r3 { 0% { transform:translateX(-10px);opacity:0 } 14% { transform:translateX(-10px);opacity:0 } 17%,100% { transform:translateX(0);opacity:1 } }
.e2-run .e2 .r4 { animation: e2-r4 10s infinite;  }
@keyframes e2-r4 { 0% { transform:translateX(-10px);opacity:0 } 17% { transform:translateX(-10px);opacity:0 } 20%,100% { transform:translateX(0);opacity:1 } }
.e2 .sel { transform-origin:center; }
.e2-run .e2 .sel { animation: e2-sel 10s infinite;  }
@keyframes e2-sel { 0%,25% { opacity:0;transform:scale(.96) } 28% { opacity:1;transform:scale(1.03) } 30%,100% { opacity:1;transform:scale(1) } }
.e2-run .e2 .dot { transform-origin: center; animation: e2-dot 10s infinite; }
@keyframes e2-dot { 0% { transform:scale(0);opacity:0 } 27% { transform:scale(0);opacity:0 } 29.5% { transform:scale(1.12);opacity:1 } 31% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }
.e2-run .e2 .star { transform-origin: center; animation: e2-star 10s infinite; }
@keyframes e2-star { 0% { transform:scale(0);opacity:0 } 31% { transform:scale(0);opacity:0 } 33.5% { transform:scale(1.12);opacity:1 } 35% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }
.e2 .line { stroke-dasharray:164; }
.e2-run .e2 .line { animation: e2-line 10s infinite;  }
@keyframes e2-line { 0%,35% { stroke-dashoffset:164 } 40%,100% { stroke-dashoffset:0 } }
.e2-run .e2 .tot { animation: e2-tot 10s infinite;  }
@keyframes e2-tot { 0%,39% { opacity:0 } 42%,100% { opacity:1 } }
.e2-run .e2 .fine { animation: e2-fine 10s infinite;  }
@keyframes e2-fine { 0%,40% { opacity:0 } 43%,100% { opacity:1 } }
.e2 .stamp { transform-origin:center; }
.e2-run .e2 .stamp { animation: e2-stamp 10s infinite;  }
@keyframes e2-stamp { 0%,46% { transform:scale(2.2);opacity:0 } 49% { transform:scale(.95);opacity:1 } 51%,100% { transform:scale(1);opacity:1 } }
.e2-run .e2 .cal > g { animation: e2-calg 10s infinite;  }
@keyframes e2-calg { 0%,53% { transform:translateY(-14px);opacity:0 } 57%,100% { transform:translateY(0);opacity:1 } }
.e2 .ring2 { stroke-dasharray:52; }
.e2-run .e2 .ring2 { animation: e2-ring2 10s infinite; }
@keyframes e2-ring2 { 0% { stroke-dashoffset:52 } 59% { stroke-dashoffset:52 } 65% { stroke-dashoffset:0 } 100% { stroke-dashoffset:0 } }
.e2-run .e2 .hora { transform-origin: center; animation: e2-hora 10s infinite; }
@keyframes e2-hora { 0% { transform:scale(0);opacity:0 } 66% { transform:scale(0);opacity:0 } 68.5% { transform:scale(1.12);opacity:1 } 70% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }
.e2-run .e2 .k1 { animation: e2-k1 10s infinite;  }
@keyframes e2-k1 { 0% { transform:translateY(-140px);opacity:0 } 70% { transform:translateY(-140px);opacity:0 } 73% { transform:translateY(0);opacity:1 } 74.2% { transform:translateY(-5px) } 75.5%,100% { transform:translateY(0);opacity:1 } }
.e2-run .e2 .k2 { animation: e2-k2 10s infinite;  }
@keyframes e2-k2 { 0% { transform:translateY(-140px);opacity:0 } 73% { transform:translateY(-140px);opacity:0 } 76% { transform:translateY(0);opacity:1 } 77.2% { transform:translateY(-5px) } 78.5%,100% { transform:translateY(0);opacity:1 } }
.e2-run .e2 .k3 { animation: e2-k3 10s infinite;  }
@keyframes e2-k3 { 0% { transform:translateY(-140px);opacity:0 } 76% { transform:translateY(-140px);opacity:0 } 79% { transform:translateY(0);opacity:1 } 80.2% { transform:translateY(-5px) } 81.5%,100% { transform:translateY(0);opacity:1 } }
.e2-run .e2 .k4 { animation: e2-k4 10s infinite;  }
@keyframes e2-k4 { 0% { transform:translateY(-140px);opacity:0 } 79% { transform:translateY(-140px);opacity:0 } 82% { transform:translateY(0);opacity:1 } 83.2% { transform:translateY(-5px) } 84.5%,100% { transform:translateY(0);opacity:1 } }
.e2-run .e2 .k5 { animation: e2-k5 10s infinite;  }
@keyframes e2-k5 { 0% { transform:translateY(-140px);opacity:0 } 82% { transform:translateY(-140px);opacity:0 } 85% { transform:translateY(0);opacity:1 } 86.2% { transform:translateY(-5px) } 87.5%,100% { transform:translateY(0);opacity:1 } }
.e2-run .e2 .kit { transform-origin: center; animation: e2-kit 10s infinite; }
@keyframes e2-kit { 0% { transform:scale(0);opacity:0 } 87% { transform:scale(0);opacity:0 } 89.5% { transform:scale(1.12);opacity:1 } 91% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }

.e3 * { transform-box: fill-box; }
.e3 .pop { transform-origin: center; }
.e3-run .e3-fade { animation: e3-fade 13s infinite; }
@keyframes e3-fade { 0% { opacity:0 } 4% { opacity:1 } 94% { opacity:1 } 100% { opacity:0 } }
.e3 .cl1, .e3 .cl2 { }
.e3-run .e3 .cl1 { animation: e3-cl1 16s infinite; animation-timing-function:linear; }
@keyframes e3-cl1 { 0%,100% { transform:translateX(0) } 50% { transform:translateX(-30px) } }
.e3-run .e3 .cl2 { animation: e3-cl2 20s infinite;  }
@keyframes e3-cl2 { 0%,100% { transform:translateX(0) } 50% { transform:translateX(-24px) } }
.e3-run .e3 .crew { animation: e3-crew 13s infinite;  }
@keyframes e3-crew { 0%,3% { transform:translateX(0);opacity:1;animation-timing-function:ease-in-out } 18% { transform:translateX(70px);opacity:1 } 20% { transform:translateX(70px);opacity:1;animation-timing-function:ease-in } 23% { transform:translateX(80px);opacity:0 } 100% { transform:translateX(80px);opacity:0 } }
.e3-run .e3 .truck { animation: e3-truck 13s infinite;  }
@keyframes e3-truck { 0%,30% { transform:translateX(120px) } 30% { transform:translateX(120px);animation-timing-function:ease-in } 44% { transform:translateX(420px) } 44.1% { transform:translateX(-260px);animation-timing-function:ease-out } 56% { transform:translateX(0) rotate(0) } 57.5% { transform:translateX(3px) rotate(1deg) } 59%,100% { transform:translateX(0) rotate(0) } }
.e3 .truck { transform-origin: right bottom; } .e3 .wh { transform-origin:center; }
.e3-run .e3 .wh { animation: e3-wh 13s infinite;  }
@keyframes e3-wh { 0%,30% { transform:rotate(0);animation-timing-function:ease-in } 44% { transform:rotate(1200deg) } 44.1% { transform:rotate(1200deg);animation-timing-function:ease-out } 56%,100% { transform:rotate(2400deg) } }
.e3-run .e3 .dash { animation: e3-dash 13s infinite;  }
@keyframes e3-dash { 0%,30% { transform:translateX(0);animation-timing-function:ease-in } 44% { transform:translateX(-160px);animation-timing-function:linear } 46% { transform:translateX(-200px);animation-timing-function:ease-out } 56%,100% { transform:translateX(-400px) } }
.e3-run .e3 .bob { animation: e3-bob 13s infinite;  }
@keyframes e3-bob { 0%,30% { transform:translateY(0) } 32% { transform:translateY(0) } 34% { transform:translateY(-1.5px) } 36% { transform:translateY(0) } 38% { transform:translateY(-1.5px) } 40% { transform:translateY(0) } 42% { transform:translateY(-1.5px) } 44% { transform:translateY(0) } 46% { transform:translateY(-1.5px) } 48% { transform:translateY(0) } 50% { transform:translateY(-1.5px) } 52% { transform:translateY(0) } 54% { transform:translateY(-1.5px) } 56% { transform:translateY(0) } 58%,100% { transform:translateY(0) } }
.e3 .puff { opacity:0 }
.e3-run .e3 .puff { animation: e3-puff 13s infinite;  }
@keyframes e3-puff { 0%,29% { opacity:0 } 31%,56% { opacity:1 } 58%,100% { opacity:0 } }
.e3 .pin { transform-origin:center bottom; }
.e3-run .e3 .pin { animation: e3-pin 13s infinite;  }
@keyframes e3-pin { 0%,29% { transform:scale(0) } 32% { transform:scale(1.1) } 34%,54% { transform:scale(1) } 57%,100% { transform:scale(0) } }
.e3-run .e3 .hA { animation: e3-hA 13s infinite;  }
@keyframes e3-hA { 0%,40% { opacity:1 } 44%,100% { opacity:0 } }
.e3-run .e3 .hB { animation: e3-hB 13s infinite;  }
@keyframes e3-hB { 0%,44% { opacity:0;transform:translateX(30px) } 50%,100% { opacity:1;transform:translateX(0) } }
.e3-run .e3 .bw { animation: e3-bw 13s infinite;  }
@keyframes e3-bw { 0%,52% { opacity:0 } 56%,100% { opacity:1 } }
.e3-run .e3 .gw { animation: e3-gw 13s infinite;  }
@keyframes e3-gw { 0%,52% { opacity:0 } 56%,100% { opacity:1 } }
.e3 .lift, .e3 .rope { opacity:0 } .e3 .rope { transform-origin: center top; }
.e3-run .e3 .lift { animation: e3-lift 13s infinite; animation-timing-function:ease-in-out; }
@keyframes e3-lift { 0%,55% { transform:translateY(0);opacity:0 } 58%,62% { transform:translateY(0);opacity:1 } 80%,100% { transform:translateY(-68px);opacity:1 } }
.e3-run .e3 .rope { animation: e3-rope 13s infinite; animation-timing-function:ease-in-out; }
@keyframes e3-rope { 0%,57% { transform:scaleY(1);opacity:0 } 59%,62% { transform:scaleY(1);opacity:1 } 80%,100% { transform:scaleY(.34);opacity:1 } }
.e3-run .e3 .pull { animation: e3-pull .7s infinite ease-in-out; }
@keyframes e3-pull { 0%,100% { transform:translateX(0) } 50% { transform:translateX(6px) } }
.e3-run .e3 .ok { transform-origin: center; animation: e3-ok 13s infinite; }
@keyframes e3-ok { 0% { transform:scale(0);opacity:0 } 84% { transform:scale(0);opacity:0 } 86.5% { transform:scale(1.12);opacity:1 } 88% { transform:scale(1);opacity:1 } 92% { transform:scale(1);opacity:1 } 100% { transform:scale(1);opacity:1 } }


/* ===== Servicios: íconos animados de cada paquete (mismo estilo que "Por qué elegirnos") ===== */
.service-card-content { position: relative; }
.service-icon {
  --service-icon-bg: #FFF0E3;
  position: absolute; top: -40px; right: 18px; z-index: 2;
  width: 76px; height: 76px; border-radius: 20px;
  background: var(--service-icon-bg);
  box-shadow: 0 0 0 4px var(--white), 0 10px 22px rgba(14,19,32,0.10);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg {
  width: 58px; height: 58px; overflow: visible;
  stroke: var(--orange); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.service-icon .icon-surface { fill: var(--service-icon-bg); }
.service-icon svg * { transform-box: fill-box; }
.service-icon .si-win { fill: rgba(255,108,14,0.28); }
.service-icon .si-rays { opacity: 0; }

/* Se reproduce al aparecer la tarjeta y otra vez al pasar el mouse. Estado por defecto = dibujo final. */
.si-play .si-truck { animation: si-truck 1.6s cubic-bezier(.2,.8,.2,1) both; }
.si-play .si-wheel { transform-origin: center; animation: si-wheel 1.6s cubic-bezier(.2,.8,.2,1) both; }
.si-play .si-road { animation: si-road 1.6s cubic-bezier(.2,.8,.2,1) both; }
.si-play .si-speed { animation: si-speed 1.6s ease-out both; }
@keyframes si-truck { 0% { transform: translateX(-26px); opacity: 0; } 15% { opacity: 1; } 78% { transform: translateX(1.5px); } 100% { transform: translateX(0); } }
@keyframes si-wheel { from { transform: rotate(-540deg); } to { transform: rotate(0); } }
@keyframes si-road { from { stroke-dashoffset: -56; } to { stroke-dashoffset: 0; } }
@keyframes si-speed { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }
.service-icon .si-speed { opacity: 0; }

.service-icon .si-flapL { transform-origin: left center; }
.service-icon .si-flapR { transform-origin: right center; }
.service-icon .si-tape, .service-icon .si-tape2 { stroke-dasharray: 27; }
.si-play .si-box { animation: si-drop .7s cubic-bezier(.3,1.4,.5,1) both; }
.si-play .si-flapL { animation: si-flapL 1.9s ease-in-out both; }
.si-play .si-flapR { animation: si-flapR 1.9s ease-in-out both; }
.si-play .si-tape, .si-play .si-tape2 { animation: si-tape 1.9s ease-out both; }
.si-play .si-ok { transform-origin: center; animation: si-pop 2.3s both; }
@keyframes si-drop { from { transform: translateY(-16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes si-flapL { 0%, 30% { transform: translate(-7px,-7px) rotate(-28deg); } 55%, 100% { transform: none; } }
@keyframes si-flapR { 0%, 38% { transform: translate(7px,-7px) rotate(28deg); } 62%, 100% { transform: none; } }
@keyframes si-tape { 0%, 64% { stroke-dashoffset: 27; } 86%, 100% { stroke-dashoffset: 0; } }
@keyframes si-pop { 0%, 80% { transform: scale(0); } 92% { transform: scale(1.18); } 100% { transform: scale(1); } }

.service-icon .si-wrap { stroke-opacity: .75; }
.si-play .si-wrap { animation: si-wrap 2.2s ease-out both; }
.si-play .si-bub circle { transform-origin: center; animation: si-bub 2.2s both; }
.si-play .si-bub circle:nth-child(2) { animation-delay: .1s; }
.si-play .si-bub circle:nth-child(3) { animation-delay: .2s; }
.si-play .si-bub circle:nth-child(4) { animation-delay: .3s; }
.si-play .si-bub circle:nth-child(5) { animation-delay: .4s; }
.si-play .si-bub circle:nth-child(6) { animation-delay: .5s; }
@keyframes si-wrap { 0%, 10% { transform: scale(.55); opacity: 0; } 45% { transform: scale(1.05); opacity: 1; } 55%, 100% { transform: scale(1); opacity: 1; } }
@keyframes si-bub { 0%, 40% { transform: scale(0); } 55% { transform: scale(1.3); } 65%, 100% { transform: scale(1); } }

.service-icon .si-key { transform-origin: right center; }
.service-icon .si-keyturn { transform-origin: center; }
.si-play .si-key { animation: si-key 2.4s cubic-bezier(.2,.8,.2,1) both; }
.si-play .si-keyturn { animation: si-turn 2.4s ease-in-out both; }
.si-play .si-win { animation: si-win 2.4s both; }
.si-play .si-rays { animation: si-rays 2.4s both; }
@keyframes si-key { 0% { transform: translateX(18px); opacity: 0; } 15% { opacity: 1; } 40%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes si-turn { 0%, 45% { transform: scaleY(1); } 55% { transform: scaleY(.15); } 65%, 100% { transform: scaleY(1); } }
@keyframes si-win { 0%, 66% { fill: transparent; } 78%, 100% { fill: rgba(255,108,14,0.28); } }
@keyframes si-rays { 0%, 72% { opacity: 0; transform: translateY(3px); } 84% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .service-icon { width: 64px; height: 64px; top: -34px; right: 16px; border-radius: 18px; }
  .service-icon svg { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .floating-wa, .hero-card-dot { animation: none; }
  .hero-slides img { transition: none; }
  html { scroll-behavior: auto; }
}

/* FAQ */
.faq { padding: 72px 24px; max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--gray-mid);
  border-radius: 14px;
  padding: 4px 24px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(255,108,14,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  color: var(--orange);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,108,14,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq-item[open] .faq-icon { transform: rotate(135deg); background: var(--orange); color: var(--white); }

.faq-answer {
  padding: 0 0 24px 0;
  font-family: var(--font-body);
  color: var(--gray-text);
  line-height: 1.65;
  font-size: 15px;
  border-top: 1px solid var(--gray-light);
  margin-top: -2px;
  padding-top: 18px;
}
.faq-answer > p { margin-bottom: 12px; }
.faq-answer > p:last-child { margin-bottom: 0; }

/* Lista con check, para servicios / garantías */
.faq-tags { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 16px; }
.faq-tags li {
  position: relative;
  padding-left: 26px;
}
.faq-tags li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
}
.faq-tags strong { color: #2A2A28; font-family: var(--font-display); font-weight: 600; }

/* Badge de respaldo (RUC) */
.faq-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-light);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #4A4A45;
  margin-top: 4px;
}

/* Mini pasos numerados dentro de una respuesta */
.faq-steps { display: flex; flex-direction: column; gap: 16px; margin: 12px 0 16px; }
.faq-step { display: flex; align-items: flex-start; gap: 14px; }
.faq-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-step-title { font-family: var(--font-display); font-weight: 600; color: #2A2A28; font-size: 15px; margin-bottom: 2px; }
.faq-step-desc { color: var(--gray-text); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 640px) {
  .faq { padding: 48px 20px; }
  .faq-item { padding: 4px 16px; }
  .faq-question { font-size: 16px; padding: 16px 0; }
}

/* Enlace "Ver todo sobre fletes" en la tarjeta 01 de la portada */
.service-more { display: inline-block; align-self: flex-start; margin: auto 0 14px; font-size: 14px; font-weight: 600; color: var(--orange-text); text-decoration: none; }
.service-more + .service-cta { margin-top: 0; }
.service-more:hover { text-decoration: underline; }
