:root {
  --ink: #101724;
  --muted: #647084;
  --line: #dbe1ea;
  --paper: #f6f8fb;
  --white: #ffffff;
  --navy: #122033;
  --red: #d62828;
  --red-dark: #a8171f;
  --steel: #8290a3;
  --shadow: 0 20px 60px rgba(16, 23, 36, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.technical-page {
  padding-top: 78px;
  background: var(--paper);
}

.technical-hero {
  position: relative;
  overflow: hidden;
  padding: 122px clamp(18px, 6vw, 72px) 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 13, 23, 0.94), rgba(8, 13, 23, 0.78)),
    url("assets/hero-panel-workshop.png") center / cover;
}

.technical-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: var(--red);
}

.technical-hero > * {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
}

.technical-hero h1 {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 72px);
}

.technical-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--white);
}

.technical-layout,
.related-technical {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.technical-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: 58px 0 76px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 112px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(16, 23, 36, 0.08);
}

.toc h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.toc ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.toc a {
  color: var(--ink);
  font-weight: 800;
}

.toc a:hover {
  color: var(--red);
}

.technical-content {
  display: grid;
  gap: 28px;
}

.technical-content section,
.technical-faq,
.related-grid article {
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(16, 23, 36, 0.06);
}

.technical-content h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
}

.technical-content h3 {
  margin: 20px 0 10px;
  color: var(--navy);
}

.technical-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.technical-content p:last-child {
  margin-bottom: 0;
}

.responsive-table {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.responsive-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--white);
}

.responsive-table th,
.responsive-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.responsive-table tbody tr:nth-child(even) {
  background: #f9fbfd;
}

.responsive-table td:first-child {
  color: var(--red);
  font-weight: 900;
}

.ip-class-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ip-class-grid article {
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ip-class-grid h3 {
  margin-top: 0;
  color: var(--red);
}

.technical-faq details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.technical-faq details:first-of-type {
  border-top: 0;
}

.technical-faq summary {
  color: var(--navy);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.technical-faq summary::marker {
  color: var(--red);
}

.technical-faq details p {
  margin-top: 12px;
}

.related-technical {
  padding: 0 0 84px;
}

.related-technical .section-heading {
  margin-bottom: 24px;
}

.related-grid article {
  min-height: 190px;
}

.related-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-grid h3 {
  margin-bottom: 10px;
}

.related-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.info-grid,
.decision-grid,
.component-grid,
.mistake-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-box,
.decision-grid article,
.component-grid article,
.mistake-list article {
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-box {
  position: relative;
  padding-top: 62px;
}

.info-icon {
  position: absolute;
  top: 18px;
  left: 20px;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.decision-grid strong {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

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

.mistake-list article {
  border-left: 4px solid var(--red);
}

.callout {
  margin: 18px 0;
  padding: 18px 20px;
  color: var(--navy);
  background: #eef3f8;
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  line-height: 1.65;
}

.callout-red {
  background: #fff4f4;
  border-left-color: var(--red);
}

.technical-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 34px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(214, 40, 40, 0.95), rgba(168, 23, 31, 0.96)),
    var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.technical-cta .eyebrow,
.technical-cta h2,
.technical-cta p {
  color: var(--white);
}

.technical-cta h2 {
  margin-bottom: 12px;
}

.technical-cta p {
  max-width: 680px;
  opacity: 0.88;
}

.technical-cta .button.primary {
  background: var(--white);
  color: var(--red);
  white-space: nowrap;
}

.technical-content a,
.related-grid a {
  color: var(--red);
  font-weight: 900;
}

.technical-index {
  padding-top: 58px;
}

.reference-page {
  min-height: 100vh;
  padding-top: 78px;
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 40, 40, 0.08), transparent 32%),
    linear-gradient(180deg, #f3f6fa 0%, #ffffff 54%, #f6f8fb 100%);
}

.reference-hero {
  position: relative;
  overflow: hidden;
  padding: 122px clamp(18px, 6vw, 72px) 88px;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(10, 18, 31, 0.96), rgba(18, 32, 51, 0.86) 48%, rgba(214, 40, 40, 0.28)),
    url("assets/hero-panel-workshop.png") center / cover;
}

.reference-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), #ff6b6b, var(--red));
}

