:root {
  --brand-blue: #223d73;
  --navy-950: #081d42;
  --navy-900: #0c2d63;
  --navy-800: #184b8f;
  --sky-400: #7fc1ff;
  --sky-300: #a8d7ff;
  --sky-200: #d9eeff;
  --sky-100: #edf7ff;
  --white: #ffffff;
  --bg: #f7fbff;
  --bg-soft: #f0f7ff;
  --text: #16345d;
  --text-soft: #587395;
  --line: rgba(12, 45, 99, 0.12);
  --line-strong: rgba(12, 45, 99, 0.2);
  --shadow: 0 30px 70px rgba(12, 45, 99, 0.12);
  --shadow-soft: 0 18px 42px rgba(12, 45, 99, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --container: min(1200px, calc(100vw - 2rem));
  --viewport-gutter: max(1rem, calc((100vw - 1200px) / 2));
  --contact-map-height: 450px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcfdff 0%, #f7fbff 44%, #f9fcff 100%);
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(12, 45, 99, 0.08);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 108px;
}

.brand {
  --brand-logo-height: 4.35rem;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: var(--brand-logo-height);
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 22px rgba(12, 45, 99, 0.08));
}

.brand-mark {
  width: auto;
  height: var(--brand-logo-height);
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 22px rgba(12, 45, 99, 0.08));
}

.brand-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.brand-kicker,
.brand-name,
.footer-brand-kicker,
.footer-brand-name {
  margin: 0;
  font-family: "Roboto", sans-serif;
}

.brand-kicker {
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
}

.brand-name {
  color: var(--navy-950);
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 500;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky-400), var(--navy-800));
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  right: 0;
}

.site-nav a.is-active {
  color: var(--navy-900);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(12, 45, 99, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.16rem auto;
  border-radius: 999px;
  background: var(--navy-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.button-primary,
.header-cta {
  color: var(--white);
  background: var(--brand-blue);
  box-shadow: 0 16px 34px rgba(12, 45, 99, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  background: var(--navy-950);
}

.button-secondary {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(12, 45, 99, 0.14);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.96);
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 40rem;
  height: min(46vw, 45rem);
  max-height: 45rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fcfdff 0%, #eef5ff 100%);
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  background:
    linear-gradient(180deg, rgba(34, 61, 115, 0.15), rgba(12, 45, 99, 0.08)),
    linear-gradient(180deg, rgba(222, 236, 255, 0.92), rgba(208, 225, 248, 0.96));
  pointer-events: none;
}

.hero-slider-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-top: clamp(1rem, 2.2vw, 1.8rem);
  padding-bottom: clamp(2.25rem, 3vw, 3rem);
}

.hero-media {
  position: absolute;
  top: 0;
  right: calc(var(--viewport-gutter) * -1);
  bottom: 0;
  left: 47%;
  width: auto;
  min-height: 0;
  z-index: 1;
}

.hero-media::before {
  display: none;
}

.hero-media-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  background: rgba(12, 45, 99, 0.14);
  box-shadow: 0 24px 54px rgba(12, 45, 99, 0.16);
}

.hero-media-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 29, 66, 0.04), rgba(8, 29, 66, 0.24));
  pointer-events: none;
  z-index: 2;
}

.hero-media-item {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(9%);
  animation: heroCarousel 6s infinite;
  transition:
    opacity 420ms ease,
    transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.hero-media-item.is-active {
  opacity: 1;
  transform: translateX(0);
}

.hero-media-item:nth-child(1) {
  animation-delay: 0s;
}

.hero-media-item:nth-child(2) {
  animation-delay: 1.5s;
}

.hero-media-item:nth-child(3) {
  animation-delay: 3s;
}

.hero-media-item:nth-child(4) {
  animation-delay: 4.5s;
}

.hero-media-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 29, 66, 0.03), rgba(8, 29, 66, 0.08));
}

.hero-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-item-featured-54 img {
  object-position: 50% 50%;
}

.hero-media-item-featured-53 img {
  object-position: 50% 50%;
}

.hero-media-item-featured-27 img {
  object-position: 50% 50%;
}

