/* =========================================================
   Bahri Global — Global styles
   Fonts: Jost (headings) · DM Sans (body)
   ========================================================= */

:root {
  --navy: #2E2E52;
  --navy-deep: #1f1f3a;
  --blue: #007AA4;
  --blue-light: #2aa3cc;
  --black: #000000;
  --white: #ffffff;
  --ivory: #f6f4ef;

  --font-head: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --header-h: 104px;
  --gutter: clamp(20px, 3.5vw, 56px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* in-page links stop below the fixed header */
section[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 500;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }

body.menu-open { overflow: hidden; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .45s var(--ease), height .45s var(--ease);
}

.site-header::after {          /* hairline under header */
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .18);
  transition: opacity .4s;
}

.site-header.is-scrolled,
.site-header.mega-open {
  background-color: var(--navy);
}
.site-header.is-scrolled::after,
.site-header.mega-open::after { opacity: 0; }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
  transition: height .45s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 84px; }

/* ---- Nav ---- */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after,
.has-mega.is-open .nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.chev {
  width: 12px;
  height: 12px;
  transition: transform .4s var(--ease);
}
.has-mega.is-open .chev { transform: rotate(180deg); }

/* ---- Logo ---- */
.logo img {
  height: 92px;
  width: auto;
  max-width: none;
  object-fit: contain;
  transition: height .45s var(--ease);
}
.site-header.is-scrolled .logo img { height: 70px; }

/* ---- Contact (right) ---- */
.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
}

.icon-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
}
.icon-ring svg { width: 18px; height: 18px; }

/* animated ripple rings for the phone icon */
.icon-ring::before,
.icon-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  animation: ripple 2.4s var(--ease) infinite;
}
.icon-ring::after { animation-delay: 1.2s; }

.call-icon svg {
  animation: ring 2.4s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.call-link:hover .icon-ring { background: var(--white); color: var(--navy); }
.icon-ring { transition: background-color .35s, color .35s; }

@keyframes ripple {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes ring {
  0%, 50%, 100% { transform: rotate(0); }
  5%, 15%, 25%  { transform: rotate(-14deg); }
  10%, 20%, 30% { transform: rotate(14deg); }
  35%           { transform: rotate(0); }
}

.whatsapp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .03em;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease);
}
.whatsapp-btn::before {          /* fill sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  border-radius: inherit;
}
.whatsapp-btn:hover { color: var(--navy); }
.whatsapp-btn:hover::before { transform: translateY(0); }

.wa-icon { display: grid; place-items: center; }
.wa-icon svg {
  width: 21px;
  height: 21px;
  animation: wa-bounce 3s var(--ease) infinite;
}
@keyframes wa-bounce {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  68% { transform: translateY(-3px) scale(1.12) rotate(-8deg); }
  76% { transform: translateY(0) scale(1) rotate(6deg); }
  84% { transform: rotate(0); }
}

/* ---- Burger (mobile) ---- */
.burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
}
.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.6px;
  background: var(--white);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:first-child { top: 19px; }
.burger span:last-child  { top: 27px; }
.burger.is-active span:first-child { top: 23px; transform: rotate(45deg); }
.burger.is-active span:last-child  { top: 23px; transform: rotate(-45deg); }

/* =========================================================
   SERVICES MEGA MENU
   ========================================================= */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
}
.site-header.mega-open .mega {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .7s var(--ease-io), visibility 0s;
}

.mega-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) 1.6fr;
  gap: clamp(32px, 4vw, 72px);
  padding: 28px var(--gutter) 44px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* -- left visual -- */
.mega-visual {
  position: relative;
  min-height: 440px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-deep);
}

.mega-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.mega-img.is-current {
  opacity: 1;
  transform: scale(1);
}

.mega-visual::after {          /* legibility gradient */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20, 20, 40, .88) 100%);
  pointer-events: none;
}

.mega-visual-caption {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  z-index: 2;
  color: var(--white);
}
.mega-count {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: .14em;
  opacity: .8;
}
.mega-visual-caption h3 {
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.15;
  margin-bottom: 10px;
}
.mega-visual-caption p {
  margin: 0;
  font-size: 17px;
  max-width: 34ch;
  opacity: .88;
}
.mega-visual-caption .swap {
  animation: caption-in .6s var(--ease) both;
}
@keyframes caption-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -- right content -- */
.mega-content {
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.mega-eyebrow {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.mega-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}
.mega-all svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.mega-all:hover svg { transform: translateX(5px); }

.mega-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 3vw, 56px);
  flex: 1;
}

.mega-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
}
.mega-item::after {            /* animated underline */
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}

.mi-num {
  font-size: 15px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
  transition: color .4s;
}
.mi-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.25;
  transition: transform .5s var(--ease), color .4s;
}
.mi-arrow {
  font-size: 22px;
  color: var(--blue-light);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .4s, transform .5s var(--ease);
}

.mega-item:hover::after,
.mega-item.is-active::after { transform: scaleX(1); transform-origin: left; }
.mega-item:hover .mi-title,
.mega-item.is-active .mi-title { transform: translateX(8px); color: var(--blue); }
.mega-item:hover .mi-num,
.mega-item.is-active .mi-num { color: var(--blue-light); }
.mega-item:hover .mi-arrow,
.mega-item.is-active .mi-arrow { opacity: 1; transform: translateX(0); }

/* stagger-in when opening */
.mega-list li,
.mega-head,
.mega-foot {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.mega-open .mega-list li,
.mega-open .mega-head,
.mega-open .mega-foot {
  opacity: 1;
  transform: translateY(0);
}
.mega-open .mega-head { transition-delay: .2s; }
.mega-open .mega-list li:nth-child(1) { transition-delay: .25s; }
.mega-open .mega-list li:nth-child(2) { transition-delay: .29s; }
.mega-open .mega-list li:nth-child(3) { transition-delay: .33s; }
.mega-open .mega-list li:nth-child(4) { transition-delay: .37s; }
.mega-open .mega-list li:nth-child(5) { transition-delay: .41s; }
.mega-open .mega-list li:nth-child(6) { transition-delay: .45s; }
.mega-open .mega-list li:nth-child(7) { transition-delay: .49s; }
.mega-open .mega-list li:nth-child(8) { transition-delay: .53s; }
.mega-open .mega-foot { transition-delay: .58s; }

.mega-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 20px 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
}
.mega-foot p { margin: 0; font-size: 17px; opacity: .9; }
.mega-call {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  transition: color .3s;
}
.mega-call:hover { color: var(--blue-light); }

.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility 0s linear .5s;
}
.mega-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s, visibility 0s;
}

/* =========================================================
   MOBILE MENU
   ========================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 52px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 44px) 52px);
  visibility: visible;
  transition: clip-path .8s var(--ease-io), visibility 0s;
}

.m-list > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.m-list > li > a,
.m-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 400;
  text-align: left;
}
.m-plus { position: relative; width: 18px; height: 18px; }
.m-plus::before,
.m-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.m-plus::after { transform: rotate(90deg); }
.m-has-sub.is-open .m-plus::after { transform: rotate(0); }

.m-sub { max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.m-has-sub.is-open .m-sub { max-height: 640px; }
.m-sub li a {
  display: block;
  padding: 10px 0 10px 4px;
  font-size: 18px;
  opacity: .85;
}
.m-sub li:last-child a { padding-bottom: 22px; }

.m-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}
.m-call {
  font-family: var(--font-head);
  font-size: 26px;
}
.m-contact .whatsapp-btn { justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) var(--gutter) 120px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: var(--navy-deep);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-zoom 2.6s var(--ease) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 40, .62) 0%, rgba(20, 20, 40, .18) 30%, rgba(20, 20, 40, .28) 65%, rgba(20, 20, 40, .7) 100%),
    rgba(46, 46, 82, .22);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.hero-title {
  font-size: clamp(40px, 6.2vw, 104px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.02em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
}
.hero-title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.2s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { to { transform: translateY(0); } }


.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: .02em;
  opacity: 0;
  margin-top: 34px;
  animation: fade-up 1s var(--ease) .8s forwards;
}
.hero-facts li {
  display: flex;
  align-items: center;
}
.hero-facts li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 20px;
  margin: 0 22px;
  background: rgba(255, 255, 255, .55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
  opacity: 0;
  animation: fade-up 1s var(--ease) 1.2s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Buttons (no shadows) ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary::before { background: var(--white); }
.btn-primary:hover { color: var(--navy); }

.btn-ghost { border: 1px solid rgba(255, 255, 255, .6); color: var(--white); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--navy); border-color: var(--white); }

/* ---- Scroll indicator ---- */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
  transition: background-color .4s, color .4s;
}
.scroll-down svg {
  width: 20px;
  height: 20px;
  animation: nudge 2s ease-in-out infinite;
}
.scroll-down:hover { background: var(--white); color: var(--navy); }
@keyframes nudge {
  0%, 100% { transform: translateY(-3px); }
  50%      { transform: translateY(4px); }
}

/* =========================================================
   SHARED SECTION BITS
   ========================================================= */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-title {
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--navy);
}

.btn-dark { background: var(--navy); color: var(--white); gap: 12px; }
.btn-dark::before { background: var(--blue); }
.btn-dark svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.btn-dark:hover svg { transform: translateX(4px); }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .12s; }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0 clamp(50px, 5vw, 76px);
  background: var(--white);
  overflow: hidden;
}

.about-top,
.about-bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
}

.about-lead {
  margin: 0;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.7;
  color: #2b2b3a;
}

