/* === Custom Properties === */
:root {
  --bg-dark: #0a0a0a;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --text-white: #ffffff;
  --text-dark: #1a1a1a;
  --accent: #3b82f6;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition: 0.3s ease;
}

/* === Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: var(--bg-white);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-white);
  transition: color var(--transition);
}

.nav--scrolled .nav__logo {
  color: var(--text-dark);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-white);
  transition: color var(--transition);
}

.nav--scrolled .nav__links a {
  color: var(--text-dark);
}

.nav__links a:hover {
  color: var(--accent);
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: background var(--transition), transform var(--transition);
}

.nav--scrolled .nav__toggle span {
  background: var(--text-dark);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__links a {
    color: var(--text-dark);
    font-size: 1.1rem;
  }
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 70%);
  pointer-events: none;
}

.hero__content {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: var(--accent);
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
}

.hero__cta:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* === Sections === */
.section {
  padding: 6rem 2rem;
}

.section--white {
  background: var(--bg-white);
}

.section--light {
  background: var(--bg-light);
}

.section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section__text {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.section__text:last-of-type {
  margin-bottom: 3rem;
}

.section__subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-dark);
  margin: 3rem 0 1.25rem;
}

/* === Skills Tags === */
.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.skills__tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* === Stats === */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__number {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stats__label {
  font-size: 0.9rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === Clients === */
.clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.clients__card {
  text-align: center;
}

.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform var(--transition), opacity var(--transition);
}

.clients__item:hover {
  transform: scale(1.05);
}

.clients__logo {
  max-height: 80px;
  object-fit: contain;
  opacity: 0.7;
  mix-blend-mode: multiply;
  transition: opacity var(--transition);
}

.clients__item:hover .clients__logo {
  opacity: 1;
}

.clients__desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

.clients__period {
  display: inline-block;
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === Contact === */
.contact {
  text-align: center;
}

.contact__company {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.contact__address {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.contact__cvr {
  font-size: 0.85rem;
  color: #999;
  font-weight: 400;
}

.contact__phone,
.contact__email,
.contact__social {
  margin-bottom: 0.5rem;
}

.contact__phone a,
.contact__email a,
.contact__social a {
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition);
}

.contact__phone a:hover,
.contact__email a:hover,
.contact__social a:hover {
  color: #2563eb;
}

.contact__divider {
  margin: 0 0.5rem;
  color: #ccc;
}

/* === Approach === */
.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.approach__item {
  text-align: center;
  padding: 1.5rem;
}

.approach__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.approach__text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.approach__item--wide {
  grid-column: 1 / -1;
  max-width: 700px;
  margin: 0 auto;
}

/* === FAQ === */
.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.25rem 0;
}

.faq__question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-top: 0.75rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .approach {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* === Footer === */
.footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  border-top: 1px solid #eee;
}

/* === Fade-in animation === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === Responsive === */
@media (max-width: 768px) {
  .section {
    padding: 4rem 1.5rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .clients {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
