/* ==========================================================================
   SK Stroy — Покривни конструкции
   Design tokens
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Alex+Brush&display=swap');

:root{
  --bg:            #0b0a08;
  --bg-soft:       #131110;
  --surface:       #1a1714;
  --surface-2:     #221e18;
  --line:          rgba(205,164,76,0.16);
  --line-strong:   rgba(205,164,76,0.32);

  --gold-deep:     #9c7124;
  --gold:          #cda44c;
  --gold-light:    #eccf84;
  --gold-soft:     rgba(205,164,76,0.12);

  --cream:         #f4ecd9;
  --text:          #efe6d3;
  --text-muted:    #b3a790;
  --text-faint:    #7d735f;

  --green:         #6f7f5b;

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-out: cubic-bezier(.22,.61,.36,1);

  --shadow-soft: 0 20px 60px -20px rgba(0,0,0,.6);
  --shadow-gold: 0 12px 30px -10px rgba(205,164,76,.35);
}

@media (prefers-color-scheme: light){
  :root{ color-scheme: dark; }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

section{ position: relative; }

::selection{ background: var(--gold); color: #14110c; }

/* Focus visibility */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--surface-2); border-radius: 10px; border: 2px solid var(--bg); }

/* ==========================================================================
   Type helpers
   ========================================================================== */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before{
  content: '';
  width: 26px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-head{
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head h2{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.12;
  color: var(--cream);
  margin-top: 14px;
}
.section-head p{
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease, color .25s ease;
  will-change: transform;
  min-height: 48px;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary{
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #191307;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover{ box-shadow: 0 16px 40px -8px rgba(205,164,76,.5); }

.btn-ghost{
  background: rgba(244,236,217,.04);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover{ background: rgba(244,236,217,.09); border-color: var(--gold); }

.btn-outline-gold{
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
}
.btn-outline-gold:hover{ background: var(--gold-soft); }

.btn-sm{ padding: 11px 20px; font-size: 13.5px; min-height: 40px; }

/* magnetic wrapper (JS adds inline transform to .magnetic > *) */
.magnetic{ display: inline-block; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0 0;
  transition: padding .4s var(--ease);
}
.site-header .header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled{ padding-top: 12px; }
.site-header.is-scrolled .header-inner{
  background: rgba(15,13,10,.72);
  border-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-soft);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark{ width: 42px; height: 42px; flex-shrink: 0; overflow: visible; }
.brand-mark path{
  fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 1.15s var(--ease);
}
.brand-mark path.roof-2{ transition-delay: .18s; }
.brand-mark .pane{ fill: var(--gold); stroke: none; opacity: 0; transition: opacity .5s ease; transition-delay: 1s; }
.brand-mark.is-drawn path{ stroke-dashoffset: 0; }
.brand-mark.is-drawn .pane{ opacity: 1; }
.brand-mark.is-drawn{
  animation: brand-breathe 4.5s ease-in-out 1.3s infinite;
}
.brand-mark.is-drawn path,
.brand-mark.is-drawn .pane{
  animation: brand-glow 4.5s ease-in-out 1.3s infinite;
}
@keyframes brand-breathe{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.06); }
}
@keyframes brand-glow{
  0%, 100%{ filter: drop-shadow(0 0 0 rgba(205,164,76,0)); }
  50%{ filter: drop-shadow(0 0 5px rgba(236,207,132,.85)); }
}
@media (prefers-reduced-motion: reduce){
  .brand-mark.is-drawn{ animation: none; }
  .brand-mark.is-drawn path, .brand-mark.is-drawn .pane{ animation: none; }
}

.brand-wordmark{ display: flex; flex-direction: column; line-height: 1.05; }
.brand-wordmark .w1{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--cream);
  letter-spacing: .01em;
}
.brand-wordmark .w1 b{ color: var(--gold-light); font-weight: 700; }
.brand-wordmark .w2{
  font-size: 9.5px;
  letter-spacing: .19em;
  color: var(--text-faint);
  font-weight: 600;
  margin-top: 3px;
}

.main-nav{ display: flex; align-items: center; gap: 30px; }
.main-nav a{
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 2px;
  position: relative;
  transition: color .25s ease;
}
.main-nav a::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 1.5px; background: var(--gold);
  transition: right .3s var(--ease);
}
.main-nav a:hover{ color: var(--cream); }
.main-nav a:hover::after{ right: 0; }

.header-actions{ display: flex; align-items: center; gap: 10px; }
.header-call{
  display: flex; align-items: center; gap: 8px;
  color: var(--cream); font-weight: 600; font-size: 14.5px;
  padding: 10px 8px;
}
.header-call svg{ width: 17px; height: 17px; color: var(--gold); }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.nav-toggle svg{ width: 20px; height: 20px; color: var(--cream); }

/* Mobile nav drawer */
.mobile-nav{
  position: fixed; inset: 0; z-index: 600;
  background: #0b0a08;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease);
}
.mobile-nav.is-open{ opacity: 1; visibility: visible; }
.mobile-nav a{
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--cream);
  padding: 14px 0;
}
.mobile-nav a:hover{ color: var(--gold); }
.mobile-nav-close{
  position: absolute; top: 24px; right: clamp(20px,5vw,48px);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-close svg{ width: 20px; height: 20px; }
.mobile-nav-call{ margin-top: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: 140px;
  position: relative;
  isolation: isolate;
}
.hero-media{ position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-media::after{
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,7,5,.96) 0%, rgba(8,7,5,.82) 32%, rgba(8,7,5,.35) 62%, rgba(8,7,5,.2) 100%),
    linear-gradient(0deg, rgba(8,7,5,.9) 0%, rgba(8,7,5,.15) 38%, rgba(8,7,5,.05) 60%);
}
.hero-grain{
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(205,164,76,.35) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: .05;
  pointer-events: none;
}

