:root {
  --navy: #104372;
  --steel: #6699BF;
  --yellow: #F1EC3C;
  --navy-deep: #0B2E4D;
  --text: #1C2A36;
  --muted: #5A6A78;
  --bg: #F4F6F8;
  --white: #ffffff;
  --border: #D5DDE4;
  --max: 1120px;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 8px;
  --header-h: 4.4rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img, picture, picture img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--steel); }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.5rem 1rem; z-index: 1000;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 40px; width: auto; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 6px;
  width: 2.6rem; height: 2.6rem; padding: 0; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 1.1rem; height: 2px; background: var(--navy); margin: 0 auto; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-nav { display: flex; align-items: center; gap: 0.15rem 1.1rem; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--navy-deep); font-weight: 600; font-size: 0.95rem;
  padding: 0.35rem 0;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--yellow); }
.nav-item { position: relative; }
.nav-item summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  color: var(--navy-deep); padding: 0.35rem 0;
}
.nav-item summary::-webkit-details-marker { display: none; }
.nav-item summary::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 0.35em; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--muted); vertical-align: middle; }
.dropdown {
  position: absolute; top: calc(100% + 0.4rem); left: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  min-width: 18rem; padding: 0.4rem 0;
  box-shadow: 0 8px 24px rgba(16,67,114,0.08);
  z-index: 20;
}
.dropdown a { display: block; padding: 0.55rem 0.9rem; box-shadow: none; }
.dropdown a:hover { background: var(--bg); }
.lang { display: flex; gap: 0.35rem; align-items: center; margin-left: 0.6rem; font-size: 0.85rem; }
.lang a { text-decoration: none; color: var(--muted); font-weight: 600; padding: 0.15rem 0.3rem; box-shadow: none; }
.lang a[aria-current="true"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--yellow); }

/* Full-viewport photo slider */
.hero-slider {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide picture, .hero-slide img {
  width: 100%; height: 100%;
  max-width: none;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,46,77,0.82) 0%, rgba(16,67,114,0.58) 48%, rgba(16,67,114,0.32) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 6.5rem 0 4.5rem;
}
.hero-slider .kicker { color: var(--yellow); letter-spacing: 0.14em; }
.hero-slider h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 3rem);
  max-width: 16em;
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero-slider .lede {
  color: #e8eef4;
  font-size: 1.08rem;
  margin: 0 0 0.2rem;
  max-width: 36rem;
}
.hero-nav, .hero-dots { z-index: 4; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.6rem; height: 2.6rem;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(11,46,77,0.35);
  color: #fff; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.hero-nav:hover, .hero-nav:focus { background: rgba(11,46,77,0.7); outline: 2px solid var(--yellow); }
.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 1.4rem;
  display: flex; justify-content: center; gap: 0.45rem;
}
.hero-dots button {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.45);
}
.hero-dots button[aria-current="true"] { background: var(--yellow); }

/* Interior page photo banner */
.page-hero {
  position: relative;
  min-height: 20rem;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}
.page-hero picture, .page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,46,77,0.35) 0%, rgba(11,46,77,0.78) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; padding: 3.4rem 0 1.8rem; width: min(var(--max), calc(100% - 2.4rem)); }
.page-hero .kicker { color: var(--yellow); }
.page-hero h1 { color: #fff; margin: 0 0 0.35rem; max-width: 20em; }
.page-hero .lede { color: #e4ebf2; margin: 0; max-width: 40rem; }

.kicker {
  color: var(--navy); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.7rem;
}
h1, h2, h3 { font-weight: 700; line-height: 1.22; color: var(--navy-deep); }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); margin: 0 0 0.8rem; }
.lede { font-size: 1.1rem; color: var(--muted); margin: 0 0 1rem; max-width: 46rem; }
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1rem; }
.section { padding: 3rem 0; }
.section-alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 1.5rem; margin: 0 0 0.55rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.section-head p { margin: 0; color: var(--muted); max-width: 40rem; }

