:root {
  --c-primary: #9112BC;
  --c-secondary: #AE75DA;
  --c-accent: #E9E294;
  --c-light: #FFFCB8;
  --c-text: #24142c;
  --c-bg: #fffef8;
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --radius-sm: 10px;
  --radius-md: 18px;
  --shadow-soft: 0 10px 30px rgba(145, 18, 188, 0.12);
  --shadow-deep: 0 18px 38px rgba(145, 18, 188, 0.18);
  --font-main: "Arial", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 184, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(145, 18, 188, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  color: var(--c-primary);
}

.menu-list {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list a {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.menu-list a:hover,
.menu-list a.active {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.hero-slider {
  padding: var(--space-xl) 0 var(--space-lg);
  background: radial-gradient(circle at top right, #efe0ff 0%, #fff9d6 48%, #fffef8 100%);
}

.slide-track {
  position: relative;
  min-height: 290px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  color: var(--c-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
}

h1 {
  font-size: clamp(1.9rem, 4.3vw, 3rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 23ch;
}

p {
  margin: 0 0 var(--space-sm);
  max-width: 62ch;
}

.btn-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0.72rem 1.1rem;
  border: 2px solid var(--c-primary);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--c-primary);
  color: white;
}

.btn-primary:hover {
  background: #7c0fa0;
}

.btn-ghost {
  background: transparent;
  color: var(--c-primary);
}

.btn-ghost:hover {
  background: rgba(145, 18, 188, 0.08);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-lg);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(145, 18, 188, 0.25);
}

.dot.active {
  background: var(--c-primary);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.alt {
  background: rgba(174, 117, 218, 0.12);
}

.split-grid,
.quote-layout,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.split-grid img,
.quote-layout img,
.map-wrap iframe {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card p:last-child {
  margin-bottom: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.trust-item {
  background: white;
  border: 1px solid rgba(145, 18, 188, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary);
}

.interactive-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: start;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.pill {
  border: 1px solid rgba(145, 18, 188, 0.35);
  background: white;
  color: var(--c-text);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.pill:hover,
.pill.active {
  background: var(--c-primary);
  color: white;
  transform: translateY(-2px);
}

.focus-output {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  min-height: 170px;
}

.focus-output h3 {
  margin-bottom: 0.45rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.compliance-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(145, 18, 188, 0.18);
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--c-primary);
  background: rgba(145, 18, 188, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.table-lite {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table-lite th,
.table-lite td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(145, 18, 188, 0.12);
}

.table-lite th {
  background: rgba(174, 117, 218, 0.16);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.timeline {
  display: grid;
  gap: var(--space-sm);
}

.timeline article {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  background: white;
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.timeline span {
  width: 74px;
  color: var(--c-primary);
}

.cta-box,
.quote-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  background: #2d0e3a;
  color: white;
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.footer-cta p,
.footer-cta a {
  color: #f5ecff;
}

.legal-links {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  background: linear-gradient(170deg, #fff7cf 0%, #f2e2ff 100%);
}

.text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

form {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

label {
  display: block;
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  border: 2px solid rgba(145, 18, 188, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.72rem;
  margin-bottom: 0.4rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--c-primary);
}

.checkbox {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.5rem 0;
}

.checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.error {
  color: #a3004f;
  min-height: 1rem;
  display: block;
  margin-bottom: 0.4rem;
}

.ok-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ok-list li {
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.65rem;
}

.ok-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--c-primary);
  position: absolute;
  left: 0;
  top: 0.45rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: white;
  border: 2px solid rgba(145, 18, 188, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  z-index: 50;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.cookie-modal.open {
  display: flex;
}

.cookie-panel {
  background: white;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  width: min(440px, 92%);
}

.cookie-panel label {
  margin-bottom: 0.55rem;
}

.legal-page {
  padding: var(--space-xl) 0;
}

.legal-page h2 {
  margin-top: 1.5rem;
}

.legal-note {
  background: rgba(174, 117, 218, 0.12);
  border-left: 4px solid var(--c-primary);
  padding: 0.8rem 0.9rem;
  border-radius: 0 12px 12px 0;
}

.thank-you {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.center {
  text-align: left;
}

.compact {
  padding-top: var(--space-md);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 940px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid,
  .quote-layout,
  .faq-grid,
  .contact-grid,
  .text-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .compliance-grid,
  .interactive-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .menu-list {
    position: absolute;
    right: 4%;
    top: 64px;
    width: min(320px, 92vw);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    display: none;
    flex-direction: column;
  }

  .menu-list.open {
    display: flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}