/* partnerprogram.css */

/*───────────────────────────────────────────────────────────────────────────
   1) Import global header/footer styles & fonts
───────────────────────────────────────────────────────────────────────────*/
@import url('/static/css/main.abcdef.css');
@import url('/css/styles.css');

/*───────────────────────────────────────────────────────────────────────────
   2) Variables
───────────────────────────────────────────────────────────────────────────*/
:root {
  /* Color palette */
  --primary: #5563ff;
  --primary-hover: #3d46ff;
  --accent: #16A34A;
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-400: #CBD5E1;
  --gray-200: #E5E7EB;
  --white: #ffffff;

  /* Font families */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Open Sans', sans-serif;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;

  /* Toggle switch */
  --toggle-track-off: #E5E7EB;
  --toggle-track-on: #5563ff;
  --toggle-thumb: #ffffff;

  /* Breakpoints */
  --bp-mobile: 600px;
  --bp-tablet: 900px;
  --bp-desktop: 1200px;

  /* Safe-area insets (for iPhones) */
  --safe-area-bottom: env(safe-area-inset-bottom, 1rem);

  /* Calculator-specific */
  --calc-max-w: 480px;
  --calc-radius: 20px;
  --overlay-bg: rgba(0, 0, 0, 0.35);
  --brand-blue: #3d46ff;
  --header-height: 64px;


  --schematic-gap: 4rem;   /* spacing between text & image  */
  --schematic-size: 700px; /* make it bigger here           */
}

/*───────────────────────────────────────────────────────────────────────────
   3) Global base styles
───────────────────────────────────────────────────────────────────────────*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: linear-gradient(135deg, #d8d3ff, #a9c9ff, #cce0ff);
  background-size: 600% 600%;
  animation: gradientShift 30s ease infinite;
  line-height: 1.6;
}
@keyframes gradientShift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--gray-900);
}

p {
  margin: 0 0 var(--spacing-md) 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-hover);
}

/*───────────────────────────────────────────────────────────────────────────
   4) Header & Navigation (inherited from global styles)
───────────────────────────────────────────────────────────────────────────*/
body.partnerprogram header,
body.partnerprogram .site-nav,
body.partnerprogram .nav-toggle {
  /* Keep “Open Sans” for nav & hamburger only */
  font-family: var(--font-heading) !important;
}
/*───────────────────────────────────────────────────────────────────────────
   5) Page wrapper & container
───────────────────────────────────────────────────────────────────────────*/
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/*───────────────────────────────────────────────────────────────────────────
   6) Hero Section
───────────────────────────────────────────────────────────────────────────*/
.hero {
  padding: 8rem 0 3rem;
}
.hero-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.hero-content h1 {
  font-size: 3.75rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
}
.hero-content p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--spacing-xl);
}
.btn-wrapper {
  text-align: center;
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(61,70,255,0.4);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-hover);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(85,99,255,0.5);
}

/*───────────────────────────────────────────────────────────────────────────
   6a) Ensure hero text never touches the screen edges
───────────────────────────────────────────────────────────────────────────*/
.hero-content {
  /* keep the same max-width & centering… */
  max-width: 600px;
  margin: 0 auto;
  text-align: left;

  /* …but also add left/right padding so it never “bleeds” off-screen */
  padding: 0 var(--spacing-md);

  /* on very narrow viewports, boost that padding slightly */
}
@media (max-width: 600px) {
  .hero-content {
    padding: 0 var(--spacing-lg);
  }
}

/*───────────────────────────────────────────────────────────────────────────
   FORCE HORIZONTAL PADDING ON HERO SO TEXT NEVER BLEEDS OFF‐SCREEN
───────────────────────────────────────────────────────────────────────────*/
.hero {
  /* keep your existing top/bottom padding, but add left/right padding */
  padding: 8rem 1rem 3rem; /* was 8rem 0 3rem */
}

/*───────────────────────────────────────────────────────────────────────────
   7) Benefits Section
───────────────────────────────────────────────────────────────────────────*/
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}
@media (min-width: 768px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}
.benefit {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(85,99,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon i {
  font-size: 28px;
  color: var(--primary);
}
.benefit h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}
.benefit p {
  font-size: 1rem;
  color: var(--gray-700);
}

/*───────────────────────────────────────────────────────────────────────────
   8) Flow Steps & Labels
───────────────────────────────────────────────────────────────────────────*/
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin: 0 auto var(--spacing-sm);
}
.flow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: rgba(255,255,255,0.6);
  transform: translateY(-50%);
  z-index: 1;
}
.step {
  z-index: 2;
  justify-self: center;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  margin: 0 auto var(--spacing-xl);
}
.labels span {
  font-size: 0.875rem;
  color: var(--gray-900);
}

/*───────────────────────────────────────────────────────────────────────────
   9) Features Section
───────────────────────────────────────────────────────────────────────────*/
.features-container {
  margin-bottom: 4rem;
}
.features-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.features-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-card .icon {
  width: 40px;
  height: 40px;
  background: rgba(85,99,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card .icon i {
  font-size: 24px;
  color: var(--primary);
}
.feature-text h4 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}
.feature-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-700);
}

