:root {
  --blue: #003781;
  --blue-dark: #071d3e;
  --blue-bright: #0a62b8;
  --sky: #eaf4ff;
  --cream: #f7f4ed;
  --ink: #101a2c;
  --muted: #5c6573;
  --line: #dbe2ea;
  --white: #ffffff;
  --accent: #f1c75b;
  --shell: 1180px;
  --shadow: 0 24px 70px rgba(2, 25, 61, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 226, 234, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--blue);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav > a:not(.button) {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav > a:not(.button):hover {
  color: var(--blue);
}

.mobile-nav {
  display: none;
  position: relative;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 55, 129, 0.16);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  box-shadow: 0 13px 28px rgba(0, 55, 129, 0.24);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 14px;
}

.button-secondary {
  color: var(--blue-dark);
  background: transparent;
  border-color: #aebccc;
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--blue);
  background: var(--sky);
  border-color: var(--blue);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background:
    radial-gradient(circle at 12% 15%, rgba(241, 199, 91, 0.25), transparent 23%),
    linear-gradient(140deg, #fbfcff 0%, #f3f8fd 55%, #e7f2ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  top: -190px;
  right: -190px;
  width: 470px;
  height: 470px;
  border: 70px solid rgba(0, 55, 129, 0.05);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: 68px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(46px, 5.4vw, 76px);
}

.hero-lead {
  max-width: 610px;
  margin: 25px 0 0;
  color: #39465a;
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 33px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: #4b586c;
  font-size: 13px;
  font-weight: 680;
}

.trust-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--blue);
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--blue-dark);
  border: 9px solid var(--white);
  border-radius: 32px 32px 140px 32px;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 29, 67, 0.68), transparent 58%);
}

.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 30px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
}

.hero-visual figcaption span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-visual figcaption strong {
  font-size: 22px;
}

.proof-strip {
  color: var(--white);
  background: var(--blue);
}

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

