/* =========================================================
   Shared local-trade business template — Winter Web Studio
   Each demo page sets its own theme via :root overrides
   (--brand, --brand-2, --accent, --ink, --paper, fonts, hero)
   ========================================================= */
:root {
  --brand: #0d4f8b;
  --brand-2: #0a3a66;
  --accent: #f97316;
  --ink: #16202b;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --muted: #5c6b7a;
  --line: #e4eaf1;
  --radius: 14px;
  --maxw: 1160px;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --hero-grad: linear-gradient(135deg, #0d4f8b, #0a3a66);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.soft { background: var(--soft); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, color .18s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---- Demo ribbon ---- */
.demo-ribbon { background: #0b1220; color: #cdd7e6; font-size: .82rem; text-align: center; padding: 8px 16px; font-family: var(--font-body); }
.demo-ribbon a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---- Top bar ---- */
.topbar { background: var(--brand-2); color: #fff; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; height: 40px; }
.topbar a { font-weight: 600; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; opacity: .92; }

/* ---- Header ---- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--brand); }
.logo .logo-mark { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--hero-grad); color: #fff; font-size: 1.25rem; }
.logo small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-weight: 600; font-size: .96rem; color: var(--ink); transition: color .18s; }
.site-nav a:hover { color: var(--brand); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 25px; height: 2.5px; background: var(--brand); border-radius: 3px; }

/* ---- Hero ---- */
.hero { position: relative; color: #fff; background: var(--hero-grad); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 45%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; margin-bottom: 18px; }
.hero p.lead { font-size: 1.16rem; opacity: .94; margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust div strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; }
.hero-trust div span { font-size: .82rem; opacity: .85; }
.hero-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 26px; backdrop-filter: blur(6px); }
.hero-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.hero-form { display: grid; gap: 11px; }
.hero-form input, .hero-form select { padding: 12px 14px; border-radius: 10px; border: 0; font-family: var(--font-body); font-size: .95rem; }
.hero-figure { aspect-ratio: 4/3; border-radius: 20px; display: grid; place-items: center; font-size: 5rem; box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }

/* ---- Trust strip ---- */
.trust-strip { background: var(--ink); color: #fff; }
.trust-strip .wrap { display: flex; justify-content: space-around; gap: 18px; flex-wrap: wrap; padding: 20px 22px; text-align: center; }
.trust-strip div { font-weight: 600; font-size: .96rem; display: flex; align-items: center; gap: 9px; }
.trust-strip .ico { color: var(--accent); font-size: 1.2rem; }

/* ---- Section heads ---- */
.head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.head .kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; margin-bottom: 12px; }
.head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; }
.head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ---- Services ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -28px rgba(13,32,53,.4); border-color: transparent; }
.svc .svc-ico { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; font-size: 1.6rem; background: var(--soft); color: var(--brand); margin-bottom: 16px; }
.svc h3 { font-size: 1.2rem; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: .97rem; }

/* ---- Why / about split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-figure { aspect-ratio: 5/4; border-radius: 20px; display: grid; place-items: center; font-size: 5rem; }
.split h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 16px; }
.checks { list-style: none; display: grid; gap: 13px; margin-top: 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery .shot { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 2.2rem; color: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.gallery .shot span { position: absolute; bottom: 10px; left: 12px; font-family: var(--font-display); font-size: .8rem; font-weight: 600; }

/* ---- Reviews ---- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.review .stars { color: #f6b73c; letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-size: 1rem; margin-bottom: 16px; }
.review .who { font-weight: 700; font-family: var(--font-display); }
.review .who span { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); }

/* ---- Service area ---- */
.area { text-align: center; }
.area .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.area .pills span { background: var(--soft); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; }

/* ---- CTA band ---- */
.cta-band { background: var(--hero-grad); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.cta-band p { opacity: .92; font-size: 1.1rem; margin-bottom: 26px; }
.cta-phone { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-top: 22px; }
.cta-phone a { text-decoration: none; }

/* ---- Footer ---- */
.site-foot { background: var(--ink); color: #aeb9c5; padding: 56px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-foot h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-foot .logo { color: #fff; margin-bottom: 14px; }
.site-foot a { display: block; padding: 5px 0; transition: color .18s; }
.site-foot a:hover { color: #fff; }
.foot-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }

/* ---- Reveal ---- */
.r { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.r.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .svc-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .topbar .tb-right .hide-sm { display: none; }
}
@media (max-width: 620px) {
  .site-nav { position: fixed; inset: 114px 0 auto 0; flex-direction: column; background: #fff; padding: 22px; gap: 16px; border-bottom: 1px solid var(--line); transform: translateY(-150%); transition: transform .3s; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  .site-nav.open { transform: none; }
  .site-nav .btn { width: 100%; }
  .nav-toggle { display: flex; }
  .svc-grid, .reviews, .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .r { opacity: 1; transform: none; }
}
