@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit.woff2") format("woff2");
}

:root {
  --navy: #082868;
  --navy-deep: #04122f;
  --navy-soft: #0868d8;
  --blue: #0878e8;
  --blue-2: #3d99f5;
  --blue-ghost: rgba(8, 120, 232, 0.12);
  --black: #05070f;
  --ink: #0b1220;
  --muted: #5b6578;
  --line: rgba(8, 40, 104, 0.14);
  --white: #ffffff;
  --fog: #f4f8fd;
  --sky: #d9ecff;
  --wa: #25d366;
  --radius: 1.5rem;
  --radius-lg: 2rem;
  --shadow: 0 18px 50px rgba(8, 34, 79, 0.12);
  --header: 5.9rem;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Outfit", "Manrope", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.4rem;
}
.topbar p { margin: 0; }
.topbar__live { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 700; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 0 0 rgba(61, 255, 138, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
}

.nav-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled .nav-glass {
  box-shadow: 0 10px 30px rgba(8, 34, 79, 0.08);
}

.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand__mark svg { width: 58px; height: 58px; object-fit: contain; }
.brand__logo {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.brand--light .brand__logo {
  width: 58px;
  height: 58px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--display); letter-spacing: -0.04em; font-size: 1.02rem; }
.brand__text small { color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.brand--light { color: #fff; }
.brand--light small { color: rgba(255,255,255,0.7); }

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
}
.nav > a,
.nav__btn {
  background: none;
  border: 0;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  cursor: pointer;
}
.nav > a:hover,
.nav__btn:hover,
.nav > a.is-active,
.nav__drop.is-active .nav__btn {
  background: rgba(8, 34, 79, 0.06);
}
.nav__drop { position: relative; }
.nav__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 240px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 0.5rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}
.nav__drop:hover .nav__menu,
.nav__drop.is-open .nav__menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.nav__menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
}
.nav__menu a:hover { background: var(--fog); }

.nav-cta { display: flex; align-items: center; gap: 0.55rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(8, 120, 232, 0.38);
}
.btn--blue:hover { background: var(--blue-2); }
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--wa {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 120, 232, 0.4);
  padding-left: 0.6rem;
}
.btn--wa:hover { background: var(--blue-2); }

/* Marca WhatsApp original: burbuja verde con auricular blanco */
.wa-mark {
  width: 1.6em;
  height: 1.6em;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.wa-mark svg { width: 100%; height: 100%; display: block; }
.btn--lg .wa-mark { width: 1.75em; height: 1.75em; }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn--ghost-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn--white { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }
.btn--lg { padding: 1rem 1.5rem; font-size: 1.05rem; }

.phone-cta { padding: 0.7rem 1rem; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: var(--fog); border-radius: 12px;
  padding: 11px 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy); margin: 5px 0;
  transition: 0.2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0a2a62 center/cover no-repeat;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 21, 48, 0.88) 0%, rgba(4, 21, 48, 0.45) 52%, rgba(4, 21, 48, 0.15) 100%),
    linear-gradient(180deg, rgba(4, 21, 48, 0.15), rgba(4, 21, 48, 0.55));
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 3.5rem;
  max-width: 720px;
}
.gbp-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
  border-radius: 1.15rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  margin: 0 0 1.05rem;
  color: #fff;
  max-width: min(100%, 420px);
  transition: transform 0.2s ease, background 0.2s ease;
}
.gbp-widget:hover { transform: translateY(-2px); background: rgba(255,255,255,0.22); }
.gbp-widget__logo {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.gbp-widget__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.2;
}
.gbp-widget__copy strong { font-size: 0.98rem; }
.gbp-widget__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.95;
}
.gbp-widget__stars { color: var(--blue-2); letter-spacing: 0.08em; }

.reviews-gbp { background: var(--fog); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.review-tile {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 28px rgba(8, 34, 79, 0.07);
}
.review-tile .stars { color: var(--blue); letter-spacing: 0.08em; }
.review-tile p { margin: 0.45rem 0 0.85rem; color: var(--ink); }
.review-tile small { color: var(--muted); }
.stars { color: var(--blue-2); letter-spacing: 0.08em; }
.hero h1,
.page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: balance;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  margin: 0 0 0.7rem;
}
.hero p.lead,
.page-hero .lead {
  font-size: 1.08rem;
  line-height: 1.5;
  max-width: 52ch;
  color: rgba(255,255,255,0.88);
  margin: 0 0 1.45rem;
}
.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.86);
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.hero__notes li { display: flex; align-items: center; gap: 0.4rem; }

