/* ==========================================================================
   Al Kinani — clean rebuild of kinani.com.tr homepage
   No framework. Breakpoints mirror the original (Bootstrap 3 grid):
   xs < 768 · sm ≥ 768 · md ≥ 992 · lg ≥ 1200 · header-wide ≥ 1300
   ========================================================================== */

:root {
  /* brand palette, taken from the logo gold (#e2b942) */
  --brand: #e2b942;        /* logo gold: fills, borders, accents */
  --brand-hover: #cfa32e;  /* hover / pressed gold */
  --brand-text: #7a5e10;   /* deep gold for text and icons on light backgrounds (6.1:1 on white) */
  --on-brand: #1c1a16;     /* text and icons on gold (9.3:1) */
  --ink: #1c1a16;          /* warm charcoal for dark sections */
  --brand-deep: #b8901f;   /* gold for icons and rules on light backgrounds */
  --brand-soft: #f7f3ea;   /* warm tint */
  --brand-80: rgba(226, 185, 66, .94);
  --ink-2: #27231d;        /* raised surfaces on charcoal */
  --ink-line: #3d382f;     /* hairlines on charcoal */
  --on-ink: #f4efe4;       /* text on charcoal (15.6:1) */
  --on-ink-muted: #b8ae99; /* secondary text on charcoal (7.9:1) */
  --paper: #fffdf8;        /* page background: warm white */
  --sand: #f6f0e2;         /* warm light band / hover */
  --text: #2b2822;
  --muted: #6b6457;        /* secondary text on light (5.9:1) */
  --heading: #1c1a16;
  --heading-dark: #1c1a16;
  --nav: #1c1a16;
  --line: #ebe4d3;         /* warm hairline */
  --font: "Open Sans", Arial, sans-serif;
  --topbar-h: 40px;
  --navbar-h: 94px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 22px;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; vertical-align: middle; border: 0; }
a { color: var(--brand-text); text-decoration: none; }
a:hover, a:focus { text-decoration: none; }
p { margin: 0 0 20px; line-height: 24px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font); margin: 0; }
button { font-family: inherit; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 768px)  { .container { width: 750px; } }
@media (min-width: 992px)  { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }
@media (min-width: 1300px) { .container--wide { width: 1270px; } }

@media (max-width: 767px) { .hide-xs { display: none !important; } }

.section-title {
  font-size: 33px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -1px;
  color: var(--heading);
  margin: 0 0 15px;
}
.section-title b { font-weight: 800; }
.section-title--dark { color: var(--heading-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 0;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: all .1s;
}
.btn--lg { font-size: 18px; line-height: 24px; padding: 10px 16px; }
.btn--primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 600; }
.btn--primary:hover, .btn--primary:focus { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); }
.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand-text); }
.btn--outline:hover, .btn--outline:focus { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }
.btn--white:hover, .btn--white:focus { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 100;
}

/* ---------- Top bar (sits over the slider) ---------- */
.topbar {
  position: relative;
  z-index: 4;
  height: var(--topbar-h);
  background: var(--ink);
}
.topbar .container { height: 100%; }
.topbar__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  margin-inline-end: -3px;
}
.topbar__list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  color: var(--on-ink);
  font-size: 13.5px;
  line-height: 24px;
}
.topbar__list .fa { font-size: 14px; color: var(--brand); }

.topbar__search { position: relative; display: block; }
.topbar__search input[type="text"] {
  display: block;
  width: 170px;
  height: 30px;
  padding-block: 5px 5px; padding-inline: 12px 36px;
  font: 13.5px/19px var(--font);
  color: var(--on-ink);
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 0;
  box-shadow: none;
  outline: 0;
}
.topbar__search input[type="text"]:focus { border-color: var(--brand); }
.topbar__search input[type="text"]::placeholder { color: var(--on-ink-muted); }
.topbar__search button {
  position: absolute;
  top: 1px;
  inset-inline-end: 1px;
  width: 36px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--on-ink-muted);
  font-size: 14px;
  cursor: pointer;
}

/* Language switch (Arabic <-> English) */
.lang-switch { font-weight: 600; }
.topbar__list .lang-switch { color: var(--brand); }
.lang-switch:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Main bar ---------- */
.navbar {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 1001;
  transform: translate3d(0, var(--topbar-h), 0);
  transition: transform .3s ease;
}
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-bottom: 3px solid var(--brand);
  transition: opacity .3s;
}
html.is-sticky .navbar { transform: translate3d(0, 0, 0); }
html.is-sticky .navbar::before { opacity: .96; box-shadow: 0 6px 18px rgba(28, 26, 22, .12); }

.navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--navbar-h);
}
.navbar__logo { display: block; flex: 0 0 auto; }
.navbar__logo img { display: block; width: auto; height: 79px; margin-top: -1px; }

.navbar__toggle { display: none; }

.navbar__nav { margin-inline-start: auto; align-self: stretch; }