/* brand emblem watermark */
.about-watermark {
  position: absolute;
  top: clamp(24px, 3vw, 48px);
  right: -5vw;
  z-index: 0;
  width: min(50vw, 780px);
  height: auto;
  opacity: .6;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.about > .container,
.about > .marquee { position: relative; z-index: 1; }
.about-curve { z-index: 1; }

/* ---- curve band ---- */
.about-curve {
  position: relative;
  height: clamp(170px, 18vw, 260px);
  margin: 0;
}
.curve-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.curve-path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.curve-badge {
  position: absolute;
  left: 68.75%;               /* matches the path point x=990 in the 1440 viewBox */
  top: 52%;
  width: clamp(130px, 12vw, 176px);
  aspect-ratio: 1;
  margin: 0;
  transform: translate(-50%, -50%) scale(.6);
  opacity: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: transform 1s var(--ease), opacity .6s;
}
.curve-badge.is-in { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.badge-ring text {
  fill: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
}
@keyframes spin { to { transform: rotate(360deg); } }

.badge-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.badge-num {
  font-family: var(--font-head);
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 500;
}
.badge-sub {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---- stats + text ---- */
.about-bottom { align-items: start; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e6e6ec;
}
.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid #e6e6ec;
}
.about-stats li:nth-child(odd) { padding-right: 24px; border-right: 1px solid #e6e6ec; }
.about-stats li:nth-child(even) { padding-left: 32px; }

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
}
.stat-label {
  font-size: 16px;
  color: #55556a;
}

.about-text p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.75;
  color: #2b2b3a;
}
.about-text .btn { margin-top: 14px; }

/* =========================================================
   LOGO CAROUSEL
   ========================================================= */
.marquee { margin-top: clamp(44px, 5vw, 72px); }

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
/* client logo strip: white band, scrolls the other way */
.clients { padding: clamp(40px, 5vw, 64px) 0; background: var(--white); border-top: 1px solid #efeff3; border-bottom: 1px solid #efeff3; }
.clients .marquee { margin-top: 0; }
/* client logos fill their cards (the files have built-in white space) */
.clients .logo-card { width: 240px; height: 132px; padding: 16px 22px; }
.clients .logo-card img { width: auto; height: auto; max-width: 100%; max-height: 100px; object-fit: contain; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 40s; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-set {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}
.logo-card {
  display: grid;
  place-items: center;
  width: 220px;
  height: 124px;
  padding: 22px 30px;
  background: var(--white);
  border: 1px solid #e8e8ee;
  border-radius: 12px;
  transition: border-color .4s;
}
.logo-card:hover { border-color: var(--blue); }
.logo-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-invert { filter: brightness(0); opacity: .85; }

/* =========================================================
   CHOOSE YOUR JURISDICTION
   ========================================================= */
.juris {
  --gap: clamp(16px, 2vw, 28px);
  position: relative;
  padding: clamp(70px, 8vw, 120px) 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.juris-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
}
.juris .section-title { color: var(--white); }
.juris-lead {
  margin: 0;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}

/* ---- cards ---- */
.juris-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: clamp(44px, 5vw, 64px);
}

.juris-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 460px;
  border-radius: 10px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.juris-card.reveal:nth-child(2) { transition-delay: .12s; }
.juris-card.reveal:nth-child(3) { transition-delay: .24s; }

.jc-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.jc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.jc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 40, .35) 0%, rgba(20, 20, 40, 0) 30%, rgba(20, 20, 40, .35) 55%, rgba(20, 20, 40, .92) 100%);
  transition: background-color .6s;
}

/* inset hairline frame that appears on hover */
.juris-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 6px;
  transition: border-color .6s, inset .7s var(--ease);
  pointer-events: none;
}

.jc-num {
  position: absolute;
  top: 18px;
  right: 26px;
  font-family: var(--font-head);
  font-size: clamp(80px, 7vw, 120px);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .7);
  transition: color .6s, -webkit-text-stroke-color .6s;
}

.jc-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(26px, 2.6vw, 40px);
}
.jc-title {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 14px;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.1;
}
.jc-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: var(--blue-light);
  transition: width .7s var(--ease);
}
.jc-text {
  margin: 0;
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}
.jc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: max-height .6s var(--ease), margin-top .6s var(--ease), opacity .5s, transform .6s var(--ease);
}
.jc-link span { transition: transform .45s var(--ease); }

.juris-card:hover .jc-media img { transform: scale(1.12); }
.juris-card:hover::after { inset: 18px; border-color: rgba(255, 255, 255, .45); }
.juris-card:hover .jc-num { color: rgba(255, 255, 255, .14); }
.juris-card:hover .jc-title::after { width: 100%; }
.juris-card:hover .jc-link,
.juris-card:focus-visible .jc-link {
  max-height: 40px;
  margin-top: 20px;
  opacity: 1;
  transform: none;
}
.juris-card:hover .jc-link span { transform: translateX(5px); }

@media (hover: none) {
  .jc-link { max-height: 40px; margin-top: 20px; opacity: 1; transform: none; }
}

/* ---- CTA strip ---- */
.juris-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.juris-cta p {
  margin: 0;
  font-size: clamp(18px, 1.4vw, 21px);
  color: rgba(255, 255, 255, .88);
}

/* =========================================================
   OUR SERVICES  (sticky heading + service cards)
   ========================================================= */
.sv {
  position: relative;
  padding: clamp(70px, 8vw, 120px) 0;
  background: var(--white);
}

.sv-wrap {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) 1.5fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

/* left column stays put while the services scroll past */
.sv-intro {
  position: sticky;
  top: 116px;
}
.sv .section-title { font-size: clamp(32px, 3.2vw, 50px); }
.sv-lead {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: #2b2b3a;
}

/* service index: highlights the one in view */
.sv-nav {
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  border-left: 1px solid #e3e3ea;
}
.sv-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 0 7px 24px;
  font-size: 16px;
  color: #7a7a8e;
  transition: color .4s;
}
.sv-nav a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform .5s var(--ease);
}
.sv-nav span {
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: .08em;
}
.sv-nav a:hover,
.sv-nav a.is-current { color: var(--navy); }
.sv-nav a.is-current::before { transform: scaleY(1); }
.sv-nav a.is-current span { color: var(--blue); }

/* ---- cards ---- */
.sv-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sv-card {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  min-height: 420px;
  border: 1px solid #e8e8ee;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  scroll-margin-top: 130px;
  transition: border-color .25s, background-color .25s;
}
.sv-card:hover { border-color: #c9c9d6; }
/* the service in view fills with the main navy */
.sv-card.is-current { background: var(--navy); border-color: var(--navy); }
.sv-name, .sv-desc, .sv-label, .sv-chips li, .sv-wa { transition: color .25s, background-color .25s, border-color .25s; }
.sv-card.is-current .sv-name { color: var(--white); }
.sv-card.is-current .sv-name::after { background: var(--blue-light); }
.sv-card.is-current .sv-desc { color: rgba(255, 255, 255, .85); }
.sv-card.is-current .sv-label { color: var(--blue-light); }
.sv-card.is-current .sv-chips li { background: rgba(255, 255, 255, .1); color: var(--white); }
.sv-card.is-current .btn-dark { background: var(--blue); }
.sv-card.is-current .btn-dark::before { background: var(--white); }
.sv-card.is-current .btn-dark:hover { color: var(--navy); }
.sv-card.is-current .sv-wa { border-color: rgba(255, 255, 255, .4); color: var(--white); }
/* every second card puts the image on the right */
.sv-card.is-flip { grid-template-columns: 1.3fr .7fr; }
.sv-card.is-flip .sv-media { order: 2; }

.sv-media {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.sv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.sv-card:hover .sv-img { transform: scale(1.12); }
.sv-body {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 40px);
}
.sv-name {
  position: relative;
  padding-bottom: 16px;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.15;
  color: var(--navy);
}
.sv-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: var(--blue);
  transition: width .7s var(--ease);
}
.sv-card:hover .sv-name::after { width: 110px; }
.sv-desc {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: #3a3a4c;
}
.sv-label {
  margin: 22px 0 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.sv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sv-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: #f2f4f8;
  font-size: 15px;
  color: var(--navy);
}

.sv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}
.sv-actions .btn,
.sv-wa { height: 54px; padding: 0 22px; }
.sv-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid #cfcfda;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  transition: background-color .4s, border-color .4s, color .4s;
}
/* short screens: keep the sticky column within the viewport */
@media (max-height: 820px) and (min-width: 901px) {
  .sv-lead { display: none; }
}
.sv-wa svg { width: 22px; height: 22px; color: #25d366; transition: color .4s; }
.sv-wa:hover { background: #25d366; border-color: #25d366; color: var(--white); }
.sv-wa:hover svg { color: var(--white); }

/* =========================================================
   WHY CHOOSE US  (spotlight grid)
   ========================================================= */
.why {
  position: relative;
  padding: clamp(80px, 9vw, 130px) 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(0, 122, 164, .30), transparent 62%),
    radial-gradient(800px 560px at 100% 100%, rgba(0, 122, 164, .20), transparent 60%),
    var(--navy-deep);
}

/* ghosted brand emblem */
.why-mark {
  position: absolute;
  top: 50%;
  left: -12vw;
  width: min(80vw, 1150px);
  transform: translateY(-50%);
  opacity: .5;
  pointer-events: none;
  user-select: none;
}

.why-head {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
  margin-bottom: clamp(48px, 5vw, 72px);
}
.why .section-title { color: var(--white); }
.why-accent { display: block; color: var(--blue-light); }
.why-head-side p {
  margin: 0 0 26px;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-grid li.reveal:nth-child(2) { transition-delay: .08s; }
.why-grid li.reveal:nth-child(3) { transition-delay: .16s; }
.why-grid li.reveal:nth-child(4) { transition-delay: .24s; }
.why-grid li.reveal:nth-child(5) { transition-delay: .32s; }
.why-grid li.reveal:nth-child(6) { transition-delay: .40s; }

.why > .container { position: relative; z-index: 1; }

/* outlined cards: 2px brand-blue border, no fill */
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 44px);
  border: 2px solid var(--blue);
  border-radius: 14px;
  background: transparent;
  transition: background-color .5s;
}
.why-card:hover { background: rgba(0, 122, 164, .1); }

