
:root {
  --bg: #070a0e;
  --panel: #101820;
  --panel2: #14232e;
  --blue: #145b8d;
  --blue-hover: #1f7cb8;
  --blue-glow: #6ec6ff;
  --white: #f5faff;
  --muted: #b0c2ce;
  --line: #243d4e;
  --ice: #0a2d46;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
.container { width: min(1160px, 92%); margin: auto; }
.topbar {
  background: #000;
  padding: 8px 0;
  color: #cde1ee;
  font-size: 0.86rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a, a { color: #8ad2ff; }

/* Crisp White Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: #ffffff;
  border-bottom: 2px solid #e1e9f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  width: 220px;
  height: 75px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  color: #102030;
  font-size: 0.94rem;
  font-weight: 800;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  border-radius: 5px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.94rem;
  box-shadow: 0 0 16px rgba(20, 91, 141, 0.35);
  transition: 0.2s;
}
.btn:hover { background: var(--blue-hover); }
.btn-outline {
  background: transparent;
  border: 1px solid #bde5fc;
  box-shadow: none;
}
.btn-outline:hover {
  background: #fff;
  color: #070a0e !important;
}
.menu-toggle {
  display: none;
  color: #102030;
  background: transparent;
  border: 1px solid #a4b6c3;
  border-radius: 4px;
  padding: 7px 11px;
  font-size: 1.25rem;
  cursor: pointer;
}
.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #020508ee, #061019b8 48%, #06101938), url('assets/accent-security-01.png') center/cover;
}
.hero-paver {
  min-height: 520px;
  background: linear-gradient(90deg, #020508ee, #061019b8 48%, #06101938), url('assets/paver-driveway-1.jpg') center/cover;
}
.eyebrow, .kicker {
  color: #7ccdfa;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 10px;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.03;
  max-width: 820px;
  margin: 0 0 18px;
}
p.hero-lead {
  color: #dceef9;
  font-size: 1.13rem;
  max-width: 660px;
  margin: 0 0 24px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 35px;
  color: #def0fb;
  font-size: 0.9rem;
}
.trust-badges span {
  border-left: 3px solid #61c1f8;
  padding-left: 9px;
}
.section { padding: 78px 0; }
.section-soft { background: #0c131a; }
.section-dark { background: #04070a; }
h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 14px;
}
.lead {
  max-width: 790px;
  color: var(--muted);
  font-size: 1.07rem;
  margin: 0 0 32px;
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.card h3 { margin: 0 0 9px; }
.card p { margin: 0 0 15px; color: var(--muted); }
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}
.link-more {
  font-weight: 900;
  text-decoration: none;
  color: #8ad2ff;
}

/* Feature cards */
.feature-card {
  background: #0d151d;
  border: 1px solid #243d4e;
  border-radius: 10px;
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: #55baf1;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: inline-block;
}
.feature-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 10px;
}
.feature-card p {
  color: #b0c2ce;
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.5;
}

.checks { list-style: none; padding: 0; margin: 20px 0; }
.checks li {
  margin: 11px 0;
  padding-left: 28px;
  position: relative;
  color: #d1e0e9;
}
.checks li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6bcaff;
  font-weight: 900;
}
.estimator-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}
.estimator-card h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.full { grid-column: 1 / -1; }
label {
  font-weight: 800;
  font-size: 0.86rem;
  display: block;
  margin: 0 0 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #7699ad;
  border-radius: 4px;
  color: #0b1720;
  background: #f7fbff;
  font: inherit;
}
textarea { min-height: 115px; resize: vertical; }
.estimate-result {
  margin-top: 18px;
  border-left: 5px solid #55baf1;
  background: var(--ice);
  padding: 16px;
  border-radius: 4px;
  color: #e7f7ff;
}
.estimate-result strong {
  display: block;
  font-size: 1.35rem;
  margin: 4px 0;
  color: #a3e2ff;
}
.fine { color: #91a9b9; font-size: 0.81rem; margin-top: 10px; }
.ba {
  height: 335px;
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.ba img {
  height: 335px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.ba .after {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #fff;
}
.ba .after img { max-width: none; }
.ba input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 6;
  cursor: ew-resize;
}
.ba .line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 4;
}
.ba .handle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  background: #fff;
  color: #0d2c43;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: bold;
}
.tag {
  position: absolute;
  top: 14px;
  z-index: 7;
  background: rgba(0, 0, 0, 0.75);
  padding: 5px 8px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 0.74rem;
}
.tag.before { left: 14px; }
.tag.aftertag { right: 14px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #000;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.tile:hover img { transform: scale(1.05); }
.tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 13px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-weight: bold;
  font-size: 0.92rem;
}
.contact-box {
  background: #04070a;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 27px;
}
.form-status {
  display: none;
  margin: 0;
  padding: 11px 13px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}
.form-status.is-sending,
.form-status.is-success,
.form-status.is-error { display: block; }
.form-status.is-sending {
  color: #dcebf5;
  background: #143246;
}
.form-status.is-success {
  color: #dff7e8;
  background: #17452d;
}
.form-status.is-error {
  color: #ffe4e4;
  background: #652d34;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.thank-you-main {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 72px 0;
}
.thank-you-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 46px;
  text-align: center;
  background: linear-gradient(145deg, #0c141c, #102635);
  border-color: #2a4a5e;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}
.thank-you-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  color: #07131a;
  background: var(--accent);
  border-radius: 50%;
}
.thank-you-icon svg { width: 34px; height: 34px; }
.thank-you-card h1 {
  margin-bottom: 15px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.15rem);
}
.thank-you-card .lead { margin: 0 auto 28px; }
.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.areas-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}
.areas-wrap span {
  background: #143246;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: bold;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.faq summary { font-weight: 900; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.footer {
  background: #000;
  padding: 45px 0 20px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 26px;
}
.footer h3 { color: #fff; margin-top: 0; }
.footer a {
  display: block;
  margin: 7px 0;
  text-decoration: none;
  color: #c9e0ef;
}
.copyright {
  border-top: 1px solid #1a2f3e;
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.82rem;
}
@media (max-width: 850px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid #e1e9f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 18px 4%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links a { color: #102030; }
  .nav-links.open { display: flex; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .topbar .container { justify-content: center; text-align: center; }
  .grid-2, .grid-3, .grid-4, .form-grid, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero, .hero-paver { min-height: 540px; }
  .cta-row { display: block; }
  .cta-row .btn { display: block; text-align: center; margin: 8px 0; }
  .thank-you-card { padding: 32px 22px; }
  .thank-you-actions .btn { width: 100%; }
  .ba, .ba img { height: 270px; }
  .logo img { width: 185px; }
}
