/* Google Fonts Import (Inter only) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("tokens.css");

/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  color: var(--color-neutral-black);
  background-color: var(--color-neutral-white);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   NAVIGATION BAR (Seamless Hero Blend -> White on Scroll)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* 1. Default State: Matches the Hero background seamlessly */
  background-color: var(--color-bg-secondary); /* #f5f5f7 */
  padding: 24px 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* 2. Scrolled State: Turns pure white with a soft border/shadow */
.site-header.scrolled {
  background-color: var(--color-neutral-white); /* #ffffff */
  padding: 16px 0; /* Slightly more compact on scroll */
  border-bottom: 1px solid var(--color-border-default); /* #e7edea */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.header-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left: Logo & Nav */
.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 28px; /* Adjust height if needed */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  font-family: var(--font-roboto, sans-serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-neutral-black, #111111);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-item:hover {
  color: var(--color-brand-contextual) /* #00A532 */;
}

/* Right: Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  font-family: var(--font-roboto, sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-neutral-black, #111111);
  text-decoration: none;
  padding: 8px 12px;
  transition: opacity 0.15s ease;
}

.nav-login:hover {
  opacity: 0.75;
}
/* Navigation CTA Buttons (Default: Black with White text) */
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-neutral-black); /* #1a1a1a */
  color: var(--color-neutral-white); /* #ffffff */
  font-family: var(--font-roboto);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

/* Hover State: Transitions smoothly to Qontrolle Brand Green with Black text */
.btn-nav:hover {
  background-color: var(--color-brand-primary); /* #22c855 */
  color: var(--color-neutral-black); /* #1a1a1a */
}
.btn-dark:hover {
  background-color: #2a2a2a;
}
/* ==========================================================================
   HERO SECTION (Exact Figma 1920 Specs)
   ========================================================================== */

.hero-section {
  background-color: var(
    --color-bg-secondary
  ); /* #f5f5f7 - gives contrast to white cards */
  padding-top: 40px;
  padding-bottom: 0;
  overflow: hidden;
}

/* Figma Container: 1920px canvas, horizontal padding 300px, align-items center, gap 0 */
.hero-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

/* Figma Left Column: Width 640px (Fill), Vertical Auto Layout, Gap 40px */
.hero-content {
  flex: 0 0 640px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
  padding: 0;
}

/* Figma: Display/Display · 64/78 */
.hero-title {
  font-family: var(--font-family-primary);
  font-size: 64px;
  line-height: 78px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-neutral-black);
  margin: 0;
}

/* Figma: Body/Default · 16/24 */
.hero-description {
  font-family: var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--color-neutral-black);
  margin: 0;
}

/* Figma CTA Block: Vertical Auto Layout, Gap 16px */
.hero-cta-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

/* Figma Button Group: Horizontal Auto Layout, Gap 24px */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
}

/* Button Base Styles & Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

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

/* Figma Primary Green Button: Default state (Green background, Black text) */
.btn-primary {
  background-color: var(--color-brand-primary); /* #22c855 */
  color: var(--color-neutral-black); /* #1a1a1a */
}

.btn-primary .btn-arrow path {
  stroke: var(--color-neutral-black);
  transition: stroke 0.2s ease;
}

/* Hover state: One at a time transitions to Black background, White text */
.btn-primary:hover {
  background-color: var(--color-neutral-black); /* #1a1a1a */
  color: var(--color-neutral-white); /* #ffffff */
}

.btn-primary:hover .btn-arrow path {
  stroke: var(--color-neutral-white);
}

/* Figma Trust Badge: Body/Small · 14/20 */
.hero-trust {
  font-family: var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--color-neutral-black);
  opacity: 0.75;
  margin: 0;
}

/* Figma Right Column Visual Frame: 692px × 599px, aligned to bottom baseline */
.hero-visual {
  flex: 0 0 692px;
  max-width: 692px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  line-height: 0;
  margin: 0;
}

.hero-composite-img {
  width: 100%;
  max-width: 692px;
  height: auto;
  display: block;
}

/* Responsive Adaptation for Tablets & Mobile */
@media (max-width: 1440px) {
  .hero-container {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 0 24px;
    gap: 48px;
  }

  .hero-content {
    flex: 1 1 auto;
    max-width: 100%;
    align-items: center;
  }

  .hero-title {
    font-size: 40px;
    line-height: 50px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    flex: 1 1 auto;
    max-width: 100%;
    justify-content: center;
  }
}
/* ==========================================================================
   PARTNER LOGOS BANNER STYLES
   ========================================================================== */
