:root {
  --brand: #272778;
  --brand-2: #2b2ba2;
  --brand-3: #5353a8;
  --ink: #12131f;
  --muted: #5d6175;
  --line: #e7eaf2;
  --surface: #ffffff;
  --surface-2: #f7f8fb;
  --yellow: #ffb700;
  --yellow-2: #ffc83b;
  --shadow: 0 16px 36px rgba(21, 25, 43, .1);
  --radius: 8px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfcff;
  line-height: 1.58;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 0 rgba(21, 25, 43, .08);
  backdrop-filter: blur(12px);
}

.topbar {
  background: #232387;
  color: #fff;
  font-size: .82rem;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.topbar-socials,
.footer-socials,
.contact-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-socials a,
.footer-socials a,
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: currentColor;
  transition: color .2s ease, transform .2s ease, background .2s ease;
}

.topbar-socials a:hover,
.footer-socials a:hover,
.contact-socials a:hover {
  color: var(--yellow-2);
  transform: translateY(-2px);
}

svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 70px;
  height: 50px;
  object-fit: contain;
}

.brand-name {
  display: none;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.05;
  font-size: .95rem;
}

.brand-name small {
  display: block;
  font-size: .75rem;
  color: var(--muted);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.nav-links {
  position: fixed;
  inset: 108px 16px auto 16px;
  display: none;
  list-style: none;
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: grid;
}

.nav-links a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--brand);
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  background: rgba(39, 39, 120, .07);
  color: var(--brand-2);
}

.nav-call {
  display: none;
  text-decoration: none;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.hero,
.page-hero,
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
}

.hero {
  min-height: clamp(560px, calc(100svh - 150px), 720px);
  display: flex;
  align-items: center;
}

.hero-bg,
.page-hero-bg,
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before,
.page-hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 19, 31, .78), rgba(39, 39, 120, .48), rgba(18, 19, 31, .18)),
    linear-gradient(180deg, rgba(18, 19, 31, .12), rgba(18, 19, 31, .42));
}

.hero-inner,
.page-hero-content,
.cta-content {
  position: relative;
  z-index: 2;
}

.hero-inner {
  display: grid;
  gap: 22px;
  padding-block: 54px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow-2);
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.04;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.15rem, 8vw, 3.35rem);
}

h2 {
  font-size: clamp(1.85rem, 5vw, 2.55rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0 0 16px;
}

.actions,
.centered-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 19, 31, .18);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover,
.btn-yellow:focus {
  background: var(--yellow-2);
}

.btn-blue {
  background: var(--brand);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--brand);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .08);
}

.btn-outline-blue {
  color: var(--brand);
  border-color: var(--brand);
  background: #fff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.hero-proof div,
.value-card,
.review-card,
.service-card,
.contact-info-panel,
.contact-form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(18, 19, 31, .08);
}

.hero-proof div {
  min-width: 150px;
  color: #fff;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hero-proof strong {
  display: block;
  font-size: 1.35rem;
  color: var(--yellow-2);
  line-height: 1;
}

.hero-proof span {
  color: rgba(255, 255, 255, .86);
  font-weight: 750;
  font-size: .84rem;
}

.section {
  padding-block: 64px;
}

.section-tinted {
  background: linear-gradient(180deg, #f8f9fd 0%, #fff 100%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-heading h2,
.section-copy h2 {
  color: var(--brand);
}

.section-heading p,
.section-copy p,
.service-card p,
.service-detail-copy p,
.review-card p,
.contact-map-panel p,
.contact-details,
.footer-brand p,
.footer-list {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.image-collage {
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: 10px;
  align-items: end;
}

.collage-main,
.collage-small,
.panel-img,
.card-img,
.gallery-img,
.service-detail-img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.collage-main {
  height: 360px;
}

.collage-small {
  height: 220px;
  margin-bottom: 20px;
}

.image-panel {
  min-height: 360px;
}

.panel-img {
  height: 380px;
}

.check-list,
.footer-list,
.area-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

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

.check-list.two-col {
  grid-template-columns: 1fr;
}

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

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--yellow);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 39, 120, .18);
  box-shadow: var(--shadow);
}

.service-card a {
  text-decoration: none;
  display: grid;
  height: 100%;
}

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

.card-img {
  height: 180px;
  border-radius: 0;
  transition: transform .28s ease;
}

.service-card-body {
  padding: 16px;
}

.service-card h3 {
  color: var(--brand);
}

.values-layout {
  display: grid;
  gap: 28px;
}

.value-grid {
  display: grid;
  gap: 16px;
}

.value-card,
.review-card {
  padding: 18px;
}

