:root {
  --ink: #0b1f35;
  --ink-2: #153a5c;
  --muted: #5b697a;
  --line: #dfe6ee;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --navy: #0e2d4d;
  --navy-deep: #071827;
  --amber: #c89b3c;
  --amber-2: #e3be68;
  --teal: #0e7b75;
  --danger: #b03a2e;
  --shadow: 0 24px 80px rgba(11, 31, 53, 0.16);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.intra-wysiwyg-shell {
  width: 100%;
  overflow: clip;
  background: var(--paper);
}

.intra-wysiwyg-shell > * {
  margin-top: 0;
  margin-bottom: 0;
}

.intra-wysiwyg-shell :where(.wp-block, .wp-block-group, .alignfull, .alignwide) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

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

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

a:hover {
  color: var(--teal);
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 4.3rem);
  font-weight: 850;
}

h3 {
  font-size: 1.26rem;
  font-weight: 800;
}

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

.screen-reader-text,
.skip-link {
  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: 10000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  clip: auto;
  background: var(--paper);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
}

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

.container.narrow {
  --container: 880px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 230, 238, 0.84);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 40px rgba(11, 31, 53, 0.08);
}

.header-shell {
  width: min(calc(100% - 40px), 1260px);
  min-height: 88px;
  margin: 0 auto;
  padding: 0.6rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.35rem);
}

.brand-wrap,
.site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
}

.site-brand img {
  width: clamp(230px, 20vw, 292px);
  max-height: 68px;
  object-fit: contain;
}

.primary-navigation {
  justify-self: center;
}

.primary-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.primary-menu a:hover {
  color: var(--teal);
}

.header-call {
  display: inline-grid;
  gap: 0.1rem;
  min-width: 164px;
  min-height: 56px;
  padding: 0.65rem 1rem;
  align-content: center;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(14, 45, 77, 0.18);
  overflow: visible;
}

.header-call span {
  color: #b8c7d8;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.header-call strong {
  font-size: 0.98rem;
  line-height: 1.18;
  white-space: nowrap;
}

.header-call:hover {
  color: var(--paper);
  background: var(--teal);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  place-items: center;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background:
    url("../img/hero-customs-office.png") center right / cover no-repeat,
    linear-gradient(120deg, #091827, #183e5e);
  transform: scale(1.01);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.96) 0%, rgba(7, 24, 39, 0.84) 35%, rgba(7, 24, 39, 0.22) 72%, rgba(7, 24, 39, 0.05) 100%),
    linear-gradient(180deg, rgba(7, 24, 39, 0.08), rgba(7, 24, 39, 0.34));
}

.hero-grid {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: center;
  gap: 4rem;
  padding: 4.5rem 0 5rem;
}

.hero-copy {
  max-width: 760px;
  color: #d8e2ed;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--amber-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  color: var(--paper);
}

.hero-lead {
  max-width: 650px;
  margin-top: 1.35rem;
  color: #d8e2ed;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #101820;
  background: var(--amber-2);
  border-color: var(--amber-2);
}

.btn-primary:hover {
  color: #101820;
  background: #f0cc73;
}

.btn-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.14);
}

.btn-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-trust span {
  padding: 0.5rem 0.8rem;
  color: #e6eef7;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-panel,
.quote-form-wrap,
.contact-form-card,
.content-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.35rem;
}

.panel-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0.55rem 0 1rem;
  font-size: 1.55rem;
}

.proof-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.proof-grid article {
  min-height: 190px;
  padding: 2rem 1.7rem;
  border-left: 1px solid var(--line);
}

.proof-grid article:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--amber);
  font-weight: 900;
}

.proof-grid h2 {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.proof-grid p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 7rem 0;
}

.split-grid,
.quote-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.services-section,
.knowledge-section,
.default-page {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service-card,
.knowledge-grid article,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 123, 117, 0.45);
  box-shadow: 0 18px 46px rgba(11, 31, 53, 0.1);
}

.service-card.highlighted {
  color: var(--paper);
  background: linear-gradient(145deg, var(--navy), #0d615d);
  border-color: transparent;
}

.service-card.highlighted h3,
.service-card.highlighted p,
.service-card.highlighted a {
  color: var(--paper);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  color: var(--ink);
  background: #f3e7ca;
  border: 1px solid rgba(200, 155, 60, 0.28);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 950;
}

.service-card p {
  margin: 0.85rem 0 1.2rem;
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 850;
}

.metrics-section {
  color: var(--paper);
  background: var(--navy-deep);
}

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

.metrics-grid div {
  min-height: 200px;
  padding: 2rem 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics-grid strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--amber-2);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 1;
}

