/* =========================================================
   Silva Floor — Parket & Flooring
   Minimal editorial design · Quicksand
   ========================================================= */

:root {
  --paper: #F3EFE8;
  --paper-2: #E9E3D9;
  --ink: #1B1915;
  --ink-2: #4A453E;
  --muted: #8A8176;
  --line: rgba(27, 25, 21, .14);
  --bronze: #9C6B3F;
  --bronze-2: #C49A6C;
  --dark: #15130F;
  --dark-line: rgba(243, 239, 232, .16);

  --pad: clamp(20px, 4vw, 56px);
  --gap: clamp(12px, 1.6vw, 24px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; border-radius: 2px; }

/* ---------- Type ---------- */
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.muted { color: var(--muted); }
.h2 {
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- Section head ---------- */
.sec-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 88px);
}
.sec-head .rule { flex: 1; height: 1px; background: var(--line); transform-origin: left; }
.sec-head--light .label { color: rgba(243, 239, 232, .7); }
.sec-head--light .rule { background: var(--dark-line); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 10px 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn i {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-style: normal;
  font-size: 15px;
  transition: transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover i { transform: rotate(-45deg); }

.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark i { background: var(--paper); color: var(--ink); }
.btn--dark::before { background: var(--bronze); }

.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line i { background: var(--ink); color: var(--paper); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--paper); }
.btn--line:hover i { background: var(--paper); color: var(--ink); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light i { background: var(--ink); color: var(--paper); }
.btn--light::before { background: var(--bronze-2); }

.link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 0;
}
.link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(0); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--dark);
  color: var(--paper);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
}
.loader__word {
  display: flex;
  overflow: hidden;
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1;
  padding-bottom: .08em;
}
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__bar { width: min(220px, 50vw); height: 1px; background: rgba(243, 239, 232, .18); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--bronze-2); transform: scaleX(0); transform-origin: left; }
.no-js .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0;
  z-index: 90;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: var(--bronze);
  color: var(--paper);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  pointer-events: none;
  transform: scale(0);
  will-change: transform;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--pad);
  transition: transform .7s var(--ease), background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(243, 239, 232, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 14px; padding-bottom: 14px;
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  justify-self: start;
}
.nav__mark { width: 28px; height: 28px; color: var(--bronze); }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav__links a { position: relative; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #5E8C61; box-shadow: 0 0 0 0 rgba(94, 140, 97, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94,140,97,.5); } 70% { box-shadow: 0 0 0 9px rgba(94,140,97,0); } 100% { box-shadow: 0 0 0 0 rgba(94,140,97,0); } }

.nav__burger { display: none; justify-self: end; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0;
  z-index: 45;
  background: var(--paper);
  padding: 110px var(--pad) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline;
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 400; letter-spacing: -.035em; line-height: 1.15;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(30px); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.menu-open .menu__links a { transform: none; opacity: 1; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px var(--pad) 36px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--gap);
}
.hero__top { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.hero__title {
  grid-column: 1 / 9;
  grid-row: 2;
  align-self: center;
  font-size: clamp(52px, 8.1vw, 136px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.05em;
  padding: 48px 0 24px;
}
.hero__title em { font-style: normal; font-weight: 300; color: var(--bronze); }
.hero__media {
  grid-column: 9 / 13;
  grid-row: 2 / 4;
  position: relative;
  align-self: stretch;
  padding-top: 40px;
}
.hero__img { overflow: hidden; background: var(--paper-2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero__img--main { aspect-ratio: 3 / 4; width: 100%; }
.hero__img--small {
  position: absolute;
  left: -38%;
  bottom: 6%;
  width: 46%;
  aspect-ratio: 4 / 5;
  outline: 10px solid var(--paper);
}
.hero__bottom {
  grid-column: 1 / 9;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: end;
}
.hero__lead { max-width: 40ch; color: var(--ink-2); font-size: 17px; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: 36px;
  display: none;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 34px) 0;
  margin-top: clamp(40px, 6vw, 80px);
  white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 48px); will-change: transform; }
.marquee__track span { font-size: clamp(36px, 5.6vw, 88px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.marquee__track b { font-size: clamp(14px, 1.4vw, 22px); color: var(--bronze); font-weight: 400; }

/* ---------- About ---------- */
.about { padding: clamp(100px, 14vw, 200px) var(--pad) clamp(80px, 10vw, 160px); }
.about__statement {
  font-size: clamp(28px, 3.7vw, 58px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.03em;
  max-width: 22em;
  text-indent: 18%;
}
.about__statement .w { display: inline; }
.about__grid {
  margin-top: clamp(64px, 9vw, 140px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: 48px;
  align-items: start;
}
.about__wood { grid-column: 1 / 8; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.about__wood img { width: 100%; height: 120%; object-fit: cover; }
.facts { grid-column: 9 / 13; }
.facts li { display: grid; grid-template-columns: 44px 1fr; padding: 26px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts__n { color: var(--bronze); font-weight: 600; font-size: 14px; padding-top: 6px; }
.facts h3 { font-size: 22px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 6px; }
.facts p { color: var(--muted); font-size: 16px; }

/* ---------- Collection ---------- */
.collection { position: relative; background: var(--paper-2); }
.collection__pin {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-left: var(--pad);
}
.collection__intro {
  flex: 0 0 clamp(300px, 30vw, 460px);
  padding-right: clamp(24px, 4vw, 64px);
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--paper-2);
  box-shadow: 40px 0 40px -20px var(--paper-2);
}
.collection__intro::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 100vw; background: var(--paper-2);
}
.collection__track { position: relative; z-index: 1; }
.collection__intro .sec-head { margin-bottom: 40px; }
.collection__intro .h2 { margin-bottom: 24px; }
.collection__intro p { max-width: 34ch; }
.collection__progress { margin-top: 48px; height: 1px; background: var(--line); width: 100%; }
.collection__progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.collection__track { display: flex; align-items: flex-start; gap: clamp(24px, 3vw, 48px); padding-right: var(--pad); will-change: transform; }
.card { flex: 0 0 clamp(280px, 26vw, 420px); }
.card--tall { margin-top: 10vh; }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); margin-bottom: 20px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.card:hover .card__img img { transform: scale(1.1); }
.card__meta { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.card__n { font-size: 13px; font-weight: 600; color: var(--bronze); letter-spacing: .08em; }
.card h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.card p { color: var(--muted); font-size: 15.5px; max-width: 34ch; padding-left: 36px; }
.card--end { align-self: center; display: flex; flex-direction: column; gap: 28px; padding: 0 2vw; flex-basis: clamp(260px, 22vw, 340px); }

/* ---------- Process ---------- */
.process { padding: clamp(100px, 14vw, 200px) var(--pad); }
.process__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.process__sticky { grid-column: 1 / 6; position: sticky; top: 14vh; align-self: start; }
.process__frame { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; overflow: hidden; background: var(--paper-2); }
.process__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}
.process__frame img.is-active { opacity: 1; transform: scale(1); }
.process__counter { display: block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.process__counter b { color: var(--ink); font-weight: 600; }
.process__steps { grid-column: 7 / 13; }
.process__steps .h2 { margin-bottom: clamp(48px, 6vw, 96px); }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  padding: clamp(32px, 4vw, 56px) 0;
  min-height: 38vh;
  border-top: 1px solid var(--line);
  opacity: .32;
  transition: opacity .8s var(--ease);
}
.step.is-active { opacity: 1; }
.step__n { font-size: 14px; font-weight: 600; color: var(--bronze); padding-top: 10px; letter-spacing: .08em; }
.step h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 14px; }
.step p { color: var(--ink-2); max-width: 40ch; }
.step__img { display: none; }

/* ---------- Showroom ---------- */
.showroom {
  background: var(--dark);
  color: var(--paper);
  padding: clamp(100px, 14vw, 200px) var(--pad);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
}
.showroom .sec-head { grid-column: 1 / -1; }
.showroom__title {
  grid-column: 1 / 8;
  font-size: clamp(48px, 7.4vw, 124px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.05em;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.showroom__hero { position: relative; grid-column: 4 / 13; aspect-ratio: 16 / 9; max-height: min(70vh, 600px); overflow: hidden; background: #221f1a; }
/* sekil freymden 12% hundur (yuxari/asagi) - parallax (data-speed) bosluq yaratmasin */
.showroom__hero img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.showroom__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: clamp(64px, 8vw, 120px); align-items: start; }
.showroom__info { grid-column: 1 / 5; }
.showroom__info dl > div { padding: 22px 0; border-top: 1px solid var(--dark-line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.showroom__info dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,239,232,.5); padding-top: 4px; }
.showroom__info dd { font-size: 18px; }
.showroom__info dd a { border-bottom: 1px solid var(--dark-line); transition: border-color .3s, color .3s; }
.showroom__info dd a:hover { color: var(--bronze-2); border-color: var(--bronze-2); }
.showroom__info .btn { margin-top: 36px; }
.showroom__night { overflow: hidden; aspect-ratio: 9 / 14; background: #221f1a; }
.showroom__night img { width: 100%; height: 112%; object-fit: cover; }
.showroom__night--a { grid-column: 6 / 9; }
.showroom__night--b { grid-column: 10 / 13; margin-top: 18vh; }

/* ---------- Contact ---------- */
.contact { padding: clamp(100px, 14vw, 200px) var(--pad) clamp(80px, 10vw, 140px); }
.contact__kicker { font-size: clamp(20px, 2vw, 28px); color: var(--ink-2); margin-bottom: 20px; }
.contact__phone {
  display: block;
  font-size: clamp(30px, 6.5vw, 96px);
  font-weight: 300;
  letter-spacing: -.05em;
  line-height: 1;
  white-space: nowrap;
  max-width: 100%;
  transition: color .6s var(--ease);
}
.contact__phone .line { white-space: nowrap; }
.contact__phone:hover { color: var(--bronze); }
.contact__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 72px); }

/* ---------- CTA band (daxili sehifeler, footer-den evvel) ---------- */
.cta { position: relative; background: var(--dark); color: var(--paper); overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: url("../images/herringbone-warm.jpg") center / cover no-repeat; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 19, 15, .94) 0%, rgba(21, 19, 15, .78) 55%, rgba(21, 19, 15, .6) 100%); }
.cta__inner { padding: clamp(72px, 9vw, 130px) var(--pad); max-width: 1100px; }
.cta__kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 20px; }
.cta__title { font-size: clamp(32px, 5vw, 76px); font-weight: 300; letter-spacing: -.045em; line-height: 1.04; max-width: 16ch; margin: 0 0 24px; }
.cta__text { font-size: clamp(16px, 1.3vw, 19px); color: rgba(243, 239, 232, .75); max-width: 52ch; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(32px, 4vw, 52px); }
.cta__call { font-size: 15px; font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid var(--dark-line); transition: color .3s, border-color .3s; }
.cta__call:hover, .cta__call:focus-visible { color: var(--bronze-2); border-color: var(--bronze-2); }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--pad) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; padding: 40px 0; align-items: start; }
.footer__row p { color: var(--muted); font-size: 15px; }
.footer__row nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.footer__row nav a:hover, .footer__top:hover { color: var(--bronze); }
.footer__top { justify-self: end; font-size: 14px; font-weight: 600; }
.footer__word {
  font-size: clamp(64px, 17.2vw, 300px);
  font-weight: 300;
  letter-spacing: -.065em;
  line-height: .8;
  white-space: nowrap;
  text-align: center;
  padding: 2vw 0 3vw;
  color: var(--ink);
}
.footer__legal { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .hero__img--small { left: -30%; width: 52%; }
  .hero__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { grid-template-columns: 1fr auto; padding-top: 16px; padding-bottom: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__brand { font-size: 13px; }

  .hero { display: flex; flex-direction: column; padding-top: 96px; min-height: auto; }
  .hero__top { padding-bottom: 20px; }
  .hero__title { padding: 36px 0 28px; font-size: clamp(46px, 13.4vw, 84px); }
  .hero__media { order: 3; padding: 0 0 0 18%; margin-top: 36px; }
  .hero__img--main { aspect-ratio: 4 / 5; }
  .hero__img--small { left: 0; bottom: -12%; width: 40%; outline-width: 6px; }
  .hero__bottom { order: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
  .marquee { margin-top: 88px; }

  .about__statement { text-indent: 0; }
  .about__grid { display: flex; flex-direction: column; }
  .about__wood { width: 100%; }
  .facts { width: 100%; }

  .collection__pin { height: auto; display: block; padding: 96px 0; overflow: visible; }
  .collection__intro { padding: 0 var(--pad) 40px; }
  .collection__progress { display: none; }
  .collection__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 var(--pad) 12px;
    gap: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .collection__track::-webkit-scrollbar { display: none; }
  .card { flex-basis: 78vw; scroll-snap-align: start; scroll-margin-left: var(--pad); }
  .card--tall { margin-top: 0; }
  .card p { padding-left: 0; }
  .card--end { flex-basis: 70vw; padding: 0 12px; }

  .process__grid { display: block; }
  .process__sticky { display: none; }
  .step { grid-template-columns: 48px 1fr; min-height: 0; opacity: 1; }
  .step__img { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; margin-top: 24px; }

  .showroom { display: block; }
  .showroom__hero { aspect-ratio: 16 / 11; max-height: 56vh; }
  .showroom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .showroom__info { grid-column: 1 / -1; margin-bottom: 40px; }
  .showroom__info dl > div { grid-template-columns: 96px 1fr; }
  .showroom__night--a, .showroom__night--b { grid-column: auto; margin-top: 0; }
  .showroom__night--b { margin-top: 48px; }

  .contact__phone { font-size: clamp(28px, 9.5vw, 72px); }

  .footer__row { grid-template-columns: 1fr; }
  .footer__row nav { flex-wrap: wrap; gap: 18px; }
  .footer__top { justify-self: start; }
  .footer__legal { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .loader { display: none; }
}


/* =========================================================
   DLE inner pages
   Silva Floor DLE şablonu üçün əlavə stillər (ana səhifə yuxarıdakı orijinal dizaynla eynidir).
   Daxili səhifələr: kateqoriya, məhsul/layihə/blog kartları, tam xəbər, statik səhifə,
   speedbar, səhifələmə, info, əlaqə (feedback), axtarış.
   ========================================================= */

/* ---------- engine.css .btn ilə toqquşmanın aradan qaldırılması ---------- */
.btn { text-shadow: none; box-shadow: none; }
.btn.btn--line { background-color: transparent; }
.btn.btn--dark { background-color: var(--ink); }
.btn.btn--light { background-color: var(--paper); }
.btn.btn--dark:hover { background-color: var(--ink); }
.btn.btn--line:hover { background-color: transparent; }
.btn.btn--light:hover { background-color: var(--paper); }

/* ---------- Nav: daxili səhifələrdə həmişə "scrolled" görünüş ---------- */
body:not(.is-home) .nav {
  background: rgba(243, 239, 232, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 14px; padding-bottom: 14px;
  border-color: var(--line);
}
.menu-open .menu__links a:nth-child(6) { transition-delay: .25s; }
.menu__links { overflow-y: auto; }

/* 6 menyu bəndi üçün burger daha tez açılır */
@media (max-width: 1020px) {
  .nav { grid-template-columns: 1fr auto; padding-top: 16px; padding-bottom: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Ana səhifə əlavələri ---------- */
.about__more { display: inline-block; margin-top: clamp(40px, 5vw, 72px); }
.collection__all { display: inline-block; margin-top: 24px; align-self: flex-start; }

/* Kolleksiya kartları: DLE-dən gələn kartlar sıra nömrəsi alır, cüt kartlar "tall" olur */
.collection__track { counter-reset: card; }
.collection__track > .card:not(.card--end) { counter-increment: card; }
.collection__track > .card:not(.card--end) .card__n::before { content: counter(card, decimal-leading-zero); }
.collection__track > .card:nth-child(even):not(.card--end) { margin-top: 10vh; }
.card__img a { display: block; width: 100%; height: 100%; }

.projects { padding: clamp(80px, 10vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px) var(--gap); }
.projects__all { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Daxili səhifə çərçivəsi ---------- */
.page { padding: clamp(112px, 12vw, 168px) var(--pad) clamp(72px, 9vw, 130px); min-height: 70vh; }
.page__head { margin-bottom: clamp(36px, 5vw, 72px); }
.page__title {
  font-size: clamp(40px, 6.2vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  margin: 18px 0 0;
}
.page__lead { max-width: 56ch; margin-top: 20px; color: var(--ink-2); font-size: 18px; }
.page__body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(36px, 4vw, 64px) var(--gap);
  align-items: start;
}
.page__body > *:not(.pcard) { grid-column: 1 / -1; }

/* ---------- Speedbar ---------- */
.speedbar { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.speedbar a { color: var(--ink-2); transition: color .3s; }
.speedbar a:hover { color: var(--bronze); }

/* ---------- Kart (kateqoriya / layihə / axtarış) ---------- */
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); margin-bottom: 20px; }
.pcard--project .pcard__img { aspect-ratio: 4 / 3; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.1); }
.pcard__cat { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 8px; }
.pcard__cat a { color: inherit; }
.pcard__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 8px; }
.pcard__title a { transition: color .4s var(--ease); }
.pcard__title a:hover { color: var(--bronze); }
.pcard__meta { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.pcard__text { color: var(--muted); font-size: 15.5px; max-width: 40ch; }
.pcard__foot { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.pcard__edit { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.pcard--text { border-top: 1px solid var(--line); padding-top: 24px; grid-column: 1 / -1; }
.pcard--text .pcard__text { max-width: 70ch; }

/* ---------- Tam xəbər: məhsul / layihə / blog ---------- */
.product__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.product__media { grid-column: 1 / 8; }
.product__img { overflow: hidden; background: var(--paper-2); }
.product__img img { width: 100%; max-height: 82vh; object-fit: cover; }
.product__info { grid-column: 9 / 13; position: sticky; top: 110px; }
.product__grid:not(:has(.product__img)) .product__media { display: none; }
.product__grid:not(:has(.product__img)) .product__info { grid-column: 1 / -1; max-width: 760px; position: static; }
.product__cat { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; }
.product__cat a { color: inherit; }
.product__title { font-size: clamp(34px, 4vw, 60px); font-weight: 400; line-height: 1.04; letter-spacing: -.04em; margin: 0 0 32px; }
.specs-wrap:not(:has(tr)) { display: none; }
.specs__head { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 1px solid var(--line); }
.specs th { width: 38%; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 20px; }
.specs td { font-size: 18px; color: var(--ink); }
.specs__price td { font-size: 22px; color: var(--bronze); font-weight: 600; }
.product__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.product__edit { margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.product__text { margin-top: clamp(56px, 7vw, 110px); max-width: 72ch; }

.next-prev { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(56px, 7vw, 100px); padding-top: 24px; border-top: 1px solid var(--line); }
.next-prev__next { margin-left: auto; }

.related { margin-top: clamp(72px, 9vw, 140px); }
.related__title { font-size: clamp(26px, 3vw, 44px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 32px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 28px var(--gap); }
.rcard { display: flex; flex-direction: column; gap: 6px; }
.rcard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); margin-bottom: 10px; }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rcard:hover .rcard__img img { transform: scale(1.07); }
.rcard__cat { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.rcard__title { font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }

/* ---------- Mətn (statik səhifə / tam xəbər) ---------- */
.static { max-width: 78ch; }
.static__title { font-size: clamp(40px, 6.2vw, 96px); font-weight: 400; line-height: 1; letter-spacing: -.045em; margin: 0 0 clamp(32px, 4vw, 56px); }
.static__edit { margin-top: 24px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin-top: 1.8em; }
.prose h2 { font-size: clamp(26px, 3vw, 40px); }
.prose h3 { font-size: clamp(22px, 2.2vw, 30px); }
.prose h4 { font-size: 20px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--bronze); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--bronze); transition: color .3s; }
.prose a:hover { color: var(--bronze); }
.prose img { max-width: 100%; height: auto; }
.prose blockquote { margin-left: 0; padding-left: 24px; border-left: 2px solid var(--bronze); color: var(--ink); font-size: 1.1em; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }

/* ---------- Səhifələmə ---------- */
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.pagination__arrow a { font-size: 14px; font-weight: 600; transition: color .3s; }
.pagination__arrow a:hover { color: var(--bronze); }
.pagination .pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .pages a, .pagination .pages > span {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.pagination .pages a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination .pages > span { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Info mesajı ---------- */
.notice { padding: 22px 26px; border: 1px solid var(--line); border-left: 3px solid var(--bronze); background: var(--paper-2); }
.notice__title { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.notice__text { color: var(--ink-2); font-size: 16px; }

/* ---------- Əlaqə (feedback) ---------- */
.contact-page { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 56px; align-items: start; }
.contact-page__info { grid-column: 1 / 6; }
.contact-page__form { grid-column: 7 / 13; }
.contact-page__title { font-size: clamp(28px, 3vw, 44px); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 24px; }
.contact-page__lead { color: var(--muted); margin: -8px 0 28px; max-width: 46ch; }
.contact-page__list { margin-bottom: 36px; }
.contact-page__list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-page__list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-page__list dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-page__list dd { font-size: 18px; }
.contact-page__list a { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.contact-page__list a:hover { color: var(--bronze); border-color: var(--bronze); }

.addform .ui-form { list-style: none; margin: 0; padding: 0; }
.addform .form-group { margin-bottom: 22px; }
.addform .form-group--recipient { display: none; }
.addform .combo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.addform label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.addform input[type="text"], .addform input[type="email"], .addform input[type="search"],
.addform textarea, .addform select,
.searchtable input[type="text"], .searchtable input[type="search"], .searchtable select {
  width: 100%;
  padding: 12px 0;
  font: inherit; font-size: 17px; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color .3s;
}
.addform textarea { resize: vertical; min-height: 140px; }
.addform input:focus, .addform textarea:focus, .addform select:focus,
.searchtable input:focus, .searchtable select:focus { outline: none; border-color: var(--ink); }
.addform ::placeholder, .searchtable ::placeholder { color: var(--muted); opacity: .8; }
.addform input[type="file"] { padding: 10px 0; font: inherit; font-size: 15px; }
.addform .c-captcha { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.addform .c-captcha input[type="text"] { width: 180px; }
.addform .c-captcha img { border-radius: 4px; }
.form_submit { margin-top: 12px; }

/* ---------- Axtarış ---------- */
.searchpage__title { font-size: clamp(34px, 4.4vw, 64px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 32px; }
.searchtable { max-width: 760px; }
.searchtable table { width: 100%; border-collapse: collapse; }
.searchtable td { padding: 10px 0; vertical-align: middle; }
.searchtable label { font-size: 14px; color: var(--ink-2); }
.searchtable input[type="submit"], .searchtable .bbcodes, .searchtable button {
  display: inline-flex; align-items: center; height: 48px; padding: 0 26px; margin: 8px 8px 0 0;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--paper);
  font: inherit; font-size: 15px; font-weight: 600; text-shadow: none; box-shadow: none; cursor: pointer;
  transition: background .4s var(--ease);
}
.searchtable input[type="submit"]:hover, .searchtable .bbcodes:hover, .searchtable button:hover { background: var(--bronze); }
.searchpage__msg { margin-top: 20px; color: var(--muted); }

/* ---------- Footer əlavələri ---------- */
.footer__contact { font-style: normal; font-size: 15px; color: var(--muted); margin-top: 16px; line-height: 1.7; }
.footer__contact a:hover { color: var(--bronze); }
.footer__row nav { flex-wrap: wrap; gap: 12px 28px; }

/* ---------- Responsive (daxili səhifələr) ---------- */
@media (max-width: 1100px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .product__media { grid-column: 1 / -1; }
  .product__info { grid-column: 1 / -1; position: static; }
  .contact-page__info, .contact-page__form { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .collection__track > .card:nth-child(even):not(.card--end) { margin-top: 0; }
  .projects__grid { grid-template-columns: 1fr; }
  .page { padding-top: 104px; }
  .page__body { grid-template-columns: 1fr; }
  .addform .combo { grid-template-columns: 1fr; gap: 0; }
  .contact-page__list > div { grid-template-columns: 96px 1fr; }
  .specs th { width: 42%; }
  .pagination { justify-content: center; }
}

/* ---------- Kateqoriya başlığı və filtr (pill) ---------- */
.page__head .page__title + .page__lead { margin-top: 20px; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.filter--off { display: none; }
.filter__chip {
  display: inline-flex; align-items: center;
  height: 42px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  color: var(--ink); background: transparent;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
a.filter__chip:hover { background: var(--ink); color: var(--paper); }
.filter__chip.is-active { background: var(--ink); color: var(--paper); cursor: default; }
@media (max-width: 860px) {
  .filter { gap: 8px; }
  .filter__chip { height: 38px; padding: 0 16px; font-size: 13px; }
}

/* SEO: img width/height attr must not override aspect-ratio */
.step__img { height: auto; }