/* CTA de héroe + eliminador de fricción */
.hero-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
}
.friction {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.15rem;
  margin: 0;
  padding: 0.9rem 1.1rem;
  list-style: none;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  max-width: 660px;
  font-size: 0.87rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}
.friction li {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}
.friction svg { flex: none; color: var(--blue-2); }
.friction__note {
  flex-basis: 100%;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.45;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
}

.trustbar {
  background: var(--blue);
  color: #fff;
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0;
  font-weight: 800;
}
.trustbar span { opacity: 0.8; font-weight: 650; }

/* SERVICES */
.section { padding: 5rem 0; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.7rem;
  color: var(--navy);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy-soft);
  margin: 0 0 0.5rem;
}
.eyebrow--brand {
  text-transform: none;
  letter-spacing: 0.04em;
}
.center { text-align: center; }
.muted { color: var(--muted); }

.services-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.2rem;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.service-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.22s ease;
}
.service-item:hover {
  background: var(--fog);
  border-color: var(--line);
  transform: translateY(-3px);
}
.icon-bubble {
  width: 48px; height: 48px; flex: none;
  border-radius: 14px;
  background: var(--navy);
  color: var(--blue-2);
  display: grid; place-items: center;
}
.service-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  color: var(--navy);
}
.service-item p { margin: 0; font-size: 0.86rem; color: var(--muted); }
.services-photo {
  width: min(100%, 22rem);
  justify-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  min-height: 0;
  background: #0b1220 center / cover no-repeat;
  box-shadow: var(--shadow);
}

/* EMERGENCY */
.emergency {
  background: linear-gradient(140deg, var(--sky) 0%, #eef6ff 100%);
  overflow: hidden;
}
.emergency__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}
.van-frame {
  width: min(100%, 22rem);
  aspect-ratio: 9 / 16;
  margin: 0;
  border-radius: var(--radius);
  background: #0b1220 center / cover no-repeat;
  box-shadow: 0 20px 50px rgba(8, 34, 79, 0.18);
}
.van-frame.is-square,
.story-photo.is-square {
  aspect-ratio: 1 / 1;
}
.emergency h2 { max-width: 16ch; }
.emergency p { font-size: 1.08rem; color: var(--navy); max-width: 48ch; }
.emergency .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.big-phone {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
}

/* REVIEWS */
.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.reviews__photo {
  background: #9bb4d0 center/cover no-repeat;
}
.reviews__panel {
  background: var(--navy);
  color: #fff;
  padding: 4rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reviews__panel h2 { color: #fff; }
.review-card.is-off { display: none; }
.review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin: 0.8rem 0 0;
}
.review-card p { margin: 0.4rem 0 0.8rem; }
.review-card strong { display: block; }
.review-card small { color: rgba(255,255,255,0.65); }
.review-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.orb {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent; color: #fff; cursor: pointer;
}
.orb:hover { background: #fff; color: var(--navy); }

/* STORY */
.story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.story img, .story-photo {
  width: min(100%, 22rem);
  justify-self: start;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  background: #0b1220 center / cover no-repeat;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.4rem 0;
}
.kpis div {
  background: var(--fog);
  border-radius: 1.1rem;
  padding: 1rem;
}
.kpis strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--navy);
}

