/* =========================================================
   Emeraude Santé Congo — feuille de style unique
   Aucune dépendance WordPress / Elementor / Bootstrap.
   ========================================================= */

:root {
  --color-brand: #2d7d68;
  --color-brand-dark: #205a4b;
  --color-ink: #1c2b28;
  --color-text: #5a6a67;
  --color-text-light: #8a9895;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f8f7;
  --color-bg-alt: #eef4f2;
  --color-line: #e3eae8;
  --color-white: #ffffff;

  --font-display: "Rubik", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(28, 43, 40, 0.06);
  --shadow-md: 0 12px 34px rgba(28, 43, 40, 0.12);
  --shadow-lg: 0 25px 60px rgba(28, 43, 40, 0.22);

  --container: 1180px;
  --header-h: 122px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--color-bg-soft); }
.section--tight { padding: 56px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--color-brand); display: inline-block; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { color: var(--color-text); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-brand); color: #fff; }
.btn-primary:hover { background: var(--color-brand-dark); transform: translateY(-2px); }
.btn-outline { border-color: currentColor; color: var(--color-ink); background: transparent; }
.btn-outline:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--color-brand-dark); border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Icons (inline SVG sprites via CSS mask not needed; icons inlined per element) ---------- */
.icon { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* =========================================================
   HEADER
   ========================================================= */
.site-topbar {
  background: var(--color-ink);
  color: #cfe2dd;
  font-size: .85rem;
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.topbar-social a:hover { background: var(--color-brand); border-color: var(--color-brand); }
.topbar-social svg { width: 14px; height: 14px; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { font-weight: 600; letter-spacing: .02em; }
.topbar-links a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 110px; width: auto; }
.header-contacts { display: flex; gap: 34px; }
.header-contact { display: flex; align-items: center; gap: 12px; }
.header-contact .icon-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-bg-alt); color: var(--color-brand);
  display: grid; place-items: center; flex: none;
}
.header-contact .icon-badge svg { width: 19px; height: 19px; }
.header-contact strong { display: block; font-family: var(--font-display); color: var(--color-ink); font-size: .95rem; }
.header-contact span { font-size: .82rem; color: var(--color-text-light); }
.header-cta { display: none; }

.main-nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > li { position: relative; }
.main-nav > li > a, .nav-toggle-link {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  font-family: var(--font-display); font-weight: 700; font-size: .93rem;
  color: var(--color-ink);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.main-nav > li > a:hover, .main-nav > li.is-active > a, .nav-toggle-link:hover { color: var(--color-brand); background: var(--color-bg-alt); }
.main-nav .chev { width: 11px; height: 11px; transition: transform .2s; }
.main-nav li.has-children:hover .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
.main-nav li.has-children:hover .submenu,
.main-nav li.has-children:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; color: var(--color-text); }
.submenu a:hover { background: var(--color-bg-alt); color: var(--color-brand); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--color-line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; flex: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--color-ink); position: relative; transition: transform .2s, opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Quote button in header */
.quote-btn { display: inline-flex; }

