/* ==========================================================================
   YLD – Your Legal Department
   Static preview stylesheet (to be ported into the WordPress theme)
   ========================================================================== */

:root {
  --navy: #002f5d;
  --navy-dark: #002544;
  --ink: #021a40;
  --teal: #118c9e;
  --teal-dark: #0c7383;
  --teal-light: #2bb6c9;
  --gray: #f5fafb;
  --gray-2: #eaf4f6;
  --line: #e2ecef;
  --muted: #4c6580;
  --white: #fff;
  --grape: #742eaf;
  --orange: #f86c14;
  --red: #f1385b;
  --blue: #3fa9f5;

  --rainbow: linear-gradient(90deg, #118c9e 0%, #3fa9f5 25%, #ed1c24 60%, #8cc63f 81%, #39b54a 100%);
  --rainbow-45: linear-gradient(45deg, #118c9e 0%, #3fa9f5 25%, #ed1c24 60%, #8cc63f 81%, #39b54a 100%);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(2, 26, 64, 0.07);
  --shadow-lg: 0 18px 50px rgba(2, 26, 64, 0.12);
  --container: 1200px;
  --header-h: 96px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 600; }
svg.i { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
h4 { font-size: 1.05rem; }
.h-sm { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--teal-light); }
.lead { font-size: 1.06rem; line-height: 1.75; }
.text-center { text-align: center; }
.accent { color: var(--teal); }
.on-dark .accent { color: var(--teal-light); }
em.accent, .accent-italic { font-style: italic; }

/* Rainbow brush swash under headings */
.swash::after {
  content: "";
  display: block;
  width: 118px;
  height: 10px;
  margin-top: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%23118c9e'/%3E%3Cstop offset='.28' stop-color='%233fa9f5'/%3E%3Cstop offset='.6' stop-color='%23ed1c24'/%3E%3Cstop offset='.82' stop-color='%238cc63f'/%3E%3Cstop offset='1' stop-color='%2339b54a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 10 C 50 4, 130 2, 197 6' stroke='url(%23g)' stroke-width='5.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.text-center .swash::after, .swash.center::after { margin-left: auto; margin-right: auto; }
.rainbow-line { height: 6px; background: var(--rainbow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1.2;
  border: 1.5px solid var(--teal);
  background: var(--teal); color: var(--white);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(17,140,158,.25); }
.btn .i { font-size: 16px; transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.btn--outline { background: transparent; color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--navy-dark); }
.btn--white:hover { background: var(--gray-2); border-color: var(--gray-2); color: var(--navy-dark); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.9); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy-dark); border-color: var(--white); }
.btn--lg { padding: 15px 30px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.btn-row .or { font-size: 14px; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--teal); }
.link-arrow .i { transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(3px); }
.link-underline { font-weight: 600; font-size: 14px; color: var(--teal); border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(2,26,64,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14.5px; font-weight: 500; color: var(--navy);
  padding: 8px 0; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__link:hover, .nav__item.is-current > .nav__link { color: var(--teal); }
.nav__link:hover::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__item.has-children { display: flex; align-items: center; gap: 2px; }
.sub-toggle { background: none; border: 0; padding: 4px 0 4px 2px; margin: 0; color: var(--navy); cursor: pointer; line-height: 0; font-size: 14px; }
.sub-toggle .i { transition: transform .2s; }
.nav__item:hover > .sub-toggle, .nav__item.is-current > .sub-toggle { color: var(--teal); }
.nav__item:hover > .sub-toggle .i { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: 100%; left: -20px; min-width: 260px;
  list-style: none; margin: 0; padding: 12px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--teal);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover > .sub-menu, .nav__item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.sub-menu a:hover, .sub-menu .is-current a { background: var(--gray); color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy-dark); cursor: pointer; font-size: 28px; line-height: 0; }

@media (max-width: 1140px) {
  .nav__list { gap: 20px; }
  .nav__link { font-size: 14px; }
  .logo img { width: 180px; }
}
@media (max-width: 991px) {
  :root { --header-h: 78px; }
  .logo img { width: 160px; }
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 24px 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__item.has-children { display: grid; grid-template-columns: 1fr auto; gap: 0; }
  .nav__item.has-children > .sub-menu { grid-column: 1 / -1; }
  .sub-toggle { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; font-size: 18px; border-radius: 50%; }
  .sub-toggle:hover { background: var(--gray); }
  .nav__item:hover > .sub-toggle .i { transform: none; }
  .nav__link { display: flex; justify-content: space-between; padding: 16px 0; font-size: 16px; }
  .nav__link::after { display: none; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; display: none; min-width: 0; }
  .nav__item.is-open > .sub-menu { display: block; }
  .nav__item.is-open > .sub-toggle .i { transform: rotate(180deg) !important; }
  .nav .btn { margin-top: 24px; }
  .nav { overscroll-behavior: contain; }
  html.nav-open { overflow: hidden; }
  .site-header { z-index: 200; }
}

/* ---------- Hero (home + inner) ---------- */
.hero {
  position: relative;
  background: var(--white);
  min-height: 640px;
  display: flex; align-items: center;
  padding: 120px 0 150px;
  isolation: isolate;
}
.hero__shape { position: absolute; left: 0; top: 0; width: 64%; height: 100%; z-index: -1; color: var(--navy); }
.hero__media {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  clip-path: url(#heroClip);
  z-index: -1;
  background: var(--navy-dark);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__content { max-width: 560px; color: var(--white); }
.hero__content h1 { color: var(--white); margin-bottom: 0; }
.hero__content h1 .accent { color: var(--teal-light); }
.hero__content .swash::after { margin-top: 18px; width: 172px; }
.hero__content p { color: rgba(255,255,255,.9); margin-top: 26px; max-width: 520px; }
.hero__content .btn-row { margin-top: 34px; }
.hero__content .or { color: rgba(255,255,255,.75); }
.hero__content .link-underline { color: var(--white); }

.hero--inner { min-height: 560px; padding: 100px 0 140px; }
.hero--inner .hero__shape { width: 66%; }
.hero--inner .hero__media { width: 50%; }
.hero--inner h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span[aria-hidden] { opacity: .5; }

@media (max-width: 991px) {
  .hero, .hero--inner { flex-direction: column; align-items: stretch; padding: 0; min-height: 0; background: var(--navy); }
  .hero__shape { display: none; }
  .hero__content { max-width: none; padding: 56px 0 64px; }
  .hero__media { position: relative; width: 100% !important; height: 340px; clip-path: none; border-radius: 120px 0 0 0; order: 2; z-index: 0; overflow: hidden; }
  .hero > .container { order: 1; }
  .hero--has-features .hero__media { margin-bottom: 0; }
}

/* ---------- Page banner (pages without photo) ---------- */
.page-banner {
  position: relative; background: var(--navy); color: var(--white);
  padding: 90px 0 130px; overflow: hidden; isolation: isolate;
}
.page-banner::before {
  content: ""; position: absolute; right: -180px; top: -220px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(43,182,201,.22), rgba(43,182,201,0) 65%); z-index: -1;
}
.page-banner__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--white); }
.page-banner__wave--gray { color: var(--gray); }
.page-banner h1 { color: var(--white); max-width: 820px; margin-bottom: 0; }
.page-banner h1 .accent { color: var(--teal-light); }
.page-banner p { color: rgba(255,255,255,.88); max-width: 680px; margin-top: 24px; font-size: 1.04rem; }
.page-banner .swash::after { width: 150px; }
.page-banner.text-center h1, .page-banner.text-center p { margin-left: auto; margin-right: auto; }
.page-banner.text-center .breadcrumbs { justify-content: center; }

/* ---------- Features strip ---------- */
.features { position: relative; z-index: 5; margin-top: -78px; }
.features__inner {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--teal);
  padding: 26px 10px;
}
.features__item { display: flex; align-items: center; gap: 14px; padding: 4px 20px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--navy-dark); }
.features__item + .features__item { border-left: 1px solid var(--line); }
.features__item .i { font-size: 34px; color: var(--navy); stroke-width: 1.4; }
@media (max-width: 1100px) {
  .features__inner { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .features__item:nth-child(4) { border-left: 0; }
}
@media (max-width: 991px) { .features { margin-top: -40px; } }
@media (max-width: 640px) {
  .features__inner { grid-template-columns: 1fr 1fr; padding: 20px 6px; }
  .features__item { padding: 6px 12px; font-size: 12.5px; gap: 10px; }
  .features__item .i { font-size: 26px; }
  .features__item:nth-child(odd) { border-left: 0; }
  .features__item:nth-child(4) { border-left: 1px solid var(--line); }
  .features__item:last-child { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.curve-top { margin-top: 40px; }
.curve-top::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: -44px; height: 90px;
  background: inherit; border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 0;
}
.curve-top > * { position: relative; z-index: 1; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0; max-width: 760px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-intro { max-width: 720px; margin-bottom: 48px; }
.section-intro.text-center { margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--wide-text { grid-template-columns: .9fr 1.1fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* Media with rainbow corner sweep */
.media-sweep { position: relative; border-radius: var(--radius-lg) var(--radius-lg) 110px var(--radius-lg); padding: 0 7px 7px 0; background: linear-gradient(135deg, transparent 58%, #3fa9f5 72%, #ed1c24 86%, #8cc63f 100%); }
.media-sweep img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 104px var(--radius-lg); }
.media-sweep--left { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 110px; padding: 0 0 7px 7px; background: linear-gradient(225deg, transparent 58%, #3fa9f5 72%, #ed1c24 86%, #8cc63f 100%); }
.media-sweep--left img { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 104px; }
.media-sweep--tall img { aspect-ratio: 4 / 4.4; }
.media-rounded img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }

/* ---------- Icon list (why choose) ---------- */
.icon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; margin-top: 34px; }
.icon-item { display: flex; gap: 16px; }
.icon-item h4 { font-size: 15px; margin-bottom: 6px; }
.icon-item p { font-size: 13.5px; line-height: 1.65; }
.icon-circle { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 24px; }
.icon-circle .i { stroke-width: 1.6; }
@media (max-width: 560px) { .icon-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--4, .cards--3, .cards--2 { grid-template-columns: 1fr; } }

.card {
  --c: var(--teal);
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow); border: 1px solid rgba(2,26,64,.04);
  transition: transform .25s, box-shadow .25s;
}
a.card { color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 18px; margin: 18px 0 10px; }
.card p { font-size: 14px; line-height: 1.7; color: var(--navy); }
.card__icon { width: 46px; height: 46px; border-radius: 9px; background: var(--c); color: var(--white); display: grid; place-items: center; font-size: 22px; }
.card__more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy-dark); position: relative; align-self: flex-start; }
.card__more::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 36px; height: 2px; background: var(--c); transition: width .25s; }
.card:hover .card__more::after { width: 100%; }
.c-teal { --c: var(--teal); } .c-grape { --c: var(--grape); } .c-orange { --c: var(--orange); } .c-red { --c: var(--red); } .c-blue { --c: #3d76b8; } .c-navy { --c: var(--navy); }

/* Service segment cards (overview) */
.seg-card { padding: 32px 30px; }
.seg-card h3 { font-size: 20px; }
.seg-card ul { margin: 6px 0 16px; }
.seg-card .card__note { font-size: 13.5px; font-style: italic; color: var(--muted); }
.cta-card { background: var(--navy); color: rgba(255,255,255,.88); justify-content: center; overflow: hidden; }
.cta-card h3 { color: var(--white); font-size: 22px; margin-top: 0; }
.cta-card p { color: rgba(255,255,255,.85); }
.cta-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rainbow); }

/* Check lists */
.checklist { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.6; font-weight: 500; color: var(--navy-dark); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23118c9e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.checklist--sm li { font-size: 13.5px; font-weight: 500; }
.on-dark .checklist li, .bg-navy .checklist li { color: rgba(255,255,255,.92); }
.on-dark .checklist li::before, .bg-navy .checklist li::before { filter: brightness(1.6); }
@media (max-width: 560px) { .checklist--2 { grid-template-columns: 1fr; } }

.crosslist { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crosslist li { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--navy-dark); }
.crosslist li .i { color: var(--red); font-size: 15px; }

/* ---------- Who we work with ---------- */
.who { background: var(--navy); color: rgba(255,255,255,.8); padding: 76px 0 80px; position: relative; }
.who::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--rainbow); }
.who__grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 50px; align-items: start; }
.who h2 { color: var(--white); font-size: clamp(1.3rem, 1.05rem + .8vw, 1.6rem); line-height: 1.4; }
.who h2 em { font-style: italic; color: var(--teal-light); }
.who__cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.who__col { padding: 6px 26px; border-left: 1px solid rgba(255,255,255,.16); }
.who__col .i { font-size: 34px; color: var(--white); stroke-width: 1.4; }
.who__col h3 { font-size: 15px; color: var(--teal-light); margin: 16px 0 8px; }
.who__col p { font-size: 13px; line-height: 1.65; }
@media (max-width: 1024px) { .who__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .who__cols { grid-template-columns: 1fr 1fr; row-gap: 30px; } .who__col:nth-child(3) { border-left: 0; } .who__col { padding: 0 18px; } .who__col:first-child { padding-left: 18px; } }
@media (max-width: 460px) { .who__cols { grid-template-columns: 1fr; } .who__col { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding: 22px 0 0; } }

