/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #B91C1C;
  --red-dark: #991B1B;
  --red-light: #FEE2E2;
  --charcoal: #1F2937;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-title .accent-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 16px auto 0;
  border-radius: 2px;
}

section {
  padding: 80px 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}


.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: background var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand .brand-logo {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--red);
  font-size: 0.95rem;
}

.nav-phone svg {
  width: 18px;
  height: 18px;
}

.mobile-phone {
  display: none;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  background: #F3F4F6;
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -45deg,
    transparent 0%,
    rgba(185, 28, 28, 0.05) 20%,
    rgba(249, 115, 22, 0.07) 35%,
    transparent 50%,
    rgba(245, 158, 11, 0.06) 65%,
    rgba(185, 28, 28, 0.04) 80%,
    transparent 100%
  );
  background-size: 400% 400%;
  animation: fireGlow 10s ease infinite;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
  animation: fadeSlideUp 0.8s ease-out both;
}

.hero-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  color: var(--red);
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.hero-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--red);
  transition: all var(--transition);
}

.hero-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-stat .stat-icon {
  width: 40px;
  height: 40px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hero-stat .stat-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.hero-stat strong {
  display: block;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.hero-stat:nth-child(1) { animation: fadeSlideUp 0.6s ease-out 0.4s both; }
.hero-stat:nth-child(2) { animation: fadeSlideUp 0.6s ease-out 0.5s both; }
.hero-stat:nth-child(3) { animation: fadeSlideUp 0.6s ease-out 0.6s both; }
.hero-stat:nth-child(4) { animation: fadeSlideUp 0.6s ease-out 0.7s both; }

/* ===== Services ===== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.service-card:hover .icon {
  background: var(--red);
}

.service-card .icon svg {
  width: 28px;
  height: 28px;
  color: var(--red);
  transition: color var(--transition);
}

.service-card:hover .icon svg {
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius);
  padding: 48px;
  color: var(--white);
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-image .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}

.about-image h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.about-image p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.7;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature .feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature .feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-feature p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ===== Service Areas ===== */
.areas {
  background: var(--gray-100);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.area-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.area-card h3 svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.area-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

.areas-note {
  text-align: center;
  margin-top: 32px;
  color: var(--gray-500);
  font-size: 0.95rem;
}

.areas-note strong {
  color: var(--charcoal);
}

/* ===== FAQ ===== */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-300);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--red);
}

.faq-question .chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  transition: transform var(--transition);
  color: var(--gray-500);
}

.faq-item.active .faq-question .chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== Contact / Estimate Form ===== */
.contact {
  background: var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-detail .detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail .detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.contact-detail strong {
  display: block;
  font-size: 0.95rem;
}

.contact-detail span {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-card .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: #1C1917;
  color: #D1D5DB;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand span {
  color: var(--red);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #9CA3AF;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #9CA3AF;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--red);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: #9CA3AF;
}

.footer-social a:hover svg {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  font-size: 0.85rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6B7280;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  transition: color var(--transition);
}

.footer-credit:hover {
  color: #9CA3AF;
}

.footer-credit strong {
  font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 60px 0; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
  }

  .navbar-brand .brand-logo {
    height: 48px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-phone.desktop {
    display: none;
  }

  .mobile-phone {
    display: list-item;
  }

  .menu-toggle {
    display: block;
  }

  /* Hero */
  .hero {
    padding: 130px 0 60px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-buttons .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card {
    padding: 24px 16px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    min-height: auto;
    padding: 36px;
  }

  /* Areas */
  .areas-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .hero .hero-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero .hero-credentials span {
    font-size: 0.72rem;
    padding: 5px 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-card {
    padding: 24px;
  }

  .hero-buttons .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .container {
    padding: 0 16px;
  }
}

/* ===== Keyframes ===== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fireGlow {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hero Credentials ===== */
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-credentials span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  border: 1px solid var(--gray-300);
}
