html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #01a144;

  color: #efeff0;
}

/* ---------- Header ---------- */
#site-header {
  background: transparent;
}
#site-header.scrolled {
  background: #fffcf5;
  box-shadow:
    0 1px 0 rgba(15, 28, 46, 0.06),
    0 8px 24px -12px rgba(15, 28, 46, 0.15);
}
#site-header.scrolled .nav-link,
#site-header.scrolled a[href="#home"] span:last-child,
#site-header.scrolled a[href="tel:+911204567890"] {
  color: #16273d;
}
#site-header:not(.scrolled) a[href="#home"] span.font-display {
  color: #fffcf5;
}
#site-header:not(.scrolled) a[href="#home"] span.text-gold-dark {
  color: #f0a620;
}
#site-header:not(.scrolled) .nav-link {
  color: rgba(255, 252, 245, 0.85);
}
#site-header:not(.scrolled) a[href="tel:+911204567890"] {
  color: rgba(255, 252, 245, 0.85);
}
#site-header:not(.scrolled) #menu-btn {
  color: #fffcf5;
  border-color: rgba(255, 255, 255, 0.25);
}

.nav-link {
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #f0a620;
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 28, 46, 0.08);
}

/* ---------- Logo mark ---------- */
.sun-mark {
  background: radial-gradient(circle at 35% 30%, #fcd98a, #f0a620 60%, #c97f0e);
}

/* ---------- Hero decorative arc ---------- */
.sun-arc {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(240, 166, 32, 0.35),
    rgba(240, 166, 32, 0.05) 60%,
    transparent 70%
  );
  pointer-events: none;
}

/* ---------- Panel grid texture ---------- */
.panel-grid {
  background-image:
    linear-gradient(#fffffff3 1px, transparent 1px),
    linear-gradient(90deg, #fffffff6 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 60%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 70%
  );
}

/* ---------- Floating card in hero ---------- */
.float-card {
  animation: floatY 4.5s ease-in-out infinite;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float-card {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Swiper overrides ---------- */
.testi-swiper {
  padding-bottom: 4px;
}
.testi-swiper .swiper-slide {
  height: auto;
}

/* ---------- Back to top ---------- */
#back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Focus visibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #f0a620;
  outline-offset: 2px;
}

/* ---------- Form success note ---------- */
#form-note.success {
  color: #0e7c74;
  font-weight: 600;
}
.bg-footer{
  background: linear-gradient(#012b0ad3,#03310ecc), url(img/footerbg.jpg);
  background-size: cover;
  background-position: center;
}