/* ============================================================
   COMPONENTS.CSS — Buttons, Cards, Badges, Tags, Modal, Forms
   ============================================================ */

/* ── Eyebrow Labels ───────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-violet);
  margin-bottom: 12px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-ghost-violet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent-primary);
  color: var(--color-accent-text);
  border: 1.5px solid var(--color-accent-primary);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-accent-text);
  transform: scale(1.03);
}
.btn-primary:active { transform: scale(0.97); }

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn-primary:disabled:hover { transform: none; }

.btn-secondary {
  background: transparent;
  color: var(--color-accent-primary);
  border: 1.5px solid var(--color-accent-primary);
}
.btn-secondary:hover {
  background: var(--color-accent-subtle);
  color: var(--color-accent-primary);
  transform: scale(1.03);
}

.btn-ghost-violet {
  background: transparent;
  color: var(--color-violet);
  border: 1.5px solid var(--color-violet);
}
.btn-ghost-violet:hover {
  background: var(--color-violet-subtle);
  color: var(--color-violet);
  transform: scale(1.03);
}

.btn-lg {
  font-size: 18px;
  padding: 18px 36px;
}

.btn-sm {
  font-size: 15px;
  padding: 10px 20px;
}

.w-full { width: 100%; justify-content: center; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-accent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(149,191,71,0.15);
}

.card.featured {
  border: 1.5px solid var(--color-violet);
  box-shadow: 0 0 28px rgba(90, 49, 244, 0.12);
  position: relative;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--color-accent-primary);
}

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-green {
  background: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  border: 1px solid var(--color-border-accent);
}

.badge-violet {
  background: var(--color-violet);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  padding: 6px 14px;
  box-shadow: 0 6px 16px rgba(90, 49, 244, 0.32);
}

.badge-violet svg { flex-shrink: 0; }

/* Both card flags hang from the same top-right slot and sit outside the
   flow, so a flagged card's name and price stay on the same line as an
   unflagged one's across the row. Only the colour differs. */
.badge-most-popular,
.badge-top-rated {
  position: absolute;
  top: 0;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-most-popular {
  background: var(--color-accent-primary);
  color: var(--color-accent-text);
  box-shadow: 0 6px 16px rgba(149, 191, 71, 0.38);
}

.badge-top-rated {
  background: var(--color-violet);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(90, 49, 244, 0.32);
}

.badge-most-popular svg,
.badge-top-rated svg { flex-shrink: 0; }

/* "One time payment" reassurance tag — sits under the price on the
   e-commerce cards, where the monthly retainer plans sit alongside
   them and the one-off nature of the fee is the thing to make plain. */
.badge-onetime {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-violet), var(--color-violet-hover));
  color: #FFFFFF;
  border: none;
  box-shadow: 0 6px 16px rgba(90, 49, 244, 0.32);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-onetime svg { flex-shrink: 0; }

