/* ============================================================
   PPC Gems — Design 5 Editorial Theme
   style.css
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Outfit:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --cream:        #f5f0e8;
  --cream-dark:   #ede8dd;
  --charcoal:     #1c1c1a;
  --charcoal-mid: #2e2e2b;
  --charcoal-light:#4a4a46;
  --muted:        #8a8a82;
  --red:          #be1e2d;
  --red-on-dark:  #ef4444;   /* lighter red for use on charcoal backgrounds */
  --red-light:    #e8d5d3;
  --red-pale:     #f9efee;
  --border:       #ddd8cc;
  --white:        #fdfcf9;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Outfit', sans-serif;
  --nav-h:        64px;
  --max-w:        1200px;
  --section-pad:  6rem 5vw;
  --radius:       3px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Background animation --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(192,57,43,0.035) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 75%, rgba(28,28,26,0.03) 0%, transparent 60%);
  animation: bgShift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes bgShift {
  0%   { opacity: 1; transform: scale(1) translate(0,0); }
  50%  { opacity: 0.7; transform: scale(1.04) translate(1%,1%); }
  100% { opacity: 1; transform: scale(1) translate(-1%,-0.5%); }
}
body > * { position: relative; z-index: 1; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; font-family: var(--font-sans); letter-spacing: -0.01em; }
p  { font-size: 1rem; line-height: 1.8; color: var(--charcoal-light); }

.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
.section    { padding: var(--section-pad); }
.section--dark  { background: var(--charcoal); }
.section--cream { background: var(--cream-dark); }
.section--white { background: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.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; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  letter-spacing: 0.01em;
  text-align: center;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-primary:hover { background: var(--red); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--charcoal); }

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { background: #a01828; }

.btn-ghost-light {
  background: transparent;
  color: rgba(245,240,232,0.8);
  border: 1.5px solid rgba(245,240,232,0.25);
}
.btn-ghost-light:hover { border-color: var(--cream); color: var(--cream); }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(28,28,26,0.08); }

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 0 1.1rem;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--charcoal); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(var(--nav-h) - 1px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  box-shadow: 0 8px 32px rgba(28,28,26,0.1);
}
.nav-links > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal-light);
  transition: color 0.15s, padding-left 0.15s;
}
.nav-dropdown a:hover { color: var(--red); padding-left: 1.5rem; }
.nav-dropdown .dropdown-label {
  display: block;
  padding: 0.4rem 1.25rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-cta { margin-left: 1.5rem; }
.nav-chevron { display: none; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.25s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow-x: hidden;
}
.hero-top {
  padding: 2rem 5vw 0;
  border-bottom: 2px solid var(--charcoal);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-top-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-top-label span { color: var(--red); }
.hero-top-note {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
}
.hero-body {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  padding: 0 5vw;
}
.hero-divider { background: var(--border); margin: 2rem 0; }
.hero-left {
  padding: 3rem 4rem 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-right {
  padding: 3rem 0 4rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--red);
}
.hero h1 { margin-bottom: 1.75rem; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 2rem;
  border-left: 3px solid var(--red);
  padding-left: 1.25rem;
}
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1;
  min-width: 100px;
  padding: 1.25rem 1.5rem 1.25rem 0;
  border-right: 1px solid var(--border);
  margin-right: 1.5rem;
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-stat-label { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

/* Platform grid in hero right */
.platform-grid-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.platform-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s, transform 0.2s;
}
.platform-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.platform-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.platform-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}
.platform-cert {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-pale);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.platform-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.platform-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}
.platform-link:hover { text-decoration: underline; }

/* ============================================================
   PARTNER BAR
   ============================================================ */
.partner-bar {
  background: var(--charcoal);
  padding: 1.25rem 5vw;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.partner-bar__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.partner-bar__items { display: flex; gap: 2rem; flex-wrap: wrap; }
.partner-bar__item {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(245,240,232,0.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.partner-bar__item::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 3.5rem; }
.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.section-header--row .section-note {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 280px;
  text-align: right;
}
.section-h2 { max-width: 580px; margin-bottom: 0.75rem; }
.section-p  { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 540px; margin-top: 0.5rem; }

/* ============================================================
   SERVICES LIST (editorial row style)
   ============================================================ */
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 70px 1fr 180px;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, padding 0.2s;
  cursor: default;
}
.service-row:last-child { border-bottom: none; }
.service-row:hover {
  background: var(--cream-dark);
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 -1rem;
}
.svc-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--border);
  font-style: italic;
  line-height: 1;
}
.svc-info h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.svc-info p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.svc-meta { text-align: right; }
.svc-cert {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.4rem;
}
.svc-link {
  font-size: 0.82rem;
  color: var(--charcoal);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
  text-decoration: none;
}
.svc-link:hover { gap: 0.6rem; color: var(--red); }
.svc-link::after { content: '→'; }

