/* ============================================================
   QI Carolina — Main Stylesheet
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --blue:        #1B6CA8;
  --blue-dark:   #155490;
  --blue-light:  #EEF5FB;
  --green:       #2D8653;
  --green-light: #EEF7F0;
  --amber:       #D97706;
  --amber-light: #FEF3C7;
  --teal:        #0F7173;
  --teal-light:  #E0F4F4;
  --purple:      #6D3FA5;
  --purple-light:#F3EEFE;
  --rose:        #C0344F;
  --rose-light:  #FEECEF;

  --text:        #1E293B;
  --text-mid:    #475569;
  --text-light:  #64748B;
  --border:      #E2E8F0;
  --bg:          #F8FAFC;
  --white:       #FFFFFF;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);

  --header-h:    70px;
  --max-w:       1160px;
  --section-gap: 96px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header h2 { margin-top: 8px; }

.section-sub {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h1 em { font-style: italic; color: var(--blue); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; font-family: 'Inter', sans-serif; }
h4 { font-size: 1rem; font-weight: 700; font-family: 'Inter', sans-serif; }

p { line-height: 1.7; color: var(--text-mid); }
strong { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: .9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,108,168,.3);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: rgba(27,108,168,.3);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--blue-light);
  border-color: var(--blue);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover, .btn-white:focus-visible {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }
.btn-sm { padding: 9px 20px; font-size: .875rem; margin-top: 16px; }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .02em;
  font-family: 'Inter', sans-serif;
}

.logo-text {
  font-family: 'Merriweather', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 50px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color .15s, background .15s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--bg);
}

.nav-links .nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 9px 22px;
  margin-left: 8px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: var(--blue-dark);
  color: var(--white);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background .15s;
}

.nav-toggle:hover { background: var(--bg); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
}

/* Mobile nav open */
.site-header.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  gap: 4px;
  align-items: stretch;
  margin-left: 0;
}

.site-header.nav-open .nav-links a { padding: 12px 16px; border-radius: var(--radius-sm); }
.site-header.nav-open .nav-links .nav-cta { margin: 8px 0 0; text-align: center; border-radius: var(--radius-sm); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  background: linear-gradient(155deg, #F0F7FF 0%, #EEF7F4 60%, #FEF9EC 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .45;
}

.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,108,168,.12) 0%, transparent 70%);
  top: -200px; right: -100px;
}

.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45,134,83,.1) 0%, transparent 70%);
  bottom: -100px; left: -80px;
}

.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(217,119,6,.1) 0%, transparent 70%);
  top: 30%; right: 25%;
}

.hero-inner {
  display: grid;
  gap: 60px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.hero-content { max-width: 560px; }

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

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
}

.hero-trust svg {
  width: 17px; height: 17px;
  color: var(--green);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-img-placeholder {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-img-placeholder svg { width: 85%; height: auto; }

.img-placeholder-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  color: var(--text-light);
  background: rgba(255,255,255,.85);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-mid);
  min-width: 100px;
  text-align: center;
}

.hero-badge strong {
  display: block;
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 3px;
}

.hero-badge--green { bottom: -12px; left: -16px; }
.hero-badge--green strong { color: var(--green); }

.hero-badge--amber { top: -12px; right: -12px; }
.hero-badge--amber strong { color: var(--amber); }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--blue);
  padding: 28px 0;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 40px;
}

.stat-number {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  letter-spacing: .02em;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.25);
  align-self: stretch;
  margin: 4px 0;
}

@media (max-width: 600px) {
  .stat-divider { display: none; }
  .stat { flex: 0 0 50%; padding: 12px 0; }
}

/* ---------- Services ---------- */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s;
}

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

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.service-icon svg { width: 26px; height: 26px; }

.si-blue   { background: var(--blue-light);   color: var(--blue); }
.si-green  { background: var(--green-light);  color: var(--green); }
.si-amber  { background: var(--amber-light);  color: var(--amber); }
.si-teal   { background: var(--teal-light);   color: var(--teal); }
.si-purple { background: var(--purple-light); color: var(--purple); }
.si-rose   { background: var(--rose-light);   color: var(--rose); }

.service-card h3 { margin-bottom: 10px; }
.service-card p  { font-size: .9375rem; }

/* ---------- About ---------- */
.about { background: var(--white); }

.about-inner {
  display: grid;
  gap: 60px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-inner { grid-template-columns: 1fr 1fr; }
}

.about-visual { position: relative; }

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-light);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-img-wrap svg { width: 85%; height: auto; }

.about-badge {
  position: absolute;
  bottom: 20px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--green);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.about-badge svg { width: 18px; height: 18px; flex-shrink: 0; }

.about-content { max-width: 520px; }

.about-content h2 { margin-top: 8px; margin-bottom: 20px; }

.about-content .lead {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.about-content p { margin-bottom: 14px; font-size: .9375rem; }

.value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.value-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 50px;
  background: var(--green-light);
  border: 1px solid #C6E8D4;
  font-size: .875rem;
  font-weight: 600;
  color: var(--green);
}

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

/* ---------- Why QI ---------- */
.why-qi { background: var(--bg); }

.why-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.why-item { display: flex; flex-direction: column; }

.why-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.why-icon svg { width: 22px; height: 22px; }

.why-item h3 { margin-bottom: 8px; }
.why-item p { font-size: .9375rem; }

/* ---------- Who We Serve ---------- */
.who-serve { background: var(--white); }

.who-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.who-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow .2s, transform .2s;
}

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

.who-card--cta {
  background: var(--blue-light);
  border-color: #C5DDF0;
}

.who-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 14px;
}

.who-card--cta .who-icon {
  background: rgba(27,108,168,.12);
}

.who-icon svg { width: 20px; height: 20px; }

.who-card h4 { margin-bottom: 6px; }
.who-card p  { font-size: .9rem; }

/* ---------- How It Works ---------- */
.how-it-works { background: var(--bg); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}

.step-num {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-family: 'Merriweather', serif;
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-body { padding-top: 14px; }
.step-body h3 { margin-bottom: 8px; }
.step-body p  { font-size: .9375rem; }

.step-connector {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--blue), rgba(27,108,168,.2));
  margin: 0 0 0 31px;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: auto auto;
  }
  .testimonial--featured {
    grid-row: 1 / 3;
    align-self: stretch;
  }
}

.testimonial {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.testimonial--featured {
  background: var(--blue);
  border-color: var(--blue);
}

.testimonial--featured p,
.testimonial--featured cite span { color: rgba(255,255,255,.85); }

.testimonial--featured cite strong { color: var(--white); }

.testimonial--featured .quote-mark { color: rgba(255,255,255,.25); }

.quote-mark {
  width: 36px; height: auto;
  color: var(--border);
}

.testimonial p {
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial footer { margin-top: auto; }

.testimonial cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
}

.testimonial cite strong { font-size: .9375rem; color: var(--text); }
.testimonial cite span   { font-size: .8125rem; color: var(--text-light); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #0F4D7A 100%);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cta-text h2 { color: var(--white); margin-bottom: 8px; }
.cta-text p  { color: rgba(255,255,255,.82); font-size: 1.0625rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact { background: var(--bg); }

.contact-inner {
  display: grid;
  gap: 60px;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-inner { grid-template-columns: 1fr 1.1fr; }
}

.contact-info h2 { margin-top: 8px; margin-bottom: 16px; }
.contact-info p  { margin-bottom: 32px; font-size: .9375rem; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item svg {
  width: 22px; height: 22px;
  color: var(--blue);
  margin-top: 1px;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item strong { font-size: .875rem; color: var(--text); }
.contact-item a      { font-size: .9375rem; color: var(--blue); }
.contact-item a:hover{ text-decoration: underline; }
.contact-item span   { font-size: .9375rem; color: var(--text-mid); }

/* --- Contact Form --- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.req { color: var(--rose); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,108,168,.14);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--rose);
}

.field-error {
  font-size: .8125rem;
  color: var(--rose);
  min-height: 1em;
}

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

/* Submit button spinner */
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn[data-loading="true"] .btn-text  { display: none; }
.btn[data-loading="true"] .btn-spinner { display: block; }

/* Form success */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--green-light);
  border: 1px solid #C6E8D4;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 12px;
  color: var(--green);
}

.form-success svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.form-success strong { display: block; color: var(--green); font-size: .9375rem; }
.form-success p  { font-size: .875rem; color: var(--green); margin: 2px 0 0; }

.form-note {
  margin-top: 14px;
  font-size: .8125rem;
  color: var(--text-light);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.2fr 2fr; }
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .logo-mark { background: rgba(255,255,255,.15); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: .875rem; line-height: 1.65; max-width: 260px; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 32px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col li,
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
