/* ==========================================================================
   MEDIAN ELECTRICAL, SOLAR & DATA - MASTER STYLESHEET
   Brand Colors: Navy Blue (#162C5B, #1B3674) & Solar Orange (#F37021, #FF7A18)
   Typography: Outfit (Headings), Plus Jakarta Sans (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary-navy: #162C5B;
  --primary-navy-dark: #0D1C3B;
  --primary-navy-light: #204184;
  --primary-navy-surface: #F0F4FC;
  
  --solar-orange: #F37021;
  --solar-orange-hover: #E05C0C;
  --solar-orange-light: #FFF4EC;
  --solar-orange-glow: rgba(243, 112, 33, 0.25);

  --accent-gold: #F59E0B;
  --accent-emerald: #10B981;
  
  /* Neutrals */
  --neutral-dark: #0F172A;
  --neutral-slate: #1E293B;
  --neutral-body: #475569;
  --neutral-muted: #64748B;
  --neutral-light: #F8FAFC;
  --neutral-card: #FFFFFF;
  --neutral-border: #E2E8F0;
  --neutral-border-light: #F1F5F9;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(22, 44, 91, 0.2);
  --shadow-orange: 0 10px 25px -5px rgba(243, 112, 33, 0.35);

  /* Layout */
  --max-width: 1240px;
  --header-height: 104px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-body);
  background-color: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-bg-light {
  background-color: var(--neutral-light);
}

.section-bg-navy {
  background-color: var(--primary-navy);
  color: #FFFFFF;
}

.section-bg-dark {
  background-color: var(--neutral-dark);
  color: #FFFFFF;
}

/* Text & Badges */
.text-orange {
  color: var(--solar-orange);
}

.text-navy {
  color: var(--primary-navy);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  background: var(--solar-orange-light);
  color: var(--solar-orange);
  border: 1px solid rgba(243, 112, 33, 0.2);
  margin-bottom: 1rem;
}

.badge-pill.badge-navy {
  background: var(--primary-navy-surface);
  color: var(--primary-navy);
  border-color: rgba(22, 44, 91, 0.2);
}

.badge-pill.badge-white {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--neutral-muted);
}

.section-bg-navy .section-header h2,
.section-bg-dark .section-header h2 {
  color: #FFFFFF;
}

.section-bg-navy .section-header p,
.section-bg-dark .section-header p {
  color: #CBD5E1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--solar-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.35);
}

.btn-primary:hover {
  background-color: var(--solar-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 112, 33, 0.45);
  color: #FFFFFF;
}

.btn-navy {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(22, 44, 91, 0.25);
}

.btn-navy:hover {
  background-color: var(--primary-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 44, 91, 0.35);
  color: #FFFFFF;
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--primary-navy);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

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

.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background: var(--primary-navy-dark);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item svg {
  color: var(--solar-orange);
}

.top-bar-item a:hover {
  color: #FFFFFF;
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0.65rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 82px;
  width: auto;
  max-height: 86px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--neutral-slate);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--solar-orange);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--solar-orange);
}

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

.nav-link.active {
  color: var(--solar-orange);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--primary-navy);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--primary-navy-surface);
  border: 1px solid rgba(22, 44, 91, 0.15);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.header-phone-btn svg {
  color: var(--solar-orange);
}

.header-phone-btn:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
}

.header-phone-btn:hover svg {
  color: #FFFFFF;
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-navy);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1050;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--neutral-border);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--neutral-muted);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--neutral-slate);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
}

.mobile-nav-link:hover {
  color: var(--solar-orange);
  background: var(--neutral-light);
  transform: translateX(4px);
}

.mobile-nav-link.active {
  color: var(--solar-orange);
  background: var(--solar-orange-light);
  font-weight: 700;
  border-left: 4px solid var(--solar-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding-left: 0.85rem;
}

.mobile-nav-link.active::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--solar-orange);
  box-shadow: 0 0 8px rgba(243, 112, 33, 0.5);
  display: inline-block;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0D1C3B 0%, #162C5B 60%, #1A3670 100%);
  color: #FFFFFF;
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(243, 112, 33, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.4rem;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.18rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #E2E8F0;
}

.trust-item svg {
  color: var(--solar-orange);
}

