/* ============================================
   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 - Highway Homes Buys
     Primary: brand logo blue (sampled from highway-homes-buys-logo.png).
     Accent:  per Lyndell 2026-04-20 — pushed from yellow toward orange.
  */
  --primary: #0068ff;
  --primary-light: #3a8bff;
  --primary-glow: rgba(0, 104, 255, 0.18);
  --primary-gradient: linear-gradient(135deg, #0068ff, #3a8bff);

  --accent: #f8a300;
  --accent-light: #ffb733;
  --accent-glow: rgba(248, 163, 0, 0.22);

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

  --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;
}

@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 {
  /* "Get My Cash Offer" CTA — Lyndell 2026-04-20: make this orange */
  background: var(--accent);
  color: #FFFFFF;
  border: 2px solid var(--accent);
}

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

.btn--accent {
  background: var(--accent);
  color: var(--primary);
  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;
  }
}

/* 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;
  }
}

/* ============================================
   HIGHWAY HOMES BUYS — Custom Extensions
   ============================================ */

/* Nav logo image (replaces initials block) */
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.nav--scrolled .nav__logo-img { height: 38px; }
.footer__brand-img { height: 56px; 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 3 + 7 — Hero split layout, image-topped cards,
   image process steps, hero bg images, ghost-light button
   ========================================================== */

/* Split hero (left copy, right form) */
.hero--split { min-height: 88vh; padding-top: 120px; padding-bottom: 60px; }
.hero--split .hero__bg--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
.hero--split .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 16, 36, 0.82) 0%, rgba(8, 16, 36, 0.55) 60%, rgba(8, 16, 36, 0.35) 100%);
  z-index: -1;
}
.hero--split .container { position: relative; z-index: 1; }
.hero__split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__content--left {
  text-align: left;
  margin: 0;
  max-width: 600px;
}
.hero__title--on-image,
.hero h1.hero__title--on-image {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero__subtitle--on-image {
  color: rgba(255,255,255,0.92);
  margin: 0 0 32px;
  max-width: 560px;
}
.hero__badge--on-image {
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  border-color: transparent;
}
.hero__actions--left { justify-content: flex-start; }
.hero__phone--on-image { color: #fff; justify-content: flex-start; }

.hero__form-col { width: 100%; }
.hero-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px 20px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.45);
}
.hero-form-card h3 {
  font-size: 1.35rem;
  margin: 0 0 6px;
  color: var(--primary);
  font-weight: 700;
}
.hero-form-card .form-subtext {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

/* Ghost-light button — for use on dark hero backgrounds */
.btn--ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.85);
}

/* Image-topped cards (Two Ways We Buy) */
.card--with-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
}
.card__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card--with-image .card__title { margin: 0; }
.card--with-image .card__text { margin: 0; }

/* Image process steps */
.process-steps--with-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-step--accent {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.process-step--accent .process-step__image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}
.process-step--accent .process-step__num-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 2;
}
.process-step--accent h4 {
  margin: 20px 24px 8px;
  color: var(--primary);
}
.process-step--accent p {
  margin: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Generic hero background image (for FAQ + Blog hero--simple) */
.hero--simple.hero--with-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero--simple.hero--with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 16, 36, 0.82) 0%, rgba(8, 16, 36, 0.6) 100%);
  z-index: 0;
}
.hero--simple.hero--with-bg .container { position: relative; z-index: 1; }
.hero--simple.hero--with-bg .hero__title,
.hero--simple.hero--with-bg .hero__subtitle,
.hero--simple.hero--with-bg .hero__meta { color: #fff; }
.hero--simple.hero--with-bg .hero__subtitle { color: rgba(255,255,255,0.92); }
.hero--simple.hero--with-bg .hero__badge {
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  border-color: transparent;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .hero__split-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__content--left { max-width: 100%; text-align: center; }
  .hero__actions--left { justify-content: center; }
  .hero__phone--on-image { justify-content: center; }
  .hero--split { min-height: auto; padding-top: 110px; }
  .process-steps--with-images { grid-template-columns: 1fr; }
}

/* ==========================================================
   Dark-hero nav legibility
   On pages with a dark hero bg, the un-scrolled nav text/icons
   render white with a soft dark gradient backdrop so the menu
   + brand logo remain readable. Once .nav--scrolled fires
   (50px scroll), the existing white-bg + dark-text rules win.
   ========================================================== */

/* Soft dark gradient behind transparent nav so logo + links pop */
body.dark-hero .nav:not(.nav--scrolled)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 36, 0.55) 0%, rgba(8, 16, 36, 0.0) 100%);
  pointer-events: none;
  z-index: -1;
}
body.dark-hero .nav:not(.nav--scrolled) {
  position: fixed; /* preserve existing fixed behavior */
}

/* Light text + soft shadow for legibility.
   Selector covers BOTH markup variants:
   - main pages: <ul class="nav__links"><li><a class="nav__link">
   - inner pages: <nav class="nav__links"><a> (bare anchors, no class)
   The .nav__links a rule catches both; we use !important to beat any
   inherited link-color rules (e.g. anchor color, .nav__link color). */
body.dark-hero .nav:not(.nav--scrolled) .nav__links a,
body.dark-hero .nav:not(.nav--scrolled) .nav__link,
body.dark-hero .nav:not(.nav--scrolled) .nav__phone {
  color: #ffffff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
body.dark-hero .nav:not(.nav--scrolled) .nav__links a:hover,
body.dark-hero .nav:not(.nav--scrolled) .nav__links a.active,
body.dark-hero .nav:not(.nav--scrolled) .nav__link:hover,
body.dark-hero .nav:not(.nav--scrolled) .nav__link--active {
  color: var(--accent) !important;
}
body.dark-hero .nav:not(.nav--scrolled) .nav__phone svg {
  color: #ffffff;
}
/* Make sure nav__cta button keeps its orange bg + white text even
   when the more-specific .nav__links a rule above tries to claim it */
body.dark-hero .nav:not(.nav--scrolled) .nav__cta {
  color: #ffffff !important;
  text-shadow: none;
}

/* Hamburger bars switch to white */
body.dark-hero .nav:not(.nav--scrolled) .nav__hamburger span {
  background: #ffffff;
}

/* Brand logo: drop a subtle white halo so the dark logo doesn't
   disappear into the dark hero bg before scroll */
body.dark-hero .nav:not(.nav--scrolled) .nav__logo-img {
  filter: drop-shadow(0 1px 8px rgba(255, 255, 255, 0.55));
}

/* nav__cta is already orange + white text — no change needed */
