/* ============================================================
   СК-СОСНА — Custom Design System
   Fonts: Playfair Display (headings) + Plus Jakarta Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --bg:          #F5F0E8;
  --bg-white:    #FFFFFF;
  --wood-50:     #fdf8f3;
  --wood-100:    #f5ede0;
  --wood-400:    #c49060;
  --wood:        #8B5A2B;
  --wood-light:  #A0522D;
  --wood-dark:   #5c3416;
  --pine:        #2F4F4F;
  --pine-dark:   #1e3535;
  --gold:        #D4AF37;
  --gold-light:  rgba(212,175,55,0.12);
  --gold-dark:   #B8941E;
  --text:        #1C1C1C;
  --text-muted:  #666666;
  --border:      rgba(139,90,43,0.14);
  --border-light:rgba(139,90,43,0.07);
  --sh-sm:       0 2px 8px rgba(0,0,0,0.06);
  --sh-md:       0 4px 20px rgba(0,0,0,0.10);
  --sh-lg:       0 8px 40px rgba(0,0,0,0.15);
  --sh-xl:       0 16px 60px rgba(0,0,0,0.20);
  --radius:      12px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --t:           0.3s var(--ease);
}

/* ── BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--wood); border-radius: 3px; }

/* ── LAYOUT HELPERS ────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-gap { padding-top: 88px; padding-bottom: 88px; }
@media (max-width: 768px) { .section-gap { padding-top: 56px; padding-bottom: 56px; } }
@media (max-width: 480px) { .section-gap { padding-top: 40px; padding-bottom: 40px; } .container { padding: 0 16px; } }

/* ── SCROLL ANIMATIONS ─────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.fade-in-up.d1 { transition-delay: 0.10s; }
.fade-in-up.d2 { transition-delay: 0.20s; }
.fade-in-up.d3 { transition-delay: 0.30s; }
.fade-in-up.d4 { transition-delay: 0.40s; }
.fade-in-up.d5 { transition-delay: 0.50s; }
.fade-in-up.d6 { transition-delay: 0.60s; }

/* ── SECTION LABEL ─────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
  background: var(--gold-light);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: var(--t);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--text);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}
.btn-wood {
  background: var(--wood);
  color: white;
  border-color: var(--wood);
}
.btn-wood:hover {
  background: var(--wood-dark);
  border-color: var(--wood-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,90,43,0.30);
}
.btn-outline {
  background: transparent;
  color: var(--wood);
  border-color: var(--wood);
}
.btn-outline:hover {
  background: var(--wood);
  color: white;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-outline-white:hover {
  background: white;
  color: var(--wood);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--sh-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-text-top { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; color: var(--wood); line-height: 1; letter-spacing: -0.02em; }
.logo-text-sub { font-size: 10px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; margin-top: 2px; }

/* Desktop Nav */
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--wood); background: var(--wood-100); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone { font-size: 15px; font-weight: 600; color: var(--wood); white-space: nowrap; }
.header-phone:hover { color: var(--wood-dark); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 12px 24px 20px;
  background: white;
  border-top: 1px solid var(--border-light);
  box-shadow: var(--sh-md);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu a:hover { background: var(--bg); color: var(--wood); }
.mobile-menu .mm-phone { font-weight: 700; color: var(--wood); font-size: 17px; }
.mobile-menu .mm-sep { height: 1px; background: var(--border-light); margin: 12px 0; }

@media (max-width: 1024px) { .desktop-nav, .header-right { display: none; } }
@media (max-width: 1024px) { .burger { display: flex; } }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,10,2,0.75) 0%,
    rgba(47,79,79,0.50) 60%,
    rgba(20,10,2,0.40) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.2);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5E17A;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title em { font-style: italic; color: #F5E17A; }
.hero-subtitle {
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.hero-badge svg { color: var(--gold); flex-shrink: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── ADVANTAGE CARDS ─────────────────────────────────────────── */
.adv-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--sh-sm);
  transition: var(--t);
}
.adv-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: var(--border);
}
.adv-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-light);
  border: 1.5px solid rgba(212,175,55,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--wood);
}

