:root {
  --black: #030303;
  --black-2: #080808;
  --charcoal: #111111;
  --charcoal-2: #181818;
  --gold: #f4c84a;
  --gold-light: #ffe7a3;
  --gold-deep: #b77805;
  --cream: #fff7df;
  --muted: #d6c9aa;
  --line: rgba(244, 200, 74, 0.20);
  --line-strong: rgba(244, 200, 74, 0.42);
  --shadow: 0 30px 80px rgba(0,0,0,0.58);
  --radius: 24px;
  --max: 1200px;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 20% -10%, rgba(244, 200, 74, 0.13), transparent 32%),
    radial-gradient(circle at 80% 5%, rgba(183, 120, 5, 0.12), transparent 30%),
    linear-gradient(180deg, #050505 0%, #020202 46%, #090909 100%);
  color: white;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.section-pad { padding: 96px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3,3,3,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.46);
}
.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 250px; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line-strong); box-shadow: 0 0 24px rgba(244,200,74,.18); }
.brand strong { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; line-height: 1; }
.brand em { display: block; color: #fff; font-style: normal; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 900; font-size: .92rem; }
.nav-links a:not(.nav-call) { color: #f7f1dd; opacity: .94; }
.nav-links a:hover { color: var(--gold); }
.nav-call, .btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 52%, var(--gold-deep));
  color: #120d04;
  box-shadow: 0 0 34px rgba(244,200,74,.28);
}
.nav-call { border-radius: 999px; padding: 13px 18px; }
.mobile-menu-button { display:none; background:transparent; border:0; width:44px; height:44px; padding:8px; cursor:pointer; }
.mobile-menu-button span { display:block; height:3px; margin:6px 0; border-radius:99px; background:var(--gold); }

