/* ========================================
   XRoofer Website - Main Stylesheet
   Brand: Navy Blue #1C3D8F | Red #CC2228
   ======================================== */

:root {
  --blue: #1C3D8F;
  --blue-dark: #0E2460;
  --blue-light: #2a52b8;
  --red: #CC2228;
  --red-dark: #a31a1f;
  --white: #FFFFFF;
  --off-white: #F4F6FA;
  --light-gray: #E8EDF5;
  --mid-gray: #8A97B0;
  --dark-gray: #3A4A6B;
  --text: #1A2342;
  --shadow: 0 4px 24px rgba(28, 61, 143, 0.12);
  --shadow-lg: 0 8px 40px rgba(28, 61, 143, 0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -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, textarea, select { font-family: inherit; }

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

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--mid-gray);
  max-width: 560px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(204, 34, 40, 0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204, 34, 40, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,61,143,0.08);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(28,61,143,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo .logo-x {
  color: var(--red);
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark-gray);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--light-gray);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

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

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile Nav ---- */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--light-gray);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--light-gray);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--blue); }
.nav-mobile .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ---- Page Header (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.15rem; opacity: 0.85; max-width: 560px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb-sep { opacity: 0.5; }

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-light) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1920&q=60');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--white);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

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

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

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.88;
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--blue-dark);
  color: var(--white);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.trust-item svg { opacity: 0.8; flex-shrink: 0; }

.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
}

/* ---- Services Section ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  transition: all var(--transition);
}

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

.service-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--mid-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ---- Why Choose Us ---- */
.why-us {
  background: var(--off-white);
}

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

.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.why-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.why-badge-text strong { display: block; font-weight: 700; color: var(--text); }
.why-badge-text span { font-size: 0.85rem; color: var(--mid-gray); }

.why-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }

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

.why-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(28,61,143,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-feature h4 { font-size: 1rem; margin-bottom: 4px; color: var(--text); }
.why-feature p { font-size: 0.9rem; color: var(--mid-gray); line-height: 1.6; }

/* ---- Stats Section ---- */
.stats {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span { color: var(--red); }

.stat-label {
  font-size: 0.95rem;
  opacity: 0.75;
}

/* ---- Gallery Preview ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 16px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,36,96,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---- Full Gallery ---- */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-gray);
  background: var(--light-gray);
  border: 2px solid transparent;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.gallery-full-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-full-item:hover img { transform: scale(1.05); }

.gallery-full-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,36,96,0.5);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

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

/* ---- Testimonials ---- */
.testimonials { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.testimonial-card:hover { transform: translateY(-4px); }

.stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--dark-gray);
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.author-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.author-location { font-size: 0.82rem; color: var(--mid-gray); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { font-size: 1.15rem; opacity: 0.88; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.process-step { text-align: center; }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--blue);
}

.process-step h4 { margin-bottom: 8px; font-size: 1rem; }
.process-step p { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.6; }

/* ---- Services Full Page ---- */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-full-img {
  height: 200px;
  overflow: hidden;
}

.service-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-full-card:hover .service-full-img img { transform: scale(1.05); }

.service-full-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-full-body h3 { margin-bottom: 12px; }
.service-full-body p { color: var(--mid-gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; flex: 1; }

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

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

.about-img-main {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
}

.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-small {
  border-radius: var(--radius);
  overflow: hidden;
  height: 160px;
}
.about-img-small img { width: 100%; height: 100%; object-fit: cover; }

.about-values { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.about-value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius);
}
.about-value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}
.about-value h4 { font-size: 0.95rem; margin-bottom: 4px; }
.about-value p { font-size: 0.88rem; color: var(--mid-gray); }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-card h3 { margin-bottom: 8px; }
.contact-info-card > p { opacity: 0.8; font-size: 0.95rem; margin-bottom: 32px; line-height: 1.7; }

.contact-info-items { display: flex; flex-direction: column; gap: 20px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item strong { display: block; font-weight: 600; margin-bottom: 2px; }
.contact-info-item span { font-size: 0.9rem; opacity: 0.75; }

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

.contact-form-card h3 { margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: span 2; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
  width: 100%;
}

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

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

.form-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--mid-gray);
  text-align: center;
  margin-top: 12px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: #F0FDF4;
  border-radius: var(--radius);
  border: 2px solid #86EFAC;
}

.form-success.show { display: block; }
.form-success h4 { color: #15803D; margin-bottom: 8px; }
.form-success p { color: #166534; font-size: 0.95rem; }

/* ---- Footer ---- */
.footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 64px 0 0;
}

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

.footer-brand p {
  font-size: 0.92rem;
  opacity: 0.7;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

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

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.93rem;
  opacity: 0.75;
  transition: all var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition);
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

/* ---- Scroll to top ---- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
}

.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--red); transform: translateY(-3px); }

/* ---- Utilities ---- */
.hidden { display: none; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(28,61,143,0.1);
  color: var(--blue);
  margin-bottom: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid { gap: 40px; }
  .about-grid { gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .why-grid, .about-grid { grid-template-columns: 1fr; }
  .why-image { order: -1; }
  .why-image img { height: 300px; }
  .services-full-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 20px; }
  .trust-bar-inner { gap: 20px; }
  .trust-divider { display: none; }
  .about-images { grid-template-columns: 1fr; }
  .about-img-main { grid-column: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: span 1; }
}

@media (max-width: 480px) {
  .gallery-full-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ---- Google Reviews Badge ---- */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}
.google-badge:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
}
.google-badge-stars {
  color: #FBBC05;
  letter-spacing: 1px;
  font-size: 1rem;
}
.google-badge-text {
  font-size: 0.88rem;
  opacity: 0.95;
}

/* ---- Google badge in footer ---- */
.google-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  transition: background 0.2s;
}
.google-footer-badge:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.google-footer-badge .badge-stars {
  color: #FBBC05;
  font-size: 0.85rem;
}

/* ---- Certifications Section ---- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.cert-card {
  background: var(--white);
  border: 2px solid #e8edf5;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.cert-card:hover {
  box-shadow: 0 8px 32px rgba(26,58,107,0.10);
  border-color: #1a3a6b;
}
.cert-icon {
  width: 72px;
  height: 72px;
  background: #eef2fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cert-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1a3a6b;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cert-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.cert-desc {
  font-size: 0.93rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cert-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cert-benefits li {
  font-size: 0.88rem;
  color: var(--dark-gray);
  font-weight: 500;
}

/* ---- GAF footer badge ---- */
.gaf-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .cert-grid { grid-template-columns: 1fr; }
}

/* ---- Service Areas ---- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.area-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

.area-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.area-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .areas-grid { grid-template-columns: 1fr; }
}
