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

:root {
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-800: #5b21b6;
  --violet-900: #4c1d95;
  --violet-950: #2e1065;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;

  --white: #ffffff;
  --primary: var(--violet-600);
  --primary-hover: var(--violet-700);
  --primary-light: var(--violet-50);
  --text: var(--gray-800);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --header-height: 4.5rem;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 80rem;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 1px 2px rgb(124 58 237 / 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-800);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--gray-50);
  color: var(--gray-900);
  border-color: var(--gray-300);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--violet-50);
  color: var(--primary-hover);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 0.5);
}

.btn-outline-white:hover {
  background: rgb(255 255 255 / 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(17 24 39 / 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.brand img {
  height: 2.75rem;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav a:not(.btn) {
  color: var(--gray-200);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--white);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--gray-900);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a:not(.btn) {
  padding: 0.75rem 0;
  color: var(--gray-200);
  font-weight: 500;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.mobile-nav .btn {
  margin-top: 0.75rem;
  width: 100%;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(85vh, 800px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgb(46 16 101 / 0.92) 0%,
    rgb(91 33 182 / 0.78) 50%,
    rgb(124 58 237 / 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 5rem 4rem;
  max-width: 42rem;
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--violet-200);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--violet-100);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--violet-200);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--violet-600);
  background: var(--white);
  border-radius: 50%;
}

/* Sections */
.section {
  padding-block: 5rem;
}

.section-alt {
  background: var(--gray-50);
}

.section-header {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.section-alt .service-card {
  background: var(--white);
}

.service-card:hover {
  border-color: var(--violet-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Split */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.split-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.split-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  margin-bottom: 2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-wide {
    grid-column: 1 / -1;
  }
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.gallery-grid-4 .gallery-item img {
  aspect-ratio: 4 / 3;
}

.gallery-item figcaption {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  counter-reset: steps;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
}

.steps h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.steps p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.area-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  font-weight: 600;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.area-card:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: var(--violet-200);
  transform: translateY(-1px);
}

/* FAQ */
.faq-list {
  max-width: 48rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA */
.cta-section {
  padding-block: 5rem;
  background: linear-gradient(135deg, var(--violet-700) 0%, var(--violet-600) 50%, var(--violet-500) 100%);
}

.cta-inner {
  text-align: center;
  max-width: 42rem;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 1.0625rem;
  color: var(--violet-100);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand img {
  height: 2.5rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-400);
}

.footer-brand a {
  color: var(--violet-300);
}

.footer-brand a:hover {
  color: var(--violet-200);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: var(--gray-400);
  font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact li:not(:has(a)) {
  font-size: 0.9375rem;
  color: var(--gray-400);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-block: 1.5rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.25rem;
  background: rgb(17 24 39 / 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 -8px 24px rgb(0 0 0 / 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.cookie-banner-content {
  flex: 1 1 18rem;
}

.cookie-banner h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.375rem;
}

.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-300);
}

.cookie-banner a {
  color: var(--violet-300);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--violet-200);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.cookie-banner .btn-secondary {
  background: transparent;
  color: var(--gray-200);
  border-color: rgb(255 255 255 / 0.2);
}

.cookie-banner .btn-secondary:hover {
  background: rgb(255 255 255 / 0.08);
  color: var(--white);
}

/* Legal pages */
.legal-page {
  padding-block: 3rem 4rem;
  background: var(--gray-50);
}

.legal-card {
  max-width: 48rem;
  margin-inline: auto;
  background: var(--white);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .legal-card {
    padding: 3rem;
  }
}

.legal-card > h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.legal-meta {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.legal-prose h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-block: 2rem 1rem;
}

.legal-prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.legal-prose ul {
  margin: 0 0 1rem 1.25rem;
  color: var(--gray-700);
}

.legal-prose li {
  margin-bottom: 0.375rem;
  line-height: 1.7;
}

.legal-prose hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin-block: 2rem;
}

.legal-cookies {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.legal-cookies h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.legal-cookies h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-block: 1.5rem 0.75rem;
}

.legal-cookies h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.legal-cookie-types {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legal-cookie-types p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.legal-cookie-reset {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.legal-cookie-reset:hover {
  color: var(--primary-hover);
}
