:root {
  --color-ink: #132033;
  --color-ink-soft: #40516a;
  --color-muted: #6a7587;
  --color-line: #dbe4ef;
  --color-paper: #ffffff;
  --color-soft: #f4f8fb;
  --color-navy: #102a43;
  --color-navy-2: #0d2238;
  --color-teal: #145d66;
  --color-teal-2: #1d737d;
  --color-gold: #c7922d;
  --color-olive: #8b9a4b;
  --color-ivory: #fbf5e8;
  --color-brown: #5a3826;
  --shadow-soft: 0 16px 42px rgba(16, 42, 67, 0.12);
  --shadow-card: 0 10px 28px rgba(16, 42, 67, 0.09);
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1180px;
  --header-height: 76px;
  --ease: cubic-bezier(0.2, 0.72, 0.18, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(199, 146, 45, 0.65);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 8px 18px rgba(16, 42, 67, 0.16);
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-text strong {
  color: var(--color-navy);
  font-size: 17px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-text span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-navy);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

body.nav-open .nav-toggle span {
  opacity: 0;
}

body.nav-open .nav-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

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

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border-radius: var(--radius-sm);
  color: var(--color-ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: #edf7f8;
  color: var(--color-teal);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--color-teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--color-navy);
  text-decoration: none;
}

.btn.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn.btn-gold:hover {
  background: #dca43a;
}

.btn.btn-outline {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.btn.btn-light {
  border-color: var(--color-line);
  background: #fff;
  color: var(--color-navy);
}

.btn.btn-light:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--color-navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(16, 42, 67, 0.96), rgba(20, 93, 102, 0.9) 52%, rgba(13, 34, 56, 0.98)),
    radial-gradient(circle at 90% 18%, rgba(199, 146, 45, 0.25), transparent 34%),
    radial-gradient(circle at 0% 85%, rgba(139, 154, 75, 0.34), transparent 32%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-olive), var(--color-teal));
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: 70px 0 58px;
}

.hero-inner-wide {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f5d489;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.proof-item {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.proof-item strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.proof-item span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual-large {
  min-width: 0;
}

.hero-dashboard-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.hero-floating-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(300px, calc(100% - 44px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(16, 42, 67, 0.88);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.hero-floating-note strong,
.hero-floating-note span {
  display: block;
}

.hero-floating-note strong {
  font-size: 14px;
  font-weight: 900;
}

.hero-floating-note span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-card-logo {
  width: 170px;
  height: 170px;
  margin: 0 auto 22px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.service-stack {
  display: grid;
  gap: 10px;
}

.service-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  font-weight: 900;
}

.service-pill span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 60px 0;
}

.section-soft {
  background: var(--color-soft);
}

.section-ivory {
  background: var(--color-ivory);
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(16, 42, 67, 0.97), rgba(20, 93, 102, 0.92)),
    var(--color-navy);
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-olive), var(--color-teal));
  content: "";
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: 40px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: #f3d28a;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero .hero-lead {
  max-width: 760px;
}

.page-hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.25);
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.mini-stat {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.mini-stat strong,
.mini-stat span {
  display: block;
}

.mini-stat strong {
  color: #fff;
  font-size: 15px;
}

.mini-stat span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-card,
.process-card,
.contact-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.info-panel {
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.info-panel p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.info-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.info-panel li {
  margin: 7px 0;
}

.highlight-panel {
  padding: 26px;
  border: 1px solid rgba(199, 146, 45, 0.38);
  border-radius: var(--radius);
  background: #fffaf0;
}

.highlight-panel p {
  margin: 10px 0 0;
  color: #674b1c;
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.service-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #edf7f8;
  color: var(--color-teal);
  font-size: 12px;
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list strong {
  color: var(--color-navy);
  line-height: 1.3;
}

.service-list span {
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 14px;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.document-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.document-card strong,
.document-card span {
  display: block;
}

.document-card strong {
  color: var(--color-navy);
  font-size: 16px;
}

.document-card span {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-item h3 {
  font-size: 18px;
}

.faq-item p {
  margin: 9px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 24px;
  align-items: start;
}

.legal-content {
  padding: 30px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-muted);
}

.legal-content ul {
  padding-left: 20px;
}

.legal-meta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.legal-meta span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-soft);
}

.legal-nav h3 {
  margin-bottom: 12px;
}

.legal-nav a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--color-line);
  color: var(--color-teal);
  font-weight: 800;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-line);
}

.value-strip div {
  padding: 22px;
  background: #fff;
}

.value-strip strong,
.value-strip span {
  display: block;
}

.value-strip strong {
  color: var(--color-teal);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.value-strip span {
  margin-top: 6px;
  color: var(--color-ink);
  font-weight: 800;
}

.service-grid {
  align-items: stretch;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-teal);
  content: "";
}

.service-card.is-priority::before {
  background: var(--color-gold);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #edf7f8;
  color: var(--color-teal);
  font-size: 22px;
  font-weight: 900;
}

.service-card.is-priority .card-icon {
  background: #fff4d8;
  color: var(--color-brown);
}

h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.24;
  letter-spacing: 0;
}

.card-text {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--color-teal);
  font-size: 14px;
  font-weight: 900;
}

.text-link:hover {
  color: var(--color-navy);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: center;
}

.split-feature-reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-content {
  max-width: 620px;
}

.feature-content p {
  margin: 16px 0 0;
  color: var(--color-muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.check-list span {
  position: relative;
  display: block;
  padding: 13px 14px 13px 42px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-ink-soft);
  font-weight: 800;
}

.check-list span::before {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-teal);
  box-shadow: inset 0 0 0 4px #dff1f3;
  content: "";
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-band {
  margin-top: -1px;
  border-bottom: 1px solid var(--color-line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-line);
}

.trust-item {
  padding: 22px;
  background: #fff;
}

.trust-item strong {
  display: block;
  color: var(--color-teal);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-item span {
  display: block;
  margin-top: 5px;
  color: var(--color-ink);
  font-weight: 800;
}

.process-list {
  counter-reset: process;
}

.process-card {
  counter-increment: process;
  position: relative;
  padding-top: 58px;
}

.process-card::before {
  position: absolute;
  top: 18px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  content: counter(process);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.audience-card {
  min-height: 154px;
  padding: 20px;
  border: 1px solid rgba(20, 93, 102, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.audience-card strong,
.audience-card span {
  display: block;
}

.audience-card strong {
  color: var(--color-navy);
  font-size: 18px;
  line-height: 1.25;
}

.audience-card span {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 14px;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.route-card {
  display: block;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.route-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-teal);
  text-decoration: none;
}

.route-card strong,
.route-card span {
  display: block;
}

.route-card strong {
  color: var(--color-navy);
  font-size: 19px;
}

.route-card span {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.form-card {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.form-card-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.form-card-head p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.enquiry-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field > span {
  color: var(--color-ink-soft);
  font-size: 14px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-ink);
  padding: 12px 13px;
  outline: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(20, 93, 102, 0.14);
}

.field input[type="file"] {
  padding: 11px;
  background: var(--color-soft);
}

.field-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-soft);
}

.consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--color-teal);
}

.consent span {
  color: var(--color-ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.form-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
}

.form-status {
  flex: 1 1 260px;
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.form-status.is-error {
  color: #a53a2a;
  font-weight: 800;
}

.contact-side {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.contact-side .highlight-panel {
  margin-top: 18px;
  padding: 18px;
}

.submit-response {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(20, 93, 102, 0.1), rgba(199, 146, 45, 0.1)),
    var(--color-soft);
}

.response-card {
  width: min(720px, 100%);
  padding: 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.response-card img {
  margin: 0 auto 18px;
  border-radius: 50%;
}

.response-card h1 {
  color: var(--color-navy);
  font-size: clamp(30px, 5vw, 48px);
}

.response-card p {
  color: var(--color-muted);
}

.response-card ul {
  display: inline-grid;
  gap: 6px;
  margin: 16px auto 0;
  padding-left: 20px;
  color: var(--color-muted);
  text-align: left;
}

.response-card.error {
  border-color: rgba(165, 58, 42, 0.32);
}

.response-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(16, 42, 67, 0.96), rgba(20, 93, 102, 0.92)),
    var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.cta-band-premium::after {
  position: absolute;
  right: -90px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(199, 146, 45, 0.16);
  content: "";
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 48px 0 26px;
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-legal a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.58s var(--ease), transform 0.58s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .header-actions .btn-light {
    display: none;
  }

  .hero-inner,
  .page-hero-grid,
  .section-head,
  .split-feature,
  .split-feature-reverse,
  .contact-layout,
  .legal-layout,
  .cta-band-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-visual {
    max-width: 520px;
  }

  .hero-visual-large {
    max-width: 720px;
  }

  .contact-side {
    position: static;
  }

  .legal-nav {
    position: static;
  }

  .grid-4,
  .trust-grid,
  .audience-grid,
  .document-grid,
  .value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    max-height: calc(100svh - var(--header-height));
    padding: 10px 16px 18px;
    overflow-y: auto;
    border-bottom: 1px solid var(--color-line);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.24s var(--ease), visibility 0.24s var(--ease);
  }

  body.nav-open .primary-nav {
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--color-line);
    border-radius: 0;
  }

  .header-actions {
    margin-left: auto;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .trust-grid,
  .hero-proof,
  .mini-stat-grid,
  .audience-grid,
  .route-cards,
  .document-grid,
  .value-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .brand-text span {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero-inner {
    padding: 48px 0 44px;
  }

  .hero-actions,
  .cta-actions,
  .form-actions,
  .response-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-card {
    padding: 18px;
  }

  .hero-floating-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-card-logo {
    width: 136px;
    height: 136px;
  }

  .cta-band-inner {
    padding: 22px;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Phase 10 service-page premium rebuild */
.service-hero-premium {
  min-height: auto;
  padding: 48px 0 66px;
}

.service-hero-premium .page-hero-grid {
  align-items: center;
  gap: 34px;
}

.service-hero-premium h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.02;
}

.service-hero-premium .hero-lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.service-hero-panel {
  position: relative;
}

.service-hero-panel::before {
  position: absolute;
  inset: 18px -14px -14px 18px;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(246, 215, 143, 0.22), rgba(20, 160, 150, 0.22));
  content: "";
}

.service-hero-panel img {
  aspect-ratio: 1.55 / 1;
  max-height: 390px;
  object-fit: cover;
}

.service-snapshot-band {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}

.service-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: rgba(216, 225, 223, 0.96);
  box-shadow: var(--shadow-lift);
}

.service-snapshot-grid div {
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.97);
}

.service-snapshot-grid strong,
.service-snapshot-grid span {
  display: block;
}

.service-snapshot-grid strong {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-snapshot-grid span {
  margin-top: 7px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 900;
}

.service-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.directory-card {
  min-height: 258px;
  padding: 24px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 253, 252, 0.94)),
    #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.directory-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: var(--shadow-lift);
}

.directory-card span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.13), rgba(201, 154, 46, 0.22));
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 900;
}

