/* ═══════════════════════════════════════════════════════════
   AMI SUFITY NAPINANE — Global Stylesheet
   Mobile-first approach | Płock & okolice
   ═══════════════════════════════════════════════════════════ */

:root {
  --dark:   #56454b;
  --peach:  #f3e2d6;
  --cream:  #fdf7f3;
  --ink:    #1d1d1b;
  --accent: #c4846a;
  --font:   'Manrope', sans-serif;
}

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

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--dark); border-radius: 3px; }

/* ── UTILITIES ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark); opacity: 0.45; margin-bottom: 10px; }
.tag-light { opacity: 0.92; color: var(--peach); text-shadow: 0 1px 8px rgba(0,0,0,0.70); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 26px; border: none; border-radius: 2px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
  position: relative; overflow: hidden; min-height: 48px; white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px) !important; }
.btn-primary { background: var(--peach); color: var(--ink); }
.btn-primary:hover { background: #ffe8d4; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.14); }
.btn-dark { background: var(--dark); color: var(--cream); }
.btn-dark:hover { background: #6b5560; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(86,69,75,0.35); }
.btn-ghost-light {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.75); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid rgba(86,69,75,0.35); }
.btn-outline:hover { background: var(--dark); color: var(--cream); transform: translateY(-2px); }
.btn-lg { font-size: 14px; padding: 17px 32px; min-height: 54px; }
.btn-full { width: 100%; }

.ripple-host { position: relative; overflow: hidden; }
.ripple-wave { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.22); transform: scale(0); animation: ripple-out 0.6s ease-out forwards; pointer-events: none; }
@keyframes ripple-out { to { transform: scale(6); opacity: 0; } }

/* ── HEADER ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 64px;
  background: transparent; transition: background 0.4s, box-shadow 0.4s, height 0.3s;
}
#site-header.scrolled {
  background: rgba(15,8,5,0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.header-logo { display: block; height: 28px; flex-shrink: 0; filter: drop-shadow(0 1px 8px rgba(0,0,0,0.55)); }
.header-logo svg { height: 100%; width: auto; }
#site-header.scrolled .header-logo { filter: none; }

.header-nav { display: none; align-items: center; gap: 30px; }
.header-nav a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(253,247,243,0.88);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  transition: color 0.2s, opacity 0.2s;
}
#site-header.scrolled .header-nav a { text-shadow: none; }
.header-nav a:hover { color: var(--peach); }
.header-nav a.active { color: var(--peach); }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-cta { display: none; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none; width: 40px; height: 40px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}
#site-header.scrolled .hamburger span { filter: none; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; z-index: 199;
  background: rgba(12,6,3,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 16px 20px 36px; flex-direction: column; gap: 0;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 15px; font-weight: 500; letter-spacing: 0.03em;
  color: rgba(253,247,243,0.80); padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
#mobile-menu a:hover, #mobile-menu a.active { color: var(--peach); }
#mobile-menu .menu-cta {
  margin-top: 20px; text-align: center;
  background: var(--peach); color: var(--ink); border-radius: 2px;
  font-weight: 700; letter-spacing: 0.06em; font-size: 13px; text-transform: uppercase;
  padding: 16px; border-bottom: none;
}

/* ── HERO ── */
.hero {
  position: relative; width: 100%; min-height: 100svh;
  display: flex; flex-direction: column; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.04); transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,5,2,0.75) 0%,
    rgba(10,5,2,0.45) 20%,
    rgba(10,5,2,0.55) 50%,
    rgba(10,5,2,0.92) 100%);
}
.hero-body {
  position: relative; flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 100px 20px 44px;
}
.hero h1 {
  font-size: clamp(30px, 8vw, 72px); font-weight: 300;
  line-height: 1.1; color: #fff; margin-bottom: 18px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.80), 0 8px 32px rgba(0,0,0,0.65), 0 24px 64px rgba(0,0,0,0.50);
}
.hero h1 em, .hero h1 strong { font-style: normal; font-weight: 700; }
.hero-sub {
  font-size: 15px; line-height: 1.68;
  color: rgba(255,255,255,0.92); margin-bottom: 32px;
  max-width: 560px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75), 0 4px 20px rgba(0,0,0,0.55);
}
.hero-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }

.page-hero { min-height: 58vh; }
.page-hero .hero-body { padding-bottom: 56px; }