/* ── PROJECT CARDS ───────────────────────────────────────────── */
.project-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-6px);
}
.project-card-img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--wood-100);
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.project-card-price-badge span { display: block; font-size: 10px; font-weight: 500; opacity: 0.8; }
.project-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.project-card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.project-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  transition: color 0.2s;
}
.project-card:hover .project-card-title { color: var(--wood); }
.project-card-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.project-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
}
.project-card-spec-item { display: flex; flex-direction: column; gap: 2px; }
.project-card-spec-label { color: var(--text-muted); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.project-card-spec-value { font-weight: 600; color: var(--text); }
.project-card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-card-price-key { font-size: 13px; color: var(--text-muted); }
.project-card-price-key strong { display: block; font-size: 16px; font-weight: 700; color: var(--wood); }

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.badge-dry     { background: #E8F5E9; color: #2E7D32; }
.badge-natural { background: #FFF3E0; color: #BF360C; }
.badge-1floor  { background: #E3F2FD; color: #1565C0; }
.badge-2floor  { background: #F3E5F5; color: #6A1B9A; }
.badge-gold    { background: var(--gold-light); color: var(--wood); border: 1px solid rgba(212,175,55,0.3); }

/* ── COMPARISON TABLE ────────────────────────────────────────── */
.comp-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-sm); }
.comp-table thead th { background: var(--pine); color: white; padding: 16px 20px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 14px; text-align: center; }
.comp-table thead th:first-child { text-align: left; background: var(--pine-dark); }
.comp-table tbody td { padding: 13px 20px; border-bottom: 1px solid var(--border-light); font-size: 14px; text-align: center; }
.comp-table tbody td:first-child { text-align: left; font-weight: 500; background: rgba(245,240,232,0.6); }
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table tbody tr:nth-child(even) td { background: rgba(245,240,232,0.4); }
.comp-table tbody tr:nth-child(even) td:first-child { background: rgba(245,240,232,0.7); }
.check { color: #2E7D32; font-size: 18px; }
.cross { color: #C62828; font-size: 18px; }
.partial { color: #E65100; font-size: 15px; }

/* ── STEPS / PROCESS ─────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px; }
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.step-item::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: var(--border);
  background-image: repeating-linear-gradient(90deg, var(--wood-400) 0, var(--wood-400) 6px, transparent 6px, transparent 14px);
}
.step-item:last-child::after { display: none; }
.step-num {
  width: 64px;
  height: 64px;
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.step-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.step-desc { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonial-wrap { overflow: hidden; border-radius: var(--radius); }
.testimonial-track { display: flex; transition: transform 0.55s var(--ease); }
.testimonial-slide { min-width: 100%; }
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border-light);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 32px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--gold-light);
  color: rgba(212,175,55,0.25);
}
@media (max-width: 768px) { .testimonial-card { padding: 28px 24px; } .testimonial-card::before { font-size: 56px; } }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.58);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: white;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 460px;
  transform: scale(0.93) translateY(-12px);
  transition: transform 0.32s var(--ease);
  position: relative;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: background 0.2s;
}
.modal-close-btn:hover { background: var(--border); }
@media (max-width: 480px) { .modal-box { padding: 28px 20px; } }

/* ── TOAST ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--pine-dark);
  color: white;
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: var(--sh-xl);
  z-index: 9999;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 340px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 20px; flex-shrink: 0; line-height: 1; }
.toast-border { border-left: 4px solid var(--gold); }
@media (max-width: 480px) { .toast { left: 16px; right: 16px; bottom: 16px; } }

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--wood);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.10);
}
.form-input::placeholder, .form-textarea::placeholder { color: #aaa; }
.form-input.error { border-color: #e53e3e; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B5A2B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ── STATS ───────────────────────────────────────────────────── */
.stat-block { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  color: var(--wood);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-num sup { font-size: 0.5em; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }

/* ── SERVICES TABLE ──────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-md); }
.service-col { background: white; border-right: 1px solid var(--border-light); }
.service-col:last-child { border-right: none; }
.service-col.featured { background: var(--pine); color: white; }
.service-header { padding: 28px 24px; text-align: center; border-bottom: 1px solid var(--border-light); }
.service-col.featured .service-header { border-bottom-color: rgba(255,255,255,0.15); }
.service-price { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; }
.service-col.featured .service-price { color: var(--gold); }
.service-body { padding: 24px; }
.service-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.service-col.featured .service-item { border-bottom-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }
.service-item:last-child { border-bottom: none; }
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-col { border-right: none; border-bottom: 1px solid var(--border-light); }
  .service-col:last-child { border-bottom: none; }
}

/* ── CALCULATOR ──────────────────────────────────────────────── */
.calc-card { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--sh-sm); border: 1px solid var(--border-light); }
.calc-result-card { background: linear-gradient(145deg, var(--pine) 0%, var(--pine-dark) 100%); border-radius: var(--radius); padding: 36px 32px; color: white; }
.calc-result-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.calc-result-item:last-child { border-bottom: none; }
.calc-result-label { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.calc-result-value { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--gold); }
.range-wrap { position: relative; }
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  margin-top: 8px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wood);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 2px solid white;
}
input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wood);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 2px solid white;
}

/* ── BLOG CARDS ──────────────────────────────────────────────── */
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
}
.blog-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.blog-card-img { height: 200px; overflow: hidden; background: var(--wood-100); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12px; color: var(--text-muted); }
.blog-card-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.35; transition: color 0.2s; }
.blog-card:hover .blog-card-title { color: var(--wood); }
.blog-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.blog-card-link { font-size: 13px; font-weight: 700; color: var(--wood); display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.blog-card:hover .blog-card-link { gap: 9px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { background: #171717; color: rgba(255,255,255,0.6); }
.footer-logo-text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: white; }
.footer-heading { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; display: block; padding: 3px 0; }
.footer-link:hover { color: var(--gold); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 40px 0 24px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--t);
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--text); }