.directory-card strong {
  display: block;
  margin-top: 20px;
  color: var(--color-navy);
  font-size: 21px;
  line-height: 1.18;
}

.directory-card p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.directory-priority {
  background:
    linear-gradient(135deg, rgba(7, 29, 46, 0.96), rgba(15, 118, 110, 0.92)),
    var(--color-navy);
}

.directory-priority strong {
  color: #fff;
}

.directory-priority p {
  color: rgba(255, 255, 255, 0.76);
}

.directory-priority span {
  background: rgba(255, 255, 255, 0.14);
  color: #f6d78f;
}

.service-comparison-layout,
.service-deep-layout,
.risk-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
}

.service-route-list {
  display: grid;
  gap: 12px;
}

.service-route-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.service-route-list b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-premium);
  color: #fff;
  font-size: 13px;
}

.service-route-list strong,
.service-route-list span {
  display: block;
}

.service-route-list span {
  color: var(--color-muted);
}

.service-side-note {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  padding: 24px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 29, 46, 0.96), rgba(15, 118, 110, 0.92)),
    var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.service-side-note strong {
  display: block;
  color: #f6d78f;
  font-size: 18px;
}

.service-side-note p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.service-handle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-handle-grid article {
  min-height: 158px;
  padding: 20px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.service-handle-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-handle-grid strong {
  color: var(--color-navy);
  line-height: 1.28;
}

.service-doc-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-doc-checklist article {
  position: relative;
  min-height: 112px;
  padding: 18px 18px 18px 52px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.service-doc-checklist article::before {
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  content: "✓";
}

.service-doc-checklist strong {
  color: var(--color-navy);
  line-height: 1.3;
}

.service-step-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.service-step-strip article {
  min-height: 160px;
  padding: 18px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.service-step-strip span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gradient-premium);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.service-step-strip h3 {
  font-size: 17px;
}

.risk-grid {
  display: grid;
  gap: 12px;
}

.risk-grid article {
  padding: 20px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 234, 0.72)),
    #fff;
  box-shadow: var(--shadow-card);
}

.risk-grid strong {
  display: block;
  color: var(--color-navy);
  font-size: 18px;
}

.risk-grid p {
  margin: 9px 0 0;
  color: var(--color-muted);
}

.service-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-faq-grid article {
  padding: 20px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.service-faq-grid p {
  margin: 9px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .service-directory-grid,
  .service-handle-grid,
  .service-doc-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-step-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-comparison-layout,
  .service-deep-layout,
  .risk-layout {
    grid-template-columns: 1fr;
  }

  .service-side-note {
    position: static;
  }
}

@media (max-width: 760px) {
  .service-hero-premium {
    padding: 24px 0 24px;
  }

  .service-hero-premium .page-hero-grid {
    gap: 14px;
  }

  .service-hero-premium .breadcrumb {
    display: none;
  }

  .service-hero-premium h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .service-hero-premium .hero-lead {
    font-size: 16px;
    line-height: 1.58;
  }

  .service-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }

  .service-hero-actions .btn {
    min-height: 44px;
    justify-content: center;
    padding: 12px 10px;
    font-size: 13px;
  }

  .service-snapshot-band {
    margin-top: -24px;
  }

  .service-snapshot-grid,
  .service-directory-grid,
  .service-handle-grid,
  .service-doc-checklist,
  .service-step-strip,
  .service-faq-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-panel::before {
    display: none;
  }

  .service-hero-panel img {
    aspect-ratio: 2.35 / 1;
    max-height: 148px;
  }
}

@media (max-width: 560px) {
  .service-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-snapshot-grid div,
  .directory-card,
  .service-handle-grid article,
  .service-step-strip article {
    min-height: auto;
  }
}

/* Phase 9 homepage premium rebuild */
.home-hero-premium {
  position: relative;
  min-height: min(720px, calc(100svh - var(--header-height) - 42px));
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--color-navy);
}

.home-hero-bg,
.home-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-bg img {
  object-fit: cover;
  object-position: center;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 46, 0.96) 0%, rgba(7, 29, 46, 0.86) 30%, rgba(7, 29, 46, 0.5) 57%, rgba(7, 29, 46, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 29, 46, 0.46), transparent 35%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  padding: 52px 0 76px;
}

.home-hero-content h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(42px, 4.7vw, 60px);
  line-height: 1.02;
}

.home-hero-content .hero-lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-proof-premium {
  max-width: 920px;
  margin-top: 22px;
}

.hero-proof-premium .proof-item {
  padding: 12px 13px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
}

.hero-status-rail {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(var(--container), calc(100% - 32px));
  transform: translateX(-50%);
}

.hero-status-rail span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero-status-rail b {
  color: #f6d78f;
}

.home-intent-strip {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  padding: 0 0 10px;
  background: linear-gradient(180deg, rgba(7, 29, 46, 0.98), rgba(7, 29, 46, 0));
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.86);
  border-radius: 8px;
  background: rgba(216, 225, 223, 0.9);
  box-shadow: var(--shadow-lift);
}

.intent-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 98px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-navy);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease);
}

.intent-grid a:hover {
  transform: translateY(-3px);
  background: #fff8ea;
}

.intent-grid span,
.tile-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.13), rgba(201, 154, 46, 0.24));
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 900;
}

.intent-grid strong {
  font-size: 15px;
  line-height: 1.24;
}

