/* ============================================================
   DIGISIO — Main Stylesheet
   Colors: #0f172a bg · #3b82f6 blue · #8b5cf6 purple
   Fonts:  Montserrat (headings) · Inter (body)
   ============================================================ */

/* ======= TOKENS ======= */
:root {
  --bg:          #090d1e;
  --bg-mid:      #0d1227;
  --bg-card:     rgba(13, 20, 45, 0.7);
  --text:        #f1f5f9;
  --muted:       #94a3b8;
  --muted-2:     #64748b;
  --blue:        #3b82f6;
  --purple:      #8b5cf6;
  --blue-dim:    rgba(59, 130, 246, 0.18);
  --purple-dim:  rgba(139, 92, 246, 0.15);
  --blue-glow:   rgba(59, 130, 246, 0.35);
  --purple-glow: rgba(139, 92, 246, 0.35);
  --border:      rgba(59, 130, 246, 0.18);
  --radius:      16px;
  --radius-sm:   10px;
  font-family: Inter, system-ui, sans-serif;
  color-scheme: dark;
}

/* ======= RESET ======= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3 {
  font-family: Montserrat, sans-serif;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.accent-gradient {
  background: linear-gradient(135deg, var(--blue) 30%, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======= BUTTONS ======= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}
.button-sm  { padding: 9px 20px; font-size: 0.875rem; }
.button-lg  { padding: 16px 36px; font-size: 1rem; }

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 0 24px var(--blue-glow);
}
.button-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}
.button-primary:hover {
  box-shadow: 0 0 36px var(--blue-glow), 0 0 60px var(--purple-glow);
  transform: translateY(-2px);
}
.button-primary:hover::after { opacity: 1; }

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ======= SITE HEADER ======= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: padding 300ms ease, background 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(9, 13, 30, 0.85);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: Montserrat, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  background: linear-gradient(135deg, #fff 40%, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 200ms ease;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 2px;
  transition: width 250ms ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======= MOBILE NAV ======= */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(9, 13, 30, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.mobile-nav nav a {
  font-family: Montserrat, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  transition: color 200ms ease;
}
.mobile-nav nav a:hover { color: var(--blue); }
.mobile-nav .button { font-size: 1rem; margin-top: 12px; }

/* ======= HERO ======= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14), transparent 65%);
  top: -150px;
  right: -150px;
  filter: blur(80px);
}
.hero-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 65%);
  bottom: 0;
  left: -150px;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 48px;
  padding-bottom: 120px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-top: 22px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  backdrop-filter: blur(8px);
}
.badge svg { flex-shrink: 0; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-2);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ======= STATS ======= */
.stats-section {
  padding: 64px 0;
  background: linear-gradient(180deg, rgba(13, 20, 45, 0.6), rgba(9, 13, 30, 0.8));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.04), transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
}
.stat-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1px;
}
.stat-number, .stat-suffix {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suffix { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.stat-item > p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* ======= SECTION SHARED ======= */
.section-header { margin-bottom: 56px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 2px;
  flex-shrink: 0;
}

.section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  margin-top: 16px;
  line-height: 1.75;
}

/* ======= SERVICES ======= */
.services { padding: 110px 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  gap: 28px;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 32px rgba(59, 130, 246, 0.12);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 1; }

.service-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--blue);
  transition: all 350ms ease;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.service-card-body { flex: 1; min-width: 0; }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 200ms ease, gap 200ms ease;
}
.service-card:hover .card-link { color: var(--purple); gap: 10px; }

/* Stagger delays */
.service-grid .service-card:nth-child(1) { transition-delay: 0ms; }
.service-grid .service-card:nth-child(2) { transition-delay: 90ms; }
.service-grid .service-card:nth-child(3) { transition-delay: 180ms; }
.service-grid .service-card:nth-child(4) { transition-delay: 270ms; }

/* ======= PROCESS ======= */
.process-section {
  padding: 110px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.06), transparent 60%);
  border-top: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: center;
  gap: 0;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  backdrop-filter: blur(12px);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.process-step:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.4);
}

.step-number {
  font-family: Montserrat, sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 22px;
}
.process-step h3 { margin-bottom: 12px; }
.process-step p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-connector::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 2px;
  opacity: 0.35;
}

/* Process stagger */
.process-grid .process-step:nth-child(1) { transition-delay: 0ms; }
.process-grid .process-step:nth-child(3) { transition-delay: 120ms; }
.process-grid .process-step:nth-child(5) { transition-delay: 240ms; }

/* ======= CTA ======= */
.cta-section { padding: 60px 0 110px; }

.cta-inner {
  position: relative;
  text-align: center;
  padding: 90px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.09), rgba(139, 92, 246, 0.07));
  border: 1px solid rgba(59, 130, 246, 0.28);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(59, 130, 246, 0.2), transparent 60%);
  pointer-events: none;
}
.cta-inner .section-label { justify-content: center; }
.cta-inner h2 { max-width: 640px; margin: 0 auto 18px; }
.cta-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* ======= CONTACT ======= */
.contact { padding: 110px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-header { margin-bottom: 16px; }

.contact-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 250ms ease, color 250ms ease;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
}
.contact-detail-item:hover { border-color: rgba(59, 130, 246, 0.45); color: var(--blue); }

.contact-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 52px 48px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
  opacity: 0.5;
}