/* TIPS */
.tips {
  background: linear-gradient(180deg, #3aa0e8 0%, var(--navy) 78%);
  color: #fff;
}
.tips h2, .tips .eyebrow { color: #fff; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.tip-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: 0.25s ease;
}
.tip-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.18); }
.tip-card img, .tip-card .tip-img {
  height: 170px;
  background: #8ebfe0 center/cover no-repeat;
}
.tip-card div { padding: 1.1rem 1.15rem 1.25rem; }
.tip-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.chip {
  display: inline-flex;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* FOOTER */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 4rem 0 5.75rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
}
.footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0.45rem 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blue-2); }
.footer__phone {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: #fff;
  margin: 0.8rem 0;
  font-weight: 800;
}
.social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  transition: 0.2s ease;
}
.social svg { width: 18px; height: 18px; display: block; }
.footer .social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.footer__legal {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.15rem;
  padding-right: 5.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem 1.4rem;
  align-items: center;
}
.footer__legal p { margin: 0; }
.footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.footer__legal a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.footer__legal a:hover { color: #fff; }

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 40;
  text-decoration: none;
  overflow: visible;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float__help {
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  background: #fff;
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(5, 7, 15, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.wa-float__help::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}
.wa-float.is-help .wa-float__help {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* INNER PAGES */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(4,21,48,0.82), rgba(8,34,79,0.45)),
    var(--img, url("https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=1600&q=80")) center/cover;
  color: #fff;
  padding: 5.5rem 0 4rem;
}
.page-hero .hero-bg-video { z-index: 0; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(4,21,48,0.78), rgba(8,34,79,0.4));
}
.page-hero--photo {
  background:
    linear-gradient(115deg, rgba(4, 18, 47, 0.58) 0%, rgba(8, 40, 104, 0.22) 55%, rgba(8, 40, 104, 0.12) 100%),
    var(--img, url("https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=1600&q=80")) center/cover no-repeat;
}
.page-hero--photo::after {
  background: linear-gradient(180deg, rgba(4, 18, 47, 0.18), rgba(4, 18, 47, 0.45));
}
.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.works-section { background: var(--fog); }
.works-videos { background: #fff; }
.works-videos .muted { margin: 0.35rem 0 0; max-width: 48ch; }
.media-mix,
.photo-grid,
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.85rem;
  margin-top: 1.6rem;
}
.photo-grid,
.video-grid {
  justify-content: center;
}
.media-tile,
.video-tile {
  flex: 0 0 calc((100% - 3.4rem) / 5);
  width: calc((100% - 3.4rem) / 5);
  max-width: calc((100% - 3.4rem) / 5);
  margin: 0;
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b1220;
  box-shadow: 0 8px 24px rgba(8, 34, 79, 0.07);
}
.media-tile img,
.video-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  margin: 0 0 0.7rem;
  max-width: 20ch;
}
.crumbs { font-size: 0.85rem; opacity: 0.8; margin: 0 0 0.85rem; line-height: 1.4; }
.crumbs a { color: var(--blue-2); text-decoration: none; }