.hero-stats {
  position: relative;
  display: flex;
  background: rgba(60,40,45,0.80);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.09);
  overflow-x: auto; scrollbar-width: none;
}
.hero-stats::-webkit-scrollbar { display: none; }
.stat-item {
  flex: 1; min-width: 80px;
  padding: 18px 12px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 22px; font-weight: 800; color: var(--peach); line-height: 1; }
.stat-label { font-size: 10px; color: rgba(253,247,243,0.50); margin-top: 4px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── SECTIONS (COMMON) ── */
section { padding: 72px 20px; }
.section-title {
  font-size: clamp(24px, 5.5vw, 48px); font-weight: 300;
  letter-spacing: -0.02em; color: var(--dark); line-height: 1.15;
  margin-bottom: 16px;
}
.section-title strong { font-weight: 700; }
.section-lead {
  font-size: 15px; line-height: 1.8; color: rgba(86,69,75,0.62);
  max-width: 600px; margin-bottom: 44px;
}
.section-header { display: flex; flex-direction: column; margin-bottom: 36px; }
.section-header-row { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }

/* ── WHY ON-SITE MEASURE ── */
#why-measure {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.055) 1px, transparent 0),
    radial-gradient(ellipse 80% 65% at 5% 85%, rgba(196,132,106,0.24) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 95% 5%, rgba(243,226,214,0.08) 0%, transparent 55%),
    var(--dark);
  background-size: 28px 28px, 100% 100%, 100% 100%, 100% 100%;
  padding: 72px 20px;
}
.why-measure-inner { display: flex; flex-direction: column; gap: 36px; }
.why-measure-text h2 {
  font-size: clamp(22px, 5vw, 38px); font-weight: 300;
  color: var(--cream); margin-bottom: 16px; letter-spacing: -0.02em;
}
.why-measure-text h2 strong { font-weight: 700; color: var(--peach); }
.why-measure-text p { font-size: 14px; line-height: 1.8; color: rgba(253,247,243,0.60); }
.why-points { display: flex; flex-direction: column; gap: 12px; }
.why-point {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  position: relative; overflow: hidden;
  will-change: transform; cursor: default; z-index: 1;
}
.why-point.is-hovered { z-index: 10; }
.wp-sheen {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 65%);
}
.why-point-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(243,226,214,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--peach);
}
.why-point-icon svg { width: 18px; height: 18px; }
.why-point h4 { font-size: 13px; font-weight: 700; color: var(--cream); margin-bottom: 3px; }
.why-point p { font-size: 12px; line-height: 1.6; color: rgba(253,247,243,0.50); }

/* ── SERVICES ── */
#services { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.service-card {
  position: relative; padding: 28px 24px 22px;
  background: linear-gradient(145deg, #ffffff 0%, #f5e8de 100%);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(86,69,75,0.09), 0 8px 28px rgba(86,69,75,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  display: block; color: inherit; text-decoration: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(86,69,75,0.16), 0 28px 52px rgba(86,69,75,0.20); }
.service-card-img { width: 100%; height: 190px; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.sc-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(86,69,75,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--dark);
}
.sc-icon svg { width: 22px; height: 22px; }
.sc-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(86,69,75,0.42); margin-bottom: 6px; }
.sc-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.sc-desc { font-size: 13px; line-height: 1.65; color: rgba(86,69,75,0.60); }
.sc-foot {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(86,69,75,0.10);
  display: flex; align-items: center; justify-content: space-between;
}
.sc-link-txt { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(86,69,75,0.40); }
.sc-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 13px; font-weight: 700; line-height: 1;
}

/* ── PROCESS ── */
#process {
  background:
    repeating-linear-gradient(-55deg,
      transparent 0px, transparent 36px,
      rgba(86,69,75,0.028) 36px, rgba(86,69,75,0.028) 37px),
    linear-gradient(150deg, #fdf7f3 0%, #efe0d4 55%, #e8d6c8 100%);
}
.process-grid { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.process-step {
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid rgba(86,69,75,0.12);
  align-items: flex-start;
}
.process-step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--dark); color: var(--cream);
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-content h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step-content p { font-size: 13px; line-height: 1.7; color: rgba(86,69,75,0.62); }

/* ── GALLERY ── */
#gallery { background: var(--cream); }
.gallery-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
  font-family: var(--font); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 100px;
  border: 1.5px solid rgba(86,69,75,0.22); background: transparent;
  color: rgba(86,69,75,0.55); cursor: pointer; min-height: 38px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gallery-item { position: relative; overflow: hidden; background: var(--peach); aspect-ratio: 1; }
