
:root{
  --bg:#D7D7D7;
  --surface:#FFFFFF;
  --text:#111111;
  --muted:#555555;
  --border:#E2E2E2;
  --plum:#4B1F3F; /* Darkwing Purple */
  --plum-dark:#34162B;
  --radius:22px; /* Option B */
  --shadow:0 12px 28px rgba(0,0,0,.10);
  --max:1100px;
  --pad:20px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{color:inherit; text-decoration:none;}
a:hover{text-decoration:underline;}
img{max-width:100%; height:auto;}

.container{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#C8C8C8;
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.2px;
}
.brand-name{color:var(--plum); white-space:nowrap;}
.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}
.nav a:hover{
  color:var(--text);
  background:rgba(0,0,0,.04);
  text-decoration:none;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  background:var(--plum);
  color:#fff;
  font-weight:800;
  border:1px solid var(--plum);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.btn:hover{filter:brightness(1.03); text-decoration:none;}
.btn:active{transform:translateY(1px);}
.btn-secondary{
  background:var(--plum);
  color:#fff;
  border:1px solid var(--plum);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.btn-small{padding:10px 14px; border-radius:12px;}
.btn-full{width:100%;}
.btn-row{display:flex; gap:12px; flex-wrap:wrap;}

.section{padding:54px 0;}
.section-tight{padding:26px 0;}
.section-head h2{margin:0 0 8px; font-size:1.8rem;}
.section-head p{margin:0; color:var(--muted); max-width:70ch;}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:var(--pad);
}

/* HERO */
.hero{
  position:relative;
  padding:48px 0 38px;
  background-image:url("images/composite-deck-before-after-macomb-mi.png");
  background-size:cover;
  background-position:center;
  color:#fff;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.70); /* 70% overlay */
}
.hero .container{position:relative;}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:start;
}
.hero-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
  padding:10px 0;
}
.hero-logo{
  width:min(420px, 92%);
  height:auto;
}

.hero-title{
  margin: 10px 0 8px;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}
.hero-tagline{
  margin:0;
  color:rgba(255,255,255,.92);
  font-size:1.05rem;
  max-width:55ch;
}
.hero-trust{
  margin:0;
  color:rgba(255,255,255,.90);
  font-weight:700;
  font-size:.98rem;
}
.hero-form{
  background:var(--plum);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius);
  box-shadow:0 18px 44px rgba(0,0,0,.25);
  padding:var(--pad);
  justify-self:end;
  max-width:440px;
  width:100%;
  margin-right:6px;
}
.hero-form h2{margin:0 0 6px;}
.hero-form p{margin:0 0 14px; color:rgba(255,255,255,.90);}

.form{display:grid; gap:12px; margin-top:8px;}
label{display:grid; gap:6px; font-weight:800; color:#fff;}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  color:#111;
  outline:none;
}
input:focus, textarea:focus{
  border-color:rgba(255,255,255,.55);
  box-shadow:0 0 0 4px rgba(255,255,255,.18);
}
.fineprint{margin:10px 0 0; color:rgba(255,255,255,.88); font-size:.92rem;}
.fineprint a{text-decoration:underline;}

.hero .btn-row{justify-content:center;}
.hero .btn{
  box-shadow:none;
}
.hero .btn-secondary{
  background:var(--plum);
  color:#fff;
  border:1px solid var(--plum);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.hero .btn-secondary:hover{filter:brightness(1.03); text-decoration:none;}

/* Media Tiles (4:3, consistent site-wide) */
.media-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.media-tile{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow);
  aspect-ratio:4/3;
}
.media-tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Services */
.services-list{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px 18px;
  padding-left:18px;
  margin:14px 0 0;
}
.services-list li{margin:4px 0;}
.reassure{margin:14px 0 0; color:var(--muted);}

/* About */
.about-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  align-items:start;
}
.about-card{padding:var(--pad);}

/* Footer */
.site-footer{
  padding:26px 0 40px;
  color:var(--muted);
}
.footer-inner{
  border-top:1px solid var(--border);
  padding-top:18px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* Gallery */
.gallery-head{
  padding:34px 0 18px;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.gallery-grid a{display:block;}
.gallery-grid .media-tile{cursor:zoom-in;}

/* Lightbox (gallery only) */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
  padding:18px;
}
.lightbox.is-open{display:flex;}
.lightbox-inner{
  position:relative;
  width:min(1100px, 100%);
}
.lightbox-img{
  width:100%;
  max-height:82vh;
  object-fit:contain;
  display:block;
  border-radius:18px;
}
.lb-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.35);
  color:#fff;
  width:48px;
  height:48px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:20px;
}
.lb-btn:hover{background:rgba(255,255,255,.10);}
.lb-prev{left:-10px;}
.lb-next{right:-10px;}
.lb-close{
  position:absolute;
  top:-10px;
  right:-10px;
  transform:none;
  font-size:18px;
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-form{justify-self:stretch; max-width:none; margin-right:0;}
  .about-grid{grid-template-columns:1fr;
  }
  .media-grid{grid-template-columns: repeat(2, 1fr);}
  .gallery-grid{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 560px){
  .nav{gap:6px;}
  .media-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr;}
  .services-list{grid-template-columns:1fr;}
  .lb-prev{left:6px;}
  .lb-next{right:6px;}
  .lb-close{top:6px; right:6px;}
}
/* Trust badge (Angi/HomeAdvisor) */
.trust-badge{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:24px auto 4px;
  text-align:center;
}
.trust-badge__img{
  width:140px;
  height:auto;
  display:block;
}
.trust-badge__text a{
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.trust-badge__text a:hover{filter:brightness(1.05);}
.trust-badge__text a:hover{
  text-decoration: underline;
}
.about-trustline{
  margin-top: 14px;
}
.about-trustline a{
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}


/* Mailboxes page */
.mailbox-splash{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:var(--bg);
  padding:60px 0 40px;
}
.mailbox-splash .splash-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.mailbox-splash .splash-line{
  font-size:clamp(34px, 7vw, 56px);
  font-weight:900;
  letter-spacing:-0.02em;
  line-height:1.05;
  color:var(--plum);
}
.mailbox-splash .splash-sub{
  font-size:clamp(28px, 6vw, 46px);
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.05;
  color:var(--plum);
}
.mailbox-splash .splash-logo{
  width:min(72vw, 320px);
  height:auto;
  display:block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.12));
}

.mailbox-intro{
  padding:26px 0 12px;
}
.mailbox-intro-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:start;
}
.specs-img{
  width:100%;
  height:auto;
  display:block;
  max-height:620px;
  object-fit:contain;
}
.mailbox-section{
  padding:26px 0 10px;
}
.mailbox-cta{
  padding:26px 0 46px;
}
.mailbox-cta .cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
@media (max-width: 860px){
  .mailbox-intro-grid{grid-template-columns:1fr;}
}