.page-hero--legal {
  background: linear-gradient(145deg, var(--navy) 0%, #0a3a8a 100%);
  padding: 2.4rem 0 2.6rem;
}
.page-hero--legal::after { display: none; }
.page-hero--legal h1 { max-width: 22ch; color: #fff; }
.legal-doc {
  max-width: 46rem;
}
.legal-doc h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.28rem;
  color: var(--navy);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.legal-doc p,
.legal-doc li { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.legal-doc ul { padding-left: 1.2rem; }
.legal-doc a { color: var(--blue); }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.legal-nav a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}
.legal-nav a:hover { color: var(--blue); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.prose p { font-size: 1.05rem; color: var(--muted); }
.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.feature-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem;
  background: var(--fog);
  border-radius: 1.1rem;
}
.feature-list h3 { margin: 0 0 0.2rem; font-size: 1.02rem; color: var(--navy); }
.feature-list p { margin: 0; font-size: 0.92rem; }
.sticky-card {
  position: sticky;
  top: calc(var(--header) + 1rem);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.sticky-card h3 { margin-top: 0; }
.sticky-card p { color: rgba(255,255,255,0.78); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.why-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  transition: 0.2s;
}
.why-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-grid h3 { margin: 0.4rem 0 0.35rem; color: var(--navy); font-size: 1.08rem; }

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.cta-band h2 { margin: 0; color: #fff; }
.cta-band .btn { white-space: nowrap; }
.cta-band p { color: rgba(255,255,255,0.85) !important; }

.video-tile {
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.video-tile__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 18, 47, 0.28);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: 0.2s;
}
.video-tile__play svg {
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.85rem 0.75rem 0.85rem 0.95rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(8, 40, 104, 0.35);
}
.video-tile:hover .video-tile__play { background: rgba(4, 18, 47, 0.12); }
.video-tile.is-playing .video-tile__play { display: none; }
.photo-grid {
  margin-top: 2rem;
}

@media (max-width: 980px) {
  .wrap { width: min(1180px, calc(100% - 1.75rem)); }
  .nav { display: none; }
  .phone-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    min-height: 3.7rem;
  }
  .brand { min-width: 0; }
  .brand__text { min-width: 0; }
  .brand__text strong { font-size: 0.86rem; white-space: nowrap; }
  .brand__text small { display: none; }
  .brand__logo { width: 52px; height: 52px; }
  .nav-cta { gap: 0.4rem; }
  .nav-wa {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
  }
  .nav-wa .btn-label { display: none; }
  .nav-wa .wa-mark { width: 1.45em; height: 1.45em; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    z-index: 70;
    background: #fff;
    padding: 0.7rem 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 7rem);
    overflow: auto;
  }
  .nav > a,
  .nav__btn {
    padding: 0.85rem 0.9rem;
    border-radius: 0.85rem;
    text-align: left;
  }
  .nav__menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    display: none;
    border: 0;
    background: var(--fog);
    margin: 0.2rem 0 0.4rem;
  }
  .nav__drop.is-open .nav__menu { display: block; }
  .hero {
    min-height: 0;
    align-items: start;
  }
  .hero__content { padding: 2.1rem 0 2.4rem; max-width: none; }
  .hero h1 { font-size: clamp(1.85rem, 8.2vw, 2.45rem); margin-bottom: 0.6rem; }
  .hero p.lead,
  .page-hero .lead { font-size: 1rem; line-height: 1.5; margin-bottom: 1.3rem; }
  .gbp-widget { max-width: 100%; margin-bottom: 0.95rem; }
  .hero-cta-stack { gap: 1.05rem; }
  .hero-actions { gap: 0.55rem; }
  .hero-actions .btn { flex: 1 1 auto; padding: 0.9rem 1rem; }
  .friction {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.84rem;
    padding: 0.9rem 1rem;
  }
  .page-hero { padding: 2.2rem 0 2.6rem; }
  .page-hero h1 { max-width: none; font-size: clamp(1.75rem, 8vw, 2.4rem); margin-bottom: 0.6rem; }
  .section { padding: 3rem 0; }
  .services-layout,
  .emergency__grid,
  .reviews,
  .story,
  .tips-grid,
  .footer__grid,
  .split,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .reviews__photo { min-height: 220px; }
  .services-photo, .story-photo, .van-frame {
    min-height: 0;
    height: auto;
    aspect-ratio: 9 / 16;
    margin-inline: auto;
    justify-self: center;
  }
  .van-frame.is-square,
  .story-photo.is-square {
    aspect-ratio: 1 / 1;
  }
  .cta-band { flex-direction: column; align-items: stretch; padding: 1.35rem; }
  .cta-band .btn { white-space: normal; width: 100%; }
  .cta-band h2 { font-size: 1.45rem; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .media-tile,
  .video-tile {
    flex-basis: calc((100% - 1.7rem) / 3);
    width: calc((100% - 1.7rem) / 3);
    max-width: calc((100% - 1.7rem) / 3);
  }
  .trustbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.85rem 0;
    font-size: 0.92rem;
  }
  .emergency h2 { max-width: none; }
  .van-frame { width: min(100%, 280px); }
  .big-phone { font-size: 1.45rem; }
  .reviews__panel { padding: 2.2rem 6%; }
  .footer {
    padding: 2.6rem 0 calc(7.25rem + env(safe-area-inset-bottom));
    text-align: center;
  }
  .footer__grid {
    justify-items: center;
  }
  .footer__brand,
  .footer__cta {
    width: 100%;
    max-width: 26rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer .brand {
    justify-content: center;
    text-align: left;
  }
  .footer .social { justify-content: center; }
  .footer ul { width: 100%; }
  .footer__phone { font-size: 1.35rem; }
  .footer__legal {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-right: 0;
    padding-bottom: 0.4rem;
    gap: 0.85rem;
  }
  .footer__legal nav {
    justify-content: center;
  }
  .sticky-card { position: static; }
  .wa-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(1.15rem, env(safe-area-inset-bottom));
  }
  .wa-float__help { display: none; }
}

@media (min-width: 641px) and (max-width: 980px) {
  .nav-wa {
    width: auto;
    height: 44px;
    padding: 0 0.95rem 0 0.4rem;
    border-radius: 999px;
  }
  .nav-wa .btn-label { display: inline; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .topbar { font-size: 0.78rem; }
  .topbar__inner { min-height: 2.15rem; }
  .topbar__live { text-align: center; }
  .media-tile,
  .video-tile {
    flex-basis: calc((100% - 0.85rem) / 2);
    width: calc((100% - 0.85rem) / 2);
    max-width: calc((100% - 0.85rem) / 2);
  }
}

@media (max-width: 420px) {
  .hero-actions .btn { font-size: 0.95rem; }
}

@media (hover: none) {
  .btn:hover,
  .service-item:hover,
  .tip-card:hover,
  .why-grid article:hover,
  .gbp-widget:hover { transform: none; }
}

.works-section,
.works-videos,
.reviews-gbp,
#trabajos {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

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