.hero-media-item-featured-29 img {
  object-position: 50% 50%;
}

.hero-media-item figcaption {
  display: none;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
  background-image: var(--slide-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(249, 252, 255, 0.98) 6%, rgba(249, 252, 255, 0.82) 34%, rgba(249, 252, 255, 0.22) 62%, rgba(249, 252, 255, 0.04) 100%);
}

.slide.slide--align-right::before {
  background: linear-gradient(270deg, rgba(249, 252, 255, 0.98) 6%, rgba(249, 252, 255, 0.82) 34%, rgba(249, 252, 255, 0.22) 62%, rgba(249, 252, 255, 0.04) 100%);
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.slide--align-right .slide-layout {
  justify-content: flex-end;
}

.slide-card,
.page-hero-card,
.panel-copy,
.panel-visual,
.service-card,
.value-card,
.gallery-card,
.case-card,
.fact-card,
.detail-card,
.process-card,
.contact-card,
.note-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.fact-card.is-emphasis,
.service-card.is-emphasis,
.value-card.is-emphasis,
.detail-card.is-emphasis,
.contact-card.is-emphasis {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.fact-card.is-emphasis h2,
.service-card.is-emphasis h3,
.value-card.is-emphasis h3,
.detail-card.is-emphasis h3,
.contact-card.is-emphasis a,
.contact-card.is-emphasis p:first-of-type {
  color: var(--text);
}

.fact-card.is-emphasis p,
.service-card.is-emphasis p,
.value-card.is-emphasis p,
.detail-card.is-emphasis p,
.contact-card.is-emphasis p {
  color: var(--text-soft);
}

.fact-card.is-emphasis .fact-label,
.service-card.is-emphasis .service-index,
.contact-card.is-emphasis .contact-label {
  color: var(--white);
  background: var(--brand-blue);
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-pill);
}

.slide-card {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: min(100%, 50rem);
  padding: clamp(2.3rem, 4vw, 3rem) clamp(7rem, 10vw, 10rem) clamp(2.35rem, 4vw, 3rem) 1.7rem;
  border-radius: 0;
}

.slide-card::before,
.page-hero-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.2rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(34, 61, 115, 0.96), rgba(34, 61, 115, 0.12));
}

.slide-card::after {
  content: "";
  position: absolute;
  inset: -2rem -4.25rem -2rem -2.2rem;
  background: var(--white);
  clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
  box-shadow: 0 26px 64px rgba(12, 45, 99, 0.08);
  z-index: -1;
}

.slide-card h1,
.slide-card h2,
.section-heading h2,
.panel-copy h2,
.page-hero-card h1,
.value-card h3,
.service-card h3,
.detail-card h2,
.detail-card h3,
.gallery-copy h2,
.gallery-copy h3,
.process-card h3,
.contact-panel h2,
.case-copy h3,
.fact-card h2,
.note-panel h2,
.contact-card a,
.contact-card p:first-of-type,
.steps-list h3,
.cta-panel h2 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  letter-spacing: -0.03em;
}

.slide-card h1,
.slide-card h2 {
  font-size: clamp(2.35rem, 4vw, 4.55rem);
  line-height: 0.98;
  max-width: 12ch;
}

.slide-card h2 {
  font-size: clamp(2.2rem, 3.6vw, 4rem);
}

.slide-card p,
.page-hero-card p,
.section-heading p,
.panel-copy p,
.service-card p,
.value-card p,
.gallery-copy p,
.case-copy p,
.detail-card p,
.process-card p,
.contact-card p,
.steps-list p,
.contact-panel p,
.fact-card p,
.footer-brand p,
.footer-bottom p,
.note-panel p {
  color: var(--text-soft);
  line-height: 1.72;
}

.slide-card p {
  max-width: 60ch;
  margin: 1.2rem 0 0;
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-actions,
.button-row,
.cta-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.section-actions {
  margin-top: 1.75rem;
}

.section-actions[hidden] {
  display: none;
}

.hero-actions {
  margin-top: 1.65rem;
}

.page-hero {
  position: relative;
  width: 100%;
  min-height: 32rem;
  display: grid;
  align-items: end;
  padding: 7rem 0 3rem;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 251, 255, 0.92) 10%, rgba(247, 251, 255, 0.72) 40%, rgba(247, 251, 255, 0.1) 100%);
}