.gallery-item.hidden { display: none !important; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 50%,rgba(12,6,3,0.55) 100%); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label { position: absolute; bottom: 10px; left: 12px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.9); letter-spacing: 0.07em; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-item-label { opacity: 1; }
.gallery-more { text-align: center; margin-top: 32px; }

/* ── TRUST ── */
#trust {
  background:
    radial-gradient(ellipse 65% 60% at 12% 30%, rgba(196,132,106,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 85%, rgba(243,226,214,0.55) 0%, transparent 60%),
    linear-gradient(145deg, #f0ddd2 0%, #fdf7f3 100%);
}
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
.trust-item {
  padding: 24px 20px;
  background: rgba(255,255,255,0.60);
  border-radius: 14px; border: 1px solid rgba(86,69,75,0.09);
  will-change: transform;
  transform-style: preserve-3d;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.trust-item::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.26) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.trust-item.tilt-active::after { opacity: 1; }
.trust-num { font-size: 42px; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: 8px; }
.trust-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.trust-text { font-size: 13px; line-height: 1.65; color: rgba(86,69,75,0.62); }
.cert-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.75); border: 1px solid rgba(86,69,75,0.14);
  border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--dark);
}
.cert-badge svg { width: 15px; height: 15px; }

/* ── CTA BAND ── */
#cta-band {
  background:
    radial-gradient(ellipse 65% 90% at 102% 50%, rgba(196,132,106,0.32) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at -2% 0%, rgba(253,247,243,0.85) 0%, transparent 55%),
    linear-gradient(135deg, #f5ece4 0%, #e6d0c4 100%);
  padding: 64px 20px;
}
.cta-band-inner { display: flex; flex-direction: column; gap: 28px; }
.cta-band-text h2 { font-size: clamp(22px, 5vw, 44px); font-weight: 300; color: var(--dark); letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-band-text h2 strong { font-weight: 700; }
.cta-band-text p { font-size: 14px; color: rgba(86,69,75,0.62); line-height: 1.75; max-width: 520px; }
.cta-band-action { flex-shrink: 0; }

/* ── QUIZ ── */
#quiz {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.045) 1px, transparent 0),
    radial-gradient(ellipse 70% 70% at 92% 88%, rgba(196,132,106,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 6% 8%, rgba(243,226,214,0.07) 0%, transparent 50%),
    var(--dark);
  background-size: 28px 28px, 100% 100%, 100% 100%, 100% 100%;
  padding: 72px 20px;
}
.quiz-wrap { max-width: 620px; margin: 0 auto; }
.quiz-header { text-align: center; margin-bottom: 36px; }
.quiz-header .tag { color: rgba(243,226,214,0.75); opacity: 1; margin-bottom: 12px; display: block; }
.quiz-header .section-title { color: var(--cream); margin-bottom: 12px; }
.quiz-header p { font-size: 14px; color: rgba(253,247,243,0.55); line-height: 1.7; }

.quiz-progress { margin-bottom: 28px; }
.quiz-progress-bar { height: 3px; background: rgba(255,255,255,0.10); border-radius: 3px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--peach); border-radius: 3px; transition: width 0.45s ease; width: 0%; }
.quiz-step-info { display: flex; justify-content: space-between; margin-top: 8px; }
.quiz-step-info span { font-size: 11px; color: rgba(253,247,243,0.35); font-weight: 500; }
.quiz-step-info .q-current { color: var(--peach); font-weight: 700; }

.quiz-step { display: none; animation: fadeIn 0.3s ease; }
.quiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.quiz-step h3 { font-size: 17px; font-weight: 600; color: var(--cream); margin-bottom: 18px; line-height: 1.45; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: 12px; cursor: pointer; font-family: var(--font);
  font-size: 14px; font-weight: 500; color: rgba(253,247,243,0.82);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-align: left; width: 100%; min-height: 54px;
}
.quiz-opt:hover, .quiz-opt.selected {
  background: rgba(243,226,214,0.16); border-color: var(--peach); color: var(--cream);
}
.quiz-opt-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(243,226,214,0.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--peach);
}
.quiz-opt-icon svg { width: 17px; height: 17px; }

.quiz-input-wrap { display: flex; gap: 10px; flex-direction: column; }
.quiz-input {
  font-family: var(--font); font-size: 15px; color: var(--cream);
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 16px 18px; width: 100%; outline: none;
  transition: border-color 0.2s; min-height: 54px;
}
.quiz-input::placeholder { color: rgba(253,247,243,0.32); }
.quiz-input:focus { border-color: var(--peach); }
select.quiz-input { cursor: pointer; }