@media (max-width: 1024px) {
  .header-contacts { display: none; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 20px 30px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; box-shadow: var(--shadow-lg); }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > li > a { padding: 14px 12px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin: 4px 0 8px 12px; }
  .main-nav li.has-children.is-open .submenu { display: block; }
  .nav-toggle { display: flex; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(15,25,23,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 80; }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 1025px) { .header-cta { display: inline-flex; } }

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero { position: relative; overflow: hidden; height: min(88vh, 680px); min-height: 460px; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,40,35,.82) 5%, rgba(20,40,35,.55) 45%, rgba(20,40,35,.25) 100%);
}
.hero-slide-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero-slide-content .eyebrow { color: #bfe3d5; }
.hero-slide-content .eyebrow::before { background: #bfe3d5; }
.hero-slide-content h1 { color: #fff; }
.hero-slide-content p { color: rgba(255,255,255,.85); font-size: 1.08rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }

.hero-dots { position: absolute; z-index: 3; left: 24px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; padding: 0; opacity: .6; }
.hero-dots button.is-active { background: #fff; opacity: 1; }
@media (max-width: 700px) { .hero-dots { display: none; } }

/* =========================================================
   INTRO STRIP
   ========================================================= */
.intro-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.intro-strip h2 { max-width: 460px; }

/* =========================================================
   FEATURES
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  padding: 34px 26px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card .icon-badge {
  width: 62px; height: 62px; border-radius: 18px; margin: 0 auto 18px;
  background: var(--color-bg-alt); color: var(--color-brand); display: grid; place-items: center;
}
.feature-card .icon-badge svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: .92rem; margin: 0; color: var(--color-text-light); }

/* =========================================================
   CLAIM / QUOTE BANNER (auto-rotating text carousel)
   ========================================================= */
.claim-banner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.claim-banner .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.claim-slider { position: relative; min-height: 190px; }
.claim-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease; }
.claim-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.claim-slide h2 { margin-bottom: 14px; }

/* =========================================================
   INSURANCE GRID
   ========================================================= */
.insurance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.insurance-card {
  display: flex; gap: 20px; padding: 26px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--color-line);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s;
}
.insurance-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.insurance-card .icon-badge { width: 58px; height: 58px; border-radius: 16px; background: var(--color-bg-alt); color: var(--color-brand); display: grid; place-items: center; flex: none; }
.insurance-card .icon-badge svg { width: 26px; height: 26px; }
.insurance-card h3 { margin-bottom: 8px; }
.insurance-card h3 a:hover { color: var(--color-brand); }
.insurance-card p { font-size: .93rem; margin-bottom: 10px; }
.insurance-card .more { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--color-brand); display: inline-flex; align-items: center; gap: 6px; }
.insurance-card .more svg { width: 14px; height: 14px; transition: transform .2s; }
.insurance-card:hover .more svg { transform: translateX(4px); }

/* =========================================================
   QUOTE + NEWSLETTER PANEL
   ========================================================= */
.panel-dark { background: var(--color-ink); border-radius: var(--radius-lg); color: #fff; overflow: hidden; }
.panel-dark .inner { display: grid; grid-template-columns: 1fr 1fr; }
.panel-col { padding: 56px; }
.panel-col + .panel-col { background: rgba(255,255,255,.04); border-left: 1px solid rgba(255,255,255,.08); }
.panel-dark h2 { color: #fff; }
.panel-dark .lede { color: rgba(255,255,255,.7); }
.contact-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-row .icon-badge { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.08); color: #bfe3d5; display: grid; place-items: center; flex: none; }
.contact-row strong { display: block; font-family: var(--font-display); }
.or-divider { color: rgba(255,255,255,.4); margin: 22px 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }

/* =========================================================
   FORMS
   ========================================================= */
.form-grid { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; font-weight: 700; font-family: var(--font-display); color: var(--color-ink); }
.panel-dark .field label { color: rgba(255,255,255,.85); }
input, select, textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-line); background: #fff;
  font-family: var(--font-body); font-size: .95rem; color: var(--color-ink);
  transition: border-color .2s, box-shadow .2s;
}
.panel-dark input, .panel-dark select, .panel-dark textarea {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff;
}
.panel-dark ::placeholder { color: rgba(255,255,255,.45); }
input:focus, select:focus, textarea:focus { border-color: var(--color-brand); box-shadow: 0 0 0 4px rgba(45,125,104,.15); outline: none; }
textarea { resize: vertical; min-height: 130px; }
.form-submit {
  border: none; background: var(--color-brand); color: #fff; padding: 14px 30px;
  border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .2s;
}
.form-submit:hover { background: var(--color-brand-dark); transform: translateY(-2px); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; }
.form-note { font-size: .82rem; color: var(--color-text-light); margin-top: 14px; }
.panel-dark .form-note { color: rgba(255,255,255,.45); }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }
.form-alert {
  display: flex; align-items: center; gap: 10px;
  background: #fdeceb; color: #b3261e; border: 1px solid #f6c6c2;
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem;
  margin-bottom: 18px;
}
.form-alert svg { width: 18px; height: 18px; flex: none; }

/* =========================================================
   TEAM
   ========================================================= */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: center; }
