/* ─── TOKENS ─────────────────────────────────── */
:root {
  --stone-950: #0C0A09;
  --stone-900: #1C1917;
  --stone-800: #292524;
  --stone-700: #44403C;
  --stone-500: #78716C;
  --stone-400: #A8A29E;
  --stone-200: #E7E5E4;
  --stone-100: #F5F5F4;
  --stone-50:  #FAFAF9;
  --gold:      #B45309;
  --gold-bright: #CA8A04;
  --white:     #FFFFFF;

  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Josefin Sans', sans-serif;

  --max-w:  1100px;
  --r:      4px;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --fast:   150ms;
  --mid:    300ms;
  --slow:   500ms;
}

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--stone-50);
  color: var(--stone-900);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── HEADER ─────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.header-logo { height: 40px; }
.header-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.header-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-500);
}

/* ─── SERIES NAV ─────────────────────────────── */
.series-nav {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stone-900);
  overflow-x: auto;
  scrollbar-width: none;
}
.series-nav::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 0 18px;
  height: 44px;
  display: flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.nav-link:hover { color: rgba(255,255,255,.88); }
.nav-link.active {
  color: var(--white);
  border-bottom-color: var(--gold-bright);
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}
.hero.loaded .hero-img { transform: scale(1); }
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px 52px;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.hero-line {
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  margin-bottom: 24px;
  transition: width 0.9s var(--ease) 50ms;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--slow) var(--ease) 100ms, transform var(--slow) var(--ease) 100ms;
}
.hero-sub {
  font-size: 0.96rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.68);
  max-width: 520px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--slow) var(--ease) 200ms, transform var(--slow) var(--ease) 200ms;
}
.hero.loaded .hero-eyebrow,
.hero.loaded .hero-title,
.hero.loaded .hero-sub { opacity: 1; transform: translateY(0); }
.hero.loaded .hero-line { width: 80px; }

/* ─── SECTION WRAPPER ────────────────────────── */
.section { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ─── SERIES HEADING (below hero) ───────────── */
.series-heading { padding: 52px 0 0; }
.series-heading h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--stone-900);
  margin-bottom: 14px;
}
.series-heading .eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.series-heading p {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--stone-500);
  max-width: 640px;
  line-height: 1.7;
}

/* ─── SECTION HEADER ─────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 80px 0 48px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--stone-900);
}
.section-header-rule {
  flex: 1;
  height: 1px;
  background: var(--stone-200);
}
.section-header-count {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

/* ─── GALLERY ────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 24px;
}
.gallery-grid .card:first-child {
  grid-column: 1 / -1;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--stone-100);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--slow) var(--ease),
    transform var(--slow) var(--ease),
    box-shadow var(--mid) var(--ease);
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.12); }
.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover img { transform: scale(1.025); }

/* ─── LIGHTBOX ───────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 32px 64px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: 28px; right: 36px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--fast) var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,.1); }

/* ─── COLOR PALETTE (solid-color only) ──────── */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 20px 16px;
  padding-bottom: 16px;
}
.swatch {
  cursor: default;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.swatch.visible { opacity: 1; transform: translateY(0); }
.swatch-face {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r);
  border: 1px solid rgba(0,0,0,.08);
  margin-bottom: 9px;
  position: relative;
  overflow: hidden;
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}
.swatch:hover .swatch-face {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}
.swatch-face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  border: 0px solid var(--gold-bright);
  transition: border-width var(--fast) var(--ease), opacity var(--fast) var(--ease);
  opacity: 0;
}
.swatch:hover .swatch-face::after { border-width: 2px; opacity: 1; }
.swatch-code {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--stone-500);
  text-align: center;
  direction: ltr;
  transition: color var(--fast) var(--ease);
}
.swatch:hover .swatch-code { color: var(--gold); }

/* ─── SPECS TABLE ────────────────────────────── */
.specs-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--stone-200);
  margin-bottom: 80px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
