/* ARS Sport — kurumsal site
   Renkler logodan: lacivert #222159, mavi #3a519f, yeşil #00a338 */
:root {
  --navy: #222159;
  --navy-deep: #16153d;
  --blue: #3a519f;
  --green: #00a338;          /* çizgi, vurgu (koyu zeminde) */
  --green-deep: #007f2b;     /* beyaz zeminde metin/buton — AA kontrast */
  --chalk: #eef1f6;
  --paper: #ffffff;
  --ink: #1c1e2e;
  --muted: #5a5e72;
  --rule: #d8dde8;

  --f-display: "Fira Sans Extra Condensed", "Arial Narrow", sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(22, 21, 61, .06), 0 8px 24px -12px rgba(22, 21, 61, .18);
}
[dir="rtl"] {
  --f-display: "IBM Plex Sans Arabic", "Fira Sans Extra Condensed", sans-serif;
  --f-body: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.65 var(--f-body);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; }
.skip:focus { inset-inline-start: 0; }

/* ---------- type roles ---------- */
.display {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .005em; line-height: .92;
}
[dir="rtl"] .display { text-transform: none; line-height: 1.15; font-weight: 700; }
.eyebrow {
  font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep); margin: 0 0 .9rem;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-family: var(--f-body); font-weight: 600; font-size: .85rem; }
.h-section { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 62ch; margin: .9rem 0 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 46px;
  padding: .7rem 1.25rem; border-radius: var(--radius); border: 2px solid transparent;
  font: 600 .95rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: #006b24; color: #fff; }
.btn-ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--rule);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: var(--radius);
  color: var(--navy); font-weight: 500; text-decoration: none; background: none; border: 0; font-size: .97rem;
  font-family: inherit; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--chalk); color: var(--navy); }
.nav-item { position: relative; }
.mega {
  position: absolute; inset-inline-start: 0; top: calc(100% + 6px); min-width: 560px;
  background: #fff; border: 1px solid var(--rule); border-radius: 6px; box-shadow: var(--shadow);
  padding: 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: block; padding: .4rem .5rem; border-radius: 3px; color: var(--navy); text-decoration: none; font-weight: 500; }
.mega a:hover { background: var(--chalk); }
.mega .sub { padding-inline-start: 1.2rem; font-weight: 400; color: var(--muted); font-size: .92rem; padding-block: .25rem; }
.mega .sub::before { content: "– "; color: var(--green); }
.mega-all { grid-column: 1 / -1; border-top: 1px solid var(--rule); margin-top: .5rem; padding-top: .6rem; }
.mega-all a { color: var(--green-deep); font-weight: 600; }

.lang { display: flex; align-items: center; gap: 1px; background: var(--rule); border-radius: var(--radius); overflow: hidden; }
.lang a {
  display: block; padding: .4rem .5rem; min-width: 34px; text-align: center; background: #fff;
  font: 500 .74rem/1 var(--f-mono); color: var(--muted); text-decoration: none; letter-spacing: .04em;
}
.lang a:hover { color: var(--navy); background: var(--chalk); }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.header-cta { flex: none; }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .menu-btn {
    display: inline-flex; margin-inline-start: auto; align-items: center; gap: .5rem; padding: .55rem .8rem;
    border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; color: var(--navy);
    font: 600 .9rem/1 var(--f-body); cursor: pointer; min-height: 44px;
  }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem var(--gutter) 2rem; gap: 0; overflow-y: auto; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav[data-open="true"] { opacity: 1; transform: none; visibility: visible; }
  .nav-link { padding: .9rem .25rem; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 1.05rem; width: 100%; }
  .mega { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none;
          border: 0; grid-template-columns: 1fr; padding: .25rem 0 .75rem; display: none; }
  .nav-item[data-open="true"] .mega { display: grid; }
  .lang { margin-top: 1.25rem; align-self: flex-start; }
  .lang a { padding: .65rem .8rem; font-size: .85rem; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}
