:root {
  --fcb-blue-950: #07223e;
  --fcb-blue-900: #0b3c5d;
  --fcb-blue-700: #156f9f;
  --fcb-blue-500: #27a7d8;
  --fcb-green-500: #7ac943;
  --fcb-green-300: #9ddb73;
  --paper: #f5f7fa;
  --paper-strong: #eef3f7;
  --ink-900: #16212b;
  --ink-700: #556473;
  --line: rgba(11, 60, 93, 0.12);
  --white: #ffffff;
  --shadow-soft: 0 18px 36px -28px rgba(7, 34, 62, 0.3);
  --shadow-strong: 0 34px 76px -46px rgba(7, 34, 62, 0.44);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8fbfc 0%, #f1f5f8 38%, #f7f9fb 100%);
}

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

a,
button,
input,
select,
textarea {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: var(--fcb-blue-950);
  color: var(--white);
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 60, 93, 0.08);
  background: rgba(245, 247, 250, 0.9);
}

.topbar-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

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

.brand-copy strong {
  color: var(--fcb-blue-950);
  font: 400 1.95rem/1 "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}

.brand-copy span {
  color: var(--ink-700);
  font: 600 0.72rem/1.15 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 60, 93, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--fcb-blue-900);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(39, 167, 216, 0.58);
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}

.nav-toggle:active {
  transform: translateY(0);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease, background-color 180ms ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.topbar-row.nav-open .nav-toggle-icon {
  background: transparent;
}

.topbar-row.nav-open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.topbar-row.nav-open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav a {
  color: var(--ink-700);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font: 700 0.78rem/1 "Montserrat", sans-serif;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--fcb-blue-900);
}

.nav a:active {
  opacity: 0.7;
}

.nav .nav-phone {
  color: var(--fcb-blue-900);
  border: 1px solid rgba(11, 60, 93, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.84rem;
  background: rgba(255, 255, 255, 0.68);
}

.nav .nav-phone:hover,
.nav .nav-phone:focus-visible {
  color: var(--fcb-blue-900);
  border-color: rgba(21, 111, 159, 0.42);
  background: rgba(255, 255, 255, 0.92);
}

.nav .nav-cta {
  color: var(--white);
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  background: linear-gradient(135deg, var(--fcb-blue-900), var(--fcb-blue-500));
  letter-spacing: 0.05em;
  box-shadow: 0 16px 34px -24px rgba(7, 34, 62, 0.6);
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, #0a3352, #2499c8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font: 700 0.94rem/1 "Montserrat", sans-serif;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--fcb-blue-900), var(--fcb-blue-500));
  box-shadow: var(--shadow-strong);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 28px 66px -40px rgba(7, 34, 62, 0.6);
}

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.86;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  color: var(--fcb-blue-900);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
}

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

.btn:focus-visible,
.nav a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(39, 167, 216, 0.26);
  outline-offset: 3px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 360px at 92% 18%, rgba(122, 201, 67, 0.15), transparent 58%),
    radial-gradient(680px 320px at 88% 0%, rgba(39, 167, 216, 0.18), transparent 56%),
    linear-gradient(135deg, var(--fcb-blue-950) 0%, var(--fcb-blue-900) 58%, #0e5e91 100%);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 860px;
  height: 860px;
  right: -260px;
  top: -340px;
  border: 40px solid rgba(255, 255, 255, 0.08);
}

.hero::after {
  width: 650px;
  height: 650px;
  right: -140px;
  top: -220px;
  border: 18px solid rgba(157, 219, 115, 0.18);
}

.hero-inner {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 1rem;
  align-items: center;
  padding: 5.4rem 0 8rem;
}

.hero-copy {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.hero-copy .hero-text,
.hero-copy .btn-secondary {
  color: var(--white);
}

.hero-copy h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.hero-copy .hero-text {
  opacity: 0.94;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--fcb-green-300);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 700 0.76rem/1.15 "Montserrat", sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.04;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.05em;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.2vw, 3.45rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.2rem;
}

