/* ============================================================
   Insurance Edge Solution — Stylesheet
   Protection with an edge.
   ============================================================ */

/* ---------- Tokens & reset ---------- */
:root {
  --primary: #12406e;
  --primary-dark: #0b2a49;
  --primary-darker: #081f36;
  --primary-light: #1d6fa8;
  --primary-soft: rgba(18, 64, 110, 0.08);
  --accent: #f2a33c;
  --accent-dark: #d98a1f;
  --accent-soft: rgba(242, 163, 60, 0.16);
  --ink: #20303f;
  --muted: #5b6c7e;
  --bg-light: #f3f7fc;
  --bg-soft: #eaf2fb;
  --border: #e1e9f3;
  --success: #1e7d4f;
  --success-soft: #e8f6ee;
  --error: #c0392b;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(11, 42, 73, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 42, 73, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 42, 73, 0.18);
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-light); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--accent-dark); }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--primary-dark);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.3rem;
  border-radius: 0 0 12px 12px;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-light); }

/* ---------- Icons ---------- */
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 17px; height: 17px; }
.ic-lg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18, 64, 110, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18, 64, 110, 0.36); color: var(--white); }
.btn-accent {
  background: linear-gradient(135deg, #f8b45c, var(--accent-dark));
  color: #2b1a02;
  box-shadow: 0 10px 24px rgba(217, 138, 31, 0.35);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(217, 138, 31, 0.45); color: #2b1a02; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); transform: translateY(-3px); }
.btn-danger {
  background: linear-gradient(135deg, #d95f57, #b23632);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(178, 54, 50, 0.32);
}
.btn-danger:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(178, 54, 50, 0.42); color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Section headings ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow .ic { width: 15px; height: 15px; }
.section-title { font-size: clamp(1.75rem, 2.8vw, 2.35rem); }
.section-sub { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }
.section-head.left { text-align: left; margin-left: 0; }

/* ============================================================
   Topbar
   ============================================================ */
.topbar { background: var(--primary-darker); color: #c7d8ea; font-size: 0.85rem; }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.topbar-group { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar-item .ic { width: 15px; height: 15px; color: var(--accent); }
.topbar a { color: #c7d8ea; font-weight: 500; }
.topbar a:hover { color: var(--accent); }

/* ============================================================
   Header & navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 42, 73, 0.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.logo-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}
.brand-text strong em { font-style: normal; color: var(--accent-dark); }
.brand-text small {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.site-nav { display: flex; align-items: center; gap: 0.35rem; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-link:hover { color: var(--primary); background: var(--primary-soft); }
.nav-link.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.nav-cta { margin-left: 0.6rem; padding: 0.62rem 1.4rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: var(--primary-soft);
  border: none;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  color: var(--primary);
  align-items: center;
  justify-content: center;
}
.nav-toggle .ic-x { display: none; }
.nav-toggle.open .ic-x { display: block; }
.nav-toggle.open .ic-menu { display: none; }

/* ============================================================
   Hero (homepage)
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(155deg, #f6f9fd 0%, var(--bg-soft) 55%, #ffffff 100%);
  overflow: hidden;
  padding: 5.5rem 0 5rem;
}
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 111, 168, 0.12), transparent 65%);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 163, 60, 0.14), transparent 65%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  margin: 1.2rem 0 1.3rem;
}
.hl {
  background: linear-gradient(transparent 68%, var(--accent-soft) 0);
  color: var(--primary);
  padding: 0 0.1em;
}
.hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.1rem; }
.hero-trust { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2.3rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.92rem; color: var(--primary-dark); }
.hero-trust .ic { color: var(--success); width: 19px; height: 19px; }

.hero-img-wrap { position: relative; }
.hero-img-wrap img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 11 / 9;
}
.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  padding: 0.9rem 1.3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.hero-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--accent);
  display: grid;
  place-items: center;
}
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--primary-dark); line-height: 1.3; }
.hero-badge span { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   Feature strip
   ============================================================ */
.features { padding: 3.2rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
}
.feature-card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   Services grid
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(29, 111, 168, 0.35); }
.svc-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  margin-bottom: 1.2rem;
  transition: background 0.28s ease, color 0.28s ease;
}
.svc-card:hover .svc-icon {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--accent);
}
.svc-card h3 { font-size: 1.08rem; margin-bottom: 0.55rem; }
.svc-card p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.svc-link {
  margin-top: 1.1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.svc-link .ic { width: 16px; height: 16px; transition: transform 0.25s ease; }
.svc-link:hover .ic { transform: translateX(4px); }
.svc-card.svc-cta {
  background: linear-gradient(140deg, var(--primary-dark), var(--primary-light));
  border: none;
  color: var(--white);
  justify-content: center;
}
.svc-card.svc-cta h3 { color: var(--white); }
.svc-card.svc-cta p { color: #cfe0f0; }
.svc-card.svc-cta .svc-link { color: var(--accent); }

/* ============================================================
   Split media block (why choose us)
   ============================================================ */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { position: relative; }
.split-media img {
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.float-badge {
  position: absolute;
  right: -20px;
  bottom: -24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.float-badge .badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8b45c, var(--accent-dark));
  color: var(--white);
  display: grid;
  place-items: center;
}
.float-badge strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--primary-dark); }
.float-badge span { font-size: 0.8rem; color: var(--muted); }

.check-list { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--ink); }
.check-list .ic {
  color: var(--success);
  width: 21px;
  height: 21px;
  margin-top: 3px;
  flex: none;
}
.check-list strong { font-weight: 600; }

.split-block .section-title { margin-bottom: 1rem; }
.split-block p.block-lead { color: var(--muted); font-size: 1.04rem; }

/* ============================================================
   Steps
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.3rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(18, 64, 110, 0.3);
}
.step-icon .ic { width: 32px; height: 32px; }
.step h3 { font-size: 1.14rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.t-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.t-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(29, 111, 168, 0.14);
}
.t-stars { display: flex; gap: 3px; color: var(--accent-dark); margin-bottom: 1rem; }
.t-stars .ic { width: 17px; height: 17px; }
.t-text { color: var(--ink); font-size: 0.97rem; margin-bottom: 1.5rem; }
.t-person { display: flex; align-items: center; gap: 0.85rem; }
.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}
.t-person strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--primary-dark); }
.t-person span { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   Blog cards
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.blog-card figure { position: relative; overflow: hidden; margin: 0; }
.blog-card figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover figure img { transform: scale(1.06); }
.chip {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(11, 42, 73, 0.88);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.blog-body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: 0.7rem; }
.blog-body h3 a { color: inherit; }
.blog-body h3 a:hover { color: var(--primary-light); }
.blog-body p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.blog-meta {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.blog-meta .who { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.blog-meta .who .t-avatar { width: 34px; height: 34px; font-size: 0.72rem; }
.read-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.read-link .ic { width: 15px; height: 15px; transition: transform 0.25s ease; }
.read-link:hover .ic { transform: translateX(4px); }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--primary-darker) 0%, var(--primary) 58%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 3.2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
}
.cta-banner::before { width: 300px; height: 300px; top: -120px; left: -80px; }
.cta-banner::after { width: 380px; height: 380px; bottom: -180px; right: -100px; }
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-banner .eyebrow { background: rgba(255, 255, 255, 0.14); color: var(--accent); }
.cta-banner h2 { color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 0.9rem; }
.cta-banner p { color: #d4e3f2; font-size: 1.04rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Contact strip
   ============================================================ */
.contact-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.7rem;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .feature-icon { margin: 0 auto 1.1rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); font-size: 0.93rem; }
.contact-card a { color: var(--primary); font-weight: 600; }
.contact-card a:hover { color: var(--accent-dark); }

