/* ===== CMA Global — shared styles ===== */
:root {
  --navy: #0a1428;
  --navy-2: #0f1d3a;
  --navy-3: #16284d;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #7ab4ff;
  --blue-soft: #e8f0ff;
  --cyan: #22d3ee;
  --text: #0b1730;
  --muted: #4b5a73;
  --muted-2: #8a99b3;
  --border: #e4eaf3;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 48, 0.05), 0 4px 14px rgba(11, 23, 48, 0.05);
  --shadow: 0 2px 4px rgba(11, 23, 48, 0.04), 0 18px 44px rgba(11, 23, 48, 0.10);
  --shadow-lg: 0 30px 80px rgba(4, 12, 30, 0.35);
  --gradient: linear-gradient(135deg, #2563eb 0%, #22d3ee 100%);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3, h4 { font-weight: 700; letter-spacing: -0.01em; }

::selection { background: rgba(37, 99, 235, 0.22); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 20, 40, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 20, 40, 0.97);
  box-shadow: 0 10px 30px rgba(4, 12, 30, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(34, 211, 238, 0.35));
  transition: transform 0.25s;
}

.brand:hover .brand-mark { transform: scale(1.06); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.08em;
}

.brand-sub {
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links a:not(.btn) {
  position: relative;
  color: #c9d5ea;
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: color 0.2s;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a.active { color: var(--white); }

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links .btn { margin-left: 14px; }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--white);
  font-size: 17px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn i { font-size: 13px; transition: transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }

.btn-sm { padding: 11px 20px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, #2f6bf2 0%, #1d4ed8 100%);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(37, 99, 235, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.22); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }

.btn-white { background: var(--white); color: var(--blue-dark); box-shadow: 0 12px 30px rgba(4, 12, 30, 0.25); }

/* ===== Shared dark backdrop (hero, page hero, process) ===== */
.hero, .page-hero, .section-dark {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(900px 520px at 88% -5%, rgba(34, 211, 238, 0.20), transparent 62%),
    radial-gradient(820px 620px at 0% 100%, rgba(37, 99, 235, 0.38), transparent 62%),
    linear-gradient(160deg, #0a1428 0%, #0f1d3a 55%, #0a1428 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero::before, .page-hero::before, .section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 30%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 30%, #000 25%, transparent 78%);
}

/* ===== Hero ===== */
.hero { padding: 96px 0 150px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(122, 180, 255, 0.32);
  color: #cfe0ff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2);
}

.hero h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.gradient-text {
  font-style: italic;
  background: linear-gradient(90deg, #7ab4ff 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

.hero-lead {
  max-width: 560px;
  margin-top: 24px;
  font-size: 18.5px;
  line-height: 1.7;
  color: #c3d0e6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 40px;
  font-size: 14px;
  color: #aebdd8;
}

.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points i { color: var(--cyan); font-size: 13px; }

/* Hero illustration card */
.hero-visual { position: relative; padding: 18px 0 18px 18px; }

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 6% 6% 14%;
  background: var(--gradient);
  filter: blur(70px);
  opacity: 0.35;
  z-index: -1;
}

.escrow-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.escrow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 15px;
}

.escrow-card-head span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.escrow-card-head i { color: var(--cyan); }

.pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #aebdd8;
}

.escrow-steps { display: grid; gap: 0; }

.escrow-steps li {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
}

.escrow-steps li:last-child { padding-bottom: 0; }

.escrow-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 2px;
  width: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.escrow-steps li.done:not(:last-child)::before { background: linear-gradient(180deg, #22d3ee, #2563eb); }

.escrow-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #8a99b3;
}

.done .escrow-dot { background: var(--gradient); border-color: transparent; color: var(--white); }

.active .escrow-dot {
  border-color: var(--cyan);
  color: var(--cyan);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
  100% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
}

.escrow-steps strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.escrow-steps span { display: block; font-size: 13px; color: #9fb0cc; margin-top: 3px; }
.escrow-steps li:not(.done):not(.active) strong { color: #9fb0cc; }

.escrow-card-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10, 20, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  color: #c3d0e6;
}

.escrow-card-foot i { color: var(--cyan); }

.float-chip {
  position: absolute;
  left: -14px;
  bottom: -8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}

.float-chip i { color: var(--blue); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== Trust strip ===== */
.trust { position: relative; z-index: 2; margin-top: -72px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 28px 26px;
}

.trust-item + .trust-item { border-left: 1px solid var(--border); }

.trust-item i {
  color: var(--blue);
  font-size: 19px;
  margin-top: 3px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.trust-item strong { display: block; font-size: 15px; line-height: 1.3; }
.trust-item span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 76px 0 84px; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #9fb0cc;
  margin-bottom: 22px;
}

.crumbs a { color: #c3d0e6; transition: color 0.2s; }
.crumbs a:hover { color: var(--white); }
.crumbs i { font-size: 9px; opacity: 0.7; }

.page-hero h1 { font-size: clamp(36px, 5vw, 58px); max-width: 820px; letter-spacing: -0.025em; }
.page-hero p { max-width: 620px; margin-top: 18px; color: #c3d0e6; font-size: 18px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.hero-chips a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #dbe6fa;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-chips a:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.34); transform: translateY(-2px); }
.hero-chips i { color: var(--cyan); font-size: 13px; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.section-head h2, .split h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

.section-dark .eyebrow { color: var(--blue-light); }
.section-dark .section-head p { color: #b4c2dc; }

/* ===== Cards ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #cfdcf2;
  box-shadow: var(--shadow);
}

.card:hover::before { transform: scaleX(1); }

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, #e8f0ff 0%, #dcf6fb 100%);
  border: 1px solid #d6e4fb;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.card:hover .icon-box,
.service-detail:hover .icon-box {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.card-row { display: flex; gap: 22px; align-items: flex-start; }
.card-row .icon-box { margin-bottom: 0; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14.5px;
}
.link-more i { transition: transform 0.2s; font-size: 12px; }
.link-more:hover i { transform: translateX(5px); }

/* Whole-card link target for service cards */
.card-row .link-more::after { content: ""; position: absolute; inset: 0; }

/* ===== Process (dark) ===== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.step { position: relative; }

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  left: 76px;
  right: -12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 180, 255, 0.6), rgba(122, 180, 255, 0.08));
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(122, 180, 255, 0.35);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.step:hover .step-num { background: var(--gradient); border-color: transparent; transform: translateY(-4px); }

.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: #b4c2dc; font-size: 15px; }

/* ===== Split layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split p { color: var(--muted); margin-top: 18px; font-size: 16.5px; }
.split .btn { margin-top: 32px; }

.split-media {
  position: relative;
  border-radius: 24px;
  min-height: 480px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(10, 20, 40, 0.55)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=70") center / cover no-repeat,
    linear-gradient(135deg, #1e3a8a, #0a1428);
  box-shadow: var(--shadow);
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid #d6e4fb;
  border-radius: 24px;
  z-index: -1;
}

.media-wrap { position: relative; isolation: isolate; }

.media-note {
  position: absolute;
  left: -24px;
  bottom: 36px;
  max-width: 270px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.media-note i { color: var(--blue); font-size: 20px; margin-top: 2px; }
.media-note strong { display: block; color: var(--text); font-size: 15px; }

.check-list { margin-top: 28px; display: grid; gap: 14px; }

.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15.5px;
}

.check-list i { color: var(--blue); margin-top: 5px; }

/* Audience tiles */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.audience-tile {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.audience-tile:nth-child(even) { transform: translateY(24px); }

.audience-tile:hover {
  background: var(--white);
  border-color: #cfdcf2;
  box-shadow: var(--shadow);
}

.audience-tile i { color: var(--blue); font-size: 20px; margin-bottom: 16px; }
.audience-tile h3 { font-size: 17px; margin-bottom: 8px; }
.audience-tile p { margin-top: 0; font-size: 14.5px; color: var(--muted); }

/* ===== Service detail ===== */
.service-detail {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
  counter-increment: service;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.services-list { counter-reset: service; }

.service-detail::after {
  content: "0" counter(service);
  position: absolute;
  top: 30px;
  right: 38px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: #e6edf8;
}

.service-detail:hover { border-color: #cfdcf2; box-shadow: var(--shadow); }
.service-detail:target { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), var(--shadow); }

.service-detail + .service-detail { margin-top: 24px; }
.service-detail .icon-box { margin-bottom: 0; }
.service-detail h3 { font-size: 24px; font-family: var(--font-display); font-weight: 600; padding-right: 80px; }
.service-detail p { color: var(--muted); margin-top: 12px; max-width: 760px; font-size: 16px; }

.service-detail .check-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.service-detail .check-list li { font-size: 14.5px; color: var(--muted); }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }

.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq details:hover { border-color: #cfdcf2; }
.faq details[open] { border-color: #bcd0f5; box-shadow: var(--shadow); }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; font-size: 15.5px; }

/* ===== CTA ===== */
.cta { padding: 0 0 110px; background: var(--white); }
.section-soft + .cta { background: var(--bg-soft); }
.section-dark + .cta { padding-top: 110px; }

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(34, 211, 238, 0.35), transparent 65%),
    linear-gradient(120deg, #1d4ed8 0%, #172554 100%);
  box-shadow: 0 30px 70px rgba(29, 78, 216, 0.28);
  overflow: hidden;
  isolation: isolate;
}

.cta-panel::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.04), 0 0 0 100px rgba(255, 255, 255, 0.03);
  z-index: -1;
}

.cta h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 560px; }
.cta p { max-width: 540px; margin-top: 14px; color: #d3def5; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 36px;
  align-items: start;
}

.contact-info { display: grid; gap: 18px; }
.contact-info .card { padding: 26px 28px; }
.contact-info .card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-info .card a { color: var(--blue); font-weight: 600; word-break: break-word; }
.contact-info .card a:hover { text-decoration: underline; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.form-card h2 { font-size: 30px; }
.form-intro { color: var(--muted); margin: 8px 0 30px; font-size: 15.5px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d5deeb;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%234b5a73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field textarea { min-height: 150px; resize: vertical; }
.field ::placeholder { color: var(--muted-2); }

.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c8de; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}

.form-note i { color: var(--muted-2); margin-top: 4px; }
.form-note a { color: var(--blue); font-weight: 600; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 14.5px;
}
.form-status.show { display: block; }

/* ===== Legal pages ===== */
.legal {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 60px;
  box-shadow: var(--shadow-sm);
  counter-reset: none;
}

.legal h2 {
  font-size: 23px;
  margin: 40px 0 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--blue); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal ul { list-style: none; display: grid; gap: 10px; margin-top: 12px; }

.legal ul li { position: relative; padding-left: 22px; }

.legal ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

.legal .updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
}

.legal .updated + h2 { border-top: 0; padding-top: 0; margin-top: 30px; }

/* ===== Footer ===== */
.site-footer {
  position: relative;
  background: var(--navy);
  color: #b4c2dc;
  padding: 80px 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-about p { margin-top: 22px; font-size: 14.5px; max-width: 380px; line-height: 1.7; }
.footer-about .fine { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; }

.site-footer h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-links { display: grid; gap: 13px; }
.footer-links a { font-size: 14.5px; transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact { display: grid; gap: 16px; font-size: 14.5px; }
.footer-contact li { display: flex; gap: 13px; align-items: flex-start; }
.footer-contact i { color: var(--blue-light); margin-top: 5px; width: 16px; text-align: center; }
.footer-contact a { transition: color 0.2s; word-break: break-word; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 26px 0 32px;
  font-size: 13px;
  color: var(--muted-2);
}

.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--white); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s ease, translate 0.7s ease, transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.reveal.visible { opacity: 1; translate: none; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .hero { padding: 72px 0 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 520px; padding-left: 14px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; gap: 44px 28px; }
  .step::after { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .split-media { min-height: 340px; }
  .media-note { left: 20px; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 48px; }
  .service-detail .check-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 44px; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--navy);
    padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 40px rgba(4, 12, 30, 0.4);
  }

  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 14px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.active { background: rgba(255, 255, 255, 0.07); }
  .nav-links .btn { margin: 12px 0 0; }
}

@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .section { padding: 76px 0; }
  .cta { padding-bottom: 76px; }
  .section-dark + .cta { padding-top: 76px; }
  .section-head { margin-bottom: 44px; }
  .page-hero { padding: 56px 0 64px; }
  .grid-2, .grid-3, .grid-4, .form-row, .process, .audience, .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  .trust-item { padding: 22px 24px; }
  .audience-tile:nth-child(even) { transform: none; }
  .card { padding: 28px 26px; }
  .card-row { flex-direction: column; gap: 18px; }
  .service-detail { grid-template-columns: 1fr; padding: 30px 26px; gap: 22px; }
  .service-detail::after { top: 28px; right: 26px; font-size: 38px; }
  .service-detail h3 { padding-right: 0; }
  .form-card { padding: 30px 24px; }
  .legal { padding: 36px 26px; }
  .cta-panel { padding: 40px 28px; border-radius: 22px; }
  .cta-actions, .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .float-chip { left: 0; }
  .split-media::before { display: none; }
  .media-note { position: static; max-width: none; margin-top: 16px; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .float-chip, .active .escrow-dot { animation: none; }
}
