:root {
  color-scheme: light;
  --navy: #142538;
  --navy-light: #203a54;
  --gold: #c7a95b;
  --ink: #202a35;
  --muted: #64707b;
  --paper: #fff;
  --wash: #f4f6f7;
  --line: #e5e8eb;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d5b95f;
  outline-offset: 3px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 20;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  background: white;
  color: var(--navy);
}

.topbar {
  background: var(--navy);
  color: #e7edf3;
  font-size: 12px;
  letter-spacing: 0.035em;
}

.topbar-inner,
.header-inner,
.footer-main,
.footer-bottom {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-contact a {
  text-decoration: none;
}

.topbar-contact strong {
  margin-left: 5px;
  color: white;
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background: #617185;
}

.site-header {
  position: relative;
  z-index: 5;
  background: white;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  display: block;
  width: 116px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.primary-nav a {
  color: #39434c;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #987b34;
}

.primary-nav .nav-cta {
  padding: 12px 17px;
  border: 1px solid var(--gold);
  color: var(--navy);
}

.nav-cta span {
  margin-left: 8px;
  color: #987b34;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.88) 18%, rgba(0, 0, 0, 0.42) 36%, transparent 58%);
  content: "";
  pointer-events: none;
}

.hero.hero-contained::after {
  background: linear-gradient(to right, #000 0%, #000 44%, rgba(0, 0, 0, 0.8) 52%, transparent 72%);
}

.hero-image {
  width: 100%;
  aspect-ratio: 3 / 1;
  height: auto;
  display: block;
  background: black;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 4.5%;
  width: 25%;
  max-width: 310px;
  margin: 0;
  transform: translateY(-50%);
  color: white;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.button:hover {
  background: transparent;
  color: white;
}

.slider-controls {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - var(--content-width)) / 2));
  bottom: 14px;
  display: flex;
  gap: 9px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dot[aria-current="true"] {
  border-color: var(--gold);
  background: var(--gold);
}

.intro-strip {
  border-bottom: 1px solid var(--line);
  background: white;
}

.intro-strip-inner {
  width: min(var(--content-width), calc(100% - 48px));
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}

.intro-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.intro-strip h1 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.intro-strip strong {
  color: var(--navy);
  font-family: Manrope, sans-serif;
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #806727;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--navy);
}

.social-section {
  padding: 76px 24px 84px;
  background: var(--wash);
}

.section-heading {
  max-width: 620px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.social-grid {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.social-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 37, 56, 0.09);
}

.social-card img {
  width: 78px;
  height: 78px;
  border-radius: 15px;
  object-fit: cover;
}

.page-hero {
  padding: 74px 24px;
  background: var(--navy);
  color: white;
}

.page-hero-photo {
  background:
    linear-gradient(to right, var(--navy) 0%, var(--navy) 28%, rgba(20, 37, 56, 0) 62%),
    url("assets/company1.png") right center / auto 100% no-repeat,
    var(--navy);
}

.page-hero-photo.page-hero-services {
  background:
    linear-gradient(to right, #657574 0%, #657574 28%, rgba(101, 117, 116, 0) 62%),
    url("assets/service.png") right center / auto 100% no-repeat,
    #657574;
}

.page-hero.page-hero-photo.page-hero-services .hero-summary {
  max-width: 380px;
}

.page-hero-photo.page-hero-expert {
  background:
    linear-gradient(to right, var(--navy) 0%, var(--navy) 28%, rgba(20, 37, 56, 0) 62%),
    url("assets/ask-the-expert1.png") right center / auto 100% no-repeat,
    var(--navy);
}

.page-hero-photo.page-hero-contact {
  background:
    linear-gradient(to right, #3c668c 0%, #3c668c 28%, rgba(60, 102, 140, 0) 62%),
    url("assets/contact.png") right center / auto 100% no-repeat,
    #3c668c;
}

.page-hero.page-hero-photo.page-hero-contact .hero-summary {
  max-width: 340px;
}

.page-hero-photo.page-hero-appointment {
  background:
    linear-gradient(to right, #010f32 0%, #010f32 28%, rgba(1, 15, 50, 0) 62%),
    url("assets/appointment.png") right center / auto 100% no-repeat,
    #010f32;
}

.page-hero.page-hero-photo .hero-summary {
  max-width: 420px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #d7bd70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.18;
}

.page-hero-inner,
.content-wrap {
  width: min(850px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.page-hero .eyebrow {
  margin-bottom: 12px;
}

.page-hero .hero-summary {
  max-width: 630px;
  margin: 17px 0 0;
  color: #dce3e9;
  font-size: 17px;
}

.content-section {
  padding: 64px 24px 82px;
}

.content-section.soft {
  background: var(--wash);
}

.content-wrap h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.content-wrap h3 {
  color: var(--navy);
}

.content-wrap p {
  color: #4f5b65;
}

.company-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.value-card {
  padding: 25px 26px;
  border-left: 3px solid var(--gold);
  background: var(--wash);
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.value-card p {
  margin: 0;
  font-size: 14px;
}

.brand-group + .brand-group {
  margin-top: 48px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.brand-name {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.brand-name img {
  width: min(100%, 150px);
  height: 65px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name.featured {
  border-color: #dfd3af;
  background: #fffdf7;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 68px 32px 38px;
  border-radius: 20px 70px 20px 70px;
  background: white;
  text-align: center;
}

.testimonial::before {
  position: absolute;
  top: -24px;
  width: 60px;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 50'%3E%3Cpath fill='%23142538' d='M25 1C11 8 3 19 3 31c0 11 6 18 15 18s14-6 14-14c0-7-5-12-12-12h-2C19 14 22 7 28 1zm29 0C40 8 32 19 32 31c0 11 6 18 15 18s13-6 13-14c0-7-5-12-12-12h-1C48 14 51 7 57 1z'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}

.testimonial::after {
  width: 48px;
  height: 3px;
  margin-top: 24px;
  background: var(--gold);
  content: "";
}

.testimonial-linked::after {
  content: none;
}

.testimonial-rating {
  margin-bottom: 20px;
  color: #fbbc04;
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 1;
}

.testimonial blockquote {
  flex: 1;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 16px;
  font-style: italic;
  line-height: 1.65;
}

.testimonial cite {
  color: var(--navy);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
}

.testimonial-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.testimonial-link:hover {
  background: var(--navy-light);
}

.expert-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  padding: 26px;
  background: var(--wash);
}

.expert-callout p {
  margin: 0;
}

.expert-callout .button {
  flex: 0 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: white;
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: #806727;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card p {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.appointment-form {
  max-width: 690px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d7dde2;
  border-radius: 0;
  background: white;
  color: var(--ink);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note,
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.appointment-form .button {
  justify-self: start;
  cursor: pointer;
}

.site-footer {
  background: #101e2c;
  color: #d6dee5;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 50px;
  padding-bottom: 42px;
}

.footer-brand img {
  width: 92px;
  height: auto;
  padding: 5px;
  background: white;
}

.footer-brand p {
  max-width: 300px;
  margin: 14px 0 0;
  color: #aebac5;
  font-size: 13px;
}

.footer-main h2 {
  margin: 0 0 15px;
  color: white;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.footer-contact a,
.footer-links a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #d6dee5;
  font-size: 13px;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #e0c87e;
}

.footer-contact p {
  margin: 7px 0;
  color: #aebac5;
  font-size: 13px;
}

.footer-bottom {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #314151;
  color: #aebac5;
  font-size: 11px;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 86px;
  }

  .brand img {
    width: 94px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: white;
    color: var(--navy);
    cursor: pointer;
  }

  .menu-toggle-lines,
  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    width: 19px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .menu-toggle-lines {
    position: relative;
  }

  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-toggle-lines::before {
    top: -6px;
  }

  .menu-toggle-lines::after {
    top: 6px;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: white;
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav a {
    padding: 12px 0;
  }

  .primary-nav .nav-cta {
    width: fit-content;
    margin-top: 7px;
    padding: 10px 14px;
  }

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 800px) {
  .hero::after {
    background: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.88) 35%, transparent 75%);
  }

  .hero-copy {
    width: 48%;
    font-size: clamp(11px, 3vw, 16px);
    line-height: 1.25;
  }
}

@media (max-width: 560px) {
  .topbar-inner,
  .header-inner,
  .footer-main,
  .footer-bottom,
  .hero-inner,
  .intro-strip-inner {
    width: min(100% - 36px, var(--content-width));
  }

  .topbar-inner {
    min-height: 36px;
    justify-content: center;
  }

  .topbar-inner > span,
  .topbar-divider,
  .topbar-contact > span:last-child {
    display: none;
  }

  .slider-controls {
    right: 16px;
    bottom: 9px;
  }

  .intro-strip-inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 23px 0;
  }

  .social-section {
    padding: 58px 18px 64px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .social-card {
    min-height: 140px;
  }

  .social-card img {
    width: 65px;
    height: 65px;
  }

  .page-hero {
    padding: 56px 20px;
  }

  .content-section {
    padding: 48px 20px 60px;
  }

  .company-values,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .brand-name {
    min-height: 120px;
    padding: 10px;
    font-size: 12px;
  }

  .expert-callout {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .appointment-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-field.full,
  .form-note,
  .form-status {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-top: 38px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    min-height: 58px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
}

@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;
  }
}