/* ============================================================
   Inner page hero
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--primary-darker), var(--primary) 55%, var(--primary-light));
  color: var(--white);
  padding: 4.6rem 0 4.2rem;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.07);
  top: -160px;
  right: -100px;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  bottom: -140px;
  left: -80px;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #b9cde0;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb a { color: var(--accent); font-weight: 500; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .ic { width: 13px; height: 13px; color: #7f9cb8; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; }
.page-hero .page-lead { max-width: 760px; margin: 1rem auto 0; color: #d4e3f2; font-size: 1.06rem; }

/* ============================================================
   Prose (articles, legal pages)
   ============================================================ */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 {
  font-size: 1.45rem;
  margin: 2.6rem 0 0.9rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--accent);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.8rem 0 0.6rem; }
.prose p { color: #3c4d5e; margin-bottom: 1.05rem; }
.prose ul { margin: 0 0 1.2rem 0; display: grid; gap: 0.55rem; }
.prose ul li { position: relative; padding-left: 1.7rem; color: #3c4d5e; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.prose blockquote {
  background: #fdf7ec;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.3rem 1.6rem;
  font-style: italic;
  color: #5a4a2f;
  margin: 1.8rem 0;
}
.prose a { font-weight: 500; }

.article-hero { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 2.6rem; }
.article-hero img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; }
.article-wrap { max-width: 860px; margin: 0 auto; }
.article-head { max-width: 800px; margin: 0 auto 2.6rem; text-align: center; }
.article-head .chip { position: static; display: inline-block; background: var(--primary); }
.article-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 1.1rem 0 1rem; }
.article-head .dek { color: var(--muted); font-size: 1.06rem; }
.byline {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.byline .t-avatar { width: 42px; height: 42px; font-size: 0.8rem; }

.post-foot {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.back-link { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-head); font-weight: 600; color: var(--primary); }
.back-link .ic { width: 16px; height: 16px; transform: rotate(180deg); }

/* ============================================================
   Service detail blocks
   ============================================================ */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 3.2rem 0; }