.hero-text,
.section-head p,
.service-band p,
.gallery-copy,
.contact-copy p,
.form-help,
.footer-row p,
.gallery-status {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero-mark img {
  width: min(100%, 330px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px;
  filter: drop-shadow(0 28px 44px rgba(7, 34, 62, 0.3));
  position: relative;
  z-index: 1;
}

.hero-mark-ring {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 64%);
}

.snapshot {
  margin-top: -4.4rem;
  position: relative;
  z-index: 2;
}

.snapshot-card,
.service-band,
.contact-card,
.gallery-item,
.empty-state,
.testimonial-card,
.service-overview-card,
.service-detail-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.snapshot-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.6rem;
  align-items: center;
  padding: 1.45rem 1.6rem;
}

.snapshot-label {
  margin: 0 0 0.45rem;
  color: var(--fcb-blue-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 700 0.72rem/1 "Montserrat", sans-serif;
}

.snapshot-card strong {
  display: block;
  color: var(--fcb-blue-950);
  font: 700 1.36rem/1.2 "Montserrat", sans-serif;
}

.snapshot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.snapshot-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-700);
  font-size: 0.98rem;
}

.snapshot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: var(--fcb-green-500);
}

.section {
  padding: 5rem 0;
}

.section-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.services-section {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(11, 60, 93, 0.07);
  border-bottom: 1px solid rgba(11, 60, 93, 0.07);
}

.section-head p,
.contact-copy p {
  margin: 1rem 0 0;
}

.service-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.9rem;
}

.service-band {
  display: flex;
  min-height: 210px;
  padding: 1.45rem 1.4rem;
  border-left: 8px solid rgba(39, 167, 216, 0.82);
  align-items: flex-start;
}

.service-band h3 {
  color: var(--fcb-blue-950);
}

.service-band p {
  margin: 0.55rem 0 0;
}

.gallery-section,
.gallery-page-section {
  background: linear-gradient(180deg, rgba(231, 239, 245, 0.9), rgba(241, 246, 249, 0.98));
  border-top: 1px solid rgba(11, 60, 93, 0.08);
  border-bottom: 1px solid rgba(11, 60, 93, 0.08);
}

.gallery-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}

.gallery-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.7rem;
}

.btn-gallery-page {
  color: var(--fcb-blue-900);
  border-color: rgba(11, 60, 93, 0.25);
  background: rgba(255, 255, 255, 0.58);
}

