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

:root {
  --navy: #1B2A4A;
  --navy-dark: #111d33;
  --navy-mid: #243660;
  --red: #C0392B;
  --red-light: #d44637;
  --cream: #F5F4F0;
  --white: #ffffff;
  --gray-200: #e0dfe0;
  --gray-500: #6b7280;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--navy); background: var(--white); overflow-x: hidden; }

/* ─── FOCUS VISIBLE ────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── NAV ──────────────────────────────────────────── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding: 1.1rem 5%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(27,42,74,0.08), 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.4s ease;
}
nav.scrolled {
  box-shadow: 0 1px 0 rgba(27,42,74,0.1), 0 4px 24px rgba(0,0,0,0.08);
}
.nav-logo { display:flex; align-items:center; text-decoration:none; }
.nav-logo-img { height:38px; width:auto; display:block; transition:opacity 0.3s; }
.nav-logo-img:hover { opacity:0.85; }
.nav-links { display:flex; gap:2.5rem; list-style:none; }
.nav-links a { color:var(--navy); text-decoration:none; font-size:13px; letter-spacing:0.05em; text-transform:uppercase; transition:color 0.2s; }
.nav-links a:hover { color:var(--red); }
.nav-cta {
  background:var(--red); color:var(--white); padding:0.55rem 1.4rem;
  border-radius:3px; font-size:13px; font-weight:700; letter-spacing:0.06em;
  text-transform:uppercase; text-decoration:none; transition:all 0.2s;
}
.nav-cta:hover { background:var(--red-light); transform:translateY(-1px); }

/* ─── HAMBURGER ────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(27,42,74,0.06); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MENÚ MÓVIL ───────────────────────────────────── */
.nav-mobile {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile.open { max-height: 340px; }
.nav-mobile ul {
  list-style: none;
  padding: 1rem 5% 0.5rem;
  display: flex;
  flex-direction: column;
}
.nav-mobile ul li { border-bottom: 1px solid var(--gray-200); }
.nav-mobile ul li:last-child { border-bottom: none; }
.nav-mobile ul a {
  display: block;
  padding: 1rem 0;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-mobile ul a:hover { color: var(--red); }
.nav-mobile-cta {
  display: block;
  margin: 1rem 5% 1.5rem;
  background: var(--red);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
.nav-mobile-cta:hover { background: var(--red-light); }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy-dark) url('assets/images/hero-bg.webp') center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0 8%;
  position: relative;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 29, 51, 0.45) 0%,
    rgba(17, 29, 51, 0.55) 50%,
    rgba(17, 29, 51, 0.82) 100%
  );
  z-index: 1;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03; z-index: 1;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.5) 0px, rgba(255,255,255,0.5) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.5) 0px, rgba(255,255,255,0.5) 1px, transparent 1px, transparent 60px);
}
.hero-accent-bar {
  position: absolute; top:0; left:0; width:4px; height:100%; z-index: 2;
  background: linear-gradient(to bottom, var(--red) 30%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
  padding-top: 120px; padding-bottom: 72px;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%;
}

/* ── Tipografía y elementos ── */
.hero h1 {
  font-size: clamp(1.85rem, 2.5vw, 3.1rem); font-weight:900; color:var(--white);
  line-height:1.1; margin-bottom:1.4rem; letter-spacing:-0.025em;
}
.hero h1 em { color:var(--red); font-style:normal; }
.hero-sub {
  font-size: 0.975rem; color:rgba(255,255,255,0.6);
  line-height:1.75; margin-bottom:2.5rem;
}
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:3rem; justify-content:flex-start; }
.btn-red {
  background:var(--red); color:var(--white); padding:0.9rem 2rem; border-radius:3px;
  font-weight:700; font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
  text-decoration:none; transition:all 0.2s; border:2px solid var(--red);
}
.btn-red:hover { background:var(--red-light); transform:translateY(-2px); }
.btn-outline {
  color:rgba(255,255,255,0.8); padding:0.9rem 2rem; border-radius:3px;
  font-weight:600; font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
  text-decoration:none; border:2px solid rgba(255,255,255,0.18); transition:all 0.2s;
}
.btn-outline:hover { border-color:rgba(255,255,255,0.45); transform:translateY(-2px); }
.hero-divider { height:1px; background:rgba(255,255,255,0.08); margin-bottom:2rem; width:100%; }
.hero-stats { display:flex; gap:2.5rem; flex-wrap:wrap; align-items:flex-start; justify-content:flex-start; }
.hero-stat-n { font-size:2.1rem; font-weight:900; color:var(--white); line-height:1; }
.hero-stat-plus { font-size:1.3rem; color:rgba(255,255,255,0.45); }
.hero-stat-l { font-size:11px; color:rgba(255,255,255,0.45); text-transform:uppercase; letter-spacing:0.08em; margin-top:5px; }
.hero-origin {
  display:inline-flex; align-items:center; gap:7px;
  color:rgba(255,255,255,0.5); font-size:12px; font-weight:500; letter-spacing:0.04em;
  margin-bottom:1.4rem; padding:0.35rem 0.9rem 0.35rem 0.7rem;
  border:1px solid rgba(255,255,255,0.12); border-radius:100px;
}