.svc-detail + .svc-detail { border-top: 1px solid var(--border); }
.svc-detail:nth-child(even) .svc-media { order: 2; }
.svc-media img { border-radius: 20px; box-shadow: var(--shadow-md); width: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.svc-detail .eyebrow { margin-bottom: 0.9rem; }
.svc-detail h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: 0.9rem; }
.svc-detail p { color: var(--muted); margin-bottom: 1.1rem; }
.svc-detail .btn { margin-top: 1.3rem; }
.svc-anchor { scroll-margin-top: 110px; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-dark);
  transition: color 0.25s ease;
}
.faq-q:hover { color: var(--primary-light); }
.faq-q .ic { color: var(--accent-dark); transition: transform 0.3s ease; }
.faq-item.open .faq-q .ic { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   Forms
   ============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
}
.form-card h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.form-card .form-note { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 0.45rem;
}
.field .req { color: var(--error); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(29, 111, 168, 0.12);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid { border-color: var(--error); }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
.field-error { font-size: 0.82rem; color: var(--error); margin-top: 0.4rem; display: none; }
.field-error.show { display: block; }

.check-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--primary);
  cursor: pointer;
  flex: none;
}
.check-row label { font-size: 0.9rem; color: var(--ink); cursor: pointer; line-height: 1.55; margin: 0; font-weight: 400; font-family: var(--font-body); }
.check-row.invalid { border-color: var(--error); background: #fdf1ef; }

.form-actions { margin-top: 1.8rem; }
.form-foot { margin-top: 1.4rem; font-size: 0.88rem; color: var(--muted); text-align: center; }
.form-foot a { font-weight: 600; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 1rem;
  background: var(--success-soft);
  border: 1px solid #bfe3cd;
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem;
  color: #14532d;
}
.form-success.show { display: flex; }
.form-success .ic { color: var(--success); width: 26px; height: 26px; margin-top: 2px; }
.form-success strong { display: block; font-family: var(--font-head); margin-bottom: 0.25rem; }

/* ============================================================
   Split panels (subscribe / unsubscribe pages)
   ============================================================ */
.split-panels { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2.6rem; align-items: stretch; }
.panel-info {
  background: linear-gradient(150deg, var(--primary-darker), var(--primary) 60%, var(--primary-light));
  border-radius: 22px;
  color: var(--white);
  padding: 2.8rem 2.4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.panel-info::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  top: -110px;
  right: -90px;
}
.panel-info h2 { color: var(--white); font-size: 1.6rem; margin: 1rem 0 0.8rem; position: relative; }
.panel-info p { color: #d4e3f2; font-size: 0.98rem; position: relative; }
.panel-benefits { margin-top: 1.8rem; display: grid; gap: 1rem; position: relative; }
.panel-benefits li { display: flex; gap: 0.8rem; align-items: flex-start; color: #e6eff8; font-size: 0.95rem; }
.panel-benefits .ic { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; flex: none; }
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  width: fit-content;
  position: relative;
}
.panel-foot { margin-top: auto; padding-top: 1.8rem; font-size: 0.85rem; color: #b9cde0; position: relative; }
.panel-foot a { color: var(--accent); font-weight: 600; }

/* ============================================================
   Values / mission / team
   ============================================================ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.3rem 2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mv-card .feature-icon { margin-bottom: 1.1rem; }
.mv-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.mv-card p { color: var(--muted); font-size: 0.97rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.1rem 1.5rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .feature-icon { margin: 0 auto 1rem; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.value-card p { color: var(--muted); font-size: 0.89rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem 1.4rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border: 4px solid var(--bg-soft);
  box-shadow: 0 8px 20px rgba(18, 64, 110, 0.22);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.team-card .role { color: var(--accent-dark); font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.7rem; }
.team-card p { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--primary-darker); color: #b6c8db; margin-top: 0; }
.footer-main { padding: 4.2rem 0 2.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.6rem; }
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text small { color: #7f9cb8; }
.footer-brand p { margin-top: 1.2rem; font-size: 0.93rem; color: #9db2c8; }
.socials { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #cfdff0;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.socials a:hover { background: var(--accent); color: var(--primary-darker); transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }
.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { color: #9db2c8; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-col a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: background 0.25s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-col a:hover::before { background: var(--accent); }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: #9db2c8; margin-bottom: 0.9rem; }
.footer-contact .ic { color: var(--accent); width: 18px; height: 18px; margin-top: 4px; flex: none; }
.footer-contact a { color: #9db2c8; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #7f9cb8;
}
.footer-bottom a { color: #9db2c8; margin-left: 1.2rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   Back to top
   ============================================================ */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(11, 42, 73, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: linear-gradient(135deg, #f8b45c, var(--accent-dark)); color: var(--primary-darker); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d-1 { transition-delay: 0.12s; }
.d-2 { transition-delay: 0.24s; }
.d-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 1.1rem 4%;
    border-top: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(11, 42, 73, 0.14);
    display: none;
  }
  .site-nav.open { display: flex; animation: navDrop 0.28s ease; }
  .nav-link { padding: 0.8rem 1.1rem; border-radius: var(--radius-sm); }
  .nav-cta { margin: 0.6rem 0 0; justify-content: center; }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
  }
  .hero-inner { grid-template-columns: 1fr; gap: 3.2rem; }
  .hero { padding: 4rem 0; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .cta-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge { left: 20px; }
  .split-block { grid-template-columns: 1fr; gap: 3.4rem; }
  .svc-detail { grid-template-columns: 1fr; gap: 2.2rem; padding: 2.8rem 0; }
  .svc-detail:nth-child(even) .svc-media { order: 0; }
  .split-panels { grid-template-columns: 1fr; }
  .features-grid, .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .testi-grid, .blog-grid, .contact-strip-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
}

@media (max-width: 680px) {
  .topbar-group.hide-mobile { display: none; }
  .section { padding: 4rem 0; }
  .features-grid, .services-grid, .steps-grid, .testi-grid, .blog-grid,
  .contact-strip-grid, .values-grid, .team-grid, .form-grid, .mv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .cta-banner { padding: 3rem 1.6rem; }
  .form-card { padding: 1.8rem 1.4rem; }
  .panel-info { padding: 2.1rem 1.7rem; }
  .float-badge { right: 8px; bottom: -20px; }
  .hero-badge { padding: 0.7rem 1rem; }
  .footer-bottom a { display: block; margin: 0.3rem 0 0; }
  .footer-bottom-inner { flex-direction: column; }
}
