:root {
  --navy: #011a3c;
  --navy-2: #021126;
  --blue: #1b75ff;
  --silver: #c8ced8;
  --silver-dark: #8d96a5;
  --white: #ffffff;
  --light: #f4f7fb;
  --muted: #667085;
  --ink: #071526;
  --glass: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.2);
  --shadow: 0 28px 80px rgba(1, 26, 60, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, Aptos, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 58px);
  color: var(--white);
  transition: background 260ms ease, border-color 260ms ease, padding 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(1, 26, 60, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.brand-logo {
  gap: 0;
}

.brand-logo img {
  width: clamp(132px, 11vw, 168px);
  height: auto;
  max-height: 74px;
  padding: 6px 10px;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  font-weight: 850;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(27, 117, 255, 0.72);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-toggle.is-open span:first-child {
  transform: rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-slider,
.hero-slide,
.hero-slide img,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: -4;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 5000ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-overlay {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(1, 26, 60, 0.96) 0%, rgba(1, 26, 60, 0.78) 38%, rgba(1, 26, 60, 0.24) 72%, rgba(1, 26, 60, 0.5) 100%),
    linear-gradient(0deg, rgba(1, 17, 38, 0.7) 0%, rgba(1, 17, 38, 0) 52%);
}

.hero-grid {
  z-index: -2;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  max-width: var(--max);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(3.35rem, 8vw, 7.25rem);
  font-weight: 900;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.hero-subtitle {
  max-width: 670px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #73b4ff);
  box-shadow: 0 18px 42px rgba(27, 117, 255, 0.34);
  margin-bottom: 18px;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

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

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  font-size: 0.9rem;
}

.hero-controls {
  position: absolute;
  right: clamp(20px, 4vw, 58px);
  bottom: 38px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 44px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.hero-dot.is-active {
  width: 78px;
  background: var(--blue);
}

.scroll-cue {
  position: absolute;
  left: clamp(20px, 4vw, 58px);
  bottom: 34px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.scroll-cue::after {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.44);
}

.section {
  padding: clamp(72px, 9vw, 130px) 0;
}

.intro-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(27, 117, 255, 0.11), transparent 34%),
    var(--white);
}

.signature-showcase {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%),
    radial-gradient(circle at 9% 4%, rgba(27, 117, 255, 0.1), transparent 30%);
}

.signature-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(1, 26, 60, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 26, 60, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}

.showcase-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(430px, 0.84fr);
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding: clamp(54px, 7vw, 92px) clamp(24px, 5vw, 82px) clamp(54px, 7vw, 92px) 0;
}

.showcase-image {
  position: relative;
  min-height: min(760px, calc(100svh - 140px));
  overflow: hidden;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 34px 88px rgba(1, 26, 60, 0.18);
}

.showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 26, 60, 0.06), rgba(1, 26, 60, 0.22)),
    linear-gradient(0deg, rgba(1, 26, 60, 0.18), transparent 42%);
  pointer-events: none;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.94) contrast(1.08) brightness(0.96);
  transform: scale(1.01);
}

.showcase-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  margin-left: -104px;
  padding: clamp(30px, 3.5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(1, 26, 60, 0.94), rgba(2, 17, 38, 0.91)),
    radial-gradient(circle at 100% 0%, rgba(27, 117, 255, 0.46), transparent 40%);
  box-shadow: 0 38px 88px rgba(1, 26, 60, 0.28);
  backdrop-filter: blur(22px);
}

.showcase-panel::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 26px;
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), var(--blue));
}

.showcase-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.showcase-panel .eyebrow {
  color: #78b6ff;
  margin-bottom: -2px;
}

.showcase-panel h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.25rem, 3.8vw, 3.75rem);
  font-weight: 900;
  line-height: 1.04;
}

.showcase-panel p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
}

.showcase-points {
  display: grid;
  gap: 12px;
  margin: 6px 0;
}

.showcase-points div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(16px);
}

.showcase-points span {
  color: var(--blue);
  font-weight: 900;
}