.hero-card-stack {
  position: relative;
}

.hero-main-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.hero-main-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: #FFFFFF;
  color: var(--neutral-slate);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
  border-left: 4px solid var(--solar-orange);
}

.hero-floating-card .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--solar-orange-light);
  color: var(--solar-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
  color: var(--primary-navy);
}

.hero-floating-card p {
  font-size: 0.82rem;
  color: var(--neutral-muted);
  line-height: 1.3;
}

.hero-badge-corner {
  position: absolute;
  top: 20px;
  right: -20px;
  background: rgba(13, 28, 59, 0.92);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.hero-badge-corner .number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--solar-orange);
  line-height: 1;
}

.hero-badge-corner .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #E2E8F0;
}

/* ==========================================================================
   METRICS / STATS STRIP
   ========================================================================== */
.stats-strip {
  background: #FFFFFF;
  padding: 3rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: var(--radius-lg);
}

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

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--neutral-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

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

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-muted);
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-border);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(243, 112, 33, 0.4);
}

.service-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-img-wrap img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(13, 28, 59, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--solar-orange-light);
  color: var(--solar-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -42px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  border: 2px solid #FFFFFF;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--neutral-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--neutral-border-light);
}

.service-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.service-link svg {
  transition: transform var(--transition-fast);
  color: var(--solar-orange);
}

.service-card:hover .service-link {
  color: var(--solar-orange);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-choose-section {
  background: #101E42;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.why-header {
  margin-bottom: 2.25rem;
}

.why-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.why-title-line {
  width: 38px;
  height: 3px;
  background-color: var(--solar-orange);
  display: inline-block;
  border-radius: 2px;
}

.why-header h2 {
  font-size: 2.75rem;
  color: #FFFFFF;
  line-height: 1.15;
  font-weight: 800;
}

.why-header h2 span {
  color: var(--solar-orange);
}

.why-header p {
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 580px;
}

.features-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.25rem;
}

.feature-item-sleek {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(243, 112, 33, 0.12);
  border: 1px solid rgba(243, 112, 33, 0.35);
  color: var(--solar-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.feature-item-sleek:hover .feature-icon-circle {
  background: var(--solar-orange);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.feature-text h3 {
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.feature-text p {
  color: #CBD5E1;
  font-size: 0.9rem;
  line-height: 1.55;
}

.why-media-side {
  position: relative;
  display: flex;
  justify-content: center;
}

.why-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.12);
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #0D1C3B;
}

.why-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.why-badge-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(13, 28, 59, 0.88);
  backdrop-filter: blur(10px);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.why-badge-overlay h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin: 0;
}

.why-badge-overlay span {
  color: var(--solar-orange);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   INTERACTIVE QUOTE ESTIMATOR BANNER
   ========================================================================== */
.quote-estimator-section {
  background: linear-gradient(135deg, #FFF6EE 0%, #FFFFFF 100%);
  border-top: 1px solid #FFE4D1;
  border-bottom: 1px solid #FFE4D1;
}

.quote-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-border);
  padding: 2.5rem;
}

.quote-box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.25rem;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--neutral-slate);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--solar-orange);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.15);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 112, 33, 0.3);
}

.rating-stars {
  display: flex;
  gap: 0.25rem;
  color: #F59E0B;
  margin-bottom: 1.25rem;
}

.rating-stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--neutral-slate);
  font-style: italic;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--neutral-border-light);
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-navy-surface);
  border: 2px solid rgba(243, 112, 33, 0.4);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--primary-navy);
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--neutral-muted);
}

/* ==========================================================================
   PROJECT GALLERY & FILTERING
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--neutral-border);
  background: #FFFFFF;
  color: var(--neutral-slate);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background-color: #0F172A;
  aspect-ratio: 4 / 3;
}

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

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 59, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gallery-zoom-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--solar-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(243, 112, 33, 0.4);
  transform: scale(0.65);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13, 28, 59, 0.18);
}

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

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

.gallery-item:hover .gallery-zoom-badge {
  transform: scale(1);
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX MODAL (ZOOM IN/OUT, NEXT/PREV, CLOSE, NO TEXT)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  user-select: none;
  overflow: hidden;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

/* Top Toolbar */
.lightbox-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3020;
  pointer-events: none;
}

