/*
 * MotorJaw - Public Website Stylesheet
 * assets/css/site.css
 * v1.0.0 - Fresh build replacing www.css. Brand: #10203f navy, #c22a2a
 *          red, Manrope throughout (no separate serif display font).
 *          Starfield removed entirely - see site.js. Dropped everything
 *          that was LeadJaw-the-product's UI rather than LeadJaw-the-
 *          name: mock dashboard panels, comparison tables, features
 *          subnav, pricing toggle/teaser, split feature sections. Kept
 *          and recoloured what's brand-agnostic: buttons, layout
 *          utilities, FAQ accordion, testimonials, contact form, forms,
 *          articles grid, footer (unchanged class names - footer.php
 *          still expects these). Header rebuilt white/sticky to match
 *          the new header.php (was fixed/dark navy, collided with the
 *          new header's class names).
 */

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Brand */
  --navy:          #10203f;
  --navy-mid:      #1c2f57;
  --navy-light:    #33456e;
  --red:           #c22a2a;
  --red-dark:      #9c2020;
  --red-light:     #e2a3a3;
  --success:       #2f7d4f;

  /* Page */
  --bg:            #f7f7f5;
  --bg-white:      #ffffff;
  --bg-muted:      #f0efec;
  --bg-tint:       #eef1f6;
  --surface:       #ffffff;
  --border:        #e2e0da;
  --border-light:  #ece9e4;

  /* Text */
  --text-head:     #10203f;
  --text-body:     #3a3830;
  --text-muted:    #7a7568;
  --text-light:    #a8a298;

  /* UI */
  --radius:        6px;
  --radius-lg:     12px;
  --radius-pill:   100px;
  --shadow-sm:     0 1px 3px rgba(16,32,63,0.06), 0 1px 2px rgba(16,32,63,0.04);
  --shadow:        0 4px 16px rgba(16,32,63,0.08), 0 1px 4px rgba(16,32,63,0.05);
  --shadow-lg:     0 16px 48px rgba(16,32,63,0.12), 0 4px 12px rgba(16,32,63,0.06);

  /* Layout */
  --max-w:         1160px;
  --max-w-text:    680px;
  --gutter:        24px;

  /* Type */
  --font-sans:     'Manrope', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
}

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

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

ul, ol {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-head);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 80px 0; }
.section--lg { padding: 120px 0; }
.section--sm { padding: 48px 0; }

.section--dark {
  background: var(--navy);
  color: #fff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark .lead {
  color: rgba(255,255,255,0.65);
}

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

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

.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--bg-white);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 0.5px solid var(--border);
}

.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { display: block; height: 34px; width: auto; }

.site-nav { display: flex; gap: 26px; flex: 1; }

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
}

.site-header-account {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.site-header-account-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

.site-header-account-link:hover { color: var(--red); }

.site-header-search {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--bg-muted);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
}

.site-header-search select,
.site-header-search input {
  border: none;
  background: none;
  font-size: 12px;
  color: var(--text-body);
  font-family: var(--font-sans);
}

.site-header--search-visible .site-header-search { display: flex; }

.site-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-nav.site-nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 0.5px solid var(--border);
    padding: 12px var(--gutter);
    gap: 14px;
    z-index: 99;
  }
  .site-header-search { display: none !important; }
  .site-nav-toggle { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 72px 0 64px;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 1; }

.hero-inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-visual { display: flex; align-items: center; justify-content: center; }

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(194,42,42,0.08);
  border: 1px solid rgba(194,42,42,0.2);
  border-radius: var(--radius-pill);
  padding: 5px 14px 5px 10px;
  margin-bottom: 24px;
}

.hero-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.hero-label-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red-dark);
  letter-spacing: 0.04em;
}

.hero h1 { max-width: 700px; margin-bottom: 20px; }
.hero .lead { max-width: 520px; margin-bottom: 28px; }

.hero-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* Hero search widget */
.hero-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  max-width: 640px;
  margin-bottom: 16px;
}

.hero-search-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 140px;
}

.hero-search-field label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.hero-search-field input,
.hero-search-field select {
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-body);
  background: none;
  padding: 4px 0;
}

.hero-search-field input:focus,
.hero-search-field select:focus { outline: none; }