/* ── FILTER BAR ──────────────────────────────────────────────── */
.filter-bar { background: white; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--sh-sm); border: 1px solid var(--border-light); display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 5px; min-width: 140px; }
.filter-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.filter-btn-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--t);
}
.filter-chip:hover, .filter-chip.active {
  background: var(--wood);
  color: white;
  border-color: var(--wood);
}

/* ── GUARANTEE BLOCK ─────────────────────────────────────────── */
.guarantee-card {
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-dark) 100%);
  border-radius: var(--radius);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(212,175,55,0.08);
}

/* ── MAP SECTION ─────────────────────────────────────────────── */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-md); }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--pine-dark) 0%, var(--pine) 100%);
  color: white;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: url("data:image/svg+xml,%3Csvg width='600' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='600' height='400' fill='none'/%3E%3Cpath d='M300 0L600 400H0z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") no-repeat right center;
  background-size: cover;
}
.page-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 48px); font-weight: 700; margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.6); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }

/* ── PROJECT DETAIL ──────────────────────────────────────────── */
.spec-table { width: 100%; }
.spec-table tr { border-bottom: 1px solid var(--border-light); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 11px 0; font-size: 14px; }
.spec-table td:first-child { color: var(--text-muted); width: 50%; }
.spec-table td:last-child { font-weight: 600; text-align: right; }

/* ── CONTACT CARDS ───────────────────────────────────────────── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--sh-sm);
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-light);
  border: 1.5px solid rgba(212,175,55,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood);
  flex-shrink: 0;
}

/* ── UTILITIES ───────────────────────────────────────────────── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.text-wood { color: var(--wood); }
.text-pine { color: var(--pine); }
.text-gold { color: var(--gold); }
.bg-wood-light { background: var(--wood-100); }
.divider { height:1px; background: var(--border-light); border:none; margin: 0; }
.overflow-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
