:root {
  --bg: #F7F4EC;
  --ink: #121212;
  --sky: #3E6E8E;
  --sky-dark: #2C5069;
  --gold: #B98A3D;
  --cloud: #ECE7D9;
  --line: #D8D2C0;
  --serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sans: 'Bitter', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 16px; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.9vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
p { margin: 0 0 16px; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section.gallery, .section.how-we-work, .section.ceiling-types, .section.lighting-examples {
  background-image: linear-gradient(rgba(247,244,236,.9), rgba(247,244,236,.9)), url('/uploads/bg-sketch-2.jpg');
  background-size: cover; background-position: center;
}
.section.features, .section.promo-teaser, .section.calculator, .section.benefits {
  background-image: linear-gradient(rgba(247,244,236,.9), rgba(247,244,236,.9)), url('/uploads/bg-sketch-1.jpg');
  background-size: cover; background-position: center;
}
.section-lead { max-width: 60ch; color: #4A554F; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.muted { color: #6B756F; font-size: 0.9rem; }
.fine-print { font-size: 0.8rem; color: #6B756F; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border: 1px solid var(--ink); font-size: 0.95rem; font-family: var(--serif); transition: background .15s, color .15s; }
.btn-primary { background: #5B4FE5; border-color: #5B4FE5; color: #fff; }
.btn-primary:hover { background: #4A3FD1; border-color: #4A3FD1; }
.btn-primary:hover { background: #A17A34; }
.btn-full { width: 100%; box-sizing: border-box; text-align: center; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: btnShineSweep 3s ease-in-out infinite;
}
@keyframes btnShineSweep {
  0% { left: -60%; }
  35% { left: 130%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-shine::after { animation: none; display: none; }
}
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* Header */
.site-header { position: sticky; top: 0; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08); z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 24px; }
.brand { font-family: 'Neucha', cursive; font-size: 1.6rem; color: #4FB3D9; text-shadow: 0 0 8px rgba(79,179,217,.5); }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: #EDEAE0; }
.main-nav a:hover { color: var(--gold); }
.header-contact { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.phone { font-weight: 600; color: #fff; }
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1.5px solid rgba(255,255,255,.45); border-radius: 50%;
  cursor: pointer; color: #fff; padding: 0;
}
.burger svg { width: 18px; height: 18px; }

/* Hero — full-bleed background photo with overlay text, matches original site */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}
.hero-inner { position: relative; z-index: 1; padding: 60px 24px; max-width: 1000px; text-align: center; }
.hero h1 { color: #fff; font-family: var(--serif); font-weight: 700; }
@media (min-width: 860px) { .hero h1 { white-space: nowrap; } }
.hero-sub { color: #fff; max-width: 60ch; margin-left: auto; margin-right: auto; font-size: 1.15rem; font-weight: 600; font-family: var(--serif); }
.hero-cta { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.hero-cta a { text-align: center; flex: 1 1 0; min-width: 200px; }

@media (max-width: 860px) {
  .hero-cta { flex-direction: column; }
  .hero-cta a { width: 100%; box-sizing: border-box; }
}
.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.4rem; opacity: .8; z-index: 1; }
.float-call { position: fixed; right: 16px; bottom: 88px; z-index: 40; width: 48px; height: 48px; border-radius: 6px; background: none; border: 1.5px solid #2FB6A3; color: #2FB6A3; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 6px rgba(0,0,0,.15); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s ease, transform .4s ease; }
.float-call.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-call svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.float-call-ring { position: absolute; inset: 0; border-radius: 6px; border: 1.5px solid #2FB6A3; animation: floatCallPulse 2.4s ease-out infinite; }
.float-call-ring--delay { animation-delay: 1.2s; }
@keyframes floatCallPulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .float-call-ring { animation: none; display: none; }
}

.btn-pill { border-radius: 10px; border: none; padding: 15px 30px; font-weight: 500; transition: transform .08s ease, filter .15s ease; }
.btn-pill:active { transform: scale(.97); filter: brightness(.9); }
.btn-teal { background: #2FB6A3; color: #fff; box-shadow: 0 0 24px 5px rgba(255,255,255,.32), 0 0 20px 3px rgba(47,182,163,.4); }
.btn-teal:hover { background: #279c8b; }
.btn-blue { background: #3E8FD4; color: #fff; box-shadow: 0 0 24px 5px rgba(255,255,255,.32), 0 0 20px 3px rgba(62,143,212,.4); }
.btn-blue:hover { background: #337cb9; }

/* Intro band — dark strip right under hero, matches original layout */
.intro-band { background: var(--ink); color: #fff; text-align: center; padding: 56px 0; border-top: none; }
.intro-band h2 { color: #fff; max-width: 820px; margin: 0 auto 20px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.intro-price { font-family: var(--serif); font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.promo-teaser { text-align: center; }
.promo-teaser-tag { color: #D85A30; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); font-family: var(--serif); margin-bottom: 8px; }
.promo-teaser h2 { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 32px; }
.gallery-item { border-radius: 6px; overflow: hidden; }
.gallery-item img { aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; }

/* Promo banner */
.promo-banner { background: var(--sky-dark); color: #fff; text-align: center; }
.promo-banner h2, .promo-banner p { color: #fff; }
.promo-banner p { font-size: clamp(1.15rem, 2vw, 1.5rem); color: #F2C879; font-weight: 500; max-width: 640px; margin-left: auto; margin-right: auto; }
.promo-inner { padding: 8px 0; }
.promo-banner .btn-primary { margin-top: 8px; }
.promo-lines { max-width: 640px; margin: 0 auto; }
.promo-line { font-size: clamp(.82rem, 4vw, 1.3rem); font-weight: 500; color: #EAF0EC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0; }
.promo-highlight { color: var(--gold); font-weight: 700; }
.promo-banner .consent-label { color: #DDE5E1; }
.promo-banner .consent-label a { color: #fff; }
.countdown { display: flex; justify-content: center; gap: 20px; margin: 24px 0; }
.countdown-item { display: flex; flex-direction: column; align-items: center; }
.countdown-item span { font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1; }
.countdown-item small { color: #B8C2BC; font-size: .75rem; margin-top: 4px; }
.promo-form { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; }
.promo-form input { padding: 13px 16px; border: none; font-family: var(--sans); }
.promo-form-msg { color: #9FE1CB; font-size: .85rem; min-height: 1em; margin: 4px 0 0; }

/* Ceiling types */
.type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.type-row:last-child { border-bottom: none; }
.type-row.reverse { direction: rtl; }
.type-row.reverse > * { direction: ltr; }
.type-image img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.type-image:empty { display: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 32px; }
.step-num { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); margin-bottom: 8px; }

/* Features (icon grid) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; text-align: center; }
.feature-icon { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffffff 0%, #DCEDEA 75%, #C7E4DE 100%); box-shadow: 0 2px 10px rgba(29,158,117,.15); color: #1D9E75; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; overflow: hidden; }
.feature-icon svg { width: 30px; height: 30px; }
.feature-icon--img img { width: 58%; height: 58%; object-fit: contain; display: block; }
.feature h3 { font-size: 1rem; color: var(--sky-dark); margin-bottom: 6px; }
.feature p { font-size: .9rem; color: #4A554F; margin: 0; }

/* Benefits */
.benefits-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.benefits-list li { padding-left: 22px; position: relative; }
.benefits-list li::before { content: '—'; position: absolute; left: 0; color: var(--sky); }

/* Reviews */
.reviews-list { display: grid; gap: 32px; margin-top: 32px; }
.review { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.review img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.review-name { font-weight: 600; color: var(--sky-dark); }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0; text-align: center; }
.footer-inner { max-width: 560px; margin: 0 auto; }
.site-footer h2 { color: #fff; }
.site-footer p { color: #B8C2BC; }
.site-footer .btn-teal { display: inline-block; margin-top: 4px; }
.footer-icons { display: flex; justify-content: center; gap: 14px; margin: 32px 0 24px; }
.footer-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center; justify-content: center; }
.footer-icon svg { width: 20px; height: 20px; }
.footer-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; font-size: .9rem; }
.footer-nav a { color: #B8C2BC; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { color: #6B756F; font-size: .85rem; }


@media (max-width: 860px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; padding: 16px 24px; display: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav.open { display: flex; }
  .burger { display: block; }
  .header-contact .phone { display: none; }
  .header-contact .btn { display: none; }
  .burger { display: flex; }
  .hero { min-height: 520px; }
  .hero-inner { padding: 40px 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .type-row, .type-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .benefits-list { grid-template-columns: 1fr; }
  .review { grid-template-columns: 56px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Gallery — continuous flowing lane of work photos */
.gallery-frame { position: relative; overflow: hidden; margin-top: 28px; border-radius: 10px; }
.gallery-frame::before, .gallery-frame::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 1; pointer-events: none; }
.gallery-frame::before { left: 0; background: linear-gradient(90deg, #F7F4EC, transparent); }
.gallery-frame::after { right: 0; background: linear-gradient(270deg, #F7F4EC, transparent); }
.gallery-track { display: flex; gap: 10px; width: max-content; animation: galMarquee var(--gal-dur, 30s) linear infinite; }
.gallery-slide { flex: 0 0 auto; width: 300px; aspect-ratio: 16/10; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; }
@keyframes galMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}
@media (max-width: 480px) {
  .gallery-slide { width: 220px; }
}

.calc-box { position: relative; max-width: 560px; margin: 28px auto 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.section.lighting-examples h2 { text-align: center; }
.le-lane { position: relative; overflow: hidden; max-width: 720px; max-height: 300px; margin: 20px auto 0; aspect-ratio: 4 / 3; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.le-lane[data-role="result"] { transform: scaleX(-1); }
.le-lane[data-role="result"] .le-slide img { transform: scaleX(-1); }
.le-lane::before, .le-lane::after { content: ''; position: absolute; top: 0; bottom: 0; width: 13%; z-index: 1; pointer-events: none; }
.le-lane::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.le-lane::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.le-track { display: flex; height: 100%; }
.le-slide { flex: 0 0 74%; height: 100%; box-sizing: border-box; padding: 12px; }
.le-slide img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 10px; background: #fff; filter: blur(3px); opacity: .45; transition: filter .9s ease, opacity .9s ease; }
.le-slide.is-center img { filter: blur(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .le-track { transition: none !important; }
}
.section.calculator h2, .section.calculator .section-lead { text-align: center; }
.section.calculator .section-lead { margin-left: auto; margin-right: auto; }
.calc-bar { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 16px; overflow: hidden; }
.calc-bar-fill { height: 100%; background: var(--gold); transition: width .3s ease; width: 20%; }
.calc-discount { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.calc-discount span:first-child { font-size: .85rem; color: #6B756F; }
.calc-discount span:last-child { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.calc-question { font-weight: 600; display: block; margin-bottom: 14px; }
.calc-opt { display: block; width: 100%; text-align: left; padding: 13px 16px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-family: var(--sans); font-size: .95rem; color: var(--ink); }
.calc-opt[aria-pressed="true"] { border-color: var(--sky); background: #EAF2F6; color: var(--sky-dark); }
.calc-opt img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.calc-opts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-opts-grid .calc-opt { margin-bottom: 0; padding: 8px; text-align: center; }
.calc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.calc-nav--overlay { position: absolute; left: 16px; right: 16px; bottom: 16px; margin-top: 0; z-index: 2; }
.btn-glass { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.65); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.btn-glass:hover { background: rgba(255,255,255,.32); }
.calc-input { width: 100%; padding: 13px 16px; border: 1px solid var(--line); margin-bottom: 10px; font-family: var(--sans); }
.calc-err { color: #B23A3A; font-size: .85rem; margin-top: 4px; }
.calc-thanks { font-size: 1rem; }

/* Scroll reveal (approved style from the animations demo) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.calc-cover-lead { color: #4A554F; font-size: .95rem; margin: 0 0 4px; }
.promo-teaser-images { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.promo-teaser-images img { width: 260px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.calc-cover-img { width: calc(100% + 56px); max-width: none; margin: -28px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; display: block; }
.consent-label { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; color: #4A554F; margin: 4px 0; }
.consent-label input { margin-top: 3px; flex-shrink: 0; }
.consent-label a { text-decoration: underline; }