/*───────────────────────────────────────────────────────────────────────────
   10) Remove global .container white box on Partner Program page
───────────────────────────────────────────────────────────────────────────*/
body.partnerprogram .container {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/*───────────────────────────────────────────────────────────────────────────
   11) Push down content under the header & force Inter font for hero text
───────────────────────────────────────────────────────────────────────────*/
body.partnerprogram .main-content {
  padding-top: 5rem;
}
.hero-content h1,
.hero-content p {
  font-family: var(--font-body) !important;
}

/*───────────────────────────────────────────────────────────────────────────
   12) Partner Information Form – Modern Two-Column Grid Layout
───────────────────────────────────────────────────────────────────────────*/
.partnerform-sheet {
  width: 100%;
  max-width: 480px;
  border-radius: 16px 16px 0 0;
  background: var(--white);
  box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: calc(100vh - var(--header-height) - 1rem);
  overflow-y: auto;
  padding-bottom: var(--safe-area-bottom);
  z-index: 1001;
}
.partnerform-sheet.open {
  transform: translateY(0);
}

.partnerform-grab {
  width: 48px;
  height: 4px;
  background: var(--gray-400);
  border-radius: 2px;
  margin: 0.75rem auto 0.25rem;
}

.partnerform-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: color 0.2s;
}
.partnerform-close:hover {
  color: var(--gray-900);
}

.partnerform-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin: var(--spacing-xl) 0;
}

.partnerform-title {
  font: 600 1.1rem/1.35 var(--font-body);
  color: var(--gray-900);
  text-align: center;
  margin: var(--spacing-sm) 0 var(--spacing-lg);
}

/* Form layout as 1 column by default, 2 columns on tablet+ */
.partnerform-card form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
}
@media (min-width: var(--bp-mobile)) {
  .partnerform-card form {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
  }
}

/* Each form group (label + field) */
.partnerform-card .form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Fields that span both columns (address, textarea, submit button) */
.partnerform-card .span-2 {
  grid-column: 1 / -1;
}

/* Label styling */
.partnerform-card label {
  font: 500 0.95rem/1 var(--font-body);
  color: var(--gray-700);
  margin-bottom: var(--spacing-xs);
}

/* Text & number inputs */
.partnerform-card input[type="text"],
.partnerform-card input[type="number"] {
  height: var(--spacing-xl);
  padding: 0 1rem;
  font: 1rem/1 var(--font-body);
  color: var(--gray-900);
  border: 1px solid var(--gray-400);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.partnerform-card input[type="text"]::placeholder,
.partnerform-card input[type="number"]::placeholder {
  color: var(--gray-400);
}
.partnerform-card input[type="text"]:focus,
.partnerform-card input[type="number"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(85,99,255,0.15);
}

/* Textarea styling */
.partnerform-card textarea {
  padding: 0.75rem 1rem;
  font: 1rem/1 var(--font-body);
  color: var(--gray-900);
  border: 1px solid var(--gray-400);
  border-radius: var(--radius-sm);
  background: var(--white);
  resize: vertical;
  min-height: 4rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.partnerform-card textarea::placeholder {
  color: var(--gray-400);
}
.partnerform-card textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(85,99,255,0.15);
}

/*───────────────────────────────────────────────────────────────────────────
   13) Modern Toggle Switch for “Space for Parking”
───────────────────────────────────────────────────────────────────────────*/
.toggle-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  position: relative;
  margin-top: var(--spacing-xs);
}

/* Hide native checkbox */
.toggle-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Track styling */
.toggle-container .toggle-slider {
  position: relative;
  width: 48px;
  height: 24px;
  background: var(--toggle-track-off);
  border-radius: 999px;
  transition: background 0.25s;
  cursor: pointer;
}

/* Thumb styling */
.toggle-container .toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--toggle-thumb);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 0.25s;
}

/* Checked state */
.toggle-container input[type="checkbox"]:checked + .toggle-slider {
  background: var(--toggle-track-on);
}
.toggle-container input[type="checkbox"]:checked + .toggle-slider::before {
  transform: translateX(24px);
}

/* “Yes” label next to toggle */
.toggle-container .toggle-label {
  font: 500 0.95rem/1 var(--font-body);
  color: var(--gray-700);
  user-select: none;
}

/* Wrapper for toggle + its field label */
.toggle-wrapper {
  display: flex;
  flex-direction: column;
}

/*───────────────────────────────────────────────────────────────────────────
   14) Submit Button & Field Order
───────────────────────────────────────────────────────────────────────────*/
.partnerform-card .submit-button {
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  background: var(--primary);
  color: var(--white);
  font: 600 1rem/1 var(--font-body);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: var(--spacing-md);
}
.partnerform-card .submit-button:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(61, 70, 255, 0.25);
}

/*───────────────────────────────────────────────────────────────────────────
   15) Bottom safe-area padding & scroll lock
───────────────────────────────────────────────────────────────────────────*/
.partnerform-sheet {
  overflow-x: hidden;
}
body.partner-locked {
  height: 100vh;
  overflow: hidden;
}

