/*
Theme Name: Synergy Modern
Theme URI: https://synergyservicebg.com/
Author: Radomiroff
Author URI: https://radomiroff.com/
Description: Lightweight custom theme for Synergy Service. No page builder and no front-end framework.
Version: 1.8.1
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: synergy-modern
*/

:root {
  --ink: #081b2a;
  --ink-2: #0d2c43;
  --blue: #20a9e0;
  --blue-deep: #0879b8;
  --sky: #eaf8ff;
  --white: #ffffff;
  --paper: #f5f8fa;
  --muted: #607482;
  --line: rgba(8, 27, 42, 0.14);
  --header-h: 82px;
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

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

button, input, textarea { font: inherit; }

button { color: inherit; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 10px;
  z-index: 99999;
  background: #fff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--white);
  transition: background .35s ease, box-shadow .35s ease, color .35s ease, transform .35s ease;
}

body.admin-bar .site-header { top: 32px; }

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255,255,255,.18);
}

.site-header.is-scrolled,
.site-header.header-solid {
  color: var(--ink);
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 42px rgba(6, 28, 45, .09);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled::after,
.site-header.header-solid::after { background: var(--line); }

.topline { display: none; }

.is-scrolled .topline,
.header-solid .topline { display: none; }

.topline-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.topline-contact,
.language-switcher {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topline a { opacity: .82; }
.topline a:hover { opacity: 1; }

.language-switcher a {
  position: relative;
  padding: 8px 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.language-switcher a.active { color: #75d7ff; }

.is-scrolled .language-switcher a.active,
.header-solid .language-switcher a.active { color: var(--blue-deep); }

.nav-row {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 25px;
  transition: min-height .3s var(--ease);
}

.brand { display: inline-flex; align-items: center; }

.brand img {
  width: auto;
  height: 47px;
  object-fit: contain;
  transition: height .3s var(--ease);
}

.is-scrolled .nav-row { min-height: 72px; }
.is-scrolled .brand img { height: 42px; }

.brand-logo-color { display: none; }
.is-scrolled .brand-logo-white,
.header-solid .brand-logo-white { display: none; }
.is-scrolled .brand-logo-color,
.header-solid .brand-logo-color { display: block; }

.primary-nav { justify-self: end; }

.site-menu,
.primary-nav > div > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 28px);
  padding: 0;
  margin: 0;
}

.site-menu li,
.primary-nav li { margin: 0; }

.site-menu a,
.primary-nav li a {
  position: relative;
  display: block;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.site-menu a::after,
.primary-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s var(--ease);
}

.site-menu a:hover::after,
.site-menu .current-menu-item > a::after,
.primary-nav li a:hover::after,
.primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .language-switcher { gap: 10px; }
.header-actions .language-switcher { padding-inline: 4px; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--blue);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #68d2fa;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.55);
  background: transparent;
}

.button-outline:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.is-scrolled .header-button,
.header-solid .header-button { color: var(--white); background: var(--ink); }
.is-scrolled .header-button:hover,
.header-solid .header-button:hover { background: var(--blue-deep); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 820px;
  height: min(94svh, 920px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(3, 15, 25, .9) 0%, rgba(3, 15, 25, .58) 48%, rgba(3, 15, 25, .13) 100%),
    linear-gradient(0deg, rgba(3, 15, 25, .64) 0%, rgba(3, 15, 25, 0) 46%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
  opacity: .38;
}

.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  aspect-ratio: 1;
  right: -180px;
  top: 26%;
  border: 1px solid rgba(92, 210, 255, .34);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(32,169,224,.055), 0 0 0 160px rgba(32,169,224,.035);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(88px, 11vh, 130px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.047em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 670px;
  margin: 28px 0 35px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--container))/2));
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 58px;
  background: linear-gradient(var(--blue), transparent);
}

.proof-strip {
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.09);
}

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

.proof-item {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 30px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.proof-item:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.proof-value { color: var(--blue); font-size: 25px; font-weight: 820; letter-spacing: -.03em; }
.proof-label { margin-top: 3px; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.45; }

.section { padding: clamp(90px, 10vw, 150px) 0; }
.section-paper { background: var(--paper); }
.section-dark { color: var(--white); background: var(--ink); }

.section-head {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head .eyebrow { margin-bottom: 0; }

.section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.042em;
  text-wrap: balance;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(55px, 8vw, 112px);
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6,24,38,.35));
}

.about-badge {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 190px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--blue);
}

