/* Project Studios — styles (extracted from inline index.css)
   Palette and layout rules are shared across pages.
*/

/* ========================================
   CSS RESET + VARIABLES
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --primary: #006600;
  --primary-hover: #004d00;
  --accent: #a5b6a3;
  --bg: #cecac9;
  --text: #000000;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
  --content-max: 1200px;
  
  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 40px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  
  /* Typography */
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.375rem;
  --font-size-2xl: 1.75rem;
  --font-size-3xl: 2.25rem;
  --font-size-4xl: 3.5rem;
  
  /* Colors */
  --color-text-muted: #666;
  --color-text-light: #555;
  --color-border: #eee;
  --color-bg-light: #f0f4f0;
  
  /* Text color palette */
  --text-dark: #333;
  --text-mid: #444;
  --text-light: #666;
  --text-muted: #999;
  
  /* Border colors */
  --border-light: #e1e1e1;
  --border-subtle: #ddd;
  
  /* Box shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
  
  /* Opacity values */
  --opacity-nav-text: 0.85;
  --opacity-nav-text-hover: 1;
  --opacity-nav-bg: 0.85;
  --opacity-overlay-dark: 0.85;
  --opacity-overlay-light: 0.15;
  
  /* Border radius variants */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-full: 50%;
  
  /* Responsive breakpoints */
  --bp-mobile: 320px;
  --bp-tablet: 600px;
  --bp-desktop: 768px;
  --bp-wide: 900px;
  --bp-ultra: 1000px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, var(--opacity-overlay-dark));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-brand .brand-accent {
  color: var(--accent);
  font-weight: 400;
}

/* Desktop: show text, hide logo */
.brand-text {
  display: block;
}

.brand-logo-mobile {
  display: none;
}

/* Mobile: hide text, show small logo */
@media (max-width: 768px) {
  .brand-text {
    display: none;
  }
  
  .brand-logo-mobile {
    display: block;
    height: 32px;
    width: auto;
  }
}

/* Very small screens (< 320px) */
@media (max-width: 320px) {
  .site-nav {
    padding: 0 12px;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
  display: block;
}

.nav-links > li > a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 1);
}

.nav-links a.active-link {
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
}

/* Dropdown indicator */
.nav-links .has-dropdown > a::after {
  content: " \25BE";
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.7;
  display: inline-block;
  font-family: Arial, sans-serif;
}

/* Dropdown menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  border-radius: var(--radius-md);
  padding: 0 0 8px 0;
  min-width: 180px;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.nav-dropdown li {
  list-style: none;
}

.nav-dropdown a {
  padding: 10px 20px;
  color: rgba(255,255,255,var(--opacity-nav-text));
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: block;
  margin: 8px 12px 0;
  transition: all 0.2s ease;
}

.nav-dropdown a:hover {
  background: rgba(255,255,255,var(--opacity-overlay-light));
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255, 255, 255, var(--opacity-nav-text-hover));
}

/* Desktop hover with delay */
@media (min-width: 769px) {
  /* Hide hamburger menu on desktop */
  .nav-toggle {
    display: none;
  }
  
  /* Show nav-links as horizontal menu */
  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 32px;
    max-height: none;
    overflow: visible;
  }
  
  .nav-links > li {
    width: auto;
    border-bottom: none;
  }
  
  .nav-links > li > a {
    padding: 8px 0;
    font-size: 15px;
  }
  
  /* Dropdown hover behavior */
  .has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease;
  }
  
  /* Desktop dropdown positioning */
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 200;
  }
  
  .nav-dropdown a {
    padding: 10px 20px;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 6px;
    margin: 4px 12px;
    font-size: 14px;
  }
  
  .nav-dropdown a:hover {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255, 255, 255, 1);
  }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.active { display: flex; }
  
  /* Mobile dropdown styling */
  .nav-dropdown {
    display: none;
    position: static;
    background: rgba(255,255,255,0.05);
    margin-top: 8px;
    margin-left: 16px;
    border-radius: 6px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  
  .nav-dropdown.active {
    display: block;
  }
  
  .has-dropdown > a {
    cursor: pointer;
  }
}

/* ========================================
    HERO — Full-width background image
    ======================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 24px 80px;
  overflow: hidden;
  /* Dark base fills the left where the image doesn't reach */
  background-color: #1a1a2e;
  /* Image sized to fill height only, anchored right — dark bg fills the gap on the left */
  background-image: url('../images/hero.jpg');
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 16px 60px;
  }
}

@media (max-width: 320px) {
  .hero {
    padding: 80px 12px 40px;
  }
}

/* LeadStream Pro Hero - Product-specific background */
.hero-leadstream {
  background-image: url('../images/large/GenerateQRCode.webp');
  background-size: contain;
  background-position: right center;
  background-color: #004d00;
}

/* Fallback for browsers that don't support WebP */
.no-webp .hero-leadstream {
  background-image: url('../images/large/GenerateQRCode.png');
}

