/* ============================================================
   ASISTENCIA VIAL RT S.A.S. — Siempre contigo en el camino
   ============================================================ */

:root {
  /* Paleta tomada del logo: azul marino + rojo + blanco */
  --navy-950: #070d1f;
  --navy-900: #0b1329;
  --navy-800: #101d40;
  --navy-700: #16295e;
  --navy-600: #1e3778;
  --red: #d81f2a;
  --red-hot: #f42837;
  --red-deep: #a8121c;
  --paper: #f5f6f9;
  --paper-dim: #e8eaf1;
  --ink: #0d1730;
  --ink-60: rgba(13, 23, 48, .64);
  --white: #fdfdfe;
  --white-70: rgba(253, 253, 254, .72);
  --white-40: rgba(253, 253, 254, .45);
  --line-dark: rgba(13, 23, 48, .12);
  --line-light: rgba(253, 253, 254, .14);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.87, 0, .13, 1);

  --nav-h: 76px;
  --strip-h: 40px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--white); }

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Tipografía base ---------- */

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--navy-700);
}
.h2 em { font-style: normal; color: var(--red); }
.h2--light { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.eyebrow--light { color: var(--red-hot); }

.lead { color: var(--ink-60); max-width: 56ch; }
.lead + .lead { margin-top: 14px; }
.lead strong { color: var(--ink); }

.tdot { color: var(--red); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .45s var(--ease-out), background .3s var(--ease-out),
              border-color .3s var(--ease-out), box-shadow .45s var(--ease-out),
              color .3s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(216, 31, 42, .55);
}
.btn--red:hover {
  background: var(--red-hot);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -8px rgba(216, 31, 42, .7);
}

.btn--ghost {
  border-color: var(--line-light);
  color: var(--white);
  background: rgba(253, 253, 254, .04);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(253, 253, 254, .1);
  transform: translateY(-2px);
}

.btn--wsp {
  background: #1fae54;
  color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(31, 174, 84, .55);
}
.btn--wsp:hover {
  background: #24c862;
  transform: translateY(-2px);
}

.btn--xl { padding: 18px 32px; font-size: 1.02rem; }
.btn--nav { padding: 11px 20px; font-size: .82rem; }

/* ---------- Barra superior ---------- */

.topstrip {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--strip-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--red);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding-inline: 16px;
}
.topstrip__text { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.topstrip__phones { display: flex; align-items: center; gap: 12px; }
.topstrip__phone { color: var(--white); text-decoration: none; font-weight: 800; }
.topstrip__phone:hover { text-decoration: underline; }
.topstrip__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--white-70); }

/* ---------- Navegación ---------- */

