/* Critical — header, hero, sticky; site ambiance */
:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --navy: #101a2e;
  --ink: #f4f6fb;
  --muted: #9aa6bd;
  --yellow: #f5c518;
  --yellow-2: #ffd84d;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(16, 26, 46, 0.78);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --radius: 16px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Sora", "Outfit", system-ui, sans-serif;
  --container: min(1140px, calc(100% - 2rem));
  --sticky-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  padding-bottom: calc(var(--sticky-h) + 1.5rem);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(245, 197, 24, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(32, 80, 140, 0.18), transparent 50%),
    radial-gradient(800px 400px at 50% 100%, rgba(18, 140, 126, 0.06), transparent 45%),
    linear-gradient(180deg, #0a101c 0%, var(--bg) 40%, #05080f 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--yellow-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

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

.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 720px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--yellow-2), var(--yellow) 45%, #c99600);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.22), 0 8px 20px rgba(245, 197, 24, 0.2);
}
.logo__text span { color: var(--yellow); }

.nav { display: none; gap: 1.15rem; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: #fff; }

.header-actions { display: none; gap: 0.55rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  will-change: transform;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  color: #111;
  box-shadow: 0 12px 32px rgba(245, 197, 24, 0.28);
}
.btn--primary:hover { filter: brightness(1.05); color: #111; }
.btn--wa {
  background: linear-gradient(180deg, #1aa392, #128c7e);
  color: #fff;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.28);
}
.btn--wa:hover { filter: brightness(1.06); color: #fff; }
.btn--ghost {
  border-color: var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: rgba(245, 197, 24, 0.4); color: #fff; }
.btn--lg { padding: 0.95rem 1.5rem; font-size: 1rem; min-height: 52px; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.mobile-nav {
  display: grid;
  gap: 0.2rem;
  padding: 0.35rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.95);
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  font-weight: 500;
}
.mobile-nav a:hover { background: rgba(245, 197, 24, 0.08); color: var(--yellow); }
.mobile-nav[hidden] { display: none !important; }

/* Home hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  padding: 4rem 0 5rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: #0b1220;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 42%;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 11, 20, 0.94) 0%, rgba(7, 11, 20, 0.78) 38%, rgba(7, 11, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.2) 0%, rgba(7, 11, 20, 0.82) 100%);
}
.hero__route {
  position: absolute;
  right: -5%;
  bottom: 8%;
  width: min(70vw, 720px);
  color: rgba(245, 197, 24, 0.38);
  pointer-events: none;
  z-index: 1;
}
.route-path {
  stroke-dasharray: 8 10;
  animation: dash 18s linear infinite;
}
.gps-pulse {
  fill: var(--yellow);
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite;
}
.gps-pulse--delay { animation-delay: 1.2s; opacity: 0.5; }

@keyframes dash { to { stroke-dashoffset: -400; } }
@keyframes pulse {
  0% { r: 5; opacity: 1; }
  100% { r: 28; opacity: 0; }
}

.hero__content { position: relative; z-index: 2; max-width: 720px; }
.brand-signal {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.15rem, 7.2vw, 3.75rem);
  letter-spacing: -0.045em;
  margin: 0 0 0.65rem;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
  line-height: 1.05;
}
.brand-signal span { color: var(--yellow); }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 4.2vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #e8edf7;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__sub {
  color: #c8d0e2;
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  max-width: 38ch;
  margin: 0 0 1.6rem;
  line-height: 1.5;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.phone-line { margin: 1.1rem 0 0; font-size: 1.2rem; font-weight: 750; }
.phone-line a { color: #fff; text-decoration: none; }
.phone-line a:hover { color: var(--yellow); }

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--sticky-h);
  background: rgba(7, 11, 20, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-cta a {
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
}
.sticky-cta__phone { background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); }
.sticky-cta__wa { background: #128c7e; color: #fff; }

@media (min-width: 900px) {
  .nav, .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .hero { align-items: center; padding-top: 2.5rem; }
  .sticky-cta {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(360px, calc(100% - 2.5rem));
    border-radius: 16px;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo { animation: none; }
  .route-path, .gps-pulse { animation: none; }
  html { scroll-behavior: auto; }
}
