html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

.page-shell {
  background-color: #f8fafc;
  background-image: radial-gradient(circle at 8% -10%, rgba(0, 120, 212, 0.08) 0, rgba(0, 120, 212, 0) 36%),
    radial-gradient(circle at 92% 0%, rgba(15, 23, 42, 0.06) 0, rgba(15, 23, 42, 0) 32%);
}

.section-frame {
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.hero-bg {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-image: url('../images/House/Ardafox_IG-1.png');
  background-size: cover;
  background-position: center 38%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(2, 6, 23, 0.78) 0%, rgba(2, 6, 23, 0.55) 45%, rgba(2, 6, 23, 0.22) 100%);
}

@media (max-width: 767px) {
  .hero-bg {
    min-height: 62vh;
    background-position: 64% center;
  }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.ardafox-navbar-toggle {
  gap: 4px;
}

.ardafox-navbar-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.ardafox-navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.ardafox-navbar-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 767px) {
  .ardafox-navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 12px 20px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ardafox-navbar-links.open {
    display: flex;
  }

  .ardafox-navbar-links .desktop-only {
    display: none;
  }

  .ardafox-navbar-links .mobile-only {
    display: block;
  }

  .ardafox-navbar-links .mobile-only a {
    display: block;
    width: 100%;
    color: #334155;
  }
}

@media (min-width: 768px) {
  .ardafox-navbar-links .mobile-only {
    display: none;
  }
}

.rich-content h2,
.rich-content h3 {
  font-family: 'Montserrat', 'Manrope', 'Segoe UI', Arial, sans-serif;
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
  color: #161616;
}

.rich-content p,
.rich-content li {
  color: #374151;
  line-height: 1.75;
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.2rem;
}

.solutions-carousel-track {
  width: max-content;
  animation: solutions-scroll 28s linear infinite;
}

.solutions-carousel:hover .solutions-carousel-track {
  animation-play-state: paused;
}

@keyframes solutions-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--solutions-carousel-width, 50%)));
  }
}

.cookie-text h3 {
  font-family: 'Montserrat', 'Manrope', 'Segoe UI', Arial, sans-serif;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.cookie-text p,
.cookie-header p,
.cookie-info p {
  color: #475569;
  line-height: 1.55;
}

.cookie-info h4 {
  color: #0f172a;
  font-size: 0.95rem;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background-color: #cbd5e1;
  transition: 0.25s ease;
}

.slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  border-radius: 999px;
  background-color: #ffffff;
  transition: 0.25s ease;
}

.cookie-toggle input:checked + .slider {
  background-color: #0078d4;
}

.cookie-toggle input:checked + .slider::before {
  transform: translateX(18px);
}

.projects-cookie-consent {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: none;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.14);
  padding: 1.5rem;
  max-width: 340px;
  min-width: 260px;
}