/*───────────────────────────────────────────────────────────────────────────
   16) Mobile Adjustments (full range 320px–600px)
───────────────────────────────────────────────────────────────────────────*/
@media (max-width: 600px) {
  /* Tighten hero’s top‐padding and adjust inner text/buttons */
  .hero {
    padding: 4.5rem 1.5rem 5rem;
  }
  .hero-content {
    max-width: none;
    padding: 0 1.5rem;
  }
  .hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
  }
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .btn-wrapper {
    margin-top: 1rem;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 0.6rem 2rem;
  }

  /* Partner form card on narrow phones */
  .partnerform-card {
    margin: var(--spacing-lg) 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .partnerform-card form {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
  }
  .toggle-container {
    margin-top: var(--spacing-xs);
  }
}

/* ─────────────────────────────────────────────────────────────────
   FORCE “MOBILE” STYLES AT ALL WIDTHS
─────────────────────────────────────────────────────────────────*/

/* 1) Calculator:
   – Hide desktop metrics and always show mobile stats‐grid
   – Hide ticks/labels beneath the slider
   – Make the sheet full‐screen instead of max 480px
   – Remove border-radius so it fills edge to edge
*/
.calc-sheet {
  width: 100vw !important;
  max-width: 100vw !important;
  border-radius: 0 !important;
}

.slider-ticks,
.slider-labels {
  display: none !important;
}

.metrics-wrap {
  display: none !important;
}

.stats-grid {
  display: grid !important;
}

/* 2) Partner Form (“Facility Address”):
   – Make the form sheet full-width (100vw) and remove border-radius
   – So it behaves exactly like the mobile version
*/
.partnerform-sheet {
  width: 100vw !important;
  max-width: 100vw !important;
  border-radius: 0 !important;
}

/* 3) If any mobile‐only padding adjustments apply, you can override here as needed.
   (For example, ensure the overlay always covers full screen.) */
.partnerform-overlay,
.calc-overlay {
  padding-top: var(--header-height); /* keep the same top inset as mobile */
}

/* 4) (Optional) If you want to collapse any leftover “desktop‐only” media queries
   that might still show a grid or different font sizes, you can explicitly reset them.
   For example: */
@media (min-width: 601px) {
  .calc-sheet,
  .partnerform-sheet {
    width: 100% !important;            /* fill up to max-width */
    max-width: 700px !important;       /* allow it to expand to 700px */
    margin: 0 auto !important;         /* center horizontally */
    border-radius: var(--calc-radius) var(--calc-radius) 0 0 !important;
  }
}

/*───────────────────────────────────────────────────────────────────────────
  REVERT: keep the sheet white, remove the extra inner‐card background
───────────────────────────────────────────────────────────────────────────*/

/* 1) Restore the sheet’s white background and original sheet‐level shadow */
.partnerform-sheet {
  background: #FFFFFF !important;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15) !important;
}

/* 2) Remove the white background (and shadow) from the “card” inside it */
.partnerform-card {
  background: transparent !important;
  box-shadow: none       !important;
  margin: 0 !important;  /* collapse any extra vertical spacing */
  padding: 0;             /* collapse horizontal padding if present */
}

/* 3) Because the card no longer needs its own rounding, let the sheet’s border-radius show */
.partnerform-card {
  border-radius: 0 !important;
}

/*───────────────────────────────────────────────────────────────────────────
  Partner‐Form Sliders: force a custom thumb that never bleeds into
  the row below (no more “crescent” behind toggles).
───────────────────────────────────────────────────────────────────────────*/

/* 1) First, make sure the range input itself has no browser‐default styling */
.partnerform-card input[type="range"] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;

  width: 100%;
  height: 6px;                 /* keep the thin 6px track */
  background: #E5E7EB;         /* same light‐gray track */
  border-radius: 3px;
  outline: none;
  /* remove the accent‐color, since we’ll define the thumb below */
  accent-color: transparent;
}

/*───────────────────────────────────────────────────────────────────────────
   MOBILE‐ONLY: stack Parking & Storage properly
───────────────────────────────────────────────────────────────────────────*/
/*──────────────────────────────────────────────────────────────
   MOBILE ≤ 480 px — Parking & Storage on one straight line
───────────────────────────────────────────────────────────────────────────*/
@media (max-width: 480px) {
  /* keep the row & blocks exactly as you already set up … */
  .toggle-row           { display: flex; align-items: center; width: 100%; }
  .toggle-row > div     { display: flex; align-items: center; flex: 0 0 auto; }
  /* … then give Storage some breathing room */
  .toggle-row > div + div {          /* every block after the first */
    margin-left: 1.75rem;            /* tweak this value as needed */
  }

  /* (optional) tighten label ↔ switch gap if it still feels wide */
  .toggle-row label      { margin-right: .5rem; }
  .toggle-container      { margin-left: 0; }      /* remove double-spacing */
}

/* EXTRA breathing room for very small phones --------------------------*/
@media (max-width: 360px) {
  .toggle-row > div + div {   /* Storage block */
    margin-left: 3rem;        /* was 1.75rem → now 3rem */
  }
}

@media (max-width: 320px) {
  .toggle-row > div + div {
    margin-left: 3.5rem;      /* a little more on ultra-narrow screens */
  }
}

/* ─────────────────────────── Sticky-CTA Styles ─────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #E2E8F0;
  padding: 0.75rem 1rem;
  text-align: center;
  display: none;              /* hide by default */
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}