.partners-banner {
  width: 100%;
  background-color: var(--color-neutral-black); /* #1A1A1A */
  padding: 56px 0 64px;
}

.partners-container {
  max-width: 1280px; /* Exact Figma width */
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.partners-title {
  font-family: var(--font-roboto);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-neutral-white);
  max-width: 820px;
  margin: 0 auto 36px auto;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Evenly spaced across 1280px */
  flex-wrap: wrap;
  gap: 32px;
}

.partner-logo {
  height: 38px; /* Increased to match Figma 40px height */
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

@media (max-width: 992px) {
  .partners-logos {
    justify-content: center;
    gap: 36px;
  }

  .partner-logo {
    height: 30px;
  }
}
/* ==========================================================================
   VALUE PROPOSITION SECTION STYLES
   ========================================================================== */
.value-prop-section {
  width: 100%;
  background-color: var(--color-bg-secondary); /* #F5F5F7 */
  padding: 90px 0 85px;
}

.value-prop-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.value-prop-header {
  text-align: center;
  margin-bottom: 56px;
}

.value-prop-title {
  font-family: var(--font-roboto);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-neutral-black);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.value-prop-subtitle {
  font-family: var(--font-roboto);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-neutral-black);
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.85;
}

/* 3-Column Grid */
.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 54px;
}

.feature-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-title {
  font-family: var(--font-roboto);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-neutral-black);
}

.feature-desc {
  font-family: var(--font-roboto);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-neutral-black);
  opacity: 0.85;
}

/* CTA Outline Button (turns green on hover) */
.value-prop-cta {
  display: flex;
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-roboto);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: transparent;
  color: var(--color-neutral-black);
  border: 1.5px solid var(--color-neutral-black);
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-neutral-black); /* Keeps text black on hover */
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 900px) {
  .value-prop-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .value-prop-title {
    font-size: 28px;
  }
}
/* ==========================================================================
   COMPARISON TABLE STYLES (TaxJar Style Hierarchy)
   ========================================================================== */

.comparison-section {
  width: 100%;
  background-color: var(--color-neutral-white);
  padding: 100px 0;
}

.comparison-container {
  max-width: 1070px; /* Exact Figma width */
  margin: 0 auto;
  padding: 0 24px;
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
}

/* Base Headers */
.comparison-table th {
  padding: 24px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border-default);
}

/* Feature Name Column Header (Left Column) */
.comparison-table th.th-heading {
  text-align: left;
  font-size: 20px;
  line-height: 1.25;
  padding-left: 8px;
  width: 32%;
  color: var(--color-neutral-black);
}

/* Competitor Column Headers (Smaller, Subdued like TaxJar) */
.th-competitor,
.comparison-table th:not(.th-heading):not(.th-highlight) {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-text-secondary); /* Muted #9ca19e */
}

/* ==========================================================================
   QONTROLLE HIGHLIGHTED COLUMN (Prominent Green Card Frame)
   ========================================================================== */

/* Top Highlight Header */
.th-highlight {
  width: 20%;
  background-color: var(--color-neutral-white);
  border-top: 3px solid var(--color-brand-primary) !important;
  border-left: 2px solid var(--color-brand-primary) !important;
  border-right: 2px solid var(--color-brand-primary) !important;
  border-bottom: 1px solid var(--color-border-default) !important;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 28px 16px 20px 16px !important;
  vertical-align: middle;
  text-align: center;
}

/* Qontrolle Big Commanding Logo */
.highlight-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-brand-logo {
  height: 36px; /* Substantially larger brand presence */
  width: auto;
  display: block;
  margin: 0 auto;
}

/* Fallback if text is used inside .th-highlight */
.highlight-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-neutral-black);
  display: block;
}

/* ==========================================================================
   DATA CELLS (Rows & Features)
   ========================================================================== */

.comparison-table td {
  font-size: 13px;
  color: var(--color-neutral-black);
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-border-default);
  vertical-align: middle;
}

/* Left Feature Titles */
.comparison-table td.td-feature {
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  padding-left: 8px;
  color: var(--color-neutral-black);
}

/* Qontrolle Highlighted Cells in Table Body */
.td-highlight {
  background-color: var(--color-neutral-white);
  border-left: 2px solid var(--color-brand-primary) !important;
  border-right: 2px solid var(--color-brand-primary) !important;
  font-weight: 600;
  color: var(--color-neutral-black);
}

