:root {
  --navy: #0b2744;
  --navy-2: #081c33;
  --blue: #1d6fd4;
  --blue-2: #1557a8;
  --gold: #c9a227;
  --text: #1b2430;
  --muted: #5b6775;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --card: #ffffff;
  --line: #e5ebf2;
  --header: #ffffff;
}
html.dark {
  --navy: #071525;
  --navy-2: #050f1c;
  --blue: #4d94ea;
  --blue-2: #2f74c8;
  --gold: #e0bc4a;
  --text: #e8eef6;
  --muted: #9aabbd;
  --bg: #0c1622;
  --bg-soft: #122033;
  --card: #152538;
  --line: #24364c;
  --header: #0f1c2c;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
.font-serif { font-family: "Playfair Display", Georgia, serif; }
.topbar { background: var(--navy); }
.site-header {
  background: var(--header);
  border-bottom: 1px solid var(--line);
}
.hero {
  min-height: 78vh;
  background:
    linear-gradient(180deg, rgba(8, 22, 40, .55), rgba(8, 22, 40, .62)),
    url("../img/hero.jpg") center/cover no-repeat;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-2); }
.btn-navy { background: var(--navy); color: #fff; }
.card-soft {
  background: var(--card);
  border: 1px solid var(--line);
}
.price-chip {
  background: rgba(29, 111, 212, .1);
  color: var(--blue);
}
html.dark .price-chip { background: rgba(77, 148, 234, .16); }
.warranty-ribbon {
  background: var(--gold);
  color: #1a1403;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.share-btn { border: 1px solid var(--line); }
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: inherit;
}
.share-icon:hover { background: var(--blue); color: #fff; }
input, textarea, select {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}
.estimate-wrap {
  background:
    radial-gradient(circle at top, rgba(29,111,212,.16), transparent 55%),
    var(--bg-soft);
}
.estimate-card {
  background: var(--card);
  border: 2px solid var(--blue);
  box-shadow: 0 18px 40px rgba(11, 39, 68, .12);
}
html.dark .estimate-card {
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.estimate-input {
  background: #fff;
  border: 2px solid var(--line);
  min-height: 48px;
}
html.dark .estimate-input {
  background: #0f1c2c;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 14, 24, .92);
  padding: 24px;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-cap {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 700;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--blue); }
body.lightbox-open { overflow: hidden; }
.estimate-input:focus {
  outline: 3px solid rgba(29,111,212,.35);
  border-color: var(--blue);
}
.admin-shell { background: #0e1a2b; }
@media (max-width: 768px) {
  .hero { min-height: 86vh; }
}
