:root {
  --brand-purple: #6d28d9;
  --brand-purple-dark: #4c1d95;
  --brand-bg: #f6f1ff;
  --text: #1f2937;
  --ring: #111827;
}
* { box-sizing: border-box; }
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Assistant, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff, var(--brand-bg));
}
.container,
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 14px;
}
.skip-link {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #111827;
  color: #fff;
  padding: 8px 14px;
  z-index: 100000;
  text-decoration: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-purple-dark); font-weight: 800; }
.brand img { height: 40px; width: auto; }
.main-menu { display: flex; gap: 8px; flex-wrap: wrap; }
.main-menu a {
  text-decoration: none;
  color: #111827;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.main-menu a:hover,
.main-menu a[aria-current="page"] {
  color: var(--brand-purple-dark);
  background: #f5f3ff;
  border-color: #ddd6fe;
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  border: 1px solid #d1d5db;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
}
.nav-wrap,
.hero-content,
.hero-contact,
.cards-grid,
.card,
.video-showcase,
.video-frame,
.cta-strip,
.footer-wrap {
  min-width: 0;
}
img,
svg,
iframe,
video {
  max-width: 100%;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.hero-content, .hero-contact {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,.07);
}
.eyebrow { color: var(--brand-purple); font-weight: 800; margin: 0 0 8px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2; color: var(--brand-purple-dark); }
.hero-lead { margin: 0 0 20px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-metrics { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-metrics li { background: #f9f5ff; border: 1px solid #e9d5ff; border-radius: 12px; padding: 10px; display: grid; gap: 4px; }
.hero-metrics a { color: #111827; text-decoration: none; }
.hero-contact h2 { margin-top: 0; color: var(--brand-purple-dark); }
.contact-list { margin: 0; padding: 0 16px 0 0; display: grid; gap: 10px; }
.contact-list span { font-weight: 700; }
.contact-list a { color: var(--brand-purple-dark); text-decoration: none; }
.contact-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; border-radius: 12px; padding: 12px 16px; text-decoration: none; font-weight: 800; border: 1px solid transparent; transition: transform .15s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-purple); color: #fff; }
.btn-primary:hover { background: var(--brand-purple-dark); }
.btn-secondary { border-color: var(--brand-purple); color: var(--brand-purple); background: #fff; }
.btn-ghost { border-color: #ddd6fe; color: var(--brand-purple-dark); background: #f5f3ff; }
.services,.media { margin: 16px 0 34px; }
.video-showcase { margin-bottom: 28px; }
.cta-strip { margin-bottom: 28px; }
.services,.media,.video-showcase,.cta-strip {
  max-width: 1140px;
  margin: 0 auto;
}
.services h2,.media h2 { color: var(--brand-purple-dark); margin-bottom: 14px; }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; text-decoration: none; color: #111827; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; color: #111827; }
.card p { margin: 0; line-height: 1.7; color: #374151; }
.card:hover { border-color: var(--brand-purple); box-shadow: 0 10px 20px rgba(109,40,217,.12); }
.card-visual { padding: 0; overflow: hidden; position: relative; }
.card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  color: var(--brand-purple-dark);
  border-radius: 999px;
  font-size: .76rem;
  padding: 5px 10px;
  font-weight: 800;
}
.card-thumb {
  display: block;
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 45, .55), rgba(7, 21, 45, .08));
}
.card-body { display: block; padding: 14px 16px 16px; }
.video-showcase {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
}
.video-showcase h2 { margin: 0 0 12px; color: var(--brand-purple-dark); }
.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-lazy {
  background:
    linear-gradient(140deg, rgba(17, 24, 39, .75), rgba(109, 40, 217, .58)),
    url("https://images.cdn-files-a.com/uploads/9097476/800_6610e57d1154f.jpg") center/cover no-repeat;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  background: transparent;
}
.play-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92);
  color: #4c1d95;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  font-size: 1.5rem;
  padding-left: 3px;
}
.cta-strip {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(130deg, #4c1d95, #6d28d9 55%, #7c3aed);
  box-shadow: 0 14px 30px rgba(76, 29, 149, .28);
}
.cta-strip h2 { margin: 0 0 8px; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: #fff; }
.cta-strip p { margin: 0; color: #f5f3ff; line-height: 1.7; }
.cta-visual {
  width: min(240px, 45vw);
  max-height: 120px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  padding: 8px;
  border: 1px solid rgba(255,255,255,.3);
}
.pulse-btn {
  animation: pulse 1.8s infinite;
  white-space: nowrap;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.site-footer { border-top: 1px solid #e5e7eb; padding: 14px 0 24px; background: #fff; }
.footer-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; padding-bottom: 110px; }
.footer-logo { height: 30px; width: auto; }
.footer-wrap p { margin: 0 0 8px; }
#autotest-whatsapp-float,#autotest-contact-float,#autotest-mail-float {
  position: fixed;
  left: 16px;
  left: max(16px, env(safe-area-inset-left));
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.float-label { display: none; }
.float-icon { display: inline-flex; line-height: 1; }
#autotest-whatsapp-float {
  bottom: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  background: #25D366;
  z-index: 2147483647;
}
#autotest-contact-float {
  bottom: calc(16px + 68px);
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px);
  background: var(--brand-purple);
  z-index: 2147483500;
}
#autotest-mail-float {
  bottom: calc(16px + 136px);
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 136px);
  background: #2563eb;
  z-index: 2147483400;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .main-menu {
    display: none;
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    max-width: calc(100vw - 36px);
    overflow-x: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
  }
  .main-menu.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-metrics,.cards-grid,.footer-wrap { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .pulse-btn { white-space: normal; width: 100%; }
  .cta-visual { width: 100%; max-width: 320px; }
  #autotest-mail-float { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 136px); }
}
@media (min-width: 1180px) {
  .cards-grid.services-grid-rich { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
