:root {
  --red: #be2134;
  --red-dark: #8b0000;
  --red-light: #d42538;
}

html { scroll-behavior: smooth; }

/* ── Nav links ── */
.nav-link {
  display: inline-block;
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ── Sidebar nav ── */
.sidebar-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: #444;
  text-decoration: none;
  border-left: 3px solid #ddd;
  font-size: 0.9rem;
  margin-bottom: 4px;
  transition: all 0.2s;
  border-radius: 0 4px 4px 0;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: var(--red);
  border-left-color: var(--red);
  background: #fff5f5;
  padding-left: 1.25rem;
}

/* ── Service cards ── */
.service-card {
  background: white;
  border-bottom: 3px solid #eee;
  border-radius: 8px;
  padding: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--red);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.service-card .icon {
  color: var(--red);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}
.service-card:hover .icon {
  transform: scale(1.15);
}

/* ── Estimate form ── */
.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(190,33,52,0.1);
}
.estimate-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.estimate-form .form-group { margin-bottom: 0.85rem; }

/* ── Testimonial ── */
.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-left: 4px solid var(--red);
  margin-bottom: 1.25rem;
  transition: box-shadow 0.25s;
}
.testimonial-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.testimonial-card p { color: #444; line-height: 1.75; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, #be2134 0%, #8b0000 55%, #1a1a1a 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Trust badges (hero) ── */
.trust-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.trust-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
}

/* ── Stats bar ── */
.stats-bar {
  background: white;
  border-bottom: 3px solid #f0f0f0;
  padding: 1.25rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.stat-box { text-align: center; padding: 0.5rem 1rem; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.stat-label { font-size: 0.78rem; color: #666; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Why choose cards ── */
.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}
.why-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-5px);
}
.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* ── Dark service cards ── */
.dark-card {
  background: linear-gradient(160deg, #1f1f1f, #2c2c2c);
  color: white;
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.dark-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* ── Quote form sidebar ── */
.quote-sidebar {
  background: linear-gradient(160deg, #1e1e1e, #2a2a2a);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.quote-sidebar h4 { color: white; margin-bottom: 1.25rem; font-size: 1.1rem; }

/* ── Mobile menu ── */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; animation: slideDown 0.2s ease; }
@keyframes slideDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

/* ── Page banner ── */
.page-banner {
  width: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, #be2134 0%, #8b0000 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  padding: 2rem;
  border-top: 4px solid #ff3a50;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

/* ── Page content ── */
.page-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content ul li { margin-bottom: 0.3rem; color: #444; }
.page-content p { color: #444; line-height: 1.75; margin-bottom: 1rem; }
.page-content h4, .page-content h5 { font-weight: 700; color: #1a1a1a; margin-bottom: 0.5rem; margin-top: 1rem; }

/* ── Footer ── */
footer { background: #111; color: #bbb; }
footer a { color: #bbb; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: white; }

/* ── Buttons ── */
.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  padding: 0.65rem 1.6rem;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(190,33,52,0.35);
  letter-spacing: 0.2px;
}
.btn-red:hover {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(190,33,52,0.5);
}
.btn-red:active { transform: translateY(0); }

/* ── Floating call button ── */
.float-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #16a34a;
  color: white;
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(22,163,74,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-call 2.5s infinite;
}
.float-call:hover {
  color: white;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 28px rgba(22,163,74,0.65);
  animation: none;
}
@keyframes pulse-call {
  0%,100% { box-shadow: 0 4px 20px rgba(22,163,74,0.5); }
  50% { box-shadow: 0 4px 28px rgba(22,163,74,0.7), 0 0 0 6px rgba(22,163,74,0.15); }
}

/* ── Fade-in on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .hero-section { min-height: 300px; }
  .home-main { flex-direction: column; }
  .float-call span.call-text { display: none; }
  .float-call { padding: 14px 16px; border-radius: 50%; font-size: 1.1rem; }
  .stat-number { font-size: 1.7rem; }
}