/* ============================================================
   SERVICE CARDS (grid style)
   ============================================================ */
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
  transition: border-top-color 0.2s, transform 0.2s;
}
.svc-card:hover { border-top-color: var(--red); transform: translateY(-2px); }
.svc-card h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.svc-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.svc-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 1rem;
  transition: gap 0.2s;
}
.svc-card .card-link:hover { gap: 0.6rem; }
.svc-card .card-link::after { content: '→'; }

/* ============================================================
   USP / WHY SECTION
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.why-card { border-top: 2px solid var(--border); padding-top: 1.5rem; }
.why-card.featured { border-top-color: var(--red); }
.why-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.why-card h4 { margin-bottom: 0.5rem; }
.why-card p  { font-size: 0.875rem; color: var(--charcoal-light); line-height: 1.75; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.45;
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.pull-quote::before {
  content: '\201C';
  font-size: 6rem;
  color: var(--red-light);
  position: absolute;
  top: -1.5rem; left: 0;
  line-height: 1;
  font-style: normal;
  pointer-events: none;
}
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.review-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.85rem; }
.review-stars { color: var(--red); font-size: 0.85rem; letter-spacing: 0.05em; }
.review-platform { font-size: 0.72rem; font-weight: 600; color: var(--muted); background: var(--white); padding: 0.2rem 0.6rem; border-radius: 100px; }
.review-text {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.review-author { font-size: 0.8rem; color: var(--muted); }
.review-author strong { color: var(--charcoal); font-weight: 600; display: block; font-family: var(--font-sans); font-style: normal; }
.rating-summary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.rating-big {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: -0.04em;
  line-height: 1;
}
.rating-details .stars { color: var(--red); font-size: 1.1rem; }
.rating-details p { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }

/* ============================================================
   CTA BAND (reusable include)
   ============================================================ */
.cta-band {
  background: var(--charcoal);
  padding: 4rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.cta-band__text h2 em { color: var(--red-on-dark); }
.cta-band__text p { font-size: 0.9rem; color: rgba(245,240,232,0.6); max-width: 480px; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.contact-section { padding: var(--section-pad); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.contact-left {
  background: var(--charcoal);
  padding: 3.5rem;
}
.contact-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.contact-left h2 em { color: var(--red-on-dark); }
.contact-left p { font-size: 0.9rem; color: rgba(245,240,232,0.6); line-height: 1.8; margin-bottom: 2rem; }
.contact-facts { display: flex; flex-direction: column; gap: 0.65rem; }
.contact-facts li {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.75);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}
.contact-facts li::before { content: '—'; color: var(--red-on-dark); font-weight: 700; flex-shrink: 0; }
.contact-direct { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(245,240,232,0.12); }
.contact-direct a {
  display: block;
  font-size: 0.875rem;
  color: rgba(245,240,232,0.55);
  margin-bottom: 0.35rem;
  transition: color 0.2s;
  text-decoration: none;
}
.contact-direct a:hover { color: var(--cream); }
.contact-right { background: var(--white); padding: 3.5rem; }
.contact-right h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 0.85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--charcoal-light); letter-spacing: 0.02em; }
.form-input, .form-select, .form-textarea {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--charcoal);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border-radius: var(--radius);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--charcoal); }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.02em;
}
.form-submit:hover { background: var(--red); }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: 0.2rem; display: none; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 5vw 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--cream-dark);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--border); }
.page-hero h1 { margin-bottom: 1rem; max-width: 700px; }
.page-hero h1 em { font-style: italic; color: var(--red); }
.page-hero-sub { font-size: 1.05rem; color: var(--charcoal-light); max-width: 600px; line-height: 1.8; }
.page-hero-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--charcoal-light);
}
.badge::before { content: '✓'; color: var(--red); font-size: 0.7rem; font-weight: 700; }

/* ============================================================
   FEATURE LIST (checklist style)
   ============================================================ */
