body {
  background-image: radial-gradient(circle at 10% 10%, rgba(249, 115, 22, 0.08), transparent 35%),
    radial-gradient(circle at 90% 5%, rgba(11, 60, 93, 0.08), transparent 40%);
}

.site-header {
  transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #0B3C5D !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#main-header a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.header-brand-text {
  display: block;
  color: #ffffff !important;
  font-size: 0.8rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .header-brand-text {
    font-size: 1.125rem;
  }
}

#main-header nav > div {
  min-height: 5.5rem;
}

#main-header:not(.is-scrolled) .btn-premium {
  color: #ffffff !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.site-header:not(.is-scrolled) [data-mobile-menu-button] {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

.site-header:not(.is-scrolled) [data-mobile-menu] {
  background: rgba(11, 60, 93, 0.95);
  border-radius: 0.85rem;
  padding: 0.35rem 0.75rem 0.5rem;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 24px rgba(2, 8, 23, 0.08);
}

.premium-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(18px);
}

.card-hover {
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(11, 60, 93, 0.12);
  border-color: rgba(11, 60, 93, 0.2);
}

.btn-premium {
  color: #ffffff !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.btn-premium:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Consistent brand logo sizing across all pages */
#main-header.is-scrolled {
  background: #0B3C5D !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

#main-header.is-scrolled #header-logo {
  border-color: rgba(11, 60, 93, 0.1) !important;
  background: #ffffff;
}

#main-header.is-scrolled span,
#main-header.is-scrolled a:not(.btn-premium),
#main-header.is-scrolled #mobile-menu-btn {
  color: #ffffff !important;
}

#main-header.is-scrolled .btn-premium {
  color: #ffffff !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

/* Global Logo Sizing - Synchronized with Home Page */
#header-logo,
header img[id="header-logo"],
.site-header #header-logo,
footer img[alt="SLNS Logo"] {
  width: 6.25rem !important;
  height: 6.25rem !important;
  min-width: 6.25rem !important;
  min-height: 6.25rem !important;
  object-fit: cover !important;
}

@media (min-width: 1024px) {
  #main-header nav > div {
    min-height: 6.5rem;
  }

  #header-logo,
  header img[id="header-logo"] {
    width: 6.75rem !important;
    height: 6.75rem !important;
    min-width: 6.75rem !important;
    min-height: 6.75rem !important;
  }
}

@keyframes logo-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#header-logo {
  animation: logo-spin 20s linear infinite !important;
  transform-origin: center center !important;
}

#header-logo:hover {
  animation-duration: 14s !important;
}

.header-logo-match {
  width: 3rem !important;
  height: 3rem !important;
  object-fit: contain !important;
  background: #ffffff;
  padding: 0.2rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(11, 60, 93, 0.1);
}

[data-footer-logo] {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
  background: #ffffff;
  padding: 0.35rem;
  border-radius: 9999px;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.2);
}

footer img[alt="SLNS Logo"] + span {
  display: none !important;
}

.site-footer {
  background: #000000 !important;
  color: #ffffff;
}

@media (max-width: 767px) {
  body > footer,
  .site-footer {
    padding-bottom: 8rem !important;
  }

  main[class*="py-32"] {
    padding-top: 8rem !important;
    padding-bottom: 4rem !important;
  }

  main[class*="pt-40"] {
    padding-top: 8rem !important;
  }

  main[class*="pb-32"] {
    padding-bottom: 4rem !important;
  }

  main section[class*="py-24"],
  main section[class*="md:py-24"] {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  main section[class*="py-20"] {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  main section[class*="py-16"] {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  main .grid[class*="gap-20"],
  main .grid[class*="gap-16"],
  main .grid[class*="gap-12"],
  main .flex[class*="gap-12"],
  main .grid[class*="gap-10"] {
    gap: 2rem !important;
  }

  footer[class*="py-16"] {
    padding-top: 3rem !important;
  }
}

/* ── Circular Floating Action Buttons ── */
.fab-container {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.fab-container.nav-hidden {
  transform: translateX(150%) !important;
  opacity: 0;
  pointer-events: none;
}

.fab-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.fab-list.fab-open {
  max-height: 200px;
  opacity: 1;
}

.fab-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.fab-btn:hover {
  transform: scale(1.1);
}

.fab-whatsapp { background: #22c55e; }
.fab-call     { background: #0B3C5D; }
.fab-dots     { background: #1e1e2e; font-size: 1.1rem; letter-spacing: 0.05em; }

.fab-container {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.fab-container.nav-hidden {
  transform: translateX(150%) !important;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .fab-container { bottom: 2rem; }
}

.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0.25rem;
  padding: 0.7rem 0.75rem calc(0.7rem + env(safe-area-inset-bottom));
  background: #0b3c5d;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.mobile-bottom-nav.nav-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
}

.mobile-bottom-nav__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-bottom-nav__item.is-active {
  color: #f97316;
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

#mobile-menu-btn {
  display: none !important;
}

@media (max-width: 1023px) {
  main > section:first-of-type,
  .hero-section {
    padding-top: 6.5rem !important;
  }
}

@media (min-width: 1024px) {
  main > section:first-of-type,
  .hero-section {
    padding-top: 14rem !important;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-left {
  transform: translate3d(-42px, 0, 0);
}

.reveal-on-scroll.reveal-right {
  transform: translate3d(42px, 0, 0);
}

.reveal-on-scroll.reveal-up {
  transform: translate3d(0, 30px, 0);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 767px) {
  .reveal-on-scroll,
  .reveal-on-scroll.reveal-left,
  .reveal-on-scroll.reveal-right,
  .reveal-on-scroll.reveal-up {
    transform: translate3d(0, 22px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.reveal-left,
  .reveal-on-scroll.reveal-right,
  .reveal-on-scroll.reveal-up,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Lightbox Modal ── */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.is-open {
  display: flex;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.lightbox-modal.is-open .lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

.lightbox-close:hover {
  background: #f97316;
  transform: rotate(90deg);
}

#lightbox-caption {
  margin-top: 1.5rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- Splash Screen --- */
.splash-screen {
  position: fixed;
  inset: 0;
  background: #0B3C5D;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid rgba(249, 115, 22, 0.3);
  padding: 12px;
  margin-bottom: 2rem;
  background: white;
  animation: splashPulse 2s infinite ease-in-out;
}

@keyframes splashPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(249, 115, 22, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.splash-countdown {
  font-size: 5rem;
  font-weight: 800;
  color: #F97316;
  font-family: 'Inter', sans-serif;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.countdown-number {
  animation: countIn 1s ease-in-out forwards;
  position: absolute;
  opacity: 0;
}

@keyframes countIn {
  0% { opacity: 0; transform: scale(0.5) translateY(20px); }
  20% { opacity: 1; transform: scale(1.1) translateY(0); }
  80% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(1.2) translateY(-20px); }
}

.splash-text {
  margin-top: 2rem;
  color: white;
  letter-spacing: 0.5em;
  font-size: 0.875rem;
  font-weight: 700;
  opacity: 0.8;
  text-transform: uppercase;
}