/* =========================================================
   LaiQ Digital — styles
   Brand colors live in :root so you can change them in one place.
   ========================================================= */

:root {
  --crimson: #9E1B2C;        /* main brand color (light backgrounds) */
  --crimson-dark: #86172A;   /* hover */
  --crimson-bright: #D9384C; /* brand color on dark backgrounds */
  --charcoal: #0F1115;       /* dark backgrounds + main text */
  --charcoal-2: #1A1D23;     /* cards on dark */
  --offwhite: #F7F7F5;       /* soft section background */
  --white: #FFFFFF;
  --text: #0F1115;
  --muted: #52525B;
  --muted-light: #A1A1AA;
  --border: #E4E4E7;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 17, 21, 0.08);
  --max: 1180px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--crimson); }
a:hover { color: var(--crimson-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; }
.accent { color: var(--crimson); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--crimson); color: var(--white); }
.btn-primary:hover { background: var(--crimson-dark); color: var(--white); }
.btn-ghost { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { height: 50px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; }
.site-nav a:not(.btn):hover { color: var(--crimson); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--charcoal); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; background: linear-gradient(180deg, var(--white), var(--offwhite)); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--crimson); margin-right: 8px; font-weight: 800; }

.hero-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 60px rgba(15, 17, 21, 0.25);
}
.hero-card-top { display: flex; align-items: center; gap: 12px; font-weight: 700; margin-bottom: 24px; color: var(--muted-light); }
.hero-icon { width: 44px; height: auto; filter: brightness(0) invert(1); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.flow li {
  display: flex; align-items: center; gap: 16px;
  background: var(--charcoal-2);
  border-radius: 14px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.15rem;
}
.flow-num {
  flex: 0 0 40px; height: 40px; border-radius: 50%; font-size: 1.1rem;
  display: grid; place-items: center;
  background: var(--crimson); font-weight: 800;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--offwhite); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark .eyebrow { color: var(--crimson-bright); }
.section-dark p { color: #D4D4D8; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); font-size: 1.1rem; }

/* ---------- Services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: #F9E8EA;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--crimson); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.terms { margin-top: 56px; background: var(--offwhite); border-radius: var(--radius); padding: 40px; }
.terms h3 { margin-bottom: 24px; }
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 0; }
.terms-grid dt { font-weight: 800; color: var(--crimson); margin-bottom: 6px; }
.terms-grid dd { margin: 0; color: var(--muted); }

/* ---------- Industries ---------- */
.industry-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.industry-list li {
  border: 1px solid #2E323A;
  background: var(--charcoal-2);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
}

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 3px solid var(--crimson); padding-top: 24px; }
.step-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--crimson); margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.testimonial {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 18px;
}
.tag {
  align-self: flex-start;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--crimson); background: #F9E8EA;
  padding: 6px 12px; border-radius: 999px;
}
.testimonial blockquote { margin: 0; font-size: 1.05rem; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.95rem; }
.testimonial figcaption strong { color: var(--text); }
.avatar {
  flex: 0 0 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--charcoal); color: var(--white); font-weight: 700;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  background: var(--white);
  display: flex; flex-direction: column;
}
.price-card.featured { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); transform: scale(1.03); }
.price-card.featured .price-desc, .price-card.featured .checks { color: #D4D4D8; }
.badge {
  position: absolute; top: -14px; left: 30px;
  background: var(--crimson); color: var(--white);
  font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.price { font-size: 2.5rem; font-weight: 800; line-height: 1.1; margin: 0 0 8px; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted-light); }
.price-setup { margin: 0 0 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.price-card.featured .price-setup { color: var(--muted-light); }
.price-desc { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 10px; flex: 1; }
.checks li::before { content: "✓"; color: var(--crimson); font-weight: 800; margin-right: 10px; }
.price-card.featured .checks li::before { color: var(--crimson-bright); }
.price-card.featured .btn-primary { background: var(--crimson-bright); }
.price-card.featured .btn-primary:hover { background: var(--crimson); }
.price-card .btn-ghost { border-color: var(--crimson); color: var(--crimson); }
.price-card .btn-ghost:hover { background: var(--crimson); color: var(--white); }
.pricing-fineprint { margin: 32px 0 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
.pricing-note { margin-top: 16px; text-align: center; color: var(--muted); font-size: 1.1rem; }
.pricing-note a { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--white);
  border-radius: 14px;
  padding: 0 24px;
  border: 1px solid var(--border);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--crimson); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Quote ---------- */
.quote-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--crimson-bright); }