/* ---------- About Alison block ---------- */
.about-media { position: relative; }
.about-media__img { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 160px; overflow: hidden; }
.about-media__img img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 8% 30%; }
.about-media::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px; border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; background: linear-gradient(200deg, #ed1c24 0%, #f86c14 35%, #8cc63f 100%); opacity: .9; z-index: -1; }
.about-media { isolation: isolate; }
.quote-card {
  position: absolute; right: -110px; top: 44px; width: 280px;
  background: var(--white); border-radius: 18px; padding: 26px 26px 22px; box-shadow: var(--shadow-lg);
}
.quote-card__mark { position: absolute; right: 22px; top: 12px; font-size: 54px; line-height: 1; font-weight: 700; color: var(--teal); font-family: Georgia, serif; }
.quote-card blockquote { margin: 18px 0 14px; font-size: 16px; font-style: italic; font-weight: 500; line-height: 1.6; color: var(--navy-dark); }
.quote-card .signature { display: block; width: 175px; max-width: 70%; height: auto; margin: 4px 0 12px; }
.quote-card small { display: block; font-size: 11.5px; line-height: 1.5; color: var(--navy); }
.quote-card small strong { display: block; font-size: 12.5px; }
@media (max-width: 1480px) { .quote-card { right: -84px; } }
@media (max-width: 1360px) { .quote-card { right: -40px; } }
@media (max-width: 1280px) { .quote-card { right: -16px; width: 260px; } }
@media (max-width: 900px) { .quote-card { right: 16px; } .about-media { margin-top: 10px; } .about-media::after { right: -10px; width: 120px; height: 120px; } }
@media (max-width: 560px) {
  .quote-card { position: relative; right: auto; top: auto; width: auto; margin: -60px 16px 0; }
}

/* ---------- Testimonials (slider) ---------- */
.reviews__grid { display: grid; grid-template-columns: .8fr 2fr; gap: 50px; align-items: center; }
.slider { overflow: hidden; }
.slider__track { display: flex; gap: 22px; transition: transform .45s ease; }
.slider__track > * { flex: 0 0 calc(50% - 11px); }
.slider__nav { display: flex; gap: 12px; margin-top: 30px; }
.slider__btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--navy-dark); background: transparent; color: var(--navy-dark); display: grid; place-items: center; cursor: pointer; font-size: 18px; transition: background .2s, color .2s; }
.slider__btn:hover { background: var(--navy-dark); color: var(--white); }
.slider__btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--navy-dark); }
@media (max-width: 991px) { .reviews__grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 640px) { .slider__track > * { flex-basis: 100%; } }

