:root {
  color-scheme: dark;
  --brand-red: #e50914;
  --brand-red-dark: #9f0710;
  --ink: #070707;
  --paper: #ffffff;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(229, 9, 20, 0.16), transparent 34rem),
    linear-gradient(135deg, #050505 0%, #111111 48%, #050505 100%);
  color: #ffffff;
}

body.light {
  color-scheme: light;
  background:
    radial-gradient(circle at top left, rgba(229, 9, 20, 0.12), transparent 32rem),
    linear-gradient(135deg, #ffffff 0%, #f8f8f8 46%, #eeeeee 100%);
  color: #111111;
}

.glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

body.light .glass {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(20, 20, 20, 0.08);
  box-shadow: 0 18px 50px rgba(10, 10, 10, 0.08);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease;
}

body.light .nav-link {
  color: rgba(17, 17, 17, 0.72);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

body.light .nav-link:hover,
body.light .nav-link.active {
  color: #111111;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 18px 38px rgba(229, 9, 20, 0.3);
}

.btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(229, 9, 20, 0.38);
  background: rgba(229, 9, 20, 0.08);
}

body.light .btn-secondary,
body.light .btn-ghost {
  color: #111111;
  border-color: rgba(17, 17, 17, 0.12);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(229, 9, 20, 0.24);
}

.section-eyebrow {
  color: #ff4c55;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 900;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, #ff6169 52%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.light .gradient-text {
  background: linear-gradient(90deg, #090909, #d40712 52%, #090909);
  -webkit-background-clip: text;
  background-clip: text;
}

.card-hover {
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 9, 20, 0.56);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.68) 40%, rgba(0, 0, 0, 0.2) 100%),
    radial-gradient(circle at 20% 25%, rgba(229, 9, 20, 0.26), transparent 26rem);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(229, 9, 20, 0.12);
  color: #ff4c55;
  border: 1px solid rgba(229, 9, 20, 0.2);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.64);
}

body.light .breadcrumb a {
  color: rgba(17, 17, 17, 0.62);
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.2) contrast(1.04);
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  border-radius: 999px;
  background: #21c063;
  color: #061f10;
  box-shadow: 0 18px 40px rgba(33, 192, 99, 0.34);
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: grid;
}

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

@media (max-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.7) 56%, rgba(0, 0, 0, 0.94) 100%),
      radial-gradient(circle at 30% 20%, rgba(229, 9, 20, 0.24), transparent 20rem);
  }
}