/* Qontrolle Bottom Highlight (Caps the bottom of the card) */
.td-highlight-bottom {
  border-bottom: 2px solid var(--color-brand-primary) !important;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* ==========================================================================
   TABLE FOOTER & CTA BUTTON
   ========================================================================== */

.comparison-table tfoot td {
  border-bottom: none;
  padding-top: 24px;
}

.tfoot-highlight {
  border-bottom: none !important;
}

.btn-table-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-brand-primary);
  color: var(--color-neutral-black);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.btn-table-signup:hover {
  background-color: var(--color-neutral-black);
  color: var(--color-neutral-white);
  transform: translateY(-1px);
}

/* Responsive Table */
@media (max-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 12px;
  }

  .comparison-table th.th-heading {
    font-size: 16px;
  }

  .comparison-brand-logo {
    height: 26px;
  }
}
/* ==========================================================================
   FEATURE SHOWCASE (4 ROWS) STYLES
   ========================================================================== */
.features-showcase-section {
  width: 100%;
  background-color: var(--color-neutral-white);
  padding: 80px 0 100px;
}

.features-showcase-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 96px; /* Space between each row */
}

.feature-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 64px;
}

/* Accent Color Bars */
.feature-accent-line {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.accent-cyan {
  background-color: #06b6d4;
}
.accent-pink {
  background-color: #ec4899;
}
.accent-orange {
  background-color: #f97316;
}
.accent-purple {
  background-color: #8b5cf6;
}

/* Text Styling */
.feature-row-text {
  max-width: 520px;
}

.feature-row-title {
  font-family: var(--font-roboto);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--color-neutral-black);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.feature-row-desc {
  font-family: var(--font-roboto);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-neutral-black);
  opacity: 0.85;
  margin-bottom: 24px;
}

.feature-row-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-roboto);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-neutral-black);
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.15s ease;
}

.feature-row-link:hover {
  color: var(--color-brand-dark);
  transform: translateX(2px);
}

/* Image Visual */
.feature-row-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.feature-mockup-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border-default);
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .feature-showcase-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row-text {
    max-width: 100%;
  }

  .features-showcase-container {
    gap: 72px;
  }
}
/* ==========================================================================
   NEWSLETTER BANNER STYLES
   ========================================================================== */
.newsletter-section {
  width: 100%;
  background-color: var(--color-neutral-black); /* #1A1A1A */
  padding: 48px 0; /* Generous breathing room top & bottom */
}

.newsletter-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.newsletter-left {
  display: flex;
  align-items: center;
  gap: 32px; /* Space between the circular icon and the text */
}

/* Newsletter Icon Wrapper */
.newsletter-badge {
  width: 160px; /* Adjust according to Figma circle width */
  height: 160px;
  min-width: 160px; /* Prevent shrinking */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Removed border, border-radius, and oversized dimensions */
}
/* Size the SVG to match Figma */
.newsletter-icon {
  width: 100%; /* Adjust according to Figma circle width */
  height: 100%; /* Adjust according to Figma circle height */
  object-fit: contain;
  display: block;
}

/* Title */
.newsletter-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-neutral-white);
  max-width: 520px;
}

/* Button */
.btn-newsletter {
  background-color: var(--color-brand-primary); /* #22C855 */
  color: var(--color-neutral-black);
  font-family: var(--font-roboto);
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
  white-space: nowrap;
}

.btn-newsletter:hover {
  background-color: var(--color-neutral-white);
  color: var(--color-neutral-black);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 860px) {
  .newsletter-container {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .newsletter-left {
    display: flex;
    align-items: center;
    gap: 24px; /* Space between the circular icon and the text */
  }

  .newsletter-title {
    max-width: 100%;
    font-size: 22px;
  }
}
/* ==========================================================================
   GREEN CTA BANNER STYLES
   ========================================================================== */
.green-cta-section {
  width: 100%;
  background-color: var(--color-brand-primary); /* #22C855 */
  padding: 80px 0;
}

.green-cta-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

/* Left Content */
.green-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.green-cta-title {
  font-family: var(--font-roboto);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-neutral-black); /* #1A1A1A */
  letter-spacing: -0.02em;
}