/* ---- icons: no background, each with its own motion ---- */
.why-badge {
  display: block;
  color: var(--blue-light);
}
.why-icon {
  display: block;
  width: 60px;
  height: 60px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .6s var(--ease);
}
.why-icon * { transform-box: fill-box; }
.why-card:hover .why-icon { transform: translateY(-4px); }

/* accent pieces in white alongside the blue main icon */
.why-icon .acc { stroke: var(--white); }
.why-icon .acc-fill { fill: var(--white); stroke: none; }

/* 1. medal swings, sparkles twinkle */
.i-medal { transform-origin: 50% 0; animation: medal-swing 3.6s ease-in-out infinite; }
@keyframes medal-swing {
  0%, 100% { transform: rotate(-7deg); }
  50%      { transform: rotate(7deg); }
}
.i-spark { transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.i-spark.s2 { animation-delay: .8s; }
.i-spark.s3 { animation-delay: 1.6s; }
@keyframes twinkle {
  0%, 100% { transform: scale(.4); opacity: .2; }
  50%      { transform: scale(1);  opacity: 1; }
}

/* 2. pin bounces, ripples spread on the ground */
.i-pin-body { animation: pin-bounce 2.4s var(--ease) infinite; }
@keyframes pin-bounce {
  0%, 100%, 60% { transform: translateY(0); }
  30%           { transform: translateY(-5px); }
}
.i-wave { transform-origin: center; animation: ground-ripple 2.4s ease-out infinite; }
.i-wave.w2 { animation-delay: 1.2s; }
@keyframes ground-ripple {
  0%   { transform: scale(.3); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* 3. layers float, dots rise from the stack */
.i-l1 { animation: layer-float 3s ease-in-out infinite; }
.i-l2 { animation: layer-float 3s ease-in-out .15s infinite; }
@keyframes layer-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.i-rise { animation: rise-dot 2.4s ease-out infinite; }
.i-rise.r2 { animation-delay: .4s; }
.i-rise.r3 { animation-delay: .8s; }
@keyframes rise-dot {
  0%   { transform: translateY(6px); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-6px); opacity: 0; }
}

/* 4. receipt lines re-write, coin pops in */
.i-line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: rewrite 4s var(--ease-io) infinite; }
.i-line:nth-of-type(3) { animation-delay: .2s; }
.i-line:nth-of-type(4) { animation-delay: .4s; }
@keyframes rewrite {
  0%, 15%   { stroke-dashoffset: 0; }
  35%       { stroke-dashoffset: 1; }
  60%, 100% { stroke-dashoffset: 0; }
}
.i-coin { transform-origin: center; animation: coin-pop 4s var(--ease) infinite; }
@keyframes coin-pop {
  0%, 55%   { transform: scale(1); }
  65%       { transform: scale(1.18); }
  75%, 100% { transform: scale(1); }
}

/* 5. compass: needle searches, outer ring turns */
.i-needle { transform-origin: 50% 50%; animation: needle 5s ease-in-out infinite; }
@keyframes needle {
  0%, 100% { transform: rotate(0deg); }
  20%      { transform: rotate(-35deg); }
  45%      { transform: rotate(25deg); }
  65%      { transform: rotate(-10deg); }
  80%      { transform: rotate(4deg); }
}
.i-orbit { transform-origin: center; animation: spin 14s linear infinite; }

/* 6. headset tilts, chat bubble types */
.i-headset { transform-origin: 50% 60%; animation: tilt 4s ease-in-out infinite; }
@keyframes tilt {
  0%, 100% { transform: rotate(0); }
  50%      { transform: rotate(-6deg); }
}
.i-dot { animation: typing 1.2s ease-in-out infinite; }
.i-dot.d2 { animation-delay: .15s; }
.i-dot.d3 { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%           { transform: translateY(-2px); opacity: 1; }
}

.why-title {
  margin-top: 0;
  padding-top: 36px;
  font-size: clamp(23px, 1.9vw, 28px);
  line-height: 1.2;
}
.why-text {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
}

/* =========================================================
   HOW IT WORKS  (route infographic)
   ========================================================= */
.how {
  position: relative;
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--white);
  overflow: hidden;
}

.how-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
  margin-bottom: clamp(56px, 6vw, 90px);
}
.how-head-side p {
  margin: 0 0 26px;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.7;
  color: #2b2b3a;
}

/* text blocks sit above and below the route, zig-zagging */
.how-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
}
.how-steps { display: contents; list-style: none; }

.how-step {
  position: relative;
  max-width: 290px;
  justify-self: center;
  text-align: center;
  opacity: .38;
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.how-step.is-on { opacity: 1; }
.how-step.s1 { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 26px; }
.how-step.s3 { grid-column: 3; grid-row: 1; align-self: end; padding-bottom: 26px; }
.how-step.s2 { grid-column: 2; grid-row: 3; padding-top: 26px; }
.how-step.s4 { grid-column: 4; grid-row: 3; padding-top: 26px; }
.how-step.s1,
.how-step.s3 { transform: translateY(14px); }
.how-step.s2,
.how-step.s4 { transform: translateY(-14px); }
.how-step.is-on { transform: none; }

/* short connector from text to its milestone */
.how-step::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--blue);
}
.how-step.s1::after,
.how-step.s3::after { bottom: 0; }
.how-step.s2::after,
.how-step.s4::after { top: 0; }

/* step label as a pill that fills in when the step is reached */
.how-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: #e7f3f8;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  transition: background-color .5s, color .5s;
}
.how-k::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.how-step.is-on .how-k { background: var(--blue); color: var(--white); }
.how-title {
  font-size: clamp(24px, 2.1vw, 31px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy);
}
.how-text {
  max-width: 30ch;
  margin: 12px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: #4a4a5e;
}

/* the route itself */
.how-route {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.route-track {
  fill: none;
  stroke: #d9dbe4;
  stroke-width: 2;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
}
.route-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
}
.stop-halo {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .5s;
  animation: spin 14s linear infinite;
}
.stop-dot {
  fill: var(--white);
  stroke: #d9dbe4;
  stroke-width: 2;
  transition: fill .5s, stroke .5s;
}
.stop-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  text-anchor: middle;
  fill: #9a9aae;
  transition: fill .5s;
}
.route-stop.is-on .stop-dot { fill: var(--navy); stroke: var(--blue); stroke-width: 4; }
.route-stop.is-on .stop-num { fill: var(--white); }
.route-stop.is-on .stop-halo { opacity: 1; }

.route-marker circle { fill: var(--blue); }
.route-marker .marker-core { fill: var(--white); }

/* =========================================================
   GOOGLE REVIEWS
   ========================================================= */
.reviews {
  padding: 0 0 clamp(80px, 9vw, 120px);
  background: var(--white);
}
.rv-wrap {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(56px, 6vw, 80px);
  border-top: 1px solid #ececf2;
}
.rv-title {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  color: var(--navy);
}

.rv-card {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  padding: clamp(24px, 2.6vw, 36px) clamp(26px, 3vw, 44px);
  border: 1px solid #e3e3ea;
  border-radius: 20px;
  background: var(--white);
  color: var(--navy);
  transition: border-color .4s;
}
.rv-card:hover { border-color: var(--blue); }

.rv-g {
  flex: none;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid #ececf2;
}
.rv-g svg { width: 40px; height: 40px; }