.showcase-points strong {
  color: rgba(255, 255, 255, 0.94);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.feature-copy h2,
.cta-card h2,
.contact-info h2,
.page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p,
.section-copy p,
.intro-panel p,
.story-copy p,
.feature-copy p,
.cta-card p,
.contact-info p,
.page-hero p {
  color: var(--muted);
  font-size: 1.03rem;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.intro-panel {
  padding: clamp(24px, 4vw, 42px);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-stats div {
  padding: 18px;
  border: 1px solid rgba(1, 26, 60, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.mini-stats strong {
  display: block;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.service-products {
  background: var(--white);
}

.service-products-heading {
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vw, 54px);
  text-align: center;
}

.service-products-heading .eyebrow {
  margin-bottom: 10px;
}

.service-products-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.22;
}

.product-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 34px);
  align-items: start;
}

.product-service {
  display: grid;
  justify-items: center;
  gap: 22px;
  color: var(--ink);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  perspective: 900px;
}

.product-service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 176px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 22px;
  color: var(--white);
  background:
    linear-gradient(145deg, #05396f, var(--navy)),
    radial-gradient(circle at 80% 8%, rgba(27, 117, 255, 0.46), transparent 36%);
  box-shadow: 0 20px 44px rgba(1, 26, 60, 0.13);
  isolation: isolate;
  transition: transform 320ms ease, box-shadow 320ms ease, background 320ms ease;
}

.product-service-icon::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.product-service-icon::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -58%;
  width: 62%;
  height: 160%;
  transform: rotate(26deg) translateX(-35%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: transform 520ms ease;
  z-index: -1;
}

.product-service-icon svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms ease, filter 320ms ease;
}

.product-service span:last-child {
  transition: color 260ms ease, transform 260ms ease;
}

.product-service:hover .product-service-icon,
.product-service:focus-visible .product-service-icon {
  transform: translateY(-12px) rotateX(8deg) rotateY(-8deg);
  box-shadow: 0 30px 64px rgba(1, 26, 60, 0.26), 0 0 0 6px rgba(27, 117, 255, 0.08);
  background:
    linear-gradient(145deg, var(--blue), var(--navy)),
    radial-gradient(circle at 80% 8%, rgba(255, 255, 255, 0.34), transparent 36%);
}

.product-service:hover .product-service-icon::after,
.product-service:focus-visible .product-service-icon::after {
  transform: rotate(26deg) translateX(245%);
}

.product-service:hover svg,
.product-service:focus-visible svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.32));
}

.product-service:hover span:last-child,
.product-service:focus-visible span:last-child {
  color: var(--blue);
  transform: translateY(-4px);
}

.navy-section {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(27, 117, 255, 0.32), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.navy-section .eyebrow,
.page-hero .eyebrow {
  color: #78b6ff;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.feature-copy p,
.navy-section .feature-list p {
  color: rgba(255, 255, 255, 0.7);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list div,
.value-card,
.branch-card,
.contact-card {
  border-radius: var(--radius);
  border: 1px solid rgba(1, 26, 60, 0.08);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(1, 26, 60, 0.08);
}

.feature-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px 18px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.feature-list span,
.value-card span {
  color: var(--blue);
  font-weight: 900;
}

.feature-list strong {
  color: var(--white);
  font-size: 1.05rem;
}

.feature-list p {
  grid-column: 2;
  margin: 0;
}

.image-strip {
  padding-inline: 20px;
  background: var(--white);
}

.video-strip {
  min-height: 100svh;
  padding: 0;
  background: var(--navy);
}

.strip-card {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  max-width: 1380px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow);
}

.video-card {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  border-radius: 0;
}

.strip-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 26, 60, 0.95), rgba(1, 26, 60, 0.1));
}

.strip-card div {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: clamp(26px, 5vw, 58px);
}

.video-card .video-content {
  max-width: 680px;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: clamp(42px, 7vw, 96px);
}

.strip-card h2 {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 42px;
  height: 1px;
  margin-left: 14px;
  background: var(--blue);
}

.cta-section {
  background: var(--light);
}