/* ── Chips / Tags ────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--color-accent-subtle);
  border: 1px solid var(--color-border-accent);
  color: var(--color-accent-dark);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: var(--text-sm);
  font-family: var(--font-display);
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  background: var(--color-accent-primary);
  color: var(--color-accent-text);
  border-color: var(--color-accent-primary);
}

.chip-mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

/* ── Feature Checklist Items ─────────────────────────────── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
}

.feature-list li::before {
  content: '✓';
  color: var(--color-accent-primary);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Accordion ───────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.accordion-trigger:hover { color: var(--color-accent-primary); }

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--color-accent-primary);
  transition: transform 0.3s ease, background 0.2s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--color-accent-subtle);
}

.accordion-content {
  height: 0;
  overflow: hidden;
}

.accordion-body {
  padding: 0 0 20px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  color: var(--color-text-primary);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(149, 191, 71, 0.18);
}

.form-textarea { resize: vertical; min-height: 100px; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8B3A0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-select option { background: var(--color-bg-elevated); }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-row a { color: var(--color-accent-primary); }

/* ── Stats / Metric cards ────────────────────────────────── */
.stat-number {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-accent-primary);
  letter-spacing: -0.02em;
  display: block;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── Trust Strip Items ───────────────────────────────────── */
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.trust-item strong {
  color: var(--color-text-primary);
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ── Pricing Cards ───────────────────────────────────────── */
.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Top progress hairline — matches the .process-step / .card hover language */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-accent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.pricing-card:hover::before { transform: scaleX(1); }

.pricing-card.featured {
  background: var(--color-accent-subtle);
  border: 1.5px solid var(--color-accent-primary);
  box-shadow: 0 4px 24px rgba(90,49,244,0.14), 0 0 0 1.5px rgba(90,49,244,0.5);
}

.pricing-card.featured::before { transform: scaleX(1); }

/* The card is a flex column, so a badge would stretch the full card
   width by default and read as a banner rather than a tag. */
.pricing-card > .badge { align-self: flex-start; }

.pricing-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.pricing-price {
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.price-was {
  font-family: var(--font-mono);
  font-size: var(--text-md);
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.price-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: var(--color-border);
  margin: 20px 0;
}

/* The plans run from 7 to 22 points, so the list scrolls inside the card
   rather than stretching a row to the height of the longest plan. The bar
   is styled to stay visible — a hidden one reads as a truncated list. */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  flex: 1;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-primary) var(--color-bg-elevated);
}

.pricing-features::-webkit-scrollbar {
  width: 7px;
}

.pricing-features::-webkit-scrollbar-track {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-pill);
}

.pricing-features::-webkit-scrollbar-thumb {
  background: var(--color-accent-primary);
  border-radius: var(--radius-pill);
}

.pricing-features::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-dark);
}

/* line-height matches the 24px tick, so the tick centres on the first
   line and long points wrap cleanly underneath it rather than pushing
   the text off-centre. */
.pricing-features li {
  position: relative;
  padding-left: 34px;
  min-height: 24px;
  line-height: 24px;
  /* The list is a height-capped flex column, so without this the items
     shrink below their own content and two-line points overlap. */
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent-primary);
  background-color: var(--color-bg-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2395BF47' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
}

.pricing-card.featured .pricing-features li::before { background-color: var(--color-bg-surface); }

.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.pricing-link {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.pricing-link:hover { color: var(--color-accent-primary); }

/* ── Testimonial Cards ───────────────────────────────────── */
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--color-border-accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* Platform badge with icon (replaces .testimonial-platform) */
.testimonial-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid #E2E8E0;
  color: var(--color-text-muted);
  background: #F5F5F5;
  width: fit-content;
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #F59E0B;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

/* Author row with avatar */
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

/* Avatar circle with initials */
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(calc(var(--avatar-hue, 140)), 55%, 38%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-primary);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ── Work / Portfolio Cards ──────────────────────────────── */
.work-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.work-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover img { transform: scale(1.06); }

.work-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.92) 0%, rgba(10, 15, 30, 0.3) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.work-card:hover .overlay { opacity: 1; }

.work-card .overlay-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

/* .badge-green's default fill is a 12%-opacity tint meant for light
   surfaces — over this card's near-black gradient overlay it's
   effectively invisible. Solid fill + white text here instead. */
.work-card .overlay .badge-green {
  background: var(--color-accent-primary);
  color: var(--color-white);
  border: none;
}

/* ── Custom Cursor ───────────────────────────────────────── */
/* Position (transform: x/y/xPercent/yPercent) is fully GSAP-owned via
   quickTo — do not set `transform` or `left`/`top` here, it would fight
   the inline transform GSAP applies on every mousemove. */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  transition: width 0.25s ease, height 0.25s ease,
              background 0.25s ease, border 0.25s ease;
  will-change: transform;
  opacity: 0;
}

.cursor.cursor-active { opacity: 1; }

.cursor--hover {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1.5px solid var(--color-accent-primary);
}

@media (pointer: coarse) { .cursor { display: none; } }

/* ── Section CTA ─────────────────────────────────────────────
   The paired call-to-action closing every homepage section:
   a primary consultation button plus either a chat or a phone
   affordance. Rendered by section_cta() in includes/icons.php. */
