/* =========================================================
   BAROMÉTRICA LAN — style.css
   ========================================================= */

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1a1f2e;
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --azul:     #1A4F8A;
  --azul-osc: #0d2d52;
  --azul-cla: #e8f1fb;
  --naranja:  #F97316;
  --na-osc:   #d45e08;
  --gris-bg:  #f4f6fb;
  --gris-bd:  #dde1ea;
  --gris-txt: #5a6478;
  --nav-h:    68px;
  --max-w:    1160px;
  --r:        12px;
}

/* ── UTILIDADES ─────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Tags de sección */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--azul-cla);
  color: var(--azul);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.tag::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--naranja);
  flex-shrink: 0;
}
.tag-blanco {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.tag-blanco::before { background: var(--naranja); }

/* Títulos */
.h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}
.h1 em { color: var(--naranja); font-style: normal; }

.h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: #1a1f2e;
  margin-bottom: 14px;
}
.h2 em { color: var(--azul); font-style: normal; }
.h2-blanco { color: #fff; }
.h2-blanco em { color: var(--naranja); }

.bajada {
  font-size: 17px;
  color: var(--gris-txt);
  line-height: 1.75;
}
.bajada-blanca { color: rgba(255,255,255,0.7); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--r);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-n { background: var(--naranja); color: #fff; }
.btn-n:hover { background: var(--na-osc); box-shadow: 0 8px 24px rgba(249,115,22,.35); }
.btn-a { background: var(--azul); color: #fff; }
.btn-a:hover { background: var(--azul-osc); box-shadow: 0 8px 24px rgba(26,79,138,.3); }
.btn-o {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-o:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* Separador de secciones */
.sec {
  padding: 30px;
}
.sec-azul { background: var(--azul-osc); }
.sec-gris { background: var(--gris-bg); }

/* ── WHATSAPP FLOTANTE ──────────────────────────────────── */
.wa {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.1); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* =========================================================
   NAV — blanco, logo azul, limpio
   ========================================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 2px solid var(--gris-bd);
  z-index: 500;
  display: flex;
  align-items: center;
}
nav.sombra { box-shadow: 0 4px 20px rgba(0,0,0,.09); border-color: transparent; }

.nav-in {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 800; color: #fff;
  letter-spacing: 1px; flex-shrink: 0;
}
.logo-txt {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  color: var(--azul); line-height: 1.1;
}
.logo-txt small {
  display: block;
  font-size: 10px; font-weight: 600;
  color: var(--gris-txt);
  letter-spacing: 1.5px; text-transform: uppercase;
}

/* Horario pill */
.nav-hora {
  display: flex; align-items: center; gap: 7px;
  background: var(--gris-bg);
  border: 1px solid var(--gris-bd);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--gris-txt);
  white-space: nowrap;
}
.nav-hora b { color: var(--azul); }

/* Links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 600;
  color: #3a4258;
  padding: 8px 14px; border-radius: 8px;
  text-transform: uppercase; letter-spacing: .5px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--azul-cla); color: var(--azul); }
.nav-cta {
  background: var(--naranja) !important;
  color: #fff !important;
  margin-left: 6px; padding: 9px 20px !important;
  border-radius: 8px;
}
.nav-cta:hover { background: var(--na-osc) !important; }

/* Hamburguesa */
.ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.ham span { width: 24px; height: 2px; background: var(--azul); border-radius: 2px; transition: .3s; display: block; }
.ham.abierto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.abierto span:nth-child(2) { opacity: 0; }
.ham.abierto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú mobile */
.mob {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 3px solid var(--naranja);
  z-index: 499;
  flex-direction: column;
  padding: 12px 24px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.mob.open { display: flex; }
.mob a {
  font-size: 16px; font-weight: 600;
  color: #3a4258;
  padding: 14px 0;
  border-bottom: 1px solid var(--gris-bd);
  text-transform: uppercase; letter-spacing: .5px;
}
.mob a:last-child {
  border: none; margin-top: 10px;
  background: var(--naranja); color: #fff;
  text-align: center; border-radius: 8px; padding: 14px;
}

@media (max-width: 900px) {
  .nav-hora, .nav-links { display: none; }
  .ham { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: max(580px, min(100vh, 860px));
  min-height: max(580px, min(100svh, 860px));
  padding-top: var(--nav-h);
  background: linear-gradient(145deg, var(--azul-osc) 0%, var(--azul) 65%, #1e6bb0 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

/* Textura de puntos sutil */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Logo LAN de fondo con transparencia */
.hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130%; height: 130%;
  background: url('../img/logos/lanNaranja.png') center/contain no-repeat;
  filter: brightness(0);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* Círculo decorativo */
.hero-deco {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.hero-deco::after {
  content: ''; position: absolute; inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.04);
}

.hero-grid {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Izquierda */
.hero-subtag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.4);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: #ffb785; margin-bottom: 20px;
}
.hero-subtag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--naranja);
  animation: pulso 2s infinite;
}
@keyframes pulso { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: 20px;
}
.hero-titulo em { color: var(--naranja); font-style: normal; }

.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.75);
  line-height: 1.75; margin-bottom: 32px;
  max-width: 460px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

/* Trust chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: 7px 14px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.9);
}
.chip svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Derecha — imagen */
.hero-img {
  position: relative;
  width: 100%; height: 420px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  flex-shrink: 0;
}
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(10,28,54,.65));
}