.section-head-centered {
  grid-template-columns: 1fr;
  max-width: 840px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head-centered .section-copy {
  margin: 0 auto;
}

.home-service-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-service-tile {
  position: relative;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 253, 252, 0.94)),
    #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.home-service-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: var(--shadow-lift);
}

.home-service-tile::after {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.08);
  content: "";
}

.home-service-tile h3,
.home-service-tile p,
.home-service-tile a,
.home-service-tile .tile-icon,
.tile-tag {
  position: relative;
  z-index: 1;
}

.home-service-tile h3 {
  margin-top: 18px;
}

.home-service-tile p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.tile-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(7, 29, 46, 0.94), rgba(15, 118, 110, 0.9)),
    var(--color-navy);
  color: #fff;
}

.tile-large h3 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
}

.tile-large p,
.tile-dark p,
.tile-large .card-text {
  color: rgba(255, 255, 255, 0.78);
}

.tile-large .text-link,
.tile-dark .text-link {
  color: #f6d78f;
}

.tile-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(246, 215, 143, 0.18);
  color: #f6d78f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tile-large .tile-icon,
.tile-dark .tile-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #f6d78f;
}

.tile-dark {
  background:
    linear-gradient(135deg, rgba(7, 29, 46, 0.95), rgba(13, 47, 66, 0.96)),
    var(--color-navy);
  color: #fff;
}

.tile-dark h3 {
  color: #fff;
}

.tile-accent {
  background:
    linear-gradient(145deg, rgba(255, 248, 234, 0.96), rgba(255, 255, 255, 0.98)),
    #fff8ea;
}

.advisor-layout,
.document-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 48px;
  align-items: center;
}

.advisor-media,
.document-media {
  position: relative;
}

.advisor-media img,
.document-media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.advisor-media::before,
.document-media::before {
  position: absolute;
  inset: 22px -16px -16px 22px;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.2), rgba(201, 154, 46, 0.24));
  content: "";
}

.advisor-media-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(270px, calc(100% - 36px));
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 29, 46, 0.86);
  color: #fff;
  backdrop-filter: blur(14px);
}

.advisor-media-note strong,
.advisor-media-note span {
  display: block;
}

.advisor-media-note span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.advisor-content p,
.document-content p {
  color: var(--color-muted);
}

.premium-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.premium-check-grid span {
  position: relative;
  min-height: 78px;
  padding: 16px 16px 16px 46px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink-soft);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(7, 29, 46, 0.05);
}

.premium-check-grid span::before {
  position: absolute;
  left: 16px;
  top: 19px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  font-size: 11px;
  content: "✓";
}

.audience-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.audience-lane {
  min-height: 245px;
  padding: 24px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 246, 0.95)),
    #fff;
  box-shadow: var(--shadow-card);
}

.audience-lane span {
  display: block;
  margin-bottom: 34px;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.audience-lane strong {
  display: block;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.18;
}

.audience-lane p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-timeline::before {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 35px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  content: "";
}

.process-timeline article {
  position: relative;
  min-height: 245px;
  padding: 84px 22px 22px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.process-timeline span {
  position: absolute;
  left: 22px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-premium);
  color: #fff;
  font-weight: 900;
}

.process-timeline p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.document-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.route-cards-premium .route-card {
  min-height: 170px;
}

.trust-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 29, 46, 0.96), rgba(15, 118, 110, 0.92)),
    var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.trust-editorial h2 {
  color: #fff;
}

.trust-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-editorial-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-editorial-grid strong {
  display: block;
  color: #f6d78f;
  font-size: 16px;
}

.trust-editorial-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.floating-whatsapp span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 900;
}

.floating-whatsapp strong {
  font-size: 13px;
}

@media (max-width: 1080px) {
  .home-service-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-large {
    grid-row: auto;
  }

  .advisor-layout,
  .document-layout,
  .trust-editorial {
    grid-template-columns: 1fr;
  }

  .audience-lanes,
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-hero-premium {
    min-height: auto;
  }

  .home-hero-bg img {
    object-position: 60% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 29, 46, 0.96), rgba(7, 29, 46, 0.7)),
      linear-gradient(0deg, rgba(7, 29, 46, 0.72), rgba(7, 29, 46, 0.14));
  }

  .home-hero-content {
    padding: 44px 0 142px;
  }

  .hero-proof-premium {
    display: none;
  }

  .hero-status-rail {
    display: grid;
    grid-template-columns: 1fr;
    bottom: 14px;
  }

  .hero-status-rail span {
    width: 100%;
  }

  .intent-grid,
  .home-service-board,
  .audience-lanes,
  .process-timeline,
  .trust-editorial-grid,
  .premium-check-grid {
    grid-template-columns: 1fr;
  }

  .tile-large {
    grid-column: auto;
    min-height: 320px;
  }

  .advisor-media::before,
  .document-media::before {
    inset: 12px -8px -8px 12px;
  }

  .trust-editorial {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .home-hero-content h1 {
    font-size: 37px;
    line-height: 1.04;
  }

  .home-hero-content {
    padding-top: 42px;
  }

  .home-service-tile,
  .audience-lane,
  .process-timeline article {
    min-height: auto;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
  }

  .floating-whatsapp strong {
    display: none;
  }
}

/* Phase 8 premium foundation */
:root {
  --color-ink: #14212b;
  --color-ink-soft: #344754;
  --color-muted: #63717b;
  --color-line: #d8e1df;
  --color-paper: #ffffff;
  --color-soft: #f4f8f6;
  --color-navy: #071d2e;
  --color-navy-2: #0d2f42;
  --color-teal: #0f766e;
  --color-teal-2: #14a096;
  --color-gold: #c99a2e;
  --color-olive: #7f9651;
  --color-ivory: #fff8ea;
  --color-brown: #5a3b19;
  --shadow-soft: 0 24px 70px rgba(7, 29, 46, 0.16);
  --shadow-card: 0 14px 42px rgba(7, 29, 46, 0.1);
  --shadow-lift: 0 26px 68px rgba(7, 29, 46, 0.2);
  --header-height: 104px;
  --gradient-premium: linear-gradient(135deg, #071d2e 0%, #0b3c4f 48%, #0f766e 100%);
}

body {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(7, 29, 46, 0.025) 1px, transparent 1px),
    #fbfdfc;
  background-size: 42px 42px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 248, 234, 0.75), transparent 34%),
    linear-gradient(245deg, rgba(15, 118, 110, 0.08), transparent 42%);
  content: "";
}

.site-header {
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(216, 225, 223, 0.82);
  box-shadow: 0 8px 28px rgba(7, 29, 46, 0.06);
  backdrop-filter: blur(22px) saturate(150%);
  transition: background 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(216, 225, 223, 0.96);
  box-shadow: 0 16px 46px rgba(7, 29, 46, 0.12);
}

.header-inner {
  min-height: 72px;
}

.brand {
  isolation: isolate;
}

.brand img {
  border: 1px solid rgba(201, 154, 46, 0.34);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 13px 28px rgba(7, 29, 46, 0.18);
}

.brand-text strong {
  color: var(--color-navy);
  font-size: 18px;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--color-teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-nav {
  position: relative;
  gap: 6px;
}

.primary-nav > a,
.nav-link-parent {
  position: relative;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--color-ink-soft);
  letter-spacing: 0.01em;
}

.primary-nav > a::after,
.nav-link-parent::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 2px;
  background: var(--color-gold);
  content: "";
  transition: transform 0.2s var(--ease);
}

.primary-nav > a:hover,
.primary-nav > a.is-active,
.nav-link-parent:hover,
.nav-link-parent.is-active {
  border-color: rgba(15, 118, 110, 0.14);
  background: rgba(15, 118, 110, 0.08);
  color: var(--color-teal);
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after,
.nav-link-parent:hover::after,
.nav-link-parent.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--color-teal);
}

