/* ==========================================================
   style.css — MP CARS | kotlerassociates.com
   Design v3 — Bold Editorial / Newspaper
   ========================================================== */

:root {
  --ink:           #111111;
  --ink-soft:      #2d2d2d;
  --ink-muted:     #5c5c5c;
  --ink-faint:     #999999;
  --paper:         #ffffff;
  --paper-warm:    #f8f5f0;
  --rule:          #d8d4ce;
  --rule-light:    #eae7e2;

  --accent:        #d4380d;
  --accent-hover:  #b02e08;
  --accent-faint:  rgba(212,56,13,.07);
  --accent-border: rgba(212,56,13,.2);

  --masthead:      #0a0a0a;

  --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', Arial, Helvetica, sans-serif;
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--ink);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -200%;
  left: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: .5rem 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; text-decoration: none; color: var(--paper); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================
   HEADER — Masthead
   ========================================================== */
header {
  background: var(--masthead);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 62px;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--paper);
  margin-right: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  letter-spacing: .3px;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; color: var(--paper); }

.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 17px; height: 17px; fill: var(--paper); }

/* Burger */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle-label span {
  display: block;
  width: 24px; height: 2px;
  background: var(--paper);
  position: relative;
  transition: background .25s;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--paper);
  position: absolute;
  transition: transform .3s, top .3s;
}
.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after  { top:  8px; }

nav ul { list-style: none; display: flex; gap: .1rem; align-items: center; }

nav a {
  color: rgba(255,255,255,.6);
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: .4rem .85rem;
  transition: color .15s;
}
nav a:hover { color: var(--paper); text-decoration: none; }
nav a.active,
nav a[aria-current="page"] { color: var(--accent); }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.75rem;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.4;
}

.btn-accent {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--paper);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: var(--paper);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  background: var(--masthead);
  color: var(--paper);
  padding: 5.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

/* Publication meta-bar — newspaper masthead line */
.hero-pub-bar {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}
.hero-pub-bar span:not(:last-child)::after {
  content: '·';
  margin: 0 .9rem;
  opacity: .5;
}

.eyebrow {
  display: inline-block;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--accent);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  max-width: 660px;
  margin-bottom: 1.65rem;
  letter-spacing: -.8px;
  color: var(--paper);
}
.hero h1 em { font-style: italic; color: var(--accent); }

.hero-lead {
  font-size: 1.02rem;
  color: rgba(255,255,255,.62);
  max-width: 500px;
  margin-bottom: 2.25rem;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Stats panel */
.hero-panel {
  border: 1px solid rgba(255,255,255,.12);
  border-top: 3px solid var(--accent);
  padding: 2rem 1.75rem;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: rgba(255,255,255,.03);
}
.hstat-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
  letter-spacing: -1px;
}
.hstat-label {
  display: block;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: .4rem;
}

/* ==========================================================
   SECTION FRAMEWORK
   ========================================================== */
.section { padding: 5rem 0; }
.section-alt { background: var(--paper-warm); }

.section-header {
  margin-bottom: 3rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--ink);
}

.eyebrow-sm {
  display: block;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.4px;
  margin-bottom: .4rem;
  line-height: 1.15;
}
.section-header p { color: var(--ink-muted); font-size: .98rem; }

/* ==========================================================
   CONTENT CARDS — newspaper tile grid
   ========================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.content-card {
  background: var(--paper);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}
.content-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.content-card:hover { background: var(--paper-warm); }
.content-card:hover::after { transform: scaleX(1); }

.content-card .card-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.content-card .card-icon svg { width: 20px; height: 20px; fill: var(--accent); }

.content-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.content-card p { font-size: .92rem; color: var(--ink-muted); margin-bottom: .7rem; line-height: 1.75; }
.content-card p:last-child { margin-bottom: 0; }

/* ==========================================================
   TRUST BAND
   ========================================================== */
.trust-band {
  background: var(--masthead);
  color: var(--paper);
  padding: 5rem 0;
  text-align: center;
  border-top: 3px solid var(--accent);
}
.trust-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  margin-bottom: .9rem;
  color: var(--paper);
}
.trust-band p {
  color: rgba(255,255,255,.58);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4.5rem;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.about-text p { color: var(--ink-muted); margin-bottom: 1rem; line-height: 1.85; }

.about-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Sticky panel */
.about-panel {
  background: var(--masthead);
  padding: 2rem 1.75rem;
  color: var(--paper);
  position: sticky;
  top: 80px;
  border-top: 3px solid var(--accent);
}
.about-panel .panel-title {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.75rem; }
.stat-item {
  border: 1px solid rgba(255,255,255,.1);
  padding: 1rem;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--paper);
  display: block;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-top: .35rem;
}