.review {
  background: var(--white); border-radius: var(--radius); padding: 30px 30px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.review__body { display: flex; gap: 18px; }
.review__mark { font-family: Georgia, serif; font-size: 58px; line-height: .8; color: var(--navy); font-weight: 700; flex-shrink: 0; }
.review__body p { font-size: 14.5px; line-height: 1.75; color: var(--navy-dark); }
.review__author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; }
.review__author img, .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar--initials { display: grid; place-items: center; background: var(--gray-2); color: var(--teal); font-weight: 600; font-size: 15px; }
.review__author strong { display: block; font-size: 14.5px; color: var(--navy-dark); line-height: 1.3; }
.review__author span { font-size: 13px; color: var(--navy); }

/* Testimonials page */
.featured-review { background: var(--navy); color: var(--white); border-radius: 28px; padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 36px; }
.featured-review::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--rainbow); }
.featured-review__mark { font-family: Georgia, serif; font-size: 120px; line-height: .75; color: var(--teal-light); font-weight: 700; }
.featured-review blockquote { margin: 0; font-size: clamp(1.15rem, 1rem + .7vw, 1.55rem); line-height: 1.55; font-weight: 500; color: var(--white); }
.featured-review .review__author strong { color: var(--white); }
.featured-review .review__author span { color: rgba(255,255,255,.75); }
@media (max-width: 640px) { .featured-review { grid-template-columns: 1fr; gap: 6px; } .featured-review__mark { font-size: 80px; } }

