:root {
  --green: #95d600;
  --green-dark: #7fb800;
  --ink: #222;
  --muted: #666;
  --white: #fff;
  --footer: #252525;
  --maxw: 1400px;
  --gutter: clamp(16px, 4vw, 60px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #3f3f3f url(/images/binding_dark.png);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.25; }
h2 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; }
p { margin: 0 0 1em; }
.accent { color: var(--green); }

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 30px rgba(0,0,0,.4);
}

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--green);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
}
.logo img { width: 120px; }
nav { display: flex; gap: 24px; }
nav a {
  color: var(--white); text-decoration: none;
  font-size: 14px; font-weight: 700;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
nav a:hover, nav a.is-current { border-bottom-color: var(--white); }
.menu-toggle { display: none; }

/* Hero */
.hero {
  min-height: clamp(360px, 45vw, 560px);
  background: url(/images/living_room.jpg) center / cover no-repeat;
  display: flex; align-items: center;
  padding: 40px var(--gutter);
}
.hero-box {
  background: rgba(0,0,0,.8);
  color: var(--white);
  max-width: 520px;
  padding: 28px 30px;
}
.hero h1 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.hero p { font-size: clamp(17px, 1.9vw, 22px); font-weight: 600; margin: 0; line-height: 1.35; }

/* CTA band */
.cta-band {
  background: var(--green); color: var(--white);
  text-align: center; padding: 30px var(--gutter) 40px;
}
.cta-lead { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.cta-phones { font-size: clamp(20px, 2.4vw, 24px); font-weight: 800; margin-bottom: 20px; }
.cta-phones a { text-decoration: none; }
.btn-outline {
  display: inline-block; text-decoration: none;
  border: 2px solid var(--white); border-radius: 3px;
  color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase;
  padding: 12px 36px;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--white); color: var(--green-dark); }

/* Split sections */
.split, .services, .quality {
  display: grid; gap: 40px; align-items: center;
  padding: 70px var(--gutter);
}
.split { grid-template-columns: 1fr 1fr; }
.split.reverse .split-text { order: 2; }
.split-media img { margin: 0 auto; }
.divider { border: 0; border-top: 1px solid #e5e5e5; margin: 0 var(--gutter); }

/* Testimonials */
.testimonials {
  background: #e8e8e8 url(/images/light_noise_diagonal.png);
  padding: 50px var(--gutter) 60px; text-align: center;
}
.testimonials-lead {
  display: inline-block; font-size: 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--green); margin-bottom: 20px;
}
.slider { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; max-width: 900px; margin: 0 auto; }
.slider-btn {
  background: none; border: 0; cursor: pointer;
  font-size: 36px; line-height: 1; color: #333; padding: 8px;
}
.slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .4s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide blockquote {
  margin: 0 0 14px; font-size: clamp(19px, 2.6vw, 30px);
  font-style: italic; font-weight: 800; line-height: 1.35; color: #000;
}
.stars { color: var(--green); letter-spacing: 3px; margin-bottom: 14px; }
.slide figcaption strong { display: block; font-style: italic; font-size: 18px; }
.slide figcaption span { font-size: 11px; font-style: italic; color: var(--muted); }

/* Services */
.services { grid-template-columns: 1.1fr 1fr 1fr; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding-left: 44px; margin-bottom: 26px;
  font-weight: 600; font-size: 17px;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 20px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20'%3E%3Cpath d='M2 10l8 8L24 3' fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20'%3E%3Cpath d='M2 10l8 8L24 3' fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Quality */
.quality { grid-template-columns: 1fr 2fr; }
.quality-badge img { max-width: 300px; margin: 0 auto; }

/* Photos */
.photos {
  background: #f4f4f4 url(/images/light_noise_diagonal.png);
  padding: 60px var(--gutter); text-align: center;
}
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 24px;
}
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }

/* Contact */
.contact { text-align: center; padding: 70px var(--gutter); }
.contact-icons {
  list-style: none; padding: 0; margin: 40px auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 50px;
}
.contact-icons a {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 110px; text-decoration: none; font-size: 13px; font-weight: 700;
}
.ring {
  width: 80px; height: 80px; border-radius: 50%;
  border: 4px solid var(--green);
  display: grid; place-items: center;
  transition: background .2s;
}
.ring svg { width: 34px; height: 34px; fill: var(--green); transition: fill .2s; }
.contact-icons a:hover .ring { background: var(--green); }
.contact-icons a:hover svg { fill: var(--white); }
.short-rule { width: 120px; border: 0; border-top: 4px solid var(--green); margin: 40px auto 24px; }
.contact h3 { font-size: 18px; font-weight: 700; }
.address { font-size: 13px; color: var(--muted); }

/* Footer */
.footer { background: var(--footer); color: #777; font-size: 12px; padding: 22px var(--gutter); }
.footer p { margin: 0; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-width: 92vw; max-height: 88vh; }
.lightbox button {
  position: fixed; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 48px; line-height: 1; padding: 12px;
}
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 900px) {
  .split, .services, .quality { grid-template-columns: 1fr; gap: 28px; padding-top: 50px; padding-bottom: 50px; }
  .split.reverse .split-text { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 3px; background: var(--white); border-radius: 2px; }
  nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--green-dark);
  }
  nav.is-open { display: flex; }
  nav a { padding: 12px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.2); }
  .hero { align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
