/* ============================================================
   RESINATE SURFACES & HOME IMPROVEMENT — LEAD GEN LANDING PAGE
   Mobile-first, direct response design
   Brand colours: Navy #1a2d5a | Forest Green #3d6b20
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:     #3d6b20;
  --orange-dk:  #2f5418;
  --charcoal:   #1a2d5a;
  --dark:       #0f1e3d;
  --grey-light: #f4f6f4;
  --grey-mid:   #dde3dd;
  --grey-text:  #555555;
  --white:      #ffffff;
  --green:      #3d6b20;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
  --font:       'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* --- TYPOGRAPHY --- */
h1 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
p  { font-size: 1rem; color: var(--grey-text); }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61,107,32,0.35);
}
.btn-primary:hover { background: var(--orange-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(61,107,32,0.45); }

.btn-call {
  background: var(--green);
  color: var(--white);
  padding: 12px 20px;
  font-size: 0.95rem;
  border-radius: var(--radius);
  font-weight: 700;
}
.btn-call:hover { background: #15803d; }

.btn-full { width: 100%; display: block; }

/* ============================================================
   STICKY HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 3px solid var(--green);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header-logo img { height: 80px; width: auto; }
.header-logo span {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-phone .phone-label {
  display: none;
  color: #666;
  font-size: 0.8rem;
}
.header-phone a {
  color: var(--charcoal);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone .phone-icon { font-size: 1.1rem; }

@media (min-width: 768px) {
  #site-header { padding: 14px 40px; }
  .header-logo img { height: 100px; }
  .header-phone .phone-label { display: block; }
  .header-phone a { font-size: 1.2rem; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  background:
    linear-gradient(
      105deg,
      rgba(10, 18, 40, 0.93) 0%,
      rgba(10, 18, 40, 0.80) 55%,
      rgba(10, 18, 40, 0.50) 100%
    ),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 40px 20px 0;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-text { padding-bottom: 32px; }
.hero-eyebrow {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.hero-text h1 { color: var(--white); margin-bottom: 16px; }
.hero-text h1 span { color: var(--orange); }
.hero-text .subhead {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-soft-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-soft-cta .btn { width: 100%; }
.hero-soft-cta .or-call {
  color: #aaa;
  font-size: 0.9rem;
  text-align: center;
}
.hero-soft-cta .or-call a { color: var(--white); font-weight: 700; }

/* Desktop hero layout */
@media (min-width: 900px) {
  #hero { padding: 60px 40px 0; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  .hero-text { padding-bottom: 60px; }
  .hero-soft-cta { flex-direction: row; flex-wrap: wrap; }
  .hero-soft-cta .btn { width: auto; }
  .hero-soft-cta .or-call { align-self: center; }
  .hero-form-wrap { padding-bottom: 0; }
}

/* HERO FORM */
.hero-form-wrap {
  background: var(--white);
  border-radius: 10px 10px 0 0;
  padding: 28px 24px 32px;
  box-shadow: var(--shadow-lg);
}
.form-headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.form-subline {
  font-size: 0.88rem;
  color: var(--grey-text);
  margin-bottom: 20px;
}
.quote-form .field { margin-bottom: 14px; }
.quote-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.quote-form input,
.quote-form select {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--grey-mid);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.quote-form input:focus,
.quote-form select:focus {
  outline: none;
  border-color: var(--orange);
}
.quote-form .submit-btn {
  margin-top: 6px;
  font-size: 1.1rem;
  padding: 17px;
  letter-spacing: 0.02em;
}
.form-trust {
  text-align: center;
  font-size: 0.78rem;
  color: #888;
  margin-top: 10px;
}
.form-trust span { color: var(--green); font-weight: 700; }

@media (min-width: 900px) {
  .hero-form-wrap { border-radius: 10px; margin-top: 10px; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
#trust-bar {
  background: var(--orange);
  padding: 16px 20px;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.trust-item .icon { font-size: 1.1rem; }

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section { padding: 60px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--grey-text); max-width: 600px; margin-bottom: 40px; }

@media (min-width: 768px) { .section { padding: 80px 40px; } }

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
#before-after { background: var(--grey-light); }
.ba-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  cursor: col-resize;
  user-select: none;
  touch-action: none;
}
.ba-img {
  display: block;
  width: 100%;
  height: auto;
}
.ba-before {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 50% 0 0);
}
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  cursor: col-resize;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--charcoal);
  cursor: col-resize;
}
.ba-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.ba-labels span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-text);
}
.ba-labels .after-label { color: var(--green); }

/* ============================================================
   BENEFITS
   ============================================================ */
