/* =========================================================
   Bodurov Group – стилове
   Палитра: черно / златно / оранжево
   ========================================================= */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #17171a;
  --line: rgba(201, 160, 99, .18);
  --gold: #c9a063;
  --gold-light: #ecd3a0;
  --gold-dark: #8f6a3c;
  --gold-grad: linear-gradient(120deg, #8f6a3c 0%, #c9a063 30%, #f1dcae 50%, #c9a063 70%, #8f6a3c 100%);
  --orange: #e8762b;
  --orange-2: #ff8f3f;
  --text: #f2eee7;
  --muted: #a19b91;
  --radius: 4px;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Montserrat", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: #000; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.gold {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Блясък по текст ---------- */
.shine {
  background: linear-gradient(110deg, var(--gold-dark) 0%, var(--gold) 35%, #fff3d6 50%, var(--gold) 65%, var(--gold-dark) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { from { background-position: 150% center; } to { background-position: -100% center; } }

/* ---------- Бутони ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px;
  font-family: var(--head);
  font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s, border-color .3s;
  isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn--orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: #140a02; font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(232, 118, 43, .6);
}
.btn--orange:hover { box-shadow: 0 18px 40px -10px rgba(232, 118, 43, .8); }
.btn--gold {
  background: var(--gold-grad); background-size: 200% auto;
  color: #140d04; font-weight: 500;
  box-shadow: 0 10px 30px -12px rgba(201, 160, 99, .6);
  transition: background-position .6s, transform .4s var(--ease);
}
.btn--gold:hover { background-position: right center; }
.btn--ghost { border: 1px solid rgba(201,160,99,.55); color: var(--gold-light); }
.btn--ghost:hover { border-color: var(--gold-light); color: #fff; background: rgba(201,160,99,.08); }
.btn--full { width: 100%; }

/* ---------- Прелоудър ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader__logo { width: 70px; animation: pulse 1.6s ease-in-out infinite; }
.preloader__bar { width: 160px; height: 1px; background: rgba(201,160,99,.2); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); animation: load 1.4s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }
@keyframes pulse { 50% { opacity: .55; transform: scale(.94); } }

/* ---------- Горна лента ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px 0;
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 11, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 52px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .header__logo img { height: 42px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-family: var(--head); font-size: 15px; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(242,238,231,.8);
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--gold-light); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 24px; font-size: 14px; }

.burger { display: none; width: 34px; height: 24px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--gold-light); transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 2px; }
.burger span:nth-child(2) { top: 11px; width: 70%; left: 30%; }
.burger span:nth-child(3) { top: 20px; }
.burger.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ---------- Начален екран ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(201,160,99,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,160,99,.07) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at 60% 45%, #000 15%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 15%, transparent 65%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__glow--gold { width: 620px; height: 620px; right: 4%; top: 12%; background: rgba(201,160,99,.20); animation: float 12s ease-in-out infinite; }
.hero__glow--orange { width: 420px; height: 420px; left: -6%; bottom: -10%; background: rgba(232,118,43,.14); animation: float 15s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(30px, -40px) scale(1.08); } }

.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__lines path {
  fill: none; stroke: url(#lg); stroke-width: 1.2;
  stroke-dasharray: 2200; stroke-dashoffset: 2200;
}
.loaded .hero__lines .draw { animation: draw 3.2s var(--ease) forwards .4s; }
.loaded .hero__lines .d2 { animation-delay: .9s; }
.loaded .hero__lines .d3 { animation-delay: 1.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.particles { position: absolute; inset: 0; }
.particle {
  position: absolute; bottom: -10px;
  width: 2px; height: 2px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px 1px rgba(236,211,160,.7);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: .8; }
  85% { opacity: .5; }
  100% { transform: translateY(-105vh) translateX(40px); opacity: 0; }
}

.hero__content { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--head); font-size: 14px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.hero__title {
  font-family: var(--head); font-weight: 500;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.04; letter-spacing: .01em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__lead { max-width: 560px; color: var(--muted); font-size: 17px; margin-bottom: 42px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }

.hero__emblem {
  position: relative; justify-self: center;
  width: min(360px, 80%); aspect-ratio: 1;
  display: grid; place-items: center;
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
}
.hero__emblem img { width: 52%; position: relative; z-index: 2; filter: drop-shadow(0 20px 40px rgba(201,160,99,.25)); }
.hero__emblem-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(201,160,99,.35);
  animation: spin 30s linear infinite;
}
.hero__emblem-ring::before {
  content: ""; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 14px 2px var(--orange);
}
.hero__emblem-ring--2 { inset: 12%; border-style: dashed; border-color: rgba(201,160,99,.2); animation-duration: 45s; animation-direction: reverse; }
.hero__emblem-ring--2::before { background: var(--gold-light); box-shadow: 0 0 12px 2px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__emblem img { animation: glint 5s ease-in-out infinite 2s; }
@keyframes glint {
  0%, 70%, 100% { filter: drop-shadow(0 20px 40px rgba(201,160,99,.25)) brightness(1); }
  80% { filter: drop-shadow(0 0 30px rgba(241,220,174,.6)) brightness(1.35); }
}
.hero__emblem-shine {
  position: absolute; z-index: 1; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,99,.18), transparent 65%);
  animation: pulse 5s ease-in-out infinite;
}

.scroll-down {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(201,160,99,.5); border-radius: 14px;
}
.scroll-down span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--gold);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Числа ---------- */
.stats {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 50px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; height: 40%; width: 1px; background: var(--line); }
.stat__num, .stat__plus {
  font-family: var(--head); font-size: clamp(42px, 5vw, 60px); font-weight: 500; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__plus { color: var(--orange); background: none; -webkit-text-fill-color: var(--orange); font-size: clamp(28px, 3vw, 38px); margin-left: 4px; vertical-align: top; }
.stat p { margin-top: 10px; color: var(--muted); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Общи секции ---------- */
.section { padding: 130px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 70px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 42px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--head); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.12; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-sub { color: var(--muted); }

/* ---------- Място за снимка (временно) ---------- */
.photo-ph {
  position: relative; width: 100%; height: 100%; min-height: 260px;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,160,99,.18), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(232,118,43,.12), transparent 50%),
    repeating-linear-gradient(135deg, rgba(201,160,99,.05) 0 1px, transparent 1px 22px),
    var(--bg-3);
  overflow: hidden;
}
.photo-ph::after {
  content: attr(data-label);
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(201,160,99,.55);
  white-space: nowrap;
}
.photo-ph__mark { width: 70px; opacity: .25; }
.photo-ph--tall { min-height: 560px; }
.photo-ph > img:not(.photo-ph__mark) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- За нас ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about__visual { position: relative; }
.about__visual::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px;
  border: 1px solid var(--gold); opacity: .45; z-index: -1;
}
.about__badge {
  position: absolute; right: -30px; bottom: 50px;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--orange), #c85b17);
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 25px 50px -15px rgba(232,118,43,.5);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px); } }
.about__badge-num { font-family: var(--head); font-size: 50px; line-height: 1; color: #140a02; }
.about__badge-txt { font-size: 12px; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: #140a02; font-weight: 600; }
.about__text p { color: var(--muted); margin-bottom: 18px; }
.checklist { list-style: none; margin: 30px 0 40px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 6px;
  background: var(--orange); transform: rotate(45deg);
}

/* ---------- Услуги ---------- */
.services { background: var(--bg-2); }
.services::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,160,99,.09), transparent 60%);
  pointer-events: none;
}
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; padding: 46px 38px 42px;
  background: linear-gradient(160deg, #18181b, #0f0f11);
  border: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(201,160,99,.16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.card:hover { border-color: rgba(201,160,99,.35); box-shadow: 0 30px 60px -25px rgba(0,0,0,.8), 0 0 40px -15px rgba(201,160,99,.35); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 64px; height: 64px; margin-bottom: 28px;
  display: grid; place-items: center;
  border: 1px solid rgba(201,160,99,.35);
  position: relative;
  transition: background .5s, border-color .5s;
}
.card__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.card:hover .card__icon { background: var(--gold-grad); border-color: transparent; }
.card:hover .card__icon svg { stroke: #140d04; }
.card h3 { position: relative; font-family: var(--head); font-weight: 500; font-size: 23px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.card p { position: relative; color: var(--muted); font-size: 15px; }
.card__num {
  position: absolute; right: 26px; top: 18px;
  font-family: var(--head); font-size: 64px; line-height: 1; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px rgba(201,160,99,.18);
  transition: -webkit-text-stroke-color .4s, transform .6s var(--ease);
}
.card:hover .card__num { -webkit-text-stroke-color: rgba(232,118,43,.55); transform: translateY(-4px); }

.card--wide { grid-column: span 2; }
.card--featured { background: linear-gradient(160deg, #1f1a12, #0f0f11 70%); border-color: rgba(201,160,99,.3); }
.card--featured h3 { font-size: 30px; }
.card__tag {
  position: relative; display: inline-block; margin-bottom: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}

/* ---------- Обекти ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.filter {
  padding: 10px 22px; font-family: var(--head); font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(201,160,99,.25); color: var(--muted);
  transition: all .35s var(--ease);
}
.filter:hover { color: var(--gold-light); border-color: var(--gold); }
.filter.active { background: var(--gold-grad); color: #140d04; border-color: transparent; }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 22px; }
.project { position: relative; overflow: hidden; cursor: pointer; transition: opacity .5s, transform .5s var(--ease); }
.project--wide { grid-column: span 2; }
.projects__grid { grid-auto-flow: dense; }
.project .photo-ph::after { top: 18px; bottom: auto; }
.project.hidden { display: none; }
.project .photo-ph { transition: transform 1s var(--ease); }
.project:hover .photo-ph { transform: scale(1.07); }
.project figcaption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(0deg, rgba(5,5,6,.95) 0%, rgba(5,5,6,.35) 45%, transparent 70%);
}
.project figcaption span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.project figcaption h3 { font-family: var(--head); font-weight: 500; font-size: 26px; text-transform: uppercase; margin: 4px 0; }
.project figcaption p { color: var(--muted); font-size: 14px; max-height: 0; opacity: 0; transition: all .5s var(--ease); }
.project:hover figcaption p { max-height: 30px; opacity: 1; }
.project::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--gold);
  opacity: 0; transform: scale(1.04);
  transition: all .6s var(--ease);
  pointer-events: none;
}
.project:hover::after { opacity: .7; transform: scale(1); }

/* ---------- Процес ---------- */
.process { background: var(--bg-2); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.timeline__line { position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 1px; background: rgba(201,160,99,.2); }
.timeline__line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--orange)); transition: width .15s linear; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step__dot {
  width: 64px; height: 64px; margin: 0 auto 28px;
  display: grid; place-items: center;
  font-family: var(--head); font-size: 24px; color: var(--gold-light);
  background: var(--bg);
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  transition: background .5s, color .5s, box-shadow .5s;
  position: relative; z-index: 1;
}
.step__dot b { display: block; font-weight: 400; line-height: 1; transform: rotate(-45deg); }
.step:hover .step__dot { background: var(--orange); color: #140a02; box-shadow: 0 0 30px -5px var(--orange); border-color: var(--orange); }
.step h3 { font-family: var(--head); font-weight: 500; font-size: 22px; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Призив ---------- */
.cta { position: relative; padding: 130px 0; overflow: hidden; text-align: center; border-block: 1px solid var(--line); }
.cta__bg {
  position: absolute; inset: -30% 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,118,43,.22), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201,160,99,.22), transparent 50%),
    repeating-linear-gradient(60deg, rgba(201,160,99,.05) 0 1px, transparent 1px 40px),
    var(--bg);
}
.cta__inner { position: relative; }
.cta h2 { font-family: var(--head); font-weight: 500; font-size: clamp(32px, 4.5vw, 58px); line-height: 1.15; text-transform: uppercase; margin-bottom: 18px; }
.cta p { color: var(--muted); margin-bottom: 38px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }

/* ---------- Контакти ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact__info > p { color: var(--muted); margin-bottom: 36px; }
.contact__list { list-style: none; display: grid; gap: 24px; }
.contact__list li { display: flex; align-items: center; gap: 20px; }
.contact__icon {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid rgba(201,160,99,.35);
  transition: background .4s, border-color .4s;
}
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact__list li:hover .contact__icon { background: rgba(201,160,99,.12); border-color: var(--gold); }
.contact__list small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.contact__list a:hover { color: var(--gold-light); }

.form {
  padding: 50px 44px;
  background: linear-gradient(160deg, #17171a, #0e0e10);
  border: 1px solid var(--line);
  position: relative;
}
.form::before {
  content: ""; position: absolute; top: -1px; left: 44px; right: 44px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}
.form h3 { font-family: var(--head); font-weight: 500; font-size: 28px; text-transform: uppercase; margin-bottom: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; display: block; margin-bottom: 22px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 0 10px;
  font: inherit; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.15);
  outline: none; resize: vertical;
  transition: border-color .3s;
  appearance: none; -webkit-appearance: none;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field--select::after {
  content: ""; position: absolute; right: 4px; top: 26px; width: 8px; height: 8px;
  border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg);
  pointer-events: none;
}
.field span {
  position: absolute; left: 0; top: 22px;
  color: var(--muted); font-size: 15px; pointer-events: none;
  transition: all .3s var(--ease);
}
.field::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.field:has(textarea)::before { bottom: 6px; }
.field:focus-within::before { transform: scaleX(1); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span {
  top: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form__note { margin-top: 16px; font-size: 14px; color: var(--gold-light); min-height: 20px; }

/* ---------- Долна част ---------- */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); background: #070708; }
.footer__inner { display: grid; justify-items: center; gap: 28px; text-align: center; }
.footer__logo { height: 56px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.footer__nav a { font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--muted); transition: color .3s; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__copy { font-size: 13px; color: #6d685f; }

/* ---------- Нагоре ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 50px; height: 50px; display: grid; place-items: center;
  background: rgba(17,17,19,.85); border: 1px solid var(--gold);
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); border-color: var(--orange); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; }
.to-top:hover svg { stroke: #140a02; }

/* ---------- Светлина след мишката ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1;
  width: 480px; height: 480px; margin: -240px 0 0 -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,99,.07), transparent 65%);
  pointer-events: none;
  transition: opacity .4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Появяване при скролиране ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in, .hero__emblem.reveal.in { transition: opacity 1s var(--ease), transform .25s ease-out; }

/* ---------- Адаптивност ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { gap: 60px; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(8,8,9,.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 22px; }
  .nav.open .nav__link, .nav.open .nav__cta { animation: navIn .6s var(--ease) both; }
  .nav.open > *:nth-child(2) { animation-delay: .05s; } .nav.open > *:nth-child(3) { animation-delay: .1s; }
  .nav.open > *:nth-child(4) { animation-delay: .15s; } .nav.open > *:nth-child(5) { animation-delay: .2s; }
  .nav.open > *:nth-child(6) { animation-delay: .25s; } .nav.open > *:nth-child(7) { animation-delay: .3s; }
  .hero__content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__emblem { order: -1; width: 220px; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero .eyebrow { justify-content: center; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; margin-inline: auto 40px; width: calc(100% - 40px); }
  .photo-ph--tall { min-height: 420px; }
  .stat { padding: 40px 8px; }
  .stat p { font-size: 11px; letter-spacing: .1em; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .timeline__line { display: none; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 90px 0; }
  .header__logo img { height: 40px; }
  .header.scrolled .header__logo img { height: 36px; }
  .services__grid, .projects__grid, .timeline { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .project--wide { grid-column: auto; }
  .form { padding: 38px 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .about__badge { right: -20px; padding: 18px 20px; }
  .about__badge-num { font-size: 38px; }
  .card { padding: 40px 28px 36px; }
}

/* Ако посетителят е избрал по-малко анимации в системата си */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__lines path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- Обекти със снимки ---------- */
.photo-ph.has-photo::after { display: none; }
.photo-ph.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project[data-gallery] { cursor: zoom-in; }
.project__zoom {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(10,10,11,.6); border: 1px solid rgba(201,160,99,.6);
  backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.8); transition: all .45s var(--ease);
}
.project__zoom svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linecap: round; }
.project:hover .project__zoom { opacity: 1; transform: none; }
@media (hover: none) { .project__zoom { opacity: 1; transform: none; } }

/* ---------- Галерия на цял екран ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: grid; grid-template-rows: auto minmax(0,1fr) auto; grid-template-columns: minmax(0,1fr);
  background: rgba(6,6,7,.96); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__top { min-width: 0; display: flex; align-items: center; gap: 20px; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.lightbox__title { font-family: var(--head); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox__count { font-size: 13px; letter-spacing: .15em; color: var(--muted); }
.lightbox__close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(201,160,99,.4); transition: all .3s; }
.lightbox__close:hover { background: var(--orange); border-color: var(--orange); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linecap: round; }
.lightbox__close:hover svg { stroke: #140a02; }
.lightbox__stage { position: relative; display: grid; place-items: center; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); padding: 24px 90px; min-height: 0; min-width: 0; overflow: hidden; touch-action: pan-y; }
.lightbox__stage img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.lightbox__stage img.fade { opacity: 0; transform: scale(.98); }
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2; margin-top: -28px;
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1px solid rgba(201,160,99,.4); background: rgba(10,10,11,.5);
  transition: all .3s;
}
.lightbox__nav:hover { border-color: var(--gold); background: rgba(201,160,99,.15); }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
.lightbox__thumbs { display: flex; gap: 8px; padding: 14px 20px 20px; overflow-x: auto; justify-content: safe center; scrollbar-width: thin; }
.lightbox__thumbs button { flex: none; width: 84px; height: 56px; opacity: .45; border: 1px solid transparent; transition: all .3s; }
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button:hover { opacity: .8; }
.lightbox__thumbs button.active { opacity: 1; border-color: var(--gold); }
@media (max-width: 700px) {
  .lightbox__stage { padding: 12px; }
  .lightbox__nav { top: auto; bottom: 96px; width: 46px; height: 46px; }
  .lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
  .lightbox__thumbs button { width: 64px; height: 44px; }
  .lightbox__top { padding: 14px 16px; }
  .lightbox__title { font-size: 15px; }
}
.lightbox__stage { grid-template-rows: minmax(0,1fr) auto; row-gap: 14px; }
.lightbox__caption {
  justify-self: center; padding: 8px 18px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light);
  border: 1px solid rgba(201,160,99,.3); background: rgba(10,10,11,.6);
  text-align: center;
}
@media (max-width: 700px) { .lightbox__caption { font-size: 11px; padding: 6px 12px; } }

/* ---------- Карта „Следващият обект“ ---------- */
.project--cta {
  display: grid; place-items: center; text-align: center; cursor: pointer;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(232,118,43,.18), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(201,160,99,.18), transparent 55%),
    repeating-linear-gradient(135deg, rgba(201,160,99,.05) 0 1px, transparent 1px 22px),
    var(--bg-3);
  border: 1px solid var(--line);
}
.project-cta__inner { position: relative; padding: 30px; display: grid; justify-items: center; gap: 6px; }
.project-cta__inner .eyebrow { margin-bottom: 4px; }
.project-cta__inner h3 { font-family: var(--head); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; line-height: 1.15; }
.project-cta__inner p { color: var(--muted); max-width: 440px; margin: 6px 0 16px; font-size: 15px; }
.project-cta__mark { position: absolute; right: -10px; top: 50%; width: 150px; transform: translateY(-50%); opacity: .06; pointer-events: none; }
.project--cta:hover .btn { transform: translateY(-3px); }
@media (max-width: 920px) { .projects__grid { grid-auto-rows: minmax(260px, auto); } }

/* ---------- Падащо меню „Услуги“ ---------- */
.nav__item--drop { position: relative; }
.nav__link--drop { display: inline-flex; align-items: center; gap: 6px; }
.nav__chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.dropdown {
  position: absolute; top: calc(100% + 22px); left: 50%; min-width: 280px;
  padding: 12px 0;
  background: rgba(14,14,16,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-top: 2px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* мост за мишката */
.nav__item--drop:hover .dropdown, .nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--drop:hover .nav__chev, .nav__item--drop:focus-within .nav__chev { transform: rotate(180deg); }
.dropdown__link {
  position: relative; display: block; padding: 11px 26px 11px 30px;
  font-family: var(--head); font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(242,238,231,.8); white-space: nowrap;
  transition: color .3s, padding-left .35s var(--ease), background .3s;
}
.dropdown__link::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border: 1px solid var(--gold); transform: rotate(45deg); transition: background .3s, border-color .3s;
}
.dropdown__link:hover { color: var(--gold-light); padding-left: 36px; background: rgba(201,160,99,.06); }
.dropdown__link:hover::before { background: var(--orange); border-color: var(--orange); }

/* Карта, до която се стига от менюто */
.card { scroll-margin-top: 120px; }
.card.card--flash { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 50px -10px rgba(201,160,99,.6); }
.card.card--flash::after { transform: scaleX(1); }

@media (max-width: 920px) {
  .nav__item--drop { display: flex; flex-direction: column; align-items: center; }
  .dropdown {
    position: static; transform: none; min-width: 0; padding: 0; margin: 0;
    background: none; border: 0; box-shadow: none; backdrop-filter: none;
    opacity: 1; visibility: visible; max-height: 0; overflow: hidden;
    transition: max-height .45s var(--ease), margin .45s var(--ease);
  }
  .dropdown::before { display: none; }
  .nav__item--drop:hover .dropdown, .nav__item--drop:focus-within .dropdown { transform: none; }
  .nav__item--drop:hover .nav__chev, .nav__item--drop:focus-within .nav__chev { transform: none; }
  .nav__item--drop.open .dropdown { max-height: 420px; margin-top: 14px; }
  .nav__item--drop.open .nav__chev { transform: rotate(180deg); }
  .dropdown__link { font-size: 15px; text-align: center; padding: 9px 20px; color: var(--muted); white-space: normal; }
  .dropdown { width: 100%; }
  .dropdown__link::before { display: none; }
  .dropdown__link:hover { padding-left: 20px; }
  .nav { overflow-y: auto; padding: 90px 0 40px; justify-content: flex-start; }
  .nav > * { flex: none; }
  .nav > :first-child { margin-top: auto; }
  .nav > :last-child { margin-bottom: auto; }
}
html { overflow-x: hidden; }
@media (max-width: 920px) { .reveal--left, .reveal--right { transform: translateY(40px); } }

/* =========================================================
   Страници на услугите
   ========================================================= */
.dropdown__link.is-current { color: var(--gold-light); }
.dropdown__link.is-current::before { background: var(--gold); }
body.subpage .preloader { display: none; }

.card__more {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--head); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  transition: color .3s, gap .35s var(--ease);
}
.card__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__more:hover { color: var(--orange-2); gap: 16px; }
.card__more::after { content: ""; position: absolute; inset: -400px -400px -40px -400px; }
.card { cursor: pointer; }

.svc-hero {
  position: relative; min-height: 72vh; display: flex; align-items: flex-end;
  padding: 170px 0 80px; overflow: hidden; border-bottom: 1px solid var(--line);
}
.svc-hero__bg { position: absolute; inset: -12% 0; }
.svc-hero__img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.75) 0%, rgba(10,10,11,.35) 40%, rgba(10,10,11,.92) 100%),
    linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.2) 70%);
}
.svc-hero__bg--ph {
  background:
    radial-gradient(ellipse at 75% 40%, rgba(201,160,99,.22), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(232,118,43,.15), transparent 50%),
    repeating-linear-gradient(135deg, rgba(201,160,99,.05) 0 1px, transparent 1px 26px),
    var(--bg-2);
}
.svc-hero__content { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--gold-light); }
.crumbs b { font-weight: 500; color: var(--gold); }
.svc-hero__title { font-family: var(--head); font-weight: 500; font-size: clamp(40px, 6vw, 84px); line-height: 1.05; text-transform: uppercase; margin-bottom: 18px; max-width: 900px; }
.svc-hero__lead { max-width: 620px; font-size: 18px; color: rgba(242,238,231,.82); }