@media (min-width: 1081px) { .nav .nav-mobile-cta { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22, 21, 61, .94) 0%, rgba(22, 21, 61, .78) 42%, rgba(22, 21, 61, .25) 100%);
}
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(22, 21, 61, .94) 0%, rgba(22, 21, 61, .78) 42%, rgba(22, 21, 61, .25) 100%); }
.hero-lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
[dir="rtl"] .hero-lines { transform: scaleX(-1); }
.hero-lines path, .hero-lines circle, .hero-lines rect {
  fill: none; stroke: #fff; stroke-width: 2; opacity: .28; vector-effect: non-scaling-stroke;
  stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: mark 2.4s cubic-bezier(.6, 0, .2, 1) .2s forwards;
}
.hero-lines .accent { stroke: var(--green); opacity: .9; stroke-width: 3; animation-delay: .9s; }
@keyframes mark { to { stroke-dashoffset: 0; } }
.hero-inner { padding-block: clamp(5rem, 13vw, 10rem) clamp(4rem, 9vw, 7rem); max-width: 760px; }
.hero .eyebrow { color: var(--green); }
.hero h1 { color: #fff; font-size: clamp(3rem, 8.4vw, 6.6rem); }
.hero h1 .line2 { color: var(--green); display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .86); max-width: 56ch; margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-families {
  border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: .25rem 1.75rem;
  padding-block: 1.1rem; font: 500 .8rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
}
[dir="rtl"] .hero-families { font-family: var(--f-body); letter-spacing: 0; font-size: .9rem; }
.hero-families a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.hero-families a:hover { color: #fff; }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-chalk { background: var(--chalk); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--green); }
.section-navy .lede { color: rgba(255, 255, 255, .75); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.section-head > div { max-width: 720px; }

/* ---------- families ---------- */
.families { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.family {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px;
  border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); isolation: isolate;
}
.family img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.family::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 21, 61, 0) 30%, rgba(22, 21, 61, .92) 100%); }
.family:hover img { transform: scale(1.04); }
.family-body { padding: 1.1rem 1.2rem 1.2rem; border-top: 3px solid var(--green); margin-inline: 1.2rem; padding-inline: 0; }
.family h3 { color: #fff; font: 700 1.6rem/1 var(--f-display); text-transform: uppercase; }
[dir="rtl"] .family h3 { text-transform: none; font-size: 1.35rem; line-height: 1.3; }
.family .count { font: 500 .75rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-top: .45rem; display: block; }
.family:hover { color: #fff; }

/* ---------- SIGNATURE: sample tag cards ---------- */
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.tag {
  position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink);
  text-decoration: none; border: 1px solid var(--rule); border-radius: 6px 6px 6px 6px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.tag:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 2px 4px rgba(22, 21, 61, .08), 0 18px 36px -16px rgba(22, 21, 61, .35); color: var(--ink); }
[dir="rtl"] .tag:hover { transform: translateY(-3px) rotate(.4deg); }
.tag-swatch { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 5px 5px 0 0; background: var(--chalk); }
.tag-swatch img { width: 100%; height: 100%; object-fit: cover; }
.tag-hole {
  position: absolute; top: 12px; inset-inline-start: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 4px var(--chalk), 0 0 0 1px rgba(0, 0, 0, .12); z-index: 1;
}
.tag-body { padding: 1rem 1.1rem 1.1rem; border-inline-start: 4px solid var(--green); flex: 1; display: flex; flex-direction: column; gap: .45rem; }
.tag-cat { font: 500 .7rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .tag-cat { font-family: var(--f-body); letter-spacing: 0; font-size: .8rem; }
.tag-name { font: 700 1.5rem/1 var(--f-display); text-transform: uppercase; color: var(--navy); }
[dir="rtl"] .tag-name { text-transform: none; font-size: 1.25rem; line-height: 1.3; }
.tag-spec { margin-top: auto; padding-top: .55rem; border-top: 1px dashed var(--rule); font: 400 .78rem/1.4 var(--f-mono); color: var(--ink); direction: ltr; text-align: start; }
[dir="rtl"] .tag-spec { text-align: end; }
.tag-id { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 1; background: rgba(255, 255, 255, .92); color: var(--navy); font: 500 .68rem/1 var(--f-mono); padding: .3rem .45rem; border-radius: 2px; letter-spacing: .08em; }

/* ---------- tech ---------- */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
@media (max-width: 700px) { .tech { grid-template-columns: repeat(2, 1fr); } }
.tech-item { background: #fff; padding: 1.25rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; }
.tech-item img { height: 46px; width: auto; object-fit: contain; }
.tech-item span { font: 500 .78rem/1.3 var(--f-mono); color: var(--navy); letter-spacing: .03em; }

/* ---------- references ---------- */
.countries { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2.25rem; padding: 0; list-style: none; }
.countries li { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .3rem .8rem; font-size: .88rem; color: rgba(255, 255, 255, .9); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.photo { position: relative; margin: 0; border-radius: 5px; overflow: hidden; background: var(--navy-deep); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem .85rem .75rem; color: #fff; font-size: .88rem; line-height: 1.3;
  background: linear-gradient(180deg, rgba(22, 21, 61, 0), rgba(22, 21, 61, .7) 45%, rgba(22, 21, 61, .95));
}
.photo figcaption b { display: block; font: 600 .7rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .2rem; }
[dir="rtl"] .photo figcaption b { font-family: var(--f-body); letter-spacing: 0; font-size: .8rem; }
.photo a { color: #fff; text-decoration: none; }
.photo button { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.photo button:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }

/* ---------- quality + offices ---------- */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.marks { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.mark { font: 700 1.15rem/1 var(--f-display); letter-spacing: .04em; color: var(--navy); border: 2px solid var(--navy); padding: .5rem .75rem; border-radius: 3px; }
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.office { background: #fff; padding: 1.25rem; }
.office h3 { font: 600 .72rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); margin-bottom: .35rem; }
[dir="rtl"] .office h3 { font-family: var(--f-body); letter-spacing: 0; font-size: .85rem; }
.office .city { font: 700 1.5rem/1.1 var(--f-display); text-transform: uppercase; color: var(--navy); margin-bottom: .5rem; }
.office p { margin: 0; font-size: .9rem; color: var(--muted); }
.office a[href^="tel"] { display: inline-block; margin-top: .5rem; font-family: var(--f-mono); font-size: .88rem; direction: ltr; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-deep); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.5rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { margin: .4rem 0 0; color: rgba(255, 255, 255, .88); max-width: 60ch; }
.cta-band .btn { background: #fff; color: var(--green-deep); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }

/* ---------- page head / breadcrumb ---------- */
.page-head { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: -60px; width: 340px;
  border: 2px solid rgba(255, 255, 255, .12); border-radius: 50%; aspect-ratio: 1; height: auto; top: -40%;
}
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.5rem); }
.page-head .lede { color: rgba(255, 255, 255, .78); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1rem; padding: 0; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
[dir="rtl"] .crumbs { font-family: var(--f-body); letter-spacing: 0; font-size: .85rem; }
.crumbs li + li::before { content: "/"; margin-inline-end: .4rem; color: var(--green); }
.crumbs a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip { display: inline-block; padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-size: .9rem; }
.chip:hover { background: #fff; color: var(--navy); }

/* ---------- prose ---------- */
.prose { max-width: 75ch; }
.prose p { margin: 0 0 1em; }
.prose h3 { font: 700 1.7rem/1.1 var(--f-display); text-transform: uppercase; margin: 1.8em 0 .6em; }
[dir="rtl"] .prose h3 { text-transform: none; font-size: 1.4rem; line-height: 1.35; }
.prose h4 { font-size: 1.1rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-inline-start: 1.25rem; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--green-deep); }
.prose img { border-radius: 5px; margin: 1.25rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .92rem; }
.prose td, .prose th { border: 1px solid var(--rule); padding: .55rem .7rem; vertical-align: top; text-align: start; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 5px; }
.fallback-note { font-size: .88rem; color: var(--muted); background: var(--chalk); border-inline-start: 3px solid var(--blue); padding: .65rem .9rem; margin: 0 0 1.5rem; border-radius: 0 3px 3px 0; }
details.more { border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: 1.25rem; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-deep); color: #fff; font-weight: 600; }
details.more[open] summary::before { content: "–"; }

/* ---------- product ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.gallery-main { border-radius: 6px; overflow: hidden; background: var(--chalk); aspect-ratio: 4 / 3; }
.gallery-main button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .5rem; margin-top: .6rem; }
.thumbs button { all: unset; cursor: pointer; aspect-ratio: 1; border-radius: 4px; overflow: hidden; outline: 2px solid transparent; outline-offset: 1px; background: var(--chalk); }
.thumbs button[aria-current="true"] { outline-color: var(--green-deep); }
.thumbs button:focus-visible { outline: 3px solid var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.spec-card { position: sticky; top: 96px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; box-shadow: var(--shadow); }
.spec-card-head { padding: 1.4rem 1.5rem 1.2rem; border-inline-start: 5px solid var(--green); position: relative; }
.spec-card-head .tag-hole { top: 16px; inset-inline-start: auto; inset-inline-end: 16px; }
.spec-card h1 { font: 800 clamp(2.3rem, 4.4vw, 3.4rem)/.95 var(--f-display); text-transform: uppercase; margin: .35rem 0 0; }
[dir="rtl"] .spec-card h1 { text-transform: none; line-height: 1.25; font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.spec-card .ref { font: 500 .72rem/1 var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { padding: .65rem 1.5rem; border-top: 1px solid var(--rule); text-align: start; vertical-align: top; }
.spec-table th { width: 42%; font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .spec-table th { font-family: var(--f-body); letter-spacing: 0; text-transform: none; font-size: .85rem; }
.spec-table td { font-family: var(--f-mono); font-size: .84rem; color: var(--ink); white-space: pre-line; }
.spec-card-foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--rule); display: grid; gap: .6rem; }
.spec-card-foot .btn { justify-content: center; }
.spec-card-foot small { color: var(--muted); font-size: .82rem; }

.ref-group + .ref-group { margin-top: 2rem; }
.ref-group h3 { font: 700 1.3rem/1.1 var(--f-display); text-transform: uppercase; margin-bottom: .75rem; display: flex; gap: .6rem; align-items: center; }
.ref-group h3::before { content: ""; width: 14px; height: 14px; border: 3px solid var(--green); border-radius: 50%; }
[dir="rtl"] .ref-group h3 { text-transform: none; }
.section-navy .ref-group h3 { color: #fff; }
.ref-products { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.ref-products a { display: inline-block; font: 500 .78rem/1 var(--f-mono); padding: .4rem .6rem; border-radius: 3px; background: var(--chalk); color: var(--navy); text-decoration: none; }
.ref-products a:hover { background: var(--navy); color: #fff; }

/* ---------- info pages ---------- */
.with-aside { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside-nav { position: sticky; top: 100px; display: grid; gap: .1rem; }
.aside-nav h2 { font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
[dir="rtl"] .aside-nav h2 { font-family: var(--f-body); letter-spacing: 0; font-size: .85rem; }
.aside-nav a { display: block; padding: .5rem .75rem; border-inline-start: 2px solid var(--rule); color: var(--navy); text-decoration: none; font-size: .95rem; }
.aside-nav a:hover { border-color: var(--blue); background: var(--chalk); }
.aside-nav a[aria-current="page"] { border-color: var(--green-deep); font-weight: 600; background: var(--chalk); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.doc-grid button { all: unset; cursor: zoom-in; display: block; background: #fff; border: 1px solid var(--rule); border-radius: 5px; padding: .6rem; box-shadow: var(--shadow); }
.doc-grid button:focus-visible { outline: 3px solid var(--green); }
.doc-grid img { width: 100%; height: auto; margin: 0; border-radius: 2px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9c0d0; border-radius: var(--radius);
  padding: .7rem .8rem; min-height: 46px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(0, 163, 56, .35); border-color: var(--green-deep); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.mail-line { font: 600 1.4rem/1.2 var(--f-display); letter-spacing: .02em; }
.mail-line a { color: var(--navy); }

/* ---------- footer ---------- */
.site-footer { background: var(--chalk); border-top: 4px solid var(--navy); padding-block: 3.5rem 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
[dir="rtl"] .site-footer h2 { font-family: var(--f-body); letter-spacing: 0; font-size: .85rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-tag { font: 700 1.5rem/1 var(--f-display); text-transform: uppercase; color: var(--navy); margin: 1rem 0 .5rem; }
[dir="rtl"] .footer-tag { text-transform: none; }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .85rem; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(14, 13, 40, .9); }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; margin-inline: auto; border-radius: 4px; }
.lightbox-close { position: fixed; top: 14px; inset-inline-end: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split, .product, .contact-grid, .with-aside { grid-template-columns: 1fr; }
  .spec-card, .aside-nav { position: static; }
  .aside-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: .4rem; }
  .aside-nav h2 { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .brand img { width: 132px; }
  .header-row { min-height: 64px; }
  .nav { inset-block-start: 64px; }
  .offices, .form .row2, .footer-grid { grid-template-columns: 1fr; }
  .tags { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .tag-name { font-size: 1.2rem; }
  .tag-body { padding: .75rem .8rem .85rem; }
  .tag-spec { font-size: .7rem; }
  .photos { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .photo figcaption { font-size: .78rem; padding: 1rem .6rem .5rem; }
  .families { grid-template-columns: 1fr; }
  .family { min-height: 200px; }
  .spec-table th, .spec-table td { padding-inline: 1rem; }
}
@media (max-width: 380px) { .tags { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .hero-lines { opacity: .5; } .hero-families { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-lines path, .hero-lines circle, .hero-lines rect { stroke-dashoffset: 0; }
}