.hero-inner{ padding-bottom: clamp(56px, 8vw, 96px); max-width: 700px; }
.hero-inner h1{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.05;
  color: var(--cream);
  margin-top: 20px;
  text-wrap: balance;
}
.hero-inner h1 em{
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-inner .lead{
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}
.hero-cta{ margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stats{
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 52px);
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-stats .stat b{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--gold-light);
  font-weight: 700;
}
.hero-stats .stat span{
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.scroll-cue{
  position: absolute; right: clamp(20px,5vw,48px); bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-faint); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.scroll-cue .line{ width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after{
  content:''; position:absolute; top:-46px; left:0; width:100%; height:46px; background: var(--gold-light);
  animation: cue-fall 2.2s ease-in-out infinite;
}
@keyframes cue-fall{ 0%{ top: -46px; } 100%{ top: 46px; } }

/* ==========================================================================
   About + before/after
   ========================================================================== */
.about{ padding: clamp(90px, 12vw, 150px) 0 clamp(60px,8vw,110px); }
.about-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-copy p{ color: var(--text-muted); font-size: 16.5px; line-height: 1.8; margin-top: 18px; }
.about-copy p:first-of-type{ margin-top: 14px; }

.about-facts{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.about-facts li{
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text);
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.about-facts svg{ width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* Before / after compare */
.compare{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-strong);
  user-select: none;
  touch-action: pan-y;
}
.compare img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.compare .after-wrap{
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 52%);
}
.compare-tag{
  position: absolute; top: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(8,7,5,.55); backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong); color: var(--cream);
}
.compare-tag.before{ left: 16px; }
.compare-tag.after{ right: 16px; }
.compare-handle{
  position: absolute; top: 0; bottom: 0; left: 52%;
  width: 0; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  cursor: ew-resize;
  z-index: 5;
}
.compare-handle::before{
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: rgba(244,236,217,.85); transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.compare-grip{
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  gap: 3px;
  box-shadow: 0 8px 22px -6px rgba(0,0,0,.6);
}
.compare-grip svg{ width: 14px; height: 14px; color: #191307; }
.compare-caption{
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  font-size: 12.5px; color: var(--cream);
  background: rgba(8,7,5,.55); backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 9px 13px; border-radius: var(--radius-sm);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services{ padding: clamp(70px,9vw,120px) 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .4s var(--ease), border-color .4s ease, background .4s ease;
}
.service-card:hover{ transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.service-icon{
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(205,164,76,.18), rgba(205,164,76,.04));
  border: 1px solid var(--line-strong);
  margin-bottom: 20px;
}
.service-icon svg{ width: 26px; height: 26px; color: var(--gold-light); }
.service-card h3{
  font-family: var(--font-display); font-size: 21px; color: var(--cream); font-weight: 700;
}
.service-card .tag{ display:block; font-size: 11.5px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; font-weight: 700;}
.service-card ul{ margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.service-card li{
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text-muted); line-height: 1.5;
}
.service-card li svg{ width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   Drone video showcase
   ========================================================================== */
.drone{ padding: clamp(90px,11vw,140px) 0; text-align: center; }
.drone .section-head{ margin-bottom: 40px; }
.drone-frame{
  position: relative;
  max-width: 980px; margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16/9;
  background: var(--surface);
}
.drone-frame video{ width: 100%; height: 100%; object-fit: cover; }
.drone-frame::after{
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(205,164,76,.25), inset 0 -100px 90px -60px rgba(0,0,0,.5);
  pointer-events: none;
}
.drone-caption{
  position: absolute; left: 20px; bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--cream);
  background: rgba(8,7,5,.5); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line);
}
.drone-caption .dot{ width: 7px; height: 7px; border-radius: 50%; background: #e0563f; animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot{ 0%,100%{ opacity: 1; } 50%{ opacity: .3; } }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery{ padding: clamp(80px,10vw,130px) 0; }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.obekt-card{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--surface);
}
.obekt-card img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.obekt-card::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,5,4,.92) 0%, rgba(6,5,4,.15) 55%, rgba(6,5,4,.05) 75%);
  transition: background .4s ease;
}
.obekt-card:hover img{ transform: scale(1.08); }
.obekt-card-body{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.obekt-card-body h3{
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--cream);
}
.obekt-card-body span{
  font-size: 11.5px; color: var(--text-faint); letter-spacing: .04em; display:block; margin-top: 4px;
}
.obekt-count{
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--gold-light);
  background: rgba(8,7,5,.4);
  transition: background .3s ease, transform .4s var(--ease);
}
.obekt-card:hover .obekt-count{ background: var(--gold); color: #191307; transform: scale(1.08); }

.gallery-more{ margin-top: 28px; text-align: center; color: var(--text-faint); font-size: 13.5px; }

/* ==========================================================================
   Lightboxes
   ========================================================================== */
.lb-overlay{
  position: fixed; inset: 0; z-index: 800;
  background: #070605;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease);
  display: flex; flex-direction: column;
}
.lb-overlay.is-open{ opacity: 1; visibility: visible; }

.lb-header{
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px,5vw,48px) 10px;
  flex-shrink: 0;
}
.lb-title{ display: flex; flex-direction: column; }
.lb-title h3{ font-family: var(--font-display); font-size: 24px; color: var(--cream); }
.lb-title span{ font-size: 12.5px; color: var(--text-faint); margin-top: 3px; }
.lb-close{
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .25s ease, transform .3s var(--ease);
}
.lb-close:hover{ background: var(--surface-2); transform: rotate(90deg); }
.lb-close svg{ width: 18px; height: 18px; }