.cta-card {
  display: grid;
  gap: 22px;
  justify-items: start;
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(1, 26, 60, 0.96), rgba(2, 17, 38, 0.96)),
    radial-gradient(circle at 90% 20%, rgba(27, 117, 255, 0.6), transparent 34%);
  box-shadow: var(--shadow);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

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

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

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(1, 26, 60, 0.93), rgba(1, 26, 60, 0.38)),
    linear-gradient(0deg, rgba(1, 17, 38, 0.86), transparent 62%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 150px 0 82px;
}

.page-hero-content h1 {
  max-width: 900px;
  margin-bottom: 20px;
}

.page-hero-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.story-copy {
  display: grid;
  gap: 14px;
}

.story-copy p {
  margin-bottom: 0;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card,
.branch-card {
  padding: 26px;
}

.value-card h3,
.branch-card h2 {
  margin: 16px 0 12px;
}

.value-card p,
.branch-card p {
  color: var(--muted);
}

.branch-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.branch-card {
  min-height: 240px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 90% 10%, rgba(27, 117, 255, 0.12), transparent 30%);
}

.services-detail-section {
  background: var(--light);
}

.services-detail-grid {
  display: grid;
  gap: 22px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(1, 26, 60, 0.09);
  scroll-margin-top: 110px;
}

.service-detail:nth-child(even) {
  grid-template-columns: minmax(0, 1.14fr) minmax(260px, 0.86fr);
}

.service-detail:nth-child(even) img {
  order: 2;
}

.service-detail img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-detail div {
  padding: 14px 18px;
}

.service-detail h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  font-weight: 900;
}

.service-detail p,
.service-detail li {
  color: var(--muted);
}

.service-detail ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 20px;
}

@media (min-width: 981px) {
  .services-detail-section {
    padding: 0;
  }

  .services-detail-section > .services-detail-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 0;
  }

  .service-detail {
    min-height: clamp(520px, 44vw, 720px);
    grid-template-columns: minmax(42vw, 1fr) minmax(0, 1fr);
    gap: clamp(46px, 6vw, 96px);
    padding: clamp(36px, 5vw, 80px) clamp(48px, 8vw, 130px);
    border-bottom: 1px solid rgba(1, 26, 60, 0.08);
    border-radius: 0;
    box-shadow: none;
  }

  .service-detail:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(42vw, 1fr);
  }

  .service-detail img {
    height: 100%;
    min-height: clamp(390px, 32vw, 560px);
    aspect-ratio: auto;
  }

  .service-detail div {
    max-width: 620px;
    padding: 0;
  }
}

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

.gallery-item {
  position: relative;
  min-height: 340px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  cursor: pointer;
  box-shadow: 0 18px 52px rgba(1, 26, 60, 0.1);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 360ms ease, filter 360ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 26, 60, 0.72), transparent 62%);
}

.gallery-item span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  color: var(--white);
  font-weight: 850;
  font-size: 1.15rem;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(1, 17, 38, 0.88);
  backdrop-filter: blur(18px);
}

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