.about-badge strong { font-size: 58px; line-height: 1; letter-spacing: -.06em; }
.about-badge span { max-width: 105px; margin-top: 8px; font-size: 12px; font-weight: 750; letter-spacing: .06em; line-height: 1.35; text-align: center; text-transform: uppercase; }

.about-copy .section-title { margin-bottom: 30px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
  color: var(--blue-deep);
  font-size: 22px;
  transition: transform .25s var(--ease);
}

.text-link:hover::after { transform: translateX(5px); }

.services-list {
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(220px, .8fr) minmax(300px, 1.1fr) auto;
  gap: 30px;
  align-items: center;
  min-height: 152px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  transition: padding .35s var(--ease), color .35s ease;
}

.service-row:hover { padding-left: 18px; color: var(--blue-deep); }
.service-number { color: var(--blue-deep); font-size: 13px; font-weight: 820; letter-spacing: .12em; }
.service-row h3 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
.service-row p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.service-arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 21px; transition: background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.service-row:hover .service-arrow { color: var(--white); background: var(--blue-deep); border-color: var(--blue-deep); transform: rotate(-35deg); }

.projects-section { overflow: hidden; }
.section-dark .section-title { color: var(--white); }
.section-dark .eyebrow { color: #67d5ff; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  display: block;
  min-height: 470px;
  overflow: hidden;
  background: var(--ink-2);
}

.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3),
.project-card:nth-child(4) { grid-column: span 6; min-height: 410px; }

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .6s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,17,28,.02) 25%, rgba(3,17,28,.93) 100%);
}

.project-card:hover img { transform: scale(1.045); filter: saturate(1.08); }

.project-content {
  position: absolute;
  z-index: 2;
  inset: auto 34px 32px;
}

.project-meta { margin: 0 0 9px; color: #6ed9ff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-content h3 { margin: 0; color: var(--white); font-size: clamp(23px, 2.7vw, 34px); line-height: 1.16; letter-spacing: -.03em; }
.project-content .text-link { margin-top: 12px; color: rgba(255,255,255,.66); }
.project-content .text-link::after { color: #6ed9ff; }

.projects-footer { display: flex; justify-content: flex-end; margin-top: 42px; }
.projects-footer .button-outline { border-color: rgba(255,255,255,.28); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 26px 20px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-logo {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  transition: transform .25s ease, opacity .25s ease;
}

.partner-logo:hover img { transform: translateY(-3px); }

.certificate-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  margin-bottom: 50px;
}

.certificate-head .section-title { margin-bottom: 0; }
.certificate-head > p { margin: 0 0 6px; color: var(--muted); font-size: 18px; }

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 32px);
}

.certificate-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.certificate-image {
  position: relative;
  display: block;
  aspect-ratio: 873 / 1200;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8,27,42,.12);
  box-shadow: 0 18px 45px rgba(8,27,42,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.certificate-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-card:hover .certificate-image,
.certificate-card:focus-visible .certificate-image {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(8,27,42,.14);
}

.certificate-info {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
}

.certificate-info strong { font-size: 15px; }
.certificate-info > span { color: var(--muted); font-size: 12px; font-weight: 750; text-align: right; }

.certificate-lightbox[hidden] { display: none; }

.certificate-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(4,14,22,.93);
  backdrop-filter: blur(8px);
}

.certificate-lightbox-inner {
  width: min(780px, 88vw);
  height: min(92vh, 1070px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  box-shadow: 0 28px 90px rgba(0,0,0,.35);
}

.certificate-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

body.certificate-open { overflow: hidden; }

.contact-band {
  position: relative;
  padding: clamp(80px, 9vw, 125px) 0;
  color: var(--white);
  background: var(--blue-deep);
  overflow: hidden;
}

.contact-band::after {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  right: -80px;
  top: -250px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(255,255,255,.035), 0 0 0 150px rgba(255,255,255,.025);
}

.contact-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 60px;
  align-items: center;
}