.contact-form { display: grid; gap: 24px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field-group { display: grid; gap: 8px; }

label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

input, textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  padding: 14px 18px;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

/* ======= FOOTER ======= */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(6, 8, 18, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

.social-icons { display: flex; gap: 10px; margin-top: 4px; }
.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  transition: all 250ms ease;
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--blue);
  transform: translateY(-2px);
}

.footer-column { display: grid; gap: 10px; align-content: start; }
.footer-heading {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-column nav { display: grid; gap: 10px; }
.footer-column nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 200ms ease;
}
.footer-column nav a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--muted-2); font-size: 0.85rem; }
.cookie-settings-btn {
  background: none;
  border: none;
  color: var(--muted-2);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
}
.cookie-settings-btn:hover { color: var(--muted); }

/* ======= SCROLL REVEAL ======= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stats stagger */
.stats-grid .stat-item:nth-child(1) { transition-delay: 0ms; }
.stats-grid .stat-item:nth-child(2) { transition-delay: 100ms; }
.stats-grid .stat-item:nth-child(3) { transition-delay: 200ms; }
.stats-grid .stat-item:nth-child(4) { transition-delay: 300ms; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr; }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-connector { display: none; }
}

@media (max-width: 840px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .contact-inner { grid-template-columns: 1fr; gap: 52px; }

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

  .service-card { flex-direction: column; gap: 20px; }
  .service-icon { width: 52px; height: 52px; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }

  .hero-content { padding-bottom: 80px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .field-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 32px 22px; }

  .cta-inner { padding: 56px 28px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .process-step { padding: 32px 24px; }
}

/* ======= CAPTCHA ======= */
.captcha-widget {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 200ms ease;
}
.captcha-widget:focus-within { border-color: var(--blue); }
.captcha-widget.captcha-ok {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.05);
}
.captcha-widget.captcha-err {
  border-color: rgba(239, 68, 68, 0.5);
  animation: captchaShake 320ms ease;
}
@keyframes captchaShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.captcha-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.captcha-widget.captcha-ok .captcha-label { color: #10b981; }

.captcha-body {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.captcha-question {
  font-family: Montserrat, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.captcha-body input {
  width: 46px;
  padding: 5px 6px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 6px;
}

.captcha-refresh {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  transition: all 200ms ease;
  flex-shrink: 0;
}
.captcha-refresh:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--blue);
  transform: rotate(90deg);
}

.captcha-error {
  font-size: 0.78rem;
  color: #f87171;
  min-height: 1em;
  margin: 0;
}

.form-send-error {
  font-size: 0.875rem;
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  margin-bottom: 0.75rem;
}

/* ======= FAQ ======= */
.faq-section {
  padding: 110px 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1), 0 4px 24px rgba(59, 130, 246, 0.07);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}

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

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  animation: faqReveal 0.28s ease;
}

.faq-answer strong {
  color: var(--text);
}

.faq-answer a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.faq-answer a:hover {
  text-decoration-color: var(--blue);
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-item.reveal:nth-child(1) { transition-delay:   0ms; }
.faq-item.reveal:nth-child(2) { transition-delay:  60ms; }
.faq-item.reveal:nth-child(3) { transition-delay: 120ms; }
.faq-item.reveal:nth-child(4) { transition-delay: 180ms; }
.faq-item.reveal:nth-child(5) { transition-delay: 240ms; }
.faq-item.reveal:nth-child(6) { transition-delay: 300ms; }
.faq-item.reveal:nth-child(7) { transition-delay: 360ms; }

/* ======= COOKIE BANNER ======= */
.cookie-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 48px);
  max-width: 680px;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), opacity 0.4s ease;
}
.cookie-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-bar p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions .button {
  white-space: nowrap;
}
@media (max-width: 540px) {
  .cookie-bar {
    flex-direction: column;
    align-items: flex-start;
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    transform: translateY(120px);
  }
  .cookie-bar.visible {
    transform: translateY(0);
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .button {
    flex: 1;
    text-align: center;
  }
}
.faq-item.reveal:nth-child(8) { transition-delay: 420ms; }

/* ======= GDPR CHECKBOX ======= */
.field-group--checkbox { margin-top: 4px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: transparent;
  margin-top: 1px;
  transition: border-color 0.2s, background 0.2s;
}
.checkbox-label input:checked + .checkbox-box {
  background: var(--blue);
  border-color: var(--blue);
}
.checkbox-label input:checked + .checkbox-box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.checkbox-label a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ======= GDPR PAGE ======= */
.gdpr-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.gdpr-wrap h1 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.gdpr-wrap .updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 48px;
}
.gdpr-wrap h2 {
  font-family: Montserrat, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 36px 0 10px;
  color: var(--text);
}
.gdpr-wrap p, .gdpr-wrap li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}
.gdpr-wrap ul { padding-left: 20px; margin: 8px 0; }
.gdpr-wrap a { color: var(--blue); }
.gdpr-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
  text-decoration: none;
}
.gdpr-back:hover { color: var(--text); }

/* ======= SKIP LINK ======= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 20px;
  background: var(--blue);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ======= 404 PAGE ======= */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 40px 24px;
}
.error-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.error-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}
.error-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}
.error-brand {
  font-family: Montserrat, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fff 40%, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.error-content {
  position: relative;
  max-width: 520px;
}
.error-code {
  font-family: Montserrat, sans-serif;
  font-size: clamp(7rem, 22vw, 11rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #3b82f6 65%, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.error-content h1 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.error-desc {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.7;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}