.review-list { columns: 2; column-gap: 26px; }
.review-list .review { break-inside: avoid; margin-bottom: 26px; }
.review__tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--teal)); background: color-mix(in srgb, var(--c, var(--teal)) 10%, white); padding: 5px 11px; border-radius: 999px; margin-bottom: 18px; align-self: flex-start; }
.review__stars { display: flex; gap: 2px; color: #f5b100; font-size: 15px; margin-bottom: 14px; }
.review__stars .i { fill: currentColor; }
.review--long .review__text { position: relative; max-height: 190px; overflow: hidden; transition: max-height .45s ease; }
.review--long .review__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(rgba(255,255,255,0), #fff); transition: opacity .3s; }
.review--long.is-open .review__text { max-height: 1200px; }
.review--long.is-open .review__text::after { opacity: 0; }
.review__toggle { align-self: flex-start; margin-top: 12px; background: none; border: 0; padding: 0; font: 600 13.5px var(--font); color: var(--teal); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.review__toggle .i { transition: transform .25s; }
.review--long.is-open .review__toggle .i { transform: rotate(180deg); }
.placeholder-note { font-size: 12.5px; color: var(--muted); background: #fff8e6; border: 1px dashed #e9c46a; padding: 10px 14px; border-radius: 10px; margin-bottom: 30px; }
@media (max-width: 820px) { .review-list { columns: 1; } }

/* ---------- Process ---------- */
.process {
  background: var(--gray-2); border-radius: 70px; padding: 44px clamp(28px, 4vw, 60px);
  display: grid; grid-template-columns: .9fr 2.6fr; gap: 40px; align-items: center;
}
.process h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); margin: 0; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; position: relative; }
.step + .step::before { content: ""; position: absolute; left: -22px; top: 22px; width: 24px; height: 2px; background: var(--navy-dark); }
.step + .step::after { content: ""; position: absolute; left: -6px; top: 18px; width: 8px; height: 8px; border-top: 2px solid var(--navy-dark); border-right: 2px solid var(--navy-dark); transform: rotate(45deg); }
.step__icon { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; color: var(--white); background: var(--c); font-size: 20px; }
.step h3 { font-size: 13.5px; margin-bottom: 8px; line-height: 1.35; }
.step p { font-size: 12.5px; line-height: 1.65; }
.step__num { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--c); margin-bottom: 4px; }
@media (max-width: 1100px) { .process { grid-template-columns: 1fr; border-radius: 40px; } }
@media (max-width: 760px) {
  .process__steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .step:nth-child(3)::before, .step:nth-child(3)::after { display: none; }
}
@media (max-width: 420px) { .process__steps { grid-template-columns: 1fr; } .step::before, .step::after { display: none; } .process { border-radius: 28px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 76px 0 82px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -160px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(43,182,201,.18), transparent 65%); }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,.92); margin-bottom: 30px; }
.cta-band .btn-row { justify-content: center; margin-top: 0; }

/* ---------- Anchor buttons band ---------- */
.anchors { background: var(--navy); padding: 46px 0 52px; position: relative; text-align: center; }
.anchors::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--rainbow); }
.anchors .eyebrow { color: var(--teal-light); margin-bottom: 22px; }
.anchors__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.anchors__list a { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--navy-dark); padding: 12px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s, transform .2s; }
.anchors__list a:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.anchors__list a .i { transition: transform .2s; }
.anchors__list a:hover .i { transform: translateY(2px); }

