/* ─── VARIABLES ─────────────────────────────────── */
:root {
  --cream:      #F5F1EA;
  --cream-2:    #EDE8DF;
  --cream-3:    #E3DDD3;
  --white:      #FFFFFF;
  --ink:        #18150F;
  --ink-2:      #3A3530;
  --ink-3:      #6B6560;
  --gold:       #A8722A;
  --gold-2:     #C08A3A;
  --gold-pale:  #EDD9B8;
  --border:     #D5CFC4;
  --dark-sec:   #1E1A14;
  --dark-alt:   #252018;

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--ink); }
body { background: var(--cream); color: var(--ink); font-family: var(--f-body); overflow-x: hidden; width: 100%; position: relative; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--gold-pale); }

/* ─── REVEAL ANIMATIONS ─────────────────────────── */
.rv  { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rvl { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rvr { opacity: 0; transform: translateX(40px);  transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.on, .rvl.on, .rvr.on { opacity: 1; transform: none; }
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}
.d4{transition-delay:.32s} .d5{transition-delay:.40s} .d6{transition-delay:.48s}

/* ─── NAVIGATION ────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
  padding: 0 56px; height: 76px;
  transition: background .4s, box-shadow .4s, height .35s;
}
.nav.sc {
  background: rgba(245,241,234,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  height: 64px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; justify-self: start; }
.nav-logo img { height: 42px; object-fit: contain; transition: opacity .4s; }
.nav-logo .logo-dark { display: none; }
.nav.sc .nav-logo .logo-light,
.nav.solid .nav-logo .logo-light { display: none; }
.nav.sc .nav-logo .logo-dark,
.nav.solid .nav-logo .logo-dark { display: block; }
.nav-logo-text { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; letter-spacing: .06em; color: #fff; transition: color .4s; }
.nav.sc .nav-logo-text { color: var(--ink); }

/* Desktop links */
.nav-links {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 1.6vw, 28px);
  list-style: none; min-width: 0; justify-self: center;
  overflow: visible;
}
.nav-links > li { position: relative; flex-shrink: 0; }
.nav-links > li:hover { z-index: 2; }
.nav-links > li > a {
  font-size: .73rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.8); transition: color .25s; padding-bottom: 2px;
  display: flex; align-items: center; gap: 5px;
}
.nav-links > li > a:hover { color: #fff; }
.nav.sc .nav-links > li > a { color: var(--ink-2); }
.nav.sc .nav-links > li > a:hover { color: var(--ink); }

/* Dropdown */
.dd {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(18px);
  background: var(--white); border-top: 2px solid var(--gold); box-shadow: 0 12px 40px rgba(0,0,0,.14);
  min-width: 260px; list-style: none; z-index: 3;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease) .25s, transform .2s var(--ease) .25s, visibility 0s linear .45s;
}
/* Invisible bridge so the cursor can cross the gap without losing hover */
.dd::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-links > li:hover .dd,
.dd:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
.dd li a { display: block; padding: 14px 22px; font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-2); border-bottom: 1px solid var(--cream-2); transition: background .2s, color .2s; }
.dd li:last-child a { border-bottom: none; }
.dd li a:hover { background: var(--cream); color: var(--gold); }
.dd-arrow { font-size: .55rem; opacity: .6; }

/* Nav quote CTA */
.btn-nav-quote {
  background: var(--gold); border: none; color: #fff;
  font-family: var(--f-body); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 16px; cursor: pointer; transition: background .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn-nav-quote:hover { background: var(--gold-2); transform: translateY(-1px); }
.nav.sc .btn-nav-quote, .nav.solid .btn-nav-quote { background: var(--gold); color: #fff; }
.nav.menu-open .btn-nav-quote { background: var(--gold); color: #fff; }

/* Lang + hamburger */
.nav-right { display: flex; align-items: center; gap: 6px; justify-self: end; }
.lbtn { background: none; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); font-family: var(--f-body); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; cursor: pointer; transition: all .25s; border-radius: 1px; }
.lbtn:hover, .lbtn.on { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.65); color: #fff; }
.nav.sc .lbtn { border-color: var(--border); color: var(--ink-3); }
.nav.sc .lbtn:hover, .nav.sc .lbtn.on { background: var(--gold-pale); border-color: var(--gold); color: var(--gold); }
.hbg { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: 8px; }
.hbg span { display: block; width: 22px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .25s, background .4s; }
.nav.sc .hbg span { background: var(--ink); }

/* When the nav sits on a light page (no dark hero behind it) keep it solid */
.nav.solid { background: rgba(245,241,234,.96); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); }
.nav.solid .nav-logo-text { color: var(--ink); }
.nav.solid .nav-links > li > a { color: var(--ink-2); }
.nav.solid .nav-links > li > a:hover { color: var(--ink); }
.nav.solid .lbtn { border-color: var(--border); color: var(--ink-3); }
.nav.solid .lbtn:hover, .nav.solid .lbtn.on { background: var(--gold-pale); border-color: var(--gold); color: var(--gold); }
.nav.solid .hbg span { background: var(--ink); }

.nav-links > li.nav-active > a { color: var(--gold); }
.nav.sc .nav-links > li.nav-active > a,
.nav.solid .nav-links > li.nav-active > a { color: var(--gold); }
.nav.menu-open .nav-links > li.nav-active > a { color: var(--gold); }

/* ─── HERO ───────────────────────────────────────── */
.hero { position: relative; height: 100vh; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  transform: scale(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,11,6,.82) 0%, rgba(15,11,6,.55) 55%, rgba(168,114,42,.15) 100%);
}
/* Revert hero image: change background-image on #heroBg in index.html to:
   url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1920&q=80') */