.rv-score {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.rv-num {
  font-family: var(--font-head);
  font-size: clamp(54px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -.02em;
}
.rv-of { margin-top: 6px; font-size: 15px; color: #6b6b80; }

.rv-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: clamp(20px, 2.4vw, 36px);
  border-left: 1px solid #ececf2;
}
/* stars: gold layer clipped to the rating */
.rv-stars {
  position: relative;
  display: inline-block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 3px;
}
.rv-stars-base { color: #e3e3ea; }
.rv-stars-fill {
  position: absolute;
  inset: 0;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden;
  white-space: nowrap;
  color: #fbbc04;
}
.rv-label { font-size: 17px; color: #4a4a5e; }

.rv-btn { margin-left: auto; flex: none; gap: 10px; }
.rv-btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.rv-card:hover .rv-btn::before { transform: translateY(0); }
.rv-card:hover .rv-btn svg { transform: rotate(45deg); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(760px 520px at 100% 30%, rgba(0, 122, 164, .26), transparent 65%),
    var(--navy-deep);
}
.site-footer > .container { position: relative; z-index: 1; }

/* brand emblem on the right */
.ft-mark {
  position: absolute;
  top: 50%;
  right: -9vw;
  width: min(62vw, 980px);
  transform: translateY(-50%);
  opacity: .55;
  pointer-events: none;
  user-select: none;
}

/* call to action band */
.ft-cta {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
  padding-top: clamp(72px, 8vw, 120px);
}
.ft-cta-title {
  font-size: clamp(36px, 4.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--white);
}
.ft-cta-title span { display: block; color: var(--blue-light); }
.ft-cta-side p {
  margin: 0 0 26px;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.7;
}
.ft-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ft-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  transition: background-color .4s, border-color .4s;
}
.ft-cta-wa svg { width: 22px; height: 22px; color: #25d366; transition: color .4s; }
.ft-cta-wa:hover { background: #25d366; border-color: #25d366; }
.ft-cta-wa:hover svg { color: var(--white); }

/* service pages: photo + enquiry form */
.lead-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(460px, 36vw, 540px);
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
}
.lead-media { position: relative; overflow: hidden; }
.lead-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}
.lead-body {
  align-self: center;
  width: 100%;
  max-width: 640px;
  padding: clamp(40px, 4vw, 64px) var(--gutter) clamp(40px, 4vw, 64px) clamp(36px, 4.5vw, 80px);
}
.lead-body .section-title { font-size: clamp(30px, 3vw, 44px); color: var(--white); }
.lead-body .section-title span { color: var(--blue-light); }
.lead-intro { margin: 12px 0 18px; font-size: 17px; line-height: 1.65; }
.lead-split .rq-grid { gap: 6px 20px; margin-bottom: 0; }
.lead-split .field input,
.lead-split .field textarea { padding: 22px 0 8px; }
.lead-split .field > span { top: 20px; }
.lead-split .field-select > span { top: 0; }
.lead-split .field textarea { min-height: 60px; }
.lead-split .field-select { padding-top: 26px; }
.lead-split .field.field-select select { padding: 12px 48px 12px 18px; }
.lead-split .field-select::before { bottom: 20px; }
.lead-split .rq-actions { margin-top: 22px; }
.lead-split .lead-success h3 { font-size: 28px; color: var(--white); }
.lead-split .lead-success p { margin: 10px 0 0; font-size: 17px; }
.lead-split .rq-check { color: var(--blue-light); }

/* form fields on a dark background */
.lead-form.is-dark .field input,
.lead-form.is-dark .field textarea { color: var(--white); border-bottom-color: rgba(255, 255, 255, .28); }
.lead-form.is-dark .field > span { color: rgba(255, 255, 255, .6); }
.lead-form.is-dark .field input:focus + span,
.lead-form.is-dark .field input:not(:placeholder-shown) + span,
.lead-form.is-dark .field textarea:focus + span,
.lead-form.is-dark .field textarea:not(:placeholder-shown) + span { color: var(--blue-light); }
.lead-form.is-dark .field::after { background: var(--blue-light); }
.lead-form.is-dark .field-select > span { color: var(--blue-light); }
.lead-form.is-dark .field.field-select select {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  color: var(--white);
}
.lead-form.is-dark .field.field-select select option { color: var(--black); }
.lead-form.is-dark .field-select::before { border-color: var(--white); }
.lead-form.is-dark .field.is-invalid input { border-bottom-color: #ff8a7a; }
.lead-form.is-dark .field.is-invalid > span { color: #ff8a7a; }

.lead-success[hidden] { display: none; }


/* flowing line that draws in */
.ft-wave {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 80px;
  margin: clamp(48px, 5vw, 72px) 0 0;
}
.ft-wave path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease-io) .2s;
}
.ft-wave.is-in path { stroke-dashoffset: 0; }
.ft-top {
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 64px);
  padding-top: clamp(40px, 4vw, 56px);
  padding-bottom: clamp(48px, 5vw, 72px);
}
.ft-logo img { height: 82px; width: auto; }
.ft-brand p {
  max-width: 34ch;
  margin: 22px 0 28px;
  font-size: 17px;
  line-height: 1.7;
}

.ft-social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.soc {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  transition: transform .45s var(--ease);
}
.soc svg { width: 22px; height: 22px; }
.soc:hover { transform: translateY(-3px); }
.soc-fb { background: #1877f2; }
.soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

.ft-col h3 {
  margin-bottom: 20px;
  font-size: 19px;
  color: var(--white);
}
.ft-col ul { margin: 0; padding: 0; list-style: none; }
.ft-col li + li { margin-top: 10px; }
.ft-col a {
  font-size: 16px;
  transition: color .3s;
}
.ft-col a:hover { color: var(--white); }
/* small bold arrow before each footer link */
.ft-col ul:not(.ft-reach) li a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ft-col ul:not(.ft-reach) li a::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-top: 2.5px solid var(--blue-light);
  border-right: 2.5px solid var(--blue-light);
  transform: rotate(45deg);
  transition: transform .35s var(--ease);
}
.ft-col ul:not(.ft-reach) li a:hover::before { transform: translateX(4px) rotate(45deg); }
.ft-col ul:not(.ft-reach) li a:hover {
  color: var(--blue-light);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.ft-address {
  display: block;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.7;
}
.ft-address strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--white);
}
.ft-reach { margin: 0; padding: 0; list-style: none; }
.ft-reach li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}
.ft-reach svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--blue-light); }
.ft-reach span { display: flex; flex-direction: column; gap: 4px; }
.ft-reach a { font-size: 17px; font-weight: 500; color: var(--white); transition: color .3s; }
.ft-reach a:hover { color: var(--blue-light); }

.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.ft-bottom p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .6); }

/* =========================================================
   REQUEST LIGHTBOX
   ========================================================= */
.rq {
  --x: 50%;
  --y: 50%;
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  transition: visibility 0s linear .9s;
}
.rq.is-open { visibility: visible; transition: none; }

/* navy curtain that grows out of the clicked button */
.rq-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 58, .94);
  clip-path: circle(0 at var(--x) var(--y));
  transition: clip-path .9s var(--ease-io);
}
.rq.is-open .rq-backdrop { clip-path: circle(150% at var(--x) var(--y)); }

.rq-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  opacity: 0;
  transform: translateY(40px) scale(.97);
  transition: opacity .4s, transform .5s var(--ease);
}
.rq.is-open .rq-dialog {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease) .45s, transform .9s var(--ease) .45s;
}

.rq-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #dcdce4;
  background: var(--white);
  color: var(--navy);
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.rq-close svg { width: 22px; height: 22px; }
.rq-close:hover { transform: rotate(90deg); background: var(--navy); color: var(--white); }

/* left: service visual */
.rq-visual {
  position: relative;
  min-height: 560px;
  color: var(--white);
  overflow: hidden;
}
.rq-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 1.6s var(--ease);
}
.rq.is-open .rq-img { transform: scale(1); }
.rq-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(46, 46, 82, .35) 0%, rgba(31, 31, 58, .92) 75%);
}
.rq-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
}
.rq-visual-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 44px 40px;
}
.rq-kicker {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.rq-service {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.12;
  margin-bottom: 26px;
}
.rq-steps {
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.rq-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
}
.rq-steps span {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  font-family: var(--font-head);
  font-size: 15px;
}

/* right: form */
.rq-body {
  position: relative;
  padding: clamp(36px, 4vw, 56px);
  overflow-y: auto;
}
.rq-title {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 8px;
  padding-right: 56px;
}
.rq-sub {
  margin: 0 0 30px;
  font-size: 17px;
  color: #55556a;
}

/* stagger form rows in */
.rq-form > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
}
.rq.is-open .rq-form > * {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.rq.is-open .rq-form > :nth-child(1) { transition-delay: .6s; }
.rq.is-open .rq-form > :nth-child(2) { transition-delay: .66s; }
.rq.is-open .rq-form > :nth-child(3) { transition-delay: .72s; }
.rq.is-open .rq-form > :nth-child(4) { transition-delay: .78s; }
.rq.is-open .rq-form > :nth-child(5) { transition-delay: .84s; }
.rq.is-open .rq-form > :nth-child(6) { transition-delay: .9s; }

.rq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-bottom: 24px;
}
.field-wide { grid-column: 1 / -1; }