.nav-dropdown-toggle span {
  width: 8px;
  height: 8px;
  transform: translateY(-2px) rotate(45deg);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown.is-open .nav-dropdown-toggle span {
  transform: translateY(2px) rotate(225deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 110;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(420px, 1fr);
  gap: 18px;
  width: min(760px, calc(100vw - 38px));
  padding: 18px;
  transform: translate(-50%, 10px);
  border: 1px solid rgba(216, 225, 223, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(22px);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), visibility 0.2s var(--ease);
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown.is-open .mega-menu {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu::before {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 16px;
  height: 16px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 1px solid rgba(216, 225, 223, 0.94);
  border-top: 1px solid rgba(216, 225, 223, 0.94);
  background: rgba(255, 255, 255, 0.96);
  content: "";
}

.mega-intro {
  padding: 20px;
  border-radius: 8px;
  background: var(--gradient-premium);
  color: #fff;
}

.mega-intro span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #f6d78f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mega-intro strong {
  display: block;
  font-size: 22px;
  line-height: 1.12;
}

.mega-intro p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-links a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(216, 225, 223, 0.88);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.06), transparent 58%),
    #fff;
  color: var(--color-ink);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mega-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 14px 34px rgba(7, 29, 46, 0.1);
}

.mega-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.11);
  color: var(--color-teal);
  font-size: 11px;
  font-weight: 900;
}

.mega-links strong,
.mega-links small {
  display: block;
}

.mega-links strong {
  color: var(--color-navy);
  font-size: 15px;
  line-height: 1.2;
}

.mega-links small {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
}

.header-actions .btn {
  min-height: 44px;
}

.btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.16);
}

.btn::after {
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  content: "";
  transition: transform 0.45s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn.btn-light {
  box-shadow: none;
}

.hero,
.page-hero,
.cta-band {
  background: var(--gradient-premium);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(120deg, rgba(7, 29, 46, 0.9), rgba(15, 118, 110, 0.76));
  background-size: 46px 46px, 46px 46px, auto;
  content: "";
}

.hero::after,
.page-hero::after {
  height: 8px;
  background: linear-gradient(90deg, #f6d78f, var(--color-gold), var(--color-teal-2), #8fc9c1);
}

.section {
  position: relative;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(244, 248, 246, 0.96)),
    var(--color-soft);
}

.section-ivory {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 234, 0.94)),
    var(--color-ivory);
}

.section-kicker,
.eyebrow {
  color: var(--color-gold);
}

.section-head {
  align-items: center;
}

.service-card,
.feature-card,
.process-card,
.contact-card,
.info-panel,
.legal-content,
.form-card,
.route-card,
.document-card,
.faq-item,
.audience-card {
  border-color: rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 252, 0.94)),
    #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, var(--shadow-card);
}

.service-card,
.feature-card,
.process-card,
.route-card,
.document-card,
.audience-card {
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.service-card:hover,
.feature-card:hover,
.process-card:hover,
.route-card:hover,
.document-card:hover,
.audience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: var(--shadow-lift);
}

.service-card::before {
  width: 5px;
  background: linear-gradient(180deg, var(--color-teal-2), var(--color-gold));
}

.card-icon,
.service-list b,
.process-card::before {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(201, 154, 46, 0.2));
  color: var(--color-teal);
}

.check-list span,
.service-list li {
  box-shadow: 0 8px 22px rgba(7, 29, 46, 0.04);
}

.trust-grid,
.value-strip {
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--color-navy);
  background-size: 42px 42px, 42px 42px, auto;
}

.site-footer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #f6d78f, var(--color-gold), var(--color-teal-2));
  content: "";
}

.footer-grid,
.footer-legal,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-brand img {
  border: 1px solid rgba(246, 215, 143, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.reveal {
  transition-delay: var(--reveal-delay, 0ms);
  transition-duration: 0.68s;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: rgba(7, 29, 46, 0.52);
  backdrop-filter: blur(5px);
}

body.nav-open .mobile-nav-overlay {
  display: block;
}

@media (max-width: 1120px) {
  .primary-nav > a,
  .nav-link-parent {
    padding: 0 10px;
    font-size: 13px;
  }

  .mega-menu {
    left: auto;
    right: -120px;
    transform: translate(0, 10px);
  }

  .nav-dropdown:hover .mega-menu,
  .nav-dropdown:focus-within .mega-menu,
  .nav-dropdown.is-open .mega-menu {
    transform: translate(0, 0);
  }

  .mega-menu::before {
    left: auto;
    right: 168px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .nav-toggle {
    display: inline-block;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(7, 29, 46, 0.1);
  }

  .primary-nav {
    position: fixed;
    inset: calc(var(--header-height) + 12px) 12px 12px auto;
    z-index: 120;
    display: grid;
    align-content: start;
    gap: 8px;
    width: min(390px, calc(100vw - 24px));
    max-height: none;
    padding: 16px;
    overflow-y: auto;
    border: 1px solid rgba(216, 225, 223, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lift);
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(22px);
  }

  body.nav-open .primary-nav {
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav > a,
  .nav-link-parent {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(216, 225, 223, 0.84);
    border-radius: 8px;
    background: #fff;
  }

  .primary-nav > a::after,
  .nav-link-parent::after {
    display: none;
  }

  .nav-dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
  }

  .nav-dropdown-toggle {
    display: grid;
  }

  .mega-menu {
    position: static;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    transform: none;
    border-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    transition: max-height 0.26s var(--ease), padding 0.26s var(--ease), border-width 0.26s var(--ease);
  }

  .nav-dropdown:hover .mega-menu,
  .nav-dropdown:focus-within .mega-menu {
    transform: none;
  }

  .nav-dropdown.is-open .mega-menu {
    max-height: 880px;
    padding: 12px;
    border-width: 1px;
  }

  body.nav-open .nav-dropdown.is-open .mega-menu {
    display: grid;
    max-height: 920px !important;
    padding: 12px !important;
    border-width: 1px !important;
  }

  .mega-menu::before {
    display: none;
  }

  .mega-links {
    grid-template-columns: 1fr;
  }

  .mega-links a {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    max-width: 190px;
    font-size: 15px;
  }

  .primary-nav {
    width: auto;
    inset: calc(var(--header-height) + 10px) 10px 10px 10px;
  }

  .mega-intro {
    padding: 16px;
  }

  .mega-intro strong {
    font-size: 19px;
  }
}

/* Phase 11 about and contact premium conversion upgrade */
.about-hero-premium,
.contact-hero-premium {
  min-height: auto;
  padding: 52px 0 72px;
}

.about-hero-premium .page-hero-grid,
.contact-hero-premium .page-hero-grid {
  gap: 34px;
}

.about-hero-premium h1,
.contact-hero-premium h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.02;
}

.about-hero-card,
.contact-hero-card {
  position: relative;
}

.about-hero-card img,
.contact-hero-card img {
  aspect-ratio: 1.52 / 1;
  max-height: 390px;
  object-fit: cover;
}

.hero-proof-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 300px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(7, 29, 46, 0.78);
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(7, 29, 46, 0.28);
}

.hero-proof-note strong,
.hero-proof-note span {
  display: block;
}

.hero-proof-note strong {
  color: #f6d78f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof-note span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.about-snapshot-band,
.contact-channel-band {
  position: relative;
  z-index: 4;
  margin-top: -36px;
}

.about-snapshot-grid,
.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: rgba(216, 225, 223, 0.96);
  box-shadow: var(--shadow-lift);
}

.about-snapshot-grid div,
.contact-channel-grid a,
.contact-channel-grid div {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
}

.about-snapshot-grid strong,
.about-snapshot-grid span,
.contact-channel-grid span,
.contact-channel-grid strong,
.contact-channel-grid small {
  display: block;
}

.about-snapshot-grid strong,
.contact-channel-grid span {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-snapshot-grid span,
.contact-channel-grid small {
  margin-top: 8px;
  color: var(--color-ink-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-channel-grid a,
.contact-channel-grid div {
  color: var(--color-ink);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-channel-grid a:hover {
  transform: translateY(-3px);
  background: #fbf7ec;
}

.contact-channel-grid strong {
  margin-top: 10px;
  color: var(--color-navy);
  font-size: 18px;
}

.about-editorial-grid,
.contact-intake-grid,
.about-audience-layout,
.about-office-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.64fr);
  gap: 30px;
  align-items: start;
}

.about-editorial-copy {
  max-width: 820px;
}

.about-editorial-copy p:not(.section-kicker) {
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.8;
}

.identity-ledger,
.contact-route-cards,
.office-route-card,
.contact-side-mini {
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 246, 0.94));
  box-shadow: var(--shadow-card);
}

.identity-ledger {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: rgba(216, 225, 223, 0.92);
}

.identity-ledger div {
  padding: 22px;
  background: #fff;
}

.identity-ledger span,
.about-method-strip strong,
.contact-next-grid strong {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-ledger strong {
  display: block;
  margin-top: 10px;
  color: var(--color-navy);
  font-size: 20px;
}

.identity-ledger p {
  margin: 8px 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.about-standard-grid,
.document-guidance-grid,
.contact-next-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-standard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-standard-grid article,
.document-guidance-grid article,
.contact-next-grid div,
.contact-route-cards article {
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.about-standard-grid span,
.document-guidance-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 900;
}

.about-standard-grid h3,
.document-guidance-grid h3,
.contact-next-grid h3,
.contact-route-cards strong {
  margin: 16px 0 0;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.2;
}

.about-standard-grid p,
.document-guidance-grid p,
.contact-next-grid p,
.contact-route-cards p {
  margin: 10px 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.audience-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-chip-cloud span {
  padding: 11px 14px;
  border: 1px solid rgba(216, 225, 223, 0.96);
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink-soft);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(7, 29, 46, 0.06);
}

.about-method-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: rgba(216, 225, 223, 0.92);
  box-shadow: var(--shadow-card);
}

.about-method-strip article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
}

.about-method-strip h3 {
  margin: 14px 0 0;
  color: var(--color-navy);
  font-size: 22px;
}

.about-method-strip p {
  margin: 10px 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.office-card {
  padding: 28px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 252, 0.94)),
    #fff;
  box-shadow: var(--shadow-lift);
}