/* ---------- Desktop menu ---------- */
@media (min-width: 992px) {
  .menu { display: flex; height: 100%; }
  .menu > li { position: relative; }
  .menu > li + li { margin-inline-start: 2px; }

  .menu > li > a {
    display: flex;
    align-items: center;
    height: var(--navbar-h);
    padding: 38px 13px 36px;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    color: var(--nav);
    text-transform: uppercase;
    white-space: nowrap;
  }
  .menu > li.has-sub > a { padding-inline-end: 23px; }
  .menu > li.has-sub > a::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-block: 3px 0; margin-inline: 4px 0;
    border: 4px solid transparent;
    border-top-color: var(--nav);
  }
  html.is-sticky .menu > li.has-sub > a::after { border-top-color: var(--brand-text); }

  .menu > li:hover > a,
  .menu > li:focus-within > a { background: var(--brand); color: var(--on-brand); }
  .menu > li:hover > a::after,
  .menu > li:focus-within > a::after { border-top-color: var(--on-brand) !important; }

  .sub-toggle { display: none; }

  /* Dropdowns */
  .submenu {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 10;
    min-width: 200px;
    padding: 5px;
    background: #fff;
    border-top: 3px solid #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -5px, 0);
    transition: transform .2s ease-out, opacity .2s ease-out, visibility 0s linear .2s;
  }
  li:hover > .submenu,
  li:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .submenu li { position: relative; }
  .submenu a {
    display: block;
    padding-block: 8px 8px; padding-inline: 8px 20px;
    font-size: 12.6px;
    font-weight: 400;
    line-height: 18px;
    color: var(--nav);
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
  }
  .submenu > li:last-child > a { border-bottom: 0; }
  .submenu a:hover,
  .submenu li:hover > a { background: var(--line); }

  .submenu .has-sub > a::after {
    content: "";
    position: absolute;
    inset-inline-end: 10px;
    top: 50%;
    margin-top: -4px;
    border: 4px solid transparent;
    border-inline-end: 0;
    border-inline-start-color: var(--brand-text);
  }

  /* Fly-outs */
  .submenu .submenu {
    top: 0;
    inset-inline-start: 100%;
    margin-block: -6px 0; margin-inline: -1px 0;
  }
  .menu > li > .submenu > li > .submenu:not(:has(.submenu)) { max-height: 450px; overflow-y: auto; overflow-x: hidden; }
  .submenu .submenu .submenu { max-height: 320px; overflow-y: auto; overflow-x: hidden; }
  .menu > li > .submenu > li:hover > .submenu { box-shadow: -12px 2px 43px #ddd; }

  .submenu::-webkit-scrollbar { width: 6px; background: #f5f5f5; }
  .submenu::-webkit-scrollbar-track { box-shadow: inset 0 0 5px rgba(0, 0, 0, .33); border-radius: 10px; background: #f5f5f5; }
  .submenu::-webkit-scrollbar-thumb { border-radius: 10px; background: var(--brand); }

  /* Brands dropdown (image tiles on gold) */
  .menu__brands > .submenu { width: 200px; padding: 1px; background: var(--brand); }
  .menu__brands > .submenu a { padding: 0; overflow: hidden; }
  .menu__brands > .submenu a:hover { background: transparent; }
  .menu__brands > .submenu img { display: block; width: 100%; height: auto; }
}

/* ---------- Social icons ---------- */
.social {
  display: none;
  margin-inline-start: 10px;
}
@media (min-width: 1200px) { .social { display: flex; } }
.social li { width: 30px; height: 30px; margin-inline-end: 1px; border-radius: 50%; overflow: hidden; }
.social a {
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #333;
  font-size: 15px;
  transition: all .2s;
}
.social li:hover a { color: #fff; background: #171717; }
.social__fb:hover a { background: #3b5a9a !important; }
.social__tw:hover a { background: #1aa9e1 !important; }
.social__ig:hover a { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; }

/* ---------- Mobile header ---------- */
@media (max-width: 991px) {
  :root { --navbar-h: 58px; }

  .navbar__logo { display: flex; align-items: center; height: var(--navbar-h); }
  .navbar__logo img { height: 36px; margin-top: 0; }

  .navbar__inner { flex-wrap: wrap; height: auto; min-height: var(--navbar-h); }

  .navbar__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
    height: 34px;
    padding: 6px 12px;
    border: 0;
    border-radius: 0;
    background: var(--brand);
    color: var(--on-brand);
    font-size: 14px;
    cursor: pointer;
  }
  .navbar__toggle span { font-family: "Times New Roman", Times, serif; }

  .navbar__nav {
    flex: 0 0 100%;
    display: none;
    max-height: calc(100vh - var(--topbar-h) - var(--navbar-h));
    overflow-y: auto;
    margin: 0 0 10px;
    border-top: 1px solid #e9e9e9;
  }
  .navbar.is-open .navbar__nav { display: block; }

  .menu li { position: relative; border-bottom: 1px solid #e9e9e9; }
  .menu > li > a {
    display: block;
    padding-block: 7px 7px; padding-inline: 8px 40px;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    color: var(--brand-text);
    text-transform: uppercase;
  }
  .submenu { display: none; padding-inline-start: 12px; }
  li.is-open > .submenu { display: block; }
  .submenu li:last-child { border-bottom: 0; }
  .submenu a {
    display: block;
    padding-block: 7px 7px; padding-inline: 8px 40px;
    font-size: 13px;
    line-height: 20px;
    color: #333;
  }
  .menu__brands .submenu img { display: block; width: 200px; max-width: 100%; height: auto; margin: 4px 0; }

  .sub-toggle {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 40px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .sub-toggle::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-bottom: 0;
    border-top-color: var(--brand-text);
    transition: transform .2s;
  }
  li.is-open > .sub-toggle::before { transform: rotate(180deg); }
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1170 / 550;
  min-height: 272px;
  overflow: hidden;
  background: #222;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.slide.is-active,
.slide.is-leaving { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.slide.is-active { z-index: 2; }
.slide.is-leaving { z-index: 1; }
.slide__bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
}

/* Captions are laid out on a 1170px grid and scale with the viewport below it,
   like the original Revolution Slider layers. */
.cap {
  --s: min(1px, .08547vw); /* 1px at ≥1170px, scales down below */
  position: absolute;
  z-index: 3;
  inset-inline-start: calc(max(0px, (100% - 1170px) / 2) + 50 * var(--s));
  top: calc(50% + var(--y) * var(--s));
  white-space: nowrap;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  translate: 0 -50%;
  -webkit-font-smoothing: antialiased;
}
.cap--title { font-size: calc(46 * var(--s)); line-height: 1.1; }
.cap--sub { font-size: calc(22 * var(--s)); line-height: 1.1; }
.cap--dark { color: #333; }
.cap--btn {
  font-size: calc(22 * var(--s));
  line-height: calc(20 * var(--s));
  padding: calc(20 * var(--s)) calc(25 * var(--s));
  background: var(--brand);
  border: 1px solid var(--brand);
  color: var(--on-brand);
}
.cap--btn:hover { color: var(--on-brand); }

/* In-animations (match Revolution frames: delay / speed / easing) */
.cap--title, .cap--sub { transform: translate3d(0, -50px, 0); }
.cap--btn { transform: scale(.8); }

.slide.is-active .cap--title {
  opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.645, .045, .355, 1) 1s, transform .5s cubic-bezier(.645, .045, .355, 1) 1s;
}
.slide.is-active .cap--sub {
  opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.645, .045, .355, 1) 1.5s, transform .5s cubic-bezier(.645, .045, .355, 1) 1.5s;
}
.slide.is-active .cap--btn {
  opacity: 1; transform: none;
  transition: opacity 1s cubic-bezier(.23, 1, .32, 1) 2s, transform 1s cubic-bezier(.23, 1, .32, 1) 2s;
}
.slide.is-leaving .cap { opacity: 1; transform: none; transition: none; }

/* Thumbnails (appear on hover, desktop only) */
.hero__thumbs {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 5;
  display: flex;
  gap: 5px;
  padding: 2px;
  translate: -50% 0;
  opacity: 0;
  transition: opacity .3s;
}
.hero:hover .hero__thumbs,
.hero__thumbs:focus-within { opacity: 1; }
.hero__thumb {
  width: 50px;
  height: 50px;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  cursor: pointer;
  transition: all .3s;
}
.hero__thumb span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: center / cover no-repeat;
  box-shadow: inset 5px 5px 10px 0 rgba(0, 0, 0, .25);
}
@media (max-width: 778px) { .hero__thumbs { display: none; } }

/* ==========================================================================
   MİMARİ SİSTEMLER (diamond grid)
   ========================================================================== */
.systems {
  --d: 255px;     /* diamond size */
  --d-sm: 128px;  /* small diamond size (desktop only) */
  padding: 60px 0 60px;
  background: var(--ink);
  color: var(--on-ink);
}
.systems .section-title { margin: 0; color: var(--on-ink); }

.diamonds {
  position: relative;
  margin: 40px auto;
  padding-block: 50px 0; padding-inline: 57px 0;
  font-size: 0;
  text-align: center;
}
.diamonds > li {
  position: relative;
  display: inline-block;
  width: var(--d);
  height: var(--d);
  margin-inline-end: 135px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  vertical-align: top;
}

.diamond {
  position: relative;
  display: block;
  width: var(--d);
  height: var(--d);
  overflow: hidden;
  background: #f4f4f4;
  transform: rotate(-45deg);
  transition: box-shadow .2s ease;
}
.diamonds > li:hover .diamond { box-shadow: 0 0 0 4px var(--brand); }
.diamond::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 100;
  background: #000;
  opacity: 0;
  transform: scale(0);
  transition: all .2s ease;
}
.diamond:hover::after,
.diamond-text:hover + .diamond::after { opacity: .3; transform: scale(1); }

.diamond__content {
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
}
.diamond__content img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--d) * 1.4706); /* 375px for a 255px diamond */
  max-width: none;
  height: auto;
  transform: translate(calc(-50% - 2px), calc(-50% - 7px));
}