.svc-body__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.svc-photo { position: relative; margin: 0; }
.svc-photo::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid var(--gold); opacity: .45; z-index: -1; }
.svc-photo img { width: 100%; height: 560px; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.svc-photo--ph .photo-ph { min-height: 560px; }
.svc-text > p { color: var(--muted); margin-bottom: 18px; }
.svc-sub { font-family: var(--head); font-weight: 500; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; margin-top: 34px; color: var(--gold-light); }
.svc-text .checklist { margin: 22px 0 40px; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.svc-others { background: var(--bg-2); }
.svc-others__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-link {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  background: linear-gradient(160deg, #18181b, #0f0f11);
  border: 1px solid rgba(255,255,255,.05);
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.svc-link:hover { border-color: rgba(201,160,99,.45); transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.svc-link__icon { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(201,160,99,.35); transition: background .4s; }
.svc-link__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-link:hover .svc-link__icon { background: var(--gold-grad); border-color: transparent; }
.svc-link:hover .svc-link__icon svg { stroke: #140d04; }
.svc-link__name { flex: 1; font-family: var(--head); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.svc-link__arrow { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.svc-link:hover .svc-link__arrow { transform: translateX(5px); stroke: var(--orange); }

@media (max-width: 920px) {
  .svc-body__grid { grid-template-columns: 1fr; gap: 60px; }
  .svc-photo { margin-left: 22px; }
  .svc-photo img, .svc-photo--ph .photo-ph { height: 380px; min-height: 380px; }
  .svc-others__grid { grid-template-columns: 1fr 1fr; }
  .svc-hero { min-height: 60vh; padding: 140px 0 60px; }
}
@media (max-width: 600px) {
  .svc-others__grid { grid-template-columns: 1fr; }
  .svc-hero__lead { font-size: 16px; }
}