.office-card p:not(.section-kicker),
.office-route-card p {
  color: var(--color-muted);
  line-height: 1.75;
}

.office-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.office-detail-grid div {
  min-height: 106px;
  padding: 16px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: var(--color-soft);
}

.office-detail-grid strong,
.office-detail-grid span,
.office-detail-grid a {
  display: block;
}

.office-detail-grid strong {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.office-detail-grid span,
.office-detail-grid a {
  margin-top: 8px;
  color: var(--color-ink-soft);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.office-route-card {
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(7, 29, 46, 0.94), rgba(15, 118, 110, 0.88)),
    var(--color-navy);
  color: #fff;
}

.office-route-card span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: rgba(246, 215, 143, 0.16);
  color: #f6d78f;
  font-weight: 900;
}

.office-route-card h3 {
  margin: 22px 0 0;
  color: #fff;
  font-size: 28px;
}

.office-route-card p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-intake-overview {
  padding-top: 92px;
}

.contact-route-cards {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.contact-route-cards article {
  box-shadow: none;
}

.contact-layout-premium {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
}

.form-card-premium {
  padding: 32px;
  border-color: rgba(216, 225, 223, 0.96);
  box-shadow: var(--shadow-lift);
}

.form-card-premium .form-card-head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(216, 225, 223, 0.9);
}

.form-actions-premium {
  padding: 18px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: var(--color-soft);
}

.contact-side-premium {
  padding: 26px;
}

.contact-side-mini {
  margin-top: 16px;
  padding: 18px;
}

.contact-side-mini strong,
.contact-side-mini span {
  display: block;
}

.contact-side-mini strong {
  color: var(--color-navy);
  font-size: 18px;
}

.contact-side-mini span {
  margin-top: 8px;
  color: var(--color-muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .about-editorial-grid,
  .contact-intake-grid,
  .about-audience-layout,
  .about-office-grid,
  .contact-layout-premium {
    grid-template-columns: 1fr;
  }

  .about-standard-grid,
  .document-guidance-grid,
  .contact-next-grid,
  .about-method-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-snapshot-grid,
  .contact-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about-hero-premium,
  .contact-hero-premium {
    padding: 20px 0 28px;
  }

  .about-hero-premium .breadcrumb,
  .contact-hero-premium .breadcrumb {
    display: none;
  }

  .about-hero-premium .page-hero-grid,
  .contact-hero-premium .page-hero-grid {
    gap: 12px;
  }

  .about-hero-premium h1,
  .contact-hero-premium h1 {
    font-size: clamp(31px, 8.4vw, 40px);
  }

  .about-hero-premium .hero-lead,
  .contact-hero-premium .hero-lead {
    font-size: 16px;
    line-height: 1.56;
  }

  .about-hero-premium .hero-actions,
  .contact-hero-premium .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }

  .about-hero-premium .hero-actions .btn,
  .contact-hero-premium .hero-actions .btn {
    min-height: 44px;
    justify-content: center;
    padding: 12px 10px;
    font-size: 13px;
  }

  .about-hero-card img,
  .contact-hero-card img {
    aspect-ratio: 2.8 / 1;
    max-height: 116px;
  }

  .hero-proof-note {
    display: none;
  }

  .about-snapshot-band,
  .contact-channel-band {
    margin-top: -24px;
  }

  .contact-intake-overview {
    padding-top: 64px;
  }

  .office-detail-grid,
  .about-standard-grid,
  .document-guidance-grid,
  .contact-next-grid,
  .about-method-strip {
    grid-template-columns: 1fr;
  }

  .form-card-premium,
  .office-card,
  .office-route-card,
  .contact-side-premium {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .about-snapshot-grid,
  .contact-channel-grid {
    grid-template-columns: 1fr;
  }

  .about-snapshot-grid div,
  .contact-channel-grid a,
  .contact-channel-grid div,
  .about-standard-grid article,
  .document-guidance-grid article,
  .contact-next-grid div,
  .about-method-strip article {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  html body.nav-open header.site-header .header-inner nav.primary-nav,
  html body.nav-open .primary-nav,
  .nav-open .primary-nav,
  .primary-nav.is-menu-open {
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  html body.nav-open .primary-nav *,
  .nav-open .primary-nav *,
  .primary-nav.is-menu-open * {
    visibility: visible !important;
  }
}

/* Phase 12 legal center premium upgrade */
.legal-hero-premium {
  min-height: auto;
  padding: 52px 0 72px;
}

.legal-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 34px;
  align-items: end;
}

.legal-hero-premium h1 {
  max-width: 860px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
}

.legal-hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(7, 29, 46, 0.22);
}

.legal-hero-card span,
.legal-hero-card strong,
.legal-hero-card p {
  display: block;
}

.legal-hero-card span {
  width: max-content;
  margin-bottom: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(246, 215, 143, 0.16);
  color: #f6d78f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-hero-card strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-hero-card p {
  margin: 8px 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.legal-hero-card p:last-child {
  margin-bottom: 0;
}

.legal-hero-card a {
  color: #fff;
}

.legal-summary-band {
  position: relative;
  z-index: 4;
  margin-top: -36px;
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: rgba(216, 225, 223, 0.96);
  box-shadow: var(--shadow-lift);
}

.legal-summary-grid div {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
}

.legal-summary-grid strong,
.legal-summary-grid span {
  display: block;
}

.legal-summary-grid strong {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-summary-grid span {
  margin-top: 9px;
  color: var(--color-ink-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
}

.legal-layout-premium {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.32fr);
}

.legal-content-premium {
  padding: 34px;
  box-shadow: var(--shadow-lift);
}

.legal-content-intro {
  margin-bottom: 28px;
  padding: 26px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(199, 146, 45, 0.08)),
    var(--color-soft);
}

.legal-content-intro h2 {
  margin-top: 0;
}

.legal-content-intro p:last-child {
  margin-bottom: 0;
}

.legal-content-premium h2 {
  padding-top: 6px;
}

.legal-content-premium a {
  color: var(--color-teal);
  font-weight: 900;
}

.legal-nav-premium {
  border-color: rgba(216, 225, 223, 0.94);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 246, 0.96)),
    #fff;
  box-shadow: var(--shadow-card);
}

.legal-nav-premium a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(216, 225, 223, 0.9);
  color: var(--color-ink-soft);
}

.legal-nav-premium a[aria-current="page"] {
  color: var(--color-teal);
}

.legal-nav-premium a[aria-current="page"]::after {
  color: var(--color-gold);
  content: "Current";
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-nav-note {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.08);
}

.legal-nav-note strong,
.legal-nav-note span {
  display: block;
}