/* Service subsections */
.service-block h2 { margin-bottom: 0; }
.service-block .lead { margin-top: 22px; }
.service-block__closing { font-size: 14.5px; color: var(--navy); padding-left: 16px; border-left: 3px solid var(--teal); margin-top: 6px; }
.service-block__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); font-weight: 600; font-size: 13px; margin-bottom: 18px; }

/* Not covered panel */
.notice-panel { background: var(--white); border-radius: 22px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; border-top: 5px solid var(--red); }
.notice-panel h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.notice-panel p { font-size: 14.5px; }
@media (max-width: 900px) { .notice-panel { grid-template-columns: 1fr; gap: 20px; } }

/* Dark cards (additional support) */
.dark-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 28px; color: rgba(255,255,255,.85); transition: background .25s, transform .25s; }
.dark-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.dark-card h3 { color: var(--white); font-size: 18px; margin: 18px 0 10px; }
.dark-card p { font-size: 14px; }
.dark-card .card__icon { background: var(--teal); }
.dark-card .checklist { margin-bottom: 0; }

/* ---------- About page ---------- */
.stat-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stat-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--gray); font-size: 13px; font-weight: 600; color: var(--navy-dark); }
.stat-chip .i { color: var(--teal); font-size: 18px; }
.big-quote { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.big-quote blockquote { margin: 0; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); line-height: 1.5; font-weight: 500; color: var(--navy-dark); }
.big-quote__mark { font-family: Georgia, serif; font-size: 90px; color: var(--teal); line-height: .6; display: block; margin-bottom: 10px; }
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { background: var(--white); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow); border-bottom: 3px solid var(--c); }
.value .card__icon { margin: 0 auto 14px; border-radius: 50%; }
.value h3 { font-size: 15px; margin: 0; line-height: 1.4; }
@media (max-width: 1024px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .value-grid { grid-template-columns: 1fr 1fr; } }
.cred-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.cred-list li { display: flex; gap: 16px; align-items: center; background: var(--white); padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; font-size: 14.5px; color: var(--navy-dark); }
.cred-list .card__icon { width: 42px; height: 42px; font-size: 19px; border-radius: 50%; }
.interest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.interest { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px; }
.interest .i { font-size: 28px; color: var(--teal-light); }
.interest h3 { font-size: 15px; margin: 12px 0 6px; }
.interest p { font-size: 13px; line-height: 1.65; }
@media (max-width: 700px) { .interest-grid { grid-template-columns: 1fr; } }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.list-card { background: var(--white); border-radius: 20px; padding: 34px 32px; box-shadow: var(--shadow); }
.list-card h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.list-card h3 .card__icon { width: 42px; height: 42px; font-size: 20px; }
.list-card > p { font-size: 14px; }
@media (max-width: 820px) { .two-lists { grid-template-columns: 1fr; } }

/* ---------- FAQ / accordion ---------- */
.layout-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
@media (max-width: 991px) { .layout-sidebar { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1.08rem/1.4 var(--font); color: var(--navy-dark);
}
.acc-item__btn:hover { color: var(--teal); }
.acc-item__icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 16px; color: var(--teal); transition: transform .3s, background .3s, color .3s; }
.acc-item.is-open .acc-item__icon { transform: rotate(45deg); background: var(--teal); color: var(--white); border-color: var(--teal); }
.acc-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc-item.is-open .acc-item__panel { grid-template-rows: 1fr; }
.acc-item__inner { overflow: hidden; }
.acc-item__inner > div { padding: 0 0 26px; font-size: 14.5px; }
.acc-group-title { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin: 50px 0 10px; font-weight: 600; }
.acc-group-title:first-child { margin-top: 0; }
.src-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; background: var(--gray); border-radius: 10px; padding: 10px 14px; margin: 4px 0 14px; }
.callout { background: var(--gray-2); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; padding: 16px 20px; font-weight: 500; color: var(--navy-dark); margin: 0 0 1em; }
.pull { font-style: italic; color: var(--navy-dark); border-left: 3px solid var(--line); padding-left: 16px; }

.side-card { background: var(--white); border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow); }
.side-card + .side-card { margin-top: 20px; }
.side-card h3 { font-size: 17px; margin-bottom: 16px; }
.side-card--navy { background: var(--navy); color: rgba(255,255,255,.88); position: relative; overflow: hidden; }
.side-card--navy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rainbow); }
.side-card--navy h3 { color: var(--white); }
.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.fact-list li { display: flex; gap: 14px; font-size: 13.5px; line-height: 1.55; }
.fact-list .i { font-size: 20px; color: var(--teal); margin-top: 1px; }
.fact-list strong { display: block; color: var(--navy-dark); font-size: 14px; }

