/* ============================================
   ALEXO GROWTH SYSTEM — Website Template
   Professional light theme for service businesses
   Template source: SK Legacy Advisors build
   ============================================ */

/* --- CSS Custom Properties ---
   CUSTOMIZE PER CLIENT: Change --primary and --accent families only.
   All other variables are shared across all templates.

   Color suggestions by niche:
   - Financial/Legal: Navy #1B2A4A + Gold #C5A55A
   - Construction: Slate #2D3748 + Orange #E67E22
   - Medical/Dental: Teal #0D6B6E + Warm white #F0E6D3
   - Insurance: Deep blue #1A365D + Green #38A169
   - CPA/Accounting: Charcoal #1A202C + Blue #3182CE
*/
:root {
  /* CLIENT BRAND COLORS - Bob Buys Homes Fast (Aggie maroon on warm-neutral dark) */
  --primary: #500000;
  --primary-light: #6e0000;
  --primary-glow: rgba(80, 0, 0, 0.15);
  --primary-gradient: linear-gradient(135deg, #500000, #3d0000);

  --accent: #c9972b;
  --accent-light: #e0b549;
  --accent-glow: rgba(201, 151, 43, 0.2);

  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F3F4F6;
  --bg-nav: rgba(255, 255, 255, 0.95);
  --bg-dark: #1E1414;

  --text: #1A1A2E;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --text-on-dark: #FFFFFF;
  --text-on-dark-secondary: rgba(255, 255, 255, 0.7);

  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 1000px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --section-spacing: clamp(60px, 8vw, 120px);
  --container-padding: clamp(20px, 5vw, 40px);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}

p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 680px;
}

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.nav--scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 0;
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__link {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--primary);
}

.nav__phone svg {
  width: 16px;
  height: 16px;
}

.nav__cta {
  margin-left: 16px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav__mobile--open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
}

.nav__mobile .nav__mobile-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.125rem;
}

/* Mobile menu CTA button — keep white text on maroon (overrides .nav__mobile a) */
.nav__mobile a.btn,
.nav__mobile a.btn--primary,
.nav__mobile a.btn--accent,
.nav__mobile a.btn--large {
  color: var(--text-on-dark);
}

.nav__mobile a.btn--primary {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .nav__links,
  .nav__phone,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.938rem;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--primary);
  color: var(--text-on-dark);
  border: 2px solid var(--primary);
}

.btn--primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent);
  color: #2a1a00;
  border: 2px solid var(--accent);
  font-weight: 700;
}

.btn--accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--small {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 16px;
}

.btn--ghost:hover {
  color: var(--primary);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__gradient--1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, var(--primary-glow), transparent 70%);
  opacity: 0.5;
}

.hero__gradient--2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  opacity: 0.4;
}

.hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  margin: 0 auto 32px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.hero__phone svg {
  width: 20px;
  height: 20px;
}

/* --- Sections --- */
.section {
  padding: var(--section-spacing) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-on-dark);
}

.section--dark p {
  color: var(--text-on-dark-secondary);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section__header p {
  margin: 16px auto 0;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section--dark .section__label {
  color: var(--accent);
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--text);
}

.card__text {
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: 10px;
}

.card__link svg {
  width: 14px;
  height: 14px;
}

/* Feature card (icon left, text right) */
.feature-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
  padding: 32px 0;
}

.trust-bar__item {
  text-align: center;
}

.trust-bar__value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--primary);
}

.trust-bar__label {
  font-size: 0.813rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin: 0 auto 32px;
}

.cta-section .cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.cta-section .cta-phone svg {
  width: 20px;
  height: 20px;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.938rem;
  margin: 32px 0;
}

.comparison-table th {
  background: var(--primary);
  color: var(--text-on-dark);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
}

.comparison-table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.comparison-table tr:nth-child(even) {
  background: var(--bg-alt);
}

.comparison-table .check {
  color: var(--accent);
  font-weight: 700;
}

.comparison-table .highlight-col {
  background: rgba(197, 165, 90, 0.08);
  font-weight: 600;
  color: var(--text);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--text-tertiary);
  transition: transform var(--transition-base);
}

.faq-item--open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer__inner {
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 0.938rem;
  line-height: 1.7;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%236B7280' stroke-width='1.5'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-error {
  display: none;
  font-size: 0.813rem;
  color: #ef4444;
  margin-top: 4px;
}

