/* ==========================================================================
   GT LOGÍSTICA GOTRUCK — Hoja de estilos principal
   Paleta tomada del logotipo: azul marino + naranja "flecha de ruta"
   ========================================================================== */

:root {
  /* Color */
  --navy-900: #0a2f4d;
  --navy-800: #0d3a5e;
  --navy-700: #164c78;
  --navy-600: #1f6296;
  --orange-600: #d96700;
  --orange-500: #f5820d;
  --orange-400: #ff9c33;
  --bg: #f5f8fa;
  --surface: #ffffff;
  --line: #e1e8ee;
  --text: #16232f;
  --text-muted: #59697a;
  --text-on-dark: #eef4f9;
  --text-on-dark-muted: #a9bccc;

  /* Tipografía */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Ritmo */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 12px 30px -14px rgba(10, 47, 77, 0.35);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ==========================================================================
   Animaciones al hacer scroll (discretas, no invasivas)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(245, 130, 13, 0.35); }
  100% { box-shadow: 0 0 0 14px rgba(245, 130, 13, 0); }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  margin: 0 0 0.5em;
  line-height: 1.12;
}

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--orange-500);
  display: inline-block;
}

.section { padding: 88px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--navy-900); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--text-on-dark-muted); }
.section--alt { background: var(--surface); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 2px; }
.btn--primary { background: var(--orange-500); color: #fff; }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 0.8rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(10, 47, 77, 0.5);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange-500);
  transition: width 0.2s ease;
}
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--font-display);
  color: var(--navy-900);
}
.header-phone small { font-family: var(--font-body); color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.header-phone strong { font-size: 1.05rem; }

.nav-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 110px 0 130px;
}
.hero__arrow {
  position: absolute;
  top: -10%;
  right: -6%;
  width: 620px;
  max-width: 60vw;
  opacity: 0.14;
  pointer-events: none;
  animation: floatY 7s ease-in-out infinite;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__kicker {
  font-family: var(--font-display);
  color: var(--orange-400);
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__kicker::before { content: ""; width: 30px; height: 3px; background: var(--orange-500); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin-bottom: 22px;
}
.hero h1 span { color: var(--orange-400); }
.hero p.lead {
  color: var(--text-on-dark-muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
}
.hero__stats div span { font-size: 0.78rem; color: var(--text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.hero__media { position: relative; }
.hero__media .img-slot {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  border: 6px solid rgba(255,255,255,0.08);
}
.hero__media .img-slot::before { border-radius: var(--radius); }

/* ==========================================================================
   Ruta / elemento de firma: línea punteada que conecta secciones
   ========================================================================== */
.route-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}
.route-track svg { position: sticky; top: 0; }

.route-marker {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Tarjetas de soluciones (grid superior)
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.solution-card:hover .icon { animation: pulseRing 1.1s ease-out; background: var(--orange-500); }
.solution-card:hover .icon svg { stroke: #fff; }
.solution-card .icon {
  width: 72px; height: 72px;
  border-radius: 14px;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.22s ease;
}
.solution-card .icon svg { width: 34px; height: 34px; stroke: var(--orange-400); transition: stroke 0.22s ease; }
.solution-card h3 { font-size: 1.02rem; margin-bottom: 0; }
.solution-card p { display: none; }
.solution-card--new::after {
  content: "Nuevo";
  position: absolute;
  top: 16px; right: 16px;
  background: var(--orange-500);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ==========================================================================
   Franja "por qué elegirnos"
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card { padding: 6px 0; }
.why-card .num {
  font-family: var(--font-display);
  color: var(--orange-500);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.why-card h3 { font-size: 1.05rem; }
.why-card p { font-size: 0.92rem; }

/* ==========================================================================
   Banda de estadísticas operativas (viajes, unidades en tránsito, etc.)
   ========================================================================== */
.stats-band {
  background: var(--navy-800);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 46px 0;
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-tile {
  text-align: center;
  padding: 18px 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-tile:last-child { border-right: none; }
.stat-tile .counter-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-tile .counter-value .suffix { color: var(--orange-400); }
.stat-tile .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Panel de confiabilidad: Capacitación a operadores
   ========================================================================== */
.trust-panel {
  margin-top: 40px;
  background: var(--navy-900);
  border: none;
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.trust-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
}
.trust-audience span {
  font-size: 0.76rem;
  color: var(--text-on-dark-muted);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.trust-panel::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,130,13,0.18), transparent 70%);
}
.trust-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 130, 13, 0.14);
  border: 1px solid rgba(245, 130, 13, 0.4);
  color: var(--orange-400);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.trust-panel h3 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.trust-panel > div:first-child p { color: var(--text-on-dark-muted); }
.trust-courses {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  position: relative;
}
.trust-courses li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.92rem;
  color: #fff;
}
.trust-courses li svg { width: 18px; height: 18px; stroke: var(--orange-400); flex-shrink: 0; }

/* ==========================================================================
   Servicios detallados
   ========================================================================== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) .service-block__media { order: 2; }
.service-block__media .img-slot {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.service-block__body .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: #eaf1f7;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.service-block__body h3 { font-size: 1.6rem; margin-bottom: 0; }
.service-block__body ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.service-block__body ul li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.service-block__body ul li svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--orange-500); margin-top: 2px; }

/* Servicios periféricos */
.peripherals {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 12px;
}
.peripherals__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.peripherals__head h3 { margin-bottom: 6px; font-size: 1.4rem; }
.peripherals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.peripheral-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: left;
}
.peripheral-item .icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: #eaf1f7;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.peripheral-item .icon svg { width: 20px; height: 20px; stroke: var(--navy-800); }
.peripheral-item h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 0.92rem; color: var(--navy-900); margin-bottom: 6px; }
.peripheral-item p { font-size: 0.85rem; margin-bottom: 0; }

/* ==========================================================================
   Cobertura
   ========================================================================== */
.coverage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.coverage__media .img-slot { border-radius: var(--radius); aspect-ratio: 1 / 1; }
.coverage-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.coverage-list li { display: flex; gap: 12px; align-items: flex-start; }
.coverage-list li svg { width: 20px; height: 20px; stroke: var(--orange-400); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   Placeholder de imagen (para que el cliente sepa dónde subir sus fotos)
   ========================================================================== */
.img-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f6 0%, #e2e8ee 100%);
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-block__media .img-slot:hover img,
.hero__media .img-slot:hover img { transform: scale(1.04); }
.img-slot .img-slot-label {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  line-height: 1.5;
}
.img-slot .img-slot-label strong { color: var(--navy-800); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.01em; }
.img-slot .img-slot-label::before {
  content: "";
  width: 44px;
  height: 44px;
  opacity: 0.4;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d3a5e' stroke-width='1.6'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.5'/%3E%3Cpath d='M21 16l-5.5-5.5L3 20'/%3E%3C/svg%3E");
}
.img-slot.img-slot--empty .img-slot-label { display: flex; }
.img-slot.img-slot--empty img { display: none; }

/* ==========================================================================
   Clientes / logos
   ========================================================================== */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  opacity: 0.85;
}
.logo-strip .img-slot { width: 130px; height: 64px; border-radius: var(--radius-sm); }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { color: #fff; }
.contact-line { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-line svg { width: 22px; height: 22px; stroke: var(--orange-400); flex-shrink: 0; }
.contact-line strong { display: block; color: #fff; font-family: var(--font-display); letter-spacing: 0.03em; }
.contact-line span { color: var(--text-on-dark-muted); font-size: 0.92rem; }

.contact-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }

/* Origen/Destino: se colapsan con una transición suave cuando el servicio
   elegido no los necesita (ver script.js -> serviciosSinRuta) */
.form-row--collapsible {
  max-height: 140px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease, margin 0.3s ease;
}
.form-row--collapsible.is-collapsed {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #fbfcfd;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(245, 130, 13, 0.15);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: -8px; }
.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.form-alert--ok { background: #e7f5ec; color: #1c6b3b; border: 1px solid #bfe4cb; }
.form-alert--err { background: #fbe9e7; color: #a6341b; border: 1px solid #f3c6be; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 50px; margin-bottom: 14px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--orange-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--orange-500); border-color: var(--orange-500); }
.social-row svg { width: 16px; height: 16px; stroke: #fff; }

/* ==========================================================================
   WhatsApp: widget flotante con menú de departamentos
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Botón circular que abre/cierra el menú */
.whatsapp-float {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 2px; }
.whatsapp-float__icon-open { width: 28px; height: 28px; fill: #fff; }
.whatsapp-float__icon-close { width: 22px; height: 22px; display: none; }

/* Al abrir el menú, el botón cambia el ícono de WhatsApp por una "X" */
.whatsapp-widget.is-open .whatsapp-float__icon-open { display: none; }
.whatsapp-widget.is-open .whatsapp-float__icon-close { display: block; }

/* Panel del menú con los departamentos */
.whatsapp-menu {
  margin-bottom: 14px;
  width: 268px;
  max-width: calc(100vw - 44px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.whatsapp-widget.is-open .whatsapp-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}
.whatsapp-menu__header {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy-900);
  padding: 14px 16px;
}
.whatsapp-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.whatsapp-menu__item:last-child { border-bottom: none; }
.whatsapp-menu__item:hover { background: #f2f7f4; }
.whatsapp-menu__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e8f8ee;
  display: flex; align-items: center; justify-content: center;
}
.whatsapp-menu__text strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .peripherals-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; }
  .coverage { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat-tile:nth-child(2) { border-right: none; }
  .trust-panel { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 760px) {
  .nav, .header-cta .header-phone { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: none;
  }
  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 18px 24px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px -10px rgba(10,47,77,0.2);
  }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .peripherals-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 26px; }
  .service-block:nth-child(even) .service-block__media { order: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 90px 0 90px; }
  .hero__stats { gap: 24px; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .stat-tile { border-right: none; padding: 10px; }
  .peripherals { padding: 26px; }
  .peripherals__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .peripherals-grid { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: 1fr; }
  .stat-tile { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 22px; }
  .stat-tile:last-child { border-bottom: none; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .contact-form { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