.quiz-form { display: flex; flex-direction: column; gap: 12px; }
.quiz-consent { display: flex; gap: 10px; align-items: flex-start; }
.quiz-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--peach); width: 16px; height: 16px; }
.quiz-consent label { font-size: 11px; color: rgba(253,247,243,0.42); line-height: 1.55; }
.quiz-consent a { color: var(--peach); }

.quiz-nav { display: flex; gap: 10px; margin-top: 20px; }
.btn-quiz-back {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.14);
  color: rgba(253,247,243,0.55); font-family: var(--font);
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 2px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s; min-height: 46px;
}
.btn-quiz-back:hover { border-color: rgba(255,255,255,0.35); color: var(--cream); }

.quiz-success { display: none; text-align: center; padding: 48px 0; }
.quiz-success.show { display: block; }
.quiz-success-icon { font-size: 56px; margin-bottom: 20px; }
.quiz-success h3 { font-size: 22px; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
.quiz-success p { font-size: 14px; color: rgba(253,247,243,0.58); line-height: 1.75; }

/* ── POPUP ── */
#popup-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,5,2,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
#popup-overlay.open { opacity: 1; pointer-events: all; }
.popup-card {
  background: var(--cream); border-radius: 20px 20px 0 0;
  padding: 28px 20px 40px; width: 100%; max-width: 520px;
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.34, 1.46, 0.64, 1);
  max-height: 90svh; overflow-y: auto;
}
#popup-overlay.open .popup-card { transform: translateY(0); }
.popup-handle { width: 40px; height: 4px; background: rgba(86,69,75,0.14); border-radius: 2px; margin: 0 auto 24px; }
.popup-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.popup-top h3 { font-size: 19px; font-weight: 700; color: var(--dark); line-height: 1.35; max-width: 280px; }
.popup-close { background: none; border: none; cursor: pointer; padding: 4px; color: rgba(86,69,75,0.38); transition: color 0.2s; flex-shrink: 0; }
.popup-close:hover { color: var(--dark); }
.popup-close svg { width: 22px; height: 22px; }
.popup-form { display: flex; flex-direction: column; gap: 12px; }
.popup-input {
  font-family: var(--font); font-size: 14px; color: var(--dark);
  background: rgba(86,69,75,0.05); border: 1.5px solid rgba(86,69,75,0.14);
  border-radius: 10px; padding: 14px 16px; outline: none;
  transition: border-color 0.2s; min-height: 50px; width: 100%;
}
.popup-input:focus { border-color: var(--dark); }
.popup-input::placeholder { color: rgba(86,69,75,0.35); }
select.popup-input { cursor: pointer; }
.popup-consent { display: flex; gap: 10px; align-items: flex-start; }
.popup-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--dark); width: 16px; height: 16px; }
.popup-consent label { font-size: 11px; color: rgba(86,69,75,0.48); line-height: 1.55; }
.popup-consent a { color: var(--dark); text-decoration: underline; }
.popup-note { font-size: 12px; color: rgba(86,69,75,0.45); text-align: center; margin-top: 8px; }

/* ── PAGE SECTIONS (LED, Premium, Materials) ── */
.page-section-alt { background: var(--peach); }
.page-section { background: var(--cream); }

.led-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 36px; }
.led-item { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4/3; }
.led-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.led-item:hover img { transform: scale(1.05); }
.led-item:first-child { grid-column: span 2; aspect-ratio: 16/7; }

.features-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.feature-row { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(86,69,75,0.08); display: flex; align-items: center; justify-content: center; color: var(--dark); }
.feature-icon svg { width: 20px; height: 20px; }
.feature-body h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.feature-body p { font-size: 13px; line-height: 1.65; color: rgba(86,69,75,0.62); }