.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; padding-bottom: 0; }
.feature-check {
  width: 22px; height: 22px;
  border: 1px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1rem;
}
.feature-text strong { display: block; font-size: 0.95rem; color: var(--charcoal); margin-bottom: 0.2rem; }
.feature-text span { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.case-card:hover { border-color: var(--red); transform: translateY(-2px); }
.case-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.case-card h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.case-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.case-results { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--border); }
.case-result-item { text-align: center; }
.case-result-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
}
.case-result-label { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.case-platform {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--cream-dark);
  color: var(--muted);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  padding: 4rem 5vw 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cream);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--red-on-dark); }
.footer-desc { font-size: 0.875rem; color: rgba(245,240,232,0.5); line-height: 1.75; max-width: 260px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 34px; height: 34px;
  border: 1px solid rgba(245,240,232,0.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social:hover { border-color: var(--red-on-dark); color: var(--red-on-dark); }
.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(245,240,232,0.3); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(245,240,232,0.35); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--cream); }
.footer-cities { font-size: 0.75rem; color: rgba(245,240,232,0.3); padding-top: 0.5rem; }
.footer-certifications {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem;
}
.footer-cert {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(245,240,232,0.45);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

/* ============================================================
   BREADCRUMB SCHEMA / NAV
   ============================================================ */
.breadcrumb-nav { padding: 0.75rem 5vw; background: var(--cream-dark); border-bottom: 1px solid var(--border); }

/* ============================================================
   COOKIE NOTICE
   ============================================================ */
.cookie-notice {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 480px;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  /* set display:none to deactivate */
}
.cookie-notice p { font-size: 0.82rem; color: rgba(245,240,232,0.7); line-height: 1.6; flex: 1; min-width: 200px; }
.cookie-notice p a { color: var(--cream); text-decoration: underline; }
.cookie-accept {
  background: var(--red);
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5vw;
  text-align: center;
}
.thankyou-inner { max-width: 560px; }
.thankyou-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}
.thankyou-inner h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.thankyou-inner h1 em { color: var(--red); }
.thankyou-inner p { color: var(--muted); margin-bottom: 2rem; line-height: 1.8; }

/* ============================================================
   404 PAGE
   ============================================================ */