/* underline fields with floating labels */
.field {
  position: relative;
  display: block;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 26px 0 10px;
  border: 0;
  border-bottom: 1px solid #cfcfda;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  color: var(--black);
  outline: none;
  resize: vertical;
  appearance: none;
  transition: border-color .3s;
}
.field textarea { min-height: 96px; }
.field > span {
  position: absolute;
  left: 0;
  top: 24px;
  font-size: 17px;
  color: #6b6b80;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease), color .3s;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span,
.field-select > span {
  transform: translateY(-22px) scale(.88);
  color: var(--blue);
}
/* animated focus line */
.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input { border-bottom-color: #c0392b; }
.field.is-invalid > span { color: #c0392b; }
/* dropdown: boxed field with inner spacing */
.field-select { padding-top: 30px; }
.field-select > span { top: 0; transform: none !important; font-size: 15px; color: var(--blue); }
.field.field-select select {
  padding: 16px 52px 16px 20px;
  border: 1px solid #cfcfda;
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.field.field-select select:focus { border-color: var(--blue); }
.field-select::after { display: none; }
.field-select::before {           /* chevron */
  content: "";
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid var(--navy);
  border-bottom: 1.6px solid var(--navy);
  transform: rotate(45deg);
  pointer-events: none;
}

.rq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.rq-pills legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 16px;
  color: #6b6b80;
}
.rq-pills label { cursor: pointer; }
.rq-pills input { position: absolute; opacity: 0; pointer-events: none; }
.rq-pills span {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid #d5d5df;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  transition: background-color .3s, border-color .3s, color .3s;
}
.rq-pills label:hover span { border-color: var(--navy); }
.rq-pills input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.rq-pills input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.rq-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
}
.rq-submit { gap: 12px; }
.rq-submit svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.rq-submit:hover svg { transform: translateX(4px); }
.rq-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid #25d366;
  font-size: 17px;
  font-weight: 600;
  color: #128c4b;
  transition: background-color .35s, color .35s;
}
.rq-wa svg { width: 22px; height: 22px; }
.rq-wa:hover { background: #25d366; color: var(--white); }

/* success */
.rq-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
}
.rq-success[hidden] { display: none; }
.rq-check {
  width: 84px;
  height: 84px;
  margin-bottom: 26px;
  color: var(--blue);
}
.rq-check circle { stroke-dasharray: 230; stroke-dashoffset: 230; animation: dash .9s var(--ease) forwards; }
.rq-check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash .6s var(--ease) .6s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.rq-success .rq-sub { max-width: 40ch; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .contact-text { display: none; }
  .mega-inner { grid-template-columns: minmax(280px, .8fr) 1.6fr; }
}

@media (max-width: 1200px) {
  .sv-card,
  .sv-card.is-flip { grid-template-columns: 1fr; }
  .sv-card.is-flip .sv-media { order: 0; }
  .sv-media { aspect-ratio: 16 / 8; }
}

@media (max-width: 1024px) {
  :root { --header-h: 84px; }
  .main-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .logo img { height: 62px; }
  .site-header.is-scrolled .header-inner { height: 76px; }
  .site-header.is-scrolled .logo img { height: 54px; }
  .burger { display: block; }
  .mega, .mega-backdrop { display: none; }
  .header-contact { gap: 12px; }
}

@media (max-width: 600px) {
  .whatsapp-btn span:not(.wa-icon) { display: none; }
  .header-contact { gap: 8px; }
  .header-contact .whatsapp-btn { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .icon-ring { width: 42px; height: 42px; }
  .burger { width: 42px; height: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:first-child { top: 16px; }
  .burger span:last-child { top: 24px; }
  .burger.is-active span:first-child, .burger.is-active span:last-child { top: 20px; }
  .logo img { height: 52px; }
  .site-header.is-scrolled .logo img { height: 48px; }
  .hero-facts { flex-direction: column; gap: 8px; }
  .hero-facts li + li::before { display: none; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 900px) {
  .about-top,
  .about-bottom { grid-template-columns: 1fr; }
  .about-curve { margin-left: -10%; margin-right: -10%; }
  .about-watermark { width: 92vw; right: -24vw; top: 16px; opacity: .5; }
  .juris-top { grid-template-columns: 1fr; }
  .juris-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .juris-card { aspect-ratio: 4 / 3; min-height: 340px; }
  .juris-cta { flex-direction: column; align-items: flex-start; }
  .why-head { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card { min-height: 290px; }
  .why-mark { left: -30vw; width: 130vw; }
  .rv-wrap { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-cta { grid-template-columns: 1fr; }
  .lead-split { grid-template-columns: 1fr; }
  .lead-media { min-height: 300px; }
  .lead-body { max-width: none; padding: 48px var(--gutter); }
  .ft-mark { right: -40vw; width: 120vw; top: 30%; }
  .ft-brand { grid-column: 1 / -1; }
  /* how it works: route becomes a vertical timeline */
  .how-head { grid-template-columns: 1fr; }
  .how-route { display: none; }
  .how-map { display: block; }
  .how-steps {
    display: block;
    position: relative;
    margin: 0;
    padding: 0 0 0 76px;
    counter-reset: step;
  }
  /* connector from each circle down to the next */
  .how-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: -49px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: var(--blue);
  }
  .how-step,
  .how-step.s1, .how-step.s2, .how-step.s3, .how-step.s4 {
    max-width: none;
    padding: 0 0 40px;
    text-align: left;
    opacity: 1;
    transform: none;
    counter-increment: step;
  }
  .how-step:last-child { padding-bottom: 0; }
  .how-step::after {
    content: "0" counter(step);
    top: 0;
    bottom: auto;
    left: -76px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 19px;
  }
  .how-step.s1::after, .how-step.s3::after { bottom: auto; }
  .how-text { margin-left: 0; }
  /* services: heading no longer sticky */
  .sv-wrap { grid-template-columns: 1fr; }
  .sv-intro { position: static; }
  .sv-nav { display: none; }
  .sv-intro .btn { margin-top: 28px; }
  .sv-media { aspect-ratio: 16 / 10; }
  /* lightbox stacks */
  .rq { padding: 0; }
  .rq-dialog { grid-template-columns: 1fr; max-height: 100vh; max-height: 100dvh; height: 100%; border-radius: 0; overflow-y: auto; }
  .rq-visual { min-height: 230px; }
  .rq-visual-inner { padding: 28px 24px; }
  .rq-steps { display: none; }
  .rq-service { margin-bottom: 0; }
  .rq-body { overflow: visible; padding: 32px 24px 40px; }
  .rq-grid { grid-template-columns: 1fr; }
  .logo-card { width: 180px; height: 104px; padding: 18px 24px; }
  .logo-card img { max-height: 58px; }
  .clients .logo-card { width: 200px; height: 112px; }
  .clients .logo-card img { max-height: 80px; }
}

@media (max-width: 600px) {
  .sv-actions .btn, .sv-wa { width: 100%; justify-content: center; }
  .rv-card { flex-wrap: wrap; }
  .rv-meta { padding-left: 0; border-left: 0; flex-basis: 100%; }
  .rv-btn { margin-left: 0; width: 100%; justify-content: center; }
  .ft-top { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { min-height: 0; }
  .why-title { padding-top: 26px; }
  .about-stats li:nth-child(even) { padding-left: 20px; }
  .about-stats li:nth-child(odd) { padding-right: 16px; }
  .curve-badge { width: 120px; }
  .badge-ring text { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* =========================================================
   INNER PAGES — shared page hero
   ========================================================= */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 58vh, 580px);
  padding: calc(var(--header-h) + 60px) 0 clamp(60px, 6vw, 96px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 620px at 88% 40%, rgba(0, 122, 164, .38), transparent 62%),
    radial-gradient(600px 400px at 0% 100%, rgba(46, 46, 82, .9), transparent 70%),
    var(--navy-deep);
}
/* brand emblem on the right, filled with a blue gradient */
.ph-mark {
  position: absolute;
  top: 50%;
  right: -6vw;
  width: min(68vw, 1100px);
  aspect-ratio: 697 / 362;
  transform: translateY(-46%);
  background: url(../images/logo-mark-gradient.svg) center / contain no-repeat;
  opacity: .75;
  pointer-events: none;
  animation: ph-float 12s ease-in-out infinite alternate;
}
@keyframes ph-float {
  from { transform: translateY(-46%) translateX(0); }
  to   { transform: translateY(-50%) translateX(-2vw); }
}
/* fine diagonal light line across the hero */
.ph::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42, 163, 204, .6) 50%, transparent);
}

.ph-inner { position: relative; z-index: 1; }
.ph-title { margin: 0; }
.ph-kicker {
  display: block;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--blue-light);
}
.ph-main {
  display: block;
  font-size: clamp(38px, 4.6vw, 70px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.ph-title > span { overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; }
.ph-title > span > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.ph-title > .ph-main > span { animation-delay: .12s; }
.ph-lead {
  max-width: 56ch;
  margin: 24px 0 0;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  opacity: 0;
  animation: fade-up 1s var(--ease) .5s forwards;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 16px;
  opacity: 0;
  animation: fade-up 1s var(--ease) .65s forwards;
}
.crumb-bar {
  background: var(--white);
  border-bottom: 1px solid #ececf2;
}
.crumb-bar .crumbs {
  margin: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 14px;
  opacity: 1;
  animation: none;
}
.crumb-bar .crumbs a { color: var(--blue); }
.crumb-bar .crumbs a:hover { color: var(--navy); }
.crumb-bar .crumbs span[aria-hidden] { color: #b4b6c4; }
.crumb-bar .crumbs [aria-current] { color: var(--navy); }
.crumbs a { color: var(--blue-light); transition: color .3s; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { color: rgba(255, 255, 255, .4); }
.crumbs [aria-current] { color: var(--white); font-weight: 500; }

.ph-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  opacity: 0;
  animation: fade-up 1s var(--ease) .8s forwards;
}
.ph-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  transition: background-color .35s, border-color .35s;
}
a.ph-chip:hover { background: rgba(255, 255, 255, .08); border-color: var(--blue-light); }
.ph-chip svg { width: 18px; height: 18px; color: var(--blue-light); }
.ph-chip b { font-family: var(--font-head); font-size: 20px; font-weight: 500; color: var(--blue-light); }

.ph-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; opacity: 0; animation: fade-up 1s var(--ease) .8s forwards; }
.btn-line {
  border: 1px solid rgba(255, 255, 255, .5);
  color: var(--white);
  gap: 10px;
}
.btn-line::before { background: #25d366; }
.btn-line:hover { border-color: #25d366; }
.btn-line svg { width: 22px; height: 22px; color: #25d366; transition: color .4s; }
.btn-line:hover svg { color: var(--white); }

/* shared light-section heading block */
.sec { padding: clamp(80px, 9vw, 130px) 0; }
.sec-head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
  margin-bottom: clamp(48px, 5vw, 76px);
}
.sec-head p { margin: 0; font-size: clamp(18px, 1.35vw, 20px); line-height: 1.7; color: #3a3a4c; }
.sec-center { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 5vw, 72px); }
.sec-center p { margin: 18px auto 0; max-width: 60ch; font-size: clamp(18px, 1.35vw, 20px); line-height: 1.7; color: #3a3a4c; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
/* story: centred heading, flowing line with badge, three editorial columns */
.ab-intro {
  position: relative;
  padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
  background: var(--white);
}
.ab-intro .about-watermark { right: auto; left: -10vw; top: 26%; opacity: .5; }
.ab-intro > .container { position: relative; z-index: 1; }
.ab-intro-title {
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
}
.ab-intro-curve { z-index: 1; margin: clamp(20px, 3vw, 40px) 0; }
.ab-intro-curve .curve-badge { left: 50%; top: 50%; }
.ab-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.ab-cols p { margin: 0; font-size: 18px; line-height: 1.75; color: #3a3a4c; }
.ab-quote {
  margin: 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--blue);
  font-family: var(--font-head);
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.45;
  color: var(--navy);
}

/* four trust columns divided by hairlines */
.ab-trust { background: #f5f6f9; }
.ab-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dcdee6;
}
.ab-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px clamp(18px, 2.4vw, 36px) 12px;
  text-align: center;
}
.ab-trust-item + .ab-trust-item { border-left: 1px solid #dcdee6; }
.ab-trust-item h3 {
  min-height: 2.5em;
  font-size: clamp(21px, 1.6vw, 24px);
  line-height: 1.25;
  color: var(--navy);
}
.ab-trust-item .why-icon { margin: 16px auto 22px; width: 64px; height: 64px; color: var(--blue); }
.ab-trust-item .why-icon .acc { stroke: var(--navy); }
.ab-trust-item .why-icon .acc-fill { fill: var(--navy); }
.ab-trust-item p { margin: 0; font-size: 17px; line-height: 1.65; color: #4a4a5e; }

/* journey since 2013: centre line fills as you scroll, milestones light up */
.jr {
  position: relative;
  padding: clamp(80px, 9vw, 130px) 0;
  overflow: hidden;
  color: var(--white);
  background:
    url(../images/logo-mark-gradient.svg) right -12vw center / min(70vw, 1100px) auto no-repeat,
    url(../images/logo-mark-gradient.svg) left -14vw bottom -4vw / min(48vw, 760px) auto no-repeat,
    radial-gradient(800px 600px at 90% 50%, rgba(0, 122, 164, .22), transparent 65%),
    var(--navy-deep);
}
.jr .section-title { color: var(--white); }
.jr .sec-center p { color: rgba(255, 255, 255, .78); }

.jr-line {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.jr-progress {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .14);
}
.jr-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--p, 0%);
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
}

.jr-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  align-items: center;
  padding: 34px 0;
}
.jr-node {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .22);
  background: var(--navy-deep);
  transition: background-color .5s, border-color .5s, transform .6s var(--ease);
}
.jr-node b {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}
.jr-node small {
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
/* dashed halo that turns once a milestone is reached */
.jr-node::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed var(--blue-light);
  opacity: 0;
  transition: opacity .5s;
  animation: spin 16s linear infinite;
}

.jr-card {
  grid-row: 1;
  max-width: 440px;
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
  opacity: .35;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), border-color .5s, background-color .5s;
}
.jr-item:nth-child(even) .jr-card { grid-column: 3; justify-self: start; }
.jr-item:nth-child(odd) .jr-card { grid-column: 1; justify-self: end; text-align: right; }
.jr-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.jr-card h3 { font-size: clamp(23px, 1.9vw, 28px); line-height: 1.2; }
.jr-card p { margin: 10px 0 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .78); }

.jr-item.is-on .jr-node { background: var(--blue); border-color: var(--blue-light); transform: scale(1.04); }
.jr-item.is-on .jr-node::after { opacity: 1; }
.jr-item.is-on .jr-card { opacity: 1; transform: none; border-color: rgba(42, 163, 204, .55); background: rgba(0, 122, 164, .1); }
.jr-node.is-today { border-style: dashed; }

/* JAFZA home base: full width, edge to edge */
.ab-base { background: var(--navy-deep); }
.ab-base-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(460px, 42vw, 620px);
  color: var(--white);
}
.ab-base-text {
  align-self: center;
  width: 100%;
  max-width: 680px;
  justify-self: end;
  padding: clamp(56px, 6vw, 96px) clamp(40px, 5vw, 90px) clamp(56px, 6vw, 96px) var(--gutter);
}
.ab-base-text .section-title { color: var(--white); }
.ab-base-text p { margin: 22px 0 0; font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, .82); }
.ab-base-address {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 17px;
  line-height: 1.7;
}
.ab-base-address svg { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--blue-light); }
.ab-base-address strong { color: var(--white); }
.ab-base-media { position: relative; min-height: 380px; }
.ab-base-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-base-media .ab-jafza {
  inset: auto auto 32px 32px;
  width: 160px;
  height: auto;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--white);
  object-fit: contain;
}