.lightbox-counter {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.05em;
}

.lightbox-tools {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.lightbox-btn:hover {
  background: var(--solar-orange);
  border-color: var(--solar-orange);
  color: #FFFFFF;
  transform: scale(1.08);
}

.lightbox-btn.lightbox-reset-btn {
  width: auto;
  border-radius: 9999px;
  padding: 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
}

.lightbox-btn.lightbox-close {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #FFFFFF;
  margin-left: 0.4rem;
}

.lightbox-btn.lightbox-close:hover {
  background: #EF4444;
  border-color: #EF4444;
  transform: scale(1.08) rotate(90deg);
}

/* Nav Chevrons */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3015;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.lightbox-nav-btn.lightbox-prev {
  left: 1.5rem;
}

.lightbox-nav-btn.lightbox-next {
  right: 1.5rem;
}

.lightbox-nav-btn:hover {
  background: var(--solar-orange);
  border-color: var(--solar-orange);
  transform: translateY(-50%) scale(1.1);
}

/* Image Stage / Viewport */
.lightbox-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3010;
  cursor: grab;
  padding: 5rem 6rem;
}

.lightbox-viewport.is-dragging {
  cursor: grabbing !important;
}

.lightbox-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  will-change: transform;
  transition: transform 0.18s ease-out;
}

.lightbox-image-container.no-transition {
  transition: none !important;
}

.lightbox-image {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  pointer-events: auto;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-image.is-zoomed {
  cursor: grab;
}

@media (max-width: 768px) {
  .lightbox-toolbar {
    padding: 0.85rem 1rem;
  }
  .lightbox-btn {
    width: 38px;
    height: 38px;
  }
  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
  }
  .lightbox-nav-btn.lightbox-prev {
    left: 0.75rem;
  }
  .lightbox-nav-btn.lightbox-next {
    right: 0.75rem;
  }
  .lightbox-viewport {
    padding: 4rem 1rem 3rem 1rem;
  }
  .lightbox-image {
    max-width: 95vw;
    max-height: 75vh;
  }
}

/* ==========================================================================
   BLOG / NEWS SECTION
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 112, 33, 0.3);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--solar-orange);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card p {
  color: var(--neutral-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #F37021 0%, #D8560A 100%);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 3rem auto;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.cta-text h2 {
  font-size: 2.4rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.cta-text p {
  font-size: 1.15rem;
  color: #FFF0E6;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0B132B;
  color: #94A3B8;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  color: #94A3B8;
}

.footer-logo {
  background: #FFFFFF;
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.footer-logo img {
  height: 74px;
  width: auto;
  max-height: 78px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--solar-orange);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #CBD5E1;
}

.footer-contact-item svg {
  color: var(--solar-orange);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a:hover {
  color: var(--solar-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  font-size: 0.85rem;
  color: #64748B;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--solar-orange);
}

.footer-developer a {
  color: var(--solar-orange);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-developer a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ==========================================================================
   SUBPAGE HERO BANNER
   ========================================================================== */
.subpage-hero {
  background: linear-gradient(135deg, #0B132B 0%, #162C5B 100%);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  text-align: center;
}

.subpage-hero h1 {
  color: #FFFFFF;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.subpage-hero p {
  color: #CBD5E1;
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-top: 1.25rem;
  color: #94A3B8;
}

.breadcrumbs a {
  color: #E2E8F0;
}

.breadcrumbs a:hover {
  color: var(--solar-orange);
}

.breadcrumbs span {
  color: var(--solar-orange);
}

/* ==========================================================================
   SERVICE DETAIL BLOCKS (Services Page)
   ========================================================================== */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--neutral-border);
}

.service-detail-row:last-child {
  border-bottom: none;
}

.service-detail-row.reverse {
  direction: rtl;
}

.service-detail-row.reverse > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-border);
}

.service-detail-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.service-detail-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-detail-text p {
  font-size: 1.05rem;
  color: var(--neutral-body);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-slate);
}

