:root {
  --color-primary: #FFFFFF;
  --color-accent: #D62839;
  --color-neutral: #FFFFFF;
  --color-text: #2E2E2E;
  --color-highlight: #1F6AFF;
  --shadow-soft: 0 20px 45px rgba(10, 30, 63, 0.15);
  --gradient-button: linear-gradient(135deg, #D62839 0%, #FF5C74 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-neutral);
  color: var(--color-text);
}

html.dark body {
  background-color: #050d1f;
  color: #dbe7ff;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--color-accent);
  z-index: 60;
  transition: width 150ms ease-out;
}

.text-orange-500 {
  color: var(--color-accent) !important;
}

.hover\:text-orange-500:hover {
  color: var(--color-accent) !important;
}

.hover\:text-orange-400:hover {
  color: #b81e31 !important;
}

.text-orange-600 {
  color: #b81e31 !important;
}

.bg-orange-100 {
  background-color: #ffe5ea !important;
  color: #b81e31 !important;
}

.hover\:border-orange-400:hover {
  border-color: #f8a6b1 !important;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.96) 55%, rgba(255, 244, 248, 0.95) 100%);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  filter: blur(50px);
  opacity: 0.7;
  pointer-events: none;
}

.site-footer::before {
  top: -140px;
  left: -120px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(31, 106, 255, 0.3) 0%, rgba(31, 106, 255, 0) 70%);
}

.site-footer::after {
  bottom: -160px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(214, 40, 57, 0.28) 0%, rgba(214, 40, 57, 0) 70%);
}

.footer-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 106, 255, 0.3) 0%, rgba(255, 255, 255, 0.7) 45%, rgba(214, 40, 57, 0.35) 100%);
  border-radius: 999px;
}

.footer-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 30, 63, 0.08);
  box-shadow: 0 14px 28px rgba(10, 30, 63, 0.07);
  backdrop-filter: blur(8px);
}

.footer-card-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: #ffffff;
}

.footer-card-icon--blue {
  background: linear-gradient(135deg, rgba(31, 106, 255, 0.9) 0%, rgba(14, 78, 196, 0.9) 100%);
}

.footer-card-icon--red {
  background: linear-gradient(135deg, rgba(214, 40, 57, 0.92) 0%, rgba(255, 92, 116, 0.85) 100%);
}

.dark .scroll-progress {
  background: var(--color-highlight);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(10, 30, 63, 0.55) 0%, rgba(10, 30, 63, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%);
}

[data-navbar] {
  transition: background-color 200ms ease, box-shadow 200ms ease, backdrop-filter 200ms ease;
}

[data-navbar].is-top {
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

[data-navbar].is-top nav[data-navbar-desktop] {
  color: rgba(255, 255, 255, 0.92);
}

[data-navbar].is-top nav[data-navbar-desktop] a {
  color: inherit;
}

[data-navbar].is-top nav[data-navbar-desktop] a:hover {
  color: var(--color-accent);
}

[data-navbar].is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px rgba(10, 30, 63, 0.08);
  backdrop-filter: blur(12px);
}

[data-navbar].is-scrolled nav[data-navbar-desktop] {
  color: rgba(30, 41, 59, 0.92);
}

[data-navbar].is-scrolled nav[data-navbar-desktop] a {
  color: inherit;
}

[data-navbar].is-scrolled nav[data-navbar-desktop] a:hover {
  color: var(--color-accent);
}

[data-navbar].is-top [data-menu-toggle] {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.92);
}

[data-navbar].is-scrolled [data-menu-toggle] {
  border-color: rgba(148, 163, 184, 0.45);
  color: #475569;
}

.dark [data-navbar].is-scrolled {
  background-color: rgba(15, 23, 42, 0.82);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.45);
}

.dark [data-navbar].is-scrolled nav[data-navbar-desktop] {
  color: rgba(226, 232, 240, 0.92);
}

.dark [data-navbar].is-scrolled [data-menu-toggle] {
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.92);
}

.testimonial-slide {
  opacity: 0;
  transform: translateX(10%);
  transition: opacity 350ms ease, transform 350ms ease;
}

.testimonial-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.25);
  z-index: 45;
  transition: transform 200ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
}

.floating-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 6.25rem;
  display: grid;
  gap: 0.65rem;
  z-index: 45;
}

.floating-widget a {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(10, 30, 63, 0.9);
  transition: transform 200ms ease, background 200ms ease;
  color: #ffffff;
}

.dark .floating-widget a {
  background: rgba(0, 153, 255, 0.8);
}

.floating-widget a:hover {
  transform: translateY(-3px) scale(1.05);
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 0.3rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.dark .timeline-step::before {
  background: var(--color-highlight);
}

.service-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.button-gradient {
  background-image: var(--gradient-button);
  box-shadow: 0 10px 25px rgba(214, 40, 57, 0.35);
}

.button-gradient:hover {
  filter: brightness(1.05);
}

.nav-transition {
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

[data-parallax] {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  [data-parallax] {
    background-attachment: scroll;
  }
}
