/* ============================================
   BrightWire Electric — Stylesheet
   Yellow accent on dark charcoal, mobile-first
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --yellow: #FFC107;
  --yellow-dark: #E5AC00;
  --yellow-light: #FFD54F;
  --charcoal: #1E1E1E;
  --charcoal-light: #2A2A2A;
  --charcoal-mid: #333333;
  --dark-bg: #121212;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #CCCCCC;
  --gray-400: #999999;
  --gray-500: #666666;
  --red: #E74C3C;
  --green: #27AE60;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.25);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.accent { color: var(--yellow); }

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

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

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

.section-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,193,7,0.4);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn-emergency {
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  padding: 14px 28px;
  animation: pulse-glow 2s infinite;
}

.btn-emergency:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(231,76,60,0.3); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(30,30,30,0.97);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  z-index: 1001;
}

.logo-icon {
  color: var(--yellow);
  font-size: 1.6rem;
}

.logo-text strong { color: var(--yellow); }

.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* Mobile nav overlay */
.main-nav.open {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(30,30,30,0.98);
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.main-nav.open .nav-list {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.main-nav.open .nav-link {
  font-size: 1.25rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../IMAGES/Electrician Working/pexels-photo-4981802.jpeg') center/cover no-repeat #1a1a2e;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.4) 0%, rgba(15,52,96,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  color: var(--white);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,193,7,0.15);
  border: 1px solid rgba(255,193,7,0.3);
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
}

.hero h1 {
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-300);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

/* ============================================
   EMERGENCY BAR
   ============================================ */
.emergency-bar {
  background: var(--charcoal);
  padding: 24px 0;
  border-bottom: 3px solid var(--red);
}

.emergency-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.emergency-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.emergency-text h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.emergency-text p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 80px 0;
  background: var(--gray-100);
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.tab-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  color: var(--gray-500);
  background: var(--white);
  border: 2px solid var(--gray-200);
  transition: all var(--transition);
}

.tab-btn:hover {
  border-color: var(--yellow);
  color: var(--charcoal);
}

.tab-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--charcoal);
}

.tab-btn i { margin-right: 6px; }

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeUp 0.4s ease;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 1.4rem;
}

.service-card h3 {
  margin-bottom: 8px;
}

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

/* ============================================
   WHY US / STATS
   ============================================ */
.why-us {
  padding: 80px 0;
  background: var(--charcoal);
  color: var(--white);
}

.why-us .section-header p { color: var(--gray-400); }

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

.stat-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  background: var(--charcoal-light);
  border: 1px solid var(--charcoal-mid);
}

.stat-number {
  display: inline;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yellow);
}

.stat-suffix {
  display: inline;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
}

.stat-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 80px 0;
  background: var(--gray-100);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--gray-500);
  border: 2px solid var(--gray-300);
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--yellow);
  color: var(--charcoal);
}

.filter-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--charcoal);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item.hidden {
  display: none;
}

.gallery-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-placeholder {
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
}

.gallery-overlay p {
  color: var(--gray-400);
  font-size: 0.85rem;
}

.gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 0.9rem;
  transition: transform var(--transition);
}

.gallery-zoom:hover { transform: scale(1.1); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--white);
  font-size: 1.5rem;
  padding: 12px;
  z-index: 10;
  transition: color var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--yellow);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.lightbox-caption h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.lightbox-caption p {
  color: var(--gray-400);
}

/* ============================================
   BLOG
   ============================================ */
.blog {
  padding: 80px 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

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

.blog-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-placeholder {
  font-size: 3rem;
  color: rgba(255,255,255,0.4);
}

.blog-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.blog-body {
  padding: 24px;
}

.blog-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yellow-dark);
  margin-bottom: 8px;
  display: block;
}

.blog-body h3 {
  margin-bottom: 8px;
}

.blog-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yellow-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.blog-link:hover {
  gap: 10px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 80px 0;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.testimonials .section-header p { color: var(--gray-400); }

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 32px 24px;
  background: var(--charcoal-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--charcoal-mid);
  margin: 0 8px;
  box-sizing: border-box;
}

.testimonial-stars {
  color: var(--yellow);
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}

.testimonial-card > p {
  font-style: italic;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 1rem;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--charcoal-mid);
  border: 2px solid var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ============================================
   ESTIMATE FORM
   ============================================ */
.estimate {
  padding: 80px 0;
  background:
    linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.estimate .section-tag { margin-bottom: 12px; }

.estimate-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.estimate-info {
  color: var(--white);
}

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

.estimate-info > p {
  color: var(--gray-400);
  margin-bottom: 24px;
  line-height: 1.7;
}

.estimate-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.estimate-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-300);
  font-size: 0.95rem;
}

.estimate-perks i {
  color: var(--yellow);
}

.estimate-form {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  position: relative;
}

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

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

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

.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--charcoal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
}

.form-error {
  display: none;
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 4px;
}

.form-group input.error ~ .form-error {
  display: block;
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.form-success i {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 16px;
}

.form-success p {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark-bg);
  color: var(--gray-400);
  padding: 60px 0 0;
}

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

.footer-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border: 2px solid var(--charcoal-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--yellow);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.service-areas {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px !important;
}

.service-areas li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.service-areas i {
  color: var(--yellow);
  font-size: 0.7rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.contact-list i {
  color: var(--yellow);
  margin-top: 4px;
  width: 16px;
  text-align: center;
}

.contact-list a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-mid);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — Tablet (600px+)
   ============================================ */
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .emergency-inner {
    flex-direction: row;
    text-align: left;
  }
}

/* ============================================
   RESPONSIVE — Desktop (900px+)
   ============================================ */
@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .header-phone {
    display: flex;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .estimate-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .estimate-form {
    padding: 40px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  .testimonial-card {
    min-width: calc(100% / 1);
  }
}

/* ============================================
   RESPONSIVE — Large (1100px+)
   ============================================ */
@media (min-width: 1100px) {
  .hero-content {
    max-width: 640px;
  }

  .container {
    padding: 0 40px;
  }
}
