/*
Theme Name: Budget Roof Pros
Theme URI: https://example.com/
Author: Budget Roof Pros
Description: High-converting roofing landing page styled for Google Ads. Includes hero, offer bar, services, estimate form, FAQ, and compliant footer.
Version: 1.1
Text Domain: budget-roof-pros
*/

:root{
  --navy:#0b2348;
  --navy2:#081a36;
  --steel:#123a6b;
  --yellow:#f5c400;
  --yellow2:#ffda3a;
  --text:#0f172a;
  --muted:#5b677a;
  --bg:#f2f5fb;
  --card:#ffffff;
  --border:#e7edf7;
  --shadow:0 12px 28px rgba(5, 18, 41, .18);
  --radius:14px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
/* Top header */
.topbar{
  background: linear-gradient(180deg, var(--navy), var(--navy2));
  color:#fff;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px; text-decoration:none;
}
.brand .mark{
  width:46px; height:46px; border-radius:10px;
  background: radial-gradient(90% 90% at 30% 30%, var(--yellow2), var(--yellow));
  display:grid; place-items:center;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.brand .name{
  font-weight:900; letter-spacing:.4px; line-height:1.05;
}
.brand .name .top{font-size:18px}
.brand .name .bottom{font-size:14px; color: rgba(255,255,255,.85); font-weight:800}
.actions{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-end;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:10px;
  text-decoration:none;
  font-weight:800;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color:#fff;
}
.btn:hover{filter:brightness(1.05)}
.btn.call{background: rgba(255,255,255,.12)}
.btn.primary{
  background: linear-gradient(180deg, var(--yellow2), var(--yellow));
  color:#1b2a44;
  border-color: transparent;
}
/* Secondary nav links */
.subnav{
  border-top:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
}
.subnav .links{
  display:flex; gap:18px; flex-wrap:wrap;
  padding:10px 0;
  color: rgba(255,255,255,.86);
  font-weight:700;
  font-size:13px;
}
.subnav .links span{opacity:.85}
/* Hero */
.heroWrap{padding:18px 0 0}
.heroCard{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroTop{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:0;
}
@media (max-width: 940px){
  .heroTop{grid-template-columns:1fr}
}
.heroLeft{padding:22px 22px 18px}
.ribbon{
  display:inline-flex; gap:10px; align-items:center;
  background: #0e3c72;
  color:#fff;
  border-radius:10px;
  padding:10px 12px;
  font-weight:900;
  font-size:13px;
}
.h1{
  margin:14px 0 10px;
  font-size:40px;
  line-height:1.08;
  color:#0b2a52;
  letter-spacing:-.4px;
}
@media (max-width:520px){ .h1{font-size:32px} }
.heroLeft .sub{
  color: var(--muted);
  font-weight:650;
  margin:0 0 10px;
}
.heroLeft .copy{
  color:#394559;
  margin:0 0 12px;
  font-size:14px;
}
.heroRight{
  position:relative;
  min-height:280px;
  background:#0b2348;
}
.heroRight img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* Offer bar */
.offer{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px 18px;
  background: linear-gradient(180deg, #0b2348, #071a33);
  color:#fff;
}
.offer strong{font-size:16px}
.offer .fine{font-size:12px; opacity:.85}
.offer .btn{border-color: rgba(255,255,255,.22)}
/* Mid grid */
.mid{
  display:grid;
  grid-template-columns: .9fr 1fr .95fr;
  gap:16px;
  padding:16px 18px 18px;
  background: #f6f8fd;
}
@media (max-width: 1000px){
  .mid{grid-template-columns:1fr}
}
.panel{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(5,18,41,.10);
  overflow:hidden;
}
.panel .ph{padding:14px 14px 10px; border-bottom:1px solid var(--border); background:#fbfcff}
.panel .ph .tag{
  display:flex; gap:10px; align-items:center;
  font-weight:900; color:#0b2a52;
}
.iconMark{
  width:34px; height:34px; border-radius:10px;
  background: linear-gradient(180deg, var(--yellow2), var(--yellow));
  display:grid; place-items:center; color:#1b2a44; font-weight:1000;
}
.panel .pb{padding:14px}
.serviceItem{padding:12px 0; border-bottom:1px solid var(--border)}
.serviceItem:last-child{border-bottom:none}
.serviceItem h3{margin:0 0 4px; font-size:16px; color:#0b2a52}
.serviceItem p{margin:0; color: var(--muted); font-size:13px}
/* Center block */
.centerImg{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}
.centerTitle{margin:10px 0 8px; color:#0b2a52; font-weight:950}
.checks{
  display:grid; grid-template-columns:1fr 1fr; gap:8px 14px;
  color:#334155; font-weight:700; font-size:13px;
}
@media (max-width:520px){ .checks{grid-template-columns:1fr} }
.checks span::before{content:"✓ "; color:#1a7f37; font-weight:900}
/* Form */
.formHead{
  background:#0e3c72;
  color:#fff;
  padding:12px 14px;
  font-weight:950;
}
.formBody{padding:14px}
.field{margin:10px 0}
input, select, textarea{
  width:100%;
  padding:11px 12px;
  border-radius:10px;
  border:1px solid #d9e3f3;
  background:#fff;
  font-size:14px;
}
textarea{min-height:82px; resize:vertical}
.consent{display:flex; gap:10px; align-items:flex-start; margin-top:10px; color:#475569; font-size:12px}
.consent input{width:auto; margin-top:2px}
.formBtn{
  width:100%;
  margin-top:10px;
  padding:12px 14px;
  border-radius:10px;
  border:none;
  font-weight:950;
  background: linear-gradient(180deg, #0e3c72, #0b2a52);
  color:#fff;
  cursor:pointer;
}
.formBtn:hover{filter:brightness(1.05)}
/* FAQ + bottom CTA */
.faq{
  padding:0 18px 18px;
  background:#f6f8fd;
}
.faqBox{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(5,18,41,.10);
  padding:14px;
}
.faqBox h2{margin:0 0 10px; color:#0b2a52}
.faqBox ul{margin:0; padding-left:18px; color:#334155; font-weight:650}
.faqBox li{margin:8px 0}
.bottomCta{
  margin-top:14px;
  background: linear-gradient(180deg, var(--navy), var(--navy2));
  border-radius: var(--radius);
  color:#fff;
  padding:16px;
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.bottomCta .msg{font-weight:900}
.bottomCta .btn{padding:12px 14px}
/* Footer */
.siteFooter{
  background: linear-gradient(180deg, #e9f0fb, #dfe9f8);
  border-top:1px solid #d7e3f6;
  padding:18px 0 40px;
  color:#23324a;
}
.siteFooter .meta{
  display:flex; gap:14px; flex-wrap:wrap; justify-content:center;
  font-weight:800;
  color:#0b2a52;
}
.siteFooter .meta span{opacity:.9}
.siteFooter .small{
  text-align:center; margin-top:10px; color:#334155; font-weight:650; font-size:13px;
}
.siteFooter a{color:#0e3c72; text-decoration:none; font-weight:900}
.siteFooter a:hover{text-decoration:underline}
/* Mobile sticky */
.stickyCall{
  position:fixed; left:14px; right:14px; bottom:14px;
  display:none; z-index:999;
}
@media (max-width: 940px){
  .stickyCall{display:block}
  .stickyCall a{width:100%; box-shadow: var(--shadow)}
}
