:root {
  --bg: #07111c;
  --bg-2: #0c1828;
  --ink: #f4f7fb;
  --muted: #9aabbf;
  --line: rgba(255, 255, 255, 0.1);
  --orange: #ff5a1f;
  --orange-2: #ff8a4a;
  --blue: #7ad7ff;
  --blue-deep: #1f6feb;
  --wa: #1ebe5d;
  --card: rgba(14, 26, 42, 0.78);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Outfit", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --header: 74px;
  --bar: 38px;
  --ease: 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + var(--bar) + 12px); }
body {
  font-family: var(--font);
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(31, 111, 235, 0.28), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(255, 90, 31, 0.18), transparent 50%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul { list-style: none; }
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 2000;
}
.skip:focus { top: 8px; }

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

.emergency-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--bar);
  background: linear-gradient(90deg, #102033, #1a2740 40%, #3a1c12);
  border-bottom: 1px solid rgba(122, 215, 255, 0.2);
}
.emergency-bar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}
.emergency-bar__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7);
  animation: ping 1.6s infinite;
}
.emergency-bar a {
  font-weight: 700;
  color: var(--blue);
}

.header {
  position: fixed;
  top: var(--bar);
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header);
  overflow: visible;
}
.header--scrolled {
  background: rgba(7, 17, 28, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  min-width: 0;
}
.nav__logo-icon { width: 38px; height: 38px; color: var(--orange); flex: none; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; }
.nav__logo-text strong { font-size: 0.95rem; }
.nav__logo-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
  font-size: 1.05rem;
}
.nav__links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: 0.94rem; }
.nav__links a:hover { color: var(--ink); }
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(440px, 80vw);
  max-height: 70vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 10px;
  background: rgba(8, 16, 28, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav__dropdown-menu a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.86rem;
}
.nav__dropdown-menu a small { color: var(--blue); font-size: 0.72rem; }
.nav__dropdown-menu a:hover { background: rgba(122, 215, 255, 0.08); }
.nav__actions { display: flex; gap: 8px; }
.nav__toggle {
  display: none;
  position: relative;
  z-index: 70;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 17, 28, 0.9);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: var(--ease); }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  position: relative;
  transition: transform var(--ease), background var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 14px; font-size: 0.86rem; }