@media (max-width: 768px) {
  .hero-leadstream {
    background-size: cover;
    background-position: center;
  }
}

/* At Your Services Pro Hero - Product-specific background */
.hero-ayspro {
  background-image: url('../images/medium/AYS-AtYourServices.webp');
  background-size: contain;
  background-position: right center;
  background-color: #004d00;
}

/* Fallback for browsers that don't support WebP */
.no-webp .hero-ayspro {
  background-image: url('../images/large/AYS-AtYourServices.png');
}

@media (max-width: 768px) {
  .hero-ayspro {
    background-size: cover;
    background-position: center;
  }
}

/* Gradient overlay: solid dark on the left, fading to transparent over the image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 26, 46, 1.0) 0%,
    rgba(26, 26, 46, 0.85) 30%,
    rgba(22, 33, 62, 0.4) 55%,
    rgba(15, 52, 96, 0.0) 75%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 650px;
}

.hero .subhead {
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.5;
}

.hero .cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.services-actions {
  margin-bottom: 1.5rem;
}
/* ========================================
   CONTENT SECTION
   ======================================== */
.content-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px 24px;
}

/* Reduce top padding when content-section follows breadcrumb */
.breadcrumb + .content-section {
  padding-top: 24px;
}

@media (max-width: 768px) {
  .content-section {
    padding: 48px 16px;
  }
  
  .breadcrumb + .content-section {
    padding-top: 16px;
  }
}

@media (max-width: 320px) {
  .content-section {
    padding: 32px 12px;
  }
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 18px;
  color: #444;
}

/* ========================================
   BLOG ARTICLE
   ======================================== */
.article-hero {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 100px 24px 32px;
  position: relative;
}

.article-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.article-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.article-subhead {
  font-size: clamp(19px, 2.5vw, 22px);
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  font-weight: 400;
  margin-bottom: 20px;
}

/* Listen button */
.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 16px;
  font-family: inherit;
}

.listen-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.listen-btn:active {
  transform: translateY(0);
}

.listen-btn.playing {
  background: #cc0000;
}

.listen-btn svg,
.listen-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: middle;
  margin-right: 4px;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 60px;
  font-size: 19px;
  line-height: 1.75;
  color: #1a1a1a;
}