/* Values list — dark panel */
.values-list { list-style: none; margin-bottom: 1.5rem; }
.values-list li {
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.6;
}
.values-list li:last-child { border-bottom: none; }
.values-list li::before { content: "—"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Checklist — light sections */
.checklist { list-style: none; }
.checklist li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: .95rem;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  line-height: 1.65;
}
.checklist li:last-child { border-bottom: none; }
.checklist li .ck { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.checklist li strong { color: var(--ink); }

/* Services list */
.services-list { list-style: none; }
.services-list li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: .95rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.services-list li:last-child { border-bottom: none; }
.services-list li::before { content: "→"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Legal info table */
.info-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info-table td { padding: .75rem 0; border-bottom: 1px solid var(--rule-light); vertical-align: top; }
.info-table tr:last-child td { border-bottom: none; }
.info-table .t-label { color: var(--ink); font-weight: 700; width: 40%; padding-right: 1.5rem; }
.info-table .t-value { color: var(--ink-muted); }
.info-table .t-value a { color: var(--accent); }

/* ==========================================================
   BLOG PAGE
   ========================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

/* Featured first article — full-width, editorial scale */
.blog-grid .article-card:first-child {
  grid-column: 1 / -1;
}
.blog-grid .article-card:first-child .card-body {
  padding: 2.75rem 2.5rem;
}
.blog-grid .article-card:first-child .card-body h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  max-width: 720px;
  line-height: 1.25;
  margin-bottom: .85rem;
}
.blog-grid .article-card:first-child .card-body p {
  font-size: .98rem;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.article-card {
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}
.article-card:hover { background: var(--paper-warm); }

.card-category-bar { height: 3px; background: var(--accent); }

.card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-chips { display: flex; gap: .6rem; margin-bottom: 1rem; flex-wrap: wrap; align-items: center; }

.chip {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: .2rem .55rem;
}
.chip-cat  { background: var(--accent); color: var(--paper); }
.chip-date { color: var(--ink-faint); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .78rem; font-family: 'Outfit', Arial, sans-serif; }
.chip-soon { color: var(--ink-faint); font-style: italic; }

.card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .65rem;
  line-height: 1.35;
}
.card-body p { font-size: .91rem; color: var(--ink-muted); flex: 1; margin-bottom: 1.25rem; line-height: 1.75; }

.card-link {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .15s;
  align-self: flex-start;
}
.card-link:hover { text-decoration: none; gap: .6rem; }

/* ==========================================================
   ARTICLE PAGE
   ========================================================== */
.article-hero {
  background: var(--masthead);
  color: var(--paper);
  padding: 3.5rem 0 3rem;
  border-bottom: 3px solid var(--accent);
}
.article-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 820px;
  margin-bottom: .9rem;
  color: var(--paper);
}
.article-meta-bar {
  font-size: .78rem;
  color: rgba(255,255,255,.48);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}
.article-meta-bar span:not(:last-child)::after {
  content: '·';
  margin-left: .5rem;
  opacity: .35;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.article-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.article-body > p:first-child { font-size: 1.1rem; color: var(--ink-soft); line-height: 1.9; }
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: 3rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 2px solid var(--rule-light);
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 .65rem;
}
.article-body p  { margin-bottom: 1.35rem; line-height: 1.9; color: var(--ink-muted); }
.article-body ul,
.article-body ol { margin: .5rem 0 1.5rem 1.25rem; }
.article-body li { margin-bottom: .6rem; color: var(--ink-muted); line-height: 1.75; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--accent); font-weight: 500; }
.article-back {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-light);
}
.article-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--rule-light);
}

/* Pull quote — magazine callout */
.pull-quote {
  margin: 2.75rem 0;
  padding: 1.75rem 2rem;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--rule-light);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}
.pull-quote::before {
  content: '\201C';
  display: block;
  font-size: 3.5rem;
  line-height: .8;
  color: var(--accent);
  margin-bottom: .5rem;
  font-style: normal;
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.75rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--rule);
}

