/* ============================================================
   StoneWolf Foundation Repair — styles.css
   ============================================================ */

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: #FFFFFF;
  color: #444444;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', sans-serif;
  color: #1A1A1A;
  letter-spacing: 0.02em;
}

.section-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  color: #1A1A1A;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.section-sub {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: #444444;
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.text-white-75 { color: rgba(255,255,255,0.8) !important; }

/* ── Accent Button ────────────────────────────────────────── */
.btn-accent {
  background-color: #0A6EFF;
  color: #FFFFFF !important;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: #0058D4;
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(10, 110, 255, 0.35);
  outline: none;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar-main {
  background-color: #0A0A0A;
  border-bottom: 1px solid #1a1a1a;
  padding: 10px 0;
  z-index: 1050;
}

.nav-phone {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-right: 20px;
  transition: color 0.2s;
}

.nav-phone:hover { color: #0A6EFF; }

/* ── Section Backgrounds ──────────────────────────────────── */
.section-white { background-color: #FFFFFF; }
.section-gray  { background-color: #F5F5F5; }

#warning-signs {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('img/foundation-repair-house.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

#warning-signs .section-headline,
#warning-signs .section-sub {
  color: #FFFFFF;
}

/* ── Hero ─────────────────────────────────────────────────── */
/*
  HERO BACKGROUND:
  To use an image — set background-image below:
    background-image: url('YOUR_HERO_IMAGE.jpg');
  To use a video — uncomment the <video> block in index.html.
*/
.hero-bg {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: #1a2a3a;
  /* background-image: url('YOUR_HERO_IMAGE.jpg'); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Placeholder label — remove once real image/video is in place */
.hero-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
  border: 2px dashed rgba(255,255,255,0.15);
  pointer-events: none;
  z-index: 1;
  padding: 40px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,1) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 80px 24px 100px;
}

.hero-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero-sub {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto 1rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-ctas .btn { min-width: 220px; }

.hero-ctas .btn-outline-light {
  border-color: rgba(255,255,255,0.55);
  color: #FFFFFF;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 28px;
  transition: border-color 0.2s, background-color 0.2s;
}

.hero-ctas .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E8E8E8;
}

/* Trust badge placeholder boxes */
.trust-badge-box {
  background-color: #E0E0E0;
  border: 2px dashed #BBBBBB;
  border-radius: 6px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.trust-badge-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777777;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.trust-icon {
  color: #0A6EFF;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.trust-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Image Placeholders ───────────────────────────────────── */
.img-placeholder {
  background-color: #E0E0E0;
  border: 2px dashed #BBBBBB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888888;
  text-align: center;
  padding: 24px;
}

.img-placeholder--wide {
  width: 100%;
  max-width: 860px;
  height: 280px;
}

/* Final CTA section dark background with overlay placeholder */
.section-cta-dark {
  position: relative;
  background-color: #0D1B2A;
  /* background-image: url('YOUR_CTA_IMAGE.jpg'); */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.section-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.88) 0%, rgba(10,80,180,0.25) 100%);
  z-index: 1;
}

.img-placeholder-cta-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.2);
  pointer-events: none;
  z-index: 2;
}

.section-cta-dark .section-headline { color: #FFFFFF; }

/* ── Forms ────────────────────────────────────────────────── */
.sw-form .form-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.sw-form--dark .form-label { color: rgba(255,255,255,0.75); }

.sw-input {
  background-color: #FFFFFF !important;
  border: 1.5px solid #D0D0D0 !important;
  color: #1A1A1A !important;
  border-radius: 6px !important;
  padding: 13px 16px !important;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sw-input::placeholder { color: #999999 !important; }

.sw-input:focus {
  border-color: #0A6EFF !important;
  box-shadow: 0 0 0 3px rgba(10, 110, 255, 0.14) !important;
  outline: none !important;
  background-color: #FFFFFF !important;
  color: #1A1A1A !important;
}

.sw-form .btn-accent {
  padding: 15px 28px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-fine-print {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  color: #999999;
  margin-bottom: 0;
}

/* ── Warning Cards ────────────────────────────────────────── */
.warning-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.warning-card:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  border-color: #0A6EFF;
  transform: translateY(-2px);
}

.warning-icon { display: block; line-height: 1; }

.warning-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1A1A1A;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.warning-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── How It Works ─────────────────────────────────────────── */
.step-card {
  background-color: #F5F5F5;
  border: 1px solid #E4E4E4;
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.step-number {
  font-family: 'Anton', sans-serif;
  font-size: 3.5rem;
  color: #0A6EFF;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.step-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.sw-accordion { border-radius: 8px; overflow: hidden; }

.sw-accordion-item {
  background-color: #FFFFFF !important;
  border: 1px solid #E4E4E4 !important;
  margin-bottom: 8px;
  border-radius: 6px !important;
  overflow: hidden;
}

.sw-accordion-button {
  background-color: #FFFFFF !important;
  color: #1A1A1A !important;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 20px 24px;
  border: none;
  box-shadow: none !important;
  letter-spacing: 0.01em;
}

.sw-accordion-button:not(.collapsed) {
  background-color: #F0F5FF !important;
  color: #0A6EFF !important;
  box-shadow: none !important;
  border-bottom: 1px solid #D0DEFF;
}

.sw-accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.sw-accordion-body {
  background-color: #FAFAFA !important;
  color: #444444;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 16px 24px 22px;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background-color: #0A0A0A;
  border-top: 1px solid #1a1a1a;
}

.footer-logo { opacity: 0.75; }

.footer-disclaimer {
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  color: #555555;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Mobile Sticky CTA ────────────────────────────────────── */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: 12px 16px;
  background: linear-gradient(to top, #ffffff 70%, transparent);
}

.mobile-sticky-cta .btn-accent {
  border-radius: 8px;
  font-size: 1rem;
  padding: 15px 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  body { padding-bottom: 80px; }

  .hero-ctas .btn { min-width: 100%; }

  .section-headline { font-size: 1.7rem; }

  .hero-headline { font-size: 2.2rem; }

  .trust-label { font-size: 0.8rem; }

  .step-card { padding: 28px 20px; }

  .img-placeholder--wide { height: 160px; }
}