.form-group--error .form-input,
.form-group--error .form-select,
.form-group--error .form-textarea {
  border-color: #ef4444;
}

.form-group--error .form-error {
  display: block;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-on-dark);
  margin-bottom: 12px;
}

.footer__brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
}

.footer__text {
  font-size: 0.938rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 16px;
}

.footer__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer__phone svg {
  width: 16px;
  height: 16px;
}

.footer__email {
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
}

.footer__heading {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.938rem;
  color: var(--text-on-dark-secondary);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-size: 0.813rem;
  color: var(--text-on-dark-secondary);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.813rem;
  color: var(--text-on-dark-secondary);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--accent);
}

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

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --- Utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Benefits grid (2 col on large, 1 col on mobile) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

/* Why-grid (homepage "Why sellers call me first" section) */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
  }
  .why-grid__intro {
    text-align: left;
  }
  .why-grid__intro .btn {
    display: inline-flex;
  }
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 16px;
}

.process-step__title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Disclaimer */
.disclaimer {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 800px;
  margin: 32px auto 0;
  text-align: center;
}

/* Responsive inline grids (used in about, contact, services, homepage CTA) */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1fr 1.5fr"],
  [style*="grid-template-columns: 1.5fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* Review widget */
.review-widget-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.review-widget-container iframe {
  border-radius: var(--radius-lg);
}

/* ============================================================
   PAGE-TEMPLATE COMPONENTS
   Added for: services.html, about.html, contact.html,
   thank-you.html, resources.html, pillar.html, blog/index.html
   ============================================================ */

/* Inner-page hero (no gradient BG, tighter padding) — per wireframe-sop.md:
   service/inner pages use text-first heroes, no background images */
.hero--inner {
  padding: 120px 0 64px;
  background: var(--bg);
}
.hero--inner .hero__content {
  max-width: 820px;
}

/* Active nav link */
.nav__link--active {
  color: var(--primary);
  font-weight: 600;
}

/* Qualifying list (check/cross) */
.qual-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.qual-list li {
  position: relative;
  padding-left: 32px;
  line-height: 1.6;
}
.qual-list--yes li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  background-image: linear-gradient(45deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%);
}
.qual-list--no li::before {
  content: "✕";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c03a3a;
  font-weight: 700;
}