.reference-hero > * {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
}

.reference-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 0.98;
}

.reference-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.66;
}

.reference-summary,
.reference-panel {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.reference-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transform: translateY(-36px);
}

.reference-summary article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 23, 36, 0.1);
}

.reference-summary span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
}

.reference-summary strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.reference-summary p,
.reference-heading p,
.reference-note {
  color: var(--muted);
  line-height: 1.65;
}

.reference-panel {
  margin-top: -2px;
  margin-bottom: 84px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reference-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.reference-heading h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.reference-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 14px;
  margin-bottom: 18px;
}

.reference-filters label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.reference-filters input,
.reference-filters select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.reference-filters input:focus,
.reference-filters select:focus {
  outline: 3px solid rgba(214, 40, 40, 0.18);
  border-color: var(--red);
}

.reference-table-wrap {
  overflow: auto;
  max-height: 68vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.reference-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
}

.reference-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.reference-table th {
  position: sticky;
  z-index: 1;
  top: 0;
  padding: 16px 18px;
  color: var(--white);
  background: var(--navy);
  text-align: left;
  font-weight: 900;
}

.reference-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}

.reference-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.reference-table tbody tr:hover {
  background: #fff1f1;
}

.reference-table td:first-child {
  color: var(--red);
  font-weight: 900;
}

.power-cell {
  text-align: right;
  white-space: nowrap;
}

.reference-empty {
  margin: 0;
  padding: 24px;
  color: var(--muted);
  background: #f8fafc;
  text-align: center;
  font-weight: 800;
}

.reference-note {
  margin-top: 22px;
  padding: 20px 22px;
  background: #f8fafc;
  border-left: 4px solid var(--red);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .technical-page {
    padding-top: 0;
  }

  .technical-hero {
    padding-top: 86px;
  }

  .technical-layout,
  .ip-class-grid,
  .related-grid,
  .info-grid,
  .decision-grid,
  .component-grid,
  .technical-cta,
  .reference-summary,
  .reference-heading,
  .reference-filters {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .reference-page {
    padding-top: 0;
  }

  .reference-hero {
    padding-top: 86px;
  }
}

@media (max-width: 620px) {
  .technical-hero {
    padding: 54px 16px 46px;
  }

  .technical-layout,
  .related-technical {
    width: min(100% - 28px, 1180px);
  }

  .technical-layout {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .responsive-table table {
    min-width: 640px;
  }

  .reference-hero {
    padding: 54px 16px 50px;
  }

  .reference-summary,
  .reference-panel {
    width: min(100% - 28px, 1180px);
  }

  .reference-table {
    min-width: 620px;
  }

  .reference-table-wrap {
    max-height: 62vh;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.is-gallery-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(14, 23, 38, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 148px;
}

.brand-logo {
  display: block;
  width: 148px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.main-nav a:hover,
.nav-dropdown-trigger:hover {
  color: var(--white);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 230px;
  padding: 8px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  color: var(--ink);
  border-radius: 6px;
  font-weight: 700;
}

.nav-dropdown-menu a:hover {
  color: var(--white);
  background: var(--red);
}

.nav-dropdown-menu-long {
  min-width: 300px;
  max-height: min(70vh, 430px);
  overflow-y: auto;
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.lang-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 30px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}

.lang-btn.is-active {
  color: var(--white);
  background: var(--red);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-panel-workshop.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 23, 0.94) 0%, rgba(8, 13, 23, 0.72) 42%, rgba(8, 13, 23, 0.24) 100%),
    linear-gradient(0deg, rgba(8, 13, 23, 0.76) 0%, rgba(8, 13, 23, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 96px);
  padding-top: 80px;
  color: var(--white);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 630px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-band div {
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 19px;
}

.trust-band span {
  margin-top: 8px;
  color: var(--muted);
}

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

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 7vw, 92px);
  align-items: end;
}

.intro > p,
.about-copy p,
.quality-points p,
.contact-card,
.solution-card p,
.product-grid p,
.systems-panel p,
.process-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.about {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.about-kicker {
  position: sticky;
  top: 110px;
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(214, 40, 40, 0.9), rgba(168, 23, 31, 0.92)),
    var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-kicker span {
  max-width: 180px;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 900;
}

.about-copy {
  max-width: 840px;
}

.about-copy h2 {
  margin-bottom: 26px;
}

.about-copy p:not(.eyebrow) {
  margin: 0 0 18px;
}

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

.solution-card {
  min-height: 278px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 23, 36, 0.06);
}

.solution-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--red);
  font-weight: 900;
}

.products {
  border-top: 1px solid var(--line);
}

.products .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.product-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-grid h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.product-grid p {
  margin: 0;
}

.systems-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.systems-panel > div {
  padding: 30px;
  color: var(--white);
  background: var(--navy);
}

.systems-panel h3 {
  margin-bottom: 12px;
}

.systems-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.sectors {
  border-top: 1px solid var(--line);
}

.sectors .section-heading p:not(.eyebrow),
.project-types .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

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

.sector-grid article,
.project-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 23, 36, 0.06);
}

