/* Karb Law — clean hand-coded rebuild of karblaw.com
   Design tokens taken from the original site:
   navy #223555, blue #1090D1, dark band #262B3E, footer #313851,
   cream #FFFCF2, light #F9F9F9, text #666 / #7A7A7A
   Headings: Marcellus; body/UI: Montserrat; brand: Cormorant Garamond */

:root {
  --navy: #223555;
  --blue: #1090D1;
  --blue-d: #0d7ab2;
  --dark: #262B3E;
  --footer: #313851;
  --cream: #FFFCF2;
  --light: #F5F7FB;
  --text: #5d6472;
  --text-2: #6d7482;
  --white: #fff;
  --max: 1200px;
  --head: 'Marcellus', serif;
  --body: 'Montserrat', sans-serif;
  --brand: 'Cormorant Garamond', serif;
  --line: #E5EAF2;
  --r: 14px;
  --shadow: 0 6px 26px rgba(15, 23, 42, .07);
  --shadow-h: 0 18px 40px rgba(15, 23, 42, .14);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--text); background: #fff;
  overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
ul, ol { list-style-position: outside; }
iframe { border: 0; max-width: 100%; }

h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 400; color: var(--navy); line-height: 1.25; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--body); font-size: 16px; line-height: 1; font-weight: 500;
  padding: 15px 40px; background: var(--blue); color: #fff; border: 0; border-radius: 8px;
  cursor: pointer; transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.btn:hover { background: var(--blue-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16,144,209,.28); }
.btn--ghost { background: transparent; border: 1px solid #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: #000; font-size: 18px; }
.btn--white:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: 12px 24px; }

