:root {
  --bg: #fcfcfd;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --gold: #b9924c;
  --navy: #1f3552;
  --navy-dark: #16263d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  min-height: 50vh;
}

.container {
  width: min(100% - 36px, 1200px);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 53, 82, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 220px;
}

.brand-mark img {
  height: 84px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list .to-dd {
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.nav-list .to-dd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.28s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav .btn-primary {
  color: #fff !important;
}

.header-cta {
  background: var(--navy);
  color: #fff !important;
}

.header-cta:hover {
  background: var(--gold) !important;
  color: #fff !important;
}

.nav-list .to-ddm {
  list-style: none;
  margin: 0;
  padding: 10px;
  min-width: 280px;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  border-radius: 14px;
  border: 1px solid rgba(31, 53, 82, 0.1);
  background: #fff;
  box-shadow: 0 16px 32px rgba(20, 40, 70, 0.1);
  display: none;
  z-index: 30;
}

.nav-list .to-dd:hover > .to-ddm,
.nav-list .to-dd:focus-within > .to-ddm {
  display: block;
}

.nav-list .to-ddm li {
  margin: 0;
}

.nav-list .to-ddm a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.nav-list .to-ddm a:hover {
  background: rgba(31, 53, 82, 0.06);
}

.nav-list .to-dd.active > a::after {
  width: 100%;
}

.nav-cta {
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(31, 53, 82, 0.12);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 40, 70, 0.06);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 18px;
  height: 2px;
  background: var(--navy);
  display: block;
  position: relative;
  transition: 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.menu-toggle.open .hamburger {
  background: transparent;
}

.menu-toggle.open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 0 0 16px;
}

.mobile-menu.open {
  display: block;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu .to-dd {
  padding: 10px 0;
}

.mobile-menu .to-dd > a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--navy);
  font-weight: 600;
}

.mobile-menu .to-ddm {
  list-style: none;
  margin: 6px 0 0;
  padding: 0 0 0 12px;
}

.mobile-menu .to-ddm a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.mobile-menu .to-ddm a:hover {
  background: rgba(31, 53, 82, 0.05);
}

.mobile-link.active,
.mobile-link:hover {
  background: rgba(31, 53, 82, 0.05);
}

.mobile-cta {
  width: 100%;
  margin-top: 10px;
}

.legal-page {
  padding: 72px 0 24px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid rgba(32, 58, 91, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(20, 40, 70, 0.05);
  padding: 36px 40px;
}

.legal-title {
  margin: 0 0 12px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: var(--navy);
}

.legal-meta {
  margin: 0 0 28px;
  color: #5e728b;
  font-size: 14px;
}

.legal-content {
  color: var(--navy);
  line-height: 1.9;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  font-family: "Libre Baskerville", Georgia, serif;
  margin: 28px 0 10px;
  color: var(--navy);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 18px;
}

.legal-content a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  margin-top: 48px;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 34px;
  align-items: start;
}

.site-footer strong,
.site-footer a {
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer-links a {
  opacity: 0.92;
}

.footer-about {
  color: #fff;
  opacity: 0.92;
  max-width: 36ch;
  margin: 0;
}

.footer-links a:hover {
  color: #f5d79b;
  opacity: 1;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--gold);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--navy);
  color: #ffffff;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

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

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

.work-area-card {
  background: #fff;
  border: 1px solid rgba(31, 53, 82, 0.1);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(20, 40, 70, 0.05);
}

.work-area-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.service-icon-wrap {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 2rem;
}

.service-icon-wrap img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.online-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 2px;
}

.online-title-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.service-title-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(185, 146, 76, 0.2);
  border: 1px solid rgba(185, 146, 76, 0.32);
  box-shadow: 0 8px 18px rgba(20, 40, 70, 0.08);
  flex-shrink: 0;
  line-height: 1;
}

.service-title-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.work-area-card p {
  margin: 0 0 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 66px;
  width: auto;
  display: block;
}

.faq-item p,
.body-text,
p {
  line-height: 1.8;
}

.contact-form,
.wpcf7-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(31, 53, 82, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--navy);
  background: #fff;
}

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

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 53, 82, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}

.wpcf7-form-control.wpcf7-submit {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 20px;
  cursor: pointer;
}

.privacy-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid rgba(32, 58, 91, 0.08);
  font-size: 15px;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

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

.contact-hero {
  padding: 72px 0 28px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.channel-card {
  border: 1px solid rgba(31, 53, 82, 0.1);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}

.channel-card h3 {
  margin: 0 0 8px;
}

.channel-card p {
  margin: 0;
}

.contact-page-cta {
  margin-top: 20px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 16px;
    justify-content: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .nav {
    display: none;
  }

  .nav-list {
    display: none;
  }

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

  .work-areas-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  .logo img {
    height: 54px;
  }

  .legal-card {
    padding: 24px;
  }

  .btn-row .btn,
  .cta-row .btn,
  .cta-buttons .btn,
  .form-card .btn,
  .wpcf7-form .wpcf7-submit {
    width: 100%;
  }
}
