:root {
  --red: #ef1b23;
  --red-dark: #c90f17;
  --ink: #171516;
  --text: #171516;
  --muted: #706b6d;
  --line: #ded9da;
  --soft: #f4f1ef;
  --paper: #fffdfb;
  --field: #ffffff;
  --header-bg: rgba(255, 253, 251, 0.94);
  --panel-bg: rgba(255, 253, 251, 0.97);
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(31, 24, 25, 0.12);
  --shell: min(1240px, calc(100vw - 48px));
}

html[data-theme="dark"] {
  --text: #f5f1ef;
  --muted: #aaa3a5;
  --line: #393436;
  --soft: #1c191a;
  --paper: #121011;
  --field: #1b1819;
  --header-bg: rgba(18, 16, 17, 0.95);
  --panel-bg: rgba(18, 16, 17, 0.97);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: color 180ms ease, background-color 180ms ease;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(239, 27, 35, 0.36);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  transform: none;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 108px 0;
}

.section--soft {
  background: var(--soft);
}

.section--ink {
  color: var(--white);
  background: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.1vw, 6.9rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.4vw, 4.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.section-intro {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button--primary:hover {
  background: var(--red-dark);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.button--light {
  color: var(--ink);
  background: var(--white);
}

.button--outline {
  border-color: var(--line);
  background: transparent;
}

.button--outline:hover {
  border-color: var(--text);
}

.text-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* Header */

[data-site-header] {
  display: contents;
}

.topbar {
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
  font-size: 0.78rem;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.topbar-label {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: 1px solid rgba(29, 25, 26, 0.09);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

html[data-theme="dark"] .brand img,
.footer-brand img {
  background: transparent;
  filter: invert(1) hue-rotate(180deg) brightness(1.16) contrast(1.06);
  mix-blend-mode: screen;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-tools {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--soft);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.theme-icon {
  position: absolute;
  font-size: 1rem;
  line-height: 1;
}

.theme-icon--sun,
html[data-theme="dark"] .theme-icon--moon {
  display: none;
}

html[data-theme="dark"] .theme-icon--sun {
  display: block;
}

html[data-theme="dark"] .nav-toggle {
  background: var(--red);
}

.main-nav > a:not(.button) {
  position: relative;
  padding: 30px 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.language-switcher a {
  display: grid;
  width: 32px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.language-switcher a:hover,
.language-switcher a.is-active {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .nav-toggle span {
  opacity: 0;
}

.menu-open .nav-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .nav-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  overflow: hidden;
  padding: 58px 0 76px;
}

.hero-grid {
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 70px 38px 0;
}

.hero-copy h1 {
  max-width: 820px;
}

.hero-copy h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-meta {
  display: flex;
  gap: 38px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-media {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 3px 3px 92px 3px;
  background: var(--ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(17, 14, 15, 0.72));
  content: "";
}

.hero-badge {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 148px;
  height: 148px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 17px 0;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-right: 28px;
  color: #504a4c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker-track span::after {
  color: var(--red);
  content: "✦";
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Categories */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  overflow: hidden;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: color 220ms ease, background 220ms ease;
}

.category-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 253, 251, 0.93) 4%, rgba(255, 253, 251, 0.68) 58%, rgba(255, 253, 251, 0.28));
  content: "";
  pointer-events: none;
  transition: background 260ms ease;
}

.category-card > :not(.category-card-image) {
  position: relative;
  z-index: 2;
}

.category-card-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(0.9);
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 320ms ease, filter 320ms ease, transform 520ms ease;
}

.category-card:nth-child(1),
.category-card:nth-child(6),
.category-card:nth-child(9) {
  grid-column: span 2;
}

.category-card:hover {
  color: var(--white);
  background: var(--ink);
}

.category-card:hover::before {
  background: linear-gradient(115deg, rgba(23, 21, 22, 0.9) 3%, rgba(23, 21, 22, 0.62) 58%, rgba(23, 21, 22, 0.28));
}

.category-card:hover .category-card-image {
  opacity: 0.48;
  filter: grayscale(0.2) saturate(0.85) contrast(1.04);
  transform: scale(1.065);
}

html[data-theme="dark"] .category-card::before {
  background: linear-gradient(115deg, rgba(18, 16, 17, 0.95) 4%, rgba(18, 16, 17, 0.72) 58%, rgba(18, 16, 17, 0.34));
}

html[data-theme="dark"] .category-card:hover::before {
  background: linear-gradient(115deg, rgba(8, 7, 7, 0.9) 3%, rgba(8, 7, 7, 0.58) 58%, rgba(8, 7, 7, 0.24));
}

html[data-theme="dark"] .category-count {
  color: rgba(255, 255, 255, 0.035);
}

.category-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 78px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.category-arrow {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.category-card:hover .category-arrow {
  transform: translate(4px, -4px);
}

.category-card h3 {
  margin-bottom: 10px;
}

.category-card p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.category-card:hover p {
  color: rgba(255, 255, 255, 0.66);
}

.category-count {
  position: absolute;
  right: -8px;
  bottom: -46px;
  color: rgba(23, 21, 22, 0.035);
  font-size: 10rem;
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
  transition: color 220ms ease;
}

.category-card:hover .category-count {
  color: rgba(255, 255, 255, 0.06);
}

/* Split story */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 84px;
  align-items: center;
}

.story-media {
  position: relative;
}

.story-media-main {
  width: calc(100% - 48px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-media-small {
  position: absolute;
  right: 0;
  bottom: -42px;
  width: 48%;
  aspect-ratio: 4 / 3;
  border: 10px solid var(--paper);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-copy h2 {
  max-width: 660px;
}

.story-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.06rem;
}

.value-list {
  display: grid;
  gap: 0;
  margin: 38px 0;
  border-top: 1px solid var(--line);
}

.value-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.value-item span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.value-item strong {
  display: block;
  margin-bottom: 3px;
}

.value-item small {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Products */

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

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(28, 20, 22, 0.09);
}

html[data-theme="dark"] .product-card:hover {
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.product-art {
  position: relative;
  height: 200px;
  overflow: hidden;
  color: var(--white);
  background: #1b191a;
}

.product-art::before,
.product-art::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  content: "";
}

.product-art--image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #f6f4f2;
}

.product-art--image::before,
.product-art--image::after {
  display: none;
}

.product-art--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
}

.product-card:hover .product-art--image img {
  transform: scale(1.035);
}

.product-art--logo {
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}

.product-art--logo img {
  height: auto;
  max-height: 74px;
  object-fit: contain;
}

.product-art--logo span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-art::before {
  top: -70px;
  right: -20px;
  width: 230px;
  height: 230px;
}

.product-art::after {
  right: 54px;
  bottom: -90px;
  width: 170px;
  height: 170px;
}

.product-art-label {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-art-code {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 4.6rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.art--ledler { background: linear-gradient(135deg, #171516, #5a1115); }
.art--baski-folyalari { background: linear-gradient(135deg, #174b61, #16242a); }
.art--viniller { background: linear-gradient(135deg, #843716, #2b1b18); }
.art--uygulama-folyalari { background: linear-gradient(135deg, #2d644d, #16241e); }
.art--baskilik-kagitlar { background: linear-gradient(135deg, #6b5b45, #27231d); }
.art--kasa-kosebentler { background: linear-gradient(135deg, #626a70, #23272a); }
.art--levhalar { background: linear-gradient(135deg, #6a335f, #251923); }
.art--display-urunler { background: linear-gradient(135deg, #1d4a84, #172336); }
.art--sarf-malzemeler { background: linear-gradient(135deg, #7b2538, #2b1820); }
.art--elektrik-malzemeleri { background: linear-gradient(135deg, #966e0c, #29230f); }
.art--gofraj { background: linear-gradient(135deg, #56626a, #202529); }
.art--baski-boyalari { background: linear-gradient(135deg, #8b244e, #261720); }
.art--hazir-tabelalar { background: linear-gradient(135deg, #916f18, #29230f); }

.product-card-copy {
  padding: 22px;
}

.product-card-category {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 2.2em;
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.product-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 750;
}

.product-card-link span:last-child {
  color: var(--red);
  font-size: 1.1rem;
}

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

/* Catalogue banner */

.catalogue-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 430px;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: 30px;
  color: var(--white);
  background: var(--red);
}

.catalogue-copy {
  position: relative;
  z-index: 2;
  padding: 68px;
}

.catalogue-copy .eyebrow {
  color: var(--ink);
}

.catalogue-copy h2 {
  max-width: 650px;
}

.catalogue-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
}

.catalogue-visual {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.catalogue-visual::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 28px, rgba(255,255,255,.06) 29px 30px);
  content: "";
}

.catalogue-visual strong {
  position: absolute;
  right: -16px;
  bottom: -28px;
  color: var(--white);
  font-size: clamp(8rem, 18vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.11em;
  line-height: 0.8;
}

/* Branches */

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

.branch-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 26px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.branch-number {
  color: var(--red);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.branch-card h3 {
  color: var(--white);
}

.branch-card address {
  max-width: 420px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
}

.branch-card a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 750;
}

/* Inner page hero */

.page-hero {
  padding: 86px 0 68px;
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.6fr);
  gap: 80px;
  align-items: end;
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.page-hero-copy {
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero-copy strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
}

/* Product archive */

.catalogue-toolbar {
  position: sticky;
  z-index: 80;
  top: 84px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-bg);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(30, 23, 25, 0.04);
}

.catalogue-controls {
  display: grid;
  gap: 12px;
}

.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.search-box {
  position: relative;
  flex: 0 1 420px;
}

.search-box input {
  width: 100%;
  height: 50px;
  padding: 0 48px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--field);
  outline: none;
}

.search-box input:focus {
  border-color: var(--text);
}

.search-box span {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.result-count {
  flex: none;
  color: var(--muted);
  font-size: 0.85rem;
}

.filter-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-bottom: 0;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.catalogue-products {
  padding-top: 52px;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: none;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

html[data-theme="dark"] .filter-chip:hover,
html[data-theme="dark"] .filter-chip.is-active {
  border-color: var(--red);
  background: var(--red);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 80px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* Product detail */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 34px 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.product-detail {
  padding-bottom: 96px;
}

.product-detail-grid {
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}

.product-detail-art {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 4px 4px 72px 4px;
  color: var(--white);
}

.product-detail-media {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.product-detail-media--logo {
  position: relative;
}

.product-detail-media--logo .product-detail-image {
  padding: clamp(48px, 9vw, 110px);
}

.product-detail-media--logo > span {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-detail-image {
  width: 100%;
  min-height: 500px;
  max-height: 620px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px 4px 72px 4px;
  background: #f6f4f2;
  object-fit: contain;
}

.product-media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-media-strip img {
  width: 100%;
  height: 120px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f4f2;
  object-fit: contain;
}

.product-detail-art::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.art-index {
  position: absolute;
  top: 32px;
  left: 34px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.art-word {
  position: absolute;
  right: 28px;
  bottom: 18px;
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.art-ring {
  position: absolute;
  top: 12%;
  right: -12%;
  width: 46%;
  aspect-ratio: 1;
  border: 28px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.art-line {
  position: absolute;
  top: 52%;
  left: -10%;
  width: 120%;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(-18deg);
}

.product-detail-copy h1 {
  max-width: 700px;
  font-size: clamp(3rem, 5vw, 5.8rem);
}

.product-lead {
  max-width: 630px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.12rem;
}

.product-note {
  display: grid;
  gap: 5px;
  max-width: 620px;
  margin-bottom: 32px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

.product-note span {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-information {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.product-information-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 90px;
  align-items: start;
}

.product-information h2 {
  max-width: 700px;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.product-rich-text {
  max-width: 760px;
  color: var(--muted);
}

.product-rich-text p {
  margin-bottom: 15px;
}

.product-specification-panel {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--soft);
}

.product-specs {
  margin: 0;
}

.product-specs > div {
  display: grid;
  grid-template-columns: minmax(120px, .65fr) minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.product-specs > div:last-child {
  border-bottom: 0;
}

.product-specs dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.product-specs dd {
  margin: 0;
  font-size: .9rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.product-contact-panel h3 {
  max-width: 360px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.product-contact-panel > p:not(.eyebrow) {
  margin-bottom: 26px;
  color: var(--muted);
}

/* About */

.about-intro-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 96px;
}

.about-intro-grid h2 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.about-body {
  columns: 2;
  column-gap: 48px;
  color: var(--muted);
  font-size: 1.03rem;
}

.about-body p {
  break-inside: avoid;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-item span {
  display: block;
  margin-bottom: 76px;
  color: var(--red);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

/* Gallery */

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

.gallery-item {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  grid-column: span 4;
  border-radius: 4px;
  background: var(--ink);
}

.gallery-item:nth-child(6n + 1),
.gallery-item:nth-child(6n + 5) {
  grid-column: span 8;
}

.gallery-item:nth-child(5n + 2) {
  min-height: 430px;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(18, 14, 15, 0.7));
  content: "";
}

.gallery-item span {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 16px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-item:hover img {
  filter: saturate(1.15);
  transform: scale(1.035);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 90px;
}

.contact-sticky {
  position: sticky;
  top: 130px;
  align-self: start;
}

.contact-sticky h2 {
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
}

.contact-sticky p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-links a {
  width: fit-content;
  font-size: 1.1rem;
  font-weight: 750;
}

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

.contact-branch-list {
  display: grid;
  gap: 20px;
}

.contact-branch {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-branch-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.contact-branch-number {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 34px;
}

.contact-details small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details p,
.contact-details address {
  margin: 0;
  font-size: 0.9rem;
  font-style: normal;
}

.hours-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.hours-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hours-row span:last-child {
  color: rgba(255, 255, 255, 0.64);
}

/* Footer */

.site-footer {
  color: var(--white);
  background: #0f0d0e;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.7fr 0.8fr;
  gap: 56px;
  padding: 76px 0;
}

.footer-brand img {
  width: 190px;
  height: 52px;
  margin-bottom: 24px;
  padding: 0;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.footer-column h3 {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

/* Right-to-left language support */

[dir="rtl"] body {
  font-family: Tahoma, Arial, sans-serif;
}

[dir="rtl"] .brand img {
  object-position: right center;
}

[dir="rtl"] .footer-brand img {
  object-position: right center;
}

[dir="rtl"] .hero-copy {
  padding-right: 0;
  padding-left: 70px;
}

[dir="rtl"] .hero-badge,
[dir="rtl"] .story-media-small {
  right: auto;
  left: 24px;
}

[dir="rtl"] .story-media-small {
  left: 0;
}

[dir="rtl"] .category-count {
  right: auto;
  left: -8px;
}

[dir="rtl"] .product-art-label {
  right: 22px;
  left: auto;
}

[dir="rtl"] .product-art-code {
  right: auto;
  left: 20px;
}

[dir="rtl"] .floating-contact {
  right: auto;
  left: 22px;
}

[dir="rtl"] .text-link:hover span,
[dir="rtl"] .category-card:hover .category-arrow {
  transform: translate(-3px, -3px);
}

.floating-contact {
  position: fixed;
  z-index: 75;
  right: 22px;
  bottom: 22px;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: #1da851;
  box-shadow: 0 12px 34px rgba(18, 90, 48, 0.3);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .main-nav .button { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); }
  .hero-copy { padding-right: 42px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card:nth-child(1),
  .category-card:nth-child(6),
  .category-card:nth-child(9) { grid-column: span 1; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-grid { gap: 54px; }
  .footer-main { grid-template-columns: 1.2fr repeat(3, .6fr); gap: 30px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 34px, 720px); }
  .section { padding: 78px 0; }
  .topbar { display: none; }
  .site-header { backdrop-filter: none; }
  .nav-shell { min-height: 72px; }
  .brand { width: 158px; }
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    z-index: 89;
    top: 72px;
    right: 0;
    bottom: auto;
    left: 0;
    display: flex;
    height: calc(100vh - 72px);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px 18px 44px;
    background: var(--paper);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .menu-open .main-nav { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav > a:not(.button) {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.2rem;
  }
  .main-nav > a:not(.button)::after { display: none; }
  .main-nav .button { display: inline-flex; margin-top: 22px; }
  .main-nav .nav-tools { width: max-content; margin-top: 22px; }
  .catalogue-toolbar { top: 72px; }
  .hero { padding: 30px 0 56px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 0 48px; }
  .hero-media { min-height: 520px; }
  .hero-meta { margin-top: 44px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { min-height: 240px; }
  .story-grid,
  .product-detail-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .product-information-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-grid { gap: 80px; }
  .story-media-main { aspect-ratio: 5 / 4; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogue-panel { grid-template-columns: 1fr; }
  .catalogue-copy { padding: 48px; }
  .catalogue-visual { min-height: 240px; }
  .branch-card { grid-template-columns: 70px 1fr; padding: 28px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-copy { max-width: 580px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-body { columns: 1; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-item:nth-child(2) { border-right: 0; }
  .timeline-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .gallery-item,
  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(6n + 5) { grid-column: span 6; }
  .contact-grid { gap: 50px; }
  .contact-sticky { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  [dir="rtl"] .hero-copy { padding: 36px 0 48px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 28px); --radius: 14px; }
  .section { padding: 66px 0; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.3rem); }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 34px; }
  .button { width: 100%; }
  .hero-copy { padding-top: 22px; }
  .hero-media { min-height: 390px; border-radius: 2px 2px 48px 2px; }
  .hero-badge { width: 104px; height: 104px; font-size: .6rem; }
  .hero-meta { gap: 18px; justify-content: space-between; }
  .hero-stat strong { font-size: 1.2rem; }
  .hero-stat span { font-size: .7rem; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 216px; }
  .category-code { margin-bottom: 56px; }
  .story-media-main { width: calc(100% - 24px); aspect-ratio: 4 / 5; }
  .story-media-small { width: 54%; border-width: 6px; }
  .product-grid,
  .product-grid--compact { grid-template-columns: 1fr; }
  .catalogue-copy { padding: 34px 26px; }
  .branch-grid { grid-template-columns: 1fr; }
  .branch-card { grid-template-columns: 1fr; gap: 20px; }
  .branch-number { font-size: 2.7rem; }
  .page-hero { padding: 58px 0 48px; }
  .page-hero h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .catalogue-toolbar { top: 72px; padding: 10px 0 8px; }
  .catalogue-controls { gap: 9px; }
  .toolbar-row { align-items: center; flex-direction: row; gap: 10px; }
  .search-box { flex: 1 1 auto; }
  .search-box input { height: 44px; }
  .result-count { display: none; }
  .filter-row { gap: 7px; }
  .filter-chip { padding: 8px 13px; }
  .catalogue-products { padding-top: 36px; }
  .product-detail-grid { gap: 38px; }
  .product-detail-art { min-height: 390px; }
  .product-detail-image { min-height: 320px; max-height: 440px; padding: 10px; border-radius: 3px 3px 42px 3px; }
  .product-media-strip img { height: 88px; }
  .product-detail-copy h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .product-specification-panel { padding: 24px; }
  .product-specs > div { grid-template-columns: 1fr; gap: 4px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item,
  .timeline-item:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .timeline-item:last-child { border-bottom: 0; }
  .gallery-item,
  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(6n + 5) { min-height: 240px; grid-column: 1 / -1; }
  .contact-branch { padding: 26px; }
  .contact-branch-head { margin-bottom: 30px; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: start; flex-direction: column; }
  .floating-contact { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  [dir="rtl"] .floating-contact { right: auto; left: 14px; }
}

@media (hover: none) {
  .category-card-image {
    opacity: 0.16;
    transform: none;
  }
}

@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; }
}