.team-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; margin-bottom: 18px; box-shadow: var(--shadow-sm); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-card h3 { margin-bottom: 2px; font-size: 1.05rem; }
.team-card .role { font-size: .85rem; color: var(--color-brand); font-weight: 600; }
.team-photo-lg { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 30px; }
.testi-quote { color: var(--color-brand); width: 30px; height: 24px; margin-bottom: 14px; }
.testi-card p.msg { font-style: italic; color: var(--color-ink); }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.testi-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; font-family: var(--font-display); font-size: .92rem; }
.testi-person span { font-size: .8rem; color: var(--color-text-light); }
.stars { color: #f0b429; display: flex; gap: 3px; margin-bottom: 8px; }
.stars svg { width: 15px; height: 15px; }

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip { background: var(--color-brand); border-radius: var(--radius-lg); padding: 46px 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: #fff; }
.cta-strip p { margin: 0; font-family: var(--font-display); font-size: 1.2rem; color: #fff; }
.cta-strip strong { font-weight: 800; }

/* =========================================================
   CLIENTS STRIP
   ========================================================= */
.clients-strip { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.clients-strip img { max-height: 42px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.clients-strip img:hover { opacity: 1; filter: grayscale(0); }
.clients-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.clients-head h2 { margin: 0; }
.rating-badge { display: flex; align-items: center; gap: 10px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,.72); }
.footer-top { padding: 72px 0 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.footer-social a:hover { background: var(--color-brand); border-color: var(--color-brand); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; font-size: .9rem; margin-bottom: 16px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: #bfe3d5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.5); }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--color-brand); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-brand-dark); }
.back-to-top svg { width: 18px; height: 18px; }

/* =========================================================
   PAGE HEADER (breadcrumb banner)
   ========================================================= */
.page-banner {
  position: relative;
  padding: 70px 0;
  background: linear-gradient(120deg, var(--color-ink) 0%, var(--color-brand-dark) 100%);
  color: #fff; text-align: center;
}
.page-banner h1 { color: #fff; margin: 0 0 10px; }
.page-banner .crumbs { font-size: .88rem; color: rgba(255,255,255,.65); display: flex; gap: 8px; justify-content: center; }
.page-banner .crumbs a:hover { color: #fff; }

/* =========================================================
   GENERIC CONTENT BLOCKS
   ========================================================= */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stat-row { display: flex; gap: 40px; margin-top: 26px; flex-wrap: wrap; }
.stat-row .stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--color-brand); }
.stat-row .stat span { font-size: .85rem; color: var(--color-text-light); }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--color-brand); flex: none; margin-top: 2px; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.info-card .icon-badge { width: 56px; height: 56px; border-radius: 16px; background: var(--color-bg-alt); color: var(--color-brand); display: grid; place-items: center; margin: 0 auto 16px; }
.info-card .icon-badge svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { margin: 0; font-size: .92rem; }

/* FAQ accordion */
.accordion { display: flex; flex-direction: column; gap: 14px; max-width: 800px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 700; color: var(--color-ink); font-size: 1rem;
}
.accordion-trigger .plus { width: 22px; height: 22px; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-brand); display: grid; place-items: center; flex: none; transition: transform .25s, background .25s, color .25s; }
.accordion-trigger .plus svg { width: 12px; height: 12px; }
.accordion-item.is-open .accordion-trigger .plus { background: var(--color-brand); color: #fff; transform: rotate(135deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-panel-inner { padding: 0 24px 22px; color: var(--color-text); font-size: .95rem; }

/* Case study grid */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.case-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--color-line); }
.case-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.case-card .body { padding: 24px; }
.case-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-brand); }

/* =========================================================
   QUOTE MODAL
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 25, 23, .6);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 200;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 480px;
  max-height: 88vh; overflow-y: auto; padding: 38px; box-shadow: var(--shadow-lg);
  position: relative; transform: translateY(14px); transition: transform .25s ease;
}
.modal-overlay.is-open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--color-bg-alt); color: var(--color-ink); display: grid; place-items: center; transition: background .2s; }
.modal-close:hover { background: var(--color-line); }
.modal-close svg { width: 16px; height: 16px; }
.modal-box h3 { margin-bottom: 6px; }
.modal-box .lede { font-size: .92rem; margin-bottom: 20px; }

/* =========================================================
   404
   ========================================================= */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 8rem); color: var(--color-brand); line-height: 1; margin-bottom: 10px; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .intro-strip, .claim-banner, .two-col { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid, .insurance-grid, .team-grid, .testi-track, .info-cards, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-dark .inner { grid-template-columns: 1fr; }
  .panel-col + .panel-col { border-left: none; border-top: 1px solid rgba(255,255,255,.08); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .header-info-row { padding: 14px 0; }
}
@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .feature-grid, .insurance-grid, .team-grid, .testi-track, .info-cards, .case-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding: 50px 0 30px; }
  .cta-strip { flex-direction: column; text-align: center; }
  .topbar-links { gap: 14px; }
  .header-cta .btn { padding: 12px 20px; font-size: .85rem; }
  .brand img { height: 100px; }
}