.legal-nav-note strong {
  color: var(--color-navy);
  font-size: 17px;
}

.legal-nav-note span {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

.legal-contact-cta {
  padding-top: 0;
}

@media (max-width: 980px) {
  .legal-hero-grid,
  .legal-layout-premium {
    grid-template-columns: 1fr;
  }

  .legal-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-nav-premium {
    position: static;
  }
}

@media (max-width: 760px) {
  .legal-hero-premium {
    padding: 26px 0 40px;
  }

  .legal-hero-premium .breadcrumb {
    display: none;
  }

  .legal-hero-premium h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .legal-hero-premium .hero-lead {
    font-size: 16px;
    line-height: 1.62;
  }

  .legal-hero-card {
    padding: 18px;
  }

  .legal-summary-band {
    margin-top: -22px;
  }

  .legal-content-premium {
    padding: 22px;
  }

  .legal-content-intro {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .legal-summary-grid {
    grid-template-columns: 1fr;
  }

  .legal-summary-grid div {
    min-height: auto;
    padding: 18px;
  }
}

/* Phase 15 reference-inspired homepage and premium navigation polish */
.site-header {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.site-header.is-scrolled {
  box-shadow: 0 16px 34px rgba(7, 29, 46, 0.1);
}

.primary-nav a {
  position: relative;
}

.primary-nav a::after,
.nav-link-parent::after {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 2px;
  background: var(--color-gold);
  content: "";
  transition: transform 0.22s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after,
.nav-link-parent:hover::after,
.nav-link-parent.is-active::after {
  transform: scaleX(1);
}

.premium-check-grid span::before {
  width: 18px;
  height: 18px;
  background: var(--color-teal);
  color: transparent;
  content: "";
}

.premium-check-grid span::after {
  position: absolute;
  left: 22px;
  top: 23px;
  width: 5px;
  height: 9px;
  transform: rotate(45deg);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
}

.phase15-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background: #071d2e;
}

.phase15-hero-bg,
.phase15-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.phase15-hero-bg img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.phase15-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 46, 0.98) 0%, rgba(7, 29, 46, 0.9) 34%, rgba(7, 29, 46, 0.62) 60%, rgba(7, 29, 46, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 29, 46, 0.24), rgba(7, 29, 46, 0.72));
}

.phase15-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #f5d68c, #c99a2e, #14a096, #7f9651);
  content: "";
}

.phase15-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 38px;
  align-items: center;
  padding: 22px 0 26px;
}

.phase15-hero-copy h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1.03;
}

.phase15-hero-copy .hero-lead {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.phase15-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 920px;
  margin-top: 18px;
}

.phase15-trust-row span {
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.phase15-trust-row b {
  display: block;
  margin-bottom: 7px;
  color: #f6d78f;
  font-size: 14px;
}

.phase15-hero-desk {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.phase15-hero-desk::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(246, 215, 143, 0.24), rgba(20, 160, 150, 0.08), rgba(255, 255, 255, 0.06));
  content: "";
}

.hero-desk-top {
  padding: 18px;
  border-radius: 8px;
  background: rgba(7, 29, 46, 0.62);
}

.hero-desk-top span,
.panel-label,
.practice-feature span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #f6d78f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-desk-top strong {
  display: block;
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
}

.hero-desk-case {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease);
}

.hero-desk-case:hover {
  transform: translateX(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.hero-desk-case.is-priority {
  border-color: rgba(246, 215, 143, 0.34);
  background: rgba(246, 215, 143, 0.14);
}

.hero-desk-case > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #f6d78f;
  font-size: 12px;
  font-weight: 900;
}

.hero-desk-case strong,
.hero-desk-case small {
  display: block;
}

.hero-desk-case strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.hero-desk-case small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.hero-desk-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.hero-desk-footer a {
  color: #f6d78f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.phase15-quickbar {
  position: relative;
  z-index: 4;
  padding: 0 0 20px;
  background: linear-gradient(180deg, #071d2e, rgba(244, 248, 246, 0));
}

.phase15-quickbar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background: rgba(216, 225, 223, 0.94);
  box-shadow: var(--shadow-lift);
}

.phase15-quickbar-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  min-height: 124px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-navy);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease);
}

.phase15-quickbar-grid a:hover {
  transform: translateY(-4px);
  background: #fff8ea;
}

.phase15-quickbar-grid span,
.practice-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(201, 154, 46, 0.2));
  color: var(--color-teal);
  font-size: 11px;
  font-weight: 900;
}

.phase15-quickbar-grid strong,
.phase15-quickbar-grid small {
  display: block;
}

.phase15-quickbar-grid strong {
  font-size: 15px;
  line-height: 1.22;
}

.phase15-quickbar-grid small {
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
}

.finder-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-lift);
}

.finder-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(7, 29, 46, 0.98), rgba(13, 47, 66, 0.96)),
    var(--color-navy);
}

.finder-tabs button {
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 900;
  text-align: left;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.finder-tabs button:hover,
.finder-tabs button.is-active {
  transform: translateX(4px);
  border-color: rgba(246, 215, 143, 0.36);
  background: rgba(246, 215, 143, 0.16);
  color: #fff;
}

.finder-panels {
  min-height: 430px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.06), transparent 54%),
    #fff;
}

.finder-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.86fr);
  gap: 24px;
  align-items: start;
}

.finder-panel[hidden] {
  display: none;
}

.finder-panel h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 36px;
  line-height: 1.08;
}

.finder-panel p {
  max-width: 620px;
  color: var(--color-muted);
}

.finder-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finder-panel li {
  position: relative;
  padding: 14px 14px 14px 42px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.finder-panel li::before {
  position: absolute;
  left: 15px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  content: "";
}

.finder-panel .btn {
  align-self: end;
  justify-self: start;
  grid-column: 1 / -1;
}

.panel-label {
  color: var(--color-gold);
}

.practice-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 18px;
}

.practice-feature {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-lift);
  background: var(--color-navy);
}

.practice-feature picture,
.practice-feature img {
  width: 100%;
  height: 100%;
}

.practice-feature img {
  object-fit: cover;
}

.practice-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 46, 0.06), rgba(7, 29, 46, 0.92));
  content: "";
}

.practice-feature div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 34px;
  color: #fff;
}

.practice-feature h3 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.05;
}

.practice-feature p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.practice-feature .text-link {
  color: #f6d78f;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.practice-card {
  display: grid;
  align-content: start;
  min-height: 273px;
  padding: 24px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 253, 252, 0.94)),
    #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: var(--shadow-lift);
}

.practice-card strong {
  display: block;
  margin-top: 26px;
  color: var(--color-navy);
  font-size: 21px;
  line-height: 1.16;
}

.practice-card small {
  display: block;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.situation-layout,
.audience-premium-layout,
.document-premium-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
}

.situation-copy p,
.document-premium-copy p {
  color: var(--color-muted);
}

.situation-stack {
  display: grid;
  gap: 12px;
}

.situation-stack article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.situation-stack span,
.process-ribbon span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-premium);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.situation-stack strong,
.situation-stack p {
  display: block;
}

.situation-stack strong {
  color: var(--color-navy);
  font-size: 18px;
}

.situation-stack p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.audience-premium-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.audience-photo {
  position: relative;
}

.audience-photo img,
.document-preview-panel img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.audience-photo::before {
  position: absolute;
  inset: 20px -14px -14px 20px;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.2), rgba(201, 154, 46, 0.24));
  content: "";
}

.audience-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.audience-pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 900;
}

.process-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background: rgba(216, 225, 223, 0.94);
  box-shadow: var(--shadow-lift);
}

.process-ribbon article {
  min-height: 270px;
  padding: 26px;
  background: #fff;
}

.process-ribbon h3 {
  margin: 32px 0 0;
  color: var(--color-navy);
  font-size: 21px;
  line-height: 1.18;
}

.process-ribbon p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.document-premium-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.document-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.document-route-grid a {
  min-height: 145px;
  padding: 20px;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.document-route-grid a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.document-route-grid strong,
.document-route-grid span {
  display: block;
}

.document-route-grid strong {
  color: var(--color-navy);
  font-size: 20px;
}

.document-route-grid span {
  margin-top: 9px;
  color: var(--color-muted);
  font-size: 14px;
}

.document-preview-panel {
  position: relative;
  display: grid;
  gap: 14px;
}

.document-preview-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.document-preview-list span {
  padding: 14px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink-soft);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--shadow-card);
}