.page-hero-layout {
  position: relative;
  z-index: 1;
}

.page-hero-card {
  position: relative;
  max-width: 46rem;
  padding: 0 0 0 1.7rem;
  border-radius: 0;
}

.page-hero-card h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.title-stack span {
  display: block;
}

.section {
  position: relative;
  padding: 5.5rem 0;
  overflow: clip;
}

.surface-soft {
  background: linear-gradient(180deg, rgba(239, 247, 255, 0.78), rgba(250, 252, 255, 0.96));
}

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

.case-list-section {
  padding-top: 4.25rem;
}

.gallery-list-section {
  padding-top: 4.25rem;
}

.section-emphasis {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 16%, rgba(127, 193, 255, 0.14), transparent 24%),
    radial-gradient(circle at 84% 76%, rgba(168, 215, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #0d2a58 0%, #0a2248 100%);
}

.section-emphasis::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.035), transparent 24%);
  pointer-events: none;
  z-index: 0;
}

.hero-slider::after,
.page-hero::after,
.surface-soft::after,
.section-emphasis::after,
.site-footer::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background: url("assets/web-media/logo-symbol-safe.png") center / contain no-repeat;
  z-index: 0;
}

.hero-slider::after {
  left: -2.5rem;
  bottom: 3rem;
  width: min(28vw, 21rem);
  aspect-ratio: 430 / 304;
  opacity: 0.04;
}

.page-hero::after {
  left: 4%;
  bottom: 2.2rem;
  width: min(24vw, 18rem);
  aspect-ratio: 430 / 304;
  opacity: 0.042;
}

.surface-soft::after {
  right: -2rem;
  top: 2rem;
  width: min(22vw, 17rem);
  aspect-ratio: 430 / 304;
  opacity: 0.034;
}

.section-emphasis::after {
  right: -1.5rem;
  top: 2.5rem;
  width: min(18vw, 14rem);
  aspect-ratio: 430 / 304;
  opacity: 0.045;
}

.site-footer::before {
  right: 2.25rem;
  top: 2rem;
  width: min(18vw, 14rem);
  aspect-ratio: 430 / 304;
  opacity: 0.028;
}

.section > .container,
.hero-slider .container,
.page-hero .container,
.site-footer .container {
  position: relative;
  z-index: 1;
}

.section-emphasis > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.3vw, 3.45rem);
  line-height: 1.06;
}

.section-heading p {
  margin: 1rem 0 0;
}

.section-emphasis .section-heading h2,
.section-emphasis .panel-copy h2,
.section-emphasis .cta-panel h2,
.section-emphasis .contact-panel h2,
.section-emphasis .note-panel h2,
.section-emphasis .fact-card h2,
.section-emphasis .detail-card h2,
.section-emphasis .detail-card h3,
.section-emphasis .service-card h3,
.section-emphasis .value-card h3,
.section-emphasis .process-card h3,
.section-emphasis .case-copy h3,
.section-emphasis .steps-list h3,
.section-emphasis .contact-card a,
.section-emphasis .contact-card p:first-of-type {
  color: var(--white);
}

.section-emphasis .section-heading p,
.section-emphasis .panel-copy p,
.section-emphasis .cta-panel p,
.section-emphasis .contact-panel p,
.section-emphasis .note-panel p,
.section-emphasis .fact-card p,
.section-emphasis .detail-card p,
.section-emphasis .service-card p,
.section-emphasis .value-card p,
.section-emphasis .process-card p,
.section-emphasis .case-copy p,
.section-emphasis .steps-list p,
.section-emphasis .contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.section-emphasis .eyebrow,
.section-emphasis .fact-label,
.section-emphasis .service-index,
.section-emphasis .contact-label,
.section-emphasis .gallery-copy span {
  color: rgba(255, 255, 255, 0.72);
}

.fact-grid,
.card-grid,
.detail-grid,
.process-grid,
.case-grid,
.contact-grid {
  display: grid;
  gap: 2rem 2.25rem;
}

.fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0.3rem;
}

.fact-card,
.service-card,
.value-card,
.detail-card,
.process-card,
.contact-card,
.note-panel {
  border-radius: 0;
  padding: 1.6rem 0 0;
}

.fact-card,
.service-card,
.value-card,
.detail-card,
.process-card,
.contact-card {
  border-top: 1px solid rgba(12, 45, 99, 0.14);
}

.section-emphasis .fact-card,
.section-emphasis .service-card,
.section-emphasis .value-card,
.section-emphasis .detail-card,
.section-emphasis .process-card,
.section-emphasis .contact-card,
.section-emphasis .case-card,
.section-emphasis .case-study,
.section-emphasis .steps-list article,
.section-emphasis .cta-panel,
.section-emphasis .contact-panel,
.section-emphasis .contact-link {
  border-color: rgba(255, 255, 255, 0.2);
}

.fact-card,
.service-card,
.value-card,
.gallery-card,
.detail-card,
.process-card,
.contact-card,
.case-card,
.case-study,
.media-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.fact-card:hover,
.service-card:hover,
.value-card:hover,
.gallery-card:hover,
.detail-card:hover,
.process-card:hover,
.contact-card:hover,
.case-card:hover,
.case-study:hover,
.media-card:hover {
  transform: none;
  box-shadow: none;
}

.fact-card h2 {
  margin-top: 0.4rem;
  font-size: 1.6rem;
  line-height: 1.14;
}

.fact-label,
.service-index,
.contact-label,
.gallery-copy span {
  display: inline-block;
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 900;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 2.8rem;
  align-items: center;
}

.panel-copy,
.panel-visual,
.contact-panel,
.cta-panel {
  border-radius: 0;
}

.panel-copy {
  padding: 0;
}

.panel-copy h2,
.cta-panel h2,
.note-panel h2,
.contact-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.panel-visual {
  position: relative;
  padding: 0;
  min-height: 32rem;
  overflow: visible;
}

.panel-visual-profile {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  min-height: 35rem;
  background: transparent;
}

.profile-card {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 0;
  background: transparent;
  box-shadow: 0 24px 54px rgba(12, 45, 99, 0.12);
}

.profile-card .image-button,
.profile-card img {
  height: 100%;
}

.profile-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.media-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(12, 45, 99, 0.12);
}

.media-card-large {
  inset: 0 6rem 3.9rem 0;
}

.media-card-full {
  inset: 0;
}

.media-card-small {
  right: 0;
  bottom: 0;
  width: 38%;
  min-width: 11rem;
}

.section-map {
  padding-top: 5.5rem;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 16%, rgba(127, 193, 255, 0.14), transparent 24%),
    radial-gradient(circle at 84% 76%, rgba(168, 215, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #0d2a58 0%, #0a2248 100%);
}

.map-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.map-panel .section-heading {
  margin: 0;
}

.section-map .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.section-map h2 {
  color: var(--white);
}

.map-panel iframe {
  width: 100%;
  min-height: clamp(22rem, 38vw, 31rem);
  border: 0;
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(12, 45, 99, 0.14);
}

.contact-details-section {
  display: flex;
  align-items: center;
  min-height: var(--contact-map-height);
}

.contact-map-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: var(--contact-map-height);
  overflow: hidden;
  background: var(--sky-100);
}

.contact-map-section iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (hover: none), (pointer: coarse) {
  .contact-map-section iframe {
    pointer-events: none;
  }
}

.image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.image-button img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.media-card .image-button,
.media-card .image-button img {
  height: 100%;
}

.card-grid-services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.6rem;
}

.card-grid-values {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.6rem;
}

.card-grid-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.service-card {
  min-height: 0;
}

.service-card h3,
.value-card h3,
.process-card h3,
.steps-list h3 {
  margin-top: 0.9rem;
  font-size: 1.5rem;
  line-height: 1.12;
}

.service-card p,
.value-card p,
.detail-card p,
.gallery-copy p,
.process-card p,
.contact-card p,
.case-copy p {
  margin-bottom: 0;
}