#benefits { background: var(--white); }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  border: 2px solid var(--grey-mid);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.benefit-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.benefit-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: #fff7ed;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.benefit-text h3 { font-size: 1rem; margin-bottom: 4px; color: var(--charcoal); }
.benefit-text p { font-size: 0.9rem; }

@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--grey-light); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-body { padding: 22px 20px; }
.service-card-body h3 { margin-bottom: 8px; }
.service-card-body p { font-size: 0.92rem; margin-bottom: 16px; }
.service-tag {
  display: inline-block;
  background: #fff7ed;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--charcoal); }
#testimonials .section-label { color: var(--orange); }
#testimonials .section-title { color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testimonial-card {
  background: #2a2a2e;
  border-radius: 10px;
  padding: 24px 22px;
  border-left: 4px solid var(--orange);
}
.testimonial-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text {
  color: #e0e0e0;
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  color: var(--white);
  font-size: 0.88rem;
}
.testimonial-location { color: #888; font-size: 0.82rem; }

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   PROCESS
   ============================================================ */
#process { background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--grey-mid);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  width: 52px; height: 52px;
  min-width: 52px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}
.step-content h3 { margin-bottom: 6px; }
.step-content p { font-size: 0.92rem; }

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
  }
  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: none;
    padding: 0;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { background: var(--grey-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s, opacity 0.3s;
  cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.03); opacity: 0.92; }

@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid img { height: 220px; }
}
@media (min-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gallery-grid img { height: 260px; }
}

/* ============================================================
   AREA MAP
   ============================================================ */
#area { background: var(--white); }
.area-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.area-map img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.area-text ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-top: 20px;
}
.area-text ul li {
  font-size: 0.92rem;
  color: var(--grey-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.area-text ul li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

@media (min-width: 900px) {
  .area-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
#final-cta {
  background: var(--dark);
  padding: 60px 20px;
  text-align: center;
}
.final-cta-inner { max-width: 800px; margin: 0 auto; }
.final-cta-inner h2 { color: var(--white); margin-bottom: 12px; }
.final-cta-inner p { color: #aaa; margin-bottom: 32px; font-size: 1.05rem; }
.final-form-wrap {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.final-cta-phone {
  margin-top: 24px;
  color: #aaa;
  font-size: 0.95rem;
}
.final-cta-phone a {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (min-width: 768px) { #final-cta { padding: 80px 40px; } }

/* ============================================================
   PROOF BANNER (installing image strip)
   ============================================================ */
.proof-banner {
  position: relative;
  overflow: hidden;
}
.proof-banner__img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.45);
}
.proof-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
}
.proof-banner__label {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.proof-banner__heading {
  color: #fff;
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  max-width: 700px;
  line-height: 1.2;
}
.proof-banner__text {
  color: #ddd;
  margin-top: 12px;
  max-width: 500px;
  font-size: 0.95rem;
}
/* Hide button on mobile — sticky bar handles it */
.proof-banner__cta { display: none; }
@media (min-width: 768px) {
  .proof-banner__img { height: 340px; }
  .proof-banner__cta { display: inline-block; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #ffffff;
  color: #555;
  padding: 40px 20px 24px;
  font-size: 0.88rem;
  border-top: 3px solid var(--green);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey-mid);
  margin-bottom: 24px;
}
.footer-brand img { height: 100px; margin-bottom: 12px; }
.footer-brand p { line-height: 1.6; max-width: 280px; color: #666; }
.footer-col h4 {
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #666; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--green); }
.footer-contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.footer-contact-item .ico { color: var(--green); }
.footer-contact-item a { color: #444; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  border-top: 1px solid var(--grey-mid);
  padding-top: 20px;
}
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: var(--green); }

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================================
   STICKY MOBILE CTA BAR
   ============================================================ */
#mobile-cta-bar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--dark);
  border-top: 1px solid #333;
  padding: 10px 12px;
  gap: 10px;
}
#mobile-cta-bar a { flex: 1; text-align: center; padding: 13px 10px; font-size: 0.9rem; }
#mobile-cta-bar .call-btn { background: var(--green); color: var(--white); border-radius: var(--radius); font-weight: 700; }
#mobile-cta-bar .quote-btn { background: var(--orange); color: var(--white); border-radius: var(--radius); font-weight: 700; }

@media (min-width: 900px) { #mobile-cta-bar { display: none; } }

/* Extra bottom padding on mobile so sticky bar doesn't overlap content */
@media (max-width: 899px) {
  body { padding-bottom: 70px; }
}

/* ============================================================
   LIGHTBOX (gallery)
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#lightbox.active { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 6px; }
#lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }

.highlight-box {
  background: #fff7ed;
  border: 2px solid #fed7aa;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.highlight-box strong { color: var(--orange); }

/* Scroll anchor offset for sticky header */
.anchor { scroll-margin-top: 80px; }