.lightbox img {
  width: min(1040px, 100%);
  max-height: 78svh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.lightbox p {
  margin: 14px 0 0;
  color: var(--white);
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 88px);
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.contact-card:hover {
  transform: translateX(5px);
  border-color: rgba(27, 117, 255, 0.4);
}

.contact-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-card strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full,
.quote-form .btn,
.form-note {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(1, 26, 60, 0.12);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(27, 117, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(27, 117, 255, 0.12);
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 0.8fr;
  gap: 34px;
  padding: 58px 0;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 18px;
}

.footer-brand.brand-logo img {
  width: clamp(156px, 14vw, 210px);
  max-height: 92px;
}

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

.footer-grid p {
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: var(--white);
}

.social-links a {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  text-align: center;
  font-size: 0.86rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #13c95b, #0aa545);
  box-shadow: 0 18px 42px rgba(10, 165, 69, 0.36);
  transition: transform 220ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.hero-content .reveal,
.page-hero-content.reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 980px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    position: relative;
    display: grid;
    z-index: 102;
    flex: 0 0 auto;
    margin-left: auto;
    background: rgba(27, 117, 255, 0.82);
    border-color: rgba(255, 255, 255, 0.36);
    box-shadow: 0 14px 34px rgba(27, 117, 255, 0.22);
  }

  .brand-logo img {
    width: 142px;
    max-height: 66px;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    border: 0;
    border-radius: 0;
    background: rgba(1, 26, 60, 0.96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 240ms ease, visibility 240ms ease, transform 240ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    font-size: clamp(1.5rem, 7vw, 3rem);
  }

  .split-layout,
  .showcase-wrap,
  .feature-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .showcase-wrap {
    min-height: auto;
    padding: 78px 20px;
  }

  .showcase-image {
    min-height: 500px;
    border-radius: var(--radius);
  }

  .showcase-panel {
    margin: -96px clamp(18px, 5vw, 52px) 0;
  }

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

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

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) img {
    order: 0;
  }
}

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

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-logo img {
    width: 128px;
    height: auto;
    max-height: 60px;
    padding: 5px 8px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9.8vw, 3.25rem);
    overflow-wrap: normal;
  }

  .hero-content {
    padding-top: 92px;
    padding-bottom: 118px;
  }

  .hero-subtitle {
    max-width: 340px;
    font-size: 0.94rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(1, 26, 60, 0.96), rgba(1, 26, 60, 0.7)),
      linear-gradient(0deg, rgba(1, 17, 38, 0.78), rgba(1, 17, 38, 0.08));
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 360px);
  }

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

  .hero-controls {
    right: 14px;
    bottom: 22px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .video-strip {
    padding: 0;
  }

  .showcase-image {
    min-height: 390px;
  }

  .showcase-panel {
    gap: 20px;
    margin: -64px 12px 0;
    padding: 28px 22px;
  }

  .showcase-panel::before {
    top: 20px;
    right: 20px;
    width: 58px;
  }

  .showcase-panel h2 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .showcase-panel p {
    font-size: 0.98rem;
  }

  .showcase-points div {
    align-items: flex-start;
    min-height: 0;
    padding: 15px;
  }

  .product-service-grid,
  .values-grid,
  .branch-layout,
  .gallery-grid,
  .footer-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .product-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
  }

  .product-service {
    gap: 14px;
    font-size: 0.92rem;
  }

  .product-service-icon {
    width: min(100%, 150px);
    border-radius: 18px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-row: auto;
  }

  .gallery-item {
    min-height: 280px;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .strip-card {
    min-height: 500px;
  }

  .video-card,
  .video-card .video-content {
    min-height: 100svh;
  }

  .video-card .video-content {
    padding: 84px 24px 72px;
  }

  .page-hero {
    min-height: 68svh;
  }

  .page-hero-content {
    padding-bottom: 58px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}

/* Reference-style About and Gallery pages */
.reference-page {
  background: #ffffff;
}

.reference-container {
  width: min(1120px, calc(100% - 140px));
  margin: 0 auto;
}

.reference-header {
  padding: 30px clamp(36px, 7vw, 92px);
  background: transparent;
  border-bottom: 0;
}

.reference-header.is-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(1, 18, 42, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reference-logo img {
  width: clamp(112px, 9vw, 144px);
  max-height: 64px;
  padding: 5px 8px;
}

.gallery-logo-box img {
  width: clamp(140px, 11vw, 166px);
  max-height: 72px;
}

.reference-nav {
  gap: clamp(22px, 3vw, 42px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.reference-nav a {
  position: relative;
  padding: 0 0 14px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 850;
}

.reference-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 220ms ease;
}

.reference-nav a:hover,
.reference-nav a[aria-current="page"] {
  color: #4fa0ff;
  background: transparent;
  transform: none;
}

.reference-nav a:hover::after,
.reference-nav a[aria-current="page"]::after {
  width: 64px;
}

.header-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid rgba(27, 117, 255, 0.8);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 850;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.header-quote:hover {
  background: rgba(27, 117, 255, 0.18);
  transform: translateY(-2px);
}

.solid-quote {
  border-color: transparent;
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(27, 117, 255, 0.28);
}

.reference-hero {
  position: relative;
  width: 100%;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  isolation: isolate;
}

.about-reference-hero {
  min-height: 640px;
}

.gallery-reference-hero {
  min-height: 650px;
}

.reference-hero > img,
.reference-hero-overlay {
  position: absolute;
  inset: 0;
}

.reference-hero > img {
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.gallery-reference-hero > img {
  object-position: center right;
}

.reference-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 17, 38, 0.96) 0%, rgba(1, 26, 60, 0.76) 42%, rgba(1, 26, 60, 0.18) 76%, rgba(1, 26, 60, 0.36) 100%),
    linear-gradient(0deg, rgba(1, 17, 38, 0.42), rgba(1, 17, 38, 0.08));
}

.reference-hero-content {
  width: min(1120px, calc(100% - 140px));
  margin: 0 auto;
  padding-top: 82px;
}

.gallery-reference-content {
  width: min(1220px, calc(100% - 140px));
}

.line-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  letter-spacing: 0.08em;
}