/* Diagonal accent stripe */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.hero-content { position: relative; padding: 0 56px; max-width: 780px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2);
  margin-bottom: 28px;
  opacity: 0; animation: au .9s .3s var(--ease) forwards;
}
.hero-tag::before { content: ''; width: 32px; height: 1px; background: var(--gold); }

.hero-h1 {
  font-family: var(--f-display); font-size: clamp(2.8rem,6.5vw,5.2rem); font-weight: 600; line-height: 1.1; color: #fff; letter-spacing: .01em; margin-bottom: 24px;
  opacity: 0; animation: au .9s .5s var(--ease) forwards;
}
.hero-h1 em { font-style: italic; font-weight: 400; color: rgba(255,255,255,.7); }

.hero-p {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 44px; max-width: 520px;
  opacity: 0; animation: au .9s .7s var(--ease) forwards;
}

.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: au .9s .9s var(--ease) forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 32px; transition: background .3s, transform .3s var(--ease);
}
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 32px; transition: border-color .3s, background .3s, color .3s;
  background: none; font-family: var(--f-body); cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); color: #fff; }

.hero-scroll-ind {
  position: absolute; bottom: 36px; left: 56px; display: flex; align-items: center; gap: 12px;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4);
  opacity: 0; animation: au .9s 1.1s var(--ease) forwards;
}
.scroll-bar { width: 48px; height: 1px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-bar::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 40%; background: var(--gold); animation: sp 2s ease-in-out infinite; }
@keyframes sp { 0%{left:-40%} 100%{left:140%} }
@keyframes au { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }

/* ─── STATS ──────────────────────────────────────── */
.stats { background: var(--dark-sec); }
.stats-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat {
  padding: 52px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background .4s; }
.stat:hover::before { background: var(--gold); }
.stat-n { font-family: var(--f-display); font-size: 3rem; font-weight: 600; color: var(--gold-2); line-height: 1; margin-bottom: 10px; }
.stat-l { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ─── SECTION SHARED ─────────────────────────────── */
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.sec-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
.sec-h2 { font-family: var(--f-display); font-size: clamp(2rem,4vw,3.2rem); font-weight: 600; line-height: 1.15; color: var(--ink); }
.sec-h2 em { font-style: italic; font-weight: 400; color: var(--ink-2); }
.rule { width: 56px; height: 3px; background: var(--gold); margin: 28px 0; }
.sec-p { font-size: .95rem; line-height: 1.85; color: var(--ink-3); }

/* ─── ABOUT ──────────────────────────────────────── */
.about { background: var(--cream); }
.about-inner { max-width: 1200px; margin: 0 auto; padding: 100px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-img-wrap { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.about-img { width: 100%; height: auto; display: block; }
.about-logo-panel {
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  min-height: 280px; padding: 48px 32px;
}
.about-logo { max-width: 220px; width: 100%; height: auto; display: block; }
.about-band {
  background: var(--gold); color: #fff; padding: 18px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.about-band-text { font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.about-band-num { font-family: var(--f-display); font-size: 2rem; font-weight: 600; }

.about-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--border); }
.about-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--border);
  font-size: .88rem; line-height: 1.6; color: var(--ink-2);
}
.about-list li::before { content: ''; min-width: 8px; height: 8px; border: 2px solid var(--gold); margin-top: 5px; transform: rotate(45deg); }

/* ─── SERVICES ───────────────────────────────────── */
.services { background: var(--white); }
.services-inner { max-width: 1200px; margin: 0 auto; padding: 100px 56px; }
.services-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.services-top-right { font-size: .88rem; line-height: 1.8; color: var(--ink-3); max-width: 320px; text-align: right; }
.sg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; background: var(--cream-3); }
.sg-12 { grid-template-columns: repeat(3, 1fr); }
.sg-12 .sc-card { padding: 34px 28px; }
.sg-12 .sc-n { font-size: 2.4rem; top: 16px; right: 18px; }
.sg-12 .sc-title { font-size: 1.12rem; }
.sg-12 .sc-desc { font-size: .8rem; line-height: 1.7; }
.sc-card {
  background: var(--white); padding: 44px 36px;
  position: relative; overflow: hidden; cursor: pointer;
  transition: background .35s;
  display: block; color: inherit;
}
.sc-card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s var(--ease);
}
.sc-card:hover { background: var(--cream); }
.sc-card:hover::after { transform: scaleY(1); }
.sc-n { position: absolute; top: 20px; right: 24px; font-family: var(--f-display); font-size: 3.5rem; font-weight: 600; color: var(--cream-3); line-height: 1; transition: color .35s; user-select: none; }
.sc-card:hover .sc-n { color: var(--gold-pale); }
.sc-icon { width: 48px; height: 48px; color: var(--gold); margin-bottom: 22px; flex-shrink: 0; }
.sc-title { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.3; }
.sc-desc { font-size: .83rem; line-height: 1.75; color: var(--ink-3); }
.sc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
button.sc-card { font: inherit; text-align: left; width: 100%; border: none; cursor: pointer; appearance: none; -webkit-appearance: none; }
.sc-card.is-active { background: var(--cream); }
.sc-card.is-active::after { transform: scaleY(1); }
.sc-card.is-active .sc-n { color: var(--gold-pale); }

