/* ============================================================
   BGWeld — design tokens
   Dark, editorial, serif-accented system
   ============================================================ */

:root {
  --bg: #0f0b09;
  --bg-raised: #171310;
  --bg-raised-2: #1c1815;
  --text: #faf2e9;
  --muted: #90837b;
  --muted-soft: #6d6259;
  --border: #2a2524;
  --border-soft: rgba(250, 242, 233, 0.08);
  --green: #2c974f;
  --green-light: #3fb164;
  --green-dark: #23793e;
  --green-soft: rgba(44, 151, 79, 0.14);
  --green-soft-strong: rgba(44, 151, 79, 0.28);
  --amber: #d98a3d;

  --font-display: "Petrona", "Georgia", serif;
  --font-body: "Inter", sans-serif;

  --container: 1240px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

em, .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--green-light);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

/* Eyebrow: NN — LABEL */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 18px;
}
.eyebrow .eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}
.eyebrow.center { justify-content: center; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.96rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-soft);
}
.btn-ghost:hover { border-color: var(--muted); background: rgba(250, 242, 233, 0.04); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--green); color: var(--green-light); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ============================================================
   Header — flat fixed bar
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 11, 9, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-pill {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.brand-sub { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--green-light); }

.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn-primary { padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 110px 28px 40px;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-panel a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 14px 6px;
  border-bottom: 1px solid var(--border);
}
.mobile-panel .btn-primary { margin-top: 24px; align-self: flex-start; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--bg);
  color: var(--text);
  padding: 160px 0 0;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 11, 9, 0.78) 0%, rgba(15, 11, 9, 0.66) 55%, rgba(15, 11, 9, 0.88) 100%),
    radial-gradient(55% 45% at 88% 5%, rgba(44, 151, 79, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  padding-bottom: 70px;
}

.hero-copy { max-width: 760px; }

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  color: var(--text);
}

.hero-copy p {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.stat-divider {
  margin-top: 48px;
  height: 1px;
  width: 100%;
  max-width: 560px;
  background: linear-gradient(90deg, var(--green), transparent 75%);
  opacity: 0.6;
}

.hero-meta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
}
.hero-meta div { display: flex; flex-direction: column; min-width: 0; }
.hero-meta strong { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; color: var(--text); }
.hero-meta strong.accent { font-style: italic; font-weight: 300; color: var(--green-light); }
.hero-meta span { margin-top: 2px; font-size: 0.84rem; color: var(--muted); }

/* Trust strip */
.trust-strip { position: relative; z-index: 2; background: var(--bg-raised); border-top: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--green-light);
  background: var(--green-soft);
  border: 1px solid var(--green-soft-strong);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item h4 { font-size: 0.98rem; font-weight: 600; font-family: var(--font-body); color: var(--text); }
.trust-item p { margin-top: 4px; font-size: 0.86rem; color: rgba(250, 242, 233, 0.68); }

/* ============================================================
   About
   ============================================================ */

.about { padding: 120px 0; background: var(--bg); }
.about-grid { display: block; }
.about-copy { max-width: 720px; }

.about-copy p { color: var(--muted); font-size: 1.05rem; margin-top: 18px; }
.about-copy p:first-of-type { margin-top: 20px; }

.about-points {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}
.about-points svg { width: 18px; height: 18px; color: var(--green-light); flex-shrink: 0; }

/* ============================================================
   Services
   ============================================================ */

.services { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-card:hover { border-color: var(--green); background: var(--green-soft); }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--green-soft-strong);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; font-family: var(--font-body); }
.service-card p { color: var(--muted); font-size: 0.95rem; }

.services-foot { margin-top: 36px; text-align: center; color: var(--muted); font-size: 0.98rem; }
.services-foot strong { color: var(--text); }

/* ============================================================
   Process
   ============================================================ */