/* Black Button */
.btn-green-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-neutral-black); /* #1A1A1A */
  color: var(--color-brand-primary); /* Green text #22C855 */
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 7px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.btn-green-cta:hover {
  background-color: var(--color-neutral-white); /* Turns White #FFFFFF */
  color: var(--color-neutral-black); /* Turns Black #1A1A1A */
  transform: translateY(-2px);
}

/* Right Visual */
.green-cta-visual {
  display: flex;
  justify-content: center;
}

.green-cta-img {
  width: 100%;
  max-width: 580px;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .green-cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .green-cta-title {
    font-size: 30px;
  }

  .green-cta-img {
    height: auto;
    max-height: 320px;
  }
}
/* ==========================================================================
   TESTIMONIAL SECTION (PIZZA PIZZA) STYLES
   ========================================================================== */
.testimonial-section {
  width: 100%;
  background-color: var(--color-bg-secondary); /* #F5F5F7 */
  padding: 100px 0 120px;
}

.testimonial-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

/* Left Card */
.testimonial-card {
  background-color: var(--color-bg-secondary); /* #F5F5F7 */
  padding: 64px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.testimonial-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
/* =========================================================
   TESTIMONIAL SECTION (PIZZA PIZZA) - FIGMA REFACTOR
   ========================================================= */
/* Carousel Wrapper */
.testimonial-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Slides: hidden by default with smooth opacity transition */
.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}

/* Active Slide: displayed and visible */
.testimonial-slide.active {
  display: block;
  opacity: 1;
}
/* Full-width Section: This gets the grey background from edge to edge */
.testimonial-section {
  width: 100%;
  background-color: var(--color-bg-secondary); /* #F5F5F7 full width */
  padding-top: var(--space-container-padding); /* 120px / 7.5rem */
  padding-bottom: var(--space-container-padding); /* 120px / 7.5rem */
}
/* Inner Centered Container */
.testimonial-container {
  display: flex;
  max-width: 1280px; /* Or 1920px - (320px * 2) = 1280px matching Figma */
  margin: 0 auto;
  align-items: stretch; /* Forces left column & image to equal height */
  background-color: transparent; /* Background is already set on the section */
}

/* --- Left Column: Content Card --- */
.testimonial-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 3rem; /* Breathing room before the image */
}

/* Quote Icon & Logo Header */
.testimonial-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* 24px */
  margin-bottom: 2.5rem;
}

.testimonial-quote-icon {
  width: 48px;
  height: 48px;
  display: block;
  flex-shrink: 0;
}

.testimonial-logo {
  height: 32px;
  width: auto;
  display: block;
}

/* Testimonial Quote Text (Figma Subheading Token) */
.testimonial-quote {
  font-family: var(--font-family-primary);
  font-size: 1.5rem; /* 24px */
  line-height: 2rem; /* 32px */
  font-weight: var(--font-weight-medium); /* 500 */
  color: var(--color-neutral-black);
  margin-bottom: 2.5rem;
}

/* Author Details */
.testimonial-author .author-name {
  font-family: var(--font-family-primary);
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
  font-weight: var(--font-weight-bold); /* 700 */
  color: var(--color-neutral-black);
  margin-bottom: 0.25rem;
}

.testimonial-author .author-role,
.testimonial-author .author-company {
  font-family: var(--font-family-primary);
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem; /* 20px */
  font-weight: var(--font-weight-regular); /* 400 */
  color: var(--color-text-secondary); /* #9CA19E */
}

/* Bottom Actions: Link + Carousel Buttons */
.testimonial-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.link-case-study {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-primary);
  font-size: 1rem; /* 16px */
  line-height: 1.5rem; /* 24px */
  font-weight: var(--font-weight-bold); /* 700 */
  color: var(--color-neutral-black);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-case-study:hover {
  color: var(--color-brand-primary);
}