.proof-grid > div {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

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

.proof-grid strong {
  font-size: 20px;
}

.proof-grid span {
  max-width: 130px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 46px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.section h2,
.contact-section h2 {
  font-size: clamp(38px, 4vw, 58px);
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card.featured {
  background: var(--sky);
}

.service-card.dark-card {
  color: var(--white);
  background: var(--blue-dark);
}

.service-media {
  position: relative;
  height: 165px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #dbe6f1;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 29, 62, 0.13), transparent 55%);
  pointer-events: none;
}

.dark-card .service-media::after {
  background: linear-gradient(to top, rgba(6, 29, 62, 0.38), transparent 62%);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-media img {
  transform: scale(1.035);
}

.service-body {
  min-height: 265px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 30px 30px;
}

.service-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.dark-card .service-number {
  color: var(--accent);
}

.service-card h3 {
  margin: 21px 0 11px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0 0 24px;
  color: var(--muted);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.7);
}

.service-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.dark-card a {
  color: var(--white);
}

.service-note {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.team-section {
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 86px;
}

.team-intro > p:not(.eyebrow) {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.quote-card {
  margin-top: 42px;
  padding: 25px 28px;
  background: var(--white);
  border-left: 4px solid var(--accent);
  box-shadow: 0 18px 40px rgba(36, 35, 29, 0.07);
}

.quote-card p {
  margin: 0;
  color: var(--ink) !important;
  font-size: 15px !important;
  font-weight: 650;
}

.quote-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.person-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  background: var(--white);
  border: 1px solid rgba(219, 226, 234, 0.8);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(36, 35, 29, 0.05);
}

.person-card.person-lead {
  color: var(--white);
  background: var(--blue);
}

.person-initials {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--sky);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 850;
}

.person-lead .person-initials {
  color: var(--blue-dark);
  background: var(--accent);
}

.person-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.person-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.person-lead p {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-section {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 22%, rgba(10, 98, 184, 0.34), transparent 28%),
    var(--blue-dark);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.62fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 42px;
}

.gallery-heading h2 {
  max-width: 760px;
}

.gallery-heading > p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(31vw, 340px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 255, 255, 0.34) transparent;
  scrollbar-width: thin;
}

.gallery-track:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

.gallery-item {
  position: relative;
  height: 390px;
  margin: 0;
  overflow: hidden;
  background: #0c274c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  scroll-snap-align: start;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 17, 38, 0.76), transparent 45%);
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.gallery-hint {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

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

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.approach-grid li {
  padding: 35px 42px 0 0;
}

.approach-grid li + li {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.approach-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.approach-grid h3 {
  margin: 26px 0 10px;
  font-size: 21px;
}

.approach-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  padding: 70px;
  color: var(--white);
  background: var(--blue);
  border-radius: 36px;
}

.contact-card::before {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -220px;
  width: 450px;
  height: 450px;
  border: 80px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.contact-copy,
.hours-card {
  position: relative;
  z-index: 1;
}

.eyebrow.light {
  color: #b7d7ff;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.agency-address {
  max-width: 520px;
  margin-top: 24px;
  padding: 15px 18px;
  font-style: normal;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}

.address-label {
  display: block;
  margin-bottom: 5px;
  color: #b7d7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agency-address a {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: baseline;
  color: var(--white);
  text-decoration: none;
}

.agency-address strong {
  font-size: 19px;
}

.agency-address a > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button-light {
  color: var(--blue);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.button-light:hover {
  color: var(--blue);
  background: var(--sky);
  border-color: var(--sky);
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.button-outline-light:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  box-shadow: none;
}

.hours-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  backdrop-filter: blur(6px);
}

.hours-title {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hours-card dl {
  margin: 0;
}

.hours-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.hours-card dt,
.hours-card dd {
  margin: 0;
  font-size: 13px;
}

.hours-card dd {
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
}

.hours-card > a {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 70px 0 28px;
  background: var(--cream);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 46px;
  border-bottom: 1px solid #d9d5ca;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-top p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 14px;
  font-weight: 650;
}

.footer-links a {
  text-underline-offset: 4px;
}

.legal {
  padding-top: 28px;
  color: #6a6f77;
  font-size: 11px;
}

.legal p {
  margin: 0 0 9px;
}

.legal a {
  text-underline-offset: 3px;
}

.mobile-callbar {
  display: none;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav summary {
    padding: 9px 13px;
    color: var(--blue);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-panel {
    position: absolute;
    top: 50px;
    right: 0;
    min-width: 230px;
    display: grid;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow);
  }

  .mobile-nav-panel a {
    padding: 11px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
  }

  .mobile-nav-panel a:hover {
    color: var(--blue);
    background: var(--sky);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .team-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 400px;
    height: 400px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .team-grid {
    gap: 50px;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gallery-track {
    grid-auto-columns: min(42vw, 340px);
  }

  .contact-card {
    gap: 42px;
    padding: 55px;
  }
}

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

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

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .hero {
    padding: 44px 0 50px;
  }

  .hero h1 {
    font-size: clamp(40px, 12.4vw, 58px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

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

  .trust-list {
    display: grid;
    gap: 8px;
  }

  .hero-visual {
    min-height: 320px;
    border-width: 6px;
    border-radius: 24px 24px 90px 24px;
  }

  .hero-visual img {
    height: 320px;
    min-height: 320px;
  }

  .hero-visual figcaption {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .hero-visual figcaption span {
    display: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .proof-grid > div,
  .proof-grid > div:last-child {
    min-height: 72px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .proof-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section h2,
  .contact-section h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .service-grid,
  .people-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 260px;
  }

  .person-card {
    min-height: 190px;
  }

  .gallery-heading {
    margin-bottom: 30px;
  }

  .gallery-track {
    grid-auto-columns: 84vw;
    gap: 12px;
  }

  .gallery-item,
  .gallery-item-wide {
    grid-column: auto;
    width: auto;
    height: 330px;
    border-radius: 19px;
  }

  .gallery-item figcaption {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .approach-grid li,
  .approach-grid li + li {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .contact-section {
    padding: 40px 0 88px;
  }

  .contact-card {
    width: 100%;
    padding: 48px 24px;
    border-radius: 0;
  }

  .contact-actions {
    display: grid;
  }

  .hours-card dl > div {
    display: grid;
    gap: 4px;
  }

  .hours-card dd {
    text-align: left;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }

  .mobile-callbar {
    position: fixed;
    z-index: 60;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
  }

  .mobile-callbar a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: var(--white);
    background: var(--blue);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0, 55, 129, 0.32);
  }

  .site-footer {
    padding-bottom: 98px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