.line-eyebrow::after {
  content: "";
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.reference-hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 5.4vw, 5rem);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.reference-hero p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
}

.arrow-btn::after {
  content: "->";
  margin-left: 12px;
  font-weight: 900;
}

.about-intro-ref {
  padding: 86px 0 94px;
  background: #ffffff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.08fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.about-intro-copy h2 {
  max-width: 470px;
  margin-bottom: 30px;
  color: var(--navy-2);
  font-size: clamp(2.4rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.08;
}

.about-intro-copy p:not(.eyebrow) {
  max-width: 470px;
  color: #41536b;
  font-size: 0.98rem;
  line-height: 1.82;
}

.about-intro-image {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(1, 26, 60, 0.16);
}

.about-intro-image img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.about-pillars-ref {
  padding: 70px 0;
  background: linear-gradient(180deg, #f7faff, #f2f6fc);
}

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

.pillar-ref {
  min-height: 220px;
  padding: 6px clamp(30px, 4vw, 52px);
  border-right: 1px solid rgba(1, 26, 60, 0.12);
}

.pillar-ref:last-child {
  border-right: 0;
}

.ref-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--blue);
}

.ref-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-ref h3,
.choice-ref-card h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pillar-ref p,
.pillar-ref li {
  color: #40516a;
  font-size: 0.95rem;
}

.pillar-ref ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar-ref li::before {
  content: "\2713";
  margin-right: 10px;
  color: var(--blue);
  font-weight: 900;
}

.about-choice-ref {
  padding: 74px 0 92px;
  background: #ffffff;
}

.choice-ref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.choice-ref-card {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 218px;
  padding: 24px 24px 28px;
  border-right: 1px solid rgba(1, 26, 60, 0.09);
  border-bottom: 1px solid rgba(1, 26, 60, 0.08);
  text-align: center;
}

.choice-ref-card:nth-child(4n) {
  border-right: 0;
}

.choice-ref-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.choice-ref-card .ref-icon {
  margin-bottom: 14px;
}

.choice-ref-card h3 {
  margin-bottom: 8px;
  text-transform: none;
  line-height: 1.22;
}

.choice-ref-card p {
  max-width: 190px;
  margin: 0;
  color: #516176;
  font-size: 0.86rem;
  line-height: 1.55;
}

.about-stats-ref {
  padding: 56px 0;
  background: linear-gradient(180deg, #f7fbff, #edf4fb);
}

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

.stat-ref {
  display: grid;
  justify-items: center;
  padding: 4px clamp(24px, 3.5vw, 46px);
  border-right: 1px solid rgba(1, 26, 60, 0.12);
  text-align: center;
}

.stat-ref:last-child {
  border-right: 0;
}

.stat-ref .ref-icon {
  margin-bottom: 10px;
}

.stat-ref strong {
  color: var(--navy);
  font-size: clamp(2.6rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 1;
}

.stat-ref p {
  margin: 8px 0 0;
  color: #526178;
  font-size: 0.9rem;
}

.about-cta-ref {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
  min-height: 390px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 26% 10%, rgba(27, 117, 255, 0.25), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.about-cta-copy {
  align-self: center;
  max-width: 650px;
  padding: 78px 0 78px clamp(70px, 11vw, 158px);
}

.about-cta-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4vw, 3.45rem);
  font-weight: 900;
}

.about-cta-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--white);
  font-weight: 850;
}

