:root {
  --purple: #330066;
  --purple-dark: #1a0033;
  --purple-light: #4f087b;
  --text: #000000;
  --text-muted: #6e6e6e;
  --white: #ffffff;
  --gray-bg: #f0f0f0;
  --max-width: 1100px;
  --header-height: 72px;
  --radius: 5px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --transition: 0.25s ease;
}

@font-face {
  font-family: "SuperchargedHalftone";
  src: url("https://res.cloudinary.com/agr6heel/raw/upload/v1785006492/SuperchargeHalftone-6Y0Vq_ufzulb.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--purple);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  z-index: 2000;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
}

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

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

.btn-primary:hover {
  background: var(--purple-light);
}

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

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--purple);
}

.logo img {
  border-radius: 0.25%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--purple);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--purple);
  transition: transform var(--transition), opacity var(--transition);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-content p {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.section {
  padding: 5rem 0;
}

.options-grid,
.owner-grid,
.services-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.options-grid,
.owner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.options-copy p,
.services .eyebrow,
.selections-subtitle,
.owner-copy p,
.contact-content > p,
.bonus-lead {
  color: var(--text-muted);
}

.options-copy p,
.owner-copy p,
.contact-content > p {
  margin-top: 1rem;
}

.options-copy .btn,
.owner-copy .btn,
.tab-panel .btn {
  margin-top: 1.5rem;
}

.services {
  background: var(--gray-bg);
}

.services h2,
.selections-title {
  margin-top: 0.5rem;
}

.services-layout {
  grid-template-columns: 0.95fr 1.05fr;
  margin-top: 2.5rem;
}

.services-image img,
.options-image img,
.owner-image img,
.tab-panel img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.services-cards {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border-left: 4px solid var(--purple);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.service-card p {
  color: var(--text-muted);
}

.selections {
  background: var(--white);
}

.selections-subtitle {
  margin-top: 0.75rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
}

.tab {
  border: 1px solid rgba(51, 0, 102, 0.2);
  background: var(--white);
  color: var(--purple);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition);
}

.tab:hover,
.tab:focus-visible {
  border-color: var(--purple);
}

.tab.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--gray-bg);
  border-radius: 16px;
}

.tab-panel.active {
  display: grid;
}

.tab-panel h2 {
  margin-bottom: 0.75rem;
}

.tab-panel p {
  color: var(--text-muted);
}

.bonus,
.contact {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.bonus-bg,
.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.bonus-overlay,
.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 0, 51, 0.82);
}

.bonus-content,
.contact-content {
  position: relative;
  z-index: 1;
}

.bonus-lead,
.contact-content > p {
  max-width: 42rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.bonus-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
}

.bonus-grid h4 {
  margin-bottom: 0.5rem;
}

.bonus-grid p {
  color: rgba(255, 255, 255, 0.85);
}

.owner-name {
  margin-top: 1.5rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 2rem;
  max-width: 720px;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.contact-form label span {
  color: #e74c3c;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
}

.contact-form .full-width {
  grid-column: 1 / -1;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  font-weight: 600;
}

.form-message.success {
  color: #b8f5c3;
}

.form-message.error {
  color: #ffb4b4;
}

.faq h2 {
  margin-bottom: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(51, 0, 102, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--purple);
  font-size: 1.5rem;
  line-height: 1;
}

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

/* Start: FAQ Open/Close Animation */
/* 1. Base state (Closed) */
.faq-item p {
  padding: 0 1.5rem 0;
  color: var(--text-muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

/* 2. Open state (Expanding) */
.faq-item[open] p {
  max-height: 250px; /* Reduced from 500px to cut out the empty space */
  opacity: 1;
  padding-bottom: 1.25rem;
  /* Smooth, even pacing for the opening animation */
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out,
    padding-bottom 0.4s ease-in-out;
}

/* 3. Closing state (Shrinking) */
.faq-item.closing p {
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  /* 'ease-out' forces it to start shrinking rapidly right out of the gate */
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out,
    padding-bottom 0.4s ease-out;
}
/* End FAQ Open/Close Animation */

.site-footer {
  background: var(--purple-dark);
  color: var(--white);
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.footer-grid a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 900;
}

@media (max-width: 900px) {
  .options-grid,
  .owner-grid,
  .services-layout,
  .tab-panel,
  .bonus-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .owner-image {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.75rem 0;
  }

  .site-header {
    position: relative;
  }

  .hero {
    min-height: 75vh;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* Product Carousel Component */
.tab-panel:has(.product-carousel-wrapper) {
  display: block; /* Overrides default tab-panel 2-column grid when active */
}

.tab-panel.active:has(.product-carousel-wrapper) {
  display: block;
}

.product-carousel-wrapper {
  width: 100%;
}

.product-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  background: var(--purple);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.carousel-btn:hover {
  background: var(--purple-light);
  transform: scale(1.05);
}

.product-scroll-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar */
.product-scroll-track::-webkit-scrollbar {
  height: 8px;
}

.product-scroll-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.product-scroll-track::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 4px;
}

.product-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card .img-placeholder {
  width: 100%;
  height: 140px;
  background: #e6e6e6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.product-card h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}