/* ============ services.html ============ */
.service-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  margin-top: 80px;
}
.service-block:first-child {
  margin-top: 48px;
}
.service-block--reverse {
  grid-template-columns: 0.8fr 1.2fr;
}
.service-block--reverse .service-block__content {
  grid-column: 2;
  grid-row: 1;
}
.service-block--reverse .service-block__visual {
  grid-column: 1;
  grid-row: 1;
}
.service-block__number {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.service-block__content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 16px;
  color: var(--primary);
}
.service-block__content p {
  margin-bottom: 24px;
  line-height: 1.7;
}
.service-block__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.service-block__bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.service-block__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.service-block__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}
.service-block__icon-wrap {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.service-block__icon-wrap svg {
  width: 80px; height: 80px;
}

/* Process grid (services.html "how we work") */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.process-step {
  text-align: left;
}
.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.process-step h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============ about.html ============ */
.founder-portrait-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-portrait {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-caption {
  text-align: center;
  margin-top: 16px;
}
.founder-caption strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
}
.founder-caption span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============ contact.html ============ */
.contact-info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  font-size: 1.5rem;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.contact-info-item:first-of-type {
  border-top: none;
  padding-top: 0;
}
.contact-info-item__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item__icon svg {
  width: 18px; height: 18px;
}
.contact-info-item__label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.contact-info-item__value {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}
.contact-info-item__value:hover {
  color: var(--accent);
}

/* ============ thank-you.html ============ */
.thank-you-icon {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  color: var(--accent);
}
.thank-you-icon svg {
  width: 100%; height: 100%;
}
.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}
.next-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.next-step:first-of-type {
  border-top: none;
  padding-top: 0;
}
.next-step__number {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}
.next-step__body h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.next-step__body p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ resources.html (FAQ accordion) ============ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-item[open] {
  border-color: var(--accent);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item__body {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Card with link variant (whole card clickable) */
.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

/* ============ pillar.html (long-form article) ============ */
.article {
  padding: 48px 0 80px;
}
.article-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}
.article-toc__heading {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.article-toc ol {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 8px;
}
.article-toc a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}
.article-toc a:hover {
  border-bottom-color: var(--accent);
}
.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}
.article-body p {
  margin-bottom: 24px;
}
.article-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--primary);
  margin-top: 48px;
  margin-bottom: 20px;
  scroll-margin-top: 80px;
}
.article-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.375rem;
  color: var(--primary);
  margin-top: 32px;
  margin-bottom: 12px;
}
.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-cta {
  margin: 48px 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta h3 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.article-cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

/* ============ blog/index.html ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.blog-card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.blog-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.blog-card__tag {
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-card__excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9375rem;
}
.blog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-secondary);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .service-block,
  .service-block--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-block--reverse .service-block__content,
  .service-block--reverse .service-block__visual {
    grid-column: 1;
    grid-row: auto;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .article-toc {
    padding: 24px;
  }
  .article-cta,
  .contact-info-card {
    padding: 28px;
  }
  .service-block__icon-wrap {
    width: 160px; height: 160px;
  }
  .service-block__icon-wrap svg {
    width: 60px; height: 60px;
  }
}

/* ============================================
   BOB BUYS HOMES FAST — Custom Extensions
   ============================================ */

/* Nav logo image (replaces initials block) */
.nav__logo-img {
  height: 68px;
  width: auto;
  display: block;
}
.nav--scrolled .nav__logo-img { height: 56px; }
@media (max-width: 700px) {
  .nav__logo-img { height: 52px; }
  .nav--scrolled .nav__logo-img { height: 44px; }
}
.footer__brand-img { height: 84px; width: auto; display: block; margin-bottom: 16px; }
.visually-hidden-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Hero with side form (services pages) */
.hero--with-form .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero--with-form .hero__content { padding-top: 80px; padding-bottom: 40px; }
.hero-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.hero-form-card .form-subtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .hero--with-form .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Use-case / objection / diff grids */
.use-case-grid,
.objection-grid,
.diff-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.use-case-card,
.objection-card,
.diff-card,
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition-base);
}
.use-case-card:hover,
.objection-card:hover,
.diff-card:hover,
.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.use-case-card h4,
.objection-card h4,
.diff-card h4,
.value-card h4 {
  color: var(--primary);
  margin-bottom: 8px;
}
.use-case-card p,
.objection-card p,
.diff-card p,
.value-card p {
  font-size: 0.95rem;
  margin-top: 6px;
}
.use-case-card__num,
.objection-card__num {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  width: 32px; height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* "What we buy" bullet list */
.we-buy-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 32px;
  padding: 0;
}
.we-buy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
  padding: 14px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}
.we-buy-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d305f' stroke-width='3'><path d='M5 12l5 5L20 7'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d305f' stroke-width='3'><path d='M5 12l5 5L20 7'/></svg>") no-repeat center / contain;
}

/* Process steps for service pages */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
  counter-reset: step;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
  width: 36px; height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-bottom: 14px;
}
.process-step h4 { color: var(--primary); margin-bottom: 6px; }
.process-step p { font-size: 0.95rem; }

/* Local section block */
.local-section {
  background: var(--bg-alt);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 48px;
  margin-top: 24px;
}
.local-section h2 { color: var(--primary); margin-bottom: 16px; }
.local-section p { margin-bottom: 16px; max-width: 720px; }
.local-section .trust-line {
  font-weight: 600;
  color: var(--primary);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 24px;
}
@media (max-width: 640px) { .local-section { padding: 28px; } }

/* Service area list */
.service-area-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.service-area-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--text);
}
.service-area-list li strong { color: var(--primary); display: block; margin-bottom: 4px; }

/* Testimonial cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Poppins', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  position: absolute;
  top: 16px; left: 22px;
  opacity: 0.4;
}
.testimonial-card__quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-card__name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.testimonial-card__tag {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* FAQ accordion (details/summary) */
.faq-section { margin-top: 48px; }
.faq-section + .faq-section { margin-top: 64px; }
.faq-section h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-card); }
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent);
  transition: var(--transition-base);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  max-height: none;
  overflow: visible;
}

