/* London Spray Foam — Spray Foam Insulation Landing Page
   Primary: #e05900 (deep orange) | Alt BG: #fff4ed | Text: #1a1a1a
   System fonts only — no CDN dependencies
*/

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { font-size: 1rem; color: #3a3a3a; }

/* LAYOUT */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section-pad { padding: 5rem 0; }
.alt-bg { background-color: #fff4ed; }
.section-title { text-align: center; margin-bottom: 0.75rem; color: #1a1a1a; }
.section-subtitle { text-align: center; max-width: 640px; margin: 0 auto 3rem; color: #555; font-size: 1.05rem; }

/* BUTTONS */
.btn {
  display: inline-block;
  background-color: #e05900;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { background-color: #b84800; }
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.1rem; }
.btn-rebate { background: #fff; color: #b84800; border-color: #b84800; }
.btn-rebate:hover { background: #fff4ed; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(224,89,0,0.12);
  padding: 0.85rem 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-name { font-size: 1.15rem; font-weight: 700; color: #e05900; }
.logo-tagline { font-size: 0.72rem; color: #888; margin-top: 1px; }

/* HERO */
#hero {
  background: linear-gradient(135deg, #e05900 0%, #7a2800 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.hero-eyebrow { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.75); margin-bottom: 1rem; letter-spacing: 0.05em; }
#hero h1 { color: #fff; max-width: 820px; margin: 0 auto 1.25rem; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.88); max-width: 640px; margin: 0 auto 2rem; }
.hero-cta { margin-bottom: 2.25rem; }
#hero .btn-lg { background: #fff; color: #e05900; }
#hero .btn-lg:hover { background: #fff4ed; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.trust-badge { display: flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.15); color: #fff; padding: 0.4rem 0.9rem; border-radius: 100px; font-size: 0.85rem; }

/* REBATE BANNER */
.rebate-banner { background: #3a1a00; color: #fff; padding: 2rem 0; }
.rebate-content { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.rebate-icon { font-size: 2.5rem; flex-shrink: 0; }
.rebate-content h2 { font-size: 1.2rem; color: #fff; margin-bottom: 0.35rem; }
.rebate-content p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.rebate-content .btn-rebate { margin-left: auto; flex-shrink: 0; }

/* COMPARE GRID */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.compare-card { padding: 2rem; border-radius: 10px; }
.compare-batts { background: #f8f5f0; border: 1px solid #ddd; }
.compare-batts h3 { color: #888; margin-bottom: 1rem; }
.compare-foam { background: #fff4ed; border: 2px solid #e05900; }
.compare-foam h3 { color: #e05900; margin-bottom: 1rem; }
.compare-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.compare-card li { padding-left: 1.25rem; position: relative; color: #3a3a3a; font-size: 0.95rem; }
.compare-batts li::before { content: '–'; position: absolute; left: 0; color: #aaa; }
.compare-foam li::before { content: '✓'; position: absolute; left: 0; color: #e05900; font-weight: 700; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { background: #fff; border: 1px solid #ffd4b0; border-radius: 10px; padding: 1.75rem; transition: box-shadow 0.18s, transform 0.15s; }
.service-card:hover { box-shadow: 0 6px 24px rgba(224,89,0,0.12); transform: translateY(-2px); }
.service-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.service-card h3 { margin-bottom: 0.6rem; color: #b84800; }
.service-card p { font-size: 0.92rem; color: #444; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; }
.step { text-align: center; }
.step-number { width: 3rem; height: 3rem; background: #e05900; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: 700; margin: 0 auto 1rem; }
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: #555; }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card { background: #fff; border: 1px solid #ffd4b0; border-radius: 10px; padding: 1.5rem; }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 0.75rem; }
.review-card p { font-size: 0.92rem; color: #444; font-style: italic; margin-bottom: 0.75rem; }
.reviewer { font-size: 0.82rem; color: #888; font-weight: 600; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1.25rem; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #ffd4b0; border-radius: 10px; padding: 1.5rem 1.75rem; }
.faq-item dt { font-weight: 700; color: #b84800; margin-bottom: 0.6rem; font-size: 1.02rem; }
.faq-item dd { color: #444; font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ffd4b0; border-radius: 10px; text-decoration: none; color: inherit; transition: box-shadow 0.18s, transform 0.15s; }
.blog-card:hover { box-shadow: 0 6px 24px rgba(224,89,0,0.12); transform: translateY(-2px); }
.blog-card-content { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.blog-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #e05900; }
.blog-card h3 { font-size: 0.97rem; color: #1a1a1a; line-height: 1.4; margin-bottom: 0; }
.blog-card p { font-size: 0.88rem; color: #555; flex: 1; margin-bottom: 0; }
.blog-read-more { font-size: 0.85rem; font-weight: 600; color: #e05900; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.pricing-card { background: #fff; border: 1.5px solid #ffd4b0; border-radius: 10px; padding: 1.75rem; text-align: center; position: relative; }
.pricing-card.featured { border-color: #e05900; border-width: 2px; }
.featured-label { position: absolute; top: -0.6rem; left: 50%; transform: translateX(-50%); background: #e05900; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.75rem; border-radius: 100px; white-space: nowrap; }
.pricing-card h3 { margin-bottom: 0.75rem; }
.pricing-price { font-size: 1.8rem; font-weight: 800; color: #e05900; line-height: 1; }
.pricing-from { font-size: 0.8rem; color: #888; display: block; margin: 0.2rem 0 0.75rem; }
.pricing-desc { font-size: 0.88rem; color: #555; }
.pricing-note { text-align: center; font-size: 0.85rem; color: #666; }

/* SERVICE AREA */
.area-note { text-align: center; color: #555; max-width: 600px; margin: 0 auto 2rem; }
.city-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.city-tag { background: #fff4ed; border: 1px solid #ffd4b0; border-radius: 100px; padding: 0.4rem 0.9rem; font-size: 0.85rem; color: #b84800; }
.area-cta { text-align: center; margin-top: 2rem; }

/* QUOTE FORM */
#quote-form { background: #e05900; }
#quote-form .section-title { color: #fff; }
#quote-form .section-subtitle { color: rgba(255,255,255,0.85); }
.form-wrap { max-width: 700px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 2.5rem; box-shadow: 0 8px 40px rgba(0,0,0,0.15); }
.form-assurances { margin-bottom: 1.5rem; }
.form-assurances ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.form-assurances li { font-size: 0.9rem; color: #b84800; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: #333; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #e05900; box-shadow: 0 0 0 3px rgba(224,89,0,0.12); }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-submit-row { grid-column: 1 / -1; }
.form-submit-row .btn { width: 100%; }
.form-privacy { text-align: center; font-size: 0.8rem; color: #888; margin-top: 1rem; }

/* FOOTER */
.site-footer { background: #1a0a00; color: #bbb; padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .logo-name { color: #e05900; font-size: 1.15rem; display: block; margin-bottom: 0.25rem; }
.footer-brand .logo-tagline { color: #888; font-size: 0.75rem; display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; color: #888; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col a { font-size: 0.88rem; color: #888; transition: color 0.15s; }
.footer-col a:hover { color: #e05900; }
.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.5rem; }
.footer-contact a { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: #bbb; }
.footer-contact a:hover { color: #e05900; }
.footer-bottom { border-top: 1px solid #3a1a00; padding: 1.5rem 0; }
.footer-bottom p { font-size: 0.8rem; color: #666; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .rebate-content { flex-direction: column; text-align: center; }
  .rebate-content .btn-rebate { margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .site-header .container { flex-wrap: wrap; }
}