.slider-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-carousel-nav {
  width: 36px;
  height: 36px;
  background-color: var(--color-neutral-black);
  color: var(--color-brand-primary);
  border: none;
  border-radius: var(--radius-sm); /* 4px */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

.btn-carousel-nav:hover {
  background-color: var(--color-brand-primary);
  color: var(--color-neutral-black);
  transform: translateY(-1px);
}

/* --- Right Column: Photo Visual (Exact 575x620 Figma Specs) --- */
.testimonial-visual {
  flex: 0 0 575px;
  width: 575px;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0; /* Figma spec */
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* Figma spec */
  display: block;
}
/* Responsive */
@media (max-width: 992px) {
  .testimonial-container {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 40px 32px;
    border-radius: 4px 4px 0 0;
  }

  .testimonial-visual {
    border-radius: 0 0 4px 4px;
  }

  .testimonial-img {
    min-height: 340px;
  }
}
/* ==========================================================================
   LATEST FRANCHISE INSIGHTS SECTION STYLES
   ========================================================================== */
.insights-section {
  width: 100%;
  background-color: var(--color-neutral-white);
  padding: 90px 0 100px;
}

.insights-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.insights-heading {
  font-family: var(--font-roboto);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-neutral-black);
  letter-spacing: -0.015em;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border-default); /* Light grey line */
  margin-bottom: 36px;
}

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

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.article-thumb-wrapper {
  width: 100%;
  height: 1/1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
  background-color: var(--color-bg-secondary);
}

.article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  font-family: var(--font-roboto);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand-contextual); /* Green tag */
  margin-bottom: 8px;
}

.article-title {
  font-family: var(--font-roboto);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--color-neutral-black);
  margin-bottom: 14px;
  flex-grow: 1;
  transition: color 0.2s ease;
}

.article-card-link:hover .article-title {
  color: var(--color-brand-contextual);
}

.article-date {
  font-family: var(--font-roboto);
  font-size: 12px;
  color: var(--color-text-secondary); /* #9CA19E */
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .insights-heading {
    font-size: 24px;
  }
}
/* ==========================================================================
   MULTI-LOCATION READY CTA SECTION STYLES
   ========================================================================== */
.multi-cta-section {
  width: 100%;
  /* Exact Figma Radial Gradient: 15% #009A2F to 40%+ #22C855 */
  background: radial-gradient(
    circle at center,
    #009a2f 15%,
    #22c855 40%,
    #22c855 100%
  );
  padding: 80px 0;
  text-align: center;
}

.multi-cta-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.multi-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Inter 64 Bold, Line Height 78 */
.multi-cta-title {
  font-family: "Inter", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 78px;
  color: var(--color-neutral-black); /* #1A1A1A */
  letter-spacing: -0.02em;
}

/* Roboto 22 Regular, Line Height 32 */
.multi-cta-desc {
  font-family: var(--font-roboto);
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
  color: var(--color-neutral-black); /* #1A1A1A */
  max-width: 651px;
  margin: 0 auto;
}

/* Button: Black by default, turns White with Black text on hover */
.btn-multi-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-neutral-black); /* #1A1A1A */
  color: var(--color-brand-primary); /* #22C855 */
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 7px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.btn-multi-cta:hover {
  background-color: var(--color-neutral-white); /* White #FFFFFF */
  color: var(--color-neutral-black); /* Black #1A1A1A */
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .multi-cta-title {
    font-size: 40px;
    line-height: 48px;
  }

  .multi-cta-desc {
    font-size: 18px;
    line-height: 28px;
  }
}
/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.site-footer {
  width: 100%;
  background-color: var(--color-neutral-black); /* #1A1A1A */
  padding: 80px 0 60px;
  color: var(--color-neutral-white);
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 6-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Brand Column */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  color: var(--color-neutral-white);
}

.footer-logo {
  height: 26px;
  width: auto;
  display: block;
}

.footer-bio {
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-neutral-white);
  opacity: 0.85;
  max-width: 200px;
}

/* Column Headings: Roboto 14 Bold, Line Height 24 */
.footer-col-title {
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-neutral-white);
  margin-bottom: 16px;
}

/* Column Links: Roboto 14 Regular, Line Height 20 */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-neutral-white);
  opacity: 0.85;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  color: var(--color-brand-primary);
}

/* Bottom Disclaimer & Legal */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-disclaimer {
  max-width: 680px;
  font-family: var(--font-roboto);
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-neutral-white);
  opacity: 0.6;
}

.footer-disclaimer p + p {
  margin-top: 4px;
}

.footer-legal {
  text-align: right;
  font-family: var(--font-roboto);
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-neutral-white);
  opacity: 0.6;
}

.copyright-text {
  margin-bottom: 4px;
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.legal-link {
  color: var(--color-neutral-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.legal-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.legal-sep {
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-col-brand {
    grid-column: span 2;
  }

  .footer-bio {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: left;
  }

  .footer-legal {
    text-align: left;
  }

  .legal-links {
    justify-content: flex-start;
  }
}