/* google reviews */
.gr { background: var(--white); }
.gr-sub {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.gr-sub b { font-family: var(--font-head); font-size: 30px; font-weight: 500; color: var(--navy); }
.gr-g { width: 46px; height: 46px; }
.gr-g svg { width: 24px; height: 24px; }
.gr-sub .rv-stars { font-size: 24px; }

.gr-carousel {
  position: relative;
  padding: 0 34px;
}
.gr-carousel[hidden] { display: none; }
.gr-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 18px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
}
.gr-track::-webkit-scrollbar { display: none; }
.gr-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  border: 1px solid #dcdde6;
  background: var(--white);
  color: var(--navy);
  transition: background-color .3s, color .3s, border-color .3s;
}
.gr-nav svg { width: 20px; height: 20px; }
.gr-nav:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gr-prev { left: 0; }
.gr-next { right: 0; }

.gr-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
  border-radius: 16px;
  border: 1px solid #e3e3ea;
  background: var(--white);
  transition: border-color .3s;
}
.gr-card:hover { border-color: var(--blue); }
.gr-card-top { display: flex; align-items: center; gap: 12px; }
.gr-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 19px;
}
.gr-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gr-who { min-width: 0; flex: 1; }
.gr-who strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; color: var(--black); }
.gr-who span { font-size: 15px; color: #6b6b80; }
.gr-card-g { flex: none; width: 22px; height: 22px; }
.gr-rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.gr-rating .rv-stars { font-size: 21px; letter-spacing: 2px; }
.gr-verified { width: 18px; height: 18px; color: #1a73e8; }
.gr-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #2b2b3a;
}
.gr-more { margin-top: auto; padding-top: 12px; font-size: 15px; color: #6b6b80; }
.gr-more:hover { color: var(--blue); }

.gr-fallback[hidden] { display: none; }
.gr-map {
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6e6ee;
  background: #e9ebf1;
}
.gr-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.gr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.btn-outline-dark { border: 1px solid var(--navy); color: var(--navy); }
.btn-outline-dark::before { background: var(--navy); }
.btn-outline-dark:hover { color: var(--white); }

/* FAQs: two per row, solid navy on hover */
.faq { background: #f5f6f9; }
.faq-title { font-size: clamp(28px, 2.6vw, 40px); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.faq-item {
  border-radius: 16px;
  border: 1px solid #e1e2ea;
  background: var(--white);
  color: var(--navy);
  transition: background-color .25s, border-color .25s, color .25s;
}
.faq-item summary {
  position: relative;
  display: block;
  padding: 26px 70px 26px 30px;
  font-family: var(--font-head);
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* plus / minus */
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--blue);
  transition: transform .35s var(--ease), background-color .25s;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item p {
  margin: 0;
  padding: 0 30px 28px;
  font-size: 17px;
  line-height: 1.7;
  color: #4a4a5e;
  transition: color .25s;
}
.faq-item:hover,
.faq-item[open] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.faq-item:hover p,
.faq-item[open] p { color: rgba(255, 255, 255, .82); }
.faq-item:hover summary::before,
.faq-item:hover summary::after,
.faq-item[open] summary::before,
.faq-item[open] summary::after { background: var(--blue-light); }

/* =========================================================
   SERVICES PAGE — bento grid
   ========================================================= */
.sx { background: var(--white); }
.sx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 330px;
  gap: 16px;
}
.sx-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-radius: 18px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.sx-tile.is-feature { grid-column: span 2; grid-row: span 2; padding: 44px; }
.sx-tile.is-wide { grid-column: span 2; }
.sx-tile > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.sx-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 20, 40, .05) 20%, rgba(20, 20, 40, .55) 55%, rgba(20, 20, 40, .94) 100%);
  transition: background-color .5s;
}
.sx-tile:hover > img { transform: scale(1.08); }
.sx-tile:hover::before { background-color: rgba(46, 46, 82, .35); }
.sx-tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sx-tile h3 { font-size: clamp(23px, 1.9vw, 28px); line-height: 1.2; }
.sx-tile.is-feature h3 { font-size: clamp(32px, 3vw, 46px); }
.sx-tile p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .86);
}
.sx-tile.is-feature p { max-width: 46ch; font-size: 18px; }
.sx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .6s var(--ease), opacity .4s, margin-top .6s var(--ease);
}
.sx-tile:hover .sx-actions,
.sx-tile:focus-within .sx-actions,
.sx-tile.is-feature .sx-actions { max-height: 80px; opacity: 1; margin-top: 18px; }
.sx-actions .btn { height: 50px; padding: 0 22px; font-size: 16px; }
.sx-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  padding-bottom: 2px;
}
.sx-link:hover { border-color: var(--white); }
.sx-link { padding: 12px 0; border-bottom: 0; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 5px; }
.sx-link:hover { text-decoration-color: var(--white); }

/* free zone logos */
.sx-zones { padding: 0 0 clamp(70px, 8vw, 110px); background: var(--white); }
.sx-zones .sec-center { margin-bottom: 0; }

/* consult band */
.sx-consult { padding-bottom: clamp(80px, 9vw, 130px); background: var(--white); }
.sx-consult-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.sx-consult-card::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 50%;
  width: 60%;
  aspect-ratio: 697 / 362;
  transform: translateY(-50%);
  background: url(../images/logo-mark-gradient.svg) center / contain no-repeat;
  opacity: .6;
  pointer-events: none;
}
.sx-consult-card > * { position: relative; z-index: 1; }
.sx-consult-card .section-title { color: var(--white); }
.sx-consult-card p { margin: 18px 0 0; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.sx-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.sx-ticks li { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.sx-ticks svg { flex: none; width: 26px; height: 26px; color: var(--blue-light); }
.sx-consult-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* =========================================================
   SERVICE DETAIL (Company Formation)
   ========================================================= */
/* overview: panoramic image with an overlapping navy panel */
.cf-intro { background: var(--white); padding-bottom: clamp(110px, 12vw, 180px); }
.cf-intro-title { max-width: 20ch; margin-bottom: clamp(30px, 3vw, 44px); }
.cf-intro-cols { margin-bottom: clamp(48px, 5vw, 72px); }
.cf-show { position: relative; }
.cf-banner {
  position: relative;
  margin: 0;
  width: 72%;
  border-radius: 24px;
  overflow: hidden;
}
.cf-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.cf-show:hover .cf-banner img { transform: scale(1.04); }
.cf-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 40, 0) 55%, rgba(20, 20, 40, .6) 100%);
}
.cf-stat {
  position: absolute;
  left: 32px;
  bottom: 30px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
}
.cf-stat b { font-family: var(--font-head); font-size: 36px; font-weight: 500; line-height: 1; color: var(--blue); }
.cf-stat span { font-size: 15px; line-height: 1.35; }