/* When visible, switch display → block (and instantly make it opaque). */
.sticky-cta.visible {
  display: block;             /* show the bar */
  opacity: 1;
}

/* Style the “Check Eligibility” link inside the sticky-cta */
.sticky-cta .cta {
  display: inline-block;
  background: #3d46ff;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s;
}
.sticky-cta .cta:hover,
.sticky-cta .cta:focus {
  background: #5563ff;
}

/*───────────────────────────────────────────────────────────────────────────
   ONLY SHOW STICKY “APPLY NOW” ON MOBILE/TABLET; HIDE ON DESKTOP
───────────────────────────────────────────────────────────────────────────*/
@media (min-width: 601px) {
  #applyNowBar {
    display: none !important;
  }
}


@media (max-width: 600px) {
  /* prevent iOS/Android from zooming when focusing */
  .partnerform-card input[type="text"],
  .partnerform-card input[type="number"],
  .partnerform-card textarea {
    font-size: 16px;
  }
}

/* ─────────────────────────────────────────────────────────────────
   CONFIRMATION MESSAGE (Contact Form)
─────────────────────────────────────────────────────────────────*/
.confirmation-message {
  padding: 1.5rem 1rem;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin: 1rem var(--spacing-md) var(--spacing-lg) var(--spacing-md);
}

.confirmation-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
}

.confirmation-message p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #334155;
}

@media (max-width: 360px) {
  .confirmation-message {
    padding: 1rem 0.75rem;
  }
  .confirmation-title {
    font-size: 1.1rem;
  }
  .confirmation-message p {
    font-size: 0.95rem;
  }
}

/* ───────────────────────────────────────────────────────────
   Slim profit graph & quick-stats  (FINAL v7)
───────────────────────────────────────────────────────────*/

/* ---------- PROFIT GRAPH ---------- */
.profit-graph{
  position:relative;
  width:100%;
  padding:0 1rem;             /* matches .slider-wrap side-padding     */
  margin-top:4rem;            /* gap under slider                      */
  overflow:visible;
  box-sizing:border-box;
}

/* ─── Profit spark-line — full-width without distortion ─── */
.profit-graph svg{
  width: 100%;
  height: auto !important;     /* remove the fixed 72 px squeeze */
  aspect-ratio: 248/100;
}

/* (optional) put a ceiling on desktop so it never gets *too* tall) */
@media (min-width: 600px){
  .profit-graph svg{ max-height: 140px; }   /* tweak to taste */
}


