@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap");

:root {
  --navy: #09223f;
  --blue: #0c5f8f;
  --blue-dark: #063553;
  --orange: #f06f2e;
  --gold: #c58b37;
  --ink: #101828;
  --muted: #667085;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dbe3ea;
  --shadow: 0 22px 60px rgba(9, 34, 63, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.topbar {
  color: rgba(255, 255, 255, 0.88);
  background: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  animation: slideDown 0.55s ease both;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(9, 34, 63, 0.08);
  backdrop-filter: blur(12px);
  animation: slideDown 0.65s ease 0.08s both;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 210px;
  height: 78px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand:hover img {
  transform: scale(1.04);
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 3px;
  padding: 13px 24px;
  font-weight: 900;
}

.header-cta,
.btn.primary,
.form-submit {
  color: var(--white);
  background: var(--orange);
}

.header-cta:hover,
.btn.primary:hover,
.form-submit:hover {
  background: #d95e21;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(240, 111, 46, 0.28);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
  animation: heroZoom 8s ease-out both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 53, 83, 0.95) 0%, rgba(12, 95, 143, 0.78) 48%, rgba(9, 34, 63, 0.22) 100%),
    linear-gradient(0deg, rgba(9, 34, 63, 0.68), rgba(9, 34, 63, 0.06) 46%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 480px);
  gap: 70px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 760px;
  margin: 0 auto;
  padding: 92px 0;
  color: var(--white);
}

.hero-copy {
  max-width: 760px;
  animation: fadeUp 0.85s ease 0.25s both;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: #ffc48e;
}

h1 {
  max-width: 780px;
  font-family: "Montserrat", "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-family: "Montserrat", "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-family: "Montserrat", "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 1.18;
}

.lead {
  max-width: 630px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 42px;
}

.phone-link {
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.request-card {
  padding: 36px;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: fadeInRight 0.85s ease 0.45s both;
}

.embedded-form-card {
  min-height: 760px;
  padding: 30px;
  overflow: hidden;
  border-radius: 8px;
}

.embedded-form-head {
  margin-bottom: 18px;
}

.embedded-form-head h2 {
  margin-top: 8px;
  font-size: 30px;
}

.embedded-form-card iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  background: var(--white);
}

.form-kicker {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.request-card h2 {
  margin: 8px 0 22px;
  font-size: 30px;
}

.request-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #5d6675;
  font-size: 14px;
  font-weight: 800;
}

.request-card input,
.request-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px;
  color: var(--ink);
  background: #fbfcfe;
  font: inherit;
}

.request-card textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats-band div {
  padding: 34px max(20px, calc((100vw - 1180px) / 8));
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-band div:hover {
  z-index: 1;
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(9, 34, 63, 0.12);
}

.stats-band strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.image-stack img {
  position: absolute;
  width: 72%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}

.image-stack:hover img:first-child {
  transform: translate(-8px, -8px);
}

.image-stack:hover img:last-child {
  transform: translate(8px, 8px);
}

.image-stack img:first-child {
  top: 0;
  left: 0;
}

.image-stack img:last-child {
  right: 0;
  bottom: 0;
  border: 10px solid var(--white);
}

.copy-block p:not(.eyebrow),
.section-head p:not(.eyebrow),
.contact-section p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--navy);
  font-weight: 800;
}

.check-list li::before,
.two-col-list span::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

.services-section,
.references-section {
  padding: 100px max(20px, calc((100vw - 1180px) / 2));
  background: var(--paper);
}

.section-head {
  max-width: 780px;
  margin-bottom: 46px;
}

.compact {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-grid article {
  background: var(--white);
  box-shadow: 0 16px 40px rgba(9, 34, 63, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-grid article:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 54px rgba(9, 34, 63, 0.18);
}

.service-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-grid article:hover img {
  transform: scale(1.07);
}

.service-grid article div {
  padding: 30px;
}

.service-grid p,
.why-grid p {
  margin-top: 14px;
  color: var(--muted);
}

.wide-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}

.wide-photo:hover {
  transform: scale(1.015);
}

.two-col-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  margin-top: 34px;
}