.gallery-row {
  position: relative;
  overflow: hidden;
  padding: 0.45rem 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.gallery-track {
  display: flex;
  gap: 0.95rem;
  width: max-content;
  animation: galleryMarquee 44s linear infinite;
}

.gallery-row:hover .gallery-track,
.gallery-row:focus-within .gallery-track {
  animation-play-state: paused;
}

.gallery-card {
  width: clamp(250px, 28vw, 340px);
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.gallery-card button {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-card button:hover img,
.gallery-card button:focus-visible img {
  transform: scale(1.02);
}

.gallery-card button:focus-visible {
  outline: 3px solid rgba(39, 167, 216, 0.26);
  outline-offset: 4px;
  border-radius: 16px;
}

.gallery-card img {
  width: 100%;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  transition: transform 220ms ease;
  background: linear-gradient(140deg, rgba(11, 60, 93, 0.06), rgba(39, 167, 216, 0.1));
  border-radius: 14px;
}

.gallery-grid-full {
  margin-top: 1.8rem;
}

.gallery-grid-static {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery-card-grid {
  width: auto;
  min-height: 240px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 1.6rem;
  text-align: center;
  border-style: dashed;
  background:
    radial-gradient(340px 160px at 100% 0%, rgba(39, 167, 216, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 247, 0.9));
}

.empty-state div {
  max-width: 40rem;
}

.empty-state strong {
  color: var(--fcb-blue-950);
  font: 700 1.15rem/1.2 "Montserrat", sans-serif;
}

.empty-state p {
  max-width: 42ch;
  margin: 0.75rem auto 0;
  color: var(--ink-700);
}

.gallery-status {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.testimonials-section {
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(11, 60, 93, 0.07);
  border-bottom: 1px solid rgba(11, 60, 93, 0.07);
}

.testimonials-grid {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  padding: 1.3rem 1.2rem;
}

.testimonials-slider {
  margin-top: 1.7rem;
}

.testimonials-slider.is-enhanced {
  display: grid;
  gap: 1rem;
  position: relative;
  touch-action: pan-y;
  padding-inline: 1rem;
}

.testimonials-slider.is-enhanced .testimonial-card {
  grid-area: 1 / 1;
  padding: 1.5rem 4.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1100ms ease-in-out, visibility 1100ms ease-in-out;
}

.testimonials-slider.is-enhanced .testimonial-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.testimonials-arrow {
  grid-area: 1 / 1;
  align-self: center;
  z-index: 3;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(8, 48, 84, 0.75);
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 clamp(2.15rem, 3.5vw, 2.95rem) / 1 "Montserrat", sans-serif;
  text-shadow: 0 4px 12px rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, color 220ms ease;
}

.testimonials-arrow-prev {
  justify-self: start;
  margin-left: 0.65rem;
}

.testimonials-arrow-next {
  justify-self: end;
  margin-right: 0.65rem;
}

.testimonials-arrow:hover,
.testimonials-arrow:focus-visible {
  color: var(--fcb-blue-700);
  transform: translateY(-1px);
}

.testimonials-arrow:active {
  transform: translateY(0);
}

.testimonials-dots {
  grid-area: 2 / 1;
  display: flex;
  justify-content: center;
  gap: 0.56rem;
}

.testimonial-dot {
  width: 0.74rem;
  height: 0.74rem;
  border: 1px solid rgba(11, 60, 93, 0.3);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  background: rgba(11, 60, 93, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, background-color 220ms ease;
}

.testimonial-dot:hover,
.testimonial-dot:focus-visible {
  border-color: rgba(39, 167, 216, 0.8);
  background: rgba(39, 167, 216, 0.32);
  transform: scale(1.06);
}

.testimonial-dot.is-active,
.testimonial-dot[aria-current="true"] {
  border-color: rgba(39, 167, 216, 0.95);
  background: linear-gradient(135deg, var(--fcb-blue-900), var(--fcb-blue-500));
}

.testimonial-quote {
  margin: 0;
  font: 600 1.06rem/1.55 "Open Sans", sans-serif;
  color: var(--fcb-blue-950);
}

.testimonial-meta {
  margin: 0.9rem 0 0;
  color: var(--ink-700);
  font: 600 0.9rem/1.4 "Montserrat", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(244, 247, 250, 0.9));
}

.contact-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 1.2rem;
  padding: 1.55rem;
}

.contact-copy h2 {
  font-size: clamp(2.45rem, 5vw, 4rem);
}

.contact-copy p {
  font-size: 1.12rem;
  line-height: 1.7;
}

.contact-callout {
  margin-top: 1.1rem;
  color: var(--fcb-blue-900);
  font: 700 1.02rem/1.4 "Montserrat", sans-serif;
}

.contact-callout a {
  color: var(--fcb-blue-700);
  text-decoration: none;
}

.contact-callout a:hover,
.contact-callout a:focus-visible {
  text-decoration: underline;
}

.project-form {
  display: grid;
  gap: 0.72rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.project-form label {
  color: var(--fcb-blue-900);
  font: 700 0.94rem/1 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(11, 60, 93, 0.14);
  background: var(--paper);
  color: var(--ink-900);
  font-size: 1rem;
  line-height: 1.45;
  padding: 0.95rem 1rem;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.project-form input[type="file"] {
  border-style: dashed;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.88);
}

.project-form input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(135deg, var(--fcb-blue-900), var(--fcb-blue-500));
  color: var(--white);
  font: 700 0.8rem/1 "Montserrat", sans-serif;
  cursor: pointer;
}

.select-field {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(11, 60, 93, 0.14);
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.select-field:hover {
  border-color: rgba(39, 167, 216, 0.28);
}

.select-field:focus-within {
  border-color: rgba(39, 167, 216, 0.48);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(39, 167, 216, 0.12);
}

.select-field::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.72rem;
  height: 0.72rem;
  border-right: 2px solid var(--fcb-blue-700);
  border-bottom: 2px solid var(--fcb-blue-700);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.project-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  outline: 0;
  padding-right: 3rem;
  padding-left: 1rem;
  background: transparent;
  background-image: none;
  font-size: 1rem;
  line-height: 1.4;
}

.project-form input:hover,
.project-form textarea:hover {
  border-color: rgba(39, 167, 216, 0.28);
}

.project-form input:focus-visible,
.project-form textarea:focus-visible {
  background: var(--white);
  border-color: rgba(39, 167, 216, 0.48);
}

.form-help {
  margin: 0;
  min-height: 1.4rem;
  font-size: 1rem;
}

.form-note {
  margin: -0.2rem 0 0.4rem;
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-help[data-tone="success"] {
  color: #2f6e18;
}

.form-help[data-tone="error"] {
  color: #a43720;
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(7, 34, 62, 0.95), rgba(21, 111, 159, 0.9));
  color: var(--white);
  padding: clamp(3.6rem, 7vw, 5rem) 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 330px at 90% -5%, var(--page-hero-accent-a, rgba(122, 201, 67, 0.22)), transparent 58%),
    radial-gradient(640px 290px at 12% 105%, var(--page-hero-accent-b, rgba(39, 167, 216, 0.2)), transparent 58%),
    repeating-linear-gradient(
      128deg,
      rgba(255, 255, 255, 0.08) 0 12px,
      rgba(255, 255, 255, 0.02) 12px 30px
    );
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: min(46vw, 560px);
  height: 100%;
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(158deg, rgba(122, 201, 67, 0.24), rgba(122, 201, 67, 0.03) 42%),
    linear-gradient(192deg, rgba(39, 167, 216, 0.22), rgba(39, 167, 216, 0) 66%);
  opacity: 0.88;
  pointer-events: none;
  z-index: -1;
}

.page-hero--image {
  background-image:
    linear-gradient(
      112deg,
      var(--page-hero-tint-start, rgba(4, 21, 40, 0.9)) 0%,
      var(--page-hero-tint-mid, rgba(7, 34, 62, 0.82)) 44%,
      var(--page-hero-tint-end, rgba(15, 94, 145, 0.7)) 100%
    ),
    var(--page-hero-image);
  background-position: center, var(--page-hero-focus, center);
  background-repeat: no-repeat;
  background-size: cover, cover;
  background-blend-mode: normal, multiply;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-right: min(36vw, 380px);
}

.page-hero h1 {
  max-width: 17ch;
}

.page-hero p {
  margin: 1rem 0 0;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.services-overview-section,
.service-detail-section {
  background: linear-gradient(180deg, rgba(238, 244, 248, 0.76), rgba(247, 250, 252, 0.98));
}

.about-section {
  background: linear-gradient(180deg, rgba(245, 249, 252, 0.76), rgba(255, 255, 255, 0.96));
}

.about-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.about-copy-card,
.about-photo-card,
.about-value-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.about-copy-card,
.about-photo-card {
  padding: 1.35rem 1.25rem;
}

.about-copy-card h2 {
  margin: 0;
  color: var(--fcb-blue-950);
  font-size: 1.6rem;
}

.about-subhead {
  margin-top: 1.1rem;
  color: var(--fcb-blue-950);
  font-size: 1.2rem;
}

.about-copy-card p {
  margin: 0.85rem 0 0;
  color: var(--ink-700);
  line-height: 1.72;
}

.about-intro {
  font-weight: 600;
}

.about-photo-card {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  align-self: start;
}

.about-photo-placeholder {
  min-height: 360px;
  border-radius: 22px;
  border: 1px solid rgba(11, 60, 93, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.95));
  box-shadow:
    0 22px 44px -32px rgba(6, 36, 66, 0.44),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.95rem;
  overflow: hidden;
}

.about-photo-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}

.about-photo-placeholder p {
  margin: 0;
  color: var(--fcb-blue-950);
  font: 700 1.02rem/1.2 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-photo-placeholder span {
  margin-top: 0.42rem;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.about-photo-card figcaption {
  margin-top: 0.62rem;
  padding: 0.2rem 0.35rem;
  color: var(--ink-700);
  font-size: 0.86rem;
  line-height: 1.52;
}

.about-values-section {
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(11, 60, 93, 0.07);
  border-bottom: 1px solid rgba(11, 60, 93, 0.07);
}

.about-values-grid {
  margin-top: 1.65rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-value-card {
  padding: 1.2rem 1.1rem;
}

.about-value-card h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--fcb-blue-950);
}

.about-value-check {
  color: var(--fcb-green-500);
  font-size: 1rem;
  line-height: 1;
}

.about-value-card p {
  margin: 0.65rem 0 0;
  color: var(--ink-700);
}

.service-group-block + .service-group-block {
  margin-top: 2rem;
}

.service-group-title {
  margin: 0;
  color: var(--fcb-blue-950);
  font: 700 1.45rem/1.2 "Montserrat", sans-serif;
}

.service-overview-grid {
  margin-top: 0.95rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-overview-card,
.service-detail-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.2rem;
}

.service-overview-card {
  display: flex;
  flex-direction: column;
}

.service-overview-card h3,
.service-detail-card h2 {
  margin: 0;
  color: var(--fcb-blue-950);
  font-size: 1.15rem;
}

.service-overview-card p {
  margin: 0.65rem 0 1rem;
  color: var(--ink-700);
}

.service-overview-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(11, 60, 93, 0.1);
  box-shadow: 0 20px 40px -34px rgba(7, 34, 62, 0.48);
}

.service-overview-card .btn-secondary {
  margin-top: auto;
  align-self: flex-start;
  color: var(--fcb-blue-900);
  border-color: rgba(11, 60, 93, 0.24);
  background: rgba(11, 60, 93, 0.06);
}

.service-overview-card .btn-secondary:hover,
.service-overview-card .btn-secondary:focus-visible {
  background: rgba(11, 60, 93, 0.12);
}

.service-detail-layout {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-detail-card p {
  margin: 0.7rem 0 0;
  color: var(--ink-700);
}

.service-detail-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: var(--ink-700);
  display: grid;
  gap: 0.5rem;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(7, 34, 62, 0.84);
  backdrop-filter: blur(10px);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal-figure {
  margin: 0;
  width: min(92vw, 1200px);
  height: min(86vh, 900px);
  padding: 1rem;
  border-radius: 28px;
  background: rgba(245, 247, 250, 0.98);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.5);
}

.gallery-modal-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font: 700 0.84rem/1 "Montserrat", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.footer {
  padding: 0 0 2rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(11, 60, 93, 0.1);
}

.footer-row p {
  margin: 0;
}

.footer-row a {
  color: var(--fcb-blue-900);
}

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

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

@media (max-width: 980px) {
  .hero-inner,
  .snapshot-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-bottom: 7rem;
  }

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

  .service-overview-grid,
  .service-detail-layout,
  .testimonials-grid,
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1.25rem, 1160px);
  }

  .topbar-row {
    min-height: 72px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    max-width: calc(100% - 56px);
  }

  .brand-copy strong {
    font-size: 1.58rem;
  }

  .brand-copy span {
    font-size: 0.66rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.2rem 0 0.4rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .topbar-row.nav-open .nav {
    display: flex;
  }

  .nav a {
    display: block;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(11, 60, 93, 0.12);
    background: rgba(255, 255, 255, 0.84);
    padding: 0.75rem 0.9rem;
    text-align: left;
  }

  .nav .nav-phone,
  .nav .nav-cta {
    padding: 0.75rem 0.9rem;
  }

  .nav .nav-cta {
    text-align: center;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 4rem 0 6.5rem;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4.1rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(1.95rem, 9vw, 2.8rem);
  }

  .hero-mark {
    min-height: 260px;
  }

  .hero-mark-ring {
    width: 280px;
    height: 280px;
  }

  .snapshot {
    margin-top: -3.4rem;
  }

  .service-stack,
  .service-overview-grid,
  .service-detail-layout,
  .testimonials-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-arrow {
    display: none;
  }

  .testimonials-slider.is-enhanced {
    padding-inline: 0;
  }

  .testimonials-slider.is-enhanced .testimonial-card {
    padding: 1.3rem 1.2rem;
  }

  .about-photo-placeholder,
  .about-photo-placeholder img {
    min-height: 300px;
  }

  .section {
    padding: 4.1rem 0;
  }

  .gallery-top {
    align-items: flex-start;
  }

  .gallery-card {
    width: clamp(210px, 74vw, 290px);
    min-height: 220px;
  }

  .gallery-card img {
    max-height: 240px;
  }

  .page-hero .container {
    padding-right: 0;
  }

  .page-hero::after {
    width: 54vw;
    opacity: 0.72;
  }
}

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

  .reveal,
  .btn,
  .nav a,
  .gallery-track,
  .gallery-card img,
  .gallery-modal-close,
  .testimonials-slider.is-enhanced .testimonial-card,
  .testimonials-arrow,
  .testimonial-dot,
  .project-form input,
  .project-form select,
  .project-form textarea {
    transition: none;
  }

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

  .gallery-track {
    animation: none;
  }
}

@keyframes galleryMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.475rem));
  }
}