.diamond-text {
  position: absolute;
  z-index: 1;
  top: 55px;
  inset-inline-start: 0;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #2f3e4b;
  text-align: center;
  text-shadow: 1px 1px #fff;
  transition: all .2s ease;
}
.diamond-text--4 { top: 44px; }
.diamond-text--sm { top: 20px; }
.diamonds > li:hover .diamond-text { color: #fff; text-shadow: 1px 1px #333; }

.systems__desc p { font-size: 15px; line-height: 24px; color: var(--on-ink-muted); }
.systems .btn--outline { color: var(--brand); }
.systems .btn--outline:hover, .systems .btn--outline:focus { color: var(--on-brand); }

/* Desktop composition (≥1199px) */
@media (min-width: 1199px) {
  .diamonds { padding-bottom: 11px; }
  .diamonds > li:nth-child(3) { margin-inline-end: 0; }
  .diamonds > li:nth-child(4) { position: absolute; top: -143px; inset-inline-end: 84px; }
  .diamonds > li:nth-child(5) { margin-inline-start: 527px; margin-top: -59px; }
  .diamonds > li:nth-child(6) { position: absolute; margin-block: -6px 0; margin-inline: -27px 0; inset-inline-end: -15px; }
  .diamonds > li:nth-child(7) { position: absolute; margin-block: 97px 0; margin-inline: -133px 0; inset-inline-end: 88px; }
  .diamonds > li:nth-child(n+6),
  .diamonds > li:nth-child(n+6) .diamond { width: var(--d-sm); height: var(--d-sm); }
  .diamonds > li:nth-child(n+6) .diamond__content img { width: 206px; transform: translate(calc(-50% + 1.5px), calc(-50% - 7px)); }

  .systems__desc { width: calc(50% - 15px); margin-top: -150px; }
}
/* the two small diamonds are absolutely positioned relative to the list's top */
@media (min-width: 1199px) {
  .diamonds > li:nth-child(6) { top: 316px; }
  .diamonds > li:nth-child(7) { top: 316px; }
}

/* Tablet: two staggered columns */
@media (max-width: 1198px) {
  .diamonds { width: 748px; margin: 0 auto 40px; padding-block: 75px 75px; padding-inline: 75px 0; }
  .diamonds::after { content: ""; display: table; clear: both; }
  .diamonds > li { float: inline-start; margin: 0; }
  .diamonds > li:nth-child(2n+2) { margin-block: 200px -50px; margin-inline: 55px 0; }
  .diamonds > li:nth-child(2n+1) { clear: both; }
}

/* Phones: one column, diamonds sized to the screen */
@media (max-width: 748px) {
  .systems { --d: min(255px, calc((100vw - 40px) / 1.4142)); }
  .diamonds { width: auto; padding: 25px 0 0; margin: 0 auto 20px; }
  .diamonds > li,
  .diamonds > li:nth-child(n) {
    display: block;
    float: none;
    clear: both;
    margin: calc(var(--d) * .25) auto calc(var(--d) * .38);
  }
}

/* ==========================================================================
   ÜRÜNLER (product tiles)
   ========================================================================== */
.products { padding: 55px 0 25px; }
.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px 30px;
}
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.tile {
  position: relative;
  display: block;
  padding: 4px;
  background: #fff;
}
.tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}
.tile__title {
  position: absolute;
  inset-inline-start: 5px;
  bottom: calc(6% + 4.5px);
  z-index: 2;
  max-width: calc((100% - 8px) * .74);
  padding: 6px 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  font-weight: 600;
  color: var(--on-ink);
  text-transform: uppercase;
  background: rgba(28, 26, 22, .88);
  transition: all .3s;
}
.tile:hover .tile__title { background: var(--brand-80); color: var(--on-brand); }

/* ==========================================================================
   MARKALARIMIZ (brands)
   ========================================================================== */
.brands {
  margin-top: 30px;
  padding: 50px 0;
  background: var(--brand);
}
.brands .section-title { color: var(--on-brand); }
.brands .section-title { margin-top: 15px; }
.brands__viewport { overflow: hidden; margin: 0 -5px 21px; }
.brands__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: calc(100% - 10px);
}
.brand {
  justify-self: start;
  display: block;
  margin: 5px;
  padding: 4px;
  background: var(--paper);
}
.brand img { display: block; width: 302px; max-width: 100%; height: auto; border: 0; }

/* One brand per view under 1000px (auto-rotating, like the original carousel).
   Each slide is exactly 100% of the viewport: 5px + tile + remaining margin. */