/* ---------- Blog ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-bar button { font: 600 13px var(--font); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-dark); cursor: pointer; transition: all .2s; }
.filter-bar button:hover { border-color: var(--teal); color: var(--teal); }
.filter-bar button.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.post-featured { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 56px; color: inherit; }
.post-featured:hover { color: inherit; }
.post-featured__media { position: relative; min-height: 380px; }
.post-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-featured:hover .post-featured__media img { transform: scale(1.04); }
.post-featured__body { padding: clamp(30px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.post-featured__body h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); margin: 14px 0 16px; }
.post-featured__badge { position: absolute; left: 22px; top: 22px; background: var(--white); color: var(--navy-dark); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; }
@media (max-width: 900px) { .post-featured { grid-template-columns: 1fr; } .post-featured__media { min-height: 260px; } }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); color: inherit; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c, var(--navy)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__media--graphic { display: grid; place-items: center; color: rgba(255,255,255,.95); background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 50%), var(--c); }
.post-card__media--graphic .i { font-size: 64px; stroke-width: 1.2; }
.post-card__media--graphic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rainbow); }
.post-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font-size: 17.5px; line-height: 1.4; margin: 10px 0 10px; }
.post-card__body p { font-size: 13.5px; line-height: 1.7; }
.post-card .card__more { padding-top: 18px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 12.5px; color: var(--muted); }
.post-meta .cat { font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--teal)); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.on-dark .post-meta, .page-banner .post-meta { color: rgba(255,255,255,.78); }
.page-banner .post-meta .cat { color: var(--teal-light); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--navy-dark); border: 1.5px solid var(--line); }
.pagination .is-current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pagination a:hover { border-color: var(--teal); color: var(--teal); }

.newsletter { background: var(--gray-2); border-radius: 28px; padding: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.newsletter h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); margin-bottom: 8px; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .inline-form { flex-direction: column; } }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: start; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } }
.article-hero-img { margin-top: -90px; position: relative; z-index: 2; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.article-hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.prose { font-size: 16px; line-height: 1.85; color: var(--navy); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .2em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .2em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.8em 0; padding: 26px 30px; background: var(--gray); border-left: 4px solid var(--teal); border-radius: 0 16px 16px 0; font-size: 1.15rem; font-weight: 500; font-style: italic; color: var(--navy-dark); }
.prose .lead { font-size: 1.15rem; font-weight: 500; color: var(--navy-dark); }
.prose .callout { font-size: 15px; }
.article-footer { margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--gray); color: var(--navy-dark); }
.tags a:hover { background: var(--teal); color: var(--white); }
.share { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--navy-dark); }
.share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gray); color: var(--navy-dark); font-size: 17px; }
.share a:hover { background: var(--teal); color: var(--white); }
.author-card { display: flex; flex-direction: column; align-items: flex-start; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.author-card p { font-size: 13.5px; }
.mini-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.mini-posts a { display: block; color: var(--navy-dark); font-weight: 600; font-size: 14px; line-height: 1.45; }
.mini-posts a:hover { color: var(--teal); }
.mini-posts small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 4px; }
.toc { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; padding: 8px 0; font-size: 13.5px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line); }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--teal); font-weight: 700; font-size: 12px; padding-top: 2px; }
.toc a:hover { color: var(--teal); }

/* ---------- Contact ---------- */
.contact-section { padding-top: clamp(48px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; position: relative; z-index: 2; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy); color: rgba(255,255,255,.88); border-radius: 24px; padding: 38px 34px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--rainbow); }
.contact-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon-circle { width: 46px; height: 46px; font-size: 19px; background: rgba(255,255,255,.1); color: var(--teal-light); }
.contact-list small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.5; }
.contact-list a:hover { color: var(--teal-light); }
.contact-card__note { font-size: 13px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.form-card { background: var(--white); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; position: relative; }
.map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.35) contrast(1.02); }
.map__pin { position: absolute; left: 24px; top: 24px; background: var(--white); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-lg); line-height: 1.5; font-size: 13.5px; }
.map__pin strong { display: block; color: var(--navy-dark); font-size: 14.5px; }
@media (max-width: 560px) { .map__pin { position: static; border-radius: 0; box-shadow: none; } }

