:root {
  --ink: #17202a;
  --muted: #61707c;
  --line: #d9e1e7;
  --paper: #f6f8fa;
  --white: #ffffff;
  --teal: #0b7a75;
  --teal-dark: #075e5a;
  --coral: #c97a24;
  --amber: #d99a2b;
  --green-soft: #e9f3f1;
  --navy: #1d3557;
  --navy-soft: #edf2f7;
  --shadow: 0 20px 55px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 225, 231, 0.9);
  background: rgba(246, 248, 250, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 24px;
}

.brand-mark.logo-mark {
    width: 70px;
    height: 70px;
    background: transparent;
    overflow: hidden;
}

.brand-mark.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand strong {
    color: #1F365C;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--navy-soft);
}

.nav-links a.active-link {
  color: var(--navy);
  background: var(--navy-soft);
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 32, 42, 0.92), rgba(29, 53, 87, 0.64) 48%, rgba(11, 122, 117, 0.18)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, var(--paper), rgba(246, 248, 250, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 170px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.btn.primary {
  background: var(--navy);
  color: var(--white);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn.outline {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
}

.contact .btn.secondary {
  border-color: var(--line);
  color: var(--white);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  color: var(--navy);
  font-size: 38px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  line-height: 1.25;
}

p {
  margin: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 42px;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p + p {
  margin-top: 18px;
}

.value-stack {
  display: grid;
  gap: 16px;
}

.value-stack article,
.service-grid article,
.project-card,
.team-grid article,
.office-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.value-stack article {
  padding: 24px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px 18px;
}

.value-stack span {
  grid-row: span 2;
  color: var(--coral);
  font-weight: 800;
  font-size: 28px;
}

.value-stack p,
.service-grid p,
.project-card p,
.team-grid p,
.office-list p {
  color: var(--muted);
}

.services,
.clients {
  width: 100%;
  max-width: none;
  padding: 96px max(16px, calc((100% - 1180px) / 2));
  background: var(--white);
}

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

.service-grid article {
  min-height: 230px;
  padding: 24px;
  background: linear-gradient(180deg, var(--white), #f7faf9);
}

.service-grid h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.section-action {
  margin: -18px 0 28px;
}

.filter-btn {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-card span {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f8ead2;
  color: #7b4f12;
  font-weight: 800;
}

.project-card small {
  margin-top: auto;
  color: var(--navy);
  font-weight: 800;
}

.client-bands {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.client-bands div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.client-bands p {
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-grid article {
  min-height: 240px;
  padding: 18px;
  overflow: hidden;
}

.team-grid h3 {
  margin-bottom: 6px;
  color: var(--navy);
}

.team-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  display: block;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  background: var(--green-soft);
}

.board-grid {
  grid-template-columns: repeat(5, 1fr);
}

.core-team {
  padding-top: 0;
}

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

.core-grid article {
  min-height: 430px;
}

.contact {
  width: 100%;
  max-width: none;
  padding: 96px max(16px, calc((100% - 1180px) / 2));
  background: var(--navy);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  color: var(--white);
}

.contact-panel > div > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.office-list {
  display: grid;
  gap: 14px;
}

.office-list article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.office-list h3 {
  margin-bottom: 8px;
}

.office-list p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(16px, calc((100% - 1180px) / 2));
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.page-hero {
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: 140px max(16px, calc((100% - 1180px) / 2)) 82px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 32, 42, 0.94), rgba(29, 53, 87, 0.62)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.projects-hero {
  background:
    linear-gradient(90deg, rgba(23, 32, 42, 0.94), rgba(11, 122, 117, 0.52)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero div {
  max-width: 880px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.career-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.5fr;
  gap: 28px;
  align-items: start;
}

.career-sidebar,
.career-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(23, 32, 42, 0.06);
}

.career-sidebar {
  padding: 28px;
  position: sticky;
  top: 100px;
}

.career-sidebar h3 {
  margin-bottom: 16px;
}

.career-sidebar ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.career-sidebar li + li {
  margin-top: 10px;
}

.note-box {
  margin-top: 28px;
  padding: 18px;
  border-radius: 8px;
  background: var(--green-soft);
}

.note-box strong {
  display: block;
  margin-bottom: 8px;
}

.note-box p {
  color: var(--muted);
}

.career-form {
  padding: 28px;
}

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

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

.form-row label,
.check-row {
  color: var(--ink);
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(11, 122, 117, 0.18);
  border-color: var(--teal);
}

.form-row small {
  color: var(--muted);
}

.check-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 8px 0 24px;
  color: var(--muted);
  font-weight: 600;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-submit {
  border: 0;
  cursor: pointer;
}

.form-status {
  margin-top: 14px;
  color: var(--navy);
  font-weight: 700;
}

.portfolio-section {
  padding-top: 64px;
}

.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.portfolio-stats article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.06);
}

.portfolio-stats strong {
  display: block;
  color: var(--navy);
  font-size: 38px;
  line-height: 1;
}

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

.project-browser {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.project-filter-panel {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.06);
}

.project-filter-panel label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.project-filter-panel input,
.project-filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.project-filter-panel input:focus,
.project-filter-panel select:focus {
  outline: 3px solid rgba(11, 122, 117, 0.18);
  border-color: var(--teal);
}

.reset-filters {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.project-results {
  min-width: 0;
}

.results-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.results-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.results-head > p {
  color: var(--muted);
  font-weight: 800;
}

.all-project-grid {
  display: grid;
  gap: 14px;
}

.full-project-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-year-badge {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 800;
}

.full-project-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.project-meta span {
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--navy-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.full-project-card p {
  color: var(--muted);
}

.full-project-card small {
  display: block;
  margin-top: 14px;
  color: var(--navy);
  font-weight: 800;
}

.empty-projects {
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    margin-bottom: 250px;
  }

  .hero-panel,
  .section-heading,
  .intro-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }

  .service-grid,
  .project-list,
  .team-grid,
  .career-layout,
  .portfolio-stats,
  .project-browser {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-layout,
  .project-browser {
    grid-template-columns: 1fr;
  }

  .career-sidebar,
  .project-filter-panel {
    position: static;
  }

  .client-bands div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    margin-bottom: 300px;
  }

  .hero-panel,
  .service-grid,
  .project-list,
  .team-grid,
  .form-grid,
  .portfolio-stats {
    grid-template-columns: 1fr;
  }

  .results-head,
  .full-project-card {
    grid-template-columns: 1fr;
  }

  .results-head {
    display: grid;
  }

  .section,
  .services,
  .clients,
  .contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .value-stack article {
    grid-template-columns: 1fr;
  }

  .value-stack span {
    grid-row: auto;
  }
}

/* ─── About page section nav ─────────────────────────────────── */
.about-page-nav {
  position: sticky;
  top: 76px;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.about-page-nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 0;
  overflow-x: auto;
}

.about-page-nav-inner a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.about-page-nav-inner a:hover {
  color: var(--navy);
  background: var(--navy-soft);
}

/* ─── Section with full-width background (board) ─────────────── */
.section-full-bg {
  width: 100%;
  max-width: none;
  padding: 96px max(16px, calc((100% - 1180px) / 2));
  background: var(--white);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

/* ─── Core/team grid tweak ───────────────────────────────────── */
.team-grid article span {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ─── News grid ──────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.news-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-card h3 {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

.news-card p {
  color: var(--muted);
  flex: 1;
}

.news-card small {
  color: var(--coral);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ─── Service area section body ──────────────────────────────── */
.service-section-body {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.service-section-body p + p {
  margin-top: 16px;
}

.service-bullets {
  margin: 16px 0 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.service-bullets li {
  color: var(--muted);
}

/* ─── Client category blocks ─────────────────────────────────── */
.client-category-block {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.client-category-block:first-child {
  padding-top: 0;
}

.client-cat-heading {
  margin: 0 0 20px;
  font-size: clamp(18px, 3vw, 28px);
  color: var(--navy);
}

.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}

.client-list li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.client-list a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(11, 122, 117, 0.3);
  font-weight: 600;
}

.client-list a:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

/* ─── Gallery album grid ─────────────────────────────────────── */
.gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.gallery-album-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s;
}

.gallery-album-card:hover {
  box-shadow: var(--shadow);
}

.gallery-album-cover {
  height: 180px;
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--navy-soft) 100%);
  width: 100%;
  object-fit: cover;
  display: block;
}

.gallery-album-info {
  padding: 18px 20px;
}

.gallery-album-info h3 {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 6px;
}

.gallery-album-info span {
  color: var(--muted);
  font-size: 13px;
}

/* ─── Gallery image grid (detail pages) ─────────────────────── */
.gallery-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--navy-soft) 100%);
  border: 1px solid var(--line);
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px var(--shadow);
  cursor: zoom-in;
}

/* ─── Lightbox ─────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  user-select: none;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s;
  padding: 0 6px;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 14px 18px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
  user-select: none;
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.28);
}

.lightbox-counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-family: inherit;
}

/* ─── Downloads list ─────────────────────────────────────────── */
.downloads-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.download-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.download-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(11, 122, 117, 0.1);
}

.download-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fef3e8;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.download-card h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.35;
}

.download-card span {
  color: var(--muted);
  font-size: 13px;
}

/* ─── Map container ──────────────────────────────────────────── */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ─── Responsive additions ───────────────────────────────────── */
@media (max-width: 920px) {
  .news-grid,
  .gallery-album-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-image-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-list {
    grid-template-columns: 1fr;
  }

  .about-page-nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .news-grid,
  .gallery-album-grid,
  .gallery-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .download-icon {
    display: none;
  }
}