.sector-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 900;
}

.sector-grid h3,
.project-grid h3 {
  margin-bottom: 12px;
}

.sector-grid p,
.project-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.capabilities {
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.capabilities .section-heading {
  padding: 0 42px;
}

.capabilities .eyebrow {
  color: #ff4b50;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 42px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.capability-grid article {
  min-height: 260px;
  padding: 26px;
  background: #172840;
}

.capability-grid strong {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--red);
  font-size: 15px;
}

.capability-grid h3 {
  margin-bottom: 12px;
}

.capability-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.video-section {
  border-top: 1px solid var(--line);
}

.video-section .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.video-link {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 180ms ease, opacity 180ms ease;
}

.video-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 23, 0.78), rgba(8, 13, 23, 0.18)),
    linear-gradient(0deg, rgba(8, 13, 23, 0.5), rgba(8, 13, 23, 0));
}

.video-link:hover img {
  transform: scale(1.03);
  opacity: 0.86;
}

.play-button,
.video-link strong {
  position: absolute;
  z-index: 2;
}

.play-button {
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.play-button::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 27px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--white);
}

.video-link strong {
  left: 32px;
  bottom: 30px;
  color: var(--white);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.video-embed {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fair-gallery {
  border-top: 1px solid var(--line);
}

.fair-gallery .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 23, 36, 0.08);
  cursor: zoom-in;
}

.gallery-item::after {
  content: "Büyüt";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(18, 32, 51, 0.82);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  place-items: center;
  padding: 34px;
  background: rgba(5, 9, 15, 0.86);
}

.gallery-modal.is-open {
  display: grid;
}

