:root {
  --ink: #172331;
  --muted: #5c6d78;
  --brand: #073968;
  --brand-dark: #041f3d;
  --teal: #087f5b;
  --teal-dark: #056244;
  --soft: #eef7f7;
  --soft-strong: #dfeff0;
  --line: #d7e4e7;
  --white: #ffffff;
  --bg: #f8fbfc;
  --gold: #c59b42;
  --gold-soft: #fff7e3;
  --shadow: 0 18px 48px rgba(7, 57, 104, 0.12);
  --shadow-lift: 0 22px 58px rgba(7, 57, 104, 0.16);
  --radius: 8px;
  --max: 1120px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 127, 91, 0.2);
  outline-offset: 3px;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  width: 210px;
  height: 66px;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
}

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

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-parent::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -18px;
  z-index: 40;
  display: grid;
  visibility: hidden;
  min-width: 286px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  background: var(--white);
  box-shadow: var(--shadow-lift);
  transform: translateY(-8px);
  transition:
    visibility 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-menu::before {
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  content: "";
}

.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav .nav-menu a {
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-nav .nav-menu a:hover,
.site-nav .nav-menu a:focus-visible,
.site-nav .nav-menu a.active {
  color: var(--brand);
  background: var(--soft);
  text-decoration: none;
}

.site-nav a.active {
  color: var(--brand);
}

.site-nav a.active:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.site-nav .nav-menu a.active {
  text-decoration: none;
}

.site-nav .btn {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 12px 18px;
  color: var(--white);
  background: var(--brand);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(7, 57, 104, 0.18);
}

.btn.secondary {
  color: var(--brand);
  background: transparent;
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  color: var(--brand-dark);
  background: var(--soft);
  border-color: var(--brand);
  box-shadow: none;
}

.btn-small {
  min-height: 42px;
  padding: 10px 15px;
}

.hero,
.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 12%, rgba(8, 127, 91, 0.1), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(197, 155, 66, 0.18), transparent 28%),
    linear-gradient(135deg, var(--white) 0%, var(--soft) 100%);
}

.hero {
  padding: 86px 0 72px;
}

.page-hero {
  padding: 62px 0;
}

.contact-page .page-hero {
  padding: 46px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 38px;
  align-items: center;
}

.hero-grid .quick-strip {
  grid-column: 1 / -1;
}

.hero-copy {
  max-width: 780px;
}

.hero-actions {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0 0 20px;
  max-width: 930px;
  color: var(--brand-dark);
  font-size: 3.75rem;
  line-height: 1.04;
  font-weight: 900;
}

h2 {
  margin: 0 0 18px;
  max-width: 860px;
  color: var(--brand-dark);
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 1.3rem;
  line-height: 1.22;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 790px;
  color: var(--muted);
  font-size: 1.18rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.microcopy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 70px 0;
}

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

.contact-page .section.white {
  padding: 48px 0;
}

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

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

.card,
.hero-card,
.notice,
.form-card,
.image-card,
.quick-strip,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 240px;
  padding: 26px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

@media (hover: hover) {
  .card:hover,
  .service-link:hover .card,
  .image-card:hover {
    border-color: #bfd8dc;
    box-shadow: var(--shadow-lift);
    transform: translateY(-4px);
  }
}

.card p,
.hero-card li,
.image-card p {
  color: var(--muted);
}

.hero-card {
  overflow: hidden;
  padding: 30px;
}

.image-card {
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.image-card-body {
  padding: 24px;
}

.image-wrap {
  display: grid;
  min-height: 188px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 18%, rgba(197, 155, 66, 0.2), transparent 28%),
    linear-gradient(135deg, #f6fbfc, #e8f3f4);
}

.image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
}

.service-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-link:hover,
.service-link:focus-visible {
  text-decoration: none;
}

.service-link .card {
  height: 100%;
}

.card-media {
  display: grid;
  min-height: 132px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--soft), var(--white));
}

.card-media img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.section-head {
  display: grid;
  max-width: 880px;
  gap: 4px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.card-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-card ul,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li,
.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 32px;
}

