* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #202020;
  color: #e0e0e0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(32,32,32,0);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .5s ease, box-shadow .5s ease;
  z-index: 10;
}
body.scrolled .site-header {
  background: rgba(32,32,32,0.85);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-icon {
  height: 2em;
  margin-right: .3em;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(135deg,#FF6A00,#9A00FF);
  -webkit-background-clip: text;
  color: transparent;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.main-nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color .3s;
}
.main-nav a:hover {
  color: #ff6a00;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #e0e0e0;
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-grid;
    position: absolute;
    top: 12px;
    right: 40px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }
  .main-nav ul {
    display: none;
  }
  .main-nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #282828;
    padding: 10px 20px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#FF6A00,#9A00FF);
  opacity: .25;
  background-size: 200% 100%;
  animation: bgOverlayShift 15s ease-in-out infinite;
  z-index: 0;
}
@keyframes bgOverlayShift {
  0%,100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.4;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation-name: heroSlideFade;
  animation-duration: calc(var(--hero-count, 1) * 9s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--hero-index, 0) * 9s);
}

.hero-bg-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  z-index: 0;
}

.hero-bg-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(0,0,0,0.02) 0, rgba(0,0,0,0) 90%),
    radial-gradient(circle at top right, rgba(0,0,0,0.02) 0, rgba(0,0,0,0) 90%),
    radial-gradient(circle at bottom left, rgba(0,0,0,0.02) 0, rgba(0,0,0,0) 90%),
    radial-gradient(circle at bottom right, rgba(0,0,0,0.02) 0, rgba(0,0,0,0) 90%);
  mix-blend-mode: multiply;
}