.btn--lg { padding: 16px 22px; font-size: 1rem; }
.btn--primary { background: var(--ink); color: #07111c; }
.btn--emergency {
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #1a0b06;
  box-shadow: 0 10px 30px rgba(255, 90, 31, 0.28);
}
.btn--location { background: transparent; color: var(--ink); border: 1px solid rgba(122, 215, 255, 0.45); }
.btn--whatsapp { background: var(--wa); color: #04210f; }
.btn.is-loading { opacity: 0.65; pointer-events: none; }
.btn__pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a0b06;
}

.hero, .page-hero { position: relative; padding: calc(var(--bar) + var(--header) + 48px) 0 64px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__mesh {
  position: absolute;
  inset: -20% -10% auto;
  height: 80%;
  background:
    radial-gradient(circle at 20% 40%, rgba(122, 215, 255, 0.16), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(255, 90, 31, 0.16), transparent 40%);
}
.hero__road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(122, 215, 255, 0.0) 0 16px, rgba(122, 215, 255, 0.7) 16px 32px);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  animation: dash 8s linear infinite;
}
.hero__layout, .page-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.hero__badge, .page-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 0 0 rgba(61, 255, 138, 0.6);
  animation: ping 1.8s infinite;
}
.hero__title, .page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero__title span, .page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}
.hero__title span {
  display: inline-block;
  background: linear-gradient(120deg, #fff, var(--blue) 45%, var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 14ch; }
.hero__subtitle, .page-hero__lead {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.page-hero__lead strong, .seo-prose strong { color: var(--ink); }
.hero__cta, .page-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__phone, .page-hero__phone, .cta-band__phone, .footer__phone {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero__stats { display: flex; gap: 22px; margin-top: 28px; }
.stat__number { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; }
.stat__suffix { font-weight: 700; color: var(--orange-2); }
.stat__label { display: block; color: var(--muted); font-size: 0.82rem; }
.hero__panel, .dispatch {
  background: linear-gradient(180deg, rgba(18, 34, 54, 0.9), rgba(10, 18, 30, 0.88));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.hero__panel-live, .dispatch__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 600;
}
.hero__panel-kicker { margin-top: 22px; color: var(--orange-2); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hero__panel-title { font-family: var(--serif); font-size: 2.4rem; line-height: 1; font-style: italic; margin: 8px 0 16px; }
.hero__panel-list, .dispatch__list { display: grid; gap: 8px; margin-bottom: 18px; color: var(--muted); }
.hero__panel .btn, .dispatch .btn { width: 100%; }
.dispatch__city { font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; margin: 12px 0; }
.dispatch__eta, .dispatch__clock { color: var(--muted); margin-bottom: 8px; }
.dispatch__eta strong { color: var(--ink); }
.dispatch__list { margin: 14px 0 18px; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px 0;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.section { padding: 84px 0; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent); }
.section__tag {
  color: var(--orange-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section__header { max-width: 680px; margin-bottom: 28px; }
.section__title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 8px;
}
.section__desc { color: var(--muted); margin-top: 10px; }

.services__grid, .process__timeline, .testimonials__grid, .why__grid {
  display: grid;
  gap: 16px;
}
.services__grid { grid-template-columns: repeat(4, 1fr); }
.service-card, .testimonial, .why-card, .related-card, .district-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.service-card--featured {
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.16), rgba(14, 26, 42, 0.9));
  border-color: rgba(255, 90, 31, 0.35);
}
.service-card__index { color: var(--blue); font-weight: 800; }
.service-card h3, .process-step h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.service-card p, .process-step p, .testimonial p { color: var(--muted); }
.service-card a, .service-card button {
  margin-top: 16px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}
.process__timeline { grid-template-columns: repeat(3, 1fr); }
.process-step span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--orange-2);
}

.finder { margin-bottom: 18px; }
.finder__label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.finder__input {
  width: 100%;
  background: rgba(7, 17, 28, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  outline: none;
}
.finder__input:focus { border-color: rgba(122, 215, 255, 0.7); }
.finder__sides { display: flex; gap: 8px; margin-top: 12px; }
.finder__sides button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.finder__sides button.is-on { background: var(--ink); color: #07111c; border-color: transparent; }
.finder__empty { margin-top: 16px; color: var(--muted); }

.district-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.district-card { display: flex; flex-direction: column; gap: 6px; min-height: 150px; transition: transform var(--ease), border-color var(--ease); }
.district-card:hover { transform: translateY(-3px); border-color: rgba(122, 215, 255, 0.45); }
.district-card__side { color: var(--blue); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.district-card__eta { margin-left: auto; color: var(--orange-2); font-size: 0.82rem; font-weight: 700; }
.district-card { position: relative; }
.district-card__side, .district-card__eta { position: absolute; top: 18px; }
.district-card__side { left: 22px; }
.district-card__eta { right: 22px; }
.district-card h3 { margin-top: 28px; font-size: 1.35rem; letter-spacing: -0.03em; }
.district-card p { color: var(--muted); font-size: 0.92rem; }
.district-card__go { margin-top: auto; color: var(--ink); font-weight: 700; }

.hashtags { display: flex; flex-wrap: wrap; gap: 8px; }
.hashtags--home { margin-top: 22px; }
.hashtags__title { margin: 26px 0 10px; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.hashtag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(122, 215, 255, 0.06);
  color: var(--ink);
  font-size: 0.86rem;
}
.hashtag:hover { border-color: rgba(255, 138, 74, 0.7); color: var(--orange-2); }

.why__grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
.why__text { color: var(--muted); margin: 12px 0; }
.why__list { display: grid; gap: 8px; }
.why__list li::before { content: "→ "; color: var(--blue); }
.why__cards { display: grid; gap: 12px; }
.why-card strong { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.why-card span { color: var(--muted); }
.why-card--accent { background: linear-gradient(180deg, rgba(255, 90, 31, 0.2), rgba(14, 26, 42, 0.9)); }

.testimonials__grid { grid-template-columns: repeat(3, 1fr); }
.testimonial__stars { color: var(--orange-2); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial footer { display: flex; justify-content: space-between; margin-top: 16px; color: var(--muted); }

.faq__list { display: grid; gap: 10px; max-width: 860px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
}
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { color: var(--muted); margin-top: 8px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--blue); }
.seo-prose { max-width: 820px; display: grid; gap: 12px; }
.seo-prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.03em; margin-top: 10px; }
.seo-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { display: flex; flex-direction: column; gap: 6px; }
.related-card span { color: var(--muted); }
.related-card:hover { border-color: rgba(122, 215, 255, 0.45); }

.cta-band {
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(255, 90, 31, 0.2), transparent 60%),
    radial-gradient(400px 180px at 0% 100%, rgba(122, 215, 255, 0.16), transparent 60%),
    rgba(12, 24, 40, 0.8);
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.05; max-width: 16ch; }
.cta-band p { color: var(--muted); margin-top: 10px; }

.footer { padding: 56px 0 110px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.1fr 0.6fr 1fr 1fr; gap: 28px; }
.footer__brand p, .footer__bottom { color: var(--muted); margin-top: 12px; }
.footer__links h4, .footer__districts h4 { margin-bottom: 10px; }
.footer__links a, .footer__districts a { display: block; color: var(--muted); padding: 3px 0; font-size: 0.92rem; }
.footer__links a:hover, .footer__districts a:hover { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; }
.footer__mark { color: var(--orange-2); font-weight: 700; }
.footer__mark:hover { color: var(--ink); }

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 25;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sticky-cta.visible { display: grid; }
.sticky-cta a, .sticky-cta button {
  border: 0;
  border-radius: 16px;
  padding: 12px;
  font-weight: 800;
  cursor: pointer;
}
.sticky-cta small { display: block; font-weight: 600; font-size: 0.75rem; }
.sticky-cta__call { background: var(--orange); color: #1a0b06; text-align: center; }
.sticky-cta__whatsapp { background: var(--wa); color: #04210f; }

[data-animate] { opacity: 0; transform: translateY(12px); animation: rise 0.7s var(--ease) forwards; }
.breadcrumb + .page-hero__kicker, .page-hero h1 { animation: none; opacity: 1; transform: none; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes ping {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes dash { to { background-position: 160px 0; } }

@media (max-width: 980px) {
  .hero__layout, .page-hero__layout, .services__grid, .why__grid, .footer__inner, .process__timeline, .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .district-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    z-index: 60;
    top: calc(var(--bar) + var(--header));
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    background: rgba(7, 17, 28, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 18px 96px;
    gap: 8px;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: auto;
  }
  .nav__links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav__links:not(.open) .nav__dropdown-menu,
  .nav__links:not(.open) .nav__dropdown:hover .nav__dropdown-menu,
  .nav__links:not(.open) .nav__dropdown:focus-within .nav__dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .nav__links a { font-size: 1.05rem; padding: 8px 0; }
  .nav__dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    max-height: 280px;
    margin-top: 6px;
    visibility: hidden;
    pointer-events: none;
  }
  .nav__links.open .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .sticky-cta { display: none; }
  .sticky-cta.visible { display: grid; }
}

@media (max-width: 640px) {
  .district-grid, .related-grid, .trust-strip__inner { grid-template-columns: 1fr; }
  .hero__cta, .page-hero__cta { flex-direction: column; }
  .hero__cta .btn, .page-hero__cta .btn { width: 100%; }
  .footer { padding-bottom: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}