/* Badge inferior izquierdo */
.hbadge1 {
  position: absolute; 
  bottom: 18px; 
  left: 18px;
  background: #fff; 
  border-radius: 12px;
  padding: 8px 12px;
  display: flex; 
  align-items: center; 
  gap: 7px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  max-width: 200px;
  max-height: 60px;
}
.hbadge1-ico {
  width: 38px; 
  height: 38px; 
  flex-shrink: 0;
  background: var(--azul); 
  border-radius: 9px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 18px;
}
.hbadge1 strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1a1f2e;
  line-height: 1;
  margin-bottom: 1px;
}
.hbadge1 span,
.hbadge1 small {
  display: block;
  margin-top: 0;
  font-size: 10px;
  color: var(--gris-txt);
  line-height: 1;
}

/* Badge inferior derecho */
.hbadge2 {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: transparent;
  border-radius: 10px;
  padding: 0;
  background-color: #fff;
}
.rupe-badge-img { 
  width: 72px; 
  height: 72px; 
  display: block; 
  border-radius: 10px; 
  object-fit: contain; 
}
.rupe-stat-img  { 
  width: 48px; 
  height: 48px; 
  display: block; 
  margin: 0 auto; 
  border-radius: 6px; 
  object-fit: contain; 
}

/* Responsive hero */
@media (min-width: 1280px) {
  .hero-grid { gap: 72px; padding: 60px 32px; }
  .hero-img { height: 500px; }
  .hero-titulo { font-size: 56px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 52px 24px 48px; gap: 36px; }
  .hero-img { height: 280px; }
  .hero-desc { max-width: 100%; }
}
@media (max-width: 540px) {
  .hero-titulo { font-size: 36px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .hero-img { display: none; }
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.nos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Galería izquierda */
.nos-gal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 160px auto;
  gap: 12px;
}
.nos-gal .stats {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.nos-foto {
  border-radius: 14px; overflow: hidden;
  position: relative; background: var(--azul-osc);
}
.nos-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nos-foto:hover img { transform: scale(1.04); }
.nos-foto.grande { grid-column: 1 / 3; }

.foto-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,28,54,.65));
  padding: 20px 14px 10px;
  font-size: 12px; font-weight: 700;
  color: #fff; letter-spacing: 1px; text-transform: uppercase;
}
.foto-badge {
  position: absolute; bottom: 14px; right: 14px;
  background: #fff; border-radius: 10px;
  padding: 10px 14px; text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.foto-badge strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: var(--naranja); line-height: 1; }
.foto-badge span   { font-size: 10px; color: var(--gris-txt); font-weight: 600; }