.trust-command {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
  padding: 36px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    var(--gradient-premium);
  background-size: 46px 46px, 46px 46px, auto;
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.trust-command h2 {
  color: #fff;
}

.trust-command p {
  color: rgba(255, 255, 255, 0.78);
}

.trust-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-command-grid article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.trust-command-grid strong,
.trust-command-grid span {
  display: block;
}

.trust-command-grid strong {
  color: #f6d78f;
  font-size: 17px;
  line-height: 1.24;
}

.trust-command-grid span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.site-footer-premium {
  padding-top: 0;
}

.footer-consult-strip {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.footer-consult-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-consult-inner span,
.footer-consult-inner strong {
  display: block;
}

.footer-consult-inner span {
  color: #f6d78f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-consult-inner strong {
  max-width: 760px;
  margin-top: 5px;
  color: #fff;
  font-size: 25px;
  line-height: 1.16;
}

.site-footer-premium .footer-grid {
  grid-template-columns: minmax(240px, 1.25fr) repeat(4, minmax(140px, 0.72fr));
  gap: 30px;
}

@media (max-width: 1120px) {
  .phase15-hero-grid,
  .practice-showcase,
  .situation-layout,
  .audience-premium-layout,
  .document-premium-layout,
  .trust-command {
    grid-template-columns: 1fr;
  }

  .phase15-hero-copy h1 {
    font-size: 48px;
  }

  .phase15-hero-desk {
    max-width: 620px;
  }

  .phase15-quickbar-grid,
  .process-ribbon,
  .site-footer-premium .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-feature {
    min-height: 460px;
  }

  .trust-command {
    padding: 30px;
  }
}

@media (max-width: 860px) {
  .primary-nav a::after,
  .nav-link-parent::after {
    display: none;
  }

  body.nav-open .primary-nav {
    height: calc(100svh - var(--header-height) - 24px);
  }

  .phase15-hero {
    min-height: auto;
  }

  .phase15-hero-bg img {
    object-position: 62% center;
  }

  .phase15-hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 29, 46, 0.98), rgba(7, 29, 46, 0.78)),
      linear-gradient(180deg, rgba(7, 29, 46, 0.2), rgba(7, 29, 46, 0.78));
  }

  .phase15-hero-grid {
    padding: 42px 0 50px;
  }

  .phase15-hero-copy h1 {
    font-size: 40px;
    line-height: 1.06;
  }

  .phase15-trust-row,
  .finder-shell,
  .finder-panel,
  .trust-command-grid,
  .document-preview-list {
    grid-template-columns: 1fr;
  }

  .phase15-hero-desk {
    display: none;
  }

  .nav-dropdown.is-open .mega-menu {
    max-height: 880px;
    padding: 12px;
    border-width: 1px;
  }

  .finder-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-tabs button {
    min-height: 54px;
    text-align: center;
  }

  .finder-tabs button:hover,
  .finder-tabs button.is-active {
    transform: translateY(-2px);
  }

  .finder-panels {
    min-height: auto;
    padding: 22px;
  }

  .finder-panel h3 {
    font-size: 30px;
  }

  .practice-grid,
  .document-route-grid {
    grid-template-columns: 1fr;
  }

  .footer-consult-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .phase15-hero-grid {
    gap: 24px;
  }

  .phase15-hero-copy h1 {
    font-size: 34px;
  }

  .phase15-hero-copy .hero-lead {
    font-size: 16px;
  }

  .phase15-trust-row {
    display: none;
  }

  .phase15-hero-desk {
    padding: 12px;
  }

  .hero-desk-top strong {
    font-size: 21px;
  }

  .phase15-quickbar-grid,
  .process-ribbon,
  .site-footer-premium .footer-grid {
    grid-template-columns: 1fr;
  }

  .phase15-quickbar-grid a {
    min-height: auto;
  }

  .finder-tabs {
    grid-template-columns: 1fr;
  }

  .finder-panel h3 {
    font-size: 26px;
  }

  .practice-feature {
    min-height: 420px;
  }

  .practice-feature div {
    padding: 24px;
  }

  .practice-feature h3 {
    font-size: 32px;
  }

  .situation-stack article {
    grid-template-columns: 1fr;
  }

  .situation-stack p {
    grid-column: auto;
    margin-top: 0;
  }

  .audience-photo::before {
    inset: 12px -8px -8px 12px;
  }

  .process-ribbon article,
  .trust-command-grid article {
    min-height: auto;
  }

  .trust-command {
    padding: 24px;
  }

  .footer-consult-inner strong {
    font-size: 21px;
  }
}

/* Phase 16 granular service pages and SEO directory */
.granular-service-main .service-hero-premium h1 {
  max-width: 820px;
}

.phase16-focused-links {
  padding-top: 0;
}

.phase16-mini-link-grid,
.phase16-related-grid,
.phase16-service-groups {
  display: grid;
  gap: 14px;
}

.phase16-mini-link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phase16-mini-link-grid a,
.phase16-related-grid a,
.phase16-service-groups article {
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 253, 252, 0.94)),
    #fff;
  box-shadow: var(--shadow-card);
}

.phase16-mini-link-grid a,
.phase16-related-grid a {
  display: grid;
  align-content: start;
  min-height: 210px;
  padding: 22px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.phase16-mini-link-grid a:hover,
.phase16-related-grid a:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: var(--shadow-lift);
}

.phase16-mini-link-grid span,
.phase16-related-grid span,
.phase16-service-groups span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(201, 154, 46, 0.2));
  color: var(--color-teal);
  font-size: 11px;
  font-weight: 900;
}

.phase16-mini-link-grid strong,
.phase16-mini-link-grid small,
.phase16-related-grid strong,
.phase16-related-grid small {
  display: block;
}

.phase16-mini-link-grid strong,
.phase16-related-grid strong {
  margin-top: 24px;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.18;
}

.phase16-mini-link-grid small,
.phase16-related-grid small {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.phase16-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phase16-related-grid a {
  min-height: 180px;
}

.phase16-service-index {
  border-top: 1px solid rgba(216, 225, 223, 0.72);
  border-bottom: 1px solid rgba(216, 225, 223, 0.72);
}

.phase16-service-groups {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phase16-service-groups article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 330px;
  padding: 22px;
}

.phase16-service-groups article > span {
  width: auto;
  min-width: 0;
  height: auto;
  place-items: start;
  padding: 7px 10px;
  justify-self: start;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phase16-service-groups a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid rgba(216, 225, 223, 0.86);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.phase16-service-groups a:last-child {
  border-bottom: 0;
}

.phase16-service-groups a:hover {
  color: var(--color-teal);
}

@media (max-width: 1080px) {
  .phase16-mini-link-grid,
  .phase16-service-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .phase16-mini-link-grid,
  .phase16-related-grid,
  .phase16-service-groups {
    grid-template-columns: 1fr;
  }

  .phase16-mini-link-grid a,
  .phase16-related-grid a,
  .phase16-service-groups article {
    min-height: auto;
  }
}

/* Phase 17 UX polish */
.phase17-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.phase17-hero-video,
.phase17-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.phase17-hero-video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
}

.phase17-hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 93, 102, 0.3), transparent 34%),
    linear-gradient(180deg, rgba(6, 20, 33, 0.5), rgba(5, 18, 29, 0.88));
}

.phase17-hero-content {
  max-width: 1080px;
  padding: 86px 0 72px;
  text-align: center;
}

.phase17-hero-content .eyebrow {
  color: #f6d78f;
}

.phase17-hero-content h1 {
  max-width: 1040px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
}

.phase17-hero-content .hero-lead {
  max-width: 690px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
}

.phase17-hero-actions {
  justify-content: center;
  margin-top: 30px;
}

.phase17-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.phase17-hero-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(14px);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.phase17-hero-pills a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.floating-contact-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: grid;
  gap: 12px;
}