/* ---------- Gravity Forms–compatible styles ---------- */
.gform_wrapper { --gf-border: #d8e4e8; }
.gform_wrapper .gform_required_legend { font-size: 12.5px; color: var(--muted); margin: 0 0 20px; }
.gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px 18px; }
.gform_wrapper .gfield { grid-column: span 12; min-width: 0; }
.gform_wrapper .gfield--width-half { grid-column: span 6; }
@media (max-width: 640px) { .gform_wrapper .gfield--width-half { grid-column: span 12; } }
.gform_wrapper .gfield_label { display: block; font-size: 13px; font-weight: 600; color: var(--navy-dark); margin-bottom: 8px; }
.gform_wrapper .gfield_required { color: var(--red); margin-left: 3px; }
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper select, .gform_wrapper textarea,
.inline-form input {
  width: 100%; font: 500 14.5px var(--font); color: var(--navy-dark);
  background: var(--gray); border: 1.5px solid var(--gray); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none;
}
.inline-form input { background: var(--white); border-color: var(--white); border-radius: 999px; padding: 14px 22px; }
.gform_wrapper select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002544' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.gform_wrapper textarea { min-height: 150px; resize: vertical; }
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus, .inline-form input:focus { outline: none; border-color: var(--teal); background-color: var(--white); box-shadow: 0 0 0 4px rgba(17,140,158,.12); }
.gform_wrapper ::placeholder { color: #8aa0b2; }
.gform_wrapper .gfield_consent_label, .gform_wrapper .gchoice label { font-size: 13px; line-height: 1.6; }
.gform_wrapper .ginput_container_consent, .gform_wrapper .gchoice { display: flex; gap: 12px; align-items: flex-start; }
.gform_wrapper input[type="checkbox"], .gform_wrapper input[type="radio"] { width: 20px; height: 20px; accent-color: var(--teal); margin: 1px 0 0; flex-shrink: 0; }
.gform_wrapper .gfield_checkbox, .gform_wrapper .gfield_radio { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.gform_wrapper .gfield_description { font-size: 12px; color: var(--muted); margin-top: 6px; }
.gform_wrapper .gform_footer { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gform_wrapper .gform_button { border: 0; }
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea { border-color: var(--red); }
.gform_confirmation_message { display: none; background: var(--gray-2); border-left: 4px solid var(--teal); padding: 18px 20px; border-radius: 0 12px 12px 0; font-weight: 500; color: var(--navy-dark); margin-top: 22px; }
.gform_confirmation_message.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rainbow); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1.3fr 1.1fr 1fr; gap: 0; padding: 64px 0 52px; }
.footer-col { padding: 0 30px; border-left: 1px solid var(--line); }
.footer-col:first-child { padding-left: 0; border-left: 0; }
.footer-brand img { width: 230px; margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.65; max-width: 260px; }
.footer-col h3 { font-size: 15px; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--navy); }
.footer-links a .i { font-size: 13px; color: var(--navy-dark); transition: transform .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-links a:hover .i { transform: translateX(2px); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; font-size: 13.5px; line-height: 1.55; }
.footer-contact .i { color: var(--teal); font-size: 17px; margin-top: 2px; }
.footer-contact a { color: var(--navy); }
.footer-contact a:hover { color: var(--teal); }
.footer-bottom { background: var(--white); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.footer-legal { display: flex; align-items: center; gap: 18px; font-size: 12px; line-height: 1.6; }
.footer-legal p { margin: 0; }
.footer-legal .sep { margin: 0 8px; opacity: .5; }
.social { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.social:hover { background: var(--navy); color: var(--white); }
.footer-policies { display: flex; gap: 24px; font-size: 12px; }
.footer-policies a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-col:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-col { padding: 0; border-left: 0; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .footer-legal { align-items: flex-start; }
}

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); border: 0; display: grid; place-items: center; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 90; box-shadow: var(--shadow-lg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.prose-sm p { font-size: 14.5px; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 4px; }

/* Mobile: keep long service pages scannable */
@media (max-width: 900px) {
  .service-block .media-sweep { display: none; }
}

/* ---------- "Get in touch" pulse ---------- */
.btn--pulse { position: relative; isolation: isolate; }
.btn--pulse::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(17, 140, 158, .55);
  animation: btnPulse 2.6s cubic-bezier(.2,.6,.35,1) infinite;
  pointer-events: none;
}
.btn--white.btn--pulse::before { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation-name: btnPulseLight; }
.btn--pulse:hover::before { animation-play-state: paused; opacity: 0; }
@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(17, 140, 158, .5); }
  60%, 100% { box-shadow: 0 0 0 14px rgba(17, 140, 158, 0); }
}
@keyframes btnPulseLight {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
  60%, 100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}

/* ---------- Home hero load-in ---------- */
@keyframes heroShapeIn { from { transform: translateX(-14%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes heroImgIn { from { transform: scale(1.18); opacity: 0; filter: saturate(.6) blur(4px); } to { transform: scale(1); opacity: 1; filter: none; } }
@keyframes heroWordIn { from { transform: translateY(105%) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes heroFadeUp { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes heroSwash { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroGlow { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -20px) scale(1.08); } }

.hero--animate .hero__shape { animation: heroShapeIn 1.1s cubic-bezier(.16,1,.3,1) both; }
.hero--animate .hero__media img { animation: heroImgIn 1.8s cubic-bezier(.16,1,.3,1) .15s both; }
.hero--animate .eyebrow { animation: heroFadeUp .8s cubic-bezier(.16,1,.3,1) .35s both; }
.js .hero--animate h1[data-split]:not(.is-split) { visibility: hidden; }
.hero--animate h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero--animate h1 .w > span { display: inline-block; animation: heroWordIn .9s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.45s + var(--i) * 70ms); }
.hero--animate h1.swash::after { animation: heroSwash .9s cubic-bezier(.65,0,.35,1) both; animation-delay: var(--swash-delay, 1.2s); }
.hero--animate .hero__content > p { animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--p-delay, 1.25s); }
.hero--animate .btn-row > * { animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--b-delay, 1.4s); }
.hero--animate .btn-row > * + * { animation-delay: calc(var(--b-delay, 1.4s) + .12s); }
.hero--animate .btn-row .btn--pulse::before { animation-delay: 2.6s; }
.hero--animate::before {
  content: ""; position: absolute; left: 18%; top: 30%; width: 420px; height: 420px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(43,182,201,.22), rgba(43,182,201,0) 65%);
  animation: heroFadeUp 1.4s ease .6s both, heroGlow 12s ease-in-out 2s infinite;
  pointer-events: none;
}
.hero--animate + .features .features__inner { animation: heroFadeUp 1s cubic-bezier(.16,1,.3,1) 1.55s both; }
.hero--animate + .features .features__item { animation: heroFadeUp .8s cubic-bezier(.16,1,.3,1) both; }
.hero--animate + .features .features__item:nth-child(1) { animation-delay: 1.7s; }
.hero--animate + .features .features__item:nth-child(2) { animation-delay: 1.78s; }
.hero--animate + .features .features__item:nth-child(3) { animation-delay: 1.86s; }
.hero--animate + .features .features__item:nth-child(4) { animation-delay: 1.94s; }
.hero--animate + .features .features__item:nth-child(5) { animation-delay: 2.02s; }
@media (max-width: 991px) { .hero--animate::before { left: auto; right: -120px; top: 0; } }

@media (prefers-reduced-motion: reduce) {
  .btn--pulse::before { animation: none; }
  .hero--animate *, .hero--animate::before, .hero--animate + .features * { animation: none !important; }
}

/* ---------- Reviews (real client testimonials, no photos) ---------- */
.review__icon { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--gray-2); color: var(--teal); font-size: 21px; }
.review__icon .i { stroke-width: 1.7; }
.review__author strong { max-width: 260px; }
.review__clamp { display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--teal); }
.review__more .i { transition: transform .2s; }
.review__more:hover .i { transform: translateX(3px); }
.review--slide { height: 100%; }
.slider__track { align-items: stretch; }