.service-feature-item svg {
  color: var(--solar-orange);
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-panel {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-panel h2 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-info-panel p {
  color: #CBD5E1;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-channel-item {
  display: flex;
  gap: 1.25rem;
}

.channel-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(243, 112, 33, 0.2);
  color: var(--solar-orange);
  border: 1px solid rgba(243, 112, 33, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-text h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.channel-text a,
.channel-text span {
  color: #E2E8F0;
  font-size: 0.98rem;
}

.channel-text a:hover {
  color: var(--solar-orange);
}

.contact-form-card {
  background: #FFFFFF;
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group-full {
  margin-bottom: 1.25rem;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Toast alert */
.toast-msg {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 1.2rem 1.75rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-emerald);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
  transition: var(--transition-normal);
}

.floating-call {
  background-color: var(--solar-orange);
}

.floating-call:hover {
  transform: scale(1.1);
  background-color: var(--solar-orange-hover);
}

/* Accordion FAQs */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--solar-orange);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-navy);
  user-select: none;
}

.faq-question svg {
  transition: transform var(--transition-fast);
  color: var(--solar-orange);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--neutral-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   COMPONENT UTILITIES & RESPONSIVE GRIDS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.quote-builder-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
}

.quote-service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.quote-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: center;
}

.mission-promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-area-card {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET, MOBILE)
   ========================================================================== */

/* Laptop & Tablet Landscape (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 90px;
  }

  .brand-logo img {
    height: 72px;
    max-height: 76px;
  }

  .nav-menu {
    gap: 1.25rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-main-image-wrapper img {
    height: 380px;
    object-fit: cover;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .quote-box-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .quote-builder-box {
    padding: 2.5rem 2rem;
  }
}

/* Tablet Portrait & Navigation Switch (<= 992px) */
@media (max-width: 992px) {
  .top-bar {
    display: none; /* Streamline mobile & tablet viewports */
  }

  .nav-menu,
  .header-phone-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .header-container {
    min-height: 80px;
    padding: 0.5rem 0;
  }

  .brand-logo img {
    height: 68px;
    max-height: 72px;
  }

  .mission-promise-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .quote-guarantee-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-area-card {
    padding: 2.5rem 1.75rem;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Mobile Landscape & Standard Mobile (<= 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .page-hero {
    padding: 3.5rem 0;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

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

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

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

  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-row.reverse {
    direction: ltr;
  }

  .service-detail-image img {
    height: 280px;
    width: 100%;
    object-fit: cover;
  }

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .cta-buttons .btn {
    width: 100%;
  }

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

  .features-list-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .stat-item::after {
    display: none;
  }

  .stat-item h3 {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .quote-box-grid {
    grid-template-columns: 1fr;
  }

  .quote-builder-box {
    padding: 2rem 1.25rem;
  }

  .why-image img {
    height: 320px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-form-container {
    padding: 2rem 1.25rem;
  }

  .lightbox-toolbar {
    padding: 1rem;
  }

  .lightbox-counter {
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
  }

  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
  }

  .lightbox-nav-btn.lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-nav-btn.lightbox-next {
    right: 0.5rem;
  }
}

/* Phones & Small Screens (<= 480px) */
@media (max-width: 480px) {
  html {
    font-size: 14.5px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header {
    min-height: 68px;
  }

  .header-container {
    min-height: 68px;
    padding: 0.4rem 0;
  }

  .brand-logo img {
    height: 58px;
    max-height: 62px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .page-hero h1 {
    font-size: 1.85rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1.25rem;
    max-width: 100%;
  }

  .hero-main-image-wrapper img {
    height: 250px;
  }

  .why-image img {
    height: 240px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quote-service-options {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gallery-filters {
    gap: 0.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .floating-call {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .floating-call svg {
    width: 22px;
    height: 22px;
  }

  .lightbox-toolbar {
    padding: 0.75rem;
  }

  .lightbox-btn {
    width: 38px;
    height: 38px;
  }

  .lightbox-btn svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    background: rgba(13, 28, 59, 0.75);
  }

  .lightbox-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .service-area-card {
    padding: 2rem 1.25rem;
  }

  .service-area-card h3 {
    font-size: 1.5rem;
  }
}

/* Extra Small Phones (<= 360px) */
@media (max-width: 360px) {
  .brand-logo img {
    height: 48px;
    max-height: 52px;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.88rem;
  }
}