/* About page founder story */
.founder-story {
  max-width: 760px;
  margin: 0 auto;
}
.founder-story p {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
}
.founder-story .signature {
  margin-top: 32px;
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
}
.owner-block {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-top: 48px;
  text-align: center;
}
.owner-block h3 { color: var(--primary); margin-bottom: 4px; }
.owner-block .owner-title { color: var(--accent); font-weight: 600; }
.owner-block .owner-location { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.owner-block p { margin: 0 auto; }

/* Pillar/blog article body */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 {
  margin-top: 56px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.article-body h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--primary);
}
.article-body p {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
  max-width: none;
}
.article-body ul, .article-body ol {
  margin: 16px 0 22px 22px;
  padding: 0;
}
.article-body li {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 10px;
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 1.1rem;
  color: var(--primary);
  font-style: italic;
}
.article-body strong { color: var(--primary); }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary); }
.article-meta {
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.article-meta .tag {
  background: var(--accent);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 10px;
}
.inline-cta-card {
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 36px 0;
  text-align: center;
}
.inline-cta-card h3 { color: #fff; margin-bottom: 8px; }
.inline-cta-card p { color: rgba(255,255,255,0.85); margin-bottom: 20px; max-width: none; }

/* Blog index card */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-base);
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.blog-card .meta { font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: 8px; }
.blog-card h3 { color: var(--primary); margin-bottom: 8px; }
.blog-card p { font-size: 0.98rem; margin-bottom: 16px; }
.blog-card a.read-more { color: var(--accent); font-weight: 600; }


/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
}
.contact-form-card h2 { margin-bottom: 8px; }
.contact-form-card > p { margin-bottom: 24px; color: var(--text-secondary); }
.contact-form .form-row { margin-bottom: 18px; }
.contact-form .form-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form .form-row--two { grid-template-columns: 1fr; } }
.contact-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.btn--block { width: 100%; }
.form-note { font-size: 0.85rem; color: var(--text-tertiary); margin-top: 14px; text-align: center; }
.contact-info-card {
  background: var(--bg-section-alt);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-info-card h3 { margin-top: 24px; margin-bottom: 12px; color: var(--primary); }
.contact-info-card h3:first-child { margin-top: 0; }
.contact-line { margin-bottom: 8px; }
.contact-line a { color: var(--accent); font-weight: 600; }
.contact-process { padding-left: 20px; margin: 0; }
.contact-process li { margin-bottom: 10px; }

/* Article meta + closing */
.hero__meta { color: var(--text-tertiary); font-size: 0.95rem; }
.article-closing { font-size: 1.05rem; margin-top: 28px; }
.signature { font-style: italic; color: var(--text-secondary); margin-top: 8px; }

/* Blog card grid extras */
.blog-card__tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.blog-card__meta { font-size: 0.88rem; color: var(--text-tertiary); margin-bottom: 12px; }
.blog-card__link { color: var(--accent); font-weight: 600; }

/* ============================================
   PHASE 7.5 POST-LAUNCH VISUAL FIXES
   - Offer form styling (form tags were unstyled)
   - FAQ answer padding (p tag had no .faq-answer wrapper)
   - stagger-children initial hidden state
   - section--dark content color hierarchy
   ============================================ */

/* Offer form — inputs were rendering with browser default chrome */
.offer-form { display: block; }
.offer-form .form-row { margin-bottom: 18px; }
.offer-form .form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .offer-form .form-row--two { grid-template-columns: 1fr; }
}
.offer-form label {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 600;
}
.offer-form input,
.offer-form select,
.offer-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.offer-form textarea { min-height: 100px; resize: vertical; }
.offer-form button[type="submit"],
.offer-form .btn { width: 100%; margin-top: 8px; }
.offer-form .form-note,
.offer-form p.note {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 12px;
  text-align: center;
}

/* Forms inside dark section need inverted label color */
.section--dark .offer-form label,
.section--dark .offer-form .form-note,
.section--dark .offer-form p.note { color: rgba(255, 255, 255, 0.85); }

/* FAQ answer — template markup is <details><summary>Q</summary><p>A</p></details>;
   the .faq-answer CSS never matched so <p> had no padding */
.faq-item > p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-item > p + p { padding-top: 12px; }

/* Stagger-children initial hidden state (GSAP was setting this via fromTo;
   switching to IntersectionObserver + gsap.to() needs CSS seed) */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

/* section--dark needs better contrast hierarchy so the big brown block
   doesn't read as "empty" before reveals fire */
.section--dark {
  color: rgba(255, 255, 255, 0.92);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, 0.82); }
.section--dark .section__eyebrow,
.section--dark .badge { color: var(--accent); }