/* ─── SHARED SECTION ELEMENTS ──────────────────────── */
.section-kicker { font-size:11px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--red); margin-bottom:0.8rem; }
.section-title { font-size:clamp(1.9rem,3vw,2.8rem); font-weight:900; color:var(--navy); line-height:1.15; margin-bottom:1rem; }
.section-sub { font-size:1rem; color:var(--gray-500); max-width:520px; line-height:1.75; }

/* ─── COBERTURA ─────────────────────────────────────── */
.cobertura {
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 5%;
  gap: 2.5rem;
}
.cob-header {
  width: 100%;
  max-width: min(100%, calc(66vh * 1000 / 630));
}
.cobertura .section-kicker { color: #e06050; }
.cobertura .section-title { color: var(--white); margin-bottom: 0.75rem; }
.cob-tagline {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  margin: 0;
}
.cob-map {
  width: 100%;
  max-width: min(100%, calc(66vh * 1000 / 630));
}

/* ─── MAPA ──────────────────────────────────────────── */
.map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 630;
  overflow: hidden;
  background: var(--navy-dark);
}
.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.07;
  display: block;
}
.map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-ciudad { cursor: default; }
.map-ciudad circle { fill: var(--red); }
.map-ciudad text {
  fill: rgba(255,255,255,0.55);
  font-size: 12px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-weight: 500;
}
.map-origen circle { fill: #e8a020; }
.map-origen text { fill: rgba(232,160,32,0.85); font-size: 12px; font-weight: 600; }
.map-linea { stroke: rgba(192,57,43,0.35); stroke-width: 1; fill: none; }

/* ─── PROCESO HORIZONTAL ────────────────────────────── */
.proceso-section {
  background: var(--cream);
  padding: 5.5rem 5%;
}
.proceso-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.proceso-header .section-title {
  margin-bottom: 0;
}
.proceso-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Línea conectora entre iconos */
.proceso-flow::before {
  content: '';
  position: absolute;
  top: 32px;      /* mitad del círculo (64px / 2) */
  left: 12.5%;    /* centro de la col 1 */
  right: 12.5%;   /* centro de la col 4 desde la derecha */
  height: 2px;
  background: linear-gradient(to right, rgba(192,57,43,0.15), rgba(192,57,43,0.4), rgba(192,57,43,0.15));
  z-index: 0;
}
.paso-h {
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.paso-h-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  position: relative;
  z-index: 1;
  border: 4px solid var(--cream);   /* corta visualmente la línea */
  box-shadow: 0 0 0 1px rgba(27,42,74,0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}
.paso-h:hover .paso-h-icon {
  background: var(--red);
  transform: scale(1.08);
}
.paso-h-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}
.paso-h-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.paso-h-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.paso-h-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ─── SERVICIOS ─────────────────────────────────────── */
.servicios { background:var(--white); padding:5.5rem 5%; }
.servicios-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; margin-top:3.5rem; }

/* ── Card: imagen full + hover reveal ── */
.scard {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  cursor: pointer;
}

/* Gradiente permanente: hace legible el título en reposo */
.scard::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(to top, rgba(10,18,36,0.85) 0%, transparent 100%);
  z-index: 1; pointer-events: none;
}

/* Imagen llena la card */
.scard-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.scard-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.scard:hover .scard-img img { transform: scale(1.05); }
.scard-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.scard-img-placeholder svg { width: 40px; height: 40px; stroke: rgba(255,255,255,0.1); fill: none; stroke-width: 1.2; }