.quote-form {
  background: var(--white);
  color: var(--text);
  border-radius: 20px;
  padding: 36px;
  display: grid; gap: 18px;
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid #D4D4D8;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(158, 27, 44, 0.15);
}
.field.invalid input { border-color: var(--crimson); }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; cursor: pointer; min-height: 44px; }
.check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--crimson); }
.quote-form .field-hint { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); }
.form-status { margin: 0; font-weight: 600; color: var(--text) !important; }
.form-status.success { color: #15803D !important; }
.form-status.error { color: var(--crimson) !important; }

/* ---------- Quote form: CRM additions ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check.consent { align-items: flex-start; min-height: 0; font-size: 0.85rem; line-height: 1.45; color: var(--muted); }
.check.consent input { margin-top: 2px; flex: 0 0 18px; }
.book-btn[hidden] { display: none; }
.quote-form .book-btn { border-color: var(--crimson); color: var(--crimson); }
.quote-form .book-btn:hover { background: var(--crimson); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: #090A0D; color: var(--muted-light); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #23262D; }
.footer-brand .logo { height: 36px; margin-bottom: 16px; }
.footer-links, .footer-social { display: grid; gap: 10px; align-content: start; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); max-width: 70ch; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal li b, .legal p b { color: var(--text); }
.legal .updated { font-weight: 600; }

/* ---------- Focus (keyboard users) ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--crimson-bright);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .card-grid, .testimonial-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card.featured { transform: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 16px; }

  .hero { padding: 56px 0 64px; }
  .hero-inner, .quote-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .card-grid, .testimonial-grid, .pricing-grid, .steps, .form-row, .terms-grid { grid-template-columns: 1fr; }
  .terms { padding: 28px; }
  .price-card.featured { order: -1; }
  .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-form { padding: 24px; }
  .hero-actions .btn { width: 100%; }
}

/* reCAPTCHA: hide the corner badge; the notice under the quote button replaces it (Google allows this). */
.grecaptcha-badge { visibility: hidden !important; }
.quote-form-wrap { min-width: 0; }
/* Same look as the CRM login page: small, centered, grey, just under the card */
.recaptcha-note { margin: 18px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted-light); text-align: center; }
.recaptcha-note a { color: inherit; text-decoration: underline; }