.hero-card li::before,
.check-list li::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 16px;
  height: 9px;
  border-bottom: 3px solid var(--teal);
  border-left: 3px solid var(--teal);
  content: "";
  transform: rotate(-45deg);
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--teal);
  background: var(--soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.badge.gold {
  color: #7a5b12;
  background: var(--gold-soft);
  border-color: #ead69c;
}

.text-link {
  width: fit-content;
  margin-top: auto;
  font-weight: 900;
}

.text-link::after {
  content: " >";
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: 40px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 8px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 32px;
  background: var(--line);
  box-shadow: none;
}

.quick-strip a,
.quick-strip span {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
}

.quick-strip strong {
  color: var(--brand-dark);
}

.quick-strip small {
  color: var(--muted);
  font-size: 0.84rem;
}

.quick-strip a:hover,
.quick-strip a:focus-visible {
  color: var(--brand);
  background: var(--soft);
  text-decoration: none;
}

.stack p:last-child,
.card p:last-child,
.site-footer p:last-child {
  margin-bottom: 0;
}

.policy-side {
  position: sticky;
  top: 112px;
}

.policy-content {
  display: grid;
  gap: 22px;
}

.policy-section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.policy-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.policy-section ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.policy-section li {
  margin: 0 0 6px;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.process-card {
  min-height: 210px;
}

.process-card span {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.notice {
  border-left: 5px solid var(--teal);
  padding: 20px 22px;
  color: var(--muted);
}

.notice.gold {
  border-left-color: var(--gold);
}

.contact-priority-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.appointment-panel,
.contact-details-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.appointment-panel {
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(238, 247, 247, 0.94), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: var(--shadow);
}

.appointment-panel h2 {
  margin-bottom: 14px;
}

.appointment-panel .check-list {
  margin: 20px 0 14px;
}

.contact-details-panel {
  padding: 28px;
  background: #fbfdfd;
}

.contact-details-panel h2 {
  font-size: 1.7rem;
}

.contact-form-section {
  background: linear-gradient(180deg, #f7fbfc 0%, #eef6f7 100%);
}

.form-card-secondary {
  border-color: #dbe8eb;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

.form-card-head {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

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

.form-card-head .btn {
  margin-top: 4px;
}

.form-caution {
  margin: 6px 0 18px;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  background: #fffaf0;
  color: #4f4634;
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-caution strong {
  color: var(--navy);
}

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

details {
  padding: 0;
  box-shadow: none;
}

summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--brand-dark);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: var(--soft);
  content: "+";
  font-size: 1.1rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.form-card {
  padding: 26px;
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--brand-dark);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #b9c9cf;
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.96rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(8, 127, 91, 0.16);
}

.site-footer {
  padding: 38px 0;
  color: #d7e1e6;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.8fr);
  gap: 32px;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  color: var(--white);
}

.small {
  color: var(--muted);
  font-size: 0.83rem;
}

.site-footer .small {
  color: #b7c5ca;
}

@media (max-width: 980px) {
  .nav {
    min-height: 76px;
  }

  .logo {
    width: 176px;
    height: 56px;
  }

  .site-nav {
    gap: 12px;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.18rem;
  }
}

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

  .site-nav {
    position: fixed;
    inset: 76px 16px auto;
    display: grid;
    visibility: hidden;
    overflow: auto;
    gap: 0;
    max-height: calc(100vh - 96px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    opacity: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    transition:
      visibility 160ms ease,
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 17px 20px;
    border-bottom: 1px solid var(--line);
  }

  .nav-item {
    display: grid;
  }

  .nav-parent {
    justify-content: space-between;
  }

  .nav-parent::after {
    transform: rotate(45deg);
  }

  .nav-menu {
    position: static;
    visibility: visible;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 6px 0;
    opacity: 1;
    background: var(--soft);
    box-shadow: none;
    transform: none;
  }

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

  .site-nav .nav-menu a {
    border-radius: 0;
    padding: 12px 28px;
    color: var(--muted);
    font-size: 0.94rem;
  }

  .site-nav > a:last-child {
    border-bottom: 0;
  }

  .site-nav a.active:not(.btn) {
    text-decoration: none;
    background: var(--soft);
  }

  .site-nav .btn {
    margin: 12px;
    width: calc(100% - 24px);
  }

  .hero-grid,
  .contact-priority-grid,
  .two-col,
  .footer-grid,
  .cards,
  .cards.two,
  .process {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

  .policy-side {
    position: static;
  }

  .hero {
    padding: 68px 0 58px;
  }

  .page-hero {
    padding: 52px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .logo {
    width: 156px;
    height: 44px;
  }

  h1 {
    font-size: 2.36rem;
  }

  h2 {
    font-size: 1.86rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  .btn,
  .cta-row,
  .cta-row .btn {
    width: 100%;
  }

  .card,
  .hero-card,
  .image-card-body,
  .form-card {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .logo {
    width: 140px;
  }

  h1 {
    font-size: 2.08rem;
  }
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  body.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
