:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --text: #172033;
  --muted: #5f6b82;
  --primary: #244a9a;
  --primary-dark: #18356f;
  --border: #d8dfeb;
  --shadow: 0 18px 40px rgba(23, 32, 51, 0.08);
  --radius: 20px;
  --container: 1180px;
}
html[lang="nl"] {
  --bg: #fbf5ef;
  --surface: #fffdf9;
  --surface-2: #f6ebdd;
  --text: #2f241d;
  --muted: #766659;
  --primary: #c96d2d;
  --primary-dark: #994c18;
  --border: #ead6c4;
  --shadow: 0 18px 40px rgba(71, 42, 21, 0.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8faff 0%, var(--bg) 100%);
  line-height: 1.6;
  font-size: 16px;
  overflow-wrap: anywhere;
}
html[lang="nl"] body {
  background: linear-gradient(180deg, #fff9f1 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(36, 74, 154, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
html[lang="nl"] .eyebrow {
  background: rgba(201, 109, 45, 0.11);
}
.section-head { max-width: 700px; margin-bottom: 28px; }
.section-head h2 { margin: 12px 0 10px; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.section-head p { margin: 0; color: var(--muted); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 255, 0.9);
  border-bottom: 1px solid rgba(216, 223, 235, 0.9);
}
html[lang="nl"] .topbar {
  background: rgba(255, 249, 241, 0.92);
  border-bottom-color: rgba(234, 214, 196, 0.92);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand strong { font-size: 21px; letter-spacing: 0.01em; }
.brand span { font-size: 12px; color: var(--muted); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu a { color: var(--muted); font-weight: 600; }
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
}
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
  transition: 0.2s ease;
}
.lang-switcher a::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  flex: 0 0 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.52);
}
.lang-switcher a[href*="/tr/"]::before {
  background:
    radial-gradient(circle at 38% 50%, #ffffff 0 20%, transparent 21%),
    radial-gradient(circle at 44% 50%, #d61f32 0 32%, transparent 33%),
    linear-gradient(135deg, #ea3348 0%, #b30f24 100%);
}
.lang-switcher a[href*="/en/"]::before {
  background:
    linear-gradient(90deg, transparent 43%, #ffffff 43% 57%, transparent 57%),
    linear-gradient(transparent 43%, #ffffff 43% 57%, transparent 57%),
    linear-gradient(135deg, #264b96 0%, #18356f 100%);
}
.lang-switcher a[href*="/nl/"]::before {
  background:
    linear-gradient(180deg, #b3202e 0 33%, #ffffff 33% 66%, #21468b 66% 100%);
}
.lang-switcher a.active, .lang-switcher a:hover {
  color: var(--primary);
  border-color: rgba(36, 74, 154, 0.18);
  background: rgba(36, 74, 154, 0.08);
  transform: translateY(-1px);
}
html[lang="nl"] .lang-switcher a.active,
html[lang="nl"] .lang-switcher a:hover {
  border-color: rgba(201, 109, 45, 0.28);
  background: rgba(201, 109, 45, 0.08);
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: rgba(36, 74, 154, 0.24); }
html[lang="nl"] .btn-secondary:hover { border-color: rgba(201, 109, 45, 0.28); }
.hero { padding: 72px 0 44px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: center;
}
.hero-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero-copy p {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.metric strong { display: block; font-size: 26px; }
.metric span { display: block; color: var(--muted); font-size: 14px; }
.hero-card {
  background: linear-gradient(160deg, #1d3264 0%, #254c9c 55%, #5a7ccc 100%);
  color: #fff;
  padding: 26px;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(20, 37, 72, 0.24);
}
html[lang="nl"] .hero-card {
  background: linear-gradient(160deg, #9d5422 0%, #c96d2d 52%, #e2a56f 100%);
  box-shadow: 0 24px 50px rgba(108, 60, 29, 0.22);
}
.hero-card img { border-radius: 20px; margin-bottom: 18px; }
.hero-card h3 { margin: 0 0 12px; font-size: 26px; }
.hero-card p { margin: 0 0 16px; color: rgba(255,255,255,0.84); }
.hero-card ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,0.88); }
.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.service-card h3, .project-card h3, .reference-card h3, .blog-card h3, .contact-card h3 { margin-top: 0; }
.service-card p, .project-card p, .reference-card p, .blog-card p, .contact-card p, .lead { color: var(--muted); }
.project-card img, .blog-card img, .reference-card img {
  border-radius: 16px;
  margin-bottom: 18px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
}
.list-clean li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 10px;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.process-step strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: rgba(36, 74, 154, 0.1);
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 14px;
}
html[lang="nl"] .process-step strong {
  background: rgba(201, 109, 45, 0.12);
}
.page-hero {
  padding: 48px 0 22px;
}
.page-hero-inner {
  background: linear-gradient(145deg, #fdfefe 0%, #eef4ff 100%);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}
html[lang="nl"] .page-hero-inner {
  background: linear-gradient(145deg, #fffdf8 0%, #f7ecdf 100%);
}
.page-hero h1 { margin: 12px 0 14px; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.12; }
.page-hero p { max-width: 760px; color: var(--muted); margin: 0; font-size: 16px; }
.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.meta-item {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.meta-item span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.meta-item strong { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-single { grid-template-columns: minmax(0, 1fr); }
.gallery img { border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; }
.cta-box {
  background: linear-gradient(150deg, #1d3264 0%, #284f9f 100%);
  color: #fff;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 26px 50px rgba(20, 37, 72, 0.22);
}
html[lang="nl"] .cta-box {
  background: linear-gradient(150deg, #97501f 0%, #c96d2d 100%);
  box-shadow: 0 26px 50px rgba(108, 60, 29, 0.2);
}
.cta-box p { color: rgba(255,255,255,0.82); max-width: 680px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card a.inline-link, .footer a.inline-link { color: var(--primary); font-weight: 700; }
.footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 26px;
  align-items: start;
}
.footer p, .footer li { color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 12px 0 0; }
.footer li { margin-bottom: 8px; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.badge {
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.highlight-box {
  background: linear-gradient(145deg, #fefefe 0%, #f0f5ff 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
}
html[lang="nl"] .highlight-box {
  background: linear-gradient(145deg, #fffdf9 0%, #f7ecdf 100%);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.hero-premium {
  position: relative;
  overflow: hidden;
  padding-top: 82px;
  padding-bottom: 58px;
}

.hero-premium::before {
  content: "";
  position: absolute;
  inset: auto -120px -180px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 74, 154, 0.18) 0%, rgba(36, 74, 154, 0) 72%);
  pointer-events: none;
}

.hero-grid-wide {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.metrics-strong .metric strong {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 6px;
}

.hero-showcase {
  display: grid;
  gap: 18px;
}

.hero-panel {
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(20, 37, 72, 0.16);
}

.hero-panel-main {
  color: #fff;
  background: linear-gradient(150deg, #11244d 0%, #1f438c 50%, #7392d5 100%);
}

html[lang="nl"] .hero-panel-main {
  background: linear-gradient(150deg, #854114 0%, #c96d2d 50%, #ebb789 100%);
}

.hero-panel-main h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.18;
}

.hero-panel-main .list-clean li,
.hero-panel-main p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-panel-main .list-clean li::before {
  background: #fff;
}

.hero-panel-label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

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

.hero-panel.mini {
  min-height: 152px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-stat {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-panel.mini p {
  margin: 0;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(216, 223, 235, 0.8);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.trust-strip h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.18;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(238, 242, 248, 0.78) 100%);
}

.section-head-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  max-width: 100%;
}

.section-head-row p {
  max-width: 480px;
}

.feature-card,
.value-card,
.checklist-card {
  height: 100%;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(36, 74, 154, 0.1);
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
}

html[lang="nl"] .feature-icon {
  background: rgba(201, 109, 45, 0.12);
}

.project-stack {
  display: grid;
  gap: 22px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
}

.spotlight-card img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.spotlight-copy h3 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.16;
}

.spotlight-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}

.split-balanced {
  align-items: stretch;
}

.checklist-card strong {
  color: var(--text);
}

.process-premium .process-step {
  min-height: 200px;
}

.contact-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 1024px) {
  .hero-grid, .grid-3, .grid-4, .process, .gallery, .footer-grid, .split, .contact-grid { grid-template-columns: 1fr 1fr; }
  .meta-grid { grid-template-columns: 1fr; }
  .section-head-row,
  .spotlight-card,
  .trust-strip,
  .contact-cta { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .header-actions .btn { display: none; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .process, .footer-grid, .gallery, .split, .contact-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .page-hero-inner, .hero-card, .cta-box { padding: 26px; }
  .hero-panel-grid { grid-template-columns: 1fr; }
  .trust-strip { padding: 24px; }
  .contact-actions { justify-content: flex-start; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  .section { padding: 52px 0; }
  .section-sm { padding: 38px 0; }
  .navbar { min-height: 66px; gap: 10px; }
  .brand strong { font-size: 19px; }
  .brand span { font-size: 11px; }
  .eyebrow { padding: 7px 10px; font-size: 11px; }
  .hero-premium { padding-top: 52px; padding-bottom: 36px; }
  .hero-copy h1 { font-size: clamp(28px, 9vw, 36px); line-height: 1.14; }
  .hero-copy p { font-size: 15px; margin-bottom: 20px; }
  .hero-panel-main h3 { font-size: 22px; }
  .section-head h2,
  .trust-strip h2,
  .spotlight-copy h3 { font-size: clamp(22px, 7vw, 28px); line-height: 1.2; }
  .metric strong { font-size: 22px; }
  .metric span,
  .spotlight-copy p,
  .trust-strip p,
  .service-card p,
  .project-card p,
  .value-card p,
  .lead,
  .checklist-card li,
  .process-step p { font-size: 14px; }
  .card { padding: 18px; border-radius: 18px; }
  .hero-panel { padding: 18px; border-radius: 18px; }
  .btn { width: 100%; padding: 12px 16px; font-size: 14px; }
  .hero-actions,
  .contact-actions { flex-direction: column; align-items: stretch; }
  .feature-icon { width: 42px; height: 42px; font-size: 13px; }
  .project-card-compact h3,
  .service-card h3,
  .value-card h3,
  .process-step h3 { font-size: 18px; line-height: 1.25; }
  .project-card-compact { padding: 16px; }
  .spotlight-card { padding: 16px; }
  .process-premium .process-step { min-height: auto; }
  .footer { padding: 22px 0 32px; }
  .badge { font-size: 13px; padding: 8px 10px; }
  .header-actions { gap: 8px; margin-left: auto; }
  .lang-switcher { gap: 4px; padding: 4px; }
  .lang-switcher a { gap: 6px; padding: 7px 8px; font-size: 11px; }
  .lang-switcher a::before { width: 14px; height: 14px; flex-basis: 14px; }
  .page-hero { padding: 28px 0 16px; }
  .page-hero-inner { padding: 22px 18px; border-radius: 20px; }
  .page-hero h1 { font-size: clamp(24px, 8vw, 32px); line-height: 1.18; }
  .page-hero p { font-size: 14px; }
  .meta-item { padding: 14px; border-radius: 14px; }
  .meta-item strong { font-size: 14px; }
  .gallery { gap: 12px; }
  .gallery img { border-radius: 14px; }
  .project-usage { padding: 14px; margin-top: 18px; }
  .project-group { margin-top: 26px; }
  .project-group-header { gap: 12px; margin-bottom: 16px; }
  .project-group-header p { font-size: 14px; }
  .contact-card,
  .blog-card,
  .project-card,
  .process-step { padding: 18px; }
  .blog-card img,
  .project-card img { margin-bottom: 14px; border-radius: 14px; }
  .lightbox-dialog { width: min(100%, calc(100% - 20px)); padding: 20px 0; }
  .lightbox-dialog img { max-height: calc(100vh - 40px); border-radius: 16px; }
  .lightbox-close { top: 10px; right: 8px; width: 42px; height: 42px; font-size: 24px; }
}

@media (max-width: 560px) {
  .navbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
  .brand {
    min-width: 0;
  }
  .brand span {
    max-width: 180px;
  }
  .lang-switcher {
    justify-self: end;
  }
  .lang-switcher a span {
    display: inline-block;
  }
}

.project-group { margin-top: 34px; }
.project-group-header { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:22px; }
.project-group-header h2 { margin:10px 0 0; font-size: clamp(24px, 3.5vw, 34px); line-height: 1.18; }
.project-group-header p { margin:0; color: var(--muted); max-width: 720px; font-size: 15px; }
.project-card .tag { display:inline-flex; margin-bottom: 14px; }
.project-group-grid { gap: 18px; }
.project-card-compact {
  padding: 18px;
  border-radius: 18px;
}
.project-card-compact img {
  margin-bottom: 14px;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
}
.project-card-compact .tag {
  margin-bottom: 12px;
  padding: 7px 10px;
  font-size: 11px;
}
.project-card-compact h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}
.project-card-compact p {
  margin: 0 0 14px;
  font-size: 15px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
}
.project-link:hover { color: var(--primary-dark); }
.project-link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.project-link:hover::after { transform: translateX(3px); }
.project-usage { margin-top: 22px; padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; }
.project-usage strong { display:block; margin-bottom: 8px; }
.project-usage span { color: var(--muted); }
.project-hero-gallery { display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 18px; align-items: stretch; }
.project-hero-gallery img { width:100%; height:100%; object-fit: cover; border-radius: 18px; border: 1px solid var(--border); }
.project-side-gallery { display:grid; grid-template-rows: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .project-hero-gallery { grid-template-columns: 1fr; } .project-side-gallery { grid-template-rows: auto; } }
@media (max-width: 820px) { .project-group-header { align-items: flex-start; flex-direction: column; } }

.gallery-thumb { padding:0; border:0; background:transparent; cursor:pointer; }
.gallery-thumb img { width:100%; }

body.lightbox-open {
  overflow: hidden;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}

.lightbox-dialog img {
  max-width: 100%;
  max-height: calc(100vh - 64px);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.34);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 0;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}


.project-hero-gallery.single-hero {
  display: block;
}

.project-hero-gallery.single-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.project-placeholder-card { padding: 18px; }
.project-placeholder-note { margin: 16px 4px 4px; color: var(--muted); }

.blog-card p strong {
  font-size: 14px;
}

.blog-card h3,
.contact-card h3,
.service-card h3,
.value-card h3,
.process-step h3,
.meta-item strong,
.card h3 {
  overflow-wrap: anywhere;
}

.card p,
.card li,
.meta-item strong,
.project-usage span {
  line-height: 1.6;
}

.contact-card p {
  margin-top: 0;
}