/* Cards on light backgrounds need a visible border + shadow so they don't
   disappear into the gray background */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(80, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* ============================================
   PHASE 7.5 ROUND 2 VISUAL FIXES (per Lorenzo)
   1) .section--dark → Aggie maroon (was warm-neutral brown)
   2) Opt-in form → floating white card w/ shadow on maroon
   3) Card icons → bigger, maroon-filled circle w/ gold icon
   4) Feature-card icons → same visual upgrade
   5) .section--dark final-CTA gets a subtle gold-accent stripe
   ============================================ */

/* 1) Dark sections now Aggie maroon with a warm inner gradient */
.section--dark {
  background: linear-gradient(180deg, #500000 0%, #3d0000 100%);
  color: #fff;
  position: relative;
}
.section--dark::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.9;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, 0.88); }
.section--dark .section__label,
.section--dark .section__eyebrow,
.section--dark .badge { color: var(--accent); }

/* 2) Opt-in form redesign — floating white card on maroon */
.section--dark .offer-form,
.form-card--opt-in {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
  max-width: 520px;
  margin: 0 auto;
  color: var(--text);
  position: relative;
}
.section--dark .offer-form::before {
  content: "";
  position: absolute;
  top: -6px; left: 32px; right: 32px;
  height: 6px;
  background: var(--accent);
  border-radius: 6px 6px 0 0;
}
.section--dark .offer-form label { color: var(--text); font-weight: 600; }
.section--dark .offer-form input,
.section--dark .offer-form select,
.section--dark .offer-form textarea {
  background: #fafaf8;
  border: 1.5px solid #e3e0d9;
  padding: 14px 16px;
  font-size: 1rem;
}
.section--dark .offer-form input:focus,
.section--dark .offer-form select:focus,
.section--dark .offer-form textarea:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 151, 43, 0.25);
}
.section--dark .offer-form button[type="submit"],
.section--dark .offer-form .btn--primary {
  background: var(--accent);
  color: #2a1a00;
  border-color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 24px;
  letter-spacing: 0.01em;
}
.section--dark .offer-form button[type="submit"]:hover,
.section--dark .offer-form .btn--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}
.section--dark .offer-form p.note,
.section--dark .offer-form .form-note {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* Two-column layout for opt-in section: copy left, form card right */
.section--dark .contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .section--dark .contact-split { grid-template-columns: 1fr; gap: 40px; }
}

/* 3) Card icons — bigger, maroon filled circle with gold icon inside */
.card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, #6e0000 100%);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(80, 0, 0, 0.18);
}
.card__icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

/* 4) Feature-card icons — same visual treatment */
.feature-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, #6e0000 100%);
  color: var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(80, 0, 0, 0.18);
}
.feature-card__icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

/* Card hover gets a warmer lift */
.card {
  border: 1px solid rgba(80, 0, 0, 0.08);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(80, 0, 0, 0.15);
}

/* Feature-card slightly more visual presence */
.feature-card {
  padding: 4px 0;
}
.feature-card h4,
.feature-card__title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 6px;
}

/* Footer stays warm-neutral dark so it's distinct from maroon CTA above */
.footer {
  background: #1E1414;
}
.footer__brand-img { filter: brightness(1.02); }

/* ============================================
   ROUND 3 — Card imagery + blog nav defense
   ============================================ */

/* Section anchor image — full-width visual hook above card grids */
.section-feature-image {
  margin: 0 auto 48px;
  max-width: 960px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(80,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
  aspect-ratio: 16 / 7;
}
.section-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(80,0,0,0.12) 100%);
  pointer-events: none;
}
@media (max-width: 700px) {
  .section-feature-image { margin-bottom: 32px; border-radius: 14px; }
}

/* Card grid upgrade — top-stripe accent, Bento-style hover */
.card {
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  opacity: 0.75;
}
.card:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(80,0,0,0.15);
}

/* Defense-in-depth: orphan .mobile-nav class must never render */
.mobile-nav { display: none !important; }

/* GHL inline-form iframe wrapper — drops the form-card chrome the iframe owns itself */
.form-card--iframe {
  padding: 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  min-height: 740px;
}
.form-card--iframe iframe { display: block; width: 100%; min-height: 720px; }
@media (max-width: 700px) {
  .form-card--iframe { padding: 4px; min-height: 760px; border-radius: 14px; }
  .form-card--iframe iframe { min-height: 740px; }
}