@media (max-width: 999px) {
  .brands__track {
    display: flex;
    gap: 0;
    width: 100%;
    transition: transform .4s ease;
  }
  .brands__track > .brand {
    --w: min(310px, calc(100% - 10px));
    flex: 0 0 auto;
    width: var(--w);
    margin: 5px calc(100% - 5px - var(--w)) 5px 5px;
  }
}

/* ==========================================================================
   CALL TO ACTION
   ========================================================================== */
.cta {
  position: relative;
  padding: 0 25px;
  background: var(--ink);
}
.cta__inner { position: relative; }
.cta__content {
  width: 70%;
  padding: 35px 0 40px;
  text-align: center;
}
.cta__content h2 {
  margin: 25px 0 0;
  font-size: 33px;
  font-weight: 300;
  line-height: 42px;
  letter-spacing: -1px;
  color: #fff;
}
.cta__content h2 strong { font-weight: 700; color: var(--brand); }
.cta__content p {
  margin: 0 0 25px;
  font-size: 18px;
  font-weight: 300;
  line-height: 25.2px;
  color: var(--on-ink-muted);
}
.cta__content p strong { color: var(--on-ink); }
.cta__content p strong { font-weight: 700; }
.cta__action {
  position: absolute;
  top: 50%;
  inset-inline-end: 25px;
  width: 257px;
  margin-top: -18px;
  text-align: center;
  white-space: nowrap;
}
.cta__action .btn { margin-inline-end: 15px; }
.cta__hint { color: #fff; font-size: 15px; }
.cta__arrow {
  position: absolute;
  inset-inline-start: 108px;
  top: -42px;
  width: 120px;
  height: 47px;
  background: url(../img/arrows-dark.png) no-repeat -209px -101px;
}

@media (max-width: 991px) {
  .cta__content { width: 65%; }
}
@media (max-width: 767px) {
  .cta { padding: 0; }
  .cta__content { width: auto; padding: 20px 0 0; margin: 0; }
  .cta__content h2 { margin-top: 10px; font-size: 26px; line-height: 34px; }
  .cta__action { position: static; width: auto; margin: 0; padding: 0 0 30px; }
  .cta__action .btn { margin-inline-end: 0; }
}

/* ==========================================================================
   İLETİŞİM FORMU
   ========================================================================== */
.contact {
  padding: 70px 0;
  background: var(--ink) url(../img/form-bg.jpg) no-repeat center / cover;
}
.contact__box {
  padding: 25px 45px 35px;
  background: var(--paper);
  border-top: 4px solid var(--brand);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(28, 26, 22, .35);
}
@media (min-width: 992px) {
  .contact__box { width: 50%; margin-inline-start: 50%; }
}
@media (max-width: 767px) {
  .contact__box { padding: 15px 20px 25px; }
}
.contact .section-title { margin: 0 0 -10px; }
.divider {
  width: 50px;
  height: 3px;
  margin: 22px 0 13px;
  border: 0;
  background: var(--brand);
}
.field { padding-top: 10px; margin-bottom: 15px; }
.field label {
  display: block;
  margin: 5px 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  color: #333;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font: 700 14px/20px var(--font);
  color: var(--ink);
  background: #fff;
  border: 1px solid #d8cfbb;
  border-radius: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  outline: 0;
}
.field textarea { height: 54px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(226, 185, 66, .35);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #a94442; }
.contact__submit { padding-top: 15px; }
.contact__msg { margin-top: 15px; font-size: 14px; font-weight: 600; }
.contact__msg:empty { display: none; }
.contact__msg.is-error { color: #a94442; }
.contact__msg.is-ok { color: #2e7d32; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  min-height: 400px;
  padding: 60px 0 30px;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 22px;
  color: var(--on-ink-muted);
  background: var(--ink);
  border-top: 4px solid var(--brand);
  isolation: isolate;
}
/* the skyline drawing, inverted into faint light lines on charcoal (also used by the inner-page title band) */
.footer::before,
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../img/footer-bg.jpg) no-repeat 50% 100%;
  filter: invert(1) grayscale(1);
  mix-blend-mode: screen;
  opacity: .55;
  pointer-events: none;
}
.footer::after {
  content: "";
  position: absolute;
  inset-inline-end: -177px;
  bottom: -233px;
  width: 400px;
  height: 400px;
  background: var(--brand);
  transform: rotate(50deg);
}

.footer__grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.footer__grid > div { padding: 0 15px; }
.footer__logo { width: 25%; }
.footer__menu { width: 33.3333%; }
.footer__contact { width: 41.6667%; }

.footer__logo img { display: block; width: 250px; height: auto; margin-top: 50px; }

.footer h4 {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 24.3px;
  font-weight: 300;
  line-height: 27px;
  color: var(--on-ink);
}
.footer__menu h4 { margin-bottom: 24px; }
.footer__cols { display: flex; margin: 0 -15px; }
.footer__cols ul { width: 50%; padding: 0 15px; }
.footer__cols li { margin: 0 0 13px; line-height: 24px; }
.footer__cols a { font-size: 14px; color: var(--on-ink-muted); }
.footer__cols a:hover, .footer__contact a:hover { color: var(--brand); }

.footer__contact p { margin: 0 0 20px; line-height: 24px; }
.footer__contact a { color: var(--on-ink-muted); }
.footer__contact .fa {
  position: relative;
  top: 1px;
  padding-inline-end: 2px;
  color: var(--brand);
}
.footer__contact .fa-envelope { margin-inline-start: 10px; }

.footer__copy {
  margin-top: -10px;
  padding: 20px 0 25px;
  border-top: 1px solid var(--ink-line);
}
.footer__copy p { margin: 0; text-align: center; color: var(--on-ink-muted); }

@media (min-width: 992px) {
  .footer__grid { min-height: 224px; }
}
@media (max-width: 767px) {
  .footer::after { width: 180px; height: 180px; inset-inline-end: -80px; bottom: -105px; }
}
@media (max-width: 991px) {
  .footer__logo { width: 100%; }
  .footer__logo img { width: 200px; height: auto; margin: 0 0 30px; }
  .footer__menu,
  .footer__contact { width: 100%; margin-bottom: 10px; }
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */
.to-top {
  position: fixed;
  inset-inline-end: 15px;
  bottom: 55px;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 31px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 4px 5px -1px rgba(0, 0, 0, .2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover, .to-top:focus { color: #fff; }
@media (max-width: 767px) { .to-top { display: none; } }

/* ==========================================================================
   LIGHTBOX (brands)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .9);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 90vw; max-height: 86vh; box-shadow: 0 0 30px rgba(0, 0, 0, .5); }
.lightbox button {
  position: absolute;
  border: 0;
  background: rgba(0, 0, 0, .3);
  color: #fff;
  cursor: pointer;
}
.lightbox__close { top: 0; inset-inline-end: 0; width: 44px; height: 44px; font-size: 32px; line-height: 44px; }
.lightbox__prev,
.lightbox__next { top: 50%; width: 50px; height: 70px; margin-top: -35px; font-size: 40px; }
.lightbox__prev { inset-inline-start: 10px; }
.lightbox__next { inset-inline-end: 10px; }
.lightbox__counter { position: absolute; top: 0; inset-inline-start: 0; padding: 0 12px; line-height: 44px; font-size: 13px; color: #fff; opacity: .75; }

/* ==========================================================================
   APPEAR ANIMATIONS
   ========================================================================== */
.js .appear { opacity: 0; }
.js .appear.is-visible { animation: appearFade 1s both; animation-delay: var(--delay, 0ms); }
.js .appear--start.is-visible { animation-name: appearFadeStart; }
[dir="rtl"] { --appear-x: 30px; }
@keyframes appearFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes appearFadeStart { from { opacity: 0; transform: translate3d(var(--appear-x, -30px), 0, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .appear { opacity: 1; }
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
body.page-inner { --navbar-h: 121px; }
@media (max-width: 991px) { body.page-inner { --navbar-h: 58px; } }
@media (min-width: 992px) {
  .page-inner .navbar__logo img { height: 81px; margin-top: 0; }
}


/* ---------- Title band + breadcrumb ---------- */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 40px;
  padding: 165px 0 15px;
  background: var(--ink);
}
.page-head h1 {
  margin: 25px 0 10px;
  font-size: 39px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -1px;
  color: var(--on-ink);
  text-transform: uppercase;
}
.crumbs { display: flex; flex-wrap: wrap; margin: 0 0 25px; padding: 0; list-style: none; }
.crumbs li { font-size: 15px; line-height: 24px; color: var(--on-ink-muted); }
.crumbs li + li::before { content: "/"; padding: 0 6px; color: #6f675a; }
.crumbs a { color: var(--brand); }
.crumbs a:hover { color: var(--on-ink); }
.page-head--empty { height: calc(var(--topbar-h) + var(--navbar-h) + 30px); margin: 0; padding: 0; background: none; }
.page-head--empty::before { display: none; }
@media (max-width: 991px) {
  .page-head { padding-top: calc(var(--topbar-h) + var(--navbar-h) + 10px); }
  .page-head h1 { font-size: 30px; line-height: 36px; }
}

/* ---------- Sidebar layout ---------- */
.layout { display: flex; flex-direction: column; }
.layout__main { min-width: 0; }
@media (min-width: 992px) {
  .container.layout { flex-direction: row; align-items: flex-start; padding: 0; }
  .layout__side { order: -1; width: 25%; flex: 0 0 25%; }
  .layout__main { width: 75%; flex: 0 0 75%; padding: 0 15px; }
  .layout--left .layout__side { padding: 0 15px; }
}
@media (max-width: 991px) {
  .layout__side { margin-top: 30px; }
  .layout--left .layout__side { margin-top: 0; }
}
@media (max-width: 767px) { .layout--left .layout__side { display: none; } }

.side-box {
  margin-bottom: 30px;
  padding: 20px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 7px;
}
.side-box > h2 {
  margin: 15px 0 15px;
  font-size: 33px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -1px;
  color: var(--heading);
  text-align: center;
}
@media (min-width: 992px) { .side-box--sticky { position: sticky; top: calc(var(--navbar-h) + 20px); } }

.side-nav { margin: 10px 0 20px; }
.side-nav li { position: relative; }
.side-nav a {
  position: relative;
  display: block;
  padding-block: 8px 8px; padding-inline: 18px 25px;
  font-size: 13.5px;
  line-height: 20px;
  color: #4a4438;
  border-bottom: 1px solid var(--line);
}
.side-nav a::before {
  content: "";
  position: absolute;
  top: 15px;
  inset-inline-start: 9px;
  border: 4px solid transparent;
  border-inline-end: 0;
  border-inline-start-color: var(--brand-deep);
}
.side-nav a:hover,
.side-nav .is-active > a { color: var(--brand-text); font-weight: 600; }
.side-nav ul { display: none; padding-inline-start: 12px; }
.side-nav li.is-open > ul { display: block; }
.side-nav__toggle {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 25px;
  height: 37px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.side-nav__toggle::before {
  content: "";
  position: absolute;
  top: 16px;
  inset-inline-start: 8px;
  border: 4px solid transparent;
  border-bottom: 0;
  border-top-color: #333;
  transition: transform .2s;
}
.side-nav li.is-open > .side-nav__toggle::before { transform: rotate(180deg); }
.side-nav--anchors { margin: 0 0 25px; }
.side-nav--anchors a { padding-inline-end: 0; }

.support {
  margin: 20px -14px 0;
  padding: 50px 15px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.support img { display: inline-block; }
.support h2 {
  margin: 0 0 15px;
  font-size: 33px;
  font-weight: 300;
  line-height: 42px;
  letter-spacing: -1px;
  color: var(--heading);
}
.support h2 strong { font-weight: 700; }
.support hr { margin: 22px 0; border: 0; height: 1px; background: linear-gradient(to right, transparent, var(--brand), transparent); }
.support p a:not(.btn) { color: var(--brand-text); }

.btn--default { background: #fff; border-color: #ccc; color: #333; }
.btn--default:hover, .btn--default:focus { background: #e6e6e6; border-color: #adadad; color: #333; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover, .btn--dark:focus { background: #000; color: var(--brand); }
.btn--sm { font-size: 12px; line-height: 18px; padding: 5px 10px; }
button.btn { font-family: var(--font); }

/* ---------- Product cards (listings + related) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin-inline-start: -10px;
}
.cards > li { padding: 10px 10px 0; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 399px) { .cards { grid-template-columns: 1fr; } }

.card { height: 100%; border: 1px solid var(--line); background: #fff; }
.card__img { display: block; padding: 3px; border-radius: 7px; background: #fff; }
.card__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 3px; }
.card__body { padding: 10px; text-align: center; }
.card__name { margin: 0 0 3px; font-size: 14px; font-weight: 700; line-height: 19px; }
.card__name a { color: var(--ink); }
.card__name a:hover { color: var(--brand-text); }
.card__rating {
  margin: 7px 0 6px;
  font-size: 11px;
  line-height: 14px;
  background: linear-gradient(#e6e6e6, #e6e6e6) center / 100% 1px no-repeat;
}
.card__rating span { display: inline-block; padding: 0 6px; background: #fff; color: #c3c5c9; letter-spacing: 3px; }
.card .btn { font-size: 14px; }

/* ---------- Product detail ---------- */
.product { display: grid; grid-template-columns: 1fr; gap: 20px 30px; }
@media (min-width: 768px) { .product { grid-template-columns: calc(33.3333% - 20px) 1fr; } }

.gallery__main { position: relative; display: none; padding: 3px; border: 1px solid #ddd; background: #fff; }
.gallery__main.is-active { display: block; }
.gallery__main img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.gallery__zoom {
  position: absolute;
  inset-inline-end: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 15px;
  line-height: 30px;
  text-align: center;
}
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 15px; margin: 21px 0 20px; }
.gallery__thumb {
  width: 54px;
  height: 54px;
  padding: 3px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s, border-color .2s;
}
.gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--brand); }

.product__name {
  margin: 0 0 15px;
  font-size: 28px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -1px;
  color: var(--heading);
}
.product__desc { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.product__desc:empty { display: none; }
.product__desc ul { margin: 0 0 10px; padding-inline-start: 40px; list-style: disc; }
.product__desc li { line-height: 24px; }
.product__desc p { margin: 0 0 10px; }
.product__desc table { width: 100%; margin-bottom: 10px; border-collapse: collapse; }
.product__desc td, .product__desc th { padding: 12px 10px; color: #333; vertical-align: top; text-align: start; }
.product__desc tr:nth-child(odd) td { background: var(--sand); }
.product__desc td:first-child { font-weight: 700; }
.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0 20px;
  padding-block: 10px 10px; padding-inline: 0 15px;
  border-bottom: 1px solid #ebebeb;
}
.product__actions .icons { margin-inline-end: 2px; }

/* related products carousel */
.related { margin-top: 17px; }
.related__head { position: relative; margin-bottom: 20px; }
.line-title {
  position: relative;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 17.6px;
  letter-spacing: -1px;
  color: var(--ink);
  text-transform: uppercase;
}
.line-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 50px;
  top: 50%;
  height: 1px;
  background: linear-gradient(to right, var(--brand), var(--brand) 70%, transparent 100%);
}
.line-title span { position: relative; z-index: 1; padding-inline-end: 20px; background: var(--paper); }
.carousel__nav { position: absolute; top: -2px; inset-inline-end: 5px; display: flex; }
.carousel__nav button {
  width: 22px;
  height: 19px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-text);
  font-size: 14px;
  cursor: pointer;
}
.carousel__nav button:disabled { opacity: .5; cursor: default; }
.carousel { overflow: hidden; margin-bottom: 20px; }
.carousel__track { display: flex; gap: 20px; transition: transform .35s ease; }
.carousel__item { flex: 0 0 calc((100% - 20px) / 2); }
@media (min-width: 1000px) { .carousel__item { flex-basis: calc((100% - 60px) / 4); } }

/* ---------- Category tiles inside the sidebar layout ---------- */
.tiles--3 { grid-template-columns: 1fr; }
@media (min-width: 480px) { .tiles--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tiles--4 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.layout__main .tiles + .section-title { margin-top: 30px; }

/* ---------- Rich text (CMS content) ---------- */
.rich h2 { margin: 15px 0; font-size: 33px; font-weight: 300; line-height: 42px; letter-spacing: -1px; color: var(--heading-dark); }
.rich h2 strong { font-weight: 700; }
.rich p { margin: 0 0 20px; line-height: 24px; }
.rich img { max-width: 100%; height: auto; }
.rich ul { margin: 0 0 20px; padding-inline-start: 20px; list-style: disc; }
.text-center { text-align: center; }
.text-right { text-align: end; }
.text-justify { text-align: justify; }
.hr-tall { margin: 44px 0; border: 0; height: 1px; background: var(--line); }
[id] { scroll-margin-top: calc(var(--navbar-h) + 20px); }

/* Kurumsal */
.features { display: grid; grid-template-columns: 1fr; column-gap: 30px; margin-bottom: 30px; }
#who-we-are > p:first-child img { width: 100%; }
@media (min-width: 768px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { margin-top: 25px; text-align: center; }
.feature .icons { display: inline-block; width: 45px; margin: 0 15px 10px; font-size: 40px; line-height: 45px; color: var(--brand-deep); }
.feature h2 { margin: 0 0 15px; }
.container.partners { padding: 0; }
@media (max-width: 1199px) { .container.partners { padding: 0 15px; } }
.partners .section-title { margin-bottom: 15px; }
.tiles--plain .tile img { border: 0; }

/* İletişim */
.contact-page { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 992px) { .contact-page { grid-template-columns: 1fr 1fr; } }
.section-title--ruled { margin-bottom: -10px; }
.divider--brand { background: var(--brand); margin: 22px 0; }
.contact-list { margin: -4px 0 10px; }
.contact-list li { position: relative; display: grid; margin: 0 0 13px; padding-block: 5px 0; padding-inline: 36px 0; line-height: 24px; }
.contact-list .fa {
  position: absolute;
  top: 5px;
  inset-inline-start: 0;
  width: 25px;
  height: 25px;
  padding: 5px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 15px;
  line-height: 15px;
  text-align: center;
}
.contact-list a { color: var(--brand-text); }
.contact-list small { font-size: 12.75px; }
.contact-page hr:not(.divider) { margin: 22px 0; border: 0; border-top: 1px solid var(--line); }
.plain-form .field label { font-weight: 400; }
.plain-form .field input,
.plain-form .field textarea { font-weight: 400; color: #555; background: #fff; }
.map { margin-top: 15px; }
.map iframe { display: block; width: 100%; height: 450px; border: 0; }

/* Shared form layout */
.field-row { display: grid; grid-template-columns: 1fr; column-gap: 30px; }
@media (min-width: 768px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form__submit { padding-top: 15px; }
.form__msg { margin-top: 15px; font-size: 14px; font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg.is-error { color: #a94442; }
.form__msg.is-ok { color: #2e7d32; }

/* ---------- Ceramics gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 2px; }
.filters button {
  padding: 8px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-text);
  font: 15px/22px var(--font);
  cursor: pointer;
}
.filters button.is-active { background: var(--brand); color: var(--on-brand); }
.layout__main > hr { margin: 22px 0; border: 0; border-top: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery-grid li[hidden] { display: none; }
.gallery-item { position: relative; display: block; padding: 4px; background: #fff; border: 1px solid var(--line); }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1045; object-fit: cover; }
.gallery-item__label {
  position: absolute;
  inset-inline-start: 4px;
  top: 4px;
  max-width: 80%;
  padding: 3px 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  color: var(--on-ink);
  text-transform: uppercase;
  background: rgba(28, 26, 22, .88);
}

/* ---------- Under construction / 404 ---------- */
.notfound { padding: 40px 0 60px; text-align: center; }
.notfound p { margin: 0 0 20px; }

/* ---------- Popup form (product "Bilgi Formu") ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 15px;
  overflow-y: auto;
  background: rgba(0, 0, 0, .5);
}
.modal[hidden] { display: none; }
.modal__dialog { width: 600px; max-width: 100%; background: #fff; box-shadow: 0 5px 15px rgba(0, 0, 0, .5); }
.modal__head { position: relative; padding: 15px; border-bottom: 1px solid #e5e5e5; }
.modal__head h4 { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.4; }
.modal__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 15px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #000;
  opacity: .25;
  cursor: pointer;
}
.modal__close:hover { opacity: .6; }
.modal__tabs { padding: 10px 15px 0; border-bottom: 1px solid #eee; }
.modal__tabs span {
  display: inline-block;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--brand-text);
  border-top: 3px solid var(--brand);
  background: #fff;
}
.modal__body { padding: 15px 20px 20px; background: var(--sand); }
.modal__body .field label { font-weight: 400; font-size: 13px; }
.modal__body .field input,
.modal__body .field textarea { font-weight: 400; background: #fff; color: #555; }

/* ==========================================================================
   ARABIC (RTL) + ENGLISH (LTR)
   Layout uses logical properties throughout, so it mirrors automatically.
   The rules below only handle what logical properties cannot.
   ========================================================================== */
html[lang="ar"] { --font: "Noto Sans Arabic", "Open Sans", Arial, sans-serif; }
html[lang="ar"] body { font-size: 16px; line-height: 1.75; }
html[lang="ar"] p,
html[lang="ar"] li { line-height: 1.85; }

/* Arabic letters are joined: never track them */
[dir="rtl"] body * { letter-spacing: 0 !important; }

/* Arabic needs a little more weight and size than the light Latin headings */
html[lang="ar"] .section-title,
html[lang="ar"] .page-head h1,
html[lang="ar"] .rich h2,
html[lang="ar"] .side-box > h2,
html[lang="ar"] .feature h2,
html[lang="ar"] .cta__content h2,
html[lang="ar"] .footer h4 { font-weight: 600; }
html[lang="ar"] .section-title,
html[lang="ar"] .page-head h1 { font-weight: 700; }
html[lang="ar"] .page-head h1 { line-height: 1.35; }
.support h2 { font-size: 26px; line-height: 34px; }
html[lang="ar"] .support h2 { font-size: 28px; line-height: 1.4; }
html[lang="ar"] .menu > li > a { font-size: 14px; font-weight: 600; }
html[lang="ar"] .submenu a { font-size: 13.5px; line-height: 20px; }
html[lang="ar"] .side-nav a { font-size: 14px; line-height: 22px; }
html[lang="ar"] .card__name { font-size: 14.5px; line-height: 1.5; }
html[lang="ar"] .tile__title { font-size: 14px; line-height: 22px; }
html[lang="ar"] .diamond-text { font-size: 16px; line-height: 26px; }
html[lang="ar"] .cap--title,
html[lang="ar"] .cap--sub { line-height: 1.5; }
html[lang="ar"] .navbar__toggle span { font-family: var(--font); }
html[lang="ar"] .product__name { line-height: 1.4; }
html[lang="ar"] .line-title { line-height: 1.5; }

/* direction-aware icons and decorations */
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
[dir="rtl"] .cta__arrow { transform: scaleX(-1); }
[dir="rtl"] .footer::after { transform: rotate(-50deg); }
[dir="rtl"] .side-nav__toggle::before { left: auto; right: 8px; }

/* numbers, phones and e-mail addresses stay left-to-right inside Arabic text */
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] a[href^="mailto:"] { unicode-bidi: isolate; }

/* ==========================================================================
   UI REFINEMENTS
   ========================================================================== */
html { scroll-behavior: smooth; }

/* visible keyboard focus everywhere */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.navbar :focus-visible,
.topbar :focus-visible { outline-offset: -2px; }
.cta :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 15px;
  z-index: 5000;
  padding: 10px 16px;
  border-radius: 0 0 6px 6px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
}
.skip-link:focus { top: 0; color: var(--on-brand); }

/* buttons: softer corners, smooth state changes, pressed feedback */
.btn {
  border-radius: 4px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); }
.cap--btn { border-radius: 4px; transition: background-color .2s ease; }
.cap--btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); }

/* navigation */
.menu > li > a { transition: background-color .15s ease, color .15s ease; }
@media (min-width: 992px) {
  .submenu { border-radius: 0 0 6px 6px; }
  .submenu a { transition: background-color .15s ease, color .15s ease; }
  .submenu a:hover { color: var(--brand-text); }
}
.social li,
.social a { width: 32px; height: 32px; line-height: 32px; }

/* form fields: clear focus, inline errors next to the field */
.topbar__search input[type="text"],
.field input,
.field textarea { border-radius: 4px; transition: border-color .15s ease, box-shadow .15s ease; }
.topbar__search input[type="text"]:focus,
.field input:focus,
.field textarea:focus {
  border-color: var(--brand-text);
  box-shadow: 0 0 0 3px rgba(226, 185, 66, .35);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #b3261e; }
.field__error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #b3261e; }
.field input[type="tel"],
.field input[type="email"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }

/* cards and tiles: gentle lift on hover */
.card {
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { border-color: var(--brand); box-shadow: 0 12px 28px rgba(28, 26, 22, .12); transform: translateY(-3px); }
.tile { border-radius: 4px; transition: box-shadow .2s ease, transform .2s ease; }
.tile:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .10); transform: translateY(-3px); }
.brand { border-radius: 4px; transition: box-shadow .2s ease; }
.brand:hover { box-shadow: 0 14px 30px rgba(28, 26, 22, .28); }

/* sidebar */
.side-box { border-radius: 8px; }
.side-nav a { transition: color .15s ease, background-color .15s ease; }
.side-nav a:hover { background: var(--sand); }

/* product page */
.gallery__main,
.gallery__thumb { border-radius: 4px; }
.gallery__main { overflow: hidden; }
.carousel__nav { top: -8px; gap: 6px; }
.carousel__nav button {
  width: 32px;
  height: 32px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #fff;
  transition: background-color .15s ease, border-color .15s ease;
}
.carousel__nav button:not(:disabled):hover { background: var(--sand); border-color: var(--brand); }
.line-title::after { inset-inline-end: 90px; }
.modal__dialog { border-radius: 6px; overflow: hidden; }

.gallery-item { border-radius: 4px; }
.gallery-item__label { font-size: 12px; }
.to-top { border-radius: 4px; color: var(--brand); }
.to-top i, .to-top:hover, .to-top:focus { color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover, .tile:hover, .btn:active { transform: none; }
}

/* ==========================================================================
   BRAND LOCKUP (gold bow mark + name)
   ========================================================================== */
.lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.lockup:hover { color: var(--ink); }
.lockup__mark { display: block; width: auto; flex: 0 0 auto; }
.lockup__text { display: flex; flex-direction: column; line-height: 1; }
.lockup__name {
  font-family: "Noto Sans Arabic", var(--font);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.lockup__sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--brand-text);
  white-space: nowrap;
}
html[lang="ar"] .lockup__sub { font-size: 13px; letter-spacing: 0; }

.navbar__logo.lockup .lockup__mark,
.page-inner .navbar__logo.lockup .lockup__mark { height: 64px; margin: 0; }
@media (min-width: 992px) {
  .page-inner .navbar__logo.lockup .lockup__mark { height: 80px; }
  .page-inner .navbar__logo.lockup .lockup__name { font-size: 40px; }
}
@media (max-width: 991px) {
  .navbar__logo.lockup { height: var(--navbar-h); gap: 8px; }
  .navbar__logo.lockup .lockup__mark,
  .page-inner .navbar__logo.lockup .lockup__mark { height: 42px; }
  .navbar__logo.lockup .lockup__name { font-size: 24px; }
  .navbar__logo.lockup .lockup__sub { font-size: 9px; }
  html[lang="ar"] .navbar__logo.lockup .lockup__sub { font-size: 11px; }
}

.lockup--footer { margin-top: 40px; }
.lockup--footer, .lockup--footer:hover, .lockup--footer .lockup__name { color: var(--on-ink); }
.lockup--footer .lockup__sub { color: var(--brand); }
.lockup--footer .lockup__mark { height: 96px; }
.lockup--footer .lockup__name { font-size: 42px; }
@media (max-width: 991px) { .lockup--footer { margin: 0 0 24px; } }

/* footer legal name */
.footer__legal {
  margin: 0 0 4px !important;
  font-family: "Noto Sans Arabic", var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--on-ink) !important;
}
.footer__copy { text-align: center; }

.tile--static:hover { box-shadow: none; transform: none; }
.tile--static:hover .tile__title { background: rgba(28, 26, 22, .88); color: var(--on-ink); }

.contact-list small { display: block; margin-top: 4px; line-height: 1.6; color: var(--muted); }

/* English wordmark */
html[lang="en"] .lockup__name { font-family: var(--font); font-size: 24px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
html[lang="en"] .lockup__sub { letter-spacing: .22em; }
@media (min-width: 992px) { html[lang="en"] .page-inner .navbar__logo.lockup .lockup__name { font-size: 28px; } }
@media (max-width: 991px) { html[lang="en"] .navbar__logo.lockup .lockup__name { font-size: 15px; } html[lang="en"] .navbar__logo.lockup .lockup__sub { font-size: 8px; } }
html[lang="en"] .lockup--footer .lockup__name { font-size: 26px; }
html[lang="ar"] .navbar__logo.lockup .lockup__name { white-space: nowrap; }

/* footer lockup: logo above the name so long names never wrap */
.lockup--footer { flex-direction: column; align-items: flex-start; gap: 10px; }
.lockup--footer .lockup__name { white-space: nowrap; font-size: 30px; }
html[lang="en"] .lockup--footer .lockup__name { font-size: 22px; }
.lockup--footer .lockup__mark { height: 84px; }

/* ==========================================================================
   COLOUR PASS (2026-11-24): charcoal + gold carry the big surfaces
   ========================================================================== */
/* short gold rule under the main section titles (charcoal on the gold band) */
.systems .section-title::after,
.products .section-title::after,
.brands .section-title::after,
.partners .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 12px;
  background: var(--brand);
}
.brands .section-title::after { background: var(--on-brand); }
/* the empty "no rating" stars under every product read as grey noise (no product has reviews) */
.card__rating { display: none; }
.footer h4 { font-weight: 600; }
/* the menu button's label used the browser's default serif in English */
.navbar__toggle span { font-family: var(--font); }

/* ==========================================================================
   3D BACKGROUNDS (assets/js/scene3d.js): gold wireframe profiles over a blueprint grid
   ========================================================================== */
.systems { position: relative; isolation: isolate; }
.scene3d { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* the canvas stays in view while a tall section scrolls past, so it is only ever one screen tall */
.scene3d canvas { position: sticky; top: 0; display: block; width: 100%; height: 100vh; max-height: 100%; }
.systems .scene3d {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
/* inner pages: the scene fills the visible part of the title band, strongest away from the title */
.page-head .scene3d { top: calc(var(--topbar-h) + var(--navbar-h)); }
.page-head .scene3d canvas { position: static; height: 100%; }
.page-head.has-scene::before { display: none; } /* the skyline drawing stays as the no-JS fallback */
.page-head .scene3d {
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .3), #000 60%);
          mask-image: linear-gradient(to right, rgba(0, 0, 0, .3), #000 60%);
}
[dir="rtl"] .page-head .scene3d {
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, .3), #000 60%);
          mask-image: linear-gradient(to left, rgba(0, 0, 0, .3), #000 60%);
}
.page-head { padding-bottom: 30px; }
.page-head h1 { margin-top: 40px; }

/* 3D tilt with a soft light glare on product, brand and gallery cards (mouse only, see scene3d.js) */
.tilt { position: relative; }
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 246, 220, .42), rgba(255, 246, 220, 0) 55%);
  opacity: 0;
  transition: opacity .3s ease;
}
.tilt:not(.is-tilting) { transition: transform .7s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, border-color .2s ease; }
.tilt.is-tilting {
  transition: transform .12s linear, box-shadow .3s ease, border-color .2s ease;
  will-change: transform;
  box-shadow: 0 24px 44px rgba(28, 26, 22, .24);
}
.tilt.is-tilting::after { opacity: 1; }