/* Pay-online buttons + "Included in" chips (Oct 8) */
.price-alt { display: block; text-align: center; margin-top: 12px; font-size: 0.9rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.price-alt:hover { color: var(--crimson); }
.price-card.featured .price-alt { color: #D4D4D8; }
.price-card.featured .price-alt:hover { color: var(--white); }
.checks { align-content: start; }

/* Support page (Oct 8) */
.support-page .quote-form { margin-top: 28px; }
.support-intro { font-size: 1.05rem; }
.support-page .field { align-content: start; }
.legal .field-error, .field-error { margin: 2px 0 0; color: var(--crimson); font-size: 0.88rem; font-weight: 600; max-width: none; }
.field.invalid textarea, .field.invalid select { border-color: var(--crimson); }
/* Header on the Support / Privacy / Terms / 404 pages: Support link + button in one row, also on phones */
.site-nav.legal-nav { display: flex; flex-direction: row; align-items: center; gap: 20px; position: static; padding: 0; border: 0; background: none; box-shadow: none; width: auto; inset: auto; }
.site-nav.legal-nav a:not(.btn) { padding: 0; border: 0; }
.site-nav.legal-nav .btn { margin-top: 0; white-space: nowrap; }
.header-inner .logo-link { flex-shrink: 0; }
@media (max-width: 420px) { .site-nav.legal-nav { gap: 14px; } .header-inner:has(.legal-nav) .logo { height: 34px; } }
@media (max-width: 420px) { .site-nav.legal-nav a:not(.btn) { display: none; } }


/* =========================================================
   LaiQ Digital — small interactive upgrades (Nov 2026)
   Layout stays as in styles.css; this only adds motion and the new bits.
   ========================================================= */

/* ---------- Fade sections in as you scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero: the growth system steps light up in turn ---------- */
.flow li { transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease; }
.flow .flow-num { transition: background 0.35s ease, transform 0.35s ease; background: #3A2027; }
.flow li.active { background: #2A1218; box-shadow: inset 0 0 0 1px var(--crimson-bright); transform: translateX(4px); }
.flow li.active .flow-num { background: var(--crimson-bright); transform: scale(1.08); }

/* ---------- Services: plain-English terms open with a tap ---------- */
details.terms > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.terms > summary::-webkit-details-marker { display: none; }
details.terms > summary h3 { margin: 0; }
details.terms > summary::after { content: "+"; font-size: 1.6rem; font-weight: 700; color: var(--crimson); transition: transform 0.2s; }
details.terms[open] > summary::after { transform: rotate(45deg); }
details.terms[open] > summary { margin-bottom: 24px; }

/* ---------- Industries: the list scrolls slowly across ---------- */
.industry-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.industry-marquee .industry-list { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: lq-scroll 45s linear infinite; }
.industry-marquee:hover .industry-list { animation-play-state: paused; }
.industry-marquee .industry-list li { white-space: nowrap; }
@keyframes lq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Package finder ---------- */
.finder-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.finder-options { display: grid; gap: 10px; margin-top: 24px; }
.finder-opt {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px;
  background: var(--white); font-weight: 600; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.finder-opt:hover { border-color: var(--crimson); }
.finder-opt input { width: 20px; height: 20px; accent-color: var(--crimson); flex: 0 0 20px; }
.finder-opt:has(input:checked) { border-color: var(--crimson); background: #FBEAEC; }
.finder-result { background: var(--charcoal); color: var(--white); border-radius: 24px; padding: 36px; box-shadow: 0 30px 60px rgba(15, 17, 21, 0.2); }
.finder-kicker { color: var(--muted-light); font-weight: 600; margin: 0 0 6px; }
.finder-name { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 6px; }
.finder-price { color: #F4A3AE; font-weight: 700; font-size: 1.15rem; margin: 0 0 14px; }
.finder-why { color: #D4D4D8; margin: 0 0 24px; }
.finder-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.finder-result .btn-primary { background: var(--crimson-bright); }
.finder-result .btn-primary:hover { background: var(--crimson); }
.btn-ghost-light { border-color: #3A3D45; color: var(--white); background: transparent; }
.btn-ghost-light:hover { background: var(--white); color: var(--charcoal); }
.finder-result.bump { animation: lq-bump 0.35s ease; }
@keyframes lq-bump { 50% { transform: scale(1.02); } }

/* recommended card in Pricing */
.price-card { transition: box-shadow 0.3s, outline-color 0.3s; outline: 3px solid transparent; outline-offset: 4px; }
.price-card.recommended { outline-color: var(--crimson-bright); }
.price-card .rec-badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--crimson-bright); color: var(--white);
  font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}

/* ---------- Pricing: Monthly / First payment switch ---------- */
.price-toggle { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); }
.price-toggle button { font: inherit; font-weight: 700; font-size: 0.95rem; border: 0; background: none; color: var(--muted); padding: 10px 18px; min-height: 44px; border-radius: 999px; cursor: pointer; }
.price-toggle button.active { background: var(--charcoal); color: var(--white); }
.price-first { display: none; font-size: 2.5rem; font-weight: 800; line-height: 1.1; margin: 0 0 8px; }
.price-first span { font-size: 1rem; font-weight: 600; color: var(--muted-light); }
.price-first small { display: block; font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.price-card.featured .price-first small { color: var(--muted-light); }
.pricing-grid.show-first .price, .pricing-grid.show-first .price-setup { display: none; }
.pricing-grid.show-first .price-first { display: block; }

/* ---------- Testimonials: client logo, what we did, link to their site ---------- */
.t-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.t-top .tag { align-self: center; }
.t-logo { height: 56px; width: auto; max-width: 150px; object-fit: contain; }
.t-work { list-style: none; padding: 0; margin: -6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.t-work li { font-size: 0.8rem; font-weight: 700; color: var(--charcoal); background: var(--offwhite); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; }
.testimonial figcaption { flex-wrap: wrap; }
.t-who { flex: 1; }
.t-link { font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.t-link:hover { text-decoration: underline; }

/* ---------- FAQ: smooth open ---------- */
.faq details[open] p { animation: lq-fade 0.3s ease; }
@keyframes lq-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

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

/* People who turn off motion get none of it */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .industry-marquee .industry-list { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .flow li, .flow .flow-num { transition: none; }
}

/* ---------- Service icons draw in, then bounce on hover ---------- */
.card-icon { transition: background 0.25s ease, transform 0.25s ease; }
.card-icon svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.card.reveal .card-icon svg * { stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s ease 0.15s; }
.card.reveal.in .card-icon svg * { stroke-dashoffset: 0; }
.card:hover .card-icon { background: var(--crimson); transform: translateY(-3px) rotate(-6deg); }
.card:hover .card-icon svg { stroke: var(--white); }

/* ---------- Process: the red line fills in and each step lights up ---------- */
.steps .step { position: relative; border-top-color: var(--border); }
.steps .step::before { content: ""; position: absolute; top: -3px; left: 0; height: 3px; width: 0; background: var(--crimson); transition: width 0.8s ease; }
.steps .step .step-num { transition: color 0.4s ease, transform 0.4s ease; color: #D4B8BC; }
.steps .step.lit::before { width: 100%; }
.steps .step.lit .step-num { color: var(--crimson); transform: translateY(-2px); }

/* ---------- Quote form: note when the package finder filled it in ---------- */
.quote-form .prefill-note { margin: 0; padding: 10px 14px; border-radius: 10px; background: #FBEAEC; color: var(--crimson-dark); font-size: 0.92rem; font-weight: 600; }

/* ---------- Phones: call / quote bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    transition: transform 0.3s ease;
  }
  .mobile-cta.away { transform: translateY(110%); }
  .mobile-cta .btn { min-height: 48px; }
  body:has(.mobile-cta) { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .card.reveal .card-icon svg * { stroke-dashoffset: 0; transition: none; }
  .steps .step::before { transition: none; }
}

/* The site is a light design: keep form controls light even when the device is in dark mode */
:root { color-scheme: light; }

/* ---------- Pricing: custom builds (Nov 17) ---------- */
.custom-build { margin: 32px auto 0; max-width: 820px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border: 1px dashed var(--crimson); border-radius: var(--radius); background: var(--white); }
.custom-build p { margin: 0; flex: 1 1 380px; color: var(--muted); }
.custom-build strong { color: var(--text); }
@media (max-width: 600px) { .custom-build .btn { width: 100%; } }