/* Texto derecha */
.nos-txt p { font-size: 17px; color: #4b5563; line-height: 1.8; margin-bottom: 18px; }

/* RUPE box */
.rupe {
  display: flex; 
  align-items: flex-start; 
  gap: 14px;
  border: 1px solid var(--gris-bd);
  border-left: 4px solid var(--azul);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px; margin: 24px 0;
}
.rupe-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--azul-cla); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.rupe-ico svg { width: 20px; height: 20px; stroke: var(--azul); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rupe strong { display: block; font-size: 15px; font-weight: 800; color: #1a1f2e; margin-bottom: 4px; }
.rupe p { font-size: 14px; color: var(--gris-txt); margin: 0; line-height: 1.55; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 28px;
}
.stat {
  background: #fff; border-radius: 12px;
  border: 1px solid var(--gris-bd);
  border-top: 3px solid var(--naranja);
  padding: 18px 10px; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.stat:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,79,138,.12); }
.stat-n { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 800; color: var(--azul); line-height: 1; }
.stat-l { font-size: 12px; color: var(--gris-txt); font-weight: 600; margin-top: 5px; line-height: 1.3; }

@media (max-width: 860px) {
  .nos-grid { grid-template-columns: 1fr; gap: 40px; }
  .nos-gal { grid-template-rows: 200px 140px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/*
SECCION EMPLEADOS
*/
.our-team {
  padding-top:20px;
  padding-bottom:20px;
  margin-bottom: 5px;
  border-top: 2px solid var(--azul);
  border-bottom:2px solid var(--azul);
  grid-column:1/-1
}

.team-g {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 16px;
}

.tc {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--azul);
  text-align: center;
  transition: all .3s;
  flex: 0 0 160px;
  min-width: 0;
}
.tc:hover {
  border-color: var(--azul-osc);
  box-shadow: 0 0 22px 6px var(--azul-osc);
}
.tc-p {
  height: 190px;
  overflow: hidden;
  background-color: var(--gris-bg);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}
.tc-i { padding: 8px 6px; }
.tc-i strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .9rem; line-height: 1.2; color: var(--azul-osc); }
.tc-i span { font-size: .72rem; color: var(--gris-txt); }

@media (max-width: 760px) {
  .team-g { flex-wrap: wrap; gap: 10px; }
  .tc { flex: 0 0 calc(33.333% - 8px); }
  .tc-i { padding: 8px 6px; }
  .tc-i strong { font-size: .85rem; }
  .tc-i span { font-size: .7rem; }
}
@media (max-width: 480px) {
  .team-g { gap: 8px; }
  .tc { flex: 0 0 calc(50% - 5px); }
  .tc-i { padding: 6px 5px; }
  .tc-i strong { font-size: .78rem; }
  .tc-i span { font-size: .65rem; }
}

.sec-title{
  font-family:'Barlow Condensed',sans-serif;
  font-size:clamp(22px,2.5vw,32px);
  font-weight:800;
  color:var(--azul-osc);
  margin-bottom:10px;
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.sv-head {
  display: flex; 
  justify-content: space-between;
  align-items: flex-end; 
  gap: 24px; 
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.sv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sv {
  background: #fff;
  border: 1px solid var(--gris-bd);
  border-radius: 16px; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.sv:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(26,79,138,.13); border-color: var(--azul); }

.sv-top {
  padding: 26px 28px 22px;
  display: flex; align-items: center; gap: 16px;
}
.sv:nth-child(1) .sv-top { background: linear-gradient(135deg, #0b3460, #1A4F8A); }
.sv:nth-child(2) .sv-top { background: linear-gradient(135deg, #1A4F8A, #2476cc); }
.sv:nth-child(3) .sv-top { background: linear-gradient(135deg, #155080, #1a7aaa); }
.sv:nth-child(4) .sv-top { background: linear-gradient(135deg, #c45e08, #F97316); }

.sv-ico {
  width: 50px; height: 50px; flex-shrink: 0;
  background: rgba(255,255,255,.18); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.sv-ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-top h3 { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.25; }

.sv-body { padding: 22px 28px 26px; }
.sv-body p { font-size: 15px; color: var(--gris-txt); line-height: 1.75; margin-bottom: 18px; }
.sv-body li {
  font-size: 15px; color: #374151;
  padding: 8px 0; border-bottom: 1px solid var(--gris-bg);
  display: flex; align-items: center; gap: 10px;
}
.sv-body li:last-child { border: none; }
.sv-body li::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: var(--naranja); flex-shrink: 0;
}

@media (max-width: 760px) {

  .sv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sv-top { padding: 14px 12px 12px; gap: 10px; }
  .sv-ico { width: 36px; height: 36px; border-radius: 8px; }
  .sv-ico svg { width: 18px; height: 18px; }
  .sv-top h3 { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2; }
  .sv-body { padding: 12px 12px 14px; }
  .sv-body p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .sv-body li {
    font-size: 12px; color: #374151;
    padding: 6px 0; border-bottom: 1px solid var(--gris-bg);
    display: flex; align-items: center; gap: 8px;
  }

  .sv-head {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

/* =========================================================
   GALERÍA
   ========================================================= */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.gf {
  border-radius: 14px; overflow: hidden;
  position: relative; background: var(--azul-osc); cursor: pointer;
}
.gf img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gf:hover img { transform: scale(1.06); }
.gf.ancho { grid-column: span 2; }

.gf-ov {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(10,28,54,.7));
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 18px;
}
.gf:hover .gf-ov { opacity: 1; }
.gf-ov span { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .5px; }

@media (max-width: 760px) {
  .gal-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gf.ancho { grid-column: 1 / -1; height: 220px; }
  .gf { height: 160px; }
  .gf-ov span { font-size: 11px; }
}

/* =========================================================
   EMPRESAS (fondo azul oscuro)
   ========================================================= */
.emp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 48px;
}
.emp {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 28px;
  transition: background .2s, border-color .2s, transform .2s;
}
.emp:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); transform: translateY(-3px); }

.emp-ico {
  width: 46px; height: 46px;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.35);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.emp-ico svg { width: 22px; height: 22px; stroke: var(--naranja); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.emp h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.emp p  { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.65; }

.emp-cta {
  margin-top: 44px; padding: 36px;
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: 16px; text-align: center;
}
.emp-cta p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 22px; }

@media (max-width: 760px) { .emp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .emp-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   GRUPO DE EMPRESAS
   ========================================================= */
.grupo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 48px;
}
.gcard {
  background: #fff;
  border: 1px solid var(--gris-bd);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.gcard:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(26,79,138,.12); }

.gcard-top { padding: 30px 26px 24px; flex: 1; border-bottom: 1px solid var(--gris-bd); }
.gbadge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.glogo { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.gcard-top p { font-size: 14px; color: var(--gris-txt); line-height: 1.7; }

.gcard-foot {
  padding: 16px 26px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gris-bg);
}
.gcard-foot span { font-size: 12px; color: var(--gris-txt); font-weight: 500; }
.gcard-foot a { font-size: 13px; font-weight: 700; transition: letter-spacing .15s; }
.gcard-foot a:hover { letter-spacing: .3px; }

/* Transportes Castro */
.g-tc { border-top: 3px solid #600e1d; }
.g-tc .gbadge { background: var(--azul-cla); color: #600e1d; }
.g-tc .glogo  { color: #600e1d; }
.g-tc .gcard-foot { background: #600e1d; }
.g-tc .gcard-foot span { font-weight: 700; color: #600e1d; }
.g-tc .gcard-foot a   { color: #600e1d; }

/* Volcast */
.g-vc { border-top: 3px solid #6B1020; }
.g-vc .gbadge { background: #ffcdd6; color: #6B1020; }
.g-vc .glogo  { color: #6B1020; }
.g-vc .gcard-foot a { color: #6B1020; }

/* Volquetas */
.g-vq { border-top: 3px solid #C0392B; }
.g-vq .gbadge { background: #ffdbdb; color: #C0392B; }
.g-vq .glogo  { color: #C0392B; }
.g-vq .gcard-foot a { color: #C0392B; }

@media (max-width: 760px) { .grupo-grid { grid-template-columns: 1fr; max-width: 440px; } }

/* =========================================================
   CONTACTO
   ========================================================= */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px; margin-top: 48px; align-items: start;
}
.ct-info h3 { font-size: 21px; font-weight: 700; margin-bottom: 22px; }

.ct-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--gris-bd);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
  transition: border-color .2s, background .2s;
}
.ct-item:hover { border-color: var(--azul); background: var(--azul-cla); }
.ct-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--azul-cla); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.ct-ico svg { width: 18px; height: 18px; stroke: var(--azul); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-item strong { display: block; font-size: 13px; font-weight: 700; color: #1a1f2e; margin-bottom: 3px; }
.ct-item a, .ct-item span { font-size: 15px; color: var(--gris-txt); }
.ct-item a:hover { color: var(--azul); }

/* Horario box */
.hora-box {
  display: flex; align-items: center; gap: 14px;
  background: var(--azul-osc); border-radius: 12px;
  padding: 18px 20px; margin-top: 18px;
}
.hora-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,255,255,.12); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.hora-ico svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hora-box strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.hora-box span   { font-size: 14px; color: rgba(255,255,255,.65); }

/* WA button */
.wa-btn {
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 15px 22px; border-radius: 12px;
  font-size: 16px; font-weight: 700;
  margin-top: 16px; transition: background .2s, transform .2s;
}
.wa-btn:hover { background: #1aad55; transform: translateY(-2px); }
.wa-btn svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

/* Formulario */
.form {
  background: #fff; border: 1px solid var(--gris-bd);
  border-radius: 16px; padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.form h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.form > p { font-size: 15px; color: var(--gris-txt); margin-bottom: 26px; }

.formspree-form {
  display: grid;
  gap: 12px;
}
.formspree-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.formspree-form input,
.formspree-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--gris-bd);
  border-radius: 9px;
  font-size: 15px;
  font-family: 'Barlow', sans-serif;
  color: #1a1f2e;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.formspree-form input:focus,
.formspree-form textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(26,79,138,.1);
}
.formspree-form textarea {
  resize: vertical;
  min-height: 120px;
}
.formspree-form .btn-form {
  margin-top: 4px;
}

.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 7px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--gris-bd); border-radius: 9px;
  font-size: 15px; font-family: 'Barlow', sans-serif;
  color: #1a1f2e; background: #fff;
  transition: border-color .18s, box-shadow .18s; outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(26,79,138,.1);
}
.fg.fg-error input,
.fg.fg-error select,
.fg.fg-error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.fg-help {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #b91c1c;
}
.fg textarea { resize: vertical; min-height: 100px; }
.fg select { cursor: pointer; }

.btn-form {
  width: 100%; background: var(--azul); color: #fff;
  padding: 15px; border: none; border-radius: 10px;
  font-size: 16px; font-weight: 700; font-family: 'Barlow', sans-serif;
  cursor: pointer; transition: background .18s, transform .18s;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.btn-form:hover { background: var(--azul-osc); transform: translateY(-2px); }
.btn-form svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.form-feedback {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.form-feedback.ok {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
}
.form-feedback.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-ok {
  display: none; text-align: center;
  padding: 32px; background: var(--azul-cla);
  border-radius: 12px;
}
.form-ok .emo { font-size: 44px; margin-bottom: 14px; }
.form-ok p { font-size: 16px; color: var(--azul); font-weight: 600; }

@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; gap: 36px; } .f2 { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .form { padding: 22px; } }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--azul-osc);
  padding: 56px 32px 24px;
  border-top: 3px solid var(--naranja);
}
.ft { max-width: var(--max-w); margin: 0 auto; }
.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px; margin-bottom: 40px;
}

.ft-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.ft-logo-ico {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; color: #fff;
}
.ft-logo-txt { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; color: #fff; }
.ft-brand > p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 18px; }
.ft-social { display: flex; gap: 10px; flex-wrap: wrap; }
.ft-social a {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; padding: 8px 14px;
  color: #fff; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: background .18s;
}
.ft-social a:hover { background: rgba(255,255,255,.16); }

.ft-col h4 { font-size: 12px; font-weight: 700; color: var(--naranja); letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 18px; }
.ft-col li { margin-bottom: 10px; }
.ft-col a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; }
.ft-col a:hover { color: #fff; }

.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.ft-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }
.ft-bottom a { color: var(--naranja); }

@media (max-width: 860px) { .ft-grid { grid-template-columns: 1fr 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }

/* =========================================================
   ANIMACIONES DE ENTRADA POR SECCIÓN
   ========================================================= */
.animar {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.animar.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   FLOTA DE CAMIONES — sección nueva
   ========================================================= */
#flota { background: #fff; }

.flota-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flota-card {
  border: 1px solid var(--gris-bd);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  background: #fff;
}
.flota-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26,79,138,.13);
}

.flota-top {
  padding: 0 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.flota-top--sm  { background: linear-gradient(135deg, #1a5c9e, #2a88d0); }
.flota-top--md  { background: linear-gradient(135deg, #1A4F8A, #2563b0); }
.flota-top--lg  { background: linear-gradient(135deg, #0d3b6b, #1A4F8A); }
.flota-top--xl  { background: linear-gradient(135deg, #c45e08, #F97316); }

.flota-ico { font-size: 36px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.flota-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.flota-cap {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 800;
  color: #fff; line-height: 1;
}

.flota-body { padding: 20px; }
.flota-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #1a1f2e; }
.flota-body p  { font-size: 14px; color: var(--gris-txt); line-height: 1.65; margin-bottom: 14px; }

.flota-tags { list-style: none; }
.flota-tags li {
  font-size: 13px; color: #374151;
  padding: 5px 0;
  border-bottom: 1px solid var(--gris-bg);
  display: flex; align-items: center; gap: 8px;
}
.flota-tags li:last-child { border: none; }
.flota-tags li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--naranja);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .flota-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .flota-grid { grid-template-columns: 1fr; gap: 16px; }
  .flota-card { display: flex; flex-direction: column; }
  .flota-top  { padding: 22px 20px; }
  .flota-cap  { font-size: 28px; }
  .flota-body { padding: 18px; }
}


/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.lb.activo { display: flex; }
.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  cursor: default;
}
.lb-cerrar {
  position: absolute;
  top: 16px; right: 20px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-cerrar:hover { background: rgba(255,255,255,.3); }

/* Fotos con lightbox: cursor pointer */
.tc-p[data-lb],
.nos-foto img { cursor: zoom-in; }

/* =========================================================
   MEJORAS RESPONSIVE GENERALES
   ========================================================= */

/* Nav: en pantallas muy pequeñas, ocultar el horario pill */
@media (max-width: 400px) {
  .nav-hora { display: none; }
  .logo-txt small { display: none; }
}

/* Hero: mejorar en tablet */
@media (max-width: 860px) {
  .hero-grid { padding: 48px 20px 44px; gap: 32px; }
  .hero-subtag { font-size: 11px; }
  .hero-titulo { font-size: clamp(34px, 7vw, 52px); }
  .hero-desc { font-size: 16px; }
}

/* Nosotros: galería responsive */
@media (max-width: 860px) { /** dispositivo: tablet */
  .nos-grid { grid-template-columns: 1fr; gap: 36px; }
  .nos-gal {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 160px;
  }
  .nos-foto.grande {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .nos-foto.grande img {
    object-fit: contain;
    height: auto;
  }
  .nos-foto { min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr);}
  .stat-n { font-size: 30px; font-weight: 700; color: var(--azul); line-height: 1; }
  .stat-l { font-size: 10px; color: var(--gris-txt); font-weight: 500; margin-top: 5px; line-height: 1.3; }
  .stat:nth-child(3) { grid-column: 1 / -1; }
}

/* Servicios */
@media (max-width: 760px) {
  .sv-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sv-head .btn { align-self: flex-start; }
}

/* Galería */
@media (max-width: 640px) {
  .gal-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gf { height: 190px; grid-column: auto; }
  .gf.ancho { grid-column: auto; height: 190px; }
  .gf-ov span { font-size: 10px; }
}

/* Empresas */
@media (max-width: 640px) {
  .emp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .emp { padding: 14px 12px; }
  .emp-ico { width: 34px; height: 34px; border-radius: 8px; margin-bottom: 10px; }
  .emp-ico svg { width: 16px; height: 16px; }
  .emp h3 { font-size: 12px; margin-bottom: 6px; }
  .emp p  { font-size: 11px; line-height: 1.4; }
}

/* Grupo */
@media (max-width: 860px) {
  .grupo-grid { grid-template-columns: 1fr; max-width: 500px; }
}

/* Contacto */
@media (max-width: 760px) {
  .ct-grid { grid-template-columns: 1fr; gap: 20px; }
  .f2 { grid-template-columns: 1fr; }
  .form { order: -1; }
  .ct-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ct-info h3 { grid-column: 1 / -1; font-size: 15px; margin-bottom: 2px; }
  .ct-info .ct-item:nth-child(4) { grid-column: 1 / -1; }
  .ct-info .hora-box { grid-column: 1 / -1; }
  .ct-info .wa-btn { grid-column: 1 / -1; }
  .ct-item { padding: 8px 12px; gap: 10px; border-radius: 10px; margin-bottom: 0; }
  .ct-ico { width: 32px; height: 32px; border-radius: 7px; flex-shrink: 0; }
  .ct-ico svg { width: 14px; height: 14px; }
  .ct-item strong { font-size: 11px; margin-bottom: 1px; }
  .ct-item a, .ct-item span { font-size: 12px; }
  .hora-box { padding: 10px 14px; margin-bottom: 8px; }
  .hora-ico { width: 32px; height: 32px; }
  .hora-ico svg { width: 16px; height: 16px; }
  .hora-box strong { font-size: 12px; }
  .hora-box span { font-size: 11px; }
}

/* Footer */
@media (max-width: 760px) {
  footer { padding: 32px 14px 16px; }
  .ft-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 10px; }
  .ft-brand { grid-column: 1 / -1; margin-bottom: 4px; }
  .ft-brand > p { font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
  .ft-logo-txt { font-size: 14px; }
  .ft-logo-ico { width: 32px; height: 32px; font-size: 13px; }
  .ft-social a { font-size: 11px; padding: 6px 10px; }
  .ft-col h4 { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 10px; }
  .ft-col li { margin-bottom: 7px; }
  .ft-col a { font-size: 11px; }
  .ft-col li:not(:has(a)) { font-size: 11px; color: rgba(255,255,255,.55); }
  .ft-bottom { flex-direction: column; text-align: center; padding-top: 16px; }
  .ft-bottom p { font-size: 11px; }
}

/* Formulario en móvil */
@media (max-width: 480px) {
  .form { padding: 20px 16px; }
  .form h3 { font-size: 20px; }
}

/* Chips del hero en móvil */
@media (max-width: 540px) {
  .chips { gap: 6px; flex-wrap: wrap; justify-content: flex-start; }
  .chip { font-size: 10px; padding: 5px 8px; gap: 4px; border-radius: 20px; white-space: nowrap; }
  .chip svg { width: 11px; height: 11px; }
}

/* Menos margen lateral en dispositivos móviles */
@media (max-width: 760px) {
  .sec { padding: 24px 0; }
  .wrap,
  .nav-in,
  .mob,
  .hero-grid { padding-left: 18px; padding-right: 18px; }
  footer { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 480px) {
  .wrap,
  .nav-in,
  .mob,
  .hero-grid { padding-left: 14px; padding-right: 14px; }
  footer { padding-left: 14px; padding-right: 14px; }
}

/* ── BOTÓN VOLVER ARRIBA ─────────────────────────────── */
#btnTop {
  position: fixed;
  bottom: 28px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(37, 99, 235, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 900;
}
#btnTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#btnTop:hover {
  background: rgba(37, 99, 235, 0.82);
}
#btnTop svg {
  width: 22px;
  height: 22px;
}

/* =========================================================
   HERO — AJUSTES MOBILE ANDROID (360–480px)
   ========================================================= */

/* Hero: reducir padding vertical en móvil pequeño */
@media (max-width: 540px) {
  .hero-grid {
    padding-top: 36px;
    padding-bottom: 40px;
    gap: 20px;
  }
  .hero-subtag {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-btns {
    margin-bottom: 24px;
  }
  .btn {
    padding: 13px 20px;
    font-size: 15px;
  }
}

/* Hero: ajustes para pantallas muy pequeñas (< 400px) */
@media (max-width: 400px) {
  .hero-grid {
    padding-top: 28px;
    padding-bottom: 32px;
  }
  .hero-titulo {
    font-size: 30px;
  }
  .hero-subtag {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 4px 10px;
  }
  .hero-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .chips {
    gap: 5px;
  }
  .chip {
    font-size: 9px;
    padding: 4px 7px;
  }
}

/* Prevenir desbordamiento horizontal en todo el sitio */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
