/* ============================================================
   DEAL CLOSER — HVAC WEBSITE TEMPLATE
   SolidLine Web | bora@solidlineweb.com
   ============================================================

   EDIT GUIDE:
   - Colors:    Search "EDIT COLOR" to find brand color variables
   - Hero BG:   Search "EDIT HERO BACKGROUND" to add real photo
   - Fonts:     Search "EDIT FONT" to change font sizes

   PRIMARY COLOR:  #DC2626 (urgent red)
   ACCENT COLOR:   #FF6B35 (energetic orange)
   ============================================================ */


/* ============================================================
   CSS VARIABLES — EDIT COLORS HERE
   ============================================================ */
:root {
  /* EDIT COLOR: Primary brand color (urgent, action) */
  --color-primary:       #DC2626;
  --color-primary-dark:  #B91C1C;
  --color-primary-light: #FEE2E2;

  /* EDIT COLOR: Accent/secondary color */
  --color-accent:        #FF6B35;
  --color-accent-dark:   #EA580C;

  /* Neutrals */
  --color-dark:          #0F172A;
  --color-text:          #334155;
  --color-text-light:    #64748B;
  --color-border:        #E2E8F0;
  --color-bg:            #F8FAFC;
  --color-white:         #FFFFFF;

  /* Success green */
  --color-success:       #16A34A;

  /* EDIT FONT: Base font size */
  --font-base:           16px;
  --font-family:         'Inter', sans-serif;

  /* EDIT SPACING: Container width */
  --container-width:     1140px;
  --container-padding:   1.5rem;

  /* Border radius */
  --radius-sm:           6px;
  --radius-md:           12px;
  --radius-lg:           20px;

  /* Shadows */
  --shadow-sm:           0 1px 3px rgba(0,0,0,.1);
  --shadow-md:           0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:           0 10px 40px rgba(0,0,0,.15);
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }


/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

/* EDIT COLOR: Primary button (CTA) */
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn--white:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}
.btn--dark:hover {
  background: #1E293B;
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.15rem 2.25rem;
  font-size: 1.1rem;
}

.btn--huge {
  padding: 1.4rem 2.75rem;
  font-size: 1.25rem;
}

.btn--full {
  width: 100%;
}

/* Pulse animation for urgent CTA */
.btn--pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}


/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

.section-sub {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-dark);
  letter-spacing: -.5px;
}

.logo-accent {
  color: var(--color-primary);
}

.navbar__cta {
  padding: .7rem 1.4rem;
  font-size: .975rem;
}


/* ============================================================
   HERO — Full-width background
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  padding: 5rem 0 4rem;
}

/* EDIT HERO BACKGROUND: Add your HVAC photo here */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* EDIT: Replace with real photo path */
  background: 
    linear-gradient(135deg, #DC2626 0%, #F97316 100%);
  /* When you have a photo, replace above with: */
  /* background-image: url('hero-bg.jpg'); */
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,23,42,.85) 0%, rgba(220,38,38,.75) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.offer-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 999px;
  padding: .6rem 1.5rem;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(255,107,53,.4);
  animation: slideDown .6s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__headline {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.03em;
}

.highlight {
  color: var(--color-accent);
  text-shadow: 0 2px 10px rgba(255,107,53,.5);
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.95);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero__urgency {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.urgency-item {
  font-size: .975rem;
  font-weight: 600;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: .4rem;
}


/* ============================================================
   STICKY CALL BAR (mobile only)
   ============================================================ */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: .75rem 1rem;
  background: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}


/* ============================================================
   OFFER STRIP
   ============================================================ */
.offer-strip {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 1.5rem 0;
}

.offer-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.offer-strip__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.offer-strip__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.offer-strip__text strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.offer-strip__text span {
  font-size: .9rem;
  opacity: .9;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 5rem 0;
  background: var(--color-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .3s ease;
  position: relative;
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: .75rem;
}

.service-card p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card__cta {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s;
}

.service-card__cta:hover {
  gap: .7rem;
}


/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  padding: 5rem 0;
  background: var(--color-bg);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.benefit-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: .75rem;
}

.benefit-card p {
  font-size: .95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}


/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: 5rem 0;
  background: var(--color-white);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.review-card__stars {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #FBBF24;
}

.review-card__text {
  font-size: .975rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-card__author {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text-light);
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1E293B 100%);
  color: var(--color-white);
  padding: 5rem 0;
  text-align: center;
}

.cta-final__inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-final h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.cta-final p {
  font-size: 1.2rem;
  opacity: .9;
  margin-bottom: 2.5rem;
}

.cta-final__note {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
}


/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact {
  padding: 5rem 0;
  background: var(--color-bg);
}

.contact__header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: .75rem;
}

.contact__header p {
  font-size: 1.05rem;
  color: var(--color-text-light);
}

.contact__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Form */
.contact__form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: .5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .875rem 1.1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.form-group input.error,
.form-group select.error {
  border-color: #EF4444;
}

.form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.form-note {
  text-align: center;
  font-size: .85rem;
  color: var(--color-text-light);
  margin-top: 1rem;
}

.form-success {
  display: none;
  background: #D1FAE5;
  color: #065F46;
  border: 2px solid #6EE7B7;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  font-weight: 700;
  margin-top: 1.5rem;
}

.form-success.visible {
  display: block;
}

/* Contact info sidebar */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact__info-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.contact__info-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.contact__phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: .5rem;
}

.contact__phone:hover {
  text-decoration: underline;
}

.contact__info-box p {
  font-size: .9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.7);
  padding: 2.5rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer__brand .logo-text {
  color: var(--color-white);
  font-size: 1.3rem;
}

.footer__brand p {
  font-size: .9rem;
  margin-top: .5rem;
  opacity: .6;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
}

.footer__links a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__copy {
  font-size: .8rem;
  opacity: .4;
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .hero {
    min-height: 500px;
    padding: 3.5rem 0 3rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .offer-strip__inner {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {
  .hero {
    min-height: 450px;
    padding: 2.5rem 0 2rem;
  }

  .hero__headline {
    font-size: 2rem;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__urgency {
    flex-direction: column;
    gap: .75rem;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .navbar__cta {
    font-size: .8rem;
    padding: .55rem 1rem;
  }

  /* Show sticky call bar on mobile */
  .sticky-call {
    display: block;
  }

  /* Add padding so sticky bar doesn't cover content */
  body {
    padding-bottom: 72px;
  }

  .contact__form {
    padding: 1.75rem;
  }
}