.two-col-list span {
  position: relative;
  padding-left: 28px;
  color: var(--navy);
  font-weight: 900;
}

.why-section {
  padding: 102px max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-grid article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.why-grid article:hover {
  border-color: rgba(240, 111, 46, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(9, 34, 63, 0.1);
}

.why-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.featured-work {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 18px;
  margin-bottom: 18px;
}

.featured-work img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.featured-work img:hover {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.04);
}

.featured-work img:first-child {
  height: 470px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery button {
  aspect-ratio: 1 / 0.76;
  padding: 0;
  border: 0;
  background: var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(9, 34, 63, 0.16);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery button:hover img {
  transform: scale(1.06);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--blue-dark);
}

.contact-section img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

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

.contact-section p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.contact-cards a {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-cards a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-5px);
}

.contact-cards span {
  display: block;
  color: #ffc48e;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-cards strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 46px;
  padding: 56px max(20px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.76);
  background: #071a31;
}

.site-footer img {
  width: 160px;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.site-footer strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
}

.site-footer a,
.site-footer p {
  display: block;
  margin-top: 7px;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(7, 26, 49, 0.92);
  animation: fadeIn 0.2s ease both;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1180px, 100%);
  max-height: 84vh;
  box-shadow: var(--shadow);
  animation: lightboxPop 0.22s ease both;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  width: 58px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(240, 111, 46, 0.88);
  font-size: 56px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--orange);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-count {
  position: fixed;
  left: 50%;
  bottom: 22px;
  padding: 8px 14px;
  color: var(--white);
  background: rgba(7, 26, 49, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 900;
  transform: translateX(-50%);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.service-grid article.reveal:nth-child(2),
.why-grid article.reveal:nth-child(2),
.gallery button.reveal:nth-child(2n) {
  transition-delay: 0.08s;
}

.service-grid article.reveal:nth-child(3),
.why-grid article.reveal:nth-child(3n),
.gallery button.reveal:nth-child(3n) {
  transition-delay: 0.16s;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lightboxPop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

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

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  color: var(--white);
  background: var(--orange);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    grid-column: 1 / -1;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .site-nav.open a {
    padding: 12px;
  }

  .hero-inner,
  .section-split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .request-card {
    max-width: 520px;
  }

  .stats-band,
  .service-grid,
  .why-grid,
  .featured-work,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-stack {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .topbar {
    display: none;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    width: 148px;
    height: 60px;
  }

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

  .hero-inner {
    width: calc(100% - 28px);
    padding: 62px 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 17px;
  }

  .request-card {
    padding: 26px 20px;
  }

  .embedded-form-card {
    min-height: 760px;
    padding: 20px 14px;
  }

  .embedded-form-head h2 {
    font-size: 28px;
  }

  .stats-band,
  .service-grid,
  .why-grid,
  .featured-work,
  .gallery,
  .contact-cards,
  .site-footer,
  .two-col-list {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    padding: 26px 20px;
  }

  .section-split,
  .services-section,
  .references-section,
  .why-section,
  .contact-section {
    padding: 64px 14px;
  }

  .section-split {
    width: 100%;
  }

  .image-stack {
    min-height: auto;
  }

  .image-stack img {
    position: static;
    width: 100%;
    height: 300px;
    margin-bottom: 14px;
  }

  .image-stack img:last-child {
    border: 0;
  }

  .wide-photo,
  .contact-section img,
  .featured-work img,
  .featured-work img:first-child {
    height: 300px;
  }

  .lightbox {
    padding: 72px 14px 54px;
  }

  .lightbox img {
    max-height: 72vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 12px;
    width: 48px;
    height: 48px;
    font-size: 42px;
    transform: none;
  }

  .lightbox-nav:hover {
    transform: none;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .lightbox-count {
    bottom: 19px;
  }
}
