/* Atlıhan Kalıp — black page, white type, gold banner */

:root {
  --brand: #d8a92a;
  --brand-rgb: 216, 169, 42;
  --brand-dark: #c49a24;
  --brand-light: #e5b835;
  --gold: var(--brand);
  --gold-light: #ffffff;
  --amber: #d8a92a;
  --amber-deep: #111111;
  --anthracite: #000000;
  --anthracite-soft: #161616;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --ink: #000000;
  --border: rgba(255, 255, 255, 0.14);
  --gradient-gold: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 45%, var(--brand-dark) 100%);
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --header-h: 72px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--anthracite);
  color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: var(--white);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

html.intro-pending,
html.intro-pending body {
  overflow: hidden;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.site-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-intro__video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  background: #000;
}

.site-intro__skip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
}

.site-intro__skip:hover {
  background: var(--brand);
  color: var(--ink);
  border-color: var(--brand);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: var(--brand);
  color: var(--ink);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  height: 64px;
  width: auto;
  max-width: 46vw;
  flex-shrink: 1;
  object-fit: contain;
  display: block;
}

.brand__text {
  font-size: 0.95rem;
  color: var(--ink);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
}

.lang-switch label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lang-switch select {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.1);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.35);
  color: var(--ink);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4.75rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
  filter: brightness(1.18) contrast(1.04);
  transform: scale(1.04);
}

.hero__slide.is-active img {
  animation: heroKen 18s ease-in-out infinite alternate;
}

.hero__slide--clear-header img {
  object-position: center top;
  transform: translateY(var(--header-h)) scale(1.05);
}

.hero__slide--clear-header.is-active img {
  animation: none;
}

@keyframes heroKen {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1%, -1%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }

  .hero__slide.is-active img {
    animation: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.1) 48%,
    rgba(0, 0, 0, 0.58) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero__ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__nav {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero__nav:hover {
  filter: brightness(1.08);
}

.hero__nav--prev {
  left: 1rem;
}

.hero__nav--next {
  right: 1rem;
}

.hero__dots {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero__dot.is-active {
  background: var(--brand);
  border-color: var(--brand);
}

@media (max-width: 700px) {
  .hero {
    padding-bottom: 4.25rem;
  }

  .hero__nav {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .hero__nav--prev {
    left: 0.5rem;
  }

  .hero__nav--next {
    right: 0.5rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 1.35rem;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  color: var(--ink);
}

button.btn {
  font-family: inherit;
}

/* Sections */
.section {
  padding: 4.5rem 1.5rem;
}

.section--tight {
  padding-top: 3rem;
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.5rem;
  color: var(--gold-light);
  font-weight: 600;
}

.about__text {
  color: var(--muted);
  max-width: 72ch;
  font-size: 1.05rem;
  white-space: pre-line;
}

@media (min-width: 901px) {
  .section h2 {
    text-align: center;
  }

  .about__text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .product-card--action {
    text-align: center;
  }

  #contact .contact-layout {
    text-align: left;
  }
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--anthracite-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-dark);
}

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

.product-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--white);
}

.product-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.product-card--action {
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.product-card--action:hover {
  color: inherit;
}

.product-card--action:focus-visible {
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.55);
}

.product-card__media img {
  transition: transform 0.35s ease;
}

.product-card--action:hover .product-card__media img {
  transform: scale(1.04);
}

/* Models gallery popup */
.models-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.models-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.models-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.models-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: min(90vh, 920px);
  display: flex;
  flex-direction: column;
  background: var(--anthracite-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.models-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.models-modal__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--white);
  font-weight: 600;
}

.models-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.models-modal__close:hover {
  filter: brightness(1.1);
}

.models-modal__intro {
  margin: 0;
  padding: 0.75rem 1.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.models-modal__body {
  padding: 1rem 1.5rem 1.5rem;
  overflow-y: auto;
}

.models-modal__grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* Fairs map */
.section--fairs .section__inner {
  max-width: 1200px;
}

.fairs__intro {
  margin-bottom: 1.5rem;
}

.fairs-map {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at 50% 40%, #1f3a4d 0%, #14232f 60%, #0d1720 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45), 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.fairs-map__svg {
  display: block;
  width: 100%;
  height: auto;
  cursor: grab;
  touch-action: none;
}

.fairs-map__svg.is-panning {
  cursor: grabbing;
}

.fairs-map__world {
  opacity: 0.5;
  filter: grayscale(100%) brightness(1.7) contrast(1.05)
    drop-shadow(0 0 1px rgba(216, 169, 42, 0.4));
}

.fairs-map__controls {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.fairs-map__ctrl {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #0d1720;
  background: var(--brand);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: filter 0.15s, transform 0.1s;
}

.fairs-map__ctrl:hover {
  filter: brightness(1.1);
}

.fairs-map__ctrl:active {
  transform: translateY(1px);
}

.fairs-map__ctrl:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.fair-pin {
  cursor: pointer;
}

.fair-pin__hit {
  fill: transparent;
  stroke: none;
}

.fair-pin__dot {
  fill: var(--brand);
  stroke: #ffffff;
  stroke-width: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s;
  transform-origin: center;
  transform-box: fill-box;
}

.fair-pin__pulse {
  fill: var(--brand);
  opacity: 0.35;
  transform-origin: center;
  transform-box: fill-box;
  animation: fairPulse 2.4s ease-out infinite;
}

@keyframes fairPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  70% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.fair-pin__stem {
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.fair-pin__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  fill: #ffffff;
  paint-order: stroke;
  stroke: #0d1720;
  stroke-width: 3px;
  stroke-linejoin: round;
}

.fair-pin:hover .fair-pin__dot,
.fair-pin:focus-visible .fair-pin__dot {
  transform: scale(1.15);
}

.fair-pin:focus {
  outline: none;
}

.fair-pin:focus-visible .fair-pin__hit {
  stroke: #000;
  stroke-width: 2;
  stroke-dasharray: 4 2;
}

/* Fair info popup */
.fair-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.fair-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.fair-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.fair-modal__panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 1.5rem 1.75rem;
  background: #ffffff;
  color: #000;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.fair-modal__panel h3 {
  margin: 0 2rem 0.75rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #000;
}

.fair-modal__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
  white-space: pre-line;
}