.article-content > p:first-of-type {
  font-size: 21px;
  line-height: 1.7;
  color: #000;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content h2 {
  margin: 48px 0 20px;
  font-size: clamp(26px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #000;
}

.article-content h3 {
  margin: 36px 0 16px;
  font-size: clamp(21px, 2.8vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: #111;
}

.article-content ul {
  margin: 0 0 24px 24px;
  padding-left: 0;
}

.article-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.article-content strong {
  font-weight: 600;
  color: #000;
}

/* Mobile optimizations for articles */
@media (max-width: 768px) {
  .article-hero {
    padding: 80px 20px 24px;
  }
  
  .article-content {
    padding: 16px 20px 48px;
    font-size: 18px;
  }
  
  .article-content > p:first-of-type {
    font-size: 19px;
  }
  
  .article-content h2 {
    margin: 36px 0 16px;
  }
  
  .article-content h3 {
    margin: 28px 0 12px;
  }
}

/* ========================================
   PRODUCT GRID — 3→2→1 Responsive
   ======================================== */
.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   PRODUCT CARD
   ======================================== */
.product-card {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.product-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); margin-bottom: 8px; font-weight: 600; }
.product-title { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.product-desc { font-size: 15px; line-height: 1.5; margin-bottom: 16px; color: #333; }
.product-features { list-style: none; margin: 0 0 20px; font-size: 14px; }
.product-features li { margin-bottom: 6px; }
.product-price { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.product-cta { display: inline-block; text-align: center; padding: 12px 20px; background: var(--primary); color: var(--white); text-decoration: none; border-radius: 6px; font-weight: 600; transition: background var(--transition); }
.product-cta:hover { background: var(--primary-hover); }

/* Product Gallery Images */
.product-gallery {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition), opacity var(--transition);
}

.product-gallery:hover .product-image {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Product Modal Gallery */
.product-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-modal-overlay.active {
  display: flex;
}

.product-modal-card {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition);
}

.product-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.product-modal-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

.product-modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.product-modal-caption {
  padding: 16px 24px;
  text-align: center;
  color: #666;
  font-size: 14px;
  border-top: 1px solid #e0e0e0;
  min-height: 50px;
}

.product-modal-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  background: #f9f9f9;
  border-radius: 0 0 var(--radius) var(--radius);
}

.product-modal-prev,
.product-modal-next {
  background: var(--primary);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.product-modal-prev:hover,
.product-modal-next:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

.product-modal-prev:active,
.product-modal-next:active {
  transform: scale(0.95);
}

.product-modal-counter {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  min-width: 60px;
  text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .product-modal-card {
    max-width: 95%;
    max-height: 85vh;
  }
  
  .product-modal-image-container {
    min-height: 300px;
    max-height: 400px;
    padding: 50px 16px 16px;
  }
  
  .product-modal-controls {
    gap: 16px;
    padding: 16px;
  }
  
  .product-modal-prev,
  .product-modal-next {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   FILTER / NOT FOR EVERYONE
   ======================================== */
.filter-section { background: var(--white); padding: 48px 24px; text-align: center; border-radius: var(--radius); max-width: 800px; margin: 0 auto; }
.filter-section h2 { font-size: 24px; margin: 0 0 16px; }
.filter-section p { color: #444; margin: 0; font-size: 16px; }

/* ========================================
   CTA BAND
   ======================================== */
.cta-band { background: var(--primary); color: var(--white); text-align: center; padding: 64px 24px; }
.cta-band h2 { font-size: 28px; margin: 0 0 16px; font-weight: 600; }
.cta-band p { font-size: 18px; margin: 0 0 24px; opacity: 0.9; }
.cta-band .btn { background: var(--white); color: var(--primary); }
.cta-band .btn:hover { background: #f0f0f0; }

/* ========================================
   FOOTER
   ======================================== */
.site-footer { padding: 32px 24px; text-align: center; font-size: 14px; color: #555; background: var(--bg); }

.footer-card {
  background: var(--white);
  min-width: 200px;
  max-width: 500px;
  margin: 0 auto 12px auto;
  padding: 6px 32px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.footer-links a {
  color: #111;
  font-size: 1.1em;
  font-weight: 600;
  padding: 0 12px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ========================================
   CONTACT MODAL
   ======================================== */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.contact-modal.open {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-content h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  color: var(--primary);
}

.modal-content > p {
  margin: 0 0 24px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 118, 216, 0.1);
}

@media (max-width: 600px) {
  .modal-content {
    padding: 24px;
  }
  
  .modal-content h2 {
    font-size: 20px;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Screen reader only - hides element visually but keeps it accessible */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Info card header with listen button */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.card-header h2 {
  margin: 0;
}

/* Product subheading */
.product-subhead {
  font-size: var(--font-size-xl);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

/* Step number display */
.step-number {
  font-size: var(--font-size-4xl);
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

/* Centered step container */
.step-container {
  text-align: center;
}

/* Step grid layout */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

/* Highlight box */
.highlight-box {
  margin-top: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--color-bg-light);
  border-radius: var(--radius);
  text-align: center;
}

.highlight-box p {
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--text);
}

.highlight-box p:first-of-type {
  font-weight: 600;
}

.highlight-box p + p {
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Section heading with top margin */
.section-subhead {
  margin-top: var(--space-2xl);
}

/* Logo image styling */
.logo-image {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: var(--radius);
  display: block;
  margin-bottom: var(--space-lg);
}

/* Sidebar heading with margin */
.sidebar-h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.sidebar-h3-large {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

/* Sidebar divider line */
.sidebar-hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-lg) 0;
}

/* Sidebar contact text */
.sidebar-contact-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
}

.sidebar-contact-text a {
  color: var(--primary);
  text-decoration: underline;
}

/* Full width button */
.btn-full-width {
  width: 100%;
  text-align: center;
}

/* Sticky sidebar positioning */
.sidebar-sticky {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Sidebar bullet list */
.sidebar-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.sidebar-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}

.sidebar-list li::before {
  content: "\2713";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Modal footer section */
.modal-footer {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.modal-footer p {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
}

.modal-footer a {
  display: block;
  padding: 8px 0;
  color: var(--primary);
  text-decoration: none;
}

/* Pricing tier subtitle */
.tier-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

/* Lab promo card */
.lab-promo {
  margin-top: 22px;
}

.lab-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.lab-card h3 {
  margin: 0 0 8px;
}

.lab-card .small {
  margin: 0 0 12px;
}

.lab-cta-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-compact {
  padding: 8px 14px;
}

/* Timeline display in sidebar */
.timeline-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-subtitle {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 24px;
}

/* Sidebar note and contact */
.sidebar-note {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}

.sidebar-contact {
  font-size: 14px;
  color: #666;
  text-align: center;
}

.sidebar-contact a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Terms and legal content */
.terms-content {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
}

/* Modal note text */
.modal-note {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
  text-align: center;
}

/* Tier note */
.tier-note {
  margin-top: 32px;
  color: #888;
}

/* Tier featured (highlighted) */
.tier-featured {
  border-color: var(--primary);
}

/* Sidebar divider */
.sidebar-divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

/* Sidebar heading */
.sidebar-heading {
  margin-top: 0;
}

/* Sidebar subheading */
.sidebar-subheading {
  margin-top: 16px;
  margin-bottom: 8px;
}

/* ROI highlight box */
.roi-highlight {
  margin-top: 16px;
  border-top: 1px solid #e1e1e1;
  padding-top: 16px;
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .product-card, .btn { transition: none; }
  .product-card:hover { transform: none; }
}