@keyframes heroSlideFade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}
.hero-title {
  font-size: 3rem;
  background: linear-gradient(90deg,#FF6A00,#9A00FF);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  color: transparent;
  animation: textGradientShift 8s ease infinite;
}
@keyframes textGradientShift {
  0%,100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.hero-subtitle {
  margin-top: 1rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.services {
  background: #202020;
  padding: 60px 20px;
}
.services-title {
  text-align: center;
  font-size: 2rem;
  color: #FF6A00;
  margin-bottom: 40px;
}
.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: #282828;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: inherit;
}
.service-icon {
  height: 3em;
  margin-bottom: .5em;
}
.service-card h3 {
  font-size: 1.2rem;
  color: #FF6A00;
}
.service-card p {
  margin-top: .5em;
  font-size: .95rem;
  line-height: 1.4;
}

main {
  padding: 100px 20px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}
.contact-form-wrapper p.intro {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
}
.contact-form-wrapper form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
.contact-form-wrapper label {
  font-size: 1rem;
  color: #e0e0e0;
}
.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background: #2a2a2a;
  color: #e0e0e0;
  box-sizing: border-box;
}
.contact-form-wrapper .form-field.inline-privacy .checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.contact-form-wrapper input[type="checkbox"] {
  width: auto !important;
  height: auto !important;
  background: none !important;
  margin: 0 !important;
}
.contact-form-wrapper .form-field.inline-privacy .checkbox-label span {
  white-space: normal;
}

.contact-form-wrapper button[type="submit"] {
  background: linear-gradient(135deg,#FF6A00 0%,#FF6A00 40%,#9A00FF 100%) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 10px 30px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4) !important;
  cursor: pointer !important;
  transition: opacity .2s ease !important;
  text-transform: none !important;
  text-align: center !important;
}
.contact-form-wrapper button[type="submit"]:hover {
  opacity: 0.85 !important;
}

.site-footer {
  text-align: center;
  padding: 20px 0;
  background: linear-gradient(135deg,#2a2a2a,#202020);
  color: #777;
  font-size: .875rem;
  margin-top: 40px;
}
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color .3s;
}
.footer-links a:hover {
  color: #ff6a00;
}

.cc-window {
  background: #282828 !important;
  color: #e0e0e0 !important;
  font-family: 'Segoe UI', sans-serif;
  padding: 20px !important;
  border-radius: 8px !important;
  max-width: 1000px !important;
  margin: 0 auto 20px !important;
  font-size: 1rem !important;
}
.cc-window a {
  color: #FF6A00 !important;
  text-decoration: none !important;
  font-weight: bold !important;
}
.cc-compliance {
  margin-top: 15px !important;
  display: flex !important;
  gap: 15px !important;
  justify-content: center !important;
}
body .cc-window .cc-compliance .cc-btn {
  background: linear-gradient(135deg,#FF6A00 0%,#FF6A00 40%,#9A00FF 100%) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 10px 30px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4) !important;
  cursor: pointer !important;
  transition: opacity .2s ease !important;
  text-transform: none !important;
  text-align: center !important;
}

.cc-revoke {
  position: fixed;
  bottom: 20px !important;
  left: 20px !important;
  padding: 8px 12px !important;
  background: #202020 !important;
  color: #e0e0e0 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  text-indent: -9999px;
}
.cc-revoke:after {
  content: 'Cookies' !important;
  text-indent: 0 !important;
  font-size: 0.875rem;
  color: #ffffff !important;
}

.service-card {
  display: block;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
.service-card:active {
  transform: scale(0.98);
}

ul, ol {
  list-style-position: outside;
  padding-left: 1.5rem;
  margin: .5rem 0;
}
li {
  margin: .25rem 0;
}

ul ul,
ul ol,
ol ul,
ol ol {
  padding-left: 1.25rem;
}

nav ul,
nav ol,
.main-nav ul,
.main-nav ol,
.breadcrumbs ul,
.breadcrumbs ol,
.footer-links ul,
.footer-links ol,
.site-footer ul,
.site-footer ol {
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none;
}

@media (max-width: 900px) {
  .hero {
    padding: 120px 24px 40px;
  }
  .hero-inner {
    max-width: 900px;
  }
  .hero-content {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .main-nav.open {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #202020;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: navOverlayIn .25s ease both;
  }

  .main-nav.open ul {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    padding: 0;
    position: static;
    top: auto;
    right: auto;
    width: auto;
    box-shadow: none;
    text-align: center;
  }

  .main-nav.open a {
    font-weight: 600;
    text-decoration: none;
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  .main-nav .nav-close {
    position: absolute;
    top: 12px;
    right: 40px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #e0e0e0;
    font-size: 3.2rem;
    line-height: 1;
    cursor: pointer;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding: 120px 20px 40px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: clamp(1rem, 4.5vw, 1.15rem);
  }
}

@keyframes navOverlayIn {
  from {
    opacity: 0;
    transform: translateY(-2%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-nav .nav-close {
  display: none;
}
.main-nav.open .nav-close {
  display: inline-grid;
}

@media (max-width: 400px) {
  .hero {
    padding: 110px 16px 32px;
  }
  .hero-title {
    font-size: clamp(1.6rem, 9vw, 2rem);
  }
  .hero-subtitle {
    font-size: clamp(0.95rem, 4.8vw, 1.05rem);
  }
}

main p {
  margin: 1rem 0;
}


main a:not(.service-card),
.content a:not(.service-card),
.modular a:not(.service-card) {
  color: #FF6A00;
  text-decoration: underline;
  text-underline-offset: 2px;
}


main a:not(.service-card):visited,
.content a:not(.service-card):visited,
.modular a:not(.service-card):visited {
  color: #E05E00;
}


main a:not(.service-card):hover,
main a:not(.service-card):focus-visible,
.content a:not(.service-card):hover,
.content a:not(.service-card):focus-visible,
.modular a:not(.service-card):hover,
.modular a:not(.service-card):focus-visible {
  color: #9A00FF;
}

main hr,
.content hr,
.modular hr {
  display: block;
  border: 0;
  height: 2rem;
  margin: 0;
  background: none;
}

@media (max-width: 768px) {
  body.cw-open .nav-toggle,
  body.cw-open .main-nav .nav-close {
    display: none !important;
  }
  body.cw-open .main-nav.open {
    display: none !important;
  }
}
