/* ================================
   K&B Commercial Cleaning 
   Author - Brent Lucas
================================ */

:root{
  --bg-dark: #0f1722;
  --bg-panel: #162131;
  --blue-primary: #1e6fff;
  --blue-soft: #2c8cff;
  --text-light: #e6f0ff;
  --text-muted: rgba(230,240,255,0.75);
  --border-soft: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg-dark);
  color: var(--text-light);
}

a{ color: inherit; }
img{ max-width: 100%; display:block; }
.container{ width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.site-nav{
  position: sticky; top: 0; z-index: 1000;
  background: rgba(15,23,34,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding: 16px 0; gap:14px; }
.brand{ font-weight: 900; letter-spacing: 0.4px; font-size: 1.08rem; text-decoration:none; white-space:nowrap; }

.nav-links{ list-style:none; display:flex; gap:18px; margin:0; padding:0; align-items:center; }
.nav-links a{
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover{ background: var(--bg-panel); color: #fff; }
.nav-cta{ background: var(--blue-primary); color:#fff !important; border-radius: 14px; padding: 10px 14px; }

.nav-toggle{ display:none; background:none; border: 1px solid var(--border-soft); border-radius: 12px; padding: 10px; cursor:pointer; }
.nav-toggle-bar{ width: 22px; height: 2px; background: #fff; margin: 5px 0; display:block; }

.btn{
  display:inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}
.btn.primary{ background: var(--blue-primary); color: #fff; }
.btn.primary:hover{ background: var(--blue-soft); transform: translateY(-1px); }
.btn.secondary{ border-color: var(--border-soft); background: rgba(255,255,255,0.06); color: var(--text-light); }
.btn.secondary:hover{ background: var(--bg-panel); transform: translateY(-1px); }

.hero{
  position: relative;
  overflow: hidden;
  padding: 90px 0 50px;

  
  background:
    linear-gradient(180deg, rgba(15,23,34,0.80) 0%, rgba(15,23,34,0.92) 70%, rgba(15,23,34,1) 100%),
    url("../images/hero/hero-split.jpg");
  background-size: cover;
  background-position: center;
}
.hero-grid{ display:grid; grid-template-columns: 1.4fr 0.6fr; gap: 30px; align-items: start; position: relative; z-index: 1; }

.hero h1{ font-size: clamp(34px, 4vw, 54px); line-height: 1.1; margin: 0 0 16px; }
.hero p{ margin: 0 0 20px; color: var(--text-muted); font-size: 1.05rem; }
.actions{ display:flex; gap: 12px; flex-wrap: wrap; }
.hero-card{ background: rgba(22,33,49,0.72); border: 1px solid var(--border-soft); padding: 20px; border-radius: 20px; backdrop-filter: blur(10px); }

.hero::before,
.hero::after{
  content:"";
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(30,111,255,0.90), rgba(30,111,255,0.00) 60%);
  animation: heroFloat 10s ease-in-out infinite;
}
.hero::before{ top: -220px; left: -220px; }
.hero::after{
  bottom: -260px; right: -240px;
  background: radial-gradient(circle at 60% 40%, rgba(44,140,255,0.85), rgba(44,140,255,0.00) 60%);
  animation-duration: 12s;
  animation-direction: reverse;
}
.hero .hero-shimmer{
  position:absolute; inset:0; z-index:0; pointer-events:none; opacity: 0.16;
  background: linear-gradient(120deg, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.00) 40%, rgba(255,255,255,0.00) 100%);
  background-size: 200% 100%;
  animation: heroShimmer 7s linear infinite;
}
@keyframes heroFloat{
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px, 30px) scale(1.05); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes heroShimmer{
  0%   { background-position: -120% 0; }
  100% { background-position: 120% 0; }
}

.section{ padding: 60px 0; }
.section-title{ font-size: 1.85rem; margin: 0 0 12px; }
.muted{ color: var(--text-muted); }

.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card{
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 24px;
  border-radius: 18px;
  transition: transform 0.2s ease;
}
.card:hover{ transform: translateY(-4px); }
.page-header{ padding: 42px 0 10px; }
.page-header h1{ margin: 0 0 10px; font-size: clamp(28px, 3.5vw, 44px); }
.page-header p{ margin: 0; color: var(--text-muted); }

.list{ display:grid; gap: 16px; }
.row{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 20px;
  border-radius: 20px;
  transition: transform 0.2s ease;
}
.row:hover{ transform: translateY(-3px); }

.row img.media{
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
}
.placeholder-img{
  height: 140px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a2a40, #1e6fff);
  display:grid;
  place-items:center;
  font-weight: 900;
  color:#fff;
  text-align:center;
  padding: 10px;
}

.ba{
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
}
.ba-head{
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.ba-head h3{ margin: 0; font-size: 1.05rem; }
.ba-head span{ color: var(--text-muted); font-size: 0.95rem; }

.ba-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
}
.ba-figure{
  position: relative;
  margin: 0;
}
.ba-figure img{
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.ba-tag{
  position:absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.9rem;
  background: rgba(15,23,34,0.75);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
}
.ba-tag.after{ background: rgba(30,111,255,0.20); }

.form-wrap{
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 24px;
  border-radius: 20px;
}
form{ display:grid; gap: 14px; }
label{ font-weight: 800; color: rgba(230,240,255,0.90); }
input, textarea, select{
  background: #101a28;
  border: 1px solid var(--border-soft);
  padding: 12px;
  border-radius: 14px;
  color: #fff;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus{ outline: none; border-color: var(--blue-primary); }

.alert{
  background: rgba(30,111,255,0.12);
  border: 1px solid rgba(30,111,255,0.55);
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(230,240,255,0.95);
}

.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-embed{
  width: 100%;
  height: 320px;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  margin-top: 10px;
}
.map-embed iframe{ width: 100%; height: 100%; border: 0; }


.footer{
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  text-align:center;
}

.mobile-actions{
  display:none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  gap: 12px;
}
.mobile-actions__btn{
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 1000;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.mobile-actions__btn--quote{ background: var(--blue-primary); color: #fff; }
.mobile-actions__btn--call{
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--border-soft);
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 1fr; }
  .row img.media{ height: 170px; }
  .placeholder-img{ height: 170px; }
  .contact-grid{ grid-template-columns: 1fr; }
  .ba-figure img{ height: 260px; }
}

@media (max-width: 720px){
  .hero{ padding: 64px 0 34px; }
  .section{ padding: 44px 0; }

  .btn{
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 1.05rem;
  }
  .actions{ gap: 10px; }

  .nav-toggle{ display:block; }
  .nav-links{
    position: fixed;
    left: 16px;
    right: 16px;
    top: 70px;
    background: var(--bg-panel);
    flex-direction: column;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    display: none;
    gap: 8px;
  }
  .nav-links.is-open{ display:flex; }
  .nav-links a{ padding: 12px 12px; border-radius: 14px; font-size: 1.05rem; }

  .mobile-actions{ display:flex; }
  .footer{ padding-bottom: 110px; }

  .map-embed{ height: 260px; }

  .ba-grid{ grid-template-columns: 1fr; }
  .ba-figure img{ height: 240px; }
}

.logo-nav {
    height: 70px;
    width: auto;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
}

.hero-banner{
  margin: 0 0 18px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.10);
}
.hero-banner img{
  width: 100%;
  height: auto;
  display: block;
}

.promo-call{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

.promo-media{
  display:flex;
  justify-content:center;
}

.promo-call img{
  width: min(560px, 100%);
  height: auto;
  border-radius: 12px;
  display:block;
}

.promo-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

@media (max-width: 720px){
  .promo-actions a{ width:100%; text-align:center; }
  .promo-call img{ width: 100%; }
}

.reviews-snippets{
  margin-bottom: 18px;
}

.reviews-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.review-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 14px;
}

.review-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 8px;
}

.reviewer{
  font-weight: 800;
}

.stars{
  letter-spacing: 1px;
  color: #f4c542;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

.review-text{
  margin: 0;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
}

.review-meta{
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.70);
}

.badge-google{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
}


.gmark{
  width: 14px;
  height: 14px;
  display:inline-block;
  position: relative;
  flex: 0 0 14px;
}

.gmark::before,
.gmark::after{
  content:"";
  position:absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.gmark::before{
  left:0;
  top:0;
  background:#4285F4; /* blue */
  box-shadow:
    8px 0 0 #EA4335,   /* red */
    0 8px 0 #34A853,   /* green */
    8px 8px 0 #FBBC05; /* yellow */
}

@media (max-width: 900px){
  .reviews-grid{ grid-template-columns: 1fr; }
}

/* --- FAQ --- */
.faq-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.faq-item{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
}

.faq-item summary{
  cursor:pointer;
  font-weight:800;
  list-style:none;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::after{
  content:"+";
  float:right;
  font-weight:900;
  opacity:0.9;
}

.faq-item[open] summary::after{
  content:"–";
}

.faq-answer{
  margin-top:10px;
  color: rgba(255,255,255,0.92);
  line-height:1.55;
}

@media (max-width: 900px){
  .faq-grid{ grid-template-columns: 1fr; }
}