.gallery-card {
  overflow: hidden;
  overflow: visible;
  border-radius: 0;
}

.gallery-card-link {
  display: block;
}

.gallery-card .image-button {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(12, 45, 99, 0.12);
}

.gallery-card-link .gallery-copy p {
  margin-top: 0.5rem;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  box-shadow: none;
  transition: transform 220ms ease;
}

.gallery-card:hover .image-button {
  box-shadow: 0 24px 54px rgba(12, 45, 99, 0.16);
}

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

.gallery-copy {
  padding: 1rem 0.15rem 0;
}

.gallery-copy h2,
.gallery-copy h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  margin-top: 0.5rem;
}

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

.gallery-before-after-grid {
  gap: 2.6rem 1.8rem;
}

.case-card,
.case-study {
  border-radius: 0;
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 1px solid rgba(12, 45, 99, 0.14);
  background: transparent;
  box-shadow: none;
}

.case-study {
  padding: 1.25rem 0 0;
}

.case-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.case-images figure {
  margin: 0;
}

.case-images .image-button {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(12, 45, 99, 0.12);
}

.case-images img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  box-shadow: none;
}

.case-images figcaption {
  margin-top: 0.7rem;
  color: var(--text-soft);
  font-weight: 500;
}

.case-copy {
  padding: 1.2rem 0.2rem 0.2rem;
}

.case-copy h3 {
  font-size: 1.55rem;
  line-height: 1.12;
}

.gallery-case-card .case-copy h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.section-emphasis .gallery-card img,
.section-emphasis .case-images img,
.section-emphasis .media-card,
.section-emphasis .profile-card {
  box-shadow: 0 24px 54px rgba(1, 11, 30, 0.28);
}

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

.detail-card h2,
.detail-card h3 {
  font-size: 1.55rem;
  line-height: 1.15;
}

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

.process-card span,
.steps-list span {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  background: var(--brand-blue);
}

.section-emphasis .process-card span,
.section-emphasis .steps-list span {
  color: var(--navy-950);
  background: var(--white);
}

.process-card h3 {
  margin-top: 1rem;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-bottom: 2.4rem;
}

.filter-row[hidden],
.filter-button-row[hidden] {
  display: none;
}

.filter-card {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  color: var(--navy-900);
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.filter-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(12, 45, 99, 0.12);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.filter-card span {
  display: block;
  padding: 0 0.1rem;
  color: var(--navy-900);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 900;
  line-height: 1.12;
}

.filter-card:hover img,
.filter-card:focus-visible img,
.filter-card.is-active img {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(12, 45, 99, 0.17);
  filter: saturate(1.05) contrast(1.03);
}

.filter-card.is-active span {
  color: var(--navy-950);
}

.filter-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.filter-button {
  border: 1px solid rgba(12, 45, 99, 0.16);
  border-radius: 999px;
  padding: 0.78rem 1.12rem;
  color: var(--navy-900);
  font-weight: 900;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(12, 45, 99, 0.08);
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  transform: translateY(-2px);
  color: var(--white);
  border-color: var(--brand-blue);
  background: var(--brand-blue);
}

.gallery-grid {
  display: grid;
  gap: 2rem 1.4rem;
}

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

.gallery-grid-large .gallery-card img {
  aspect-ratio: 4 / 3;
}

#gallery-load-more[hidden] {
  display: none;
}

.gallery-card.is-hidden {
  display: none;
}