/* Panel unificado: h3 primero → translateY muestra el top del panel (= título) */
.scard-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.4rem;
  background: linear-gradient(to top, rgba(10,18,36,0.97) 55%, rgba(10,18,36,0.8) 80%, transparent 100%);
  z-index: 2;
  transform: translateY(calc(100% - 6.2rem));
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scard:hover .scard-body { transform: translateY(0); }

.scard-arrow {
  text-align: center; margin-bottom: 0.25rem;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}
.scard-arrow svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.4); }
.scard:hover .scard-arrow { transform: rotate(180deg); opacity: 0.2; }

.scard-subtitle {
  display: block; text-align: center;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 0.35rem;
}
.scard h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--white);
  line-height: 1.25; margin: 0 0 0.5rem; text-align: center;
}
.scard p {
  font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.6; margin: 0;
  opacity: 0; transition: opacity 0.2s ease 0.25s;
}
.scard-specs {
  list-style: none; margin-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.6rem;
  opacity: 0; transition: opacity 0.2s ease 0.3s;
}
.scard-specs li { font-size: 11.5px; color: rgba(255,255,255,0.55); padding: 0.2rem 0; display: flex; align-items: center; gap: 8px; }
.scard-specs li::before { content:''; display:block; width:3px; height:3px; border-radius:50%; background:var(--red); opacity:0.7; flex-shrink:0; }
.scard-subtypes {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; margin-top: 0.6rem;
  opacity: 0; transition: opacity 0.2s ease 0.3s;
}
.scard-subtype {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; padding: 0.6rem 0.4rem; text-align: center;
}
.scard-subtype-name { font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.85); display: block; }
.scard-subtype-desc { font-size: 10px; color: rgba(255,255,255,0.45); display: block; margin-top: 3px; }


