/*
Theme Name: Fast Grab Bar
Theme URI: https://fastgrabbars.com
Author: Fast Grab Bar
Author URI: https://fastgrabbars.com
Description: Custom theme for Fast Grab Bar — professional grab bar installation in Greater Cincinnati. Built for speed, mobile-first, and conversion-optimized.
Version: 1.0.0
License: Proprietary
Text Domain: fgb
Tags: one-column, mobile-first, accessibility-ready, custom-colors
*/

/* === RESET / BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1F2937;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; color: #0F2536; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.tight { padding: 60px 0; }
.section.light { background: #F8FAFB; }
.section.dark { background: #0F2536; color: #E5E7EB; }
.section.dark h2, .section.dark h3 { color: #FFFFFF; }

.center { text-align: center; }
.center-narrow { text-align: center; color: #6B7280; max-width: 600px; margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: 8px;
  font-weight: 700; font-size: 1.05rem;
  transition: transform 0.1s, box-shadow 0.2s, background 0.2s;
  text-align: center;
}
.btn-primary { background: #0F766E; color: #FFFFFF; }
.btn-primary:hover { background: #0C5F58; box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3); }
.btn-phone { background: #F59E0B; color: #1F2937; }
.btn-phone:hover { background: #D97706; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4); }
.btn-outline {
  background: transparent; color: #0F766E;
  border: 2px solid #0F766E;
}
.btn-outline:hover { background: #0F766E; color: #FFFFFF; }
.btn:active { transform: scale(0.98); }

/* === HEADER === */
header {
  position: sticky; top: 0; z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 0;
}
.header-row { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-size: 1.2rem; font-weight: 900;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark { font-size: 1.4rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: #0F766E; font-size: 1rem;
}
.header-phone:hover { color: #0C5F58; }

/* === HERO === */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #ECFDF5 0%, #FFFFFF 50%, #FFFBEB 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.hero h1 { font-size: 3rem; color: #0F2536; }
.hero h1 .accent { color: #0F766E; }
.hero-sub { font-size: 1.2rem; color: #4B5563; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  color: #6B7280; font-size: 0.95rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-img {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #0F766E 0%, #134E4A 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-align: center; padding: 32px;
  box-shadow: 0 20px 60px rgba(15, 37, 54, 0.18);
}
.hero-img .placeholder-label {
  display: block; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #FFFFFF;
}

/* === TRUST STATS === */
.trust-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 60px;
  padding: 32px 24px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15, 37, 54, 0.06);
  border: 1px solid #E5E7EB;
}
.trust-stat { text-align: center; padding: 8px; }
.trust-stat-num {
  font-size: 2rem; font-weight: 900; color: #0F766E;
  line-height: 1; margin-bottom: 6px;
}
.trust-stat-label { font-size: 0.9rem; color: #6B7280; }

/* === SERVICES PILLARS === */
.pillars {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 40px;
}
.pillar {
  padding: 28px; border-radius: 12px;
  background: #FFFFFF; border: 1px solid #E5E7EB;
  display: flex; gap: 16px; align-items: flex-start;
}
.pillar-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: #ECFDF5; color: #0F766E;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.pillar h3 { font-size: 1.2rem; margin-bottom: 6px; }
.pillar p { color: #4B5563; margin: 0; }

/* === HOW IT WORKS === */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 40px;
  position: relative;
}
.step {
  padding: 32px; border-radius: 12px;
  background: #FFFFFF; border: 1px solid #E5E7EB;
  position: relative;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: #0F766E; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
  margin-bottom: 16px;
}
.step h3 { color: #0F2536; }
.step p { color: #4B5563; }

/* === PRICING === */
.pricing-card {
  max-width: 720px; margin: 40px auto 0;
  padding: 48px; border-radius: 16px;
  background: #FFFFFF;
  border: 2px solid #0F766E;
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.12);
}
.pricing-tier {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid #E5E7EB;
}
.pricing-tier:last-of-type { border-bottom: 0; }
.pricing-tier-name { font-weight: 700; font-size: 1.1rem; }
.pricing-tier-price { font-weight: 900; font-size: 1.5rem; color: #0F766E; }
.pricing-tier-detail { font-size: 0.9rem; color: #6B7280; }
.pricing-includes {
  margin-top: 16px; padding: 16px;
  background: #F8FAFB; border-radius: 8px;
  font-size: 0.95rem; color: #4B5563;
}
.pricing-includes ul { margin: 8px 0 0 0; padding-left: 18px; }
.pricing-includes li { margin-bottom: 4px; }
.pricing-cta {
  margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap;
}

/* === BENEFITS === */
.benefits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 32px;
}
.benefit {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
}
.benefit-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  border-radius: 50%; background: #0F766E; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.benefit-text strong { display: block; margin-bottom: 4px; color: #0F2536; }
.benefit-text span { color: #6B7280; font-size: 0.95rem; }

/* === SERVICE AREA === */
.area-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px;
  margin: 32px 0; max-width: 720px;
}
.area-grid li { list-style: none; padding: 6px 0; color: #4B5563; }
.area-grid li::before { content: "✓"; color: #0F766E; font-weight: 700; margin-right: 8px; }

/* === TESTIMONIALS === */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 40px;
}
.testimonial {
  padding: 28px; border-radius: 12px;
  background: #FFFFFF; border: 1px solid #E5E7EB;
  position: relative;
}
.testimonial-stars { color: #F59E0B; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-quote { font-size: 1rem; color: #1F2937; font-style: italic; margin-bottom: 16px; line-height: 1.5; }
.testimonial-name { font-weight: 700; color: #0F2536; }
.testimonial-context { font-size: 0.9rem; color: #6B7280; }

/* === FAQ === */
.faq-list { margin-top: 32px; max-width: 820px; }
details {
  background: #FFFFFF; border: 1px solid #E5E7EB;
  border-radius: 8px; padding: 0; margin-bottom: 12px;
}
summary {
  padding: 20px 24px; cursor: pointer; font-weight: 700;
  list-style: none; position: relative; color: #0F2536;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: #0F766E;
}
details[open] summary::after { content: "−"; }
details[open] { border-color: #0F766E; }
.faq-answer { padding: 0 24px 24px; color: #4B5563; }

/* === CONTACT === */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: #FFFFFF; padding: 48px; border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 37, 54, 0.08);
}
.contact-side h2 { color: #0F2536; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800;
  color: #0F766E; margin: 16px 0;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; margin-bottom: 6px;
  font-weight: 600; font-size: 0.95rem; color: #1F2937;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px;
  border: 1px solid #D1D5DB; border-radius: 8px;
  font: inherit; color: #1F2937;
  background: #FFFFFF;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: #0F766E;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.submit-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.submit-row .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.85rem; color: #6B7280; margin-top: 12px; }
.form-success {
  display: none;
  padding: 16px; border-radius: 8px;
  background: #ECFDF5; color: #065F46;
  margin-top: 16px; font-weight: 600;
}

/* === FOOTER === */
footer {
  background: #0F2536; color: #D1D5DB;
  padding: 40px 0 24px; font-size: 0.95rem;
}
footer a { color: #FFFFFF; }
footer a:hover { color: #F59E0B; }
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-meta {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; color: #9CA3AF;
}

/* === PRIVACY POLICY (page template) === */
.privacy-content {
  max-width: 800px; margin: 0 auto; padding: 40px 24px;
  line-height: 1.7; color: #1F2937;
}
.privacy-content h1, .privacy-content h2 { color: #0F2536; }
.privacy-content h1 { font-size: 2rem; margin: 1.5em 0 0.5em; }
.privacy-content h2 { font-size: 1.4rem; margin: 1.5em 0 0.5em; }
.privacy-content hr { border: 0; border-top: 1px solid #E5E7EB; margin: 32px 0; }
.privacy-content .updated { color: #6B7280; font-size: 0.95rem; }
.privacy-content .back-link { color: #0F766E; font-weight: 700; }

/* === MOBILE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 60px 0 40px; }
  .pillars, .benefits, .steps { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .section { padding: 60px 0; }
  .pricing-card { padding: 32px 24px; }
  .header-phone span { display: none; }
  .header-phone::after { content: "📞 Call"; font-size: 1rem; }
}