/* Service detail preview (homepage) */
.svc-preview { margin-top: 3px; background: var(--cream-2); border: 1px solid var(--border); }
.svc-preview-panels { position: relative; min-height: 280px; }
.svc-preview-panel { display: none; padding: 40px 44px; animation: svcPreviewIn .35s var(--ease); }
.svc-preview-panel.is-active { display: block; }
@keyframes svcPreviewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.svc-preview-grid { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.svc-preview-num { font-family: var(--f-display); font-size: 2.8rem; font-weight: 600; color: var(--gold-pale); line-height: 1; margin-bottom: 8px; display: block; }
.svc-preview-title { font-family: var(--f-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; color: var(--ink); margin-bottom: 14px; line-height: 1.25; }
.svc-preview-lead { font-size: .92rem; line-height: 1.85; color: var(--ink-3); margin-bottom: 22px; max-width: 640px; }
.svc-preview-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.svc-preview-list li {
  font-size: .84rem; line-height: 1.65; color: var(--ink-2); padding-left: 16px; position: relative;
}
.svc-preview-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.svc-preview-side { background: var(--white); border: 1px solid var(--border); padding: 28px 24px; }
.svc-preview-meta-label { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.svc-preview-meta-label:not(:first-child) { margin-top: 20px; }
.svc-preview-brands, .svc-preview-apps { font-size: .84rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
.svc-preview-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.svc-preview-link.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--ink); background: transparent;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 20px; transition: border-color .25s, color .25s;
}
.svc-preview-link.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.svc-preview-actions .btn-primary { justify-content: center; width: 100%; border: none; cursor: pointer; font-family: var(--f-body); }

/* ─── PRODUCTS ───────────────────────────────────── */
.products { background: var(--dark-sec); }
.products-inner { max-width: 1200px; margin: 0 auto; padding: 100px 56px; }
.products-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.products-header .sec-h2 { color: #fff; }
.products-header .sec-h2 em { color: rgba(255,255,255,.55); }
.products-header-p { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.4); max-width: 300px; text-align: right; }
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; background: rgba(255,255,255,.05); }
.hero-partner {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.prod-grid-4 { grid-template-columns: repeat(2, 1fr); }
.prod-group-label {
  margin: 18px 0 10px; font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2);
}
.prod-group-label:first-of-type { margin-top: 0; }
.prod-card {
  background: var(--dark-alt); padding: 40px 32px;
  border-top: 2px solid transparent;
  transition: border-color .3s, background .3s;
}
.prod-card:hover { border-color: var(--gold); background: rgba(255,255,255,.03); }
.prod-cat { font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.prod-title { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.prod-items { list-style: none; }
.prod-items li {
  font-size: .8rem; color: rgba(255,255,255,.45); padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 10px;
  transition: color .2s;
}
.prod-items li:last-child { border-bottom: none; }
.prod-items li::before { content: '—'; color: var(--gold); font-size: .7rem; }
.prod-card:hover .prod-items li { color: rgba(255,255,255,.6); }

/* Products showcase (homepage) */
.prod-showcase { display: flex; flex-direction: column; gap: 28px; }
.prod-partner-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 28px 32px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.prod-partner-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2);
}
.prod-partner-icon { color: var(--gold); font-size: .85rem; }
.prod-partner-note { font-size: .86rem; line-height: 1.75; color: rgba(255,255,255,.45); max-width: 520px; margin: 0; }
.prod-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; background: rgba(255,255,255,.05); }
.prod-cat-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--dark-alt); padding: 36px 32px; text-decoration: none; color: inherit;
  border-top: 2px solid transparent; transition: border-color .3s, background .3s, transform .35s var(--ease);
}
.prod-cat-card:hover { border-color: var(--gold); background: rgba(255,255,255,.04); transform: translateY(-3px); }
.prod-cat-card--featured { grid-column: 1 / -1; padding: 40px 36px; }
.prod-cat-label { font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.prod-cat-title { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; color: #fff; line-height: 1.25; margin: 8px 0 10px; }
.prod-cat-desc { font-size: .84rem; line-height: 1.75; color: rgba(255,255,255,.42); margin: 0; max-width: 680px; }
.prod-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prod-pillar {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.prod-pillar strong { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.prod-pillar span { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.5; }
.prod-cat-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prod-cat-list li {
  font-size: .8rem; color: rgba(255,255,255,.45); padding-left: 14px; position: relative; line-height: 1.55;
}
.prod-cat-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: .7rem; }
.prod-svc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.prod-svc-chip {
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.12); padding: 4px 9px; border-radius: 999px;
  transition: border-color .2s, color .2s, background .2s; cursor: default;
}
.prod-cat-card:hover .prod-svc-chip { border-color: rgba(196,153,98,.35); color: var(--gold-2); }
.prod-cat-cta { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.prod-brands-strip {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 22px 28px; border: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.15);
}
.prod-brands-label { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.3); flex-shrink: 0; }
.prod-brands-list { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.prod-brands-list span { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.prod-map { text-align: center; padding: 8px 0 0; }
.prod-map-label { font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.32); margin: 0; }

/* ─── REFERENCES ─────────────────────────────────── */
.refs { background: var(--cream-2); }
.refs-inner { max-width: 1200px; margin: 0 auto; padding: 100px 56px; }
.refs-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.refs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ref-card {
  background: var(--white); overflow: hidden;
  border-bottom: 3px solid transparent;
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.ref-card:hover { border-color: var(--gold); box-shadow: 0 12px 36px rgba(0,0,0,.1); transform: translateY(-4px); }
.ref-imgwrap { position: relative; overflow: hidden; }
.ref-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.ref-img--contain { object-fit: contain; background: var(--cream); padding: 8px; box-sizing: border-box; }
.ref-card:hover .ref-img { transform: scale(1.05); }
.ref-card:hover .ref-img--contain { transform: none; }
.ref-year { position: absolute; top: 0; right: 0; background: var(--gold); color: #fff; font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; padding: 5px 14px; }
.ref-body { padding: 24px; }
.ref-tag { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; line-height: 1.5; }
.ref-title { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.ref-loc { font-size: .78rem; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.ref-loc::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.refs-more { text-align: center; margin-top: 52px; }
.refs-map { margin: 64px auto 0; max-width: 840px; }
.refs-map img { display: block; width: 100%; height: auto; margin: 0 auto; }
.refs-intro { max-width: 560px; margin: 0 auto 40px; text-align: center; }
.refs-filters { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0 auto 48px; }
.refs-sort { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.refs-country { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.refs-sort-label { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.sortbtn {
  background: none; border: 1px solid var(--border); color: var(--ink-2);
  font-family: var(--f-body); font-size: .72rem; font-weight: 500; letter-spacing: .05em;
  padding: 9px 18px; cursor: pointer; transition: background .25s, border-color .25s, color .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.sortbtn:hover { border-color: var(--gold); color: var(--gold); }
.sortbtn.on { background: var(--gold); border-color: var(--gold); color: #fff; }

.refs-country-dd { position: relative; min-width: 200px; }
.refs-country-btn {
  width: 100%; min-width: 200px; background: var(--white); border: 1px solid var(--border);
  color: var(--ink-2); font-family: var(--f-body); font-size: .72rem; font-weight: 500;
  letter-spacing: .05em; padding: 9px 18px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color .25s, color .25s;
}
.refs-country-btn:hover, .refs-country-dd.open .refs-country-btn {
  border-color: var(--gold); color: var(--ink);
}
.refs-country-dd.open .refs-country-chevron { transform: rotate(180deg); }
.refs-country-chevron { flex-shrink: 0; transition: transform .2s; }
.refs-country-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20;
  list-style: none; margin: 0; padding: 4px 0; background: var(--white);
  border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(24,21,15,.1);
  max-height: 280px; overflow-y: auto;
}
.refs-country-menu[hidden] { display: none; }
.refs-country-option {
  display: block; width: 100%; text-align: left; background: none; border: none;
  font-family: var(--f-body); font-size: .72rem; font-weight: 500; color: var(--ink-2);
  padding: 10px 18px; cursor: pointer; transition: background .15s, color .15s;
}
.refs-country-option:hover { background: var(--cream); color: var(--ink); }
.refs-country-option.on { background: var(--gold-pale); color: var(--ink); font-weight: 600; }
.ref-card[hidden] { display: none; }
.refs-empty {
  grid-column: 1 / -1; text-align: center; padding: 48px 24px; color: var(--ink-3);
  font-size: .9rem; display: none;
}
.refs-empty.show { display: block; }

/* ─── TECH LIBRARY ───────────────────────────────── */
.techlib { background: var(--ink); }
.techlib-inner { max-width: 1200px; margin: 0 auto; padding: 80px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.techlib .sec-h2 { color: #fff; }
.techlib .sec-h2 em { color: rgba(255,255,255,.5); }
.techlib .rule { background: var(--gold); }
.techlib .sec-p { color: rgba(255,255,255,.45); }
.tl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: rgba(255,255,255,.06); }
.tl-card {
  background: var(--dark-alt); padding: 32px 28px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: background .3s;
}
.tl-card:hover { background: rgba(255,255,255,.04); }
.tl-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.tl-label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.tl-sub { font-size: .75rem; color: rgba(255,255,255,.35); line-height: 1.6; }
.tl-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7);
  font-size: .73rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 28px; transition: border-color .3s, background .3s, color .3s;
}
.tl-btn:hover { border-color: var(--gold); background: var(--gold); color: #fff; }

/* ─── CATALOG CTA ────────────────────────────────── */
.catalog {
  background: var(--gold);
  padding: 80px 56px;
}
.catalog-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.catalog-left .catalog-tag { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.catalog-left h2 { font-family: var(--f-display); font-size: clamp(1.6rem,3vw,2.6rem); font-weight: 600; color: #fff; line-height: 1.2; }
.catalog-left p { font-size: .88rem; color: rgba(255,255,255,.7); margin-top: 10px; line-height: 1.7; max-width: 440px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
  background: #fff; color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 36px; transition: background .3s, color .3s, transform .3s var(--ease);
  border: none; font-family: var(--f-body); cursor: pointer;
}
.btn-white:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ─── CONTACT ────────────────────────────────────── */
.contact { background: var(--cream-3); }
.contact-inner { max-width: 1200px; margin: 0 auto; padding: 100px 56px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.off-coverage { font-size: .82rem; color: var(--ink-3); line-height: 1.6; padding-left: 0; }
.off-coverage::before { display: none; }
.contact-branches { margin-top: 56px; }
.contact-branches-head { margin-bottom: 24px; }
.contact-branch-grid { display: grid; grid-template-columns: minmax(0, 420px); gap: 24px; }
.off-branch-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(24, 21, 15, .06); border: 1px solid var(--border);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.office {
  background: var(--white); padding: 48px;
  border-top: 3px solid var(--gold);
  position: relative; overflow: hidden;
}
.office-link {
  display: block;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  color: inherit;
}
.office-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(24, 21, 15, .11);
}
.off-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(168, 114, 42, .12);
  border: 1px solid rgba(168, 114, 42, .28);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.off-soon-hero {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  margin-bottom: 22px;
}
.off-soon-inline { margin-top: 8px; margin-bottom: 0; }
.off-link-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color .2s;
}
.off-link-hint:hover { color: var(--ink); }
.office-hero-lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .78);
}
.office-hero { min-height: 400px; }
.office-hero-bg { background-position: center 42%; }
.office-contact { background: var(--cream-3); }
.office-contact-inner { max-width: 1200px; margin: 0 auto; padding: 96px 56px; }
.office-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}
.office-map-wrap {
  min-height: 360px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  overflow: hidden;
}
.office-map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.london-hero-bg { background-position: center 42%; }
.istanbul-hero-bg { background-position: center 35%; }
.tashkent-hero-bg { background-position: center 40%; }
.office::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  background: var(--cream);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.off-country {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.off-country::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.off-city { font-family: var(--f-display); font-size: 2rem; font-weight: 600; color: var(--ink); margin-bottom: 32px; }
.off-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; font-size: .85rem; color: var(--ink-2); line-height: 1.55; }
.off-detail svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.off-detail a { color: var(--gold); transition: color .2s; }
.off-detail a:hover { color: var(--ink); }

/* ─── FOOTER ─────────────────────────────────────── */
footer { background: var(--ink); }
.ft-top { max-width: 1200px; margin: 0 auto; padding: 72px 56px 52px; display: grid; grid-template-columns: 1.45fr 1.35fr 1fr 1fr; gap: 52px; border-bottom: 1px solid rgba(255,255,255,.07); }
.ft-brand-logo { height: 38px; margin-bottom: 18px; opacity: .9; }
.ft-brand-name { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.ft-brand-sub { font-size: .8rem; color: rgba(255,255,255,.32); line-height: 1.8; max-width: 220px; }
.ft-col-head { font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 22px; }
.ft-col-head--sub { margin-top: 28px; margin-bottom: 16px; }
.ft-col-services .ft-links--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 4px; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ft-links a { font-size: .83rem; color: rgba(255,255,255,.48); transition: color .22s; }
.ft-links a:hover { color: var(--gold-2); }
.ft-social { display: flex; gap: 12px; margin-top: 18px; }
.ft-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transition: color .22s, border-color .22s, background .22s;
}
.ft-social-link:hover { color: var(--gold-2); border-color: rgba(196,153,98,.45); background: rgba(255,255,255,.04); }
.ft-social-link svg { width: 18px; height: 18px; }
.ft-qr { margin-top: 22px; }
.ft-qr-img { display: block; width: 108px; height: 108px; }
.ft-qr-label { margin-top: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ft-qr-hint { margin-top: 5px; font-size: .72rem; color: rgba(255,255,255,.28); line-height: 1.45; max-width: 140px; }
.ft-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 56px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .75rem; color: rgba(255,255,255,.22); }
.ft-legal-link { color: rgba(255,255,255,.38); text-decoration: none; transition: color .22s; }
.ft-legal-link:hover { color: var(--gold-2); }

/* Legal / privacy policy page */
.legal-page { background: var(--cream); padding: 64px 0 100px; }
.legal-page-inner { max-width: 820px; margin: 0 auto; padding: 0 56px; }
.legal-updated { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 36px; }
.legal-block { margin-bottom: 40px; }
.legal-block:last-of-type { margin-bottom: 0; }
.legal-h2 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; line-height: 1.3; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.legal-body { font-size: .92rem; line-height: 1.85; color: var(--ink-3); }
.legal-body p { margin: 0 0 16px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-list { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.legal-list li { padding-left: 16px; position: relative; }
.legal-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.legal-contact { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); font-size: .88rem; color: var(--ink-3); }
.legal-contact a { color: var(--gold); }
.legal-h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: 24px 0 10px; }
.legal-links a { color: var(--gold); text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }
.ft-legal-links { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ft-legal-sep { color: rgba(255,255,255,.18); user-select: none; }

/* ─── MOBILE CONTACT SHEET ───────────────────────── */
.contact-sheet {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.contact-sheet.open { pointer-events: auto; opacity: 1; visibility: visible; }
.contact-sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.contact-sheet-panel {
  position: relative; width: 100%; max-width: 480px;
  background: var(--white); padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0; box-shadow: 0 -8px 40px rgba(0,0,0,.15);
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.contact-sheet.open .contact-sheet-panel { transform: translateY(0); }
.contact-sheet-title {
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--ink);
  text-align: center; margin-bottom: 20px; line-height: 1.3;
}
.contact-sheet-actions { display: flex; flex-direction: column; gap: 10px; }
.contact-sheet-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--cream); border: 1px solid var(--border);
  border-radius: 4px; transition: background .2s, border-color .2s;
}
.contact-sheet-btn:hover, .contact-sheet-btn:active { background: var(--gold-pale); border-color: var(--gold); }
.contact-sheet-btn svg { flex-shrink: 0; color: var(--gold); }
.contact-sheet-btn-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-sheet-btn-value { font-size: .95rem; font-weight: 500; color: var(--ink); margin-top: 2px; }
.contact-sheet-cancel {
  width: 100%; margin-top: 14px; padding: 14px;
  background: none; border: none; font-family: var(--f-body);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); cursor: pointer;
}

/* ─── QUOTE MODAL ────────────────────────────────── */
.quote-modal {
  position: fixed; inset: 0; z-index: 600;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.quote-modal.open { pointer-events: auto; opacity: 1; visibility: visible; }
.quote-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.quote-modal-panel {
  position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--white); box-shadow: 0 24px 64px rgba(0,0,0,.2);
  border-top: 3px solid var(--gold);
  transform: translateY(16px) scale(.98); transition: transform .3s var(--ease);
}
.quote-modal.open .quote-modal-panel { transform: none; }
.quote-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 28px 28px 0;
}
.quote-modal-title {
  font-family: var(--f-display); font-size: 1.65rem; font-weight: 600; color: var(--ink); line-height: 1.2;
}
.quote-modal-sub { font-size: .85rem; color: var(--ink-3); margin-top: 8px; line-height: 1.6; }
.quote-modal-close {
  background: none; border: none; cursor: pointer; padding: 4px; color: var(--ink-3); flex-shrink: 0;
  transition: color .2s;
}
.quote-modal-close:hover { color: var(--ink); }
.quote-form { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.quote-field { display: flex; flex-direction: column; gap: 6px; }
.quote-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-label {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.quote-input, .quote-select, .quote-textarea {
  width: 100%; border: 1px solid var(--border); background: var(--cream);
  font-family: var(--f-body); font-size: .9rem; color: var(--ink); padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.quote-input:focus, .quote-select:focus, .quote-textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.quote-textarea { min-height: 100px; resize: vertical; }
.quote-service-hint { font-size: .75rem; color: var(--ink-3); margin-top: -2px; }
.quote-service-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px;
  max-height: 220px; overflow-y: auto; padding: 12px 14px;
  border: 1px solid var(--border); background: var(--cream);
}
.quote-service-grid.is-error { border-color: #c0392b; box-shadow: 0 0 0 1px rgba(192,57,43,.15); }
.quote-service-check {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .82rem; color: var(--ink-2); line-height: 1.35; cursor: pointer;
}
.quote-service-check input { margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); }
.quote-service-check:has(input:checked) { color: var(--ink); font-weight: 500; }
.quote-service-error { font-size: .78rem; color: #c0392b; margin-top: 6px; }
.quote-submit {
  margin-top: 6px; width: 100%; border: none; cursor: pointer;
  background: var(--gold); color: #fff; font-family: var(--f-body);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 24px; transition: background .25s, transform .25s var(--ease);
}
.quote-submit:hover:not(:disabled) { background: var(--gold-2); transform: translateY(-1px); }
.quote-submit:disabled { opacity: .6; cursor: wait; }
.quote-success { display: none; text-align: center; padding: 48px 28px; }
.quote-success.on { display: block; }
.quote-success-icon {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.quote-success h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.quote-success p { font-size: .88rem; color: var(--ink-3); line-height: 1.7; }

/* ─── LANGUAGE SYSTEM ────────────────────────────── */
[data-lang] { display: none; }
[data-lang="tr"] { display: revert; }
:is(html, body).lang-en [data-lang="tr"] { display: none; }
:is(html, body).lang-en [data-lang="en"] { display: revert; }
:is(html, body).lang-ru [data-lang="tr"] { display: none; }
:is(html, body).lang-ru [data-lang="ru"] { display: revert; }

/* ─── SERVICE DETAIL PAGE ────────────────────────── */
.svc-hero {
  position: relative; min-height: 460px; display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: 56px;
}
.svc-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.svc-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,11,6,.88) 0%, rgba(15,11,6,.62) 55%, rgba(168,114,42,.2) 100%);
}
.svc-hero::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 5px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.svc-hero-content { position: relative; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 56px; }
.crumb { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.crumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.crumb a:hover { color: var(--gold-2); }
.crumb span.sep { opacity: .5; }
.crumb .cur { color: var(--gold-2); }
.svc-hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.svc-hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.svc-hero-title { font-family: var(--f-display); font-size: clamp(2.4rem,5vw,4rem); font-weight: 600; line-height: 1.1; color: #fff; max-width: 760px; }

/* Overview */
.svc-overview { background: var(--cream); }
.svc-overview-inner { max-width: 1200px; margin: 0 auto; padding: 96px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.svc-overview-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc-feat-list { list-style: none; margin-top: 30px; border-top: 1px solid var(--border); }
.svc-feat-list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: .9rem; line-height: 1.6; color: var(--ink-2); }
.svc-feat-list li::before { content: ''; min-width: 8px; height: 8px; border: 2px solid var(--gold); margin-top: 5px; transform: rotate(45deg); }

/* Equipment */
.svc-equip { background: var(--dark-sec); }
.svc-equip-inner { max-width: 1200px; margin: 0 auto; padding: 96px 56px; }
.svc-equip .sec-h2 { color: #fff; }
.svc-equip .sec-h2 em { color: rgba(255,255,255,.5); }
.svc-equip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; background: rgba(255,255,255,.05); margin-top: 48px; }
.eq-card { background: var(--dark-alt); padding: 32px 28px; border-top: 2px solid transparent; transition: border-color .3s, background .3s; }
.eq-card:hover { border-color: var(--gold); background: rgba(255,255,255,.03); }
.eq-card .eq-icon { color: var(--gold); margin-bottom: 16px; }
.eq-card h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; color: #fff; line-height: 1.3; }
.eq-card p { font-size: .8rem; line-height: 1.7; color: rgba(255,255,255,.45); margin-top: 8px; }

/* System detail blocks */
.svc-systems { background: var(--white); }
.svc-systems-inner { max-width: 1200px; margin: 0 auto; padding: 96px 56px; }
.svc-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  padding: 64px 0; border-bottom: 1px solid var(--border);
}
.svc-detail:first-child { padding-top: 0; }
.svc-detail:last-child { border-bottom: none; padding-bottom: 0; }
.svc-detail.reverse .svc-detail-img,
.svc-detail.reverse .svc-detail-imgs { order: 2; }
.svc-detail.text-only { grid-template-columns: 1fr; max-width: 900px; margin-left: auto; margin-right: auto; width: 100%; }
.svc-systems-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.svc-systems-head .sec-h2 { margin-top: 12px; }
.svc-systems-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.svc-systems-nav a {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--border); color: var(--ink-2); transition: all .2s;
}
.svc-systems-nav a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.svc-hero .svc-systems-nav a { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); }
.svc-hero .svc-systems-nav a:hover { border-color: var(--gold-2); color: #fff; background: rgba(168,114,42,.25); }
.svc-detail-imgs { display: flex; flex-direction: column; gap: 16px; }
.svc-detail-img { width: 100%; border: 1px solid var(--border); background: var(--cream); }
.svc-detail-imgs .svc-detail-img { width: 100%; }
.svc-detail-title { font-family: var(--f-display); font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: 16px; }
.svc-detail-intro { font-size: .95rem; line-height: 1.85; color: var(--ink-3); margin-bottom: 20px; }
.svc-detail-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.svc-detail-list li {
  position: relative; padding-left: 18px; font-size: .9rem; line-height: 1.75; color: var(--ink-2);
}
.svc-detail-list li::before {
  content: '•'; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}

/* Other services */
.svc-other { background: var(--white); }
.svc-other-inner { max-width: 1200px; margin: 0 auto; padding: 90px 56px; }
.svc-other-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; background: var(--cream-3); margin-top: 44px; }
.so-card { background: var(--white); padding: 30px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background .3s; color: inherit; }
.so-card:hover { background: var(--cream); }
.so-card span { font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.so-card svg { color: var(--gold); flex-shrink: 0; }

.page-top-pad { height: 76px; }

/* ─── RESPONSIVE ─────────────────────────────────── */
/* ─── DOCUMENT LIBRARY ──────────────────────────── */
.lib-main { background: var(--cream); padding-bottom: 80px; }
.lib-main-inner { max-width: 1200px; margin: 0 auto; padding: 48px 56px 0; }

.lib-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.lib-filter {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--border); background: var(--white);
  color: var(--ink-2); cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.lib-filter:hover { border-color: var(--gold); color: var(--ink); }
.lib-filter.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.lib-viewer {
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(24,21,15,.06); margin-bottom: 36px;
}
.lib-viewer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--cream);
}
.lib-viewer-title { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); flex: 1; min-width: 0; }
.lib-viewer-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lib-viewer-counter { font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--ink-3); min-width: 48px; text-align: center; }

.lib-viewer-stage {
  position: relative; min-height: min(78vh, 760px); background: #f5f2ec;
  display: flex; align-items: center; justify-content: center; overflow: auto; padding: 24px 64px;
}
.lib-viewer-img {
  max-width: none; max-height: none; width: auto; height: auto;
  max-width: min(100%, 1200px); max-height: min(72vh, 700px);
  object-fit: contain; transition: transform .25s var(--ease); cursor: zoom-in;
  filter: contrast(1.06) brightness(1.02);
  image-rendering: auto;
  box-shadow: 0 4px 24px rgba(24,21,15,.12);
}

.lib-nav-btn, .lib-tool-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--border); background: var(--white);
  color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.lib-nav-btn:hover, .lib-tool-btn:hover { border-color: var(--gold); background: var(--gold); color: #fff; }
.lib-nav-btn:disabled, .lib-tool-btn:disabled { opacity: .35; pointer-events: none; }

.lib-viewer-stage .lib-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.3);
}
.lib-viewer-stage .lib-nav-prev { left: 16px; }
.lib-viewer-stage .lib-nav-next { right: 16px; }

.lib-viewer-tools {
  display: flex; align-items: center; gap: 6px; padding: 12px 20px;
  border-top: 1px solid var(--border); background: var(--cream);
}
.lib-viewer-tools span.lib-tools-label {
  font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-right: 8px;
}

.lib-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
}
.lib-card {
  border: 2px solid transparent; background: var(--white); cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  overflow: hidden;
}
.lib-card:hover { border-color: var(--gold-pale); box-shadow: 0 6px 24px rgba(24,21,15,.08); transform: translateY(-2px); }
.lib-card.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.lib-card[hidden] { display: none; }
.lib-card-thumb {
  background: #f0ece4; overflow: hidden;
  padding: 6px; line-height: 0;
}
.lib-card-thumb img {
  width: 100%; height: auto; display: block;
  object-fit: contain; object-position: top center;
  filter: contrast(1.08) brightness(1.02);
  image-rendering: auto;
}
.lib-card-body { padding: 12px 14px 14px; }
.lib-card-title { font-size: .78rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.lib-card-cat {
  font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-top: 6px;
}

@media (max-width: 1024px) {
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 28px;
  }
  .nav-links { display: none; justify-self: auto; overflow-x: visible; }
  .hbg { display: flex; }

  /* Mobile menu open state */
  .nav.menu-open { background: rgba(245,241,234,.98); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); }
  .nav.menu-open .nav-logo .logo-light { display: none; }
  .nav.menu-open .nav-logo .logo-dark { display: block; }
  .nav.menu-open .nav-logo-text { color: var(--ink); }
  .nav.menu-open .lbtn { border-color: var(--border); color: var(--ink-3); }
  .nav.menu-open .hbg span { background: var(--ink); }
  .nav.menu-open .hbg span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.menu-open .hbg span:nth-child(2) { opacity: 0; }
  .nav.menu-open .hbg span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-top: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    padding: 6px 0; max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.menu-open .nav-links > li { position: static; border-bottom: 1px solid var(--cream-2); }
  .nav.menu-open .nav-links > li:last-child { border-bottom: none; }
  .nav.menu-open .nav-links > li > a {
    color: var(--ink-2); padding: 15px 28px; font-size: .82rem; justify-content: space-between;
  }
  .nav.menu-open .nav-links > li > a:hover { color: var(--gold); }
  .nav.menu-open .dd {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    background: var(--cream-2); border-top: none; box-shadow: none; min-width: 0;
    transition: none;
  }
  .nav.menu-open .dd::before { display: none; }
  .nav.menu-open .dd li a { padding: 13px 28px 13px 44px; border-bottom: 1px solid rgba(0,0,0,.05); }
  .nav.menu-open .nav-links > li:has(.dd) .dd-arrow { display: inline; opacity: .45; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-band { position: static; }
  .techlib-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .office-contact-grid { grid-template-columns: 1fr; }
  .sg, .sg-12, .prod-grid, .prod-cat-grid, .refs-grid { grid-template-columns: 1fr 1fr; }
  .prod-cat-card--featured { grid-column: auto; }
  .prod-pillars { grid-template-columns: 1fr; }
  .svc-preview-grid { grid-template-columns: 1fr; gap: 28px; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .products-header, .refs-top, .services-top { flex-direction: column; align-items: flex-start; }
  .products-header-p, .services-top-right { text-align: left; }
  .svc-overview-inner { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail.reverse { direction: ltr; }
  .svc-equip-grid, .svc-other-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 0 18px; }
  .hero-content { padding: 0 20px; }
  .hero-scroll-ind { left: 20px; }
  .about-inner, .services-inner, .products-inner, .refs-inner, .contact-inner, .techlib-inner, .catalog, .office-contact-inner { padding-left: 20px; padding-right: 20px; }
  .ft-top { padding: 52px 20px 40px; grid-template-columns: 1fr; }
  .ft-col-services .ft-links--2col { grid-template-columns: 1fr; }
  .ft-bottom { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
  .sg, .sg-12, .prod-grid, .prod-cat-grid, .refs-grid, .tl-cards { grid-template-columns: 1fr; }
  .svc-preview-panel { padding: 28px 20px; }
  .prod-partner-bar { flex-direction: column; align-items: flex-start; }
  .catalog-inner { flex-direction: column; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .svc-hero-content, .svc-overview-inner, .svc-equip-inner, .svc-other-inner, .svc-systems-inner { padding-left: 20px; padding-right: 20px; }
  .svc-equip-grid, .svc-other-grid { grid-template-columns: 1fr; }
  .legal-page-inner { padding-left: 20px; padding-right: 20px; }
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .lib-viewer-head { flex-direction: column; align-items: flex-start; }
  .lib-viewer-stage { min-height: 52vh; padding: 16px 52px; }
  .lib-viewer-stage .lib-nav-btn { width: 36px; height: 36px; }
  .quote-field-row { grid-template-columns: 1fr; }
  .quote-service-grid { grid-template-columns: 1fr; max-height: 260px; }
  .btn-nav-quote { display: none; }
}