.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }
.review--full { padding: 36px 36px 30px; }
.review--full .review__text p { font-size: 15px; line-height: 1.8; margin-bottom: .9em; }
.review--full .review__text p:last-child { margin-bottom: 0; }
.review--full .review__author { padding-top: 26px; margin-top: 4px; }
.review__valued { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__valued > span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.review__valued ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.review__valued li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--navy-dark); background: var(--gray); border-radius: 999px; padding: 6px 12px; }
.review__valued li .i { color: var(--c, var(--teal)); font-size: 13px; stroke-width: 2.6; }
.review__valued--dark { border-top-color: rgba(255,255,255,.14); margin-top: 26px; }
.review__valued--dark li { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }
.review__valued--dark li .i { color: var(--teal-light); }
.featured-review blockquote p { margin-bottom: .7em; }
.featured-review blockquote p:last-child { margin-bottom: 0; }
.featured-review .review__icon { background: rgba(255,255,255,.1); color: var(--teal-light); }
.featured-review .review__author { padding-top: 22px; }
.review--full:target, .featured-review:target { animation: reviewFlash 2s ease; }
@keyframes reviewFlash { 0%, 40% { box-shadow: 0 0 0 4px rgba(17,140,158,.35), var(--shadow-lg); } 100% { box-shadow: var(--shadow); } }
@media (max-width: 640px) { .featured-review blockquote { font-size: 1.02rem; line-height: 1.65; } .review--full { padding: 28px 24px 24px; } }

/* ---------- Service rows (image-free subsections) ---------- */
.service-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.service-row__head { position: sticky; top: calc(var(--header-h) + 32px); }
.service-row__head .lead { margin-top: 22px; }
.service-row__head .btn-row { margin-top: 26px; }
.service-row__card {
  position: relative; background: var(--white); border-radius: 22px; padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow); border: 1px solid rgba(2,26,64,.05); overflow: hidden;
}
.service-row__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--rainbow-45); }
.service-block:not(.bg-gray) .service-row__card { background: var(--gray); box-shadow: none; border-color: var(--line); }
.service-row__label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.service-row__card .checklist { margin: 16px 0 0; gap: 14px 28px; }
.service-row__card .checklist li { font-size: 15px; }
.service-row__closing { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--navy-dark); }
.service-row__closing .i { font-size: 20px; color: var(--teal); margin-top: 2px; }
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 28px; }
  .service-row__head { position: static; }
  .service-row__head .btn-row { display: none; }
}

/* ---------- Footer accordions (mobile) ---------- */
.footer-acc__btn { all: unset; display: inline-flex; align-items: center; gap: 8px; cursor: default; font: inherit; color: inherit; }
.footer-acc__btn .i { display: none; }
@media (max-width: 640px) {
  .footer-main { text-align: center; padding: 48px 0 36px; row-gap: 0; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { margin: 0 auto 28px; }
  .footer-col h3 { margin: 0; }
  .footer-acc { border-top: 1px solid var(--line); }
  .footer-acc:last-of-type { border-bottom: 1px solid var(--line); }
  .footer-acc__btn { cursor: pointer; display: flex; justify-content: center; width: 100%; padding: 18px 0; box-sizing: border-box; }
  .footer-acc__btn .i { display: inline-block; font-size: 16px; color: var(--teal); transition: transform .25s; }
  .footer-acc.is-open .footer-acc__btn .i { transform: rotate(180deg); }
  .footer-acc__btn:focus-visible { outline: 3px solid var(--teal-light); outline-offset: -3px; }
  .footer-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
  .footer-acc.is-open .footer-acc__panel { grid-template-rows: 1fr; }
  .footer-acc__panel > ul { overflow: hidden; min-height: 0; }
  .footer-acc.is-open .footer-acc__panel > ul { padding-bottom: 20px; }
  .footer-links, .footer-links--2 { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .footer-links a .i { display: none; }
  .footer-col:last-child { padding-top: 30px; }
  .footer-col:last-child h3 { margin-bottom: 16px; }
  .footer-contact { justify-items: center; }
  .footer-contact li { justify-content: center; }
  .footer-bottom .container { align-items: center; text-align: center; }
  .footer-legal { flex-direction: column; align-items: center; gap: 14px; }
  .footer-legal .sep { margin: 0 4px; }
}
