:root {
  --ink: #162321;
  --muted: #5a6965;
  --paper: #fbfcf9;
  --white: #ffffff;
  --line: #dbe3df;
  --teal: #087a76;
  --teal-dark: #075d5a;
  --green: #6b8f3f;
  --coral: #d56b55;
  --gold: #e6ba59;
  --mist: #edf5f1;
  --shadow: 0 18px 45px rgba(14, 41, 37, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.is-ready .hero-image {
  animation: heroDrift 16s ease-in-out infinite alternate;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(230, 186, 89, 0.72);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 6px;
  transform: translateY(-140%);
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(14, 41, 37, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 124px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 104px;
  max-width: min(430px, 64vw);
  display: block;
  object-fit: contain;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(14, 41, 37, 0.14);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 122, 118, 0.24);
}

.brand strong,
.brand span span {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand span span {
  font-size: 0.78rem;
  opacity: 0.82;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--gold);
}

.header-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-action {
  padding: 10px 18px;
  color: var(--white);
  background: var(--coral);
}

.site-header.is-scrolled .header-action,
.site-header.is-open .header-action {
  background: var(--teal);
}

.button {
  padding: 13px 22px;
}

.button:hover,
.button:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(8, 122, 118, 0.22);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: currentColor;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 118px 0 46px;
}

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

.hero-image {
  object-fit: cover;
  object-position: 62% center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 35, 31, 0.92) 0%, rgba(12, 35, 31, 0.74) 37%, rgba(12, 35, 31, 0.16) 72%, rgba(12, 35, 31, 0.05) 100%),
    linear-gradient(0deg, rgba(12, 35, 31, 0.25), rgba(12, 35, 31, 0.05));
}

.hero-content {
  color: var(--white);
}

.hero-content > * {
  animation: fadeUp 700ms ease both;
}

.hero-content > :nth-child(2) {
  animation-delay: 90ms;
}

.hero-content > :nth-child(3) {
  animation-delay: 180ms;
}

.hero-content > :nth-child(4) {
  animation-delay: 270ms;
}

.hero-content > :nth-child(5) {
  animation-delay: 360ms;
}

.eyebrow,
.mini-label {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero-stats {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(4, 36, 34, 0.42);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  padding: 20px;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats dt {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 1.7rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.trust-grid > div {
  min-height: 150px;
  padding: 34px 30px;
  border-left: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong {
  display: block;
  max-width: 270px;
  font-size: 1.05rem;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.compliance-note {
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--mist);
  color: #31413e;
  font-weight: 700;
}

.section-heading.compact {
  margin-bottom: 28px;
}

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

.service-card {
  min-height: 252px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(14, 41, 37, 0.06);
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.service-card:hover {
  border-color: rgba(8, 122, 118, 0.35);
  box-shadow: 0 22px 42px rgba(14, 41, 37, 0.12);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--teal-dark);
  background: var(--mist);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card p,
.process-grid p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.split-section {
  padding: 90px 0;
  background: var(--mist);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 58px;
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #31413e;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.54em;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.process-section {
  background: var(--white);
}

.safeguards-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.safeguards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.safeguards-grid article {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.safeguards-grid h3 {
  color: var(--teal-dark);
}

.safeguards-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.practice-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.practice-panel > div {
  padding: 24px;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--mist);
}

.practice-panel h3 {
  color: var(--teal-dark);
}

.practice-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.resource-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
}

.resource-links a:hover,
.resource-links a:focus-visible {
  border-color: var(--teal);
  background: var(--mist);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-grid article {
  padding: 30px;
  border-top: 4px solid var(--teal);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
}

.process-grid span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  font-weight: 900;
}

.testimonial-band {
  padding: 76px 0;
  color: var(--white);
  background: #143b38;
}

.testimonial-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: start;
}

.testimonial-band .eyebrow {
  color: var(--gold);
}

.testimonial-band h2 {
  margin-bottom: 0;
}

figure {
  margin: 0;
}

blockquote {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.2;
}

figcaption {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
}

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

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

details[open] {
  box-shadow: 0 12px 28px rgba(14, 41, 37, 0.07);
}

details[open] p {
  animation: fadeDown 220ms ease both;
}

.contact-section {
  padding: 96px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 122, 118, 0.96), rgba(20, 59, 56, 0.98)),
    var(--teal);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 58px;
  align-items: start;
}

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

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  color: var(--white);
  font-weight: 900;
}

.contact-methods span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.referral-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.referral-form label {
  display: grid;
  gap: 8px;
  color: #32413e;
  font-size: 0.9rem;
  font-weight: 900;
}

.referral-form label:nth-of-type(3),
.referral-form label:nth-of-type(4),
.consent-field,
.form-button,
.form-note {
  grid-column: 1 / -1;
}

.consent-field {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 700 !important;
  line-height: 1.4;
}

.consent-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
}

.referral-form input,
.referral-form select,
.referral-form textarea {
  width: 100%;
  border: 1px solid #cfdad6;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8faf8;
}

.referral-form input:focus,
.referral-form select:focus,
.referral-form textarea:focus {
  outline: 3px solid rgba(230, 186, 89, 0.38);
  border-color: var(--teal);
}

.referral-form .consent-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
}

.referral-form textarea {
  resize: vertical;
  min-height: 134px;
}

.form-button {
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 34px 0;
  background: #101a19;
  color: var(--white);
}

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

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-brand .brand-logo {
  height: 88px;
  box-shadow: none;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.policy-hero {
  padding: 150px 0 72px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 122, 118, 0.95), rgba(20, 59, 56, 0.98)),
    var(--teal-dark);
}

.policy-hero h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4.8vw, 4.7rem);
}

.policy-hero p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.policy-content {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

.policy-content article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.policy-content h2 {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 1.45rem;
}

.policy-content p {
  color: var(--muted);
}

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

.policy-content a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

.service-card.reveal,
.safeguards-grid article.reveal,
.process-grid article.reveal,
.trust-grid > div.reveal {
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.055) translate3d(-1.2%, 0, 0);
  }
}

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

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

  body.is-ready .hero-image {
    animation: none;
  }
}

@media (max-width: 920px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: grid;
    gap: 4px;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 38px;
  }

  .hero-image {
    object-position: 65% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(12, 35, 31, 0.94), rgba(12, 35, 31, 0.76) 56%, rgba(12, 35, 31, 0.36));
  }

  .hero-stats,
  .trust-grid,
  .service-grid,
  .safeguards-grid,
  .practice-panel,
  .process-grid,
  .testimonial-inner,
  .faq-grid,
  .contact-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .trust-grid > div,
  .trust-grid > div:last-child {
    min-height: auto;
    border-right: 1px solid var(--line);
  }

  .section,
  .split-section,
  .contact-section {
    padding: 70px 0;
  }

  .split-grid,
  .testimonial-inner,
  .faq-grid,
  .contact-grid {
    gap: 32px;
  }

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

@media (max-width: 620px) {
  .brand span span {
    font-size: 0.72rem;
  }

  .brand-logo {
    height: 72px;
    max-width: min(310px, 68vw);
    padding: 4px 7px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats div,
  .trust-grid > div,
  .service-card,
  .process-grid article,
  .referral-form {
    padding: 22px;
  }

  .referral-form {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