.cta-phone-link::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.about-cta-image {
  position: relative;
  min-height: 390px;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.about-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-cta-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 26, 60, 0.34), transparent 58%);
}

.reference-footer .footer-grid {
  width: min(1120px, calc(100% - 140px));
  grid-template-columns: 1.45fr 0.85fr 0.85fr 1.05fr;
  padding: 54px 0 44px;
}

.reference-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  width: min(1120px, calc(100% - 140px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-icons a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
}

.gallery-ref-section {
  padding: 84px 0;
  background: #ffffff;
}

.video-ref-gallery {
  background: #f3f8fe;
}

.gallery-ref-container {
  width: min(1260px, calc(100% - 70px));
  margin: 0 auto;
}

.gallery-ref-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 58px;
}

.gallery-ref-top .eyebrow {
  margin-bottom: 18px;
}

.gallery-ref-top h2 {
  color: var(--navy-2);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.gallery-ref-arrows {
  display: flex;
  gap: 14px;
  padding-bottom: 8px;
}

.gallery-ref-arrows button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: #e7eef8;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.gallery-ref-arrows button:last-child,
.gallery-ref-arrows button:hover {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(27, 117, 255, 0.28);
}

.gallery-ref-arrows button:hover {
  transform: translateY(-3px);
}

.gallery-ref-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px 0 10px;
}

.gallery-ref-rail::-webkit-scrollbar {
  display: none;
}

.gallery-ref-card {
  position: relative;
  flex: 0 0 calc((100% - 66px) / 4);
  min-width: 260px;
  height: 440px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 18px 46px rgba(1, 26, 60, 0.12);
}

.gallery-ref-card img,
.gallery-ref-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 440ms ease, filter 440ms ease;
}

.gallery-ref-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 17, 38, 0.82), rgba(1, 17, 38, 0.08) 58%);
  transition: opacity 260ms ease;
}

.gallery-ref-card span:not(.play-badge),
.gallery-ref-card strong {
  position: absolute;
  left: 28px;
  right: 24px;
  bottom: 26px;
  z-index: 1;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
  text-align: left;
}

.gallery-ref-card:hover img,
.gallery-ref-card:hover video {
  transform: scale(1.09);
  filter: saturate(1.08) contrast(1.05);
}

.gallery-ref-card:hover::after {
  opacity: 0.86;
}

.gallery-ref-dots {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}

.gallery-ref-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7e1ef;
}

.gallery-ref-dots .is-active {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 117, 255, 0.1);
}

.video-ref-rail {
  justify-content: center;
  gap: clamp(34px, 5vw, 64px);
}

.video-ref-card {
  flex: 0 0 min(30%, 360px);
  min-width: 300px;
  height: 430px;
}

.play-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  transition: transform 240ms ease, background 240ms ease;
}

.video-ref-card:hover .play-badge {
  background: rgba(27, 117, 255, 0.7);
  transform: translate(-50%, -50%) scale(1.08);
}

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 70px clamp(18px, 5vw, 84px) 46px;
  color: var(--white);
  background: rgba(1, 13, 31, 0.94);
  backdrop-filter: blur(18px);
}

.media-viewer.is-open {
  display: grid;
}

body.media-viewer-open {
  overflow: hidden;
}

.media-stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: min(78svh, 760px);
}

