/* ============================================
   CRAWL SPACE DOCTORS — GOOGLE ADS LANDING PAGES
   Shared CSS across all 4 STAG variants
   Brand: Bebas Neue + DM Sans, dark theme, red accent
   ============================================ */

:root {
  --red: #C0272D;
  --red-dark: #9B1F24;
  --red-light: #E8353B;
  --red-bg: rgba(192,39,45,0.08);
  --red-bg-strong: rgba(192,39,45,0.15);
  --black: #0A0A0A;
  --dark: #141414;
  --dark-mid: #1C1C1C;
  --dark-card: #1E1E1E;
  --dark-border: rgba(255,255,255,0.07);
  --grey-dark: #2A2A2A;
  --grey-mid: #3D3D3D;
  --grey: #6B6B6B;
  --grey-light: #9A9A9A;
  --off-white: #F5F3F0;
  --white: #FFFFFF;
  --green: #28A745;
  --green-bg: rgba(40,167,69,0.1);
  --amber: #F59E0B;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 72px;
}
@media (min-width: 769px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.05; letter-spacing: 0.02em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* URGENCY BAR */
.urgency-bar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1001;
}
.urgency-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { 100% { left: 150%; } }
.urgency-bar a { text-decoration: underline; font-weight: 700; }

/* HEADER (paid LP — minimal, no nav links) */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 24px; height: 24px; fill: var(--white); }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.logo-text span { color: var(--red); }

.header-cta-group { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.header-phone svg { width: 18px; height: 18px; fill: var(--red); }
.header-phone span.label { font-size: 0.7rem; color: var(--grey-light); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; display: block; }
.header-phone .phone-number { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.04em; }
@media (max-width: 600px) { .header-phone .label-block { display: none; } .header-phone svg { width: 22px; height: 22px; } .header-phone .phone-number { font-size: 1.05rem; } }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { padding: 10px 18px; font-size: 0.78rem; }
.btn-lg { padding: 18px 32px; font-size: 0.95rem; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 2px 10px rgba(192,39,45,0.4); }
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,39,45,0.55); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }

/* HERO (with form, two-column) */
.hero {
  position: relative;
  padding: 60px 0 80px;
  background: var(--dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(192,39,45,0.18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(192,39,45,0.08), transparent 50%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.6;
}
.hero .container { position: relative; z-index: 1; }
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-layout > * { min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-bg-strong);
  border: 1px solid rgba(192,39,45,0.3);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--red-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.hero h2 {
  font-size: clamp(2.4rem, 4.8vw, 3.7rem);
  margin-bottom: 22px;
  line-height: 1.04;
}
.hero h2 .accent { color: var(--red-light); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--grey-light);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust-strip { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}
.hero-trust-item svg { width: 16px; height: 16px; fill: var(--red-light); flex-shrink: 0; }

/* HERO FORM */
.hero-form-card {
  background: var(--off-white);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-form-card h3 {
  font-size: 1.7rem;
  color: var(--red-dark);
  margin-bottom: 4px;
}
.hero-form-card .form-sub { color: var(--grey); font-size: 0.85rem; margin-bottom: 14px; }
.form-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  color: var(--green);
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.form-guarantee svg { width: 16px; height: 16px; fill: var(--green); flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row .form-group { margin-bottom: 0; }
.form-group { margin-bottom: 11px; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid #D8D4CE;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-group select { cursor: pointer; }
.form-response {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--grey);
  margin-top: 10px;
}
.form-response svg { width: 14px; height: 14px; fill: var(--grey); }
.form-success { display: none; text-align: center; padding: 36px 20px; }
.form-success svg { width: 48px; height: 48px; stroke: var(--green); fill: none; stroke-width: 2; margin: 0 auto 12px; }
.form-success h4 { font-size: 1.4rem; color: var(--red-dark); margin-bottom: 8px; }
.form-success p { color: var(--grey); }
.btn-form-submit { width: 100%; margin-top: 6px; }

/* SYMPTOMS */
.symptoms { padding: 80px 0; background: var(--black); }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red-light);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 14px;
}
.section-desc { color: var(--grey-light); font-size: 1.02rem; max-width: 640px; margin: 0 auto; }
.symptoms-header { text-align: center; margin-bottom: 48px; }
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}
.symptom-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 18px 18px 18px 50px;
  position: relative;
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
  transition: var(--transition);
}
.symptom-item:hover { border-color: rgba(192,39,45,0.5); transform: translateX(2px); }
.symptom-item::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: var(--red-bg-strong);
  color: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* US VS THEM */