.floating-contact {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 16px 34px rgba(9, 30, 46, 0.22);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.floating-contact::before {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  opacity: 0.45;
  content: "";
  animation: phase17Pulse 1.8s ease-in-out infinite;
}

.floating-contact svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.floating-contact:hover {
  transform: translateY(-4px) scale(1.04);
}

.floating-call {
  background: #102a43;
}

.floating-call::before {
  background: rgba(16, 42, 67, 0.34);
}

.floating-whatsapp {
  right: auto;
  bottom: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: #25d366;
}

.floating-whatsapp::before {
  background: rgba(37, 211, 102, 0.38);
}

.floating-whatsapp span,
.floating-whatsapp strong {
  display: none;
}

@keyframes phase17Pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.32;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.contact-hero-clean {
  min-height: 520px;
  text-align: center;
}

.contact-hero-clean::before {
  opacity: 0.38;
}

.contact-hero-center {
  max-width: 820px;
  margin: 0 auto;
}

.contact-hero-center .breadcrumb {
  justify-content: center;
}

.contact-hero-center .hero-actions {
  justify-content: center;
}

.directory-card {
  transform-style: preserve-3d;
  perspective: 900px;
}

.directory-card:hover {
  transform: translateY(-10px) rotateY(-5deg);
}

.directory-card:nth-child(2) {
  border-color: rgba(15, 118, 110, 0.22);
  background: linear-gradient(135deg, #ffffff, #eef9f7);
}

.directory-card:nth-child(3) {
  border-color: rgba(199, 146, 45, 0.22);
  background: linear-gradient(135deg, #ffffff, #fff7e8);
}

.directory-card:nth-child(4) {
  border-color: rgba(139, 154, 75, 0.24);
  background: linear-gradient(135deg, #ffffff, #f5f8ea);
}

.directory-card:nth-child(5) {
  border-color: rgba(16, 42, 67, 0.18);
  background: linear-gradient(135deg, #ffffff, #eef4fb);
}

.directory-card:nth-child(6) {
  border-color: rgba(199, 146, 45, 0.2);
  background: linear-gradient(135deg, #ffffff, #fbf5e8);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(20, 93, 102, 0.1);
  color: var(--color-teal);
}

.service-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.directory-priority .service-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #f6d78f;
}

.service-icon-mca,
.service-icon-adv {
  background: rgba(199, 146, 45, 0.13);
  color: var(--color-gold);
}

.service-icon-ip {
  background: rgba(139, 154, 75, 0.14);
  color: var(--color-olive);
}

.service-icon-acc {
  background: rgba(16, 42, 67, 0.09);
  color: var(--color-navy);
}

.page-hero-media img,
.service-hero-panel img,
.audience-photo img,
.practice-feature img {
  object-position: center;
}

.service-hero-panel,
.phase15-document-section .document-preview-panel {
  overflow: hidden;
}

.service-hero-panel img {
  min-height: 100%;
}

.phase15-document-section .document-preview-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

.phase15-practice-section .practice-card:nth-child(1),
.phase15-practice-section .practice-card:nth-child(4) {
  background: linear-gradient(135deg, #ffffff, #eef9f7);
}

.phase15-practice-section .practice-card:nth-child(2) {
  background: linear-gradient(135deg, #ffffff, #fff7e8);
}

.phase15-practice-section .practice-card:nth-child(3) {
  background: linear-gradient(135deg, #ffffff, #f5f8ea);
}

@media (max-width: 860px) {
  .phase17-hero-content {
    padding: 68px 0 58px;
  }

  .phase17-hero-content h1 {
    font-size: clamp(40px, 13vw, 64px);
  }

  .phase17-hero-content .hero-lead {
    font-size: 17px;
  }

  .phase17-hero-actions,
  .contact-hero-center .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 330px);
    margin-left: auto;
    margin-right: auto;
  }

  .floating-contact-stack {
    right: 14px;
    bottom: 14px;
  }

  .floating-contact {
    width: 54px;
    height: 54px;
  }

  .floating-contact svg {
    width: 28px;
    height: 28px;
  }
}

body {
  background: #fbfdfc;
}

.hero::before,
.page-hero::before {
  background: linear-gradient(120deg, rgba(7, 29, 46, 0.92), rgba(15, 118, 110, 0.76));
  background-size: auto;
}

.trust-command {
  background: linear-gradient(135deg, #071d2e 0%, #0f766e 68%, #c7922d 140%);
  background-size: auto;
}

.site-footer {
  background: #071d2e;
  background-size: auto;
}

.contact-channel-grid .channel-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: var(--color-teal);
  letter-spacing: 0;
}

.contact-channel-grid .channel-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-channel-grid a:first-child .channel-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #128c4a;
}

/* Phase 18 visual polish */
.brand {
  gap: 14px;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand-text {
  place-items: center start;
}

.brand-text strong {
  font-size: 22px;
  line-height: 1;
}

.brand-text span {
  display: none;
}

.phase15-quickbar-grid {
  gap: 12px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.phase15-quickbar-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 223, 0.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.11), transparent 36%),
    #fff;
  box-shadow: 0 18px 46px rgba(7, 29, 46, 0.12);
  transform-style: preserve-3d;
  transform: perspective(900px);
}

.phase15-quickbar-grid a:hover {
  transform: perspective(900px) translateY(-8px) rotateX(3deg) rotateY(-3deg);
  background:
    radial-gradient(circle at top right, rgba(199, 146, 45, 0.14), transparent 40%),
    #fff9ec;
}

.phase15-quickbar-grid span {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-size: 12px;
}

.phase15-quickbar-grid strong {
  max-width: 260px;
  font-size: 20px;
  line-height: 1.12;
}

.phase15-quickbar-grid small {
  max-width: 290px;
  margin-top: 18px;
  font-size: 14px;
}

.audience-premium-layout {
  align-items: center;
  gap: 54px;
}

.audience-photo {
  align-self: stretch;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #fbf5e8;
  box-shadow: var(--shadow-lift);
}

.audience-photo picture,
.audience-photo img {
  width: 100%;
  height: 100%;
}

.audience-photo img {
  object-fit: cover;
  object-position: center;
}

.audience-premium-copy {
  align-self: center;
}

.document-preview-panel {
  padding: 0;
  background: #fff;
}

.document-preview-panel > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.phase15-document-section .document-preview-panel img {
  padding: 0;
  object-fit: cover;
}

.document-preview-list {
  padding: 14px;
}

.service-hero-panel > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease), visibility 0.24s var(--ease);
}

.lead-popup.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lead-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 46, 0.58);
  backdrop-filter: blur(8px);
}

.lead-popup-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 430px);
  gap: 11px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.13), transparent 34%),
    #fff;
  box-shadow: 0 28px 90px rgba(7, 29, 46, 0.28);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.24s var(--ease);
}

.lead-popup.is-open .lead-popup-card {
  transform: translateY(0) scale(1);
}

.lead-popup-card > img {
  width: 72px;
  height: 72px;
  margin: 0 auto 2px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #fff, 0 14px 34px rgba(7, 29, 46, 0.14);
}

.lead-popup-kicker {
  margin: 0;
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.lead-popup-card h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: 28px;
  line-height: 1.08;
  text-align: center;
}

.lead-popup-card p:not(.lead-popup-kicker) {
  margin: 0 0 6px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.lead-popup-card label {
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 900;
}

.lead-popup-card input,
.lead-popup-card select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(216, 225, 223, 0.94);
  border-radius: 8px;
  padding: 0 13px;
  background: #fbfdfc;
  color: var(--color-ink);
}

.lead-popup-card .btn {
  width: 100%;
  margin-top: 4px;
}

.lead-popup-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: 50%;
  background: #fff;
}

.lead-popup-close::before,
.lead-popup-close::after {
  position: absolute;
  left: 11px;
  top: 18px;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-navy);
  content: "";
}

.lead-popup-close::before {
  transform: rotate(45deg);
}

.lead-popup-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .phase15-quickbar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-premium-layout {
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    max-width: 210px;
    font-size: 18px;
  }

  .phase15-quickbar-grid {
    grid-template-columns: 1fr;
  }

  .phase15-quickbar-grid a {
    min-height: 168px;
  }

  .audience-photo {
    aspect-ratio: 1 / 1;
  }

  .lead-popup-card {
    padding: 24px 18px 20px;
  }

  .lead-popup-card h2 {
    font-size: 24px;
  }
}