.process { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.process-step {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.process-step .step-num {
  position: absolute;
  top: 6px;
  right: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 3.4rem;
  color: var(--text);
  opacity: 0.06;
  line-height: 1;
}
.process-step .step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--green-soft-strong);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.process-step .step-icon svg { width: 18px; height: 18px; }
.process-step h4 { margin-top: 4px; font-size: 1rem; font-weight: 600; font-family: var(--font-body); position: relative; }
.process-step p { margin-top: 6px; font-size: 0.88rem; color: var(--muted); position: relative; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--bg-raised);
  border: 1px solid var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  background: rgba(15, 11, 9, 0.75);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  max-width: calc(100% - 20px);
}
.gallery-item .zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 11, 9, 0.75);
  border: 1px solid var(--border-soft);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s var(--ease);
}
.gallery-item .zoom-icon svg { width: 15px; height: 15px; }
.gallery-item:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* Portfolio category groups */
.portfolio-group { margin-top: 96px; }
.portfolio-group:first-of-type { margin-top: 0; }
.portfolio-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.portfolio-group-head h3 { font-size: 1.35rem; }
.portfolio-count {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ba-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.gallery-item.is-hidden { display: none; }
.gallery-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.gallery-more-wrap.is-hidden { display: none; }

/* ============================================================
   Before / After
   ============================================================ */

.before-after { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.ba-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.ba-copy p { color: var(--muted); font-size: 1.05rem; margin-top: 16px; }
.ba-copy .btn { margin-top: 28px; }

.ba-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  user-select: none;
  touch-action: pan-y;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .ba-before { z-index: 1; }
.ba-slider .ba-after-wrap { position: absolute; inset: 0; z-index: 2; overflow: hidden; width: 50%; }
.ba-slider .ba-after-wrap img { width: var(--ba-img-w, 100%); max-width: none; height: 100%; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  z-index: 3;
  width: 2px;
  background: rgba(250, 242, 233, 0.85);
  transform: translateX(-50%);
  cursor: ew-resize;
}
.ba-handle .grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ba-handle .grip svg { width: 16px; height: 16px; }
.ba-label {
  position: absolute;
  top: 16px;
  z-index: 4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.ba-label.before { left: 16px; background: var(--bg-raised-2); color: var(--text); border: 1px solid var(--border-soft); }
.ba-label.after { right: 16px; background: var(--green); color: #fff; }

/* ============================================================
   Why us
   ============================================================ */

.why { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-card {
  display: flex;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--green-soft-strong);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 6px; font-weight: 600; font-family: var(--font-body); }
.why-card p { color: var(--muted); font-size: 0.94rem; }

/* ============================================================
   Testimonials
   ============================================================ */

.testimonials { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: transparent;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testi-card .quote-mark { color: var(--green-soft-strong); width: 32px; height: 32px; margin-bottom: 16px; }
.testi-card p.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text);
  flex-grow: 1;
  line-height: 1.4;
}
.testi-foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--green-light);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-foot strong { display: block; font-size: 0.92rem; font-weight: 600; }
.testi-foot span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.03em; }

/* ============================================================
   Contact
   ============================================================ */

.contact { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-info {
  background: transparent;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info h3 { color: var(--text); font-size: 1.4rem; }
.contact-info > p { color: var(--muted); margin-bottom: 8px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s var(--ease);
}
.contact-item:hover { border-color: var(--green-soft-strong); }
.contact-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--green-soft-strong);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-item a, .contact-item span.value { color: var(--text); font-size: 0.95rem; font-weight: 500; }
.contact-item a:hover { color: var(--green-light); }

.contact-map {
  margin-top: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-form > p { color: var(--muted); margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  background: var(--bg-raised-2);
  color: var(--text);
  transition: border-color 0.2s var(--ease);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-soft); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field.required label::after { content: " *"; color: var(--amber); }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  border: 1px solid var(--green-soft-strong);
  color: var(--green-light);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ============================================================
   Pirts krāsnis (product page)
   ============================================================ */

.product-hero { padding-bottom: 100px; background: var(--bg); }
.product-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.product-hero-copy p.lead { color: var(--muted); font-size: 1.05rem; margin-top: 18px; }
.product-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.product-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.price-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--bg-raised);
  border: 1px solid var(--green-soft-strong);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.price-tag { font-family: var(--font-display); font-weight: 500; font-size: 3rem; color: var(--text); line-height: 1; }
.price-tag span { font-size: 1.2rem; color: var(--green-light); font-weight: 600; }
.price-band-info p { margin-top: 10px; color: var(--muted); font-size: 0.94rem; max-width: 460px; }
.price-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.detail-list { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.detail-list li { display: flex; gap: 14px; color: var(--muted); font-size: 0.98rem; }
.detail-list li strong { color: var(--text); }
.detail-list li svg { width: 20px; height: 20px; color: var(--green-light); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer { background: var(--bg); color: var(--muted); padding: 70px 0 28px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; }
.footer-col p.lead { margin-top: 16px; font-family: var(--font-display); font-style: italic; font-size: 0.95rem; max-width: 280px; color: var(--muted); }
.footer-col h4 { color: var(--text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--text); }
.footer-legal { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: var(--muted-soft); }

/* ============================================================
   Lightbox
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 8, 7, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  padding: 24px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(90vw, 1100px); max-height: 86vh; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; object-fit: contain; border: 1px solid var(--border); }
.lightbox figcaption { text-align: center; color: var(--text); margin-top: 14px; font-size: 0.9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-raised-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s var(--ease);
}
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--green); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   Reveal on scroll
   ============================================================ */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */

/* First content section on inner pages (no big hero above it) */
.first-section { padding-top: 170px; }
.before-after.first-section { padding-top: 170px; }

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-primary span.long { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { padding-bottom: 60px; }
  .ba-layout { grid-template-columns: 1fr; }
  .ba-group { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .hero { padding-top: 130px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 12px; }
  .hero-meta strong { font-size: 1.5rem; }
  .spec-grid { grid-template-columns: 1fr; }
  .price-band { padding: 28px 24px; }
  .price-band-actions { width: 100%; }
  .price-band-actions .btn { flex: 1; }
}