.gallery-modal img {
  display: block;
  max-width: min(1120px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.gallery-modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 30px 30px 30px 74px;
  background: var(--white);
  border-radius: 8px;
}

.process-list li::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  left: 24px;
  top: 28px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.project-types {
  border-bottom: 1px solid var(--line);
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid article {
  min-height: 190px;
}

.quality {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.quality-points {
  padding: 34px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quality-points p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}

.quality-points ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.quality-points li {
  padding-left: 22px;
  position: relative;
}

.quality-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.certificates {
  border-top: 1px solid var(--line);
}

.certificates .section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.certificate-layout {
  margin-top: 6px;
}

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

.certificate-list article {
  min-height: 210px;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #1b2b41);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 23, 36, 0.1);
}

.certificate-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
}

.certificate-list h3 {
  margin-bottom: 10px;
}

.certificate-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.document-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.document-link {
  display: flex;
  min-height: 92px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(16, 23, 36, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.document-link:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 33, 39, 0.35);
  box-shadow: 0 14px 28px rgba(16, 23, 36, 0.1);
}

.document-link span {
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.document-link strong {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--red);
  border-radius: 6px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-list article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 23, 36, 0.06);
}

.faq-list h3 {
  margin-bottom: 12px;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 38px;
  align-items: stretch;
  margin-bottom: 42px;
  padding: 48px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #1a2a40);
  border-radius: 8px;
}

.cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.contact-map {
  position: relative;
  overflow: hidden;
  width: min(100%, 760px);
  aspect-ratio: 16 / 9;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-open-link {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 10px 12px;
  color: #1a73e8;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(16, 23, 36, 0.16);
  font-size: 14px;
  font-weight: 900;
}

.map-open-link:hover {
  color: var(--red);
}

.contact-card {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.contact-card div {
  display: grid;
  gap: 5px;
}

.contact-card strong {
  color: var(--red);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-card a,
.contact-card span {
  line-height: 1.45;
}

.contact-card a {
  font-weight: 900;
}

.contact-card a[dir="ltr"],
.contact-card span[dir="ltr"] {
  unicode-bidi: embed;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.social-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.social-links a:hover {
  background: var(--red);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

[dir="rtl"] .hero-content {
  margin-right: clamp(18px, 8vw, 96px);
  margin-left: 0;
}

[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(-90deg, rgba(8, 13, 23, 0.94) 0%, rgba(8, 13, 23, 0.72) 42%, rgba(8, 13, 23, 0.24) 100%),
    linear-gradient(0deg, rgba(8, 13, 23, 0.76) 0%, rgba(8, 13, 23, 0) 42%);
}

[dir="rtl"] .contact-card {
  text-align: right;
}

[dir="rtl"] .contact-card a[dir="ltr"],
[dir="rtl"] .contact-card span[dir="ltr"],
[dir="rtl"] .social-links a {
  direction: ltr;
}

[dir="rtl"] .process-list li {
  padding-right: 74px;
  padding-left: 30px;
}

[dir="rtl"] .process-list li::before {
  right: 24px;
  left: auto;
}

[dir="rtl"] .quality-points li {
  padding-right: 22px;
  padding-left: 0;
}

[dir="rtl"] .quality-points li::before {
  right: 0;
  left: auto;
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 190px;
  }

  body {
    padding-top: 190px;
  }

  .site-header {
    grid-template-columns: 1fr;
    position: fixed;
    top: 0;
    gap: 14px;
    background: var(--navy);
    backdrop-filter: none;
    box-shadow: 0 12px 28px rgba(16, 23, 36, 0.22);
  }

  .main-nav {
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 4px;
  }

  .nav-dropdown {
    flex: 0 0 auto;
  }

  .nav-dropdown-menu {
    position: fixed;
    top: 166px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
    min-width: 0;
    max-height: min(54vh, 420px);
    margin-top: 0;
    padding: 10px;
    color: rgba(255, 255, 255, 0.82);
    background: #1d2a3d;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
    overflow-y: auto;
    z-index: 40;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    white-space: normal;
    line-height: 1.25;
  }

  .nav-dropdown-menu a:hover {
    color: var(--white);
    background: var(--red);
  }

  .language-switcher {
    width: max-content;
  }

  .hero {
    min-height: 840px;
  }

  .trust-band,
  .intro,
  .about,
  .solution-grid,
  .sector-grid,
  .capability-grid,
  .product-grid,
  .systems-panel,
  .process-list,
  .project-grid,
  .quality,
  .certificate-layout,
  .faq-list,
  .cta {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
  }

  .about-kicker {
    position: static;
    min-height: 150px;
    place-items: start;
  }

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

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

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

  .solution-card span {
    margin-bottom: 26px;
  }

  .cta {
    padding: 34px 24px;
  }

  .capabilities .section-heading {
    padding: 0 24px;
  }

  .capability-grid {
    margin: 0 24px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 230px;
  }

  body {
    padding-top: 230px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 126px;
  }

  .main-nav {
    gap: 16px;
    width: 100%;
    font-size: 13px;
  }

  .nav-dropdown-menu {
    top: 164px;
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
    max-height: 48vh;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .lang-btn {
    flex: 1;
  }

  .hero {
    min-height: 780px;
  }

  .document-downloads {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-modal {
    padding: 18px;
  }

  .gallery-modal-close {
    top: 12px;
    right: 12px;
  }

  .contact-map {
    aspect-ratio: 4 / 3;
    margin-top: 22px;
  }

  .document-link {
    min-height: 78px;
    padding: 16px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  [dir="rtl"] .hero-content {
    margin-right: 16px;
  }

  h1 {
    font-size: 40px;
  }

  .section,
  .cta {
    width: min(100% - 28px, 1180px);
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

@media (max-width: 980px) {
  .technical-body {
    padding-top: 0;
  }

  .technical-body .technical-page {
    padding-top: 0;
  }
}

/* Panosis mobile navigation emergency fix - 2026-06-16
   Desktop rules are left untouched. This block only overrides tablet/mobile. */
@media (max-width: 980px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-padding-top: 0 !important;
  }

  body {
    padding-top: 0 !important;
  }

  .site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    background: var(--navy) !important;
    box-shadow: 0 10px 24px rgba(16, 23, 36, 0.22) !important;
  }

  .brand {
    min-width: 0 !important;
  }

  .brand-logo {
    width: 132px !important;
    max-width: 48vw !important;
  }

  .main-nav {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 0 8px !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .main-nav > a,
  .nav-dropdown,
  .nav-dropdown-trigger {
    flex: 0 0 auto !important;
  }

  .nav-dropdown {
    position: static !important;
  }

  .nav-dropdown-menu,
  .nav-dropdown-menu-long {
    position: static !important;
    inset: auto !important;
    display: none !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 8px 0 0 !important;
    padding: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    color: rgba(255, 255, 255, 0.88) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    z-index: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex !important;
  }

  .nav-dropdown-menu a {
    flex: 0 0 auto !important;
    max-width: 240px !important;
    padding: 10px 12px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.09) !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .language-switcher {
    width: 100% !important;
    justify-content: space-between !important;
    margin-top: 0 !important;
  }

  .lang-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .hero {
    min-height: 680px !important;
  }

  .hero-content {
    padding-top: 64px !important;
  }

  .technical-page,
  .technical-body,
  .technical-body .technical-page {
    padding-top: 0 !important;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px !important;
  }

  .brand-logo {
    width: 124px !important;
  }

  .main-nav {
    gap: 14px !important;
    font-size: 13px !important;
  }

  .nav-dropdown-menu a {
    max-width: 220px !important;
    padding: 9px 11px !important;
  }

  .hero {
    min-height: 620px !important;
  }

  .hero-content {
    width: calc(100% - 28px) !important;
    margin-left: 14px !important;
    padding-top: 54px !important;
  }

  [dir="rtl"] .hero-content {
    margin-right: 14px !important;
    margin-left: 0 !important;
  }
}


/* PANOSIS MOBILE MENU PATCH v10 - fixed top header, centered vertical dropdown */
@media (max-width: 980px) {
  html, body { overflow-x: hidden !important; }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 12px 14px 14px !important;
    overflow: visible !important;
    background: rgba(14, 23, 38, 0.96) !important;
  }

  .brand {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .brand-logo {
    width: 132px !important;
    max-width: 48vw !important;
  }

  .main-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    white-space: nowrap !important;
    padding: 0 0 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .main-nav::-webkit-scrollbar { display: none !important; }

  .main-nav > a,
  .main-nav .nav-dropdown,
  .nav-dropdown-trigger {
    flex: 0 0 auto !important;
  }

  .nav-dropdown { position: static !important; }

  .nav-dropdown-menu,
  .nav-dropdown-menu-long {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: 142px !important;
    transform: translateX(-50%) !important;
    z-index: 10000 !important;
    display: none !important;
    width: min(420px, calc(100vw - 28px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    max-height: min(46vh, 360px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 12px !important;
    color: var(--white) !important;
    background: #2f3b4f !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 60px rgba(0,0,0,0.28) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-menu a {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 10px !important;
    padding: 14px 16px !important;
    color: var(--white) !important;
    background: rgba(255,255,255,0.08) !important;
    border-radius: 10px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
  }

  .nav-dropdown-menu a:last-child { margin-bottom: 0 !important; }

  .language-switcher {
    width: 100% !important;
    max-width: 420px !important;
    justify-content: space-between !important;
    margin-top: 0 !important;
  }

  .lang-btn {
    flex: 1 1 0 !important;
    width: auto !important;
  }

  .hero {
    min-height: 100svh !important;
    padding-top: 0 !important;
  }

  .hero-content {
    padding-top: 190px !important;
  }
}

@media (max-width: 620px) {
  .site-header { padding: 10px 14px 12px !important; gap: 9px !important; }
  .brand-logo { width: 124px !important; }
  .main-nav { gap: 16px !important; font-size: 14px !important; }
  .nav-dropdown-menu,
  .nav-dropdown-menu-long { top: 136px !important; width: calc(100vw - 28px) !important; }
  .hero-content {
    width: calc(100% - 28px) !important;
    margin-left: 14px !important;
    padding-top: 178px !important;
  }
}