.page404-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5vw;
  text-align: center;
}
.page404-inner { max-width: 520px; }
.page404-num {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.page404-inner h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.page404-inner p { color: var(--muted); margin-bottom: 2rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-story p { margin-bottom: 1.25rem; }
.about-story p:last-child { margin-bottom: 0; }
.credentials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.credential-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}
.credential-card h4 { font-size: 0.9rem; color: var(--charcoal); margin-bottom: 0.3rem; }
.credential-card p { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-content { max-width: 780px; margin: 0 auto; }
.privacy-content h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.privacy-content p { margin-bottom: 1rem; }
.privacy-content ul { list-style: disc; padding-left: 1.5rem; }
.privacy-content ul li { margin-bottom: 0.4rem; font-size: 0.95rem; color: var(--charcoal-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .case-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  /* Nav */
  .nav { padding: 0 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-chevron { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-h));
    background: var(--cream);
    padding: 1.5rem 1.25rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    align-items: stretch;
    z-index: 999;
  }
  .nav-links.open > li > a {
    height: auto;
    line-height: 1.5;
    padding: 0.9rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    border-bottom: 1px solid var(--border);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-links.open .nav-chevron {
    display: inline-block;
    font-size: 1.2rem;
    transition: transform 0.2s;
    color: var(--muted);
  }
  .nav-links.open .has-dropdown.expanded > a .nav-chevron {
    transform: rotate(180deg);
    color: var(--red);
  }
  /* Dropdown hidden by default on mobile, shown when expanded */
  .nav-links.open .nav-dropdown {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.25rem 1rem;
    background: transparent;
    border-left: 2px solid var(--border);
    margin: 0.25rem 0 0.5rem;
  }
  .nav-links.open .has-dropdown.expanded .nav-dropdown {
    display: block;
  }
  .nav-links.open .nav-dropdown li a {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: none;
    color: var(--charcoal-light, #444);
    font-weight: 500;
    display: block;
    height: auto;
    line-height: 1.5;
    justify-content: flex-start;
  }
  .nav-links.open .nav-dropdown .dropdown-label {
    font-size: 0.65rem;
    padding: 0.5rem 0 0.25rem;
    letter-spacing: 0.1em;
  }
  /* CTA button at bottom of mobile menu */
  .nav-links.open::after {
    content: '';
    display: block;
    flex-shrink: 0;
    height: 1rem;
  }
  .nav-mobile-cta {
    display: none;
  }
  .nav-links.open ~ .nav-mobile-cta,
  .nav-links.open + .nav-mobile-cta {
    display: block;
  }

  /* Hero */
  .hero { min-height: auto; }
  .hero-body { grid-template-columns: 1fr; padding: 0 1.25rem; }
  .hero-divider { display: none; }
  .hero-left { padding: 2rem 0 1.5rem; }
  .hero-right { padding: 0 0 2.5rem; }
  .hero-top { padding: 1.25rem 1.25rem 0; gap: 0.5rem; }
  .hero-top-note { display: none; }
  .hero-sub { max-width: 100%; font-size: 0.95rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 1.75rem;
  }
  .hero-stat {
    min-width: 0;
    padding: 1rem 0.75rem 1rem 0;
    border-right: 1px solid var(--border);
    margin-right: 0;
  }
  .hero-stat:nth-child(2n) { border-right: none; padding-left: 0.75rem; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .hero-stat:last-child { border-right: none; }
  .hero-stat-num { font-size: 1.6rem; }
  .platform-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-h) + 1.75rem) 1.25rem 2rem; }
  .page-hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .page-hero-sub { font-size: 0.95rem; }
  .page-hero-badges { gap: 0.4rem; }
  .badge { font-size: 0.7rem; padding: 0.25rem 0.65rem; }

  /* Layout */
  .grid-2, .about-story { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3, .reviews-grid, .why-grid, .credentials-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }

  /* Services list */
  .service-row { grid-template-columns: 50px 1fr; gap: 1rem; }
  .svc-meta { display: none; }

  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 2rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }

  /* CTA band */
  .cta-band { flex-direction: column; align-items: flex-start; padding: 2.5rem 1.25rem; }
  .cta-band__actions { width: 100%; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }

  /* Section headers */
  .section-header--row { flex-direction: column; }
  .section-header--row .section-note { text-align: left; max-width: 100%; }
  .section { padding: 3rem 1.25rem; }

  /* Partner bar */
  .partner-bar { padding: 1.25rem 1.25rem; gap: 1rem; flex-wrap: wrap; }

  /* Stat rows */
  .hero-stat { min-width: 80px; }

  /* Summary grid on pricing/faq */
  .sum-grid, .summary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --section-pad: 2.5rem 1rem; }

  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.2rem; }

  /* Nav logo */
  .nav-logo { font-size: 1.3rem; }

  /* Hero */
  .hero-top { padding: 1rem 1rem 0; }
  .hero-body { padding: 0 1rem; }
  .hero h1 { font-size: 2rem; margin-bottom: 1.25rem; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .hero-eyebrow { font-size: 0.65rem; margin-bottom: 1rem; }
  .hero-stats { margin-top: 1.25rem; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.7rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { padding: 0.85rem; }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-h) + 1.25rem) 1rem 1.75rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero-sub { font-size: 0.9rem; }

  /* Sections */
  .section { padding: 2.5rem 1rem; }
  .section-header { margin-bottom: 2rem; }

  /* Buttons */
  .btn-group { flex-direction: column; gap: 0.65rem; }
  .btn-group .btn { width: 100%; text-align: center; justify-content: center; }

  /* Option/why grids */
  .why-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .option-grid, .ogrid { grid-template-columns: 1fr 1fr; }
  .contact-wrap .form-row { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-question { font-size: 0.95rem; padding: 1.1rem 2.5rem 1.1rem 0; }

  /* Case studies */
  .case-grid { grid-template-columns: 1fr; }
  .case-results { gap: 0.75rem; flex-wrap: wrap; }

  /* Footer */
  .footer-cities { font-size: 0.72rem; line-height: 2; }
  .footer-logo { font-size: 1.3rem; }

  /* CTA band */
  .cta-band { padding: 2rem 1rem; }
  .cta-band__text h2 { font-size: 1.4rem; }
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  padding: 1.4rem 3rem 1.4rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--red);
  line-height: 1;
  transition: transform 0.25s;
}
details[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
details[open] .faq-question {
  color: var(--red);
}
.faq-answer {
  padding: 0 2rem 1.5rem 0;
  max-width: 800px;
}
.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--charcoal-light);
  margin: 0;
}
.faq-answer p a {
  color: var(--red);
  text-decoration: underline;
}