.value-card h3 {
  text-transform: uppercase;
  color: var(--brand);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.reviews-preview {
  background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-card {
  display: grid;
  gap: 12px;
}

.review-card p {
  color: var(--ink);
}

.review-card footer {
  display: grid;
  gap: 2px;
}

.review-card footer span {
  color: var(--muted);
  font-size: .92rem;
}

.stars {
  color: var(--yellow);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.centered-actions {
  justify-content: center;
  margin-top: 28px;
}

.cta-band {
  min-height: 320px;
  display: flex;
  align-items: center;
}

.cta-content {
  max-width: 700px;
  padding-block: 60px;
}

.page-hero {
  min-height: 300px;
  display: flex;
  align-items: end;
}

.page-hero::before {
  background: linear-gradient(90deg, rgba(18, 19, 31, .78), rgba(39, 39, 120, .48));
}

.page-hero-content {
  padding-block: 68px 48px;
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.25rem);
}

.service-anchor-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-anchor-nav a,
.area-list li {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  text-decoration: none;
  font-weight: 800;
}

.service-anchor-nav a:hover,
.service-anchor-nav a:focus {
  border-color: var(--brand);
  background: var(--surface-2);
}

.service-detail-list {
  display: grid;
  gap: 34px;
}

.service-detail {
  display: grid;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(18, 19, 31, .06);
  scroll-margin-top: 132px;
}

.service-detail-media {
  display: grid;
  gap: 12px;
}

.service-detail-img {
  height: 260px;
}

.service-detail-copy h2 {
  color: var(--brand);
}

.service-subtitle {
  font-weight: 900;
  color: var(--ink) !important;
}

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

.gallery-tile {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 230px;
}

.gallery-tile:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.gallery-img {
  height: 260px;
  transition: transform .28s ease, filter .28s ease;
}

.gallery-tile:hover .gallery-img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.reviews-summary {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.rating-block {
  display: grid;
  gap: 4px;
}

.rating-block strong {
  font-size: 2.4rem;
  color: var(--brand);
  line-height: 1;
}

.contact-layout {
  display: grid;
  gap: 24px;
}

.contact-map-panel {
  padding: 26px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(39, 39, 120, .96), rgba(43, 43, 162, .84)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 2px, transparent 2px 22px);
}

.contact-map-panel p {
  color: rgba(255,255,255,.88);
}

.contact-map-panel h2 {
  color: #fff;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-list li {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}

.contact-info-panel,
.contact-form-panel {
  padding: 24px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.contact-details div {
  display: grid;
  gap: 2px;
}

.contact-details dt {
  color: var(--brand);
  font-weight: 900;
}

.contact-details dd {
  margin: 0;
}

.contact-socials {
  align-items: stretch;
}

.contact-socials a {
  width: auto;
  height: auto;
  padding: 10px 12px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
}

.message-form {
  display: grid;
  gap: 12px;
}

.message-form label {
  font-weight: 900;
  color: var(--brand);
}

.message-form input,
.message-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}

.message-form input:focus,
.message-form textarea:focus {
  outline: 3px solid rgba(255, 183, 0, .35);
  border-color: var(--yellow);
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}

.site-footer {
  background: #111426;
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding-block: 58px;
}

.footer-logo-img {
  width: 150px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-list {
  color: rgba(255,255,255,.72);
}

.site-footer h2 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 14px;
}

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

.footer-list a {
  color: inherit;
  text-decoration: none;
}

.footer-list a:hover,
.footer-list a:focus {
  color: var(--yellow);
}

.footer-services {
  columns: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  padding-block: 16px;
}

.footer-bottom p {
  margin: 0;
}

.not-found-section {
  min-height: 620px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  text-align: center;
}

.not-found-content {
  max-width: 760px;
}

.not-found-content h1 {
  color: var(--brand);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18,19,31,.86);
  padding: 22px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 82vh;
  width: min(100%, 1080px);
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: #fff;
  color: var(--brand);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 560px) {
  .brand-name {
    display: inline-block;
  }

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

  .service-grid,
  .gallery-grid,
  .review-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 780px) {
  h1 {
    font-size: clamp(2.65rem, 4.4vw, 3.35rem);
  }

  h2 {
    font-size: clamp(2.1rem, 3.4vw, 2.55rem);
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 4.6vw, 3.45rem);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  }

  .split-reverse {
    grid-template-columns: minmax(340px, .9fr) minmax(0, 1fr);
  }

  .split-reverse .image-panel,
  .split-reverse .image-collage {
    order: -1;
  }

  .values-layout {
    grid-template-columns: .72fr 1.2fr;
    align-items: start;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-detail {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    padding: 28px;
  }

  .contact-layout {
    grid-template-columns: 1.1fr .9fr;
  }

  .contact-form-panel {
    grid-column: 1 / -1;
  }

  .reviews-summary {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .review-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.25fr .9fr .8fr 1fr;
  }
}

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

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-links a {
    padding: 9px 10px;
  }

  .nav-call {
    display: inline-flex;
  }

  .contact-layout {
    grid-template-columns: 1.15fr .8fr 1fr;
  }

  .contact-form-panel {
    grid-column: auto;
  }

  .footer-services {
    columns: 1;
  }
}

@media (max-width: 559px) {
  .topbar-inner span:nth-child(2),
  .topbar-inner span:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: clamp(560px, calc(100svh - 120px), 680px);
    align-items: center;
  }

  .hero-inner {
    padding-block: 34px 28px;
    gap: 16px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: .95rem;
    line-height: 1.42;
    margin-bottom: 12px;
  }

  .hero .actions .btn {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.2rem);
    line-height: 1.02;
  }

  h2 {
    font-size: 1.7rem;
  }

  .collage-main {
    height: 260px;
  }

  .collage-small {
    height: 170px;
  }

  .section {
    padding-block: 48px;
  }

  .topbar-inner {
    min-height: 34px;
    justify-content: space-between;
  }

  .navbar {
    min-height: 70px;
  }

  .brand-logo {
    width: 62px;
    height: 46px;
  }

  .nav-links {
    inset: 104px 16px auto 16px;
  }

  .page-hero {
    min-height: 250px;
  }

  .page-hero-content {
    padding-block: 52px 36px;
  }
}
