/* =========================================
   Sons of Thunder Construction — Global Styles
   ========================================= */

:root {
  --navy:   #1C2B3A;
  --gold:   #C9A44A;
  --gold-dark: #A8843A;
  --white:  #FFFFFF;
  --offwhite: #F7F6F3;
  --gray:   #666666;
  --text:   #222222;
  --border: #E2E2E2;
  --font-sans: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* =========================================
   UTILITY
   ========================================= */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--gray { background: var(--offwhite); }
.section--navy { background: var(--navy); color: var(--white); }
.section--gold  { background: var(--gold);  color: var(--navy); }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section--navy .section-label { color: var(--gold); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}
.section--navy .section-title { color: var(--white); }
.section--gold  .section-title { color: var(--navy); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 48px;
}
.section--navy .section-subtitle { color: rgba(255,255,255,0.75); }

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(201,164,74,0.45);
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 6px 24px rgba(201,164,74,0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: #162332;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* =========================================
   TOP BAR
   ========================================= */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--gold); }
.topbar a:hover { text-decoration: underline; }

/* =========================================
   HEADER / NAV
   ========================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

.site-logo img { height: 68px; width: auto; }

.site-nav { display: flex; gap: 8px; align-items: center; }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.15s;
}
.site-nav a:hover { background: var(--offwhite); }
.site-nav a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: 10px 20px !important;
  box-shadow: 0 3px 14px rgba(201,164,74,0.4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  font-weight: 700;
}
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); box-shadow: 0 5px 18px rgba(201,164,74,0.5) !important; }

.nav-phone {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243447 60%, #1a2d3f 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(201,164,74,0.15);
  border: 1px solid rgba(201,164,74,0.4);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 760px;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
}
.trust-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================
   TRUST BAR (below hero)
   ========================================= */
.trust-bar {
  background: var(--gold);
  padding: 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.trust-bar-item {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  border-right: 1px solid rgba(28,43,58,0.15);
}
.trust-bar-item:last-child { border-right: none; }
.trust-bar-item svg { flex-shrink: 0; }

/* =========================================
   SERVICES GRID
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.service-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,164,74,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-card a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card a:hover { color: var(--gold-dark); }

/* =========================================
   WHY US — 3-column
   ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.why-item { display: flex; gap: 16px; }
.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(201,164,74,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 2px;
}
.why-item h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.why-item p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* =========================================
   PROCESS STEPS
   ========================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  counter-reset: step;
}
.process-step {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.process-step:last-child { border-right: none; }
.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201,164,74,0.25);
  line-height: 1;
  margin-bottom: 12px;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.process-step p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* =========================================
   SERVICE AREAS
   ========================================= */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  transition: border-color 0.15s, background 0.15s;
}
.area-card:hover {
  border-color: var(--gold);
  background: rgba(201,164,74,0.04);
}
.area-card svg { color: var(--gold); flex-shrink: 0; }

/* =========================================
   REVIEWS
   ========================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
/* Google-style star row */
.review-stars,
.rch-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}
.review-stars svg,
.rch-stars svg { flex-shrink: 0; }
.review-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.review-author strong { font-size: 0.95rem; font-weight: 800; color: var(--navy); }
.review-author span { font-size: 0.82rem; color: var(--gray); }

/* =========================================
   FAQ
   ========================================= */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  padding: 0 0 22px;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #243447 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--white);
}
.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #111820;
  color: rgba(255,255,255,0.65);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
  background: var(--offwhite);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--gray);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* =========================================
   MOBILE NAV — hamburger
   ========================================= */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.45);
}
.nav-backdrop.open { display: block; }

.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 8px 0 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  max-height: calc(100vh - 88px);
  overflow-y: auto;
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-drawer a:last-child { border-bottom: none; }
.mobile-nav-drawer a.mobile-cta {
  margin: 16px 24px 0;
  background: var(--gold);
  color: #fff;
  border-radius: 6px;
  text-align: center;
  border-bottom: none;
  padding: 15px 24px;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(201,164,74,0.4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.mobile-nav-drawer .mobile-call {
  margin: 8px 24px 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  text-align: center;
  border-bottom: none;
  padding: 15px 24px;
  font-size: 1.05rem;
}

/* =========================================
   FLOATING CALL BUTTON — mobile only
   ========================================= */
.float-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 -4px 20px rgba(201,164,74,0.5);
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.float-call svg { vertical-align: middle; margin-right: 8px; }

/* Push page content above the floating button on mobile */
body.has-float-call { padding-bottom: 58px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .nav-phone { display: none; }
  .nav-hamburger { display: flex; }
  .float-call { display: flex; align-items: center; justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 72px; }

  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar .container { flex-direction: column; }
  .trust-bar-item { border-right: none; border-bottom: 1px solid rgba(28,43,58,0.15); }
  .trust-bar-item:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .reviews-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .container { padding: 0 16px; }
  /* Hero: hide the outline button on mobile, call button handles it */
  .hero .btn-outline { display: none; }
  .hero-home .btn-outline { display: none; }
}