@media (max-width: 768px) {
  .hero-inner--split { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
  .hero { padding: 56px 0 48px; }
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item { padding: 36px 28px; background: rgba(255,255,255,0.04); text-align: center; }

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label { font-size: 0.86rem; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ============================================================
   BROWSE BY BODY TYPE / BUYING ESSENTIALS
   ============================================================ */
.category-grid,
.essentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category-tile,
.essential-tile {
  display: block;
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.category-tile:hover,
.essential-tile:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-tile img,
.essential-tile img {
  max-width: 56px;
  height: auto;
  margin: 0 auto 14px;
  display: block;
}

.category-tile span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-head);
}

.essential-tile h4 { font-size: 0.98rem; margin-bottom: 6px; }
.essential-tile p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   FEATURES GRID (Why MotorJaw)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card { background: var(--bg-white); padding: 32px 28px; transition: background 0.2s; }
.feature-card:hover { background: var(--bg-muted); }
.feature-card h4 { margin-bottom: 8px; font-size: 1rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { max-width: 560px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .label { display: block; margin-bottom: 10px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1.02rem; }

/* ============================================================
   PROMO / VALUE-YOUR-VAN BANNER
   ============================================================ */
.section--promo-banner { padding: 48px 0 56px; background: var(--bg-white); }

.promo-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.section--promo-banner a { display: block; border-radius: var(--radius-lg); transition: opacity 0.2s; }
.section--promo-banner a:hover { opacity: 0.9; }

/* ============================================================
   INTEGRATIONS STRIP (Browse by brand)
   ============================================================ */
.integrations-strip { padding: 36px 0; border-bottom: 1px solid var(--border-light); background: var(--bg-white); }

.integrations-strip-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
  text-align: center;
}

.integrations-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.integration-logo-item { display: flex; align-items: center; justify-content: center; }

.integration-logo-item img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: opacity 0.2s, filter 0.2s;
}

.integration-logo-item:hover img { opacity: 1; filter: grayscale(0%); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-light);
  flex-shrink: 0;
}

.testimonial-name { font-size: 0.88rem; font-weight: 700; color: #fff; line-height: 1.2; }
.testimonial-role { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-head);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
  font-family: var(--font-sans);
}

.faq-question:hover { background: var(--bg-muted); }

.faq-question::after {
  content: '+';
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); color: var(--red); }

.faq-answer { display: none; padding: 0 26px 20px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

.faq-answer a,
.page-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover,
.page-content a:hover { color: var(--red-dark); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 1.02rem; margin: 0; }
.cta-banner-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ============================================================
   ARTICLES
   ============================================================ */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.article-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }

.article-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.article-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.article-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.article-date { font-size: 0.76rem; color: var(--text-light); }
.article-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

.article-card h4 { font-size: 1.05rem; color: var(--text-head); line-height: 1.3; margin-bottom: 8px; }
.article-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 18px; }
.article-card .btn { align-self: flex-start; }

.article-content { max-width: 100%; margin: 0 auto; }
.article-content h1 { margin-bottom: 16px; }
.article-content .article-meta { margin-bottom: 32px; }
.article-content .article-body-text { font-size: 1.02rem; line-height: 1.8; color: var(--text-body); }
.article-content .article-body-text h2 { font-size: 1.35rem; margin: 1em 0 0.4em; }
.article-content .article-body-text h3 { font-size: 1.1rem; margin: 1em 0 0.4em; }
.article-content .article-body-text p { margin-bottom: 1.3em; }
.article-content .article-body-text ul,
.article-content .article-body-text ol { list-style: disc; padding-left: 1.4em; margin-bottom: 1.3em; }
.article-content .article-body-text a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article-content .author-block a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article-content .author-block a:hover { color: var(--navy); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.contact-info h3 { margin-bottom: 14px; }
.contact-info p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }

.form-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--text-head); margin-bottom: 6px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-body);
  background: var(--bg-white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16,32,63,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

/* ============================================================
   PAGE HERO / BREADCRUMBS (standard pages)
   ============================================================ */
.page-hero { padding: 56px 0 40px; background: var(--bg-tint); border-bottom: 1px solid var(--border-light); }
.page-hero .label { display: block; margin-bottom: 12px; }
.page-hero--no-excerpt { padding-bottom: 40px; }
.page-hero + .section { padding-top: 48px; }
.section--article-body,
.page-hero + .section--article-body { padding-top: 10px; padding-bottom: 56px; }

.breadcrumb-list { list-style: none; margin: 0; padding: 0; }

.page-content { font-size: 1rem; line-height: 1.8; color: var(--text-body); }
.page-content h2 { margin: 1.8em 0 0.5em; font-size: clamp(1.2rem, 2vw, 1.4rem); }
.page-content h3 { margin: 1.5em 0 0.4em; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.page-content > *:first-child { margin-top: 0; }
.page-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.3em; }
.page-content ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1.3em; }

/* ============================================================
   FOOTER
   Unchanged class names - footer.php was not modified and still
   expects this exact structure.
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 64px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { max-width: 300px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.5); margin-bottom: 0; }

.footer-col-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }

.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.footer-social-link:hover { background: var(--red); color: #fff; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); line-height: 1.6; }

/* ============================================================
   ALERTS / SR-ONLY / ANIMATION
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.alert { padding: 14px 20px; border-radius: var(--radius); font-size: 0.9rem; border: 1px solid transparent; margin-bottom: 20px; }
.alert-success { background: rgba(47,125,79,0.08); border-color: rgba(47,125,79,0.25); color: var(--success); }
.alert-error { background: rgba(220,50,50,0.06); border-color: rgba(220,50,50,0.2); color: #b03030; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; max-width: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; }
  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { flex-direction: column; padding: 44px 28px; text-align: center; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero-search { flex-direction: column; align-items: stretch; }
  .integrations-logos { gap: 24px; }
}