.fair-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #000;
  color: var(--brand);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.fair-modal__close:hover {
  filter: brightness(1.1);
}

/* Gallery */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--brand);
  color: var(--ink);
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--anthracite-soft);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--brand);
}

.gallery-item__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.gallery-item__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.gallery-item__socials {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.gallery-item__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
}

.gallery-item__socials a:hover {
  background: var(--brand);
  color: #000000;
}

.gallery-empty {
  color: var(--muted);
  padding: 2rem 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 4.5rem;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 42vh;
  max-height: 78vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  touch-action: none;
}

.lightbox__media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__media img,
.lightbox__dialog video {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.18s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox.is-zoomed .lightbox__media img {
  cursor: grab;
  max-height: none;
}

.lightbox__media img.is-dragging {
  cursor: grabbing;
  transition: none;
}

.lightbox__toolbar {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.4rem;
  z-index: 3;
}

.lightbox__tool {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__tool:hover:not(:disabled) {
  background: var(--brand);
  color: #000000;
}

.lightbox__tool:disabled {
  opacity: 0.35;
  cursor: default;
}

.lightbox__close {
  position: static;
  top: auto;
  right: auto;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.lightbox__nav:hover {
  filter: brightness(1.08);
}

.lightbox__nav--prev {
  left: 0.85rem;
}

.lightbox__nav--next {
  right: 0.85rem;
}

.lightbox__nav[hidden] {
  display: none;
}

.lightbox__caption {
  padding: 0.75rem 1rem;
  background: var(--anthracite);
  color: var(--white);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox__caption[hidden] {
  display: none;
}

.lightbox__desc {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 4.5rem 0.65rem 0.65rem;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox__nav--prev {
    left: 0.4rem;
  }

  .lightbox__nav--next {
    right: 0.4rem;
  }
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  position: relative;
}

.contact-form input.contact-trap {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #1a1a1a;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.contact-aside {
  background: var(--anthracite-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-aside h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--gold-light);
}

.contact-aside p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-aside p:last-child {
  margin-bottom: 0;
}

.contact-aside__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.contact-aside a {
  color: var(--white);
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: #000000;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer__social-block {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--anthracite-soft);
  border: 1px solid var(--border);
}

.footer__social-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--gold-light);
}

.footer__social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer__social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer__social-row a:hover {
  filter: brightness(1.05);
}

.footer__embed-wrap {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--brand-dark);
}

.footer__embed-wrap iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.admin-link {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 300;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--brand);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Admin page (separate) */
.admin-body {
  padding: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.admin-body h1 {
  font-family: var(--font-display);
  color: var(--gold-light);
}

/* Responsive */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .brand__logo {
    height: 40px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(var(--brand-rgb), 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.25s, visibility 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .lang-switch {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-end;
  }
}

/* RTL — Arabic & Persian */
html[dir="rtl"] {
  --font-sans: "Noto Naskh Arabic", "Montserrat", system-ui, sans-serif;
  --font-display: "Noto Naskh Arabic", "Playfair Display", Georgia, serif;
}

html[dir="rtl"] .nav a,
html[dir="rtl"] .contact-form label,
html[dir="rtl"] .btn {
  text-transform: none;
  letter-spacing: 0;
}

html[dir="rtl"] .lang-switch {
  margin-left: 0;
  margin-right: 0.5rem;
}

html[dir="rtl"] .fairs-map__controls,
html[dir="rtl"] .lightbox__toolbar,
html[dir="rtl"] .fair-modal__close,
html[dir="rtl"] .models-modal__close {
  right: auto;
  left: 0.75rem;
}

html[dir="rtl"] .site-intro__skip {
  right: auto;
  left: 1.25rem;
}

html[dir="rtl"] .hero__nav--prev {
  left: auto;
  right: 1rem;
}

html[dir="rtl"] .hero__nav--next {
  right: auto;
  left: 1rem;
}

html[dir="rtl"] .lightbox__nav--prev {
  left: auto;
  right: 0.85rem;
}

html[dir="rtl"] .lightbox__nav--next {
  right: auto;
  left: 0.85rem;
}

@media (max-width: 768px) {
  html[dir="rtl"] .lang-switch {
    margin-right: 0;
  }

  html[dir="rtl"] .nav-wrap {
    align-items: flex-start;
  }
}