.section-cta { margin-top: 48px; }
.section-cta-center { text-align: center; }

.section-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.section-cta-left .section-cta-row { justify-content: flex-start; }

/* Secondary affordance — a two-line block rather than a second
   button, so it reads as a different kind of action and never
   competes with the primary. */
.section-cta-phone,
.section-cta-chat {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 12px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--color-border);
  background: transparent;
  font-family: var(--font-display);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-cta-phone:hover,
.section-cta-chat:hover {
  border-color: var(--color-border-accent);
  background: var(--color-accent-subtle);
  transform: scale(1.02);
}

.section-cta-phone-icon,
.section-cta-chat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-accent-subtle);
  color: var(--color-accent-dark);
}

.section-cta-phone small,
.section-cta-chat small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.section-cta-phone strong,
.section-cta-chat strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.section-cta-phone strong { font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.02em; }

/* Live dot on the chat affordance */
.section-cta-chat-icon { position: relative; }
.section-cta-chat-icon::after {
  content: '';
  position: absolute;
  top: 5px; right: 5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  box-shadow: 0 0 0 2px var(--color-accent-subtle);
  animation: cta-live 2s ease-in-out infinite;
}
@keyframes cta-live {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* Dark sections (.cta-bg, .section-brand-green) */
.section-cta-dark .section-cta-phone,
.section-cta-dark .section-cta-chat {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.section-cta-dark .section-cta-phone:hover,
.section-cta-dark .section-cta-chat:hover {
  border-color: rgba(149, 191, 71, 0.5);
  background: rgba(255, 255, 255, 0.12);
}
.section-cta-dark .section-cta-phone-icon,
.section-cta-dark .section-cta-chat-icon {
  background: rgba(149, 191, 71, 0.18);
  color: var(--color-accent-primary);
}
.section-cta-dark .section-cta-phone small,
.section-cta-dark .section-cta-chat small { color: rgba(255, 255, 255, 0.6); }
.section-cta-dark .section-cta-phone strong,
.section-cta-dark .section-cta-chat strong { color: #FFFFFF; }

.section-cta-note {
  margin-top: 14px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.section-cta-note svg { color: var(--color-accent-primary); flex-shrink: 0; }
.section-cta-dark .section-cta-note { color: rgba(255, 255, 255, 0.6); }

/* Mobile: full-width stacked so both targets clear 44px and neither
   is squeezed to two lines of wrapped text. */
@media (max-width: 560px) {
  .section-cta { margin-top: 32px; }
  .section-cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .section-cta-row .btn-primary { width: 100%; justify-content: center; }
  .section-cta-phone,
  .section-cta-chat { justify-content: center; padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .section-cta-chat-icon::after { animation: none; }
  .section-cta-phone:hover,
  .section-cta-chat:hover { transform: none; }
}

/* ── Mobile density (sitewide) ───────────────────────────────
   Card padding is the biggest remaining source of vertical space
   once grids collapse to a single column. */
@media (max-width: 767px) {
  .card      { padding: 22px; }
  .card-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .card h3   { font-size: var(--text-md); }

  .pricing-card     { padding: 24px 20px; }
  .pricing-desc     { margin-bottom: 16px; }
  .pricing-divider  { margin: 14px 0; }
  .pricing-features { max-height: 232px; gap: 9px; margin-bottom: 20px; }
  .pricing-actions  { gap: 8px; }

  .testimonial-card { padding: 20px; }
  .testimonial-text { font-size: var(--text-sm); }

  .chip { padding: 5px 13px; font-size: var(--text-xs); }

  .accordion-trigger { padding: 16px 0; }
  .accordion-body    { padding-bottom: 16px; }
}

/* Trim the paired CTA a little further on the smallest screens —
   it repeats 12 times down the homepage, so every pixel counts. */
@media (max-width: 560px) {
  .section-cta      { margin-top: 26px; }
  .section-cta-note { margin-top: 10px; font-size: var(--text-xs); }
}