/* ─── GALERÍA ────────────────────────────────────────── */
.galeria {
  background: var(--white);
  padding: 5.5rem 5%;
}
.galeria-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.galeria .section-kicker { color: var(--red); }
.galeria .section-title { color: var(--navy); margin-bottom: 0; }
.galeria-ver-mas {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  cursor: pointer;
  border: 1px solid rgba(27,42,74,0.22);
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  white-space: nowrap;
  transition: all 0.2s;
}
.galeria-ver-mas svg {
  transition: transform 0.3s ease;
}
.galeria-ver-mas[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.galeria-ver-mas:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.gcard--extra {
  display: none;
}
.galeria-grid.expanded .gcard--extra {
  display: block;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gcard {
  aspect-ratio: 4 / 3;
  background: var(--navy-mid);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.gcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition: opacity 0.3s, transform 0.45s ease;
}
.gcard:hover img {
  opacity: 1;
  transform: scale(1.04);
}
.gcard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.13);
}
.gcard-placeholder svg {
  width: 30px;
  height: 30px;
  stroke: rgba(255,255,255,0.1);
  fill: none;
  stroke-width: 1.5;
}
.gcard-placeholder span {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── SEGURIDAD ─────────────────────────────────────── */
.seguridad { background:var(--navy-dark); padding:5.5rem 5%; position:relative; overflow:hidden; }
.seguridad::before {
  content:''; position:absolute; top:-30%; right:-5%; width:50%; height:160%;
  background:radial-gradient(ellipse, rgba(192,57,43,0.05) 0%, transparent 65%);
}
.seg-inner { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; position:relative; z-index:1; }
.seguridad .section-kicker { color:#e06050; }
.seguridad .section-title { color:var(--white); }
.seguridad .section-sub { color:rgba(255,255,255,0.55); margin-bottom:2.2rem; }
.seg-item {
  display:flex; gap:14px; align-items:flex-start;
  padding:1.4rem; border:1px solid rgba(255,255,255,0.07); border-radius:4px;
  margin-bottom:1rem; background:rgba(255,255,255,0.02);
  transition:background 0.25s, border-color 0.25s;
}
.seg-item:hover { background:rgba(255,255,255,0.05); border-color:rgba(192,57,43,0.25); }
.seg-item-icon {
  width:36px; height:36px; flex-shrink:0;
  background:rgba(192,57,43,0.12); border-radius:4px;
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.seg-item-icon svg { width:17px; height:17px; stroke:#e06050; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.seg-item-title { font-size:14px; font-weight:700; color:var(--white); margin-bottom:4px; }
.seg-item-desc { font-size:12px; color:rgba(255,255,255,0.6); line-height:1.6; }
.seg-right { display:flex; flex-direction:column; gap:1.5rem; }
.exp-block {
  background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.07);
  border-radius:4px; padding:2.5rem; text-align:center;
}
.exp-num { font-size:6rem; font-weight:900; color:var(--red); line-height:1; }
.exp-label { font-size:11px; color:rgba(255,255,255,0.55); text-transform:uppercase; letter-spacing:0.12em; margin-top:0.5rem; }
.exp-desc { font-size:13px; color:rgba(255,255,255,0.45); margin-top:0.75rem; line-height:1.5; max-width:200px; margin-left:auto; margin-right:auto; }
.seg-info-cards { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.seg-info-card {
  background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.07);
  border-radius:4px; padding:1.4rem; text-align:center; transition:background 0.25s;
}
.seg-info-card:hover { background:rgba(255,255,255,0.06); }
.seg-info-card svg {
  width:22px; height:22px; stroke:#e06050; fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
  margin-bottom:0.6rem; display:block; margin-left:auto; margin-right:auto;
}
.seg-info-title { font-size:13px; font-weight:700; color:var(--white); margin-bottom:4px; }
.seg-info-text { font-size:11px; color:rgba(255,255,255,0.55); line-height:1.5; }

/* ─── CTA ───────────────────────────────────────────── */
.cta-band { background:var(--red); padding:5rem 5%; text-align:center; }
.cta-band h2 { font-size:clamp(1.8rem,3.5vw,3rem); font-weight:900; color:var(--white); margin-bottom:0.9rem; letter-spacing:-0.02em; }
.cta-band p { font-size:1.05rem; color:rgba(255,255,255,0.8); max-width:460px; margin:0 auto 2.5rem; line-height:1.7; }
.cta-btn {
  display:inline-block; background:var(--white); color:var(--red);
  padding:1rem 2.5rem; border-radius:3px; font-weight:700; font-size:14px;
  letter-spacing:0.08em; text-transform:uppercase; text-decoration:none; transition:all 0.2s;
}
.cta-btn:hover { background:var(--cream); transform:translateY(-2px); }

/* ─── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--white); padding:2.2rem 5%;
  display:flex; align-items:center; justify-content:space-between;
  border-top:3px solid var(--red);
  gap: 1.5rem;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
.foot-logo { display:flex; align-items:center; gap:14px; }
.foot-logo-img { height:36px; width:auto; display:block; }
.foot-logo-name { font-size:13px; font-weight:800; color:var(--navy); text-transform:uppercase; letter-spacing:0.1em; display:block; }
.foot-razon { font-size:11px; color:var(--gray-500); display:block; margin-top:2px; letter-spacing:0.03em; }
.foot-contact { display:flex; align-items:center; gap:1.2rem; flex-shrink:0; }
.foot-tel { font-size:13px; color:var(--navy); text-decoration:none; font-weight:600; letter-spacing:0.03em; transition:color 0.2s; }
.foot-tel:hover { color:var(--red); }
.foot-wa {
  font-size:12px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--red); text-decoration:none;
  border:1px solid rgba(192,57,43,0.35); padding:0.3rem 0.8rem;
  border-radius:2px; transition:all 0.2s;
}
.foot-wa:hover { background:rgba(192,57,43,0.08); }
.foot-privacy { font-size:10px; color:var(--gray-500); text-decoration:none; display:block; margin-top:4px; transition:color 0.2s; }
.foot-privacy:hover { color:var(--red); }

/* ─── BOTÓN FLOTANTE WHATSAPP ────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.2);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.5s infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: 0.75; }
  70%  { transform: scale(1.6);  opacity: 0; }
  100% { transform: scale(1.6);  opacity: 0; }
}

/* ─── RESPONSIVE ────────────────────────────────────── */
@media(max-width:900px) {
  .nav-links { display:none; }
  .nav-cta { display:none; }
  .nav-hamburger { display:flex; }
  .servicios-grid { grid-template-columns:repeat(2,1fr); }
  .seg-inner { grid-template-columns:1fr; gap:3rem; }
  .hero-stats { gap:2.5rem; }
  /* Proceso: 2x2 en tablet */
  .proceso-flow { grid-template-columns:repeat(2,1fr); gap:3rem 0; }
  .proceso-flow::before { display:none; }
  .paso-h { padding: 0 2rem; }
  /* Galería: 2 columnas en tablet */
  .galeria-grid { grid-template-columns:repeat(2,1fr); }
  .galeria-header { flex-direction:column; align-items:flex-start; gap:1.2rem; }
  .galeria-ver-mas { align-self: flex-start; }
}

@media(max-width:640px) {
  nav { padding: 0.9rem 5%; }
  /* Hero: imagen arriba, texto abajo */
  .hero { padding: 0 6%; }
  .hero-content { padding-top: 110px; padding-bottom: 60px; }
  .hero-sub { font-size:0.95rem; }
  .hero-actions { flex-direction:column; align-items:stretch; width:100%; max-width:320px; }
  .btn-red, .btn-outline { text-align:center; }
  .hero-stats { gap:2rem; }
  .hero-stat-n { font-size:1.9rem; }
  .cobertura { padding-top: 3rem; }
  .cob-header { padding: 0 6% 2rem; }
  .cob-destinations { padding: 1.2rem 6% 3rem; }
  .proceso-section { padding: 3.5rem 6%; }
  .servicios { padding:3.5rem 6%; }
  .seguridad { padding:3.5rem 6%; }
  .cta-band { padding:3.5rem 6%; }
  .seg-info-cards { grid-template-columns:1fr 1fr; }
  /* Servicios cards: layout clásico en móvil */
  .scard { aspect-ratio: unset; display: flex; flex-direction: column; }
  .scard::before { display: none; }
  .scard-img { position: relative; inset: unset; width: 100%; height: auto; aspect-ratio: 16/9; flex-shrink: 0; }
  .scard-body { position: relative; inset: unset; transform: none !important; background: var(--navy); padding: 1.2rem 1.1rem 1.3rem; }
  .scard-arrow { display: none; }
  .scard-subtitle, .scard h3 { text-align: left; }
  .scard p, .scard-specs, .scard-subtypes { opacity: 1; transition: none; }
}

@media(max-width:560px) {
  .servicios-grid { grid-template-columns:1fr; }
  /* Proceso: columna única en móvil */
  .proceso-flow { grid-template-columns:1fr; gap:2.5rem; }
  .paso-h { text-align:left; display:flex; align-items:flex-start; gap:1.2rem; padding:0; }
  .paso-h-icon { flex-shrink:0; width:52px; height:52px; margin:0; border:none; box-shadow:none; }
  .paso-h-icon svg { width:20px; height:20px; }
  .paso-h-num { margin-bottom:0.3rem; }
  .proceso-header { text-align:left; }
}

@media(max-width:480px) {
  .hero-stats { gap:1.5rem; }
  .seg-info-cards { grid-template-columns:1fr; }
  footer {
    flex-direction:column;
    align-items:flex-start;
    gap:1.2rem;
    padding:1.8rem 6%;
  }
  .foot-contact { gap:1rem; }
  .cta-band h2 { font-size:1.6rem; }
  .cob-tagline { display: none; }
}

/* ─── LIGHTBOX ──────────────────────────────────────── */
.lb-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lb-overlay[hidden] { display: none; }
.lb-overlay.lb-visible { opacity: 1; }

.lb-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.lb-overlay.lb-visible .lb-img { transform: scale(1); }

.lb-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: rgba(255,255,255,0.08); border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); transition: background 0.2s, color 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.18); color: #fff; }
.lb-close svg { width: 20px; height: 20px; }

.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: none; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); transition: background 0.2s, color 0.2s;
}
.lb-prev { left: 1.4rem; }
.lb-next { right: 1.4rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.18); color: #fff; }
.lb-prev svg, .lb-next svg { width: 22px; height: 22px; }
.lb-prev:disabled, .lb-next:disabled { opacity: 0.2; pointer-events: none; }

.lb-counter {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.45);
}

/* cursor pointer en las fotos de la galería */
.gcard img { cursor: zoom-in; }

@media (max-width: 640px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
}

.scard:hover p,
.scard:hover .scard-specs,
.scard:hover .scard-subtypes { opacity: 1; }

/* Touch: mismo layout clásico para tablets táctiles >640px */
@media (hover: none) {
  .scard { aspect-ratio: unset; display: flex; flex-direction: column; }
  .scard::before { display: none; }
  .scard-img { position: relative; inset: unset; width: 100%; height: auto; aspect-ratio: 16/9; flex-shrink: 0; }
  .scard-body { position: relative; inset: unset; transform: none !important; background: var(--navy); padding: 1.2rem 1.1rem 1.3rem; }
  .scard-arrow { display: none; }
  .scard-subtitle, .scard h3 { text-align: left; }
  .scard p, .scard-specs, .scard-subtypes { opacity: 1; transition: none; }
}