.compare-wrap { overflow-x: auto; margin-top: 36px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 380px; }
.compare-table thead th { padding: 12px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(86,69,75,0.45); border-bottom: 2px solid rgba(86,69,75,0.12); text-align: left; }
.compare-table thead th:nth-child(3) { color: var(--dark); }
.compare-table td { padding: 13px 16px; border-bottom: 1px solid rgba(86,69,75,0.09); font-size: 13px; vertical-align: middle; }
.compare-table td:first-child { color: rgba(86,69,75,0.70); font-weight: 500; }
.compare-table td:nth-child(2) { color: rgba(86,69,75,0.40); }
.compare-table td:nth-child(3) { font-weight: 600; color: var(--dark); }
.compare-table tr:last-child td { border-bottom: none; }
.yes { color: #4a9c6f; }
.no  { color: #c45b5b; }

.materials-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
.material-card { border-radius: 18px; overflow: hidden; box-shadow: 0 2px 14px rgba(86,69,75,0.10); }
.material-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.material-body { padding: 24px; background: var(--peach); }
.material-body h3 { font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.material-body p { font-size: 13px; line-height: 1.72; color: rgba(86,69,75,0.65); }
.material-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.material-tag { font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 100px; background: rgba(86,69,75,0.08); color: var(--dark); letter-spacing: 0.04em; }

/* ── CITY-SPECIFIC ── */
.city-alert {
  background: var(--peach);
  border-left: 3px solid var(--dark);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 36px;
  display: flex; gap: 12px; align-items: flex-start;
}
.city-alert svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--dark); margin-top: 2px; }
.city-alert p { font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.5; }
.city-alert p span { font-weight: 400; opacity: 0.7; display: block; font-size: 13px; margin-top: 2px; }

/* ── ABOUT BAND ── */
.about-band { background: var(--cream); }
.about-inner { display: flex; flex-direction: column; gap: 36px; }
.about-text h2 { font-size: clamp(22px, 5vw, 38px); font-weight: 300; color: var(--dark); margin-bottom: 16px; letter-spacing: -0.02em; }
.about-text h2 strong { font-weight: 700; }
.about-text p { font-size: 14px; line-height: 1.8; color: rgba(86,69,75,0.65); margin-bottom: 12px; }
.about-visual { border-radius: 16px; overflow: hidden; position: relative; }
.about-visual img { width: 100%; height: 280px; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(86,69,75,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  padding: 16px 22px;
}
.about-badge-num { font-size: 38px; font-weight: 800; color: var(--cream); line-height: 1; }
.about-badge-txt { font-size: 11px; color: rgba(253,247,243,0.60); margin-top: 3px; }

/* ── FOOTER ── */
footer { background: var(--dark); color: var(--cream); padding: 60px 20px 32px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { display: block; height: 24px; margin-bottom: 16px; }
.footer-logo svg { height: 100%; width: auto; }
.footer-brand-text { font-size: 13px; line-height: 1.72; color: rgba(253,247,243,0.38); }
.footer-legal-txt { font-size: 12px; color: rgba(253,247,243,0.28); margin-top: 12px; line-height: 1.6; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(253,247,243,0.28); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(253,247,243,0.48); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-bottom p { font-size: 11px; color: rgba(253,247,243,0.24); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 11px; color: rgba(253,247,243,0.32); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--cream); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET 768px+
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  section { padding: 96px 48px; }
  #why-measure, #quiz, #cta-band { padding-left: 48px; padding-right: 48px; }
  footer { padding: 72px 48px 36px; }

  .hero-body { padding: 120px 48px 52px; max-width: 720px; }
  .hero-actions { flex-direction: row; align-items: center; }

  .why-measure-inner { flex-direction: row; gap: 64px; align-items: flex-start; }
  .why-measure-text { flex: 1.1; }
  .why-points { flex: 1; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .process-grid { flex-direction: row; gap: 0; position: relative; }
  .process-grid::before { content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px; background: rgba(86,69,75,0.16); }
  .process-step { flex-direction: column; gap: 16px; padding: 0 24px 0 0; border-bottom: none; border-right: none; }
  .process-step:last-child { padding-right: 0; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .cta-band-text { flex: 1; }

  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { flex-direction: row; align-items: center; gap: 60px; }
  .about-text { flex: 1; }
  .about-visual { flex: 1; }
  .about-visual img { height: 380px; }

  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP 1024px+
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  #site-header { padding: 0 48px; height: 80px; }
  #mobile-menu { top: 80px; }
  .header-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }

  section { padding: 120px 80px; }
  #why-measure, #quiz, #cta-band { padding: 100px 80px; }
  #cta-band { padding: 80px 80px; }
  footer { padding: 80px 80px 40px; }

  .hero-body { padding: 140px 80px 60px; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .materials-grid { grid-template-columns: repeat(3, 1fr); }

  #popup-overlay { align-items: center; }
  .popup-card { border-radius: 20px; max-width: 440px; transform: scale(0.88) translateY(0); }
  #popup-overlay.open .popup-card { transform: scale(1) translateY(0); }
  .popup-handle { display: none; }
}

@media (min-width: 1280px) {
  section { padding: 130px 100px; }
  #why-measure, #quiz { padding: 110px 100px; }
  #cta-band { padding: 90px 100px; }
  footer { padding: 88px 100px 44px; }
}