.cf-panel {
  position: absolute;
  right: 0;
  bottom: -70px;
  width: min(560px, 50%);
  padding: clamp(32px, 3.4vw, 50px);
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
}
.cf-panel::before {             /* gradient emblem inside the panel */
  content: "";
  position: absolute;
  right: -30%;
  bottom: -10%;
  z-index: -1;
  width: 110%;
  aspect-ratio: 697 / 362;
  background: url(../images/logo-mark-gradient.svg) center / contain no-repeat;
  opacity: .45;
}
.cf-panel h3 { font-size: clamp(26px, 2.2vw, 32px); }
.cf-panel .cf-checks {
  margin-top: 22px;
  padding-top: 22px;
  border-top-color: rgba(255, 255, 255, .16);
}
.cf-panel .cf-checks li { color: rgba(255, 255, 255, .9); }
.cf-panel .cf-checks svg { color: var(--blue-light); }
.cf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cf-actions .btn { height: 54px; padding: 0 22px; }

.cf-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 30px 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid #e6e6ee;
}
.cf-checks li { display: flex; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--navy); }
.cf-checks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--blue); }

/* jurisdiction comparison */
.cf-compare {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}
.cf-compare .section-title { color: var(--white); }
.cf-compare .sec-head p { color: rgba(255, 255, 255, .8); }
/* jurisdictions as licence certificates: tilted paper, fanned sheet, stamp */
.cf-certs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 3vw, 44px);
  padding: 20px 10px 30px;
}
.cf-cert { position: relative; }
.cf-cert:nth-child(1) { --tilt: -2deg; --sheet: var(--blue); }
.cf-cert:nth-child(2) { --tilt: 1.5deg; --sheet: #b4d9ea; }
.cf-cert:nth-child(3) { --tilt: -1deg; --sheet: #2a95c0; }
.cf-cert:nth-child(4) { --tilt: 2deg; --sheet: #6fbad8; }
/* four options: one row on wide screens, 2 x 2 below */
.cf-certs.is-four { grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cf-certs.is-four .cf-cert-paper { padding: 28px 24px 26px; }
@media (max-width: 1279px) { .cf-certs.is-four { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
.cf-cert:nth-child(2) .cf-cert-paper { margin-top: -14px; }

.cf-cert-sheet {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--sheet);
  transform: rotate(calc(var(--tilt) * -2.4)) translate(8px, 6px);
  transition: transform .7s var(--ease);
}
.cf-cert-paper {
  position: relative;
  height: 100%;
  padding: 32px 30px 30px;
  border-radius: 20px;
  background: var(--white);
  color: var(--navy);
  transform: rotate(var(--tilt));
  transition: transform .7s var(--ease);
}
.cf-cert:hover .cf-cert-paper { transform: rotate(0deg) translateY(-8px); }
.cf-cert:hover .cf-cert-sheet { transform: rotate(calc(var(--tilt) * -3.4)) translate(12px, 4px); }

.cf-cert-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #dfe1ea;
}
.cf-cert-top .why-icon { flex: none; width: 54px; height: 54px; color: var(--blue); }
.cf-cert-top .why-icon .acc { stroke: var(--navy); }
.cf-cert-top .why-icon .acc-fill { fill: var(--navy); }
.cf-cert-no {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.cf-cert-top h3 { margin-top: 2px; font-size: clamp(26px, 2.2vw, 32px); }
.cf-cert-lead { margin: 18px 0 6px; font-size: 17px; line-height: 1.6; color: #3a3a4c; }

.cf-cert-rows { margin: 0; }
.cf-cert-rows div { padding: 14px 0; border-bottom: 1px dotted #c9ccd8; }
.cf-cert-rows div:last-child { border-bottom: 0; padding-bottom: 0; }
.cf-cert-rows dt {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
.cf-cert-rows dd { margin: 5px 0 0; font-size: 17px; line-height: 1.5; color: var(--navy); }

.cf-fine { margin: 22px 0 0; font-size: 15px; color: rgba(255, 255, 255, .6); }

/* formation steps: connected chevron ribbon, light to deep blue */
.cf-steps { background: #f3f8fb; }
.cf-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cf-flow-step:nth-child(1) { --c: #dcedf5; --t: var(--navy); }
.cf-flow-step:nth-child(2) { --c: #b4d9ea; --t: var(--navy); }
.cf-flow-step:nth-child(3) { --c: #6fbad8; --t: var(--white); }
.cf-flow-step:nth-child(4) { --c: #2a95c0; --t: var(--white); }
.cf-flow-step:nth-child(5) { --c: var(--blue); --t: var(--white); }
/* four-step version (home page): ends on the deep blue */
.cf-flow.is-four { grid-template-columns: repeat(4, 1fr); }
.cf-flow.is-four .cf-flow-step:nth-child(2) { --c: #a9d4e8; }
.cf-flow.is-four .cf-flow-step:nth-child(3) { --c: #4aa9d1; --t: var(--white); }
.cf-flow.is-four .cf-flow-step:nth-child(4) { --c: var(--blue); --t: var(--white); }

.cf-flow-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 200px;
  padding: 30px 26px 30px 36px;
  background: var(--c);
  color: var(--t);
  text-align: center;
  transition: filter .35s;
}
.cf-flow-step:first-child .cf-flow-head { border-radius: 20px 0 0 20px; padding-left: 26px; }
.cf-flow-step:last-child .cf-flow-head { border-radius: 0 20px 20px 0; }
/* arrow pointing into the next step */
.cf-flow-step:not(:last-child) .cf-flow-head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  z-index: 2;
  width: 0;
  height: 0;
  margin-top: -24px;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 22px solid var(--c);
}
.cf-flow-step:hover .cf-flow-head { filter: brightness(1.05); }
.cf-flow-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 500;
}
.cf-flow-head h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; color: inherit; }
.cf-flow-step p {
  margin: 0;
  padding: 24px 24px 0 4px;
  font-size: 16px;
  line-height: 1.65;
  color: #3a3a4c;
}

/* documents + related */
/* documents: checklist sheet on navy, rows tick off on scroll */
.cf-docs {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(700px 520px at 85% 40%, rgba(0, 122, 164, .3), transparent 65%),
    var(--navy-deep);
}
.cf-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
}
.cf-docs-text .section-title { color: var(--white); }
.cf-docs-text p { margin: 22px 0 0; font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, .82); }
.cf-docs-text .cf-docs-note { margin-top: 14px; font-size: 16px; color: var(--blue-light); }

.cf-paper-wrap {
  position: relative;
  max-width: 560px;
  justify-self: center;
  width: 100%;
  padding: 26px 26px 26px 0;
}
/* fanned sheets behind the paper */
.cf-sheet {
  position: absolute;
  inset: 26px 26px 26px 0;
  border-radius: 20px;
}
.cf-sheet.s1 { background: var(--blue); transform: rotate(6deg) translate(14px, 6px); }
.cf-sheet.s2 { background: #b4d9ea; transform: rotate(2.5deg) translate(6px, 2px); }

.cf-paper {
  position: relative;
  padding: 34px 34px 26px;
  border-radius: 20px;
  background: var(--white);
  color: var(--navy);
  transform: rotate(-1.5deg);
  transition: transform .8s var(--ease);
}
.cf-paper-wrap:hover .cf-paper { transform: rotate(0deg); }
.cf-paper-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  margin-bottom: 6px;
  border-bottom: 2px dashed #dfe1ea;
}
.cf-paper-head span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.cf-paper-head b { font-family: var(--font-head); font-size: 28px; font-weight: 500; }

.cf-paper-list { margin: 0; padding: 0; list-style: none; }
.cf-paper-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #eef0f5;
}
.cf-doc-ico { flex: none; display: grid; place-items: center; width: 34px; color: var(--blue); }
.cf-doc-ico svg { width: 30px; height: 30px; }
.cf-doc-txt { flex: 1; font-size: 17px; line-height: 1.4; }
.cf-doc-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 2px solid #cfd3e0;
  color: var(--white);
  transition: background-color .3s, border-color .3s;
}
.cf-doc-tick svg { width: 20px; height: 20px; }
.cf-doc-tick path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease); }
/* tick each row in turn once the sheet is in view */
.cf-paper-wrap.is-in .cf-doc-tick { background: var(--blue); border-color: var(--blue); }
.cf-paper-wrap.is-in .cf-doc-tick path { stroke-dashoffset: 0; }
.cf-paper-list li:nth-child(1) .cf-doc-tick,
.cf-paper-list li:nth-child(1) .cf-doc-tick path { transition-delay: .6s; }
.cf-paper-list li:nth-child(2) .cf-doc-tick,
.cf-paper-list li:nth-child(2) .cf-doc-tick path { transition-delay: .9s; }
.cf-paper-list li:nth-child(3) .cf-doc-tick,
.cf-paper-list li:nth-child(3) .cf-doc-tick path { transition-delay: 1.2s; }
.cf-paper-list li:nth-child(4) .cf-doc-tick,
.cf-paper-list li:nth-child(4) .cf-doc-tick path { transition-delay: 1.5s; }
.cf-paper-list li:nth-child(5) .cf-doc-tick,
.cf-paper-list li:nth-child(5) .cf-doc-tick path { transition-delay: 1.8s; }
.cf-paper-list li:nth-child(6) .cf-doc-tick,
.cf-paper-list li:nth-child(6) .cf-doc-tick path { transition-delay: 2.1s; }

.cf-paper-foot { margin-top: 18px; font-size: 15px; color: #7a7a8e; }

/* rotating approval stamp */
.cf-stamp {
  position: absolute;
  right: -34px;
  bottom: -40px;
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--blue-light);
  transform: rotate(-12deg) scale(.6);
  opacity: 0;
  transition: transform .7s var(--ease) 2.4s, opacity .4s 2.4s;
}
.cf-paper-wrap.is-in .cf-stamp { transform: rotate(-12deg) scale(1); opacity: 1; }
.cf-stamp > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.cf-stamp text { fill: var(--white); font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .1em; }
.cf-stamp-core {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.cf-stamp-core svg { width: 28px; height: 28px; }

.cf-related { background: var(--white); }
.cf-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cf-rel {
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e6ee;
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .4s;
}
.cf-rel:hover { border-color: var(--blue); }
.cf-rel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.cf-rel-media { overflow: hidden; }
.cf-rel:hover img { transform: scale(1.06); }
.cf-rel div:last-child { padding: 26px 28px 30px; }
.cf-rel h3 { font-size: 24px; color: var(--navy); }
.cf-rel p { margin: 10px 0 18px; font-size: 16px; line-height: 1.6; color: #4a4a5e; }
.cf-rel span { font-size: 16px; font-weight: 600; color: var(--blue); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.ct { background: var(--white); }
.ct-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.ct-info {
  position: relative;
  padding: clamp(34px, 4vw, 56px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.ct-info::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -6%;
  width: 110%;
  aspect-ratio: 697 / 362;
  background: url(../images/logo-mark-gradient.svg) center / contain no-repeat;
  opacity: .5;
  pointer-events: none;
}
.ct-info > * { position: relative; z-index: 1; }
.ct-info h2 { font-size: clamp(28px, 2.4vw, 36px); color: var(--white); }
.ct-info > p { margin: 14px 0 0; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.ct-list { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ct-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.ct-ico { flex: none; display: block; width: 54px; color: var(--blue-light); }
.ct-svg {
  display: block;
  width: 54px;
  height: 54px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-svg * { transform-box: fill-box; }
.ct-svg .acc { stroke: var(--white); }
/* phone rings, waves pulse */
.i-handset { transform-origin: center; animation: ring 2.6s ease-in-out infinite; }
.i-ring { animation: ring-wave 2.6s ease-out infinite; }
.i-ring.r2 { animation-delay: .25s; }
@keyframes ring-wave {
  0%, 100% { opacity: 0; }
  30%      { opacity: 1; }
  70%      { opacity: 0; }
}
/* letter rises out of the envelope */
.i-env:first-of-type { fill: var(--navy); }
.i-letter { animation: letter-rise 3s ease-in-out infinite; }
@keyframes letter-rise {
  0%, 100% { transform: translateY(8px); }
  50%      { transform: translateY(-2px); }
}
/* globe meridian turns */
.i-meridian { transform-origin: center; animation: meridian 4s ease-in-out infinite; }
@keyframes meridian {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(.15); }
}
.ct-item small { display: block; margin-bottom: 4px; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); }
.ct-item a, .ct-item address { display: block; font-size: 18px; font-style: normal; line-height: 1.6; color: var(--white); }
.ct-item a:hover { color: var(--blue-light); }
.ct-info .ft-social { margin-top: 26px; }

.ct-form-card {
  padding: clamp(34px, 4vw, 56px);
  border-radius: 22px;
  border: 1px solid #e3e3ea;
}
.ct-form-card h2 { font-size: clamp(28px, 2.4vw, 36px); color: var(--navy); }
.ct-form > p { margin: 10px 0 30px; font-size: 17px; color: #55556a; }
.ct-form .rq-grid { margin-bottom: 22px; }
.ct-form .rq-actions { margin-top: 26px; }
.ct-success { padding: 30px 0; }
.ct-success[hidden] { display: none; }
.ct-success h3 { font-size: 30px; color: var(--navy); }
.ct-success p { margin: 10px 0 0; font-size: 17px; color: #4a4a5e; }

.ct-map {
  position: relative;
  height: clamp(420px, 50vw, 560px);
  background: #e9ebf1;
}
.ct-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.ct-map-card {
  position: absolute;
  right: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
  top: 50%;
  transform: translateY(-50%);
  width: min(400px, calc(100% - 2 * var(--gutter)));
  padding: 32px 34px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
}
.ct-map-card h3 { font-size: 26px; }
.ct-map-card address { margin: 12px 0 22px; font-size: 17px; font-style: normal; line-height: 1.7; color: rgba(255, 255, 255, .82); }

/* =========================================================
   INNER PAGES — responsive
   ========================================================= */
@media (max-width: 1200px) {
  .gr-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .sx-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ph { min-height: 480px; }
  .ph-mark { width: 120vw; right: -40vw; opacity: .35; }
  .sec-head { grid-template-columns: 1fr; }
  .ab-base-card,
  .cf-docs-grid,
  .ct-grid,
  .sx-consult-card { grid-template-columns: 1fr; }
  .ab-cols { grid-template-columns: 1fr; }
  .ab-intro-curve { margin-left: -10%; margin-right: -10%; }
  .ab-trust-row { grid-template-columns: 1fr 1fr; }
  .ab-trust-item:nth-child(3) { border-left: 0; }
  .ab-trust-item:nth-child(n + 3) { border-top: 1px solid #dcdee6; }
  .jr-progress { left: 46px; }
  .jr-item { grid-template-columns: 92px 1fr; column-gap: 22px; padding: 22px 0; }
  .jr-node { grid-column: 1; width: 92px; height: 92px; }
  .jr-node b { font-size: 24px; }
  .jr-node small { font-size: 14px; letter-spacing: .02em; }
  .jr-item:nth-child(n) .jr-card { grid-column: 2; justify-self: stretch; text-align: left; max-width: none; padding: 24px; }
  .ab-base-text { max-width: none; justify-self: stretch; padding: 56px var(--gutter); }
  .gr-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .faq-grid { grid-template-columns: 1fr; }
  .cf-certs, .cf-certs.is-four { grid-template-columns: 1fr; gap: 56px; padding: 30px 14px 20px 0; }
  .cf-cert:nth-child(2) .cf-cert-paper { margin-top: 0; }
  .cf-related-grid { grid-template-columns: 1fr; }
  .cf-intro { padding-bottom: clamp(80px, 9vw, 130px); }
  .cf-banner { width: 100%; }
  .cf-stat { top: 20px; bottom: auto; }
  .cf-panel { position: relative; right: auto; bottom: auto; width: auto; margin: -60px 16px 0; }
  .cf-flow, .cf-flow.is-four { grid-template-columns: 1fr; gap: 0; }
  .cf-flow-head { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 22px 24px; text-align: left; }
  .cf-flow-step:first-child .cf-flow-head { border-radius: 18px 18px 0 0; padding-left: 24px; }
  .cf-flow-step:last-child .cf-flow-head { border-radius: 0; }
  .cf-flow-step:not(:last-child) .cf-flow-head::after { top: auto; bottom: -18px; right: auto; left: 46px; margin: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 18px solid var(--c); border-bottom: 0; }
  .cf-flow-step p { padding: 26px 24px 26px; background: var(--white); }
  .cf-flow-step:last-child p { border-radius: 0 0 18px 18px; }
  .ct-map-card { position: static; transform: none; width: auto; margin: 0; border-radius: 0; }
  .ct-map { height: auto; }
  .ct-map iframe { height: 380px; }
}

@media (max-width: 600px) {
  .sx-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .sx-tile.is-feature, .sx-tile.is-wide { grid-column: auto; grid-row: span 1; padding: 30px; }
  .sx-tile.is-feature { grid-row: span 2; }
  .sx-tile .sx-actions { max-height: 80px; opacity: 1; margin-top: 16px; }
  .ab-trust-row { grid-template-columns: 1fr; }
  .ab-trust-item + .ab-trust-item { border-left: 0; border-top: 1px solid #dcdee6; }
  .cf-checks, .cf-docs-list { grid-template-columns: 1fr; }
  .cf-stat { left: 16px; top: 16px; bottom: auto; padding: 12px 16px; }
  .cf-paper { padding: 26px 22px 48px; }
  .cf-paper-foot { padding-right: 96px; }
  .cf-paper-wrap { padding: 18px 14px 70px 0; }
  .cf-sheet { inset: 18px 14px 70px 0; }
  .cf-stamp { right: -4px; bottom: -58px; width: 108px; height: 108px; }
  .cf-stat b { font-size: 28px; }
  .gr-track { grid-auto-columns: 86%; }
  .gr-carousel { padding: 0; }
  .gr-nav { display: none; }
  .faq-item summary { padding: 22px 60px 22px 22px; }
  .faq-item summary::before, .faq-item summary::after { right: 22px; }
  .faq-item p { padding: 0 22px 24px; }
}

/* ---------- WordPress forms ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin: 14px 0 0; color: #d64545; font-size: 15px; line-height: 1.5; }
.lead-form.is-dark .form-error { color: #ff9b9b; }
form.is-sending .rq-submit { opacity: .6; pointer-events: none; }
.entry-content { max-width: 860px; font-size: 17px; line-height: 1.75; }
.entry-content h2, .entry-content h3 { margin: 1.4em 0 .5em; }

/* Four related services */
.cf-related-grid.is-four { grid-template-columns: repeat(4, 1fr); }
.cf-related-grid.is-four .cf-rel div:last-child { padding: 22px 22px 26px; }
.cf-related-grid.is-four .cf-rel h3 { font-size: 21px; }
@media (max-width: 1100px) { .cf-related-grid.is-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cf-related-grid.is-four { grid-template-columns: 1fr; } }

/* Laptop widths: keep the menu clear of the centred logo */
@media (min-width: 1025px) and (max-width: 1279px) {
  .nav-list { gap: 20px; }
  .nav-link { font-size: 15px; letter-spacing: .03em; }
}
@media (min-width: 1025px) and (max-width: 1160px) {
  .nav-list { gap: 15px; }
  .nav-link { font-size: 14px; letter-spacing: .02em; }
}
.rc-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: #6b6b7e; }
.rc-note a { color: inherit; text-decoration: underline; }
.lead-form.is-dark .rc-note { color: rgba(255,255,255,.6); }