.media-stage img,
.media-stage video {
  max-width: min(1120px, 88vw);
  max-height: 76svh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.media-stage video {
  width: min(1120px, 88vw);
  background: #000;
}

.media-close,
.media-nav {
  position: fixed;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, background 220ms ease;
}

.media-close {
  top: 24px;
  right: 28px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 850;
}

.media-nav {
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.media-prev {
  left: clamp(14px, 3vw, 42px);
}

.media-next {
  right: clamp(14px, 3vw, 42px);
}

.media-close:hover,
.media-nav:hover {
  background: var(--blue);
  transform: translateY(-50%) scale(1.04);
}

.media-close:hover {
  transform: translateY(-2px);
}

.media-caption {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.media-caption p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
}

.media-caption span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

@media (max-width: 1100px) {
  .reference-container,
  .reference-hero-content,
  .gallery-reference-content,
  .reference-footer .footer-grid,
  .reference-footer .footer-bottom {
    width: min(100% - 48px, 1120px);
  }

  .reference-header {
    padding: 20px 24px;
  }

  .header-quote {
    display: none;
  }

  .about-intro-grid,
  .about-cta-ref {
    grid-template-columns: 1fr;
  }

  .about-cta-copy {
    padding: 70px 24px 46px;
    margin: 0 auto;
  }

  .about-cta-image {
    min-height: 320px;
    clip-path: none;
  }

  .gallery-ref-card {
    flex-basis: calc((100% - 44px) / 3);
  }
}

@media (max-width: 980px) {
  .reference-nav {
    gap: 18px;
    background: rgba(1, 26, 60, 0.96);
  }

  .reference-nav a {
    padding-bottom: 8px;
  }

  .reference-logo img,
  .gallery-logo-box img {
    width: 132px;
    max-height: 62px;
  }

  .reference-hero {
    min-height: 600px;
  }

  .pillar-ref-grid,
  .stats-ref-grid {
    grid-template-columns: 1fr;
  }

  .pillar-ref,
  .stat-ref {
    border-right: 0;
    border-bottom: 1px solid rgba(1, 26, 60, 0.12);
    padding: 30px 0;
  }

  .pillar-ref:last-child,
  .stat-ref:last-child {
    border-bottom: 0;
  }

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

  .choice-ref-card:nth-child(4n) {
    border-right: 1px solid rgba(1, 26, 60, 0.09);
  }

  .choice-ref-card:nth-child(2n) {
    border-right: 0;
  }

  .choice-ref-card:nth-last-child(-n + 4) {
    border-bottom: 1px solid rgba(1, 26, 60, 0.08);
  }

  .choice-ref-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .gallery-ref-card,
  .video-ref-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .video-ref-rail {
    justify-content: flex-start;
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .reference-container,
  .reference-hero-content,
  .gallery-reference-content,
  .reference-footer .footer-grid,
  .reference-footer .footer-bottom,
  .gallery-ref-container {
    width: min(100% - 28px, 1120px);
  }

  .reference-header {
    padding: 14px;
  }

  .reference-logo img,
  .gallery-logo-box img {
    width: 118px;
    max-height: 56px;
  }

  .reference-hero {
    min-height: 100svh;
  }

  .reference-hero-content {
    padding-top: 92px;
  }

  .reference-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .reference-hero p:not(.eyebrow) {
    font-size: 0.96rem;
  }

  .about-intro-ref,
  .gallery-ref-section {
    padding: 66px 0;
  }

  .about-intro-copy h2,
  .gallery-ref-top h2 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .choice-ref-grid {
    grid-template-columns: 1fr;
  }

  .choice-ref-card,
  .choice-ref-card:nth-child(4n),
  .choice-ref-card:nth-child(2n),
  .choice-ref-card:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(1, 26, 60, 0.08);
  }

  .choice-ref-card:last-child {
    border-bottom: 0;
  }

  .about-cta-copy {
    padding: 62px 18px 40px;
  }

  .gallery-ref-top {
    align-items: start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .gallery-ref-arrows {
    align-self: flex-end;
  }

  .gallery-ref-card,
  .video-ref-card {
    flex-basis: 82%;
    min-width: 260px;
    height: 390px;
  }

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

  .media-viewer {
    padding: 66px 14px 34px;
  }

  .media-stage {
    height: 72svh;
  }

  .media-stage img,
  .media-stage video {
    max-width: 100%;
    max-height: 70svh;
  }

  .media-nav {
    width: 46px;
    height: 46px;
    top: auto;
    bottom: 28px;
    transform: none;
  }

  .media-prev {
    left: 16px;
  }

  .media-next {
    right: 16px;
  }

  .media-nav:hover {
    transform: scale(1.04);
  }
}