/* Stats */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 1.7rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.stats .num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.1;
}
.stats .label { color: #d7e3ee; font-size: 0.95rem; font-weight: 600; }

/* Photo service cards */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin-top: 1.2rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem;
  text-decoration: none; color: inherit;
  overflow: hidden;
}
a.card:hover { border-color: var(--steel); box-shadow: 0 8px 22px rgba(16,67,114,0.1); color: inherit; }
.card.card-photo { padding: 0; }
.card-photo .thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d5dde4;
}
.card-photo .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
a.card-photo:hover .thumb img { transform: scale(1.04); }
.card-photo .card-body { padding: 0.95rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .more { margin-top: auto; font-weight: 700; color: var(--navy); font-size: 0.9rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; text-decoration: none;
  font-weight: 700; padding: 0.7rem 1.15rem; border-radius: 6px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 0.98rem;
}
.btn:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy-deep); }
.btn-yellow:hover { background: #e6e02a; color: var(--navy-deep); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

.clients-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: center;
  margin-top: 1.1rem;
}
.clients-row picture, .clients-row img {
  max-height: 64px; width: auto; max-width: 140px; margin: 0 auto;
  object-fit: contain; display: block;
}
.clients-row img { max-height: 64px; height: auto; }

.address-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-top: 1.1rem; }
.address-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.05rem; border-top: 3px solid var(--steel); }
.address-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.address-card p { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.address-card a { font-weight: 600; font-size: 0.88rem; }

/* Home mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 7.4rem;
  gap: 0.5rem;
  margin: 1rem 0 1.2rem;
}
.mosaic a {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #d5dde4; display: block;
}
.mosaic a picture, .mosaic a img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
}
.mosaic a img {
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mosaic a:hover img { transform: scale(1.05); }
.mosaic a:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic a:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 3; }
.mosaic a:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 2; }
.mosaic a:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 3; }
.mosaic a:nth-child(5) { grid-column: 1 / 2; grid-row: 3 / 5; }
.mosaic a:nth-child(6) { grid-column: 2 / 4; grid-row: 3 / 5; }
.mosaic a:nth-child(7) { grid-column: 4 / 5; grid-row: 3 / 4; }
.mosaic a:nth-child(8) { grid-column: 4 / 5; grid-row: 4 / 5; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin: 1rem 0 2rem; }
.gallery figure { margin: 0; background: #e8eef2; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 200px; object-fit: cover; }
.gallery figcaption { font-size: 0.82rem; color: var(--muted); padding: 0.45rem 0.6rem 0.6rem; }

.cta-band {
  background: var(--navy);
  color: #d7e3ee;
  padding: 2.4rem 0;
}
.cta-band h2 { color: #fff; margin: 0 0 0.4rem; }
.cta-band p { margin: 0 0 1rem; max-width: 40rem; }
.cta-band a:not(.btn) { color: #fff; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-grid .address-grid { grid-template-columns: 1fr 1fr; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.contact-list li { margin: 0 0 0.55rem; }
.form { display: grid; gap: 0.75rem; }
.form label { font-weight: 600; font-size: 0.92rem; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 6px;
  padding: 0.65rem 0.75rem; font: inherit; background: var(--white); color: var(--text);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--steel); border-color: var(--steel); }
.form .hint { font-size: 0.88rem; color: var(--muted); margin: 0; }
.form .status { font-weight: 600; color: var(--navy); }
.note {
  background: var(--bg); border-left: 3px solid var(--steel);
  padding: 0.85rem 1rem; margin: 1rem 0;
}
ul.plain { margin: 0.4rem 0 1rem; padding-left: 1.15rem; }
ul.plain li { margin: 0.25rem 0; }
.site-footer {
  background: var(--navy-deep); color: #d7e3ee; padding: 2.4rem 0 1.6rem; margin-top: 0;
  font-size: 0.92rem;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.6rem; }
.site-footer h2 { color: #fff; font-size: 0.95rem; margin: 0 0 0.6rem; }
.site-footer p, .site-footer li { margin: 0 0 0.35rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.6rem; padding-top: 0.9rem; color: #a9bdd0; font-size: 0.82rem; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .address-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 10rem; }
  .mosaic a:nth-child(n) { grid-column: auto; grid-row: auto; }
  .mosaic a:nth-child(1),
  .mosaic a:nth-child(8) { grid-column: 1 / 3; grid-row: auto; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 0.6rem 1.2rem 1rem; gap: 0.2rem;
  }
  .site-nav.is-open { display: flex; }
  .dropdown { position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 0 0.6rem; }
  .lang { margin: 0.6rem 0 0; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .clients-row { grid-template-columns: 1fr 1fr; }
  .hero-nav { display: none; }
  .hero-slider h1 { font-size: 1.75rem; }
  .page-hero { min-height: 13rem; }
}
@media (max-width: 520px) {
  .cards, .address-grid, .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 220px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 8.8rem; }
  .mosaic a:nth-child(1),
  .mosaic a:nth-child(8) { grid-column: 1 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .mosaic img, .card-photo .thumb img { transition: none; }
}