/* green line, dots, gradient & new axes */
.spark-line{ stroke:#22c55e; stroke-width:3; fill:none; vector-effect:non-scaling-stroke; }
.spark-area{ fill:url(#sparkGrad); }
.spark-dot { fill:#22c55e; stroke:#fff; stroke-width:2; vector-effect:non-scaling-stroke; }

.spark-axis {
  stroke: #e5e7eb;            /* light grey you use elsewhere */
  stroke-width: 1;
  vector-effect: non-scaling-stroke; /* stays 1 px when SVG scales */
  pointer-events: none;
}

/* small, muted labels for months 1-3 */
.spark-val{
  font:600 .55rem/1 "Inter",sans-serif;   /* ~50 % of normal */
  fill:#9ca3af;                           /* gray-400 */
  paint-order:stroke;
  stroke:#fff;
  stroke-width:3px;                       /* white halo */
  pointer-events:none;
}


/* axes */
.spark-axis{ stroke:#cbd5e1; stroke-width:2; }

/* ---------- PROFIT BADGE ---------- */
.profit-badge{
  position:absolute;
  right: auto !important;
  transform:translate(-50%,-400%);
  font:700 1.55rem/1.1 "Inter",sans-serif;
  color:#16a34a;
  text-align: center;
  pointer-events:none;
  z-index:2;
}
.profit-badge small{
  display:inline-block;
  margin-left:.35rem;
  white-space:nowrap;
  font:600 .8rem/1 "Inter",sans-serif;
  color:#64748b;
}

/* ---------- QUICK-STATS STRIP ---------- */
.quick-stats{
  width:calc(100% - 2rem);    /* = full width minus the 1 rem L/R graph padding */
  margin:1.5rem auto 1.5rem;  /* centred under graph                            */
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);   /* subtle lift */
  list-style:none;
  padding:0;
  overflow:hidden;
}

.quick-stats li{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.25rem;
  padding:1.1rem .25rem;
  position:relative;          /* so divider ::after anchors inside */
}

/* faded dividers – 60 % height, centred vertically */
.quick-stats li+li::after{
  content:'';
  position:absolute;
  top:20%;
  bottom:20%;
  left:0;
  width:1px;
  background:linear-gradient(#e2e8f0 0%, rgba(226,232,240,0) 100%);
}

.quick-stats strong{
  font-size:1.75rem;
  font-weight:700;
  color:#0f172a;
  line-height:1;
}
.quick-stats span {
  font-size: .8125rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
}

.quick-stats li:nth-child(n+2) strong {      /* targets cols 2-4 */
font-weight:600;          /* was 700                      */
color:#475569;            /* slate-600 instead of slate-900 */
}

.spark-mon {
  font-size: 6px;          /* 2 pt smaller than $ labels */
  fill: #94a3b8;            /* slate-400 – faint but legible */
  font-weight: 500;
}

/* ───────────────────────────────────────────────────────────
   OVERRIDE: let the spark‑line grow to the full card width
───────────────────────────────────────────────────────────*/
@media (min-width: 600px){
  .profit-graph svg{
    max-height: none !important;   /* was 140 px */
    height: auto;                  /* keep aspect‑ratio */
  }
}

/* ──────────────────────────────────────────────
   A.  PROFIT‑BADGE – one-line & sits tighter
────────────────────────────────────────────── */
.profit-badge{
  /* keep centred horizontally, kill previous huge lift */
  transform: translateX(-50%);    /* JS will nudge it up a few px */
}

/* keep subtitle on one line across all widths */
.profit-badge small{
  display:inline-block;
  white-space:nowrap;
  margin-left:.35rem;
}

/* lift the “est. net profit” label so it hugs the dollar figure */
.profit-badge small{
  position: relative;
  top: -8px;     /* tweak up/down until it feels perfect */
}


/* ──────────────────────────────────────────────
   B.  MONTH‑VALUE LABELS – equal size mobile & desktop
────────────────────────────────────────────── */
@media (min-width:600px){             /* desktop / large tablets */
  .spark-val{ font-size:.45rem; }     /* was .55rem → matches mobile visual size */
}

/* ──────────────────────────────────────────────
   C.  AXES – make baseline touch y‑axis
────────────────────────────────────────────── */
.spark-axis.y { display:none; }       /* optional: hide the old 0‑px line if visible */


/* make the quick-stat glyphs larger & give them breathing-room */
.quick-stats .stat-ico{
  font-size: 26px;     /* try 24 – 30 px to taste */
  line-height: 1;      /* keeps them vertically centred */
  margin-top: 2px;     /* nudge down so they sit nicely under the number */
}






<!-- hero.hbs / hero.html -->
<section class="hero">
  <div class="hero-content">
    …your headline, paragraph & CTA…
  </div>

  <!-- NEW -->
  <img src="/static/img/partner‑schematic.svg"
       alt=""
       class="hero-schematic" />
</section>







/*──────────────────────────────────────────────
  HERO SCHEMATIC  (desktop only)
──────────────────────────────────────────────*/


/* Desktop layout: copy + schematic side‑by‑side */
@media (min-width: 900px){
  .hero{
    display: flex;                /* text ↔ graphic in one row   */
    align-items: center;          /* vertically centre both      */
    justify-content: flex-start;  /* keep text at natural start  */
  }
  .hero-content{
    max-width: 600px;             /* keep your existing limit    */
  }
  .hero-schematic{
    flex: 0 0 auto;               /* no flex‑grow, keep its size */
    width: var(--schematic-size); /* ***adjustable***            */
    margin-left: var(--schematic-gap);
  }
}

/* Hide the graphic on small screens (keep current mobile look) */
@media (max-width: 899px){
  .hero-schematic{ display: none; }
}


/*──────────────────────────────────────────────
  QUICK FIX – make hero‑schematic obey the variable
  (overrides “img { max-width:100%; … }” coming from
  your reset / imported stylesheets)
──────────────────────────────────────────────*/
@media (min-width: 900px){
  .hero-schematic{
    /* cancel the universal cap that is blocking the change */
    max-width: none !important;

    /* let the variable drive the size */
    width:  var(--schematic-size) !important;
    height: auto;               /* keep aspect ratio       */

    /* keep the gap control you already had */
    margin-left: var(--schematic-gap);
  }
}



/*──────────────────────────────────────────────
  HERO ‑– text on the left, schematic on the right
──────────────────────────────────────────────*/



/* 2 ) desktop layout ≥ 900 px */
@media (min-width: 900px){
  .hero{
    display:flex;                /* side‑by‑side layout        */
    align-items:center;          /* vertically centre them     */
  }

  .hero-content{ max-width:600px; }

  /* wrapper that already exists in your HTML         */
  .hero-visual{
    flex:0 0 auto;               /* don’t let it stretch       */
    width:var(--schematic-size); /* ← SIZE CONTROL             */
    margin-left:var(--schematic-gap);
  }

  /* make the actual graphic fill that width           */
  .hero-visual img,
  .hero-visual svg{
    display:block;
    max-width:none;              /* remove the universal 100% cap */
    width:100%;                  /* scale with the wrapper          */
    height:auto;                 /* preserve aspect ratio           */
  }
}

/* 3 ) keep mobile & small tablets unchanged          */
@media (max-width: 899px){
  .hero-visual{ display:none; }
}


/*──────────────────────────────────────────────
  HERO  ▶  keep text safe; let schematic shrink
──────────────────────────────────────────────*/

:root{
  /* tweak these whenever you like */
  --schematic-gap: 4rem;   /* space between headline & graphic   */
  --schematic-size: 900px; /* starting width for the schematic   */
}

/* Desktop layout */
@media (min-width: 900px){
  .hero{
    display:flex;
    align-items:center;
  }

  /* 1️⃣  TEXT COLUMN – never shrink below its intrinsic width  */
  .hero-content{
    flex:0 0 600px;          /* lock it at / up to 600 px        */
    max-width:600px;
  }

  /* 2️⃣  SCHEMATIC – can shrink right down to 0 px if needed   */
  .hero-visual{
    flex:1 1 var(--schematic-size);   /* allow it to shrink    */
    max-width:var(--schematic-size);  /* but never grow past   */
    min-width:0;                      /* let it collapse first */
    margin-left:var(--schematic-gap);
    overflow:hidden;                  /* clip excess lines     */
  }

  /* make the SVG / IMG fill whatever width the wrapper has */
  .hero-visual img,
  .hero-visual svg{
    display:block;
    width:100%;
    height:auto;
  }
}

/* Below 900 px the schematic is hidden – mobile view is unchanged */
@media (max-width: 899px){
  .hero-visual{ display:none; }
}


@media (min-width: 1400px){
  .hero-visual{ --schematic-size: 900px; }   /* bigger on ultrawide */
}
@media (min-width: 1100px) and (max-width: 1199px){
  .hero-visual{ --schematic-size: 600px; }   /* a bit smaller       */
}

























/* ───────────────────────────────────────
   HERO  –  grid layout with live reveal
───────────────────────────────────────── */
:root {
  --schematic-size : 650px;   /* full width of the SVG/PNG            */
  --gap-max        : 4rem;    /* maximum breathing room               */
  --headline-min   : 300px;   /* text column never shrinks below this */
}

@media (min-width: 600px) {
  .hero {
    display: grid;
    grid-template-columns:
      minmax(var(--headline-min), 1fr)
      1fr;
    column-gap: clamp(1rem, 5vw, var(--gap-max));
    align-items: center;
    overflow: visible;
  }

  .hero-content {
    padding-left: clamp(1rem, 5vw, var(--gap-max));
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    display: block;                   /* ensure it shows */
    width: 100%;
    max-width: var(--schematic-size);
    margin-left: -2.5rem;             /* nudge closer */
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, margin-left 0.3s ease;
  }

  .hero-visual svg,
  .hero-visual img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* ── slightly larger & visible schematic on smaller desktops/tablets ── */
@media (min-width: 600px) and (max-width: 900px) {
  .hero-visual {
    transform: scale(1.2);
    margin-left: -2rem;               /* keep it in view */
  }
}

/* ───────────────────────────────────────
   MOBILE: single-column with schematic below
───────────────────────────────────────── */
@media (max-width: 599px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
  }

  .hero-content {
    width: 100%;
    padding: 0 clamp(1rem, 5vw, var(--gap-max));
    text-align: center;
    order: 1;
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    display: block;
    order: 2;
    width: 85%;
    max-width: var(--schematic-size);
    margin: -1.5rem auto 0;
    transform: scale(1.25);
    transform-origin: top center;
    position: relative;
    z-index: 1;
  }

  .hero-visual svg,
  .hero-visual img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* ───────────────────────────────────────
   FIX: Prevent schematic ↔ text overlap at 600–800 px
───────────────────────────────────────── */
@media (min-width: 600px) and (max-width: 800px) {
  .hero {
    /* keep two columns but bump the gap */
    grid-template-columns:
      minmax(var(--headline-min), 1fr)
      1fr;
    column-gap: clamp(2rem, 8vw, var(--gap-max));
  }

  .hero-visual {
    /* remove negative nudge and slightly enlarge */
    margin-left: 0;
    transform: scale(1.15);
    transform-origin: left center;
  }
}


/* ───────────────────────────────────────
   FIX: Show a larger, non-overlapping schematic at 600–650 px
───────────────────────────────────────── */
@media (min-width: 600px) and (max-width: 865px) {
  .hero {
    /* ensure both columns remain but give extra breathing room */
    grid-template-columns:
      minmax(var(--headline-min), 1fr)
      1fr;
    column-gap: clamp(2rem, 12vw, var(--gap-max));
  }

  .hero-visual {
    display: block;                /* make sure it’s visible */
    transform: scale(1.5);         /* bump up the size a bit */
    transform-origin: left center;
    margin-left: 1rem;             /* push it slightly right of the text */
  }

  .hero-visual svg,
  .hero-visual img {
    width: 100%;
    height: auto;
  }
}

/*──────────────────────────────────────────────────────────
  HERO TEXT TWEAKS – Ultra-narrow screens (≤320px)
──────────────────────────────────────────────────────────*/
@media (max-width: 320px) {
  /* ensure plenty of side padding so text never bleeds off */
  .hero-content {
    padding: 0 1rem;
  }

  /* slightly reduce headline size and allow long words to wrap */
  .hero-content h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* scale down sub-copy a touch if needed */
  .hero-content p {
    font-size: 0.9rem;
  }
}



/* partnerprogram.css – put this with the other mobile tweaks */
@media (max-width: 360px){
  .quick-stats span{
    white-space: normal;   /* allow wrapping below 360 px */
    line-height: 1.1;
  }
}

/* put this with your other mobile tweaks */
@media (max-width: 400px){
  .quick-stats{
    width: 100%;                         /* drop the “‑ 2rem” haircut          */
    grid-template-columns: repeat(2,1fr);/* 2 × 2 layout when space is tight   */
  }

  /* tidy up the borders when we wrap */
  .quick-stats li:nth-child(2)::after{display:none;}      /* kill the 2nd divider  */
  .quick-stats li:nth-child(3),
  .quick-stats li:nth-child(4){border-top:1px solid #e2e8f0;} /* add horiz divider */
}





/*────────────────────────────────────────────────────────────────────
  FAQ + TESTIMONIAL DUO
────────────────────────────────────────────────────────────────────*/
.info-duo{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:var(--spacing-lg);
  margin:var(--spacing-xl) 0;
}

/* generic card shell – shared by both */
.card{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:2rem;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.card-heading{
  font:700 1rem/1 var(--font-heading);
  letter-spacing:.03em;
  color:var(--primary);
  margin:0 0 var(--spacing-sm) 0;
}

.card-question{
  font:600 1.25rem/1.35 var(--font-body);
  color:var(--gray-900);
  margin:0 0 .5rem 0;
}
.card-excerpt{
  font-size:1rem;
  color:var(--gray-700);
  margin:0 0 var(--spacing-lg) 0;
}

/* CTA button (secondary style) */
.btn-secondary{
  align-self:flex-start;
  background:var(--primary);
  color:var(--white);
  font:600 1rem/1 'Inter',sans-serif;
  padding:.65rem 1.75rem;
  border-radius:999px;
  transition:background .25s,box-shadow .25s;
}
.btn-secondary:hover,
.btn-secondary:focus{
  background:var(--primary-hover);
  box-shadow:0 8px 24px rgba(0,0,0,.15);
}

/* ── testimonial specifics ────────────────────────────────────────*/
.testimonial-card{
  text-align:left;
}
.avatar{
  width:56px;
  height:56px;
  border-radius:50%;
  background:linear-gradient(135deg,#e2e8f0,#cbd5e1);
  margin-bottom:var(--spacing-md);
}
.testimonial-card blockquote{
  font:600 1.25rem/1.4 var(--font-body);
  color:var(--gray-900);
  margin:0 0 var(--spacing-md) 0;
}
.author{
  font:600 1rem/1 var(--font-body);
  color:var(--gray-900);
  margin:0;
}
.company{
  font:500 .9rem/1 var(--font-body);
  color:var(--gray-700);
  margin:0;
}





/* ────────────────────────────────────────────────────────────────
   FAQ & Testimonial: 2‑col on desktop, 1‑col on mobile
────────────────────────────────────────────────────────────────── */

/* 1) Base: stack by default */
.info-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) auto;
  max-width: 100%;               /* let cards grow to full width on narrow screens */
}

/* 2) Cards: cap their width and add padding/shadow per mock */
.info-duo .card {
  width: 100%;
  max-width: 360px;              /* fixed “mock” width */
  padding: 2.25rem;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  margin: 0 auto;                /* center when single‑column */
}

/* 3) Desktop breakpoint: force two columns side-by-side */
@media (min-width: 900px) {
  .info-duo {
    grid-template-columns: 360px 360px;  /* exactly two fixed‑width columns */
    justify-content: center;             /* center the pair in the viewport */
    max-width: calc(2 * 360px + var(--spacing-lg)); /* avoid extra stretch */
  }
}

.btn-secondary {
  color: #fff; /* ensure default text is white */
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary-hover);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  color: #fff !important; /* force white text even if something else is overriding */
}

/*───────────────────────────────────────────────────────────────
  MOBILE TWEAK – pull FAQ/Testimonial cards closer to features
───────────────────────────────────────────────────────────────*/
@media (max-width: 600px) {

  /* shrink the white‑card block’s bottom margin */
  .features-container {
    margin-bottom: var(--spacing-md);   /* was 4rem → now 1rem */
  }

  /* shrink the duo section’s top margin */
  .info-duo {
    margin-top: var(--spacing-md);      /* was 2.5rem */
  }
}

/* desktop tweak only */
@media (min-width: 900px){
  /* pull FAQ/Testimonial row a bit closer */
  .info-duo{ margin-top: var(--spacing-lg); }   /* was var(--spacing-xl) */

  /* add breathing room above CTA inside FAQ card */
  .faq-card .card-excerpt{ margin-bottom: 1.25rem; }
}

@media (max-width:600px){
  .info-duo{ margin-top:var(--spacing-sm); }          /* 0.5 rem */
  .testimonial-card blockquote{ margin-bottom:.75rem; }
}

/*───────────────────────────────────────────────────────────────
  FAQ / Testimonial width fixes
───────────────────────────────────────────────────────────────*/

/* 1) Small screens – make each card span the full grid width   */
@media (max-width: 599px) {
  .info-duo {
    grid-template-columns: 1fr;      /* already stacked, keep it */
  }

  .info-duo .card {
    max-width: none !important;      /* remove 360 px cap        */
    width: 100% !important;          /* stretch edge‑to‑edge     */
    margin: 0 0 var(--spacing-md);   /* no auto‑centering gaps   */
  }
}

/* 2) Everything ≥ 600 px stays as you set earlier.
      Duo becomes two fixed‑width (360 px) cards @ ≥ 900 px,
      matching the horizontal line in your desktop view.        */


/*───────────────────────────────────────────────────────────────
  Mobile (≤ 600 px): keep edge padding around FAQ/Testimonial
───────────────────────────────────────────────────────────────*/
@media (max-width: 600px) {

  /* give the whole duo section the same side‑padding as .container */
  .info-duo {
    padding: 0 var(--spacing-md);     /* 1 rem left & right */
  }

  /* let each card fill that padded area (no extra negative margins) */
  .info-duo .card {
    width: 100%;                      /* fill the padded grid cell */
    max-width: none;                  /* no fixed cap */
    margin: 0 0 var(--spacing-md);    /* keep a small gap below each card */
  }
}

/*───────────────────────────────────────────────────────────────
  Mobile (≤ 600 px) – keep one clean gap between FAQ & Testimonial
───────────────────────────────────────────────────────────────*/
@media (max-width: 600px) {

  /* keep the same side‑padding and set ONE vertical gap */
  .info-duo {
    padding: 0 var(--spacing-md);
    gap: var(--spacing-md);          /* 1 rem between the 2 cards */
  }

  /* let each card fill the width, but NO extra bottom margin */
  .info-duo .card {
    width: 100%;
    max-width: none;
    margin: 0 auto;                  /* kills the extra gap */
  }
}

/*───────────────────────────────────────────────────────────────
  MOBILE (≤ 600 px) · keep a consistent 1.5 rem gap
───────────────────────────────────────────────────────────────*/
@media (max-width: 600px) {

  /* 1 · give the duo the standard vertical gap */
  .info-duo {
    gap: var(--spacing-lg);     /* 1.5 rem between FAQ & Testimonial */
  }

  /* 2 · remove any extra bottom margin on the cards */
  .info-duo .card {
    margin: 0;                  /* rely only on grid gap */
  }
}




/* ───────── FEATURE‑PROFILE testimonial ───────── */
.testimonial-card.feature-profile .profile {
  display: flex;               /* side‑by‑side on desktop */
  align-items: center;
  gap: 1.5rem;                 /* space between photo & text */
}

/* portrait */
.profile-photo {
  flex-shrink: 0;              /* never let it squish */
  width: 96px;                 /* dial this up/down to taste */
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* quote & meta copy */
.profile-copy blockquote {
  margin: 0 0 .75rem;
  font: 600 1.25rem/1.4 var(--font-body);
  color: var(--gray-900);
}
.profile-copy .author   { font-weight: 600;   margin: 0; }
.profile-copy .company  { margin: 0;          color: var(--gray-700); }

/* ─── Mobile fallback ≤ 600 px ─── */
@media (max-width: 600px) {
  .testimonial-card.feature-profile .profile {
    flex-direction: column;    /* stack portrait above text */
    text-align: center;
  }
  .profile-photo { margin-bottom: 1rem; }
}


/* ───────── Option A • media‑left layout ───────── */
.testimonial-card.media-left{
  display:flex;
  gap:1.75rem;
  align-items:center;
  padding:2rem;              /* matches FAQ card */
}

.media-left .profile-photo{
  flex:0 0 140px;            /* ↑ dial this number up/down */
  aspect-ratio:5/6;
  overflow:hidden;
  border-radius:16px;        /* squared but softened */
  box-shadow:0 4px 16px rgba(0,0,0,.12);
}
.media-left .profile-photo img{
  width:100%; height:100%;
  object-fit:cover;
}

.media-left .profile-copy blockquote{
  margin:0 0 .85rem;
  font:600 1.3rem/1.45 var(--font-body);
  color:var(--gray-900);
}

@media (max-width:600px){
  .testimonial-card.media-left{
    flex-direction:column;
    text-align:center;
  }
  .media-left .profile-photo{
    width:180px;             /* big visual punch on phones */
    max-width:70vw;
  }
}


/* show the top of the image when stacked on mobile */
@media (max-width: 600px) {
  .media-left .profile-photo {
    aspect-ratio: 5/7;   /* was 5/6  → now 5/7 = 16 % taller */
  }
}


/*──────────────────────────────────────────────────────────────
  FAQ ▸ “Ramp‑up” list  – brand‑styled bullets & tidy spacing
  (drop this near the bottom of partnerprogram.css or in
   partnerfaq.css, after your other FAQ rules)
──────────────────────────────────────────────────────────────*/
.faq-item .ramp-list {
  list-style: none;          /* kill default bullets      */
  margin: .5rem 0 1rem 0;    /* top, right/left, bottom   */
  padding: 0;
}

.faq-item .ramp-list li {
  position: relative;
  padding-left: 1.25rem;     /* room for custom dot       */
  margin-bottom: .35rem;     /* consistent vertical gap   */
  line-height: 1.45;
}

.faq-item .ramp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;                /* centres dot on first line */
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--primary);/* brand‑blue bullet         */
}

/*──────────────────────────────────────────────────────────
  Testimonial – large photo version
──────────────────────────────────────────────────────────*/
.testimonial-card         { padding: 0; overflow: hidden; }
.testimonial-photo img    { display:block;width:100%;height:auto;
                            aspect-ratio:4/3;object-fit:cover; }
.testimonial-card blockquote,
.testimonial-card .author-block { padding:1.75rem 2rem; }

.testimonial-card blockquote { … } /* rest of styles from snippet */


.testimonial-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;    /* portrait orientation */
  object-fit: cover;
  object-position: top center;  /* anchor the crop to the top */
}

.testimonial-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;    /* show the full image, letter‑boxed if needed */
}