.contact-band h2 { max-width: 800px; margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.contact-band p { max-width: 620px; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 18px; }
.contact-band-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.contact-band .button { background: var(--white); color: var(--ink); }
.contact-band .button:hover { background: var(--ink); color: var(--white); }
.contact-band .button-outline { background: transparent; color: var(--white); }
.contact-band .button-outline:hover { background: var(--white); color: var(--ink); }

.site-footer {
  padding: 80px 0 28px;
  color: rgba(255,255,255,.64);
  background: #061621;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .75fr 1fr;
  gap: 8vw;
  padding-bottom: 62px;
}

.footer-brand img { width: auto; height: 55px; margin-bottom: 24px; }
.footer-brand p { max-width: 330px; margin: 0; }
.footer-title { margin: 0 0 22px; color: var(--white); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li + li { margin-top: 9px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact { font-style: normal; }
.footer-contact > * { display: block; margin-bottom: 10px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
}

.page-hero {
  padding: 190px 0 90px;
  color: var(--white);
  background: var(--ink);
}

.page-hero h1 { margin: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.05; letter-spacing: -.045em; }
.page-content { padding: 90px 0 130px; }
.entry-content { max-width: 850px; font-size: 18px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { margin-top: 2em; line-height: 1.2; letter-spacing: -.025em; }
.entry-content a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }

.detail-hero {
  padding: 210px 0 100px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(32,169,224,.2), transparent 34%),
    var(--ink);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
}

.detail-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -.052em;
}

.detail-lead {
  max-width: 720px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
}

.project-year {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #6ed9ff;
  font-size: 18px;
  letter-spacing: .06em;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: start;
  gap: clamp(50px, 7vw, 100px);
}

.detail-feature {
  position: sticky;
  top: 120px;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.detail-feature img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.detail-copy { max-width: none; padding-top: 10px; }
.detail-copy h2:first-child { margin-top: 0; }
.detail-copy ul,
.project-detail-copy ul { padding: 0; margin: 34px 0 0; list-style: none; }
.detail-copy li,
.project-detail-copy li { position: relative; padding: 15px 0 15px 30px; border-top: 1px solid var(--line); }
.detail-copy li::before,
.project-detail-copy li::before { content: "↗"; position: absolute; left: 0; color: var(--blue-deep); }

.project-cover { margin-top: -1px; padding: 0 0 30px; background: var(--ink); }
.project-cover img { width: 100%; max-height: 760px; object-fit: cover; }

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 9vw, 130px);
  align-items: start;
}

.project-detail-layout .section-title { max-width: 430px; }
.project-detail-copy { max-width: 760px; }
.project-detail-copy > p:first-child { margin-top: 0; font-size: 21px; }

.project-gallery-section .section-title { color: var(--white); }
.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery-item { grid-column: span 4; min-height: 320px; overflow: hidden; }
.gallery-item:nth-child(1),
.gallery-item:nth-child(5n) { grid-column: span 8; }
.gallery-item img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-item:hover img { transform: scale(1.035); }

