/* Charleston Crawl Space Pros — modern landing style */
:root{
  --max: 1120px;
  --pad: 18px;

  --bg: #f7fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #334155;

  --border: 1px solid rgba(15, 23, 42, .10);
  --shadow: 0 18px 45px rgba(15, 23, 42, .10);
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, .10);

  --radius: 18px;
  --radius-sm: 14px;

  --primary: #0ea5e9;
  --primary2:#0284c7;
  --accent: #22c55e;

  --ring: 0 0 0 4px rgba(14,165,233,.22);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(34,197,94,.12), transparent 55%),
    var(--bg);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
.small{font-size:13px;color:rgba(15,23,42,.75)}
.muted{color:rgba(15,23,42,.75)}

header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
}
.nav{
  display:flex;gap:14px;align-items:center;justify-content:space-between;
  padding:12px 0;
}
.brand{
  display:flex;gap:10px;align-items:center;
}
.logo{
  width:38px;height:38px;border-radius:12px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: var(--shadow-sm);
  color:#fff;
  display:grid;place-items:center;
  font-weight:800;
  letter-spacing:.2px;
}
.brand .name{font-weight:850;letter-spacing:-.2px}
.brand .tag{display:block;font-size:12.5px;color:rgba(15,23,42,.7);margin-top:1px}

.links{display:flex;gap:10px;flex-wrap:wrap}
.links a{
  padding:9px 10px;border-radius:999px;
  color:rgba(15,23,42,.85);
}
.links a:hover{background:rgba(15,23,42,.05)}
@media(max-width:900px){.links{display:none}}

.cta{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:999px;
  font-weight:750;
  color:#fff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: var(--shadow-sm);
}
.cta:hover{transform:translateY(-1px)}
.cta:focus{outline:none;box-shadow: var(--shadow-sm), var(--ring)}

.kicker{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 12px;border-radius:999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
  font-size:13px;
}

.hero{
  position:relative;
  padding:62px 0 36px;
  overflow:hidden;
  border-bottom: var(--border);
}
.hero.photo{
  background: url("img/charleston-bridge.jpg") center/cover no-repeat;
}
.hero.photo::before{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(90deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.70) 45%, rgba(15,23,42,.35) 100%),
    radial-gradient(700px 380px at 20% 0%, rgba(14,165,233,.30), transparent 60%);
}
.hero .wrap{position:relative}
.hero-grid{
  display:grid;grid-template-columns: 1.2fr .8fr;gap:22px;align-items:start;
}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.hero{padding:46px 0 28px}}
h1{
  font-size:44px;
  line-height:1.06;
  letter-spacing:-.8px;
  margin:14px 0 10px;
  color:#fff;
}
@media(max-width:520px){h1{font-size:36px}}
.sub{
  font-size:18px;
  color:rgba(255,255,255,.86);
  margin:0 0 18px;
  max-width:56ch;
}

.btn-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:14px;
  font-weight:750;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color:#fff;
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{
  border: none;
  background: linear-gradient(135deg, var(--accent), #16a34a);
  color:#052e16;
  box-shadow: var(--shadow-sm);
}
.btn.secondary{
  background: rgba(255,255,255,.12);
}
.btn:focus{outline:none;box-shadow: var(--ring)}

.card{
  background: rgba(255,255,255,.95);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad{padding:18px}

.form-title{
  margin:10px 0 6px;
  font-size:22px;
  letter-spacing:-.3px;
  color:var(--text);
}
.badge{
  display:inline-flex;align-items:center;
  padding:6px 10px;border-radius:999px;
  font-size:12.5px;font-weight:700;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.04);
  color:rgba(15,23,42,.78);
}

form{display:grid;gap:10px}
label{font-weight:700;font-size:13.5px;color:rgba(15,23,42,.9)}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border: 1px solid rgba(15,23,42,.12);
  background:#fff;
  font:inherit;
}
input:focus,select:focus,textarea:focus{outline:none;box-shadow: var(--ring);border-color: rgba(14,165,233,.35)}
textarea{min-height:110px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:680px){.form-row{grid-template-columns:1fr}}

.section{padding:28px 0}
.section h2{
  margin:0 0 12px;
  font-size:30px;
  letter-spacing:-.5px;
}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:900px){.grid3{grid-template-columns:1fr}}
.feature{
  background: var(--card);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding:16px;
}
.feature .num{
  width:30px;height:30px;border-radius:10px;
  display:grid;place-items:center;
  background: rgba(14,165,233,.12);
  color: rgba(2,132,199,1);
  font-weight:800;
}
.feature h3{margin:10px 0 6px;font-size:18px;letter-spacing:-.2px}
.feature p{margin:0;color:rgba(15,23,42,.78)}

.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.pill{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  padding:7px 10px;border-radius:999px;font-size:13px;
}

.media{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:center;
}
@media(max-width:900px){.media{grid-template-columns:1fr}}
.media .img{
  border-radius: var(--radius);
  overflow:hidden;
  border: var(--border);
  box-shadow: var(--shadow);
}
.media .img img{width:100%;height:360px;object-fit:cover}
@media(max-width:900px){.media .img img{height:260px}}
.bullets{margin:10px 0 0 18px;color:rgba(15,23,42,.78)}
.bullets li{margin:6px 0}

.callout{
  background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(34,197,94,.10));
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--radius);
  padding:16px;
}

footer{
  border-top: var(--border);
  padding:20px 0;
  margin-top:26px;
  background: rgba(255,255,255,.7);
}
.footer-grid{
  display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;
}
.notice{font-size:12.5px;color:rgba(15,23,42,.72)}


/* Thank-you page collage (no impact elsewhere) */
.thanks-collage{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-bottom:14px;
  border-radius: 16px;
  overflow:hidden;
  background: rgba(255,255,255,.65);
}
.thanks-collage img{
  width:100%;
  height: 170px;
  object-fit: cover;
  display:block;
}
@media (max-width: 780px){
  .thanks-collage img{ height: 130px; }
}


/* Thank-you page text color fixes (scoped; no impact to other pages) */
.thanks-page .kicker{
  border: 1px solid rgba(0,0,0,.08) !important;
  background: rgba(0,0,0,.04) !important;
  color: rgba(0,0,0,.72) !important;
}
.thanks-page h1{ color: rgba(0,0,0,.92) !important; }
.thanks-page .sub{ color: rgba(0,0,0,.74) !important; }