/* ---------- topbar + header ---------- */
.site-top { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.topbar { border-bottom: 1px solid rgba(255,255,255,.18); }
.topbar__in { max-width: 1360px; margin: 0 auto; padding: 9px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar ul { display: flex; gap: 22px; list-style: none; }
.topbar a, .topbar span { color: #fff; font-size: 14px; font-weight: 300; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--blue); }
.topbar svg { width: 14px; height: 14px; fill: #fff; flex: none; }

.header { }
.header__in { max-width: 1360px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 54px; height: 54px; }
.brand__name { font-family: var(--brand); font-size: 26px; font-weight: 600; color: #fff; line-height: 1.1; }
.brand__tag { font-family: var(--body); font-size: 13px; color: #fff; }

.nav { display: flex; align-items: center; }
.nav ul { list-style: none; display: flex; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: block; padding: 24px 13px; color: #fff; font-size: 14px; }
.nav > ul > li > a:hover, .nav > ul > li.current > a { color: var(--blue); }
.nav li.has-kids > a::after { content: ""; display: inline-block; margin-left: 6px; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; box-shadow: 0 12px 30px rgba(10,16,30,.18);
  flex-direction: column; display: flex; z-index: 60; border-top: 2px solid var(--blue);
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: opacity .28s ease, transform .28s ease, visibility .28s; }
.nav li:hover > .sub { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.nav .sub li { width: 100%; }
.nav .sub a { display: block; padding: 11px 18px; color: var(--navy); font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.nav .sub a:hover { color: var(--blue); background: #f8fafc; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .25s; }

/* sticky compact header appears after scrolling */
.site-top.stick { position: fixed; animation: hdrDown .35s ease; background: rgba(24, 32, 51, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 22px rgba(5, 9, 20, .35); }
.site-top.stick .topbar { display: none; }
.site-top.stick .header__in { padding: 6px 20px; }
.site-top.stick .brand img { width: 44px; height: 44px; }
.site-top.stick .brand__name { font-size: 22px; }
@keyframes hdrDown { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- hero band (inner pages) ---------- */
.hero-band { position: relative; background-size: cover; background-position: center; min-height: 288px;
  display: flex; align-items: flex-end; justify-content: center; padding: 150px 20px 42px; }
.hero-band::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,20,36,.82) 0%, rgba(13,20,36,.6) 60%, rgba(16,25,44,.82) 100%); }
.hero-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(16,144,209,.9), transparent); }
.hero-band > * { position: relative; }
.hero-band h1 { font-size: 32px; color: #fff; text-align: center; }
.hero-band .post-meta { color: #d7d7d7; font-size: 14px; text-align: center; margin-top: 10px; }
.hero-band .post-meta a { color: #d7d7d7; }
.hero-band .post-meta a:hover { color: var(--blue); }

/* ---------- light header variant (home) ---------- */
.site-top--light { position: relative; }
.site-top--light .topbar { background: var(--navy); border-bottom: 0; }
.site-top--light .header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-top--light .brand__name { color: var(--navy); }
.site-top--light .brand__tag { color: #7c8698; }
.site-top--light .nav > ul > li > a { color: #3c4657; font-weight: 500; }
.site-top--light .nav > ul > li > a:hover, .site-top--light .nav > ul > li.current > a { color: var(--blue); }
.site-top--light .burger span { background: var(--navy); }
.site-top--light.stick { position: fixed; background: rgba(255,255,255,.97); box-shadow: 0 4px 22px rgba(15,23,42,.1); }
.site-top--light.stick .topbar { display: none; }

/* ---------- new home hero ---------- */
.hh { position: relative; overflow: hidden; padding: 84px 0 72px;
  background: linear-gradient(160deg, #F4F7FB 0%, #EDF2F9 55%, #E7EEF8 100%); }
.hh::after { content: ""; position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,144,209,.10), transparent 70%); }
.hh__wm { position: absolute; top: 8px; left: -10px; font-family: var(--head); font-size: 230px; line-height: 1;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(34,53,85,.07); pointer-events: none; user-select: none; }
.hh .container { position: relative; max-width: 1280px; }
.hh__grid { display: flex; gap: 56px; align-items: flex-start; }
.hh__copy { flex: 1.25; min-width: 0; padding-top: 26px; }
.hh__form { flex: 1; min-width: 0; max-width: 460px; position: relative; }
.hh__title { font-family: var(--head); font-size: 54px; line-height: 1.14; color: var(--navy); margin: 10px 0 20px; }
.hh__title .hl { color: var(--blue); position: relative; }
.hh__title .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px;
  background: linear-gradient(90deg, var(--blue), rgba(16,144,209,.15)); border-radius: 2px; }
.hh__lead { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 560px; margin-bottom: 28px; }
.hh__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.btn--line { background: #fff; color: var(--navy); border: 1px solid #cbd4e1; }
.btn--line:hover { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 10px 22px rgba(34,53,85,.25); }
.hh__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; color: #40495a; box-shadow: 0 2px 8px rgba(15,23,42,.05); }
.chip .stars { color: #F0AD4E; letter-spacing: 1px; font-size: 12px; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
.hh__stats { display: flex; gap: 44px; border-top: 1px solid #dfe6f0; padding-top: 24px; max-width: 620px; }
.hh__stats b { display: block; font-family: var(--head); font-size: 34px; color: var(--blue); line-height: 1.1; }
.hh__stats span { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #7b8496; }
.hh__card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .13); border-top: 4px solid var(--blue); }
.hh__card h3 { font-size: 26px; margin-bottom: 6px; }
.hh__card-sub { font-size: 13.5px; color: var(--text); margin-bottom: 18px; }
.hh__card .form-grid { grid-template-columns: 1fr; gap: 13px; }
.hh__send { width: 100%; margin-top: 4px; }
.hh__privacy { font-size: 11.5px; color: #98a1b1; text-align: center; margin-top: 12px; }
.hh__gcard { position: absolute; left: -34px; bottom: -26px; display: flex; gap: 10px; align-items: center;
  background: #fff; border-top: 3px solid #57B445; border-radius: 10px; box-shadow: 0 14px 34px rgba(15,23,42,.18);
  padding: 10px 16px; }
.hh__gcard .t { font-size: 12px; color: #444; }
.hh__gcard b { color: #e7711b; font-size: 15px; margin-right: 5px; }
.hh__gcard .stars { color: #F0AD4E; font-size: 12px; letter-spacing: 1px; }
.hh__gcard small { font-size: 10.5px; color: #8a93a3; }
@media (max-width: 1080px) {
  .hh__grid { flex-direction: column; }
  .hh__form { max-width: 560px; width: 100%; }
  .hh__title { font-size: 42px; }
  .hh__wm { font-size: 150px; }
  .hh__gcard { left: 12px; }
}
@media (max-width: 860px) {
  .hh { padding: 48px 0 64px; }
  .hh__title { font-size: 33px; }
  .hh__stats { gap: 26px; }
  .hh__stats b { font-size: 27px; }
}
/* one-time hero entrance */
.hh__copy > * { animation: riseIn .7s ease both; }
.hh__copy > *:nth-child(2) { animation-delay: .08s; }
.hh__copy > *:nth-child(3) { animation-delay: .16s; }
.hh__copy > *:nth-child(4) { animation-delay: .24s; }
.hh__copy > *:nth-child(5) { animation-delay: .32s; }
.hh__copy > *:nth-child(6) { animation-delay: .4s; }
.hh__card { animation: riseIn .8s .25s ease both; }
.hh__gcard { animation: riseIn .8s .55s ease both; }

/* ---------- home hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #54595F; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero__slide.on { opacity: 1; }
.hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,24,.62) 0%, rgba(8,12,24,.5) 55%, rgba(8,12,24,.66) 100%); z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__slide.on img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero__slide .hero__title, .hero__slide .hero__desc, .hero__slide .btn { opacity: 0; }
.hero__slide.on .hero__title { animation: riseIn .8s .15s ease both; }
.hero__slide.on .hero__desc { animation: riseIn .8s .35s ease both; }
.hero__slide.on .btn { animation: riseIn .8s .55s ease both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 120px 20px 40px; }
.hero__title { font-family: var(--head); font-size: 70px; font-weight: 700; line-height: 1.2; color: #fff; margin-bottom: 18px; }
.hero__desc { font-size: 18px; line-height: 1.5; color: #fff; max-width: 60%; margin: 0 auto 28px; }
.hero__arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%; backdrop-filter: blur(4px);
  color: #fff; width: 52px; height: 52px; cursor: pointer; font-size: 22px; line-height: 1; transition: background .25s; }
.hero__arrow:hover { background: var(--blue); }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; z-index: 3; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.hero__dots button.on { background: #fff; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, #1d2740, var(--dark) 60%, #232c47); padding: 30px 20px; text-align: center;
  border-top: 1px solid rgba(255,255,255,.06); }
.cta-strip__in { display: flex; align-items: center; justify-content: space-between; gap: 26px; text-align: left; }
.cta-strip h4 { color: #fff; font-weight: 700; }
.cta-strip .l1 { font-size: 26px; }
.cta-strip .l2 { font-size: 20px; margin-top: 6px; color: #c6cddd; }
.cta-strip a { color: #fff; }
.cta-strip a:hover { color: var(--blue); }
.cta-strip .btn--ghost { flex: none; }
@media (max-width: 860px) { .cta-strip__in { flex-direction: column; text-align: center; } }

/* ---------- about media (home) ---------- */
.about-media { position: relative; }
.about-media img { border-radius: var(--r); box-shadow: var(--shadow-h); }
.about-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid rgba(16,144,209,.25);
  border-radius: var(--r); z-index: -1; }
.about-badge { position: absolute; right: -18px; bottom: 26px; background: var(--navy); color: #fff; border-radius: 14px;
  padding: 16px 20px; display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 36px rgba(15,23,42,.3);
  border-bottom: 3px solid var(--blue); }
.about-badge b { font-family: var(--head); font-size: 34px; color: #fff; line-height: 1; }
.about-badge span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #b9c2d4; line-height: 1.35; }

/* ---------- why choose us (home) ---------- */
.why__grid { display: flex; gap: 60px; align-items: center; }
.why__media { flex: 1; position: relative; min-width: 0; }
.why__media img { width: 100%; height: 460px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-h); position: relative; z-index: 1; }
.why__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid rgba(16,144,209,.28); border-radius: 18px; z-index: 0; }
.why__badge { position: absolute; top: 22px; right: 22px; z-index: 2; background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 20px rgba(16,144,209,.4); }
.why__rating { position: absolute; left: -16px; bottom: 28px; z-index: 2; display: flex; gap: 12px; align-items: center;
  background: #fff; border-radius: 14px; box-shadow: 0 16px 36px rgba(15,23,42,.18); padding: 14px 20px; }
.why__rating b { font-family: var(--head); font-size: 34px; color: var(--navy); line-height: 1; }
.why__rating .stars { color: #F0AD4E; letter-spacing: 1px; font-size: 14px; }
.why__rating small { font-size: 11.5px; color: #8a93a3; }
.why__body { flex: 1; min-width: 0; }
.why__body .sec-title { margin-bottom: 16px; }
.why__lead { font-size: 16px; color: var(--text); margin-bottom: 26px; }
.why-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.why-item { display: flex; gap: 14px; }
.why-check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(42,168,118,.12);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.why-check svg { width: 15px; height: 15px; }
.why-item h4 { font-size: 18px; color: var(--navy); margin-bottom: 3px; }
.why-item p { font-size: 14.5px; color: var(--text); line-height: 1.6; }
@media (max-width: 980px) {
  .why__grid { flex-direction: column; gap: 56px; }
  .why__media { width: 100%; }
  .why__media::before { inset: 16px -16px -16px 16px; }
}
@media (max-width: 560px) {
  .why__media img { height: 320px; }
  .why__rating { left: 12px; padding: 12px 16px; }
  .why__rating b { font-size: 28px; }
}

/* testimonial card head */
.tstm__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.tstm__ava { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center;
  justify-content: center; font-weight: 600; font-size: 17px; flex: none; }
.tstm__text { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- services chip grid (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.svc { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 20px;
  color: var(--navy); font-size: 15px; font-weight: 500; box-shadow: 0 2px 10px rgba(15,23,42,.04);
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(16,144,209,.45); color: var(--blue); }
.svc__arr { font-style: normal; color: var(--blue); transition: transform .25s; }
.svc:hover .svc__arr { transform: translateX(4px); }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- steps (home) ---------- */
.steps { display: flex; gap: 30px; counter-reset: step; }
.step { flex: 1; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 34px 28px 30px; color: inherit;
  transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: rgba(16,144,209,.4); }
.step__n { position: absolute; top: 6px; right: 16px; font-family: var(--head); font-size: 84px; line-height: 1;
  color: rgba(16,144,209,.1); transition: color .3s; }
.step:hover .step__n { color: rgba(16,144,209,.2); }
.step h3 { font-size: 23px; margin-bottom: 10px; position: relative; }
.step p { font-size: 14.5px; color: var(--text); position: relative; }
.step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--blue); transition: width .35s ease; }
.step:hover::after { width: 100%; }
@media (max-width: 860px) { .steps { flex-direction: column; } }

/* promo parallax on desktop */
@media (min-width: 1081px) { .promo__in { background-attachment: fixed; } }

/* ---------- back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 92px; z-index: 90; width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy); color: #fff; border: 0; cursor: pointer; font-size: 18px; line-height: 1;
  box-shadow: 0 6px 18px rgba(15,23,42,.3); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, background .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
@media (max-width: 860px) { .to-top { bottom: 92px; right: 24px; } }

/* ---------- section scaffolding ---------- */
.sec { padding: 90px 0; }
.sec--light { background: var(--light); }
.sec--cream { background: var(--cream); }
.sec--white { background: #fff; }
.kicker { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--blue); flex: none; }
.sec-title { font-family: var(--head); font-size: 42px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 18px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head .kicker::after { content: ""; width: 28px; height: 2px; background: var(--blue); flex: none; }
.sec-head .sec-title { margin-bottom: 14px; }
.hero-h1 { font-size: 52px; }

.row { display: flex; gap: 40px; align-items: center; }
.row > * { flex: 1; min-width: 0; }
.row--top { align-items: flex-start; }

.rich { overflow-wrap: break-word; }
.rich table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.rich pre { overflow-x: auto; }
.rich p { margin-bottom: 16px; }
.rich p:last-child { margin-bottom: 0; }
.rich a { color: #CC3366; }
.rich a:hover { color: #a02950; }
.rich h2, .rich h3, .rich h4 { margin: 26px 0 12px; }
.rich h2 { font-size: 30px; } .rich h3 { font-size: 24px; } .rich h4 { font-size: 20px; }
.rich ul, .rich ol { margin: 0 0 16px 22px; }
.rich li { margin-bottom: 6px; }
.rich img { margin: 18px auto; border-radius: var(--r); }
.sec figure img { border-radius: var(--r); box-shadow: var(--shadow-h); }
.rich blockquote { border-left: 3px solid var(--blue); padding: 8px 0 8px 18px; margin: 18px 0; color: var(--navy); }
.rich strong { color: var(--navy); }

/* ---------- areas of practice cards ---------- */
.cards2 { display: flex; gap: 40px; }
.cards2 .cta-card { flex: 1; }
.cta-card { position: relative; min-height: 320px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  border-radius: var(--r); box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease; }
.cta-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); }
.cta-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,20,36,.45), rgba(13,20,36,.62)); transition: background .3s; }
.cta-card:hover::before { background: linear-gradient(180deg, rgba(13,20,36,.55), rgba(13,20,36,.72)); }
.cta-card__in { position: relative; padding: 30px 40px; color: #fff; }
.cta-card__in h3 { font-size: 32px; color: #fff; margin-bottom: 8px; }
.cta-card__in p { font-size: 14px; margin-bottom: 16px; }

/* ---------- cream promo band ---------- */
.promo { background: var(--cream); padding: 44px 0; }
.promo__in { position: relative; background-size: cover; background-position: center; padding: 110px 30px; text-align: center;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-h); }
.promo__in::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,20,36,.78) 20%, rgba(13,20,36,.45)); }
.promo__in > * { position: relative; }
.promo__title { font-family: var(--head); font-size: 36px; color: #fff; margin-bottom: 14px; }
.promo__text { color: #fff; max-width: 720px; margin: 0 auto 26px; }

/* ---------- testimonials ---------- */
.tstm { overflow: hidden; position: relative; }
.tstm__track { display: flex; transition: transform .5s ease; }
.tstm__item { flex: 0 0 33.3334%; padding: 0 14px; }
.tstm__card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--r); padding: 26px; height: 100%; position: relative; }
.tstm__card::before { content: "\201C"; position: absolute; top: 10px; right: 20px; font-family: var(--head);
  font-size: 64px; line-height: 1; color: rgba(16,144,209,.16); }
.tstm__stars { color: #F0AD4E; letter-spacing: 3px; font-size: 17px; margin-bottom: 10px; }
.tstm__text { font-size: 14px; color: var(--text); margin-bottom: 14px; }
.tstm__name { font-weight: 600; color: var(--navy); font-size: 15px; }
.tstm__date { font-size: 12px; color: #999; }
.tstm-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.tstm-nav button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: #c9ccd4; cursor: pointer; }
.tstm-nav button.on { background: var(--blue); }
.g-badge { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; }
.g-badge img { width: 34px; height: 34px; }
.g-badge b { color: var(--navy); font-size: 20px; }
.g-badge .stars { color: #F0AD4E; letter-spacing: 2px; }
.g-badge small { color: #888; }

/* ---------- blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: #d5ddea; }
.post-card__img { display: block; overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-family: var(--head); font-size: 20px; line-height: 1.35; color: #54595F; margin-bottom: 10px; }
.post-card__title a { color: #54595F; }
.post-card__title a:hover { color: var(--blue); }
.post-card__meta { font-size: 12px; color: #adadad; }
.post-card__meta a { color: #adadad; }
.post-card__meta a:hover { color: var(--blue); }
.post-card__meta--bottom { margin-top: 14px; }
.post-card__ex { font-size: 16px; color: #333; margin-bottom: 16px; }
.post-card .btn { align-self: flex-start; margin-top: auto; }

/* home blog carousel */
.hblog { overflow: hidden; }
.hblog__track { display: flex; transition: transform .5s ease; }
.hblog__item { flex: 0 0 33.3334%; padding: 0 15px; display: flex; }
.hblog__item .post-card { width: 100%; box-shadow: 0 0 10px rgba(0,0,0,.2); }
.hblog__item .post-card__img img { aspect-ratio: 4 / 3.1; }
.hblog .post-card__title { font-size: 22px; color: #333; }
.hblog .post-card__title a { color: #333; }
.hblog .post-card__meta a { color: #CC3366; }
.hblog .post-card__meta { margin-bottom: 10px; }
.hblog .btn { background: transparent; border: 1px solid #000; color: #000; padding: 15px 30px; }
.hblog .btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; font-size: 18px; }
.pagination a, .pagination span { display: inline-block; padding: 4px 9px; color: #54595F; }
.pagination span.current { color: var(--navy); font-weight: 600; }
.pagination a:hover { color: var(--blue); }

/* ---------- single post ---------- */
.post-body { padding: 60px 0 90px; }
.post-body .rich { max-width: 1140px; margin: 0 auto; font-size: 18px; line-height: 1.5; color: var(--text-2); text-align: justify; }
.post-body .rich h2, .post-body .rich h3 { color: var(--navy); text-align: left; }
.post-foot { max-width: 1140px; margin: 34px auto 0; }
.post-foot__meta { display: flex; gap: 22px; font-size: 14px; color: var(--navy); margin-bottom: 18px; }
.post-foot__meta a { color: var(--navy); }
.post-foot__meta a:hover { color: var(--blue); }
.post-foot__meta svg { width: 13px; height: 13px; fill: var(--navy); margin-right: 6px; vertical-align: -1px; }
.post-foot .share-label { font-weight: 700; color: #222; font-size: 15px; margin-bottom: 10px; }
.share-row { display: flex; gap: 12px; }
.share-row a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; color: #fff; }
.share-row a.s-fb { background: #223555; }
.share-row a.s-x { background: #1DA1F2; }
.share-row a.s-li { background: #0077b5; }
.share-row a:hover { opacity: .85; color: #fff; }
.share-row svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- contact strip (footer-wide) ---------- */
.consult { background: var(--dark); padding: 70px 0; color: #cfd3dd; }
.consult__grid { display: flex; gap: 60px; align-items: flex-start; }
.consult__grid > * { flex: 1; }
.consult h2 { color: #fff; font-size: 34px; margin-bottom: 8px; }
.consult .sub { margin-bottom: 26px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.f-input { width: 100%; background: #fff; color: #333; border: 1px solid #cfd6e1; border-radius: 8px; padding: 13px 15px;
  font-family: var(--body); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.f-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16,144,209,.14); }
/* Stripe split card fields (cardNumber / cardExpiry / cardCvc mount here) */
.stripe-input { background: #fff; border: 1px solid #cfd6e1; border-radius: 8px; padding: 14px 15px; transition: border-color .2s, box-shadow .2s; }
.stripe-input.StripeElement--focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16,144,209,.14); }
.stripe-input.StripeElement--invalid { border-color: #c0392b; }

/* payment success overlay */
.pay-success { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pay-success[hidden] { display: none; }
.pay-success__back { position: absolute; inset: 0; background: rgba(13,20,36,.62); backdrop-filter: blur(3px); }
.pay-success__box { position: relative; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.4);
  max-width: 460px; width: 100%; padding: 46px 36px 40px; text-align: center; animation: popIn .45s cubic-bezier(.2,.8,.3,1.15); }
@keyframes popIn { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }
.pay-success__icon { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: rgba(42,168,118,.12);
  display: flex; align-items: center; justify-content: center; }
.pay-success__icon svg { width: 50px; height: 50px; }
.pay-success__icon .circle { fill: none; stroke: #2AA876; stroke-width: 2.5; stroke-dasharray: 166; stroke-dashoffset: 166; animation: pdraw .6s ease forwards; }
.pay-success__icon .check { fill: none; stroke: #2AA876; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: pdraw .4s .35s ease forwards; }
@keyframes pdraw { to { stroke-dashoffset: 0; } }
.pay-success__box h2 { font-size: 30px; color: var(--navy); margin-bottom: 6px; }
.pay-success__amt { font-family: var(--head); font-size: 22px; color: #2AA876; margin-bottom: 12px; }
.pay-success__box > p { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0 auto; max-width: 340px; }
.pay-success__box .btn { margin-top: 26px; min-width: 200px; }
.pay-success__box .btn--line { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .pay-success__icon .circle, .pay-success__icon .check { animation: none; stroke-dashoffset: 0; }
}
textarea.f-input { min-height: 120px; resize: vertical; }
/* dark consult strip: outlined transparent fields, stacked in one column */
.consult .form-grid { grid-template-columns: 1fr; gap: 20px; }
.consult .f-input { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; }
.consult .f-input::placeholder { color: rgba(255,255,255,.75); }
.consult .f-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16,144,209,.25); }
.consult .btn { margin-top: 14px; }
.consult h3 { color: #fff; font-size: 38px; margin-bottom: 22px; }
.c-list { list-style: none; }
.c-list li { margin-bottom: 14px; }
.c-list a { color: #cfd3dd; display: inline-flex; gap: 10px; align-items: flex-start; }
.c-list a:hover { color: var(--blue); }
.c-list svg { width: 16px; height: 16px; fill: var(--blue); flex: none; margin-top: 4px; }
.cf-turnstile { margin: 16px 0 6px; min-height: 65px; }
.form-note { font-size: 13px; margin-top: 10px; min-height: 18px; }
.form-note.ok { color: #7ee2a0; }
.form-note.err { color: #ff9d9d; }
.page-form .form-note.ok { color: #2e9e57; }
.page-form .form-note.err { color: #c0392b; }

/* ---------- floating widgets ---------- */
.float-call { position: fixed; right: 24px; bottom: 24px; z-index: 91; width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transition: transform .25s; }
.float-call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue);
  animation: callPulse 2.6s ease-out infinite; }
@keyframes callPulse { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(1.55); opacity: 0; } 100% { opacity: 0; } }
.float-call svg { width: 22px; height: 22px; fill: #fff; }
.float-call:hover { background: var(--blue-d); transform: scale(1.07); }

/* ---------- scroll-reveal (classes are added by JS; no JS = everything visible) ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero__slide .hero__title, .hero__slide .hero__desc, .hero__slide .btn { opacity: 1; }
}
.float-grating { position: fixed; left: 18px; bottom: 74px; z-index: 90; background: #fff; border-top: 3px solid #57B445;
  box-shadow: 0 2px 10px rgba(0,0,0,.28); padding: 8px 14px; display: flex; gap: 10px; align-items: center; }
.float-grating img { width: 26px; height: 26px; }
.float-grating .t { font-size: 12px; color: #333; line-height: 1.35; }
.float-grating b { color: #e7711b; font-size: 14px; margin-right: 4px; }
.float-grating .stars { color: #F0AD4E; font-size: 12px; letter-spacing: 1px; }
.float-grating small { display: block; font-size: 10px; color: #888; }
@media (max-width: 860px) { .float-grating { display: none; } .float-call { right: 24px; bottom: 24px; } }

/* ---------- footer ---------- */
.footer { background: var(--footer); color: #fff; border-top: 3px solid var(--blue); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-top: 56px; padding-bottom: 44px; }
.footer .brand img { width: 46px; height: 46px; }
.footer .brand__name { font-size: 22px; }
.footer .brand__tag { font-size: 12px; }
.f-about { font-size: 13.5px; color: #b9c2d4; line-height: 1.7; margin: 16px 0 14px; }
.f-rating { font-size: 13px; color: #c9cddb; }
.f-rating .stars { color: #F0AD4E; letter-spacing: 1px; margin-right: 4px; }
.f-rating a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.f-rating a:hover { color: var(--blue); }
.f-col h4 { color: #fff; font-size: 17px; margin-bottom: 16px; font-family: var(--head); }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 9px; }
.f-col a { color: #b9c2d4; font-size: 14px; }
.f-col a:hover { color: #fff; }
.f-col .c-list a { color: #b9c2d4; }
.f-col .c-list a:hover { color: #fff; }
.footer__bot { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bot-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; }
.footer nav a { color: #fff; font-size: 14px; }
.footer nav a:hover { color: var(--blue); }
.footer .copy { font-size: 13px; color: #c9cddb; }
.footer .copy a { color: #fff; }
.footer .copy a:hover { color: var(--blue); }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } .footer__bot-in { flex-direction: column; text-align: center; } }

/* in-content contextual links */
.ilink { color: #CC3366; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(204,51,102,.4); }
.ilink:hover { text-decoration-color: currentColor; }

.g-strip { background: #fff; padding: 12px 20px; }
.g-strip__in { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 12px; }
.g-strip img { width: 30px; height: 30px; }
.g-strip .col { line-height: 1.3; }
.g-strip .t { font-size: 14px; color: #444; }
.g-strip b { color: #e7711b; font-size: 16px; margin-right: 6px; }
.g-strip .stars { color: #F0AD4E; letter-spacing: 2px; font-size: 14px; }
.g-strip small { display: block; font-size: 12px; color: #888; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__back { position: absolute; inset: 0; background: rgba(10,14,25,.75); }
.modal__box { position: relative; background: var(--dark); max-width: 560px; width: 100%; padding: 40px; max-height: 92vh; overflow: auto;
  border-radius: var(--r); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modal__box h2 { color: #fff; font-size: 28px; margin-bottom: 20px; }
.modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.modal__close:hover { color: var(--blue); }

/* ---------- sections with a background image (landing heroes, feature bands) ---------- */
.sec--img { position: relative; background-size: cover; background-position: center; color: #e8eaf0; }
.sec--img::before { content: ""; position: absolute; inset: 0; background: rgba(10, 14, 25, .68); }
.sec--img > .container { position: relative; }
.sec--img h1, .sec--img h2, .sec--img h3, .sec--img h4, .sec--img .sec-title { color: #fff; }
.sec--img .rich, .sec--img .rich strong { color: #e8eaf0; }
.sec--img .rich a { color: #7cc7ef; }
.sec--img .icon-list li::before { background: #fff; }
main > .sec--img:first-child { padding-top: 84px; }

/* ---------- light page hero (all inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 54px 0 48px;
  background: linear-gradient(160deg, #F4F7FB 0%, #EDF2F9 55%, #E7EEF8 100%);
  border-bottom: 1px solid #E3EAF3; }
.page-hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,144,209,.10), transparent 70%); }
.ph__wm { position: absolute; top: -6px; left: -8px; font-family: var(--head); font-size: 150px; line-height: 1;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(34,53,85,.06); pointer-events: none; user-select: none; }
.ph__grid { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ph__copy { min-width: 0; }
.crumbs { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #8b94a6; margin-bottom: 14px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: var(--blue); }
.crumbs a:hover { color: var(--blue-d); }
.crumbs .sep { color: #c2cad8; }
.page-hero h1 { font-size: 44px; line-height: 1.15; color: var(--navy); }
.ph__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ph__meta .chip svg { width: 12px; height: 12px; fill: var(--blue); }
.ph__meta a.chip:hover { border-color: var(--blue); color: var(--blue); }
.ph__media { flex: none; width: 320px; }
.ph__media img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15,23,42,.16); border: 4px solid #fff; }
@media (max-width: 1080px) { .ph__media { width: 260px; } .ph__media img { height: 160px; } .page-hero h1 { font-size: 36px; } }
@media (max-width: 860px) {
  .ph__media { display: none; }
  .page-hero h1 { font-size: 29px; }
  .page-hero { padding: 34px 0 34px; }
  .ph__wm { font-size: 96px; }
}
.sec--img .page-form { background: rgba(16, 24, 44, .55); border: 1px solid rgba(255, 255, 255, .16);
  padding: 30px; border-radius: var(--r); backdrop-filter: blur(6px); box-shadow: var(--shadow-h); }
.sec--img .page-form .f-label { color: #dfe5ee; }
.sec--dark { background: var(--dark); color: #cfd3dd; }
.sec--dark h2, .sec--dark h3, .sec--dark .sec-title { color: #fff; }

/* ---------- generic page sections (rendered from content) ---------- */
.icon-list { list-style: none; }
.icon-list li { padding-left: 30px; position: relative; margin-bottom: 11px; }
.icon-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(16,144,209,.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-7" fill="none" stroke="%231090D1" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 11px no-repeat; }
details.acc { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
details.acc summary { cursor: pointer; padding: 17px 20px; font-family: var(--head); font-size: 18px; color: var(--navy); list-style: none; position: relative; transition: background .2s; }
details.acc summary:hover { background: #f7f9fc; }
details.acc summary::after { content: "+"; position: absolute; right: 18px; top: 14px; font-size: 22px; color: var(--blue); }
details.acc[open] summary::after { content: "–"; }
details.acc .acc-body { padding: 2px 20px 18px; }
.img-box { text-align: center; padding: 34px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease; }
.img-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); }
.img-box img { margin: 0 auto 18px; width: 96px; max-width: 96px; height: auto; }
.img-box h3, .img-box h4, .img-box h5 { font-size: 24px; margin-bottom: 10px; color: var(--navy); }
.img-box p, .img-box div { font-size: 15px; color: var(--text); }

/* quote cards (Our Clients on /our-firm/) */
.quotes { display: flex; gap: 40px; margin-top: 30px; }
.quote { flex: 1; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 12px;
  box-shadow: var(--shadow); padding: 34px 30px 28px; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 2px; left: 18px; font-family: var(--head);
  font-size: 74px; line-height: 1; color: rgba(16, 144, 209, .22); }
.quote p { font-style: italic; color: var(--text); margin-bottom: 16px; }
.quote .q-name { font-family: var(--head); font-size: 18px; color: var(--navy); }

/* labelled page forms (free assessment, payments) */
.f-label { display: block; font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 6px; }
.f-group { margin-bottom: 4px; }
.f-note-i { font-style: italic; color: var(--blue); font-size: 14px; margin-bottom: 22px; line-height: 1.6; }
select.f-input { appearance: auto; height: 46px; background: #fff; }
.f-input[type="file"] { border: 0; padding: 4px 0; font-size: 13px; color: var(--text); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .quotes { flex-direction: column; } }

/* contact page info list */
.c-list--page a { color: var(--text); }
.c-list--page a:hover { color: var(--blue); }
.c-list--page svg { fill: var(--blue); }
.c-list--page li { margin-bottom: 16px; font-size: 16px; }

/* payment card */
.pay-wrap { max-width: 560px; margin: 0 auto; }
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-h); padding: 38px; }
.pay-card h2 { font-size: 28px; margin-bottom: 6px; }
.pay-card .pay-sub { font-size: 14px; color: var(--text); margin-bottom: 24px; }
.pay-amount { position: relative; }
.pay-amount .cur { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--navy); font-weight: 600; }
.pay-amount .f-input { padding-left: 56px; font-size: 18px; }
#payment-element { margin: 18px 0; min-height: 10px; }
.pay-secure { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #888; margin-top: 14px; }
.pay-secure svg { width: 13px; height: 13px; fill: #888; flex: none; }
.pay-msg { font-size: 14px; margin-top: 12px; min-height: 20px; }
.pay-msg.ok { color: #2e9e57; } .pay-msg.err { color: #c0392b; }
.map-embed { width: 100%; height: 430px; border-radius: var(--r); box-shadow: var(--shadow); }
.video-embed { aspect-ratio: 16 / 9; width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__title { font-size: 48px; }
  .hero__desc { max-width: 80%; }
  .sec { padding: 64px 0; }
  .sec-title { font-size: 34px; }
  .tstm__item { flex-basis: 50%; }
  .hblog__item { flex-basis: 50%; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .consult__grid { flex-direction: column; gap: 40px; }
}
@media (max-width: 860px) {
  .topbar ul { gap: 12px; }
  .topbar .addr { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: var(--dark); z-index: 100;
    transform: translateX(100%); transition: transform .3s, visibility .3s; overflow: auto; padding: 70px 0 30px; display: block;
    visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav > ul > li > a { padding: 13px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .sub { position: static; display: none; background: rgba(255,255,255,.05); box-shadow: none; min-width: 0;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: none; border-top: 0; }
  .nav li.open-sub > .sub { display: block; }
  .nav .sub a { color: #dfe3ec; border-bottom: 1px solid rgba(255,255,255,.06); padding-left: 38px; }
  .burger { display: block; z-index: 110; position: relative; }
  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .row, .cards2 { flex-direction: column; }
  .row > *, .cards2 > * { width: 100%; }
  .hero { min-height: 560px; }
  .hero__title { font-size: 36px; }
  .hero__desc { max-width: 100%; font-size: 16px; }
  .cta-strip .l1 { font-size: 22px; } .cta-strip .l2 { font-size: 19px; }
  .hero__arrow { display: none; }
  .tstm__item { flex-basis: 100%; }
  .hblog__item { flex-basis: 100%; }
  .post-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .promo__title { font-size: 28px; }
  .footer__in { flex-direction: column; text-align: center; }
  .post-body .rich { font-size: 17px; }
  .hero-band { padding-top: 130px; }
}