.compact-head { margin-bottom: 42px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.related-card { min-height: 235px; padding: 30px; border-top: 2px solid var(--blue-deep); background: var(--white); transition: transform .3s var(--ease), box-shadow .3s ease; }
.related-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(6,28,45,.1); }
.related-type { color: var(--blue-deep); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.related-card h3 { min-height: 72px; margin: 24px 0 34px; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }

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

.archive-card { border-top: 1px solid var(--line); padding-top: 18px; }
.archive-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 20px; }
.archive-card h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.archive-card p { color: var(--muted); font-size: 15px; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.contact-details { font-style: normal; }
.contact-layout .section-title {
  max-width: 520px;
  margin-bottom: 42px;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.12;
}
.contact-details a, .contact-details span { display: block; margin-bottom: 18px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; outline: none; background: transparent; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue-deep); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-notice { padding: 14px 18px; margin-bottom: 24px; background: var(--sky); }
.form-notice.error { background: #fff0f0; color: #8a1f1f; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  :root { --header-h: 78px; }
  .topline { display: none; }
  .nav-row { grid-template-columns: 1fr auto; }
  .brand img { height: 48px; }
  .site-header #primary-nav {
    position: fixed !important;
    z-index: 1001;
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 105px 28px 42px !important;
    overflow-y: auto;
    background: rgba(6,22,33,.985) !important;
    color: var(--white) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s var(--ease);
  }
  body.admin-bar .site-header #primary-nav { top: 32px !important; height: calc(100dvh - 32px) !important; }
  body.menu-open .site-header #primary-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  body.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  body.menu-open .site-header::after { background: rgba(255,255,255,.16); }
  body.menu-open .brand-logo-color { display: none !important; }
  body.menu-open .brand-logo-white { display: block !important; }
  body.menu-open .language-switcher a.active { color: #75d7ff; }
  .site-header #primary-nav .site-menu,
  .site-header #primary-nav > div > ul {
    width: min(100%, 420px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: auto !important;
    list-style: none !important;
    text-align: left !important;
  }
  .site-header #primary-nav li { width: 100% !important; margin: 0 !important; }
  .site-header #primary-nav a {
    display: block !important;
    width: 100% !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.15);
    color: var(--white) !important;
    background: transparent !important;
    font-size: clamp(27px, 7vw, 42px) !important;
    font-weight: 760 !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
  }
  .site-header #primary-nav a::after { display: none !important; }
  .site-header #primary-nav .current-menu-item > a { color: #67d5ff !important; }
  .brand { position: relative; z-index: 1002; }
  .header-actions { z-index: 1002; }
  .menu-toggle { position: relative; z-index: 1003; display: inline-flex; }
  .menu-open .menu-toggle { color: var(--white); }
  .header-button { display: none; }
  .hero { min-height: 720px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: 1px solid rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); }
  .proof-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .about-layout { grid-template-columns: 1fr 1fr; gap: 50px; }
  .about-media { min-height: 520px; }
  .service-row { grid-template-columns: 56px minmax(200px, .85fr) minmax(240px, 1fr) auto; gap: 20px; }
  .partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .certificates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr 1fr; gap: 45px; }
  .detail-feature, .detail-feature img { min-height: 520px; }
  .gallery-item { grid-column: span 6; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(5n) { grid-column: span 6; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .site-header #primary-nav { top: 46px !important; height: calc(100dvh - 46px) !important; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .section { padding: 72px 0; }
  .page-hero { padding: 138px 0 58px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .page-content { padding: 68px 0 88px; }
  .hero { height: 88svh; min-height: 650px; background-position: 42% center; }
  .hero::before { background-size: 58px 58px; }
  .hero::after { width: 270px; right: -150px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-lead { font-size: 17px; margin: 22px 0 28px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-scroll { display: none; }
  .proof-item { min-height: 108px; padding: 20px 16px; }
  .proof-value { font-size: 21px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 42px; }
  .section-title { font-size: clamp(34px, 10vw, 46px); }
  .about-layout { grid-template-columns: 1fr; }
  .about-media { min-height: 480px; order: 2; }
  .about-badge { width: 145px; }
  .about-badge strong { font-size: 44px; }
  .service-row { grid-template-columns: 44px 1fr auto; gap: 12px; min-height: 132px; }
  .service-row p { display: none; }
  .service-row h3 { font-size: 21px; }
  .service-arrow { width: 40px; height: 40px; }
  body .projects-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
  body .projects-grid .project-card,
  body .projects-grid .project-card:nth-child(n) {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 420px !important;
    grid-column: 1 / -1 !important;
    margin: 0 !important;
  }
  .project-content { inset: auto 22px 24px; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: 28px 0; }
  .partner-logo { min-height: 82px; }
  .partner-logo img { max-height: 72px; }
  .certificate-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .certificate-head > p { font-size: 16px; }
  .certificates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .certificate-info { display: block; padding-top: 12px; }
  .certificate-info > span { display: block; margin-top: 5px; text-align: left; }
  .certificate-lightbox { padding: 22px 14px; }
  .certificate-lightbox-close { top: 10px; right: 10px; }
  .contact-band-inner { grid-template-columns: 1fr; gap: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .archive-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 55px; }
  .contact-layout .section-title { margin-bottom: 32px; font-size: clamp(33px, 10vw, 40px); }
  .contact-details a, .contact-details span { margin-bottom: 15px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .contact-form { gap: 22px; }
  .contact-form .button { width: 100%; }
  .header-actions { gap: 12px; }
  .header-actions .language-switcher { gap: 6px; }
  .language-switcher a { padding: 10px 3px; font-size: 10px; }
  .detail-hero { padding: 155px 0 70px; }
  .detail-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .detail-hero-inner .button { width: 100%; }
  .detail-hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .project-year { width: 82px; height: 82px; font-size: 15px; }
  .detail-layout, .project-detail-layout { grid-template-columns: 1fr; gap: 42px; }
  .detail-feature { position: relative; top: auto; min-height: 400px; }
  .detail-feature img { min-height: 400px; }
  .project-cover .container { width: 100%; }
  .project-cover img { min-height: 420px; }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(5n) { grid-column: 1 / -1; min-height: 280px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 0; }
  .related-card h3 { min-height: 0; }
}

@media (max-width: 420px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand img { height: 40px; }
  .is-scrolled .brand img { height: 37px; }
  .header-actions { gap: 7px; }
  .header-actions .language-switcher { gap: 3px; padding-inline: 0; }
  .language-switcher a { padding-inline: 2px; }
  .menu-toggle { width: 43px; height: 43px; }
  .hero { min-height: 620px; }
  .hero h1 { font-size: clamp(38px, 12vw, 50px); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item,
  .proof-item:nth-child(3),
  .proof-item:nth-child(4) { border-left: 1px solid rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); }
  .proof-item:first-child { border-top: 0; }
  .about-media { min-height: 380px; }
  body .projects-grid .project-card,
  body .projects-grid .project-card:nth-child(n) { min-height: 360px !important; }
  .certificates-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Native Gutenberg home page (v1.8). */
.synergy-visual-home { overflow: hidden; }
.synergy-visual-home > * { margin-block: 0; }
.synergy-visual-home .alignfull { width: 100%; margin-right: 0; margin-left: 0; }
.synergy-visual-home .wp-block-group,
.synergy-visual-home .wp-block-columns,
.synergy-visual-home .wp-block-image,
.synergy-visual-home .wp-block-query { margin-block-start: 0; margin-block-end: 0; }

.synergy-v-hero { position: relative; min-height: 820px; color: var(--white); overflow: hidden; }
.synergy-v-hero .wp-block-cover__image-background { transition: transform .8s var(--ease); }
.synergy-v-hero .wp-block-cover__background {
  opacity: 1 !important;
  background: linear-gradient(90deg, rgba(3,15,25,.92) 0%, rgba(3,15,25,.6) 48%, rgba(3,15,25,.14) 100%), linear-gradient(0deg, rgba(3,15,25,.68), transparent 48%) !important;
}
.synergy-v-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
  opacity: .38;
}
.synergy-v-hero .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; align-self: flex-end; }
.synergy-v-hero-content { padding-bottom: clamp(88px, 11vh, 130px); }
.synergy-v-hero-title { max-width: 850px; margin: 0; color: var(--white); font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.047em; text-wrap: balance; }
.synergy-visual-home .wp-block-buttons.hero-actions { display: flex; gap: 13px; }
.synergy-visual-home .wp-block-button__link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--blue);
  border-radius: 0;
  color: var(--ink);
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.synergy-visual-home .wp-block-button__link:hover { color: var(--white); background: var(--blue-deep); border-color: var(--blue-deep); }
.synergy-visual-home .wp-block-button.is-style-outline .wp-block-button__link { color: currentColor; background: transparent; border-color: currentColor; }
.synergy-visual-home .wp-block-button.is-style-outline .wp-block-button__link:hover { color: var(--ink); background: var(--white); border-color: var(--white); }

.synergy-visual-home .proof-value { margin: 0; color: var(--blue); font-size: 25px; font-weight: 820; letter-spacing: -.03em; }
.synergy-visual-home .proof-label { margin: 3px 0 0; }

.synergy-v-about-layout { align-items: center !important; gap: clamp(55px, 8vw, 112px) !important; }
.synergy-v-about-media { position: relative; min-height: 610px; }
.synergy-v-about-media > .wp-block-image { position: absolute; inset: 0; }
.synergy-v-about-media > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.synergy-v-about-media .about-badge { position: absolute; right: -28px; bottom: -28px; z-index: 2; }
.synergy-v-about-media .about-badge h3 { margin: 0; color: var(--white); font-size: 54px; line-height: 1; }
.synergy-v-about-media .about-badge p { max-width: 110px; margin: 8px 0 0; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 750; letter-spacing: .06em; line-height: 1.35; text-align: center; text-transform: uppercase; }
.synergy-v-about .about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.75; }
.synergy-v-about .about-copy .wp-block-buttons { margin-top: 30px; }
.synergy-v-about .about-copy .is-style-outline .wp-block-button__link { color: var(--ink); }
.synergy-v-about .about-copy .is-style-outline .wp-block-button__link:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }

.synergy-v-services-list { display: block; padding: 0; margin: 0; list-style: none; }
.synergy-v-services-list > li { margin: 0; }
.synergy-v-service-row { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr); gap: 50px; align-items: center; min-height: 142px; padding: 28px 0; border-top: 1px solid var(--line); }
.synergy-v-services-list > li:last-child .synergy-v-service-row { border-bottom: 1px solid var(--line); }
.synergy-v-service-row .wp-block-post-title { margin: 0; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.2; }
.synergy-v-service-row .wp-block-post-title a { color: var(--ink); }
.synergy-v-service-row .wp-block-post-excerpt { margin: 0; color: var(--muted); }
.synergy-v-service-row .wp-block-post-excerpt__excerpt { margin: 0 0 10px; line-height: 1.65; }
.synergy-v-service-row .wp-block-post-excerpt__more-link { color: var(--blue-deep); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.synergy-v-projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.synergy-v-projects-grid > li { margin: 0; }
.synergy-v-project-card { position: relative; min-height: 460px; color: var(--white); background: #061a28; overflow: hidden; }
.synergy-v-project-image { position: absolute; inset: 0; }
.synergy-v-project-image a, .synergy-v-project-image img { width: 100%; height: 100%; display: block; }
.synergy-v-project-image img { object-fit: cover; filter: saturate(.85); transition: transform .7s var(--ease), filter .4s ease; }
.synergy-v-project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,13,22,.94), rgba(2,13,22,.08) 70%); pointer-events: none; }
.synergy-v-project-card:hover .synergy-v-project-image img { transform: scale(1.045); filter: saturate(1.05); }
.synergy-v-project-copy { position: absolute; z-index: 2; right: 28px; bottom: 28px; left: 28px; }
.synergy-v-project-copy .wp-block-post-title { margin: 0; font-size: clamp(24px, 2.8vw, 35px); line-height: 1.15; }
.synergy-v-project-copy .wp-block-post-title a { color: var(--white); }
.synergy-v-project-copy .wp-block-post-excerpt { margin: 12px 0 0; color: rgba(255,255,255,.67); }
.synergy-v-project-copy .wp-block-post-excerpt__excerpt { display: none; }
.synergy-v-project-copy .wp-block-post-excerpt__more-link { color: #6ed9ff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.synergy-v-projects .projects-footer { justify-content: flex-end; margin-top: 40px; }

.synergy-v-partners-grid { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; gap: 18px !important; }
.synergy-v-partner-logo { min-height: 105px; display: flex; align-items: center; justify-content: center; padding: 14px; border: 1px solid var(--line); background: var(--white); }
.synergy-v-partner-logo img { width: 100%; max-height: 72px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .2s ease, opacity .2s ease; }
.synergy-v-partner-logo:hover img { filter: none; opacity: 1; }

.synergy-v-certificates-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px !important; }
.synergy-v-certificate { min-width: 0; }
.synergy-v-certificate-image { padding: 18px; border: 1px solid var(--line); background: var(--white); }
.synergy-v-certificate-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.synergy-v-certificate h3 { margin: 14px 0 3px; font-size: 15px; }
.synergy-v-certificate p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 750; }