.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }

.ci-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; fill: var(--accent); }

.ci-text strong {
  display: block;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .25rem;
}
.ci-text span, .ci-text a {
  font-size: .95rem;
  color: var(--ink-muted);
  line-height: 1.7;
  display: block;
}
.ci-text a:hover { color: var(--accent); text-decoration: underline; }

.contact-hint {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  font-size: .9rem;
  color: var(--ink-muted);
  margin-top: .5rem;
  line-height: 1.65;
}
.contact-hint strong { color: var(--ink); }

.contact-form-wrap {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  padding: 2.5rem 2rem;
}
.contact-form-wrap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .4rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--rule);
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,56,13,.08);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--ink-faint); }
.form-row textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
  font-size: .93rem;
}

/* ==========================================================
   PAGE HERO (inner pages)
   ========================================================== */
.page-hero {
  background: var(--masthead);
  color: var(--paper);
  padding: 3rem 0 2.75rem;
  border-bottom: 3px solid var(--accent);
}
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--paper);
}
.page-hero p { color: rgba(255,255,255,.58); font-size: .98rem; }

/* ==========================================================
   LEGAL PAGES
   ========================================================== */
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.legal-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2.75rem 0 .75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-light);
}
.legal-body h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 1.5rem 0 .4rem; }
.legal-body p  { margin-bottom: 1rem; color: var(--ink-muted); line-height: 1.85; }
.legal-body ul { margin: .5rem 0 1rem 1.5rem; }
.legal-body ul li { margin-bottom: .4rem; color: var(--ink-muted); }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--accent); font-weight: 500; }
.legal-effective {
  font-size: .85rem;
  color: var(--ink-faint);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-light);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer-accent-bar {
  height: 3px;
  background: var(--accent);
}

footer {
  background: var(--masthead);
  color: rgba(255,255,255,.48);
  font-size: .88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand .logo { font-size: 1.15rem; }
.footer-brand p {
  margin-top: .75rem;
  font-size: .83rem;
  color: rgba(255,255,255,.32);
  line-height: 1.75;
  max-width: 250px;
  font-family: 'Outfit', Arial, sans-serif;
}

.footer-col h4 {
  font-family: 'Outfit', Arial, sans-serif;
  color: var(--paper);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.42); font-size: .87rem; transition: color .15s; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }

.footer-col address {
  font-style: normal;
  font-size: .87rem;
  color: rgba(255,255,255,.42);
  line-height: 1.9;
}
.footer-col address a { color: rgba(255,255,255,.42); }
.footer-col address a:hover { color: var(--accent); text-decoration: none; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: .78rem;
  color: rgba(255,255,255,.26);
}
.footer-legal a { color: rgba(255,255,255,.36); transition: color .15s; }
.footer-legal a:hover { color: var(--accent); text-decoration: none; }
.footer-legal span { margin: 0 .5rem; opacity: .3; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid {
    gap: 0;
    background: none;
    border: none;
    grid-template-columns: 1fr;
  }
  .content-card {
    border: 1px solid var(--rule);
    border-top: none;
  }
  .content-card:first-child { border-top: 1px solid var(--rule); }
  .blog-grid {
    gap: 0;
    background: none;
    border: none;
    grid-template-columns: 1fr;
  }
  .blog-grid .article-card:first-child {
    grid-column: 1;
  }
  .blog-grid .article-card:first-child .card-body {
    padding: 1.75rem;
  }
  .blog-grid .article-card:first-child .card-body h3 {
    font-size: 1.2rem;
  }
  .article-card {
    border: 1px solid var(--rule);
    border-top: none;
  }
  .article-card:first-child { border-top: 1px solid var(--rule); }
}

@media (max-width: 768px) {
  .nav-toggle-label { display: block; }
  .header-inner { flex-wrap: wrap; height: auto; padding: .75rem 0; }

  nav {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease;
  }
  .nav-toggle:checked ~ nav { max-height: 400px; }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: .5rem 0 .75rem;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: .5rem;
  }
  nav a {
    display: block;
    padding: .65rem .5rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
  .nav-toggle:checked + .nav-toggle-label span::after  { transform: rotate(-45deg); top: 0; }

  .hero { padding: 3.5rem 0 3rem; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 2.5rem; }
  .section { padding: 3.5rem 0; }
}