.nav {
  position: fixed;
  top: var(--strip-h);
  left: 0; right: 0;
  z-index: 55;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out),
              top .4s var(--ease-out);
}
.nav.is-scrolled {
  top: 0;
  background: rgba(7, 13, 31, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav__inner {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}
.logo__mark {
  position: relative;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--white);
  padding-bottom: 8px;
}
.logo__mark em { font-style: normal; color: var(--red-hot); }
.logo__road {
  position: absolute;
  left: -6px; right: -6px; bottom: 0;
  width: calc(100% + 12px);
  height: 9px;
  color: var(--white-40);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name {
  font-weight: 800;
  font-size: .98rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.logo__tag {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--white-40);
}

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  color: var(--white-70);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red-hot);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 2px solid var(--line-light);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero__media img {
  animation: heroZoom 14s var(--ease-out) both;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(12deg, rgba(7, 13, 31, .96) 22%, rgba(7, 13, 31, .55) 55%, rgba(7, 13, 31, .35) 100%),
    linear-gradient(180deg, rgba(7, 13, 31, .68) 0%, rgba(7, 13, 31, 0) 34%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  padding: calc(var(--nav-h) + var(--strip-h) + 60px) 0 110px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--white-70);
  border: 1px solid var(--line-light);
  background: rgba(7, 13, 31, .45);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #2ee06a;
  box-shadow: 0 0 0 0 rgba(46, 224, 106, .6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(46, 224, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 224, 106, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 10.5vw, 8.6rem);
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: .005em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: normal;
  color: var(--red-hot);
  text-shadow: 0 6px 40px rgba(216, 31, 42, .45);
}

.hero__sub {
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--white-70);
  margin-bottom: 38px;
}
.hero__sub strong { color: var(--white); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
  max-width: 720px;
}
.hero__proof li {
  flex: 1 1 180px;
  padding: 18px 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__proof li + li { padding-left: 26px; border-left: 1px solid var(--line-light); }
.hero__proof strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hero__proof span {
  font-size: .8rem;
  color: var(--white-40);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

/* Línea de carretera animada */
.hero__road {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42px;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(7,13,31,.65) 100%);
  overflow: hidden;
}
.hero__lane {
  position: absolute;
  left: -10%; right: -10%;
  top: 50%;
  height: 4px;
  background-image: linear-gradient(90deg, var(--white) 0 34px, transparent 34px 68px);
  background-size: 68px 4px;
  opacity: .55;
  animation: lane 1.1s linear infinite;
}
@keyframes lane {
  to { background-position-x: -68px; }
}

/* ---------- Marquesina ---------- */

.marquee {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin-block: -8px 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 14px 40px -18px rgba(216, 31, 42, .8);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.marquee i {
  font-style: normal;
  font-weight: 800;
  opacity: .55;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Nosotros ---------- */

.about { padding: 120px 0 110px; background: var(--paper); }

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about__stats {
  display: flex;
  list-style: none;
  margin-top: 44px;
  border-top: 2px solid var(--line-dark);
}
.about__stats li {
  flex: 1;
  padding: 22px 20px 0 0;
}
.about__stats li + li { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.about__stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--navy-700);
  line-height: 1;
}
.about__stats strong i { font-style: normal; color: var(--red); font-size: .7em; }
.about__stats span {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-60);
}

.about__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(13, 23, 48, .5);
  margin-right: max(-60px, -4vw);
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.about__media:hover img { transform: scale(1.04); }
.about__media figcaption {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(7, 13, 31, .82);
  backdrop-filter: blur(8px);
  color: var(--white-70);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-247 {
  flex: none;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  background: var(--red);
  border-radius: 8px;
  padding: 6px 10px;
  letter-spacing: .05em;
}

/* ---------- Servicios ---------- */

.services {
  position: relative;
  padding: 120px 0 130px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(216, 31, 42, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
}

.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.services__intro {
  max-width: 34ch;
  color: var(--white-40);
  font-size: 1.02rem;
  padding-bottom: 8px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(253, 253, 254, .035);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 34px 30px 30px;
  overflow: hidden;
  transition: transform .5s var(--ease-out), background .4s var(--ease-out),
              border-color .4s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-hot));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  background: rgba(253, 253, 254, .065);
  border-color: rgba(253, 253, 254, .25);
}
.card:hover::before { transform: scaleX(1); }

.card__num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white-40);
  letter-spacing: .06em;
}
.card__icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(253, 253, 254, .06);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  transition: transform .5s var(--ease-out), background .4s var(--ease-out);
}
.card__icon svg { width: 38px; height: 38px; }
.card:hover .card__icon {
  transform: translateY(-3px) rotate(-3deg);
  background: rgba(216, 31, 42, .16);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.card__text {
  color: var(--white-40);
  font-size: .95rem;
  flex: 1;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--red-hot);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.card__link i {
  font-style: normal;
  transition: transform .35s var(--ease-out);
}
.card__link:hover i { transform: translateX(6px); }

/* ---------- Galería ---------- */

.gallery { padding: 120px 0; background: var(--paper); }
.gallery__head { margin-bottom: 54px; }

.gallery__grid {
  width: min(1360px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-dim);
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8 / 3.9; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(7, 13, 31, .85));
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Proceso ---------- */

.process {
  padding: 120px 0 130px;
  background:
    radial-gradient(800px 420px at 10% 0%, rgba(30, 55, 120, .5), transparent 60%),
    var(--navy-900);
  color: var(--white);
}

.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 90px 30px 34px;
  background: rgba(253, 253, 254, .03);
  overflow: hidden;
}
.step__num {
  position: absolute;
  top: -18px; left: 14px;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(244, 40, 55, .55);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 10px;
}
.step__text { color: var(--white-40); font-size: .95rem; }
.step__text a { color: var(--white); font-weight: 700; text-decoration-color: var(--red-hot); }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding: 130px 0;
  background:
    radial-gradient(1000px 600px at 50% 120%, rgba(168, 18, 28, .55), transparent 65%),
    linear-gradient(160deg, var(--red-deep) 0%, var(--red) 55%, #e63946 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: -10%; right: -10%;
  top: 46px;
  height: 4px;
  background-image: linear-gradient(90deg, rgba(253,253,254,.5) 0 34px, transparent 34px 68px);
  background-size: 68px 4px;
  animation: lane 1.3s linear infinite;
}
.cta__kicker {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  opacity: .85;
  margin-bottom: 14px;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cta__title .tdot { color: var(--navy-900); }
.cta__sub { max-width: 46ch; margin: 0 auto 44px; opacity: .9; font-size: 1.08rem; }

.cta__phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
}
.cta__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
  color: var(--white);
  background: rgba(7, 13, 31, .28);
  border: 1px solid rgba(253, 253, 254, .25);
  border-radius: 16px;
  padding: 18px 30px;
  transition: transform .45s var(--ease-out), background .35s var(--ease-out);
  will-change: transform;
}
.cta__phone:hover { background: rgba(7, 13, 31, .45); transform: translateY(-3px); }
.cta__phone-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  opacity: .75;
}
.cta__phone-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: .04em;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: var(--white-70);
  padding-top: 90px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  padding-bottom: 70px;
}
.logo--footer { margin-bottom: 22px; }
.footer__desc { font-size: .95rem; color: var(--white-40); max-width: 40ch; }