.hero { min-height: calc(100vh - var(--header-height)); position: relative; overflow: hidden; display: grid; align-items: center; }
.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.98), rgba(0,0,0,.78) 45%, rgba(0,0,0,.88)),
    url('assets/smart-home-exterior.webp') center/cover no-repeat;
  opacity: .92;
  z-index: -2;
}
.hero::after {
  content: "";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 70% 28%, rgba(244,200,74,.18), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,.12), #030303 98%);
}
.hero-grid, .safety-grid, .area-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  background: rgba(244,200,74,.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 1000;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 22px 0 22px;
  max-width: 760px;
  font-size: clamp(3.05rem, 7vw, 6.4rem);
  line-height: .91;
  letter-spacing: -.07em;
}
h1 span, h2, .service-number, .price strong { color: var(--gold); }
h2 { font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: .96; letter-spacing: -.06em; margin-bottom: 16px; }
h3 { letter-spacing: -.03em; }
.hero-text, .section-heading p, .safety p, .area-copy p, .contact-info p { color: var(--muted); line-height: 1.66; font-weight: 740; font-size: 1.03rem; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin: 30px 0 28px; }
.btn {
  min-height: 52px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 1000;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-secondary { color: var(--cream); background: rgba(255,255,255,.06); border-color: var(--line-strong); }
.full-width { width: 100%; }
.trust-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 680px; }
.trust-cards article { background: rgba(0,0,0,.54); border: 1px solid var(--line); border-radius: 16px; padding: 17px; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.trust-cards strong { display:block; color:var(--gold); font-size:1.08rem; margin-bottom:8px; }
.trust-cards span { color:var(--muted); font-size:.84rem; font-weight:800; line-height:1.4; }
.hero-showcase { position: relative; }
.gold-frame {
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,231,163,.62), rgba(244,200,74,.14), rgba(183,120,5,.52));
  box-shadow: var(--shadow), 0 0 60px rgba(244,200,74,.12);
}
.gold-frame img { border-radius: 20px; aspect-ratio: 3 / 2; object-fit: cover; width:100%; }
.floating-badge {
  position: absolute;
  right: -12px;
  bottom: -18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(0,0,0,.88);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.floating-badge strong { color: var(--gold); display:block; font-size:1.1rem; }
.floating-badge span { color:var(--cream); font-weight:900; }

.section-heading { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.services-section { background: linear-gradient(180deg, #030303, #0b0b0b 48%, #030303); }
.service-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #171717, #090909);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.service-card::before {
  content: "";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(135deg, rgba(244,200,74,.13), transparent 34%);
  opacity: .8;
}
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid rgba(244,200,74,.18); }
.service-content { position: relative; padding: 24px; }
.service-number { display:block; font-weight:1000; letter-spacing:.18em; font-size:.75rem; margin-bottom: 12px; }
.service-card h3 { color: var(--gold); font-size: 1.5rem; line-height: 1.08; margin-bottom: 11px; }
.service-card p { color: #f4edda; line-height: 1.55; font-weight: 760; margin-bottom: 0; }
.service-card-wide { grid-column: span 3; display:grid; grid-template-columns: 1.35fr .9fr; }
.service-card-wide img { height: 100%; min-height: 340px; }
.service-card-wide .service-content { align-self: center; padding: 36px; }
.service-card-wide h3 { font-size: clamp(2rem, 4vw, 3.2rem); }

.safety {
  background:
    radial-gradient(circle at 80% 30%, rgba(244,200,74,.13), transparent 25%),
    linear-gradient(135deg, #0c0c0c, #030303);
  border-top: 1px solid rgba(244,200,74,.10);
  border-bottom: 1px solid rgba(244,200,74,.10);
}
.check-list { list-style:none; padding:0; margin: 26px 0 30px; display:grid; gap: 14px; }
.check-list li { position:relative; padding-left: 42px; color: #fff; font-weight: 890; line-height: 1.45; }
.check-list li::before {
  content: "✓";
  position:absolute;
  left:0;
  top:-3px;
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color:#120d04;
  border-radius: 50%;
  font-weight: 1000;
}
.feature-panel { overflow:hidden; border-radius: 26px; background:#070707; border:1px solid var(--line); box-shadow:var(--shadow); }
.feature-panel img { width:100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-panel div { padding: 22px 24px 24px; }
.feature-panel strong { color: var(--gold); display:block; font-size:1.4rem; margin-bottom:8px; }
.feature-panel span { color: var(--muted); font-weight: 850; }

.packages { background: linear-gradient(180deg, #030303, #0b0b0b, #030303); }
.package-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.package-card, .steps article, .faq-grid article, .contact-card {
  background: linear-gradient(180deg, rgba(23,23,23,.98), rgba(7,7,7,.98));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.package-card { padding: 30px; }
.package-card.featured { border: 2px solid var(--gold); transform: translateY(-10px); box-shadow: 0 0 0 1px rgba(244,200,74,.12), var(--shadow); }
.badge { display:inline-flex; color: var(--gold); text-transform: uppercase; letter-spacing:.09em; font-size:.72rem; font-weight:1000; border:1px solid var(--line-strong); background: rgba(244,200,74,.09); padding: 8px 11px; border-radius:999px; margin-bottom: 18px; }
.package-card h3 { color: var(--gold); font-size: 1.7rem; line-height:1.08; margin-bottom: 12px; }
.price { font-weight:900; color: var(--cream); }
.price strong { font-size:2.1rem; }
.package-card p, .steps p, .faq-grid p { color: #f4edda; line-height:1.58; font-weight:760; }
.package-card ul { margin: 22px 0 0; padding-left: 18px; color: #fff; font-weight: 820; line-height: 1.82; }

.process { background: #050505; }
.steps { display:grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps article { padding: 24px; }
.steps span { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; color:#120d04; background: linear-gradient(135deg, var(--gold-light), var(--gold)); font-weight:1000; margin-bottom:18px; }
.steps h3, .faq-grid h3 { color: var(--gold); font-size: 1.35rem; margin-bottom: 10px; }

.service-area { background: linear-gradient(180deg, #090909, #030303); }
.area-copy { max-width: 520px; }
.faq-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq-grid article { padding: 24px; }

.contact-section { background: radial-gradient(circle at 50% 0%, rgba(244,200,74,.10), transparent 28%), #030303; }
.contact-card { overflow:hidden; display:grid; grid-template-columns: .95fr 1.05fr; }
.contact-info, .quote-box { padding: clamp(28px, 5vw, 48px); }
.contact-info dl { display:grid; gap: 18px; margin: 32px 0 0; }
.contact-info dt { color: var(--gold); text-transform: uppercase; font-size:.8rem; letter-spacing:.12em; font-weight:1000; }
.contact-info dd { margin: 4px 0 0; color:#fff; font-weight:950; }
.quote-box { display:grid; gap:16px; background: rgba(244,200,74,.045); border-left: 1px solid var(--line); }
.quote-box label { display:grid; gap:8px; color:#fff; font-weight:900; }
input, select, textarea { width:100%; border:1px solid rgba(244,200,74,.22); background: rgba(0,0,0,.62); color:#fff; border-radius:14px; padding:15px 16px; font:inherit; font-weight:760; outline:none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,200,74,.12); }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.62); }
textarea { min-height: 120px; resize: vertical; }
.form-note { margin: -2px 0 0; color: var(--muted); font-size: .86rem; font-weight: 820; }

.footer { border-top:1px solid var(--line); padding: 34px 0 48px; background:#020202; }
.footer-inner { text-align:center; color: var(--muted); font-size:.88rem; font-weight:800; line-height:1.55; }
.footer img { width: 74px; height: 74px; object-fit: cover; border-radius:50%; margin: 0 auto 16px; border:1px solid var(--line-strong); }
.footer p { margin: 6px 0; }

.reveal { animation: rise .8s ease both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
@keyframes rise { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .hero-grid, .safety-grid, .area-grid, .contact-card { grid-template-columns: 1fr; }
  .service-grid, .package-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .package-card.featured { transform: none; }
  .quote-box { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --header-height: 78px; }
  .mobile-menu-button { display:block; }
  .nav-links { position: fixed; inset: var(--header-height) 0 auto 0; display:none; flex-direction:column; align-items:stretch; gap:12px; padding: 22px 18px 28px; background: rgba(3,3,3,.98); border-bottom:1px solid var(--line); }
  .nav-links.open { display:flex; }
  .nav-links a { background: rgba(255,255,255,.045); border:1px solid var(--line); padding: 14px 16px; border-radius: 14px; }
  .nav-call { text-align:center; }
}

@media (max-width: 680px) {
  .container { width: min(var(--max), calc(100% - 26px)); }
  .section-pad { padding: 68px 0; }
  .brand { min-width:auto; }
  .brand span { display:none; }
  .brand img { width:52px; height:52px; }
  h1 { font-size: clamp(2.75rem, 16vw, 4.8rem); }
  .hero-actions, .trust-cards, .service-grid, .package-grid, .steps, .faq-grid { grid-template-columns:1fr; }
  .hero-actions { display:grid; }
  .btn { width:100%; }
  .service-card-wide { grid-column: span 1; }
  .service-card-wide img { min-height: auto; }
  .floating-badge { position: static; margin-top: 14px; }
}

/* MOBILE SERVICE CARD FIX
   Keeps the uploaded black/gold banner images from being cropped badly on phones
   and forces the Home Automation card text to sit underneath the image.
*/
@media (max-width: 680px) {
  #services {
    overflow-x: hidden;
  }

  .service-grid {
    gap: 22px;
  }

  .service-card,
  .service-card-wide {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .service-card img,
  .service-card-wide img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center;
    background: #000;
    border-bottom: 1px solid rgba(244, 200, 74, 0.22);
  }

  .service-content,
  .service-card-wide .service-content {
    position: relative;
    display: block;
    padding: 22px !important;
    background: linear-gradient(180deg, #141414, #080808);
    z-index: 2;
  }

  .service-card h3,
  .service-card-wide h3 {
    font-size: 1.85rem !important;
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .service-card p,
  .service-card-wide p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .service-number {
    margin-bottom: 10px;
  }
}