.synergy-v-contact .contact-band-inner { align-items: center !important; }
.synergy-v-contact .wp-block-column > h2 { margin: 0 0 14px; }
.synergy-v-contact .wp-block-column > p { margin: 0; color: rgba(255,255,255,.7); }
.synergy-v-contact .contact-band-actions { justify-content: flex-end; }

@media (max-width: 1060px) {
  .synergy-v-partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .synergy-v-certificates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
  .synergy-v-hero { min-height: 680px !important; }
  .synergy-v-hero-content { padding-bottom: 76px; }
  .synergy-v-hero-title { font-size: clamp(40px, 12vw, 58px); }
  .synergy-visual-home .hero-actions { align-items: stretch; flex-direction: column; }
  .synergy-visual-home .hero-actions .wp-block-button, .synergy-visual-home .hero-actions .wp-block-button__link { width: 100%; }
  .synergy-visual-home .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .synergy-v-about-layout { display: flex !important; flex-direction: column-reverse; }
  .synergy-v-about-media { min-height: 460px; }
  .synergy-v-about-media .about-badge { right: 16px; bottom: -18px; }
  .synergy-v-service-row { grid-template-columns: 1fr; gap: 12px; min-height: 0; padding: 25px 0; }
  .synergy-v-projects-grid { grid-template-columns: 1fr; gap: 18px; }
  .synergy-v-project-card { min-height: 390px; }
  .synergy-v-partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .synergy-v-certificates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 14px !important; }
  .synergy-v-contact .contact-band-inner { display: grid !important; grid-template-columns: 1fr; }
  .synergy-v-contact .contact-band-actions { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .synergy-visual-home .proof-grid { grid-template-columns: 1fr; }
  .synergy-v-about-media { min-height: 380px; }
  .synergy-v-certificates-grid { grid-template-columns: 1fr !important; }
}