.lb-body{ flex: 1; overflow-y: auto; padding: 20px clamp(20px,5vw,48px) 60px; }
.lb-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--container);
  margin-inline: auto;
}
.lb-thumb{
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  border: 1px solid var(--line);
}
.lb-thumb img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .5s ease; }
.lb-thumb:hover img{ transform: scale(1.06); }

/* single viewer */
.lb-viewer-overlay{
  position: fixed; inset: 0; z-index: 900;
  background: #040302;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.lb-viewer-overlay.is-open{ opacity: 1; visibility: visible; }
.lb-viewer-figure{ max-width: 90vw; max-height: 82vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-viewer-figure img{ max-width: 90vw; max-height: 78vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lb-viewer-figure figcaption{ font-size: 13px; color: var(--text-muted); }
.lb-viewer-close{
  position: absolute; top: 22px; right: clamp(20px,5vw,48px);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.lb-viewer-close svg{ width: 18px; height: 18px; }
.lb-viewer-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8,7,5,.4);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .3s var(--ease);
}
.lb-viewer-nav:hover{ background: var(--gold); }
.lb-viewer-nav:hover svg{ color: #191307; }
.lb-viewer-nav svg{ width: 20px; height: 20px; }
.lb-viewer-prev{ left: clamp(10px,3vw,40px); }
.lb-viewer-next{ right: clamp(10px,3vw,40px); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews{ padding: clamp(80px,10vw,130px) 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews-track{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-stars{ display: flex; gap: 3px; }
.review-stars svg{ width: 16px; height: 16px; color: var(--gold); }
.review-card p{ font-size: 15px; color: var(--text); line-height: 1.7; flex: 1; }
.review-who{ display: flex; align-items: center; gap: 12px; }
.review-avatar{
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-light), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #191307; font-size: 16px;
  flex-shrink: 0;
}
.review-who b{ display: block; font-size: 14.5px; color: var(--cream); }
.review-who span{ font-size: 12.5px; color: var(--text-faint); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{ padding: clamp(80px,10vw,130px) 0; }
.faq-grid{ display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,6vw,70px); align-items: start; }
.faq-list{ display: flex; flex-direction: column; gap: 12px; }
.faq-item{
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-q{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  text-align: left;
  font-size: 15.5px; font-weight: 600; color: var(--cream);
}
.faq-q .plus{
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background .3s ease;
}
.faq-q .plus svg{ width: 12px; height: 12px; color: var(--gold-light); }
.faq-item[aria-expanded="true"] .plus{ background: var(--gold); transform: rotate(135deg); }
.faq-item[aria-expanded="true"] .plus svg{ color: #191307; }
.faq-a-wrap{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.faq-a-inner{ overflow: hidden; }
.faq-item[aria-expanded="true"] .faq-a-wrap{ grid-template-rows: 1fr; }
.faq-a{ padding: 0 22px 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.75; max-width: 60ch; }

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.contact{
  padding: clamp(80px,10vw,120px) 0;
  position: relative;
}
.contact-panel{
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(205,164,76,.14), transparent 55%),
    var(--surface);
  padding: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.contact-panel h2{
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px,3.6vw,42px); color: var(--cream); line-height: 1.15;
}
.contact-panel p{ margin-top: 14px; color: var(--text-muted); font-size: 16px; max-width: 46ch; }
.contact-cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.contact-info{ display: flex; flex-direction: column; gap: 16px; }
.contact-row{
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(0,0,0,.15);
}
.contact-row .ic{
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-soft); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.contact-row .ic svg{ width: 18px; height: 18px; color: var(--gold-light); }
.contact-row b{ display: block; font-size: 15px; color: var(--cream); }
.contact-row span{ font-size: 12.5px; color: var(--text-faint); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ border-top: 1px solid var(--line); padding: 60px 0 26px; }
.footer-top{
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr .9fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand{ display: flex; flex-direction: column; gap: 14px; max-width: 280px; }
.footer-brand .brand{ }
.footer-brand p{ font-size: 13.5px; color: var(--text-faint); line-height: 1.7; }
.footer-social{ display: flex; gap: 10px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .3s var(--ease);
}
.footer-social a:hover{ background: var(--gold); transform: translateY(-3px); }
.footer-social a:hover svg{ color: #191307; }
.footer-social svg{ width: 17px; height: 17px; color: var(--cream); }

.footer-col h4{ font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span{ font-size: 14px; color: var(--text-muted); }
.footer-col a:hover{ color: var(--cream); }

.footer-bottom{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  font-size: 12.5px; color: var(--text-faint);
}

.dev-signature{
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: transform .5s cubic-bezier(.2,.9,.25,1.3), background .35s ease, border-color .35s ease;
  cursor: pointer;
}
.dev-signature-label{
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color .35s ease;
}
.dev-signature-mark{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1;
}
.dev-signature-name{
  font-family: 'Alex Brush', cursive;
  font-size: 30px;
  line-height: 1;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.dev-signature-swash{
  width: 100%;
  height: 9px;
  margin-top: -3px;
  overflow: visible;
}
.dev-signature-swash path{
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: .75;
  stroke-dasharray: 190;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .9s var(--ease);
}
.dev-signature.is-caught{ background: var(--gold-soft); border-color: var(--gold); }
.dev-signature.is-caught .dev-signature-label{ color: var(--gold-light); }
.dev-signature.is-caught .dev-signature-swash path{ stroke: var(--gold-light); opacity: 1; }
.dev-signature.is-signing .dev-signature-swash path{ stroke-dashoffset: 190; transition: none; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > *{ opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal-stagger].is-visible > *{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .gallery-grid{ grid-template-columns: repeat(3,1fr); }
  .reviews-track{ grid-template-columns: repeat(2,1fr); }
  .about-grid{ grid-template-columns: 1fr; }
  .compare{ max-width: 520px; margin-inline: auto; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .main-nav, .header-call{ display: none; }
  .nav-toggle{ display: flex; }
  .faq-grid{ grid-template-columns: 1fr; }
  .contact-panel{ grid-template-columns: 1fr; }
  .lb-grid{ grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); }
  .reviews-track{ grid-template-columns: 1fr; }
  .about-facts{ grid-template-columns: 1fr; }
  .hero{ padding-top: 120px; }
  .hero-stats{ gap: 22px; }
  .lb-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}