.footer__col h3 {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a {
  color: var(--white-40);
  text-decoration: none;
  font-size: .95rem;
  transition: color .3s var(--ease-out), padding-left .3s var(--ease-out);
}
.footer__col a:hover { color: var(--red-hot); padding-left: 4px; }

.footer__social-title { margin-top: 30px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  color: var(--white-70);
  transition: transform .4s var(--ease-out), background .3s var(--ease-out),
              color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}
.footer__social svg { width: 20px; height: 20px; }

.footer__bottom { border-top: 1px solid var(--line-light); padding: 24px 0; }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--white-40);
}
.footer__slogan {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white-70);
}

/* ---------- WhatsApp flotante ---------- */

.wsp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  background: #1fae54;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 34px -8px rgba(31, 174, 84, .7);
  transition: transform .4s var(--ease-out);
}
.wsp-float svg { width: 32px; height: 32px; }
.wsp-float:hover { transform: scale(1.08) translateY(-2px); }
.wsp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(31, 174, 84, .7);
  animation: ring 2.2s var(--ease-out) infinite;
}
@keyframes ring {
  from { transform: scale(1); opacity: 1; }
  to   { transform: scale(1.55); opacity: 0; }
}
.wsp-float__tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy-900);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.wsp-float:hover .wsp-float__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------- Animaciones de entrada ---------- */

.reveal-load {
  opacity: 0;
  transform: translateY(34px);
  animation: rise .95s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-load { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { aspect-ratio: 8 / 4.4; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .topstrip { justify-content: space-between; }
  .topstrip__text { display: none; }
  .topstrip::before {
    content: "Emergencia 24/7";
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    white-space: nowrap;
  }
  .topstrip__phone { white-space: nowrap; font-size: .8rem; }

  .nav__burger { display: flex; }
  .btn--nav span { display: none; }
  .btn--nav { padding: 11px 13px; border-radius: 12px; }

  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 82vw);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px 36px;
    background: rgba(7, 13, 31, .97);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--line-light);
    transform: translateX(100%);
    transition: transform .55s var(--ease-io);
    z-index: 80;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--white);
    padding: 10px 0;
  }
  .nav__links a::after { height: 3px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { margin-right: 0; }

  .services__head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 44px; }
  .process__steps { grid-template-columns: 1fr; gap: 34px; }

  .about, .services, .gallery, .process { padding-block: 84px; }
  .cta { padding-block: 96px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .topstrip { gap: 10px; }
  .topstrip::before { content: "24/7"; letter-spacing: .1em; }
  .topstrip__phones { gap: 8px; }

  .hero__content { padding-bottom: 90px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__proof li { flex: 1 1 100%; padding: 14px 0 0; }
  .hero__proof li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); margin-top: 14px; }

  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4 / 3; }

  .about__stats { flex-direction: column; gap: 18px; }
  .about__stats li + li { padding-left: 0; border-left: 0; }

  .cta__phone { width: 100%; align-items: center; }
  .cta .btn--wsp { width: calc(100% - 0px); justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
}