.metrics-grid span {
  display: block;
  color: #c7d5e4;
  font-weight: 650;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: 4rem;
}

.process-layout .section-heading {
  max-width: 540px;
}

.process-layout .section-heading h2 {
  font-size: clamp(2.35rem, 3.4vw, 3.85rem);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 1.15rem;
  row-gap: 0.45rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline span {
  width: 54px;
  height: 54px;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
  font-weight: 900;
}

.timeline p {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  color: var(--muted);
}

.quote-section {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(7, 24, 39, 0.96), rgba(14, 45, 77, 0.94)),
    url("../img/hero-customs-office.png") center / cover no-repeat;
}

.quote-copy h2,
.quote-copy p,
.quote-copy li {
  color: var(--paper);
}

.quote-copy p {
  max-width: 600px;
  margin-top: 1rem;
  color: #d8e2ed;
  font-size: 1.08rem;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.54rem;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--amber-2);
  border-radius: 50%;
}

.quote-form-wrap,
.contact-form-card {
  padding: 1.5rem;
}

.intra-fallback-form {
  display: grid;
  gap: 1rem;
  color: var(--muted);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.knowledge-grid article {
  padding: 1.6rem;
}

.knowledge-grid p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.contact-section {
  background: var(--paper);
}

.contact-card {
  padding: 2rem;
}

.contact-card address {
  margin: 1.3rem 0;
  color: var(--muted);
  font-style: normal;
}

.contact-card a {
  color: var(--navy);
  font-weight: 850;
}

.site-footer {
  color: #d9e4ef;
  background: var(--navy-deep);
}

.footer-cta {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta h2 {
  max-width: 760px;
  color: var(--paper);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.footer-grid {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr 0.9fr;
  gap: 2rem;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  color: var(--paper);
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a,
.footer-menu a {
  color: #b8c7d8;
}

.footer-logo-card {
  width: min(268px, 100%);
  margin-bottom: 1rem;
  padding: 0.55rem 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.footer-brand img {
  width: 100%;
  max-height: 62px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer-logo-card img {
  margin-bottom: 0;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 1.2rem 0 6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #8fa3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 62px;
  padding: 0.7rem 1.05rem 0.7rem 0.7rem;
  color: var(--paper);
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 22px 48px rgba(14, 123, 117, 0.35);
}

.floating-call:hover {
  color: var(--paper);
  background: #0a6964;
}

.floating-call-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
  animation: intraPulse 1.8s infinite;
}

.floating-call-text {
  max-width: 110px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
}

@keyframes intraPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.default-page {
  min-height: 58vh;
  padding: 5rem 0;
}

.content-card {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.entry-content {
  margin-top: 1.5rem;
  color: var(--muted);
}

.entry-content a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .header-shell {
    grid-template-columns: auto auto;
    min-height: 76px;
    padding: 0.65rem 0;
    gap: 1rem;
  }

  .site-brand img {
    width: clamp(218px, 38vw, 258px);
    max-height: 58px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 0.25rem;
  }

  .primary-menu a {
    width: 100%;
  }

  .header-call {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .quote-grid,
  .contact-grid,
  .process-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-panel {
    max-width: 620px;
  }

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

  .services-grid,
  .knowledge-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cta {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .container,
  .header-shell,
  .footer-cta,
  .footer-grid,
  .footer-bottom {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-brand img {
    width: clamp(190px, 62vw, 238px);
    max-height: 52px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 4rem 0 3rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 39, 0.96), rgba(7, 24, 39, 0.82)),
      linear-gradient(180deg, rgba(7, 24, 39, 0.1), rgba(7, 24, 39, 0.4));
  }

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

  .btn {
    width: 100%;
  }

  .hero-trust span {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
  }

  .proof-grid,
  .metrics-grid,
  .services-grid,
  .knowledge-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article,
  .metrics-grid div {
    min-height: auto;
    border-right: 1px solid var(--line);
  }

  .metrics-grid div {
    border-color: rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 4.5rem 0;
  }

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

  .timeline span,
  .timeline p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-call {
    right: 14px;
    bottom: 14px;
    min-height: 56px;
    padding-right: 0.8rem;
  }

  .floating-call-icon {
    width: 42px;
    height: 42px;
  }

  .floating-call-text {
    display: none;
  }

}

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