/* ============================================================
   ClearBooks — Shared Stylesheet
   Aesthetic: Warm-minimal, editorial calm, trustworthy
   Fonts: Cormorant Garamond (headings) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --cream:    #FAF8F5;
  --warm-white: #FFFFFF;
  --sand:     #EDE8E0;
  --clay:     #C9B99A;
  --slate:    #4A5568;
  --charcoal: #2D3142;
  --accent:   #3D6B5E;   /* muted teal-green — reliable, calm */
  --accent-light: #EAF1EF;
  --accent-mid:   #5C9186;
  --muted:    #8A8E99;
  --border:   #E4E0D8;
  --shadow-sm: 0 1px 4px rgba(45,49,66,0.06);
  --shadow-md: 0 4px 20px rgba(45,49,66,0.09);
  --shadow-lg: 0 12px 40px rgba(45,49,66,0.12);
  --radius:   10px;
  --radius-lg: 18px;
  --max-w: 1120px;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--charcoal);
  font-weight: 500;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { color: var(--slate); font-size: 1rem; line-height: 1.8; }
.lead { font-size: 1.15rem; line-height: 1.8; color: var(--slate); }
.muted { color: var(--muted); font-size: 0.875rem; }

/* ─── Layout Helpers ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ─── Section Headers ─── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-header { margin-bottom: 3.5rem; }
.section-header p { max-width: 52ch; }
.section-header.text-center p { margin: 0.75rem auto 0; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-mid);
  border-color: var(--accent-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(61,107,94,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  padding: 0.7rem 1.2rem;
}
.btn-ghost:hover { color: var(--accent); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1rem; }

/* ─── Cards ─── */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ─── Divider ─── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── Tags / Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
}
.nav-cta { margin-left: 0.5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.nav-mobile a {
  font-size: 1rem;
  color: var(--slate);
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--accent); background: var(--accent-light); }
.nav-mobile .btn { margin-top: 0.5rem; justify-content: center; }
.nav-mobile.open { display: flex; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 28ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ═══════════════════════════════════════════
   HERO — HOMEPAGE
═══════════════════════════════════════════ */
.hero {
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(61,107,94,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 5rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-light);
  border: 1px solid rgba(61,107,94,0.2);
  border-radius: 50px;
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { margin-bottom: 2.25rem; max-width: 46ch; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-trust-text { font-size: 0.82rem; color: var(--muted); }
.hero-certs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cert-tag {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate);
}

/* Hero visual panel */
.hero-visual {
  position: relative;
}
.hero-card-stack {
  position: relative;
  height: 360px;
}
.hero-stat-card {
  position: absolute;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
}
.hero-stat-card:nth-child(1) { top: 0; left: 0; right: 2rem; }
.hero-stat-card:nth-child(2) { bottom: 0; right: 0; left: 2rem; box-shadow: var(--shadow-lg); }
.hsc-label { font-size: 0.75rem; color: var(--muted); font-weight: 500; margin-bottom: 0.5rem; }
.hsc-value { font-family: var(--font-head); font-size: 2rem; font-weight: 500; color: var(--charcoal); }
.hsc-sub { font-size: 0.8rem; color: var(--accent); margin-top: 0.25rem; }
.hsc-row { display: flex; gap: 1rem; margin-top: 1rem; }
.hsc-item { flex: 1; }
.hsc-item-label { font-size: 0.7rem; color: var(--muted); margin-bottom: 0.2rem; }
.hsc-item-bar {
  height: 6px;
  background: var(--sand);
  border-radius: 3px;
  overflow: hidden;
}
.hsc-item-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

/* ═══════════════════════════════════════════
   BENEFITS
═══════════════════════════════════════════ */
.benefits { background: var(--warm-white); }
.benefit-card {
  padding: 2rem;
}
.benefit-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.benefit-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.benefit-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.steps { background: var(--cream); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--warm-white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  background: var(--cream);
}
.step-card h4 { margin-bottom: 0.5rem; }

/* ═══════════════════════════════════════════
   TRUST / CERTIFICATIONS
═══════════════════════════════════════════ */
.trust-section { background: var(--accent); color: #fff; }
.trust-section p { color: rgba(255,255,255,0.8); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.trust-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.trust-card h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 0.5rem; }
.trust-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.trust-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.trust-icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; }

/* ═══════════════════════════════════════════
   CONTACT CTA STRIP
═══════════════════════════════════════════ */
.cta-strip {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 3.5rem 0;
}
.cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0 4rem;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { max-width: 54ch; }

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 50px; height: 50px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.service-price {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.service-features { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--slate);
}
.service-features li::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  min-width: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%233D6B5E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 0.15rem;
}

/* Pricing comparison strip */
.pricing-note {
  background: var(--accent-light);
  border: 1px solid rgba(61,107,94,0.18);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.pricing-note svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.pricing-note p { color: var(--accent); font-size: 0.9rem; margin: 0; }

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-story { background: var(--warm-white); }
.about-story .grid-2 { gap: 5rem; }
.about-photo-block {
  position: relative;
}
.about-photo-placeholder {
  background: var(--sand);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-photo-placeholder svg { width: 80px; height: 80px; stroke: var(--clay); fill: none; stroke-width: 1; opacity: 0.5; }
.about-cert-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  min-width: 170px;
}
.about-cert-badge .label { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.5rem; }
.about-cert-badge ul { display: flex; flex-direction: column; gap: 0.35rem; }
.about-cert-badge li { font-size: 0.8rem; color: var(--accent); font-weight: 500; display: flex; align-items: center; gap: 0.4rem; }
.about-cert-badge li::before { content: '✓'; }

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1.1rem; }
.about-values { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-value { padding: 1.25rem; background: var(--cream); border-radius: var(--radius); }
.about-value h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--charcoal); }
.about-value p { font-size: 0.85rem; margin: 0; }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-layout { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info .lead { margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 42px; height: 42px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.contact-detail-text h4 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-detail-text p { font-size: 0.9rem; margin: 0; }

/* Form */
.contact-form-wrap {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { font-size: 0.9rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}
input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61,107,94,0.12);
  background: #fff;
}
textarea { resize: vertical; min-height: 120px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8E99' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; border-radius: var(--radius); margin-top: 0.5rem; }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 1rem; }

/* ═══════════════════════════════════════════
   BLOG
═══════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.blog-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img {
  height: 200px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-img svg { width: 48px; height: 48px; stroke: var(--clay); fill: none; stroke-width: 1; opacity: 0.5; }
.blog-card-body { padding: 1.75rem; }
.blog-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.blog-cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.blog-date { font-size: 0.78rem; color: var(--muted); }
.blog-card h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.65rem; }
.blog-card h3 a { transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 0.88rem; margin-bottom: 1rem; }
.blog-read-more { font-size: 0.84rem; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; transition: gap 0.2s; }
.blog-card:hover .blog-read-more { gap: 0.55rem; }

/* Blog post page */
.blog-post { background: var(--warm-white); }
.blog-post-inner { max-width: 720px; margin: 0 auto; }
.blog-post-inner h2 { margin: 2.5rem 0 1rem; font-size: 1.7rem; }
.blog-post-inner h3 { margin: 2rem 0 0.75rem; font-size: 1.35rem; }
.blog-post-inner p { margin-bottom: 1.25rem; }
.blog-post-inner ul, .blog-post-inner ol { margin: 1rem 0 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-post-inner li { font-size: 1rem; color: var(--slate); }
.blog-post-inner ul li { list-style: disc; }
.blog-post-inner ol li { list-style: decimal; }
.blog-post-callout {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.blog-post-callout p { color: var(--accent); margin: 0; }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 5rem 0 4rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .trust-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-cert-badge { right: 0; }
  .steps-grid { grid-template-columns: 1fr; }
}
