:root {
  --primary: #7C3AED;
  --primary-dark: #5B21B6;
  --accent: #F59E0B;
  --bg: #0B0B12;
  --surface: #15141F;
  --surface-light: #1E1D2B;
  --text: #F3F1F8;
  --text-light: #B4AFC4;
  --border: #2C2A3B;
  --radius: 14px;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  right: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 2147483002;
  font-weight: 700;
  border-radius: 0 0 0 8px;
}
.skip-link:focus { right: 0; top: 0; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(11,11,18,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.logo span { color: var(--accent); }
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
nav.main-nav a {
  font-weight: 500;
  color: var(--text-light);
  transition: color .15s;
}
nav.main-nav a:hover, nav.main-nav a:focus-visible { color: var(--accent); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-phone:hover, .nav-phone:focus-visible { background: var(--primary-dark); }
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  nav.main-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--surface); border-bottom: 1px solid var(--border); }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 16px 24px; gap: 16px; }
  .hamburger { display: block; }
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: radial-gradient(circle at 30% 20%, rgba(124,58,237,0.35), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(245,158,11,0.18), transparent 50%);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 span { color: var(--accent); }
.hero p {
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--text-light);
  font-size: 1.1rem;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(124,58,237,.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid var(--border); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--accent); color: var(--accent); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--surface); }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* Digital products card */
.product-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.product-card p { color: var(--text-light); margin-bottom: 24px; }

/* Video gallery */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16/9;
  cursor: pointer;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .15s; }
.video-card:hover img, .video-card:focus-visible img { opacity: 1; }
.video-card .play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.video-card .play-badge svg {
  width: 60px; height: 60px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.5));
}
.video-card iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }

/* Workshops */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 48px;
}
.workshop-card {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.workshop-card h3 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }

/* Forms */
.form-wrap { max-width: 560px; margin: 0 auto; }
form.contact-form { display: grid; gap: 16px; }
form.contact-form label { display: block; font-size: .9rem; color: var(--text-light); margin-bottom: 6px; }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
form.contact-form input:focus-visible, form.contact-form textarea:focus-visible {
  outline: 3px solid var(--primary); outline-offset: 1px; border-color: var(--primary);
}
form.contact-form textarea { resize: vertical; min-height: 120px; }
form.contact-form .checkbox-row { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-light); }
form.contact-form button[type="submit"] { justify-self: center; margin-top: 8px; }

/* Contact / footer info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { color: #fff; margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 24px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--text); }
.contact-detail svg { flex: 0 0 22px; color: var(--accent); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 24px; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }
.social-links { display: flex; gap: 14px; margin-top: 20px; }
.social-links a {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.social-links a:hover, .social-links a:focus-visible { background: var(--primary); border-color: var(--primary); }
.social-links svg { width: 20px; height: 20px; }

/* GMB reviews container fallback spacing */
.gmb-reviews { padding: 0 0 8px; }

/* Footer */
footer.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0 100px;
  text-align: center;
  color: var(--text-light);
  font-size: .95rem;
}
footer.site-footer a { color: var(--text-light); text-decoration: underline; }
footer.site-footer a:hover, footer.site-footer a:focus-visible { color: var(--accent); }
footer.site-footer .footer-links { margin-top: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* FAB (WhatsApp + Call) - bottom LEFT, opposite a11y widget */
.fab-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.fab {
  pointer-events: auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fab.wa { background: #25D366; }
.fab.call { background: var(--primary); }
.fab svg { width: 28px; height: 28px; fill: white; }
@media (max-width: 480px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
}
@media print { .fab-container { display: none; } }

/* Thanks page */
.thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks-page .thanks-card {
  max-width: 480px;
}
.thanks-page svg.check { width: 72px; height: 72px; color: var(--accent); margin-bottom: 24px; }
.thanks-page h1 { color: #fff; font-size: 1.8rem; margin-bottom: 16px; }
.thanks-page p { color: var(--text-light); margin-bottom: 28px; }

/* 404 page */
.error-page {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; padding: 60px 24px;
}
.error-page h1 { font-size: 5rem; color: var(--primary); font-weight: 800; }
.error-page p { color: var(--text-light); margin: 16px 0 28px; font-size: 1.1rem; }