thead th {
  padding: 14px 20px;
  text-align: right;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-500);
  background: var(--stone-100);
  border-bottom: 1px solid var(--stone-200);
  white-space: nowrap;
}
tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--stone-100);
  vertical-align: middle;
  color: var(--stone-800);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(0,0,0,.018); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.b1 { background: #FEF9C3; border: 1px solid #FDE047; color: #713F12; }
.a1 { background: #DCFCE7; border: 1px solid #86EFAC; color: #14532D; }

/* ─── CONTACT SECTION ────────────────────────── */
.contact {
  background: var(--stone-900);
  padding: 96px 40px;
  text-align: center;
}
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
}
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.contact-sub {
  color: rgba(255,255,255,.5);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 52px;
}
.contact-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 26px 36px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  min-width: 200px;
  transition: background var(--mid) var(--ease), border-color var(--mid) var(--ease);
}
.contact-card:hover {
  background: rgba(255,255,255,.09);
  border-color: var(--gold-bright);
}
.contact-card-label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 600;
}
.contact-card-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.05em;
  direction: ltr;
}
.contact-card-action {
  font-size: 0.7rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.12em;
  margin-top: 4px;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 768px) {
  .header { padding: 0 20px; }
  .header-logo { height: 32px; }
  .hero { height: 60vh; min-height: 320px; }
  .hero-content { padding: 0 24px 36px; }
  .section { padding: 0 20px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-grid .card:first-child { grid-column: 1; }
  .palette-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 14px 10px; }
  .contact { padding: 56px 24px; }
  .contact-cards { flex-direction: column; align-items: center; }
  .contact-card { min-width: 240px; }
  .series-nav { justify-content: flex-start; padding: 0 8px; }
  .nav-link { padding: 0 10px; font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .header { padding: 0 16px; height: 56px; }
  .header-logo { height: 28px; }
  .series-nav { top: 56px; }
  .hero { height: 52vh; min-height: 260px; margin-top: 100px !important; }
  .hero-content { padding: 0 16px 28px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .section { padding: 0 16px; }
  .nav-link { padding: 0 8px; font-size: 0.68rem; letter-spacing: 0.08em; }
  .contact { padding: 44px 16px; }
  .contact-section { padding: 56px 16px; }
}

/* ─── REDUCED MOTION ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .card, .swatch, .hero-eyebrow, .hero-title, .hero-sub, .hero-img {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: #0d0d0d;
  padding: 80px 40px;
  text-align: center;
  direction: rtl;
  border-top: 1px solid #222;
}
.contact-inner { max-width: 480px; margin: 0 auto; }
.contact-title { font-family: 'Cinzel', serif; font-size: 28px; letter-spacing: 4px; margin-bottom: 10px; color: #fff; }
.contact-sub { color: #888; font-size: 14px; letter-spacing: 2px; margin-bottom: 40px; }
.contact-input {
  display: block; width: 100%;
  padding: 14px 18px; margin-bottom: 16px;
  background: #1a1a1a; border: 1px solid #333;
  color: #fff; font-size: 16px; font-family: inherit;
  outline: none; transition: border-color 0.3s;
  box-sizing: border-box;
}
.contact-input:focus { border-color: #888; }
.contact-input option { background: #1a1a1a; }
.contact-btn {
  display: block; width: 100%; padding: 16px;
  background: #fff; color: #000;
  font-size: 15px; font-weight: 700; letter-spacing: 2px;
  border: none; cursor: pointer; transition: background 0.3s, color 0.3s;
}
.contact-btn:hover { background: #c9a96e; color: #fff; }
.contact-direct { margin-top: 28px; color: #555; font-size: 14px; }
.contact-phone { color: #c9a96e; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; }
.contact-thanks { color: #c9a96e; font-size: 20px; padding: 30px 0; }

.contact-headline {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 10px;
}
.contact-tagline {
  font-size: 15px;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 32px;
}