.vs { padding: 80px 0; background: var(--dark); }
.vs-header { text-align: center; margin-bottom: 48px; }
.vs-table {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}
.vs-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid var(--dark-border);
}
.vs-row:last-child { border-bottom: none; }
.vs-row > div {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}
.vs-row > div + div { border-left: 1px solid var(--dark-border); justify-content: center; gap: 8px; }
.vs-head { background: rgba(192,39,45,0.12); }
.vs-head > div {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.vs-head > div:nth-child(2) { color: var(--red-light); }
.vs-head > div:nth-child(3) { color: var(--grey-light); }
.vs-yes { color: var(--green); font-weight: 700; }
.vs-no { color: var(--grey); font-weight: 600; }
.vs-yes svg, .vs-no svg { width: 18px; height: 18px; }
.vs-yes svg { fill: var(--green); }
.vs-no svg { fill: var(--grey-mid); }
.vs-feature { color: var(--grey-light); font-weight: 500; }

/* PROCESS */
.process { padding: 80px 0; background: var(--black); }
.process-header { text-align: center; margin-bottom: 48px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.process-step {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: var(--transition);
}
.process-step:hover { border-color: rgba(192,39,45,0.4); transform: translateY(-2px); }
.process-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 10px;
}
.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--white);
}
.process-step p { color: var(--grey-light); font-size: 0.92rem; line-height: 1.6; }

/* SERVICE AREAS */
.areas { padding: 80px 0; background: var(--dark-mid); }
.areas-header { text-align: center; margin-bottom: 36px; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 940px;
  margin: 0 auto;
}
.area-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}
.area-card:hover { border-color: rgba(192,39,45,0.4); }
.area-name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.04em; color: var(--white); margin-bottom: 4px; }
.area-meta { color: var(--grey); font-size: 0.78rem; }

/* TESTIMONIALS */
.testimonials { padding: 80px 0; background: var(--black); }
.testimonials-header { text-align: center; margin-bottom: 48px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.t-stars { color: var(--amber); font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 0.1em; }
.t-quote { color: var(--white); font-size: 1rem; line-height: 1.65; margin-bottom: 18px; }
.t-attr { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--grey-light); }
.t-verified {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--green-bg); color: var(--green);
  padding: 3px 8px; border-radius: 4px;
  font-size: 0.7rem; font-weight: 700;
  margin-left: auto;
}
.t-verified svg { width: 12px; height: 12px; fill: var(--green); }

/* FAQ */
.faq { padding: 80px 0; background: var(--dark); }
.faq-header { text-align: center; margin-bottom: 36px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item.open { border-color: rgba(192,39,45,0.4); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--white);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  gap: 16px;
}
.faq-q svg {
  width: 18px; height: 18px;
  fill: var(--red-light);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--grey-light);
}
.faq-a-inner { padding: 0 22px 18px; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 400px; }

/* FINAL CTA */
.final-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.6;
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--white);
  margin-bottom: 14px;
}
.final-cta p { color: rgba(255,255,255,0.92); font-size: 1.1rem; margin-bottom: 30px; max-width: 620px; margin-left: auto; margin-right: auto; }
.final-cta-row { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final-cta .phone-big {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-top: 22px;
}

/* FOOTER */
.footer {
  background: var(--black);
  border-top: 1px solid var(--dark-border);
  padding: 40px 0 28px;
  text-align: center;
  color: var(--grey);
  font-size: 0.85rem;
}
.footer .footer-brand { margin-bottom: 14px; }
.footer .footer-meta { line-height: 1.8; }
.footer a { color: var(--grey-light); }
.footer .footer-legal { margin-top: 16px; font-size: 0.75rem; color: var(--grey-mid); }

/* MOBILE STICKY CTA */
.mobile-sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--black);
  border-top: 1px solid var(--dark-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.mobile-sticky a {
  padding: 14px 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mobile-sticky .ms-call { background: var(--dark-card); color: var(--white); }
.mobile-sticky .ms-form { background: var(--red); color: var(--white); }
.mobile-sticky svg { width: 16px; height: 16px; }
.mobile-sticky .ms-call svg { fill: var(--red-light); }
.mobile-sticky .ms-form svg { fill: var(--white); }
@media (min-width: 769px) { .mobile-sticky { display: none; } }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-form-card { max-width: 520px; margin: 0 auto; width: 100%; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 40px 0 60px; }
  .symptoms, .vs, .process, .areas, .testimonials, .faq { padding: 60px 0; }
  .final-cta { padding: 70px 0; }
  .vs-row { grid-template-columns: 1.3fr 0.85fr 0.85fr; }
  .vs-row > div { padding: 14px 12px; font-size: 0.85rem; }
  .vs-head > div { font-size: 1.05rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
  .logo-text { font-size: 1.15rem; }
  .logo-mark { width: 38px; height: 38px; }
  .header-cta-group .btn { display: none; }
  .hero h2 { font-size: 2rem; }
  .hero-form-card { padding: 22px 18px; }
  .hero-form-card h3 { font-size: 1.4rem; }
  .vs-head > div { font-size: 0.9rem; }
  .vs-row > div { padding: 12px 8px; font-size: 0.78rem; }
  .process-grid { grid-template-columns: 1fr; }
}