.note-panel {
  max-width: 60rem;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.contact-card a {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-card p:first-of-type {
  margin-top: 0.55rem;
}

.steps-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.steps-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid rgba(12, 45, 99, 0.08);
}

.steps-list article:first-child {
  border-top: 0;
}

.steps-list h3 {
  margin-top: 0.15rem;
}

.steps-list p {
  margin: 0.35rem 0 0;
}

.contact-panel {
  display: grid;
  gap: 0.9rem;
  padding: 2.6rem 0 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  border-top: 2px solid rgba(12, 45, 99, 0.16);
}

.contact-panel p {
  color: var(--text-soft);
}

.contact-panel .button-secondary {
  color: var(--navy-900);
  background: transparent;
  border-color: rgba(12, 45, 99, 0.18);
}

.contact-link {
  padding-top: 1rem;
  border-top: 1px solid rgba(12, 45, 99, 0.1);
  color: var(--text);
  font-weight: 500;
}

.section-emphasis .contact-link {
  color: var(--white);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.7rem 0 0;
  background: transparent;
  border-top: 2px solid rgba(12, 45, 99, 0.16);
}

.cta-panel p {
  max-width: 48rem;
  margin-bottom: 0;
}

.section-emphasis .button-primary {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(1, 11, 30, 0.24);
}

.section-emphasis .button-primary:hover,
.section-emphasis .button-primary:focus-visible {
  background: var(--sky-100);
}

.section-emphasis .button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.section-emphasis .button-secondary:hover,
.section-emphasis .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer {
  position: relative;
  padding: 2rem 0 2.75rem;
  border-top: 1px solid rgba(12, 45, 99, 0.08);
  background: linear-gradient(180deg, rgba(12, 45, 99, 0.02), rgba(12, 45, 99, 0.04));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.95fr 0.9fr;
  gap: 1.2rem;
}

.footer-brand-lockup {
  --footer-brand-logo-height: 3.5rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
}

.footer-brand-logo {
  display: block;
  width: auto;
  height: var(--footer-brand-logo-height);
  max-width: min(100%, 19rem);
  object-fit: contain;
  object-position: left center;
}

.footer-brand-mark {
  width: auto;
  height: var(--footer-brand-logo-height);
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
}

.footer-brand-copy {
  display: grid;
  gap: 0.2rem;
}

.footer-brand-kicker {
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
}

.footer-brand-name {
  color: var(--navy-950);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.footer-title {
  margin: 0 0 0.85rem;
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.footer-brand .footer-brand-kicker,
.footer-brand .footer-brand-name {
  margin: 0;
  line-height: 1;
}

.footer-brand .footer-brand-kicker {
  color: var(--navy-800);
}

.footer-brand .footer-brand-name {
  color: var(--navy-950);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  margin-top: 1.8rem;
  border-top: 1px solid rgba(12, 45, 99, 0.08);
}

.footer-bottom p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  background: rgba(6, 20, 46, 0.72);
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(94vw, 1100px);
  max-height: 90vh;
  padding: 1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 90px rgba(6, 20, 46, 0.34);
}

.lightbox-image {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 18px;
  background: var(--bg);
}

.lightbox-caption {
  margin: 0;
  padding: 1rem 0 0;
  color: var(--text-soft);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(12, 45, 99, 0.88);
  font-size: 1.6rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(12, 45, 99, 0.88);
  box-shadow: 0 18px 42px rgba(6, 20, 46, 0.28);
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-status {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--navy-900);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes heroCarousel {
  0%,
  24% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  31%,
  100% {
    opacity: 0;
    transform: translateX(7%) scale(1.015);
  }
}

.floating-call {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 160;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.4rem;
  padding: 0.72rem 1rem 0.72rem 0.78rem;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: var(--brand-blue);
  box-shadow: 0 20px 46px rgba(12, 45, 99, 0.28);
}

.floating-call-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.floating-call-icon svg {
  width: 1.08rem;
  height: 1.08rem;
}

.floating-call-text {
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .card-grid-services,
  .card-grid-values,
  .gallery-grid-large,
  .contact-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .split-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .header-bar {
    min-height: auto;
    padding: 0.9rem 0;
    flex-wrap: wrap;
    row-gap: 0.8rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    margin-left: auto;
    border-color: rgba(12, 45, 99, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(12, 45, 99, 0.12);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    order: 3;
    display: grid;
    width: auto;
    gap: 0.4rem;
    padding: 1rem;
    border: 1px solid rgba(12, 45, 99, 0.12);
    border-radius: 1.45rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 64px rgba(12, 45, 99, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.6rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    color: var(--navy-900);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--sky-100);
  }

  .site-nav a.is-active {
    color: var(--navy-950);
    background: rgba(12, 45, 99, 0.07);
  }

  .header-cta {
    display: none;
  }

  .hero-slider {
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hero-slider-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    min-height: 0;
    padding-top: 1.25rem;
    padding-bottom: 3.25rem;
  }

  .hero-slider::before {
    inset: 0;
    min-height: 0;
    background: linear-gradient(180deg, rgba(237, 247, 255, 0.86), rgba(255, 255, 255, 0));
  }

  .hero-media {
    position: relative;
    order: 1;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: clamp(17rem, 58vw, 26rem);
    margin-top: 0;
  }

  .hero-media-shell {
    inset: 0;
    border-radius: 0 0 1.8rem 1.8rem;
  }

  .slide-card {
    order: 2;
  }

  .slide-card,
  .page-hero-card {
    max-width: 100%;
  }

  .slide-card {
    padding: 1.5rem 2rem 0 1.35rem;
  }

  .slide-card::after {
    display: none;
  }

  .slide-card h1,
  .slide-card h2 {
    max-width: 100%;
  }

  .fact-grid,
  .detail-grid,
  .case-grid,
  .card-grid-gallery,
  .process-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 0.95rem;
  }

  .filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .brand {
    --brand-logo-height: 3.45rem;
    gap: 0.75rem;
  }

  .brand-kicker {
    font-size: 0.7rem;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .hero-slider {
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .hero-slider-layout {
    padding-top: 1rem;
    padding-bottom: 2.8rem;
  }

  .hero-media {
    min-height: clamp(16rem, 62vw, 22rem);
  }

  .gallery-grid-large {
    gap: 1.1rem 0.8rem;
  }

  .gallery-copy {
    padding-top: 0.8rem;
  }

  .gallery-copy h2,
  .gallery-copy h3 {
    font-size: 1.08rem;
    margin-top: 0.35rem;
  }

  .slide-card,
  .page-hero-card {
    padding-left: 1.25rem;
  }

  .slide-card {
    padding-top: 1.25rem;
    padding-right: 1.8rem;
    padding-bottom: 0;
  }

  .slide-card::after {
    display: none;
  }

  .contact-panel,
  .cta-panel,
  .note-panel {
    padding-top: 1.85rem;
  }

  .page-hero {
    min-height: 28rem;
    padding-top: 6rem;
  }

  .page-hero-card {
    padding-left: 1.25rem;
  }

  .panel-visual {
    min-height: 24rem;
  }

  .panel-visual-profile {
    min-height: 28rem;
  }

  .media-card-large {
    inset: 1rem 3rem 4rem 1rem;
  }

  .media-card-small {
    width: 42%;
  }

  .case-images {
    grid-template-columns: 1fr;
  }

  .page-home .case-images,
  .page-before-after .case-images,
  .gallery-before-after-grid .case-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .page-home .case-images img,
  .page-before-after .case-images img,
  .gallery-before-after-grid .case-images img {
    border-radius: 18px;
  }

  .floating-call {
    padding: 0.8rem;
  }

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

@media (max-width: 560px) {
  .hero-slider {
    min-height: 0;
    aspect-ratio: auto;
  }

  .brand {
    --brand-logo-height: 2.75rem;
    gap: 0.62rem;
  }

  .brand-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .brand-name {
    font-size: 1.16rem;
  }

  .slide-card h1,
  .slide-card h2,
  .page-hero-card h1,
  .section-heading h2,
  .panel-copy h2,
  .cta-panel h2,
  .note-panel h2 {
    font-size: clamp(1.95rem, 8vw, 2.7rem);
  }

  .hero-media-shell {
    border-radius: 1.5rem;
  }

  .media-card-large {
    inset: 1rem 1rem 7rem 1rem;
  }

  .media-card-small {
    right: 1rem;
    left: auto;
    width: 48%;
  }

  .slide-card,
  .page-hero-card {
    padding-left: 1rem;
  }

  .slide-card {
    padding-top: 1.15rem;
    padding-right: 1.4rem;
    padding-bottom: 0;
  }

  .slide-card::after {
    display: none;
  }

  .gallery-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem 0.7rem;
  }

  .gallery-copy h2,
  .gallery-copy h3 {
    font-size: 0.96rem;
  }

  .profile-card img {
    aspect-ratio: 4 / 4.8;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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