/* ============================================================
   BARRON & SONS PAINTING — Premium Website Stylesheet
   ============================================================ */

/* ---- Google Fonts are loaded in HTML ---- */

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #3B6CB2;
  --primary-dark: #2A4F8A;
  --primary-light: #5080C8;
  --primary-subtle: rgba(59, 108, 178, 0.08);
  --primary-subtle-2: rgba(59, 108, 178, 0.15);

  --dark: #0B1929;
  --dark-2: #0f2337;
  --dark-3: #172d47;

  --gold: #C4942A;
  --gold-light: #E8B84B;

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;

  --text-primary: #0f1f35;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-height: 80px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);
  --shadow-blue: 0 8px 30px rgba(59, 108, 178, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
button { font-family: var(--font-body); }

/* ---- Container ---- */
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 2rem; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--dark);
  padding: 0.55rem 0;
  font-size: 0.855rem;
  color: rgba(255,255,255,0.75);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.top-bar-contact span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.top-bar-contact svg {
  width: 14px; height: 14px;
  stroke: var(--primary-light); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.top-bar a { color: var(--primary-light); }
.top-bar a:hover { color: #fff; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.09);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1.5rem;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 58px; width: auto; object-fit: contain; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0.9rem; right: 0.9rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-subtle); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(59,108,178,0.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(59,108,178,0.38); color: #fff; }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

.btn-white { background: #fff; color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.14); }
.btn-white:hover { background: var(--gray-50); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); color: var(--primary); }

.btn-white-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-white-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-1px); color: #fff; }

.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.825rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; width: 44px; height: 44px; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.hamburger:hover { background: var(--gray-100); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-800); border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 1.5rem 1.5rem 2rem;
  display: flex; flex-direction: column; gap: 0.35rem;
  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  box-shadow: none;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 1.05rem; font-weight: 500;
  color: var(--gray-800);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition-fast);
}
.mobile-menu a:hover { background: var(--primary-subtle); color: var(--primary); padding-left: 1.75rem; }
.mobile-menu a.active { color: var(--primary); }
.mobile-menu .btn { margin-top: 1rem; width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }
.mobile-menu-bottom {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.mobile-menu-bottom a {
  border: none; color: var(--gray-600); font-size: 0.9rem;
  padding: 0.4rem 0; display: flex; align-items: center; gap: 0.5rem;
}
.mobile-menu-bottom a:hover { background: transparent; color: var(--primary); padding-left: 0; }
.mobile-menu-bottom svg {
  width: 16px; height: 16px; stroke: var(--primary-light); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #0d2950 100%);
  padding: 6rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(59,108,178,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; text-align: center; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.825rem; color: rgba(255,255,255,0.5);
  justify-content: center; margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb span { color: var(--primary-light); }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.775rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 0.9rem;
}
.section-label::before, .section-label::after {
  content: ''; display: block; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.section-label::before { width: 20px; }
.section-label::after { display: none; }

.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }
.text-center .section-label::after { display: block; width: 20px; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
}
.text-center .section-subtitle { margin: 0 auto; }
.text-center { text-align: center; }

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg,
    rgba(11,25,41,0.94) 0%,
    rgba(11,25,41,0.75) 45%,
    rgba(11,25,41,0.25) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 9rem 0 6rem;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(59,108,178,0.18);
  border: 1px solid rgba(59,108,178,0.4);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.06;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: normal;
  color: #8ab4f0;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.78;
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--primary);
  padding: 1.4rem 0;
}
.trust-bar-inner {
  display: flex; justify-content: center;
  align-items: center; flex-wrap: wrap; gap: 2.5rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.75rem;
  color: #fff;
}
.trust-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 20px; height: 20px;
  stroke: #fff; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.trust-value { font-size: 1.05rem; font-weight: 700; line-height: 1.2; display: block; }
.trust-label { font-size: 0.77rem; opacity: 0.8; letter-spacing: 0.02em; display: block; }
.trust-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ============================================================
   SERVICES SECTION (HOME)
   ============================================================ */
.services-home { padding: 7rem 0; background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.38s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); }
.service-icon svg {
  width: 26px; height: 26px;
  stroke: var(--primary); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke var(--transition);
}
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.68;
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  margin-top: 1.25rem;
  transition: gap var(--transition-fast);
}
.service-card-link:hover { gap: 0.75rem; }
.service-card-link svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 7rem 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.about-img-secondary {
  position: absolute; bottom: -36px; right: -36px;
  width: 240px; height: 185px; object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid #fff;
  box-shadow: var(--shadow-xl);
}
.about-stat-badge {
  position: absolute; top: 36px; left: -28px;
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-blue);
  text-align: center;
  min-width: 110px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem; font-weight: 700;
  line-height: 1; display: block;
}
.stat-label {
  font-size: 0.76rem; opacity: 0.82;
  margin-top: 0.3rem; letter-spacing: 0.03em;
  line-height: 1.4;
}

.about-content .section-subtitle { margin-bottom: 2rem; }

.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.85rem; margin-bottom: 2.5rem;
}
.about-feature {
  display: flex; align-items: flex-start; gap: 0.7rem;
}
.check-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--primary-subtle); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}
.check-icon svg {
  width: 11px; height: 11px;
  stroke: var(--primary); fill: none;
  stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.about-feature span { font-size: 0.9rem; font-weight: 500; color: var(--gray-700); }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
  padding: 7rem 0;
  background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 50%, #0c2545 100%);
  overflow: hidden;
  position: relative;
}
.process-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(59,108,178,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3.5rem;
  position: relative;
}
.process-connector {
  position: absolute;
  top: 40px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.process-step { text-align: center; position: relative; }
.process-number {
  width: 80px; height: 80px;
  background: rgba(59,108,178,0.14);
  border: 1px solid rgba(59,108,178,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.7rem; font-weight: 700;
  color: var(--primary-light);
  transition: all var(--transition);
}
.process-step:hover .process-number {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
  transform: scale(1.06);
}
.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; color: #fff; margin-bottom: 0.75rem;
}
.process-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.68;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 7rem 0; background: var(--gray-50); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 1.1rem; }
.testimonial-stars svg { width: 18px; height: 18px; fill: #F59E0B; }
.testimonial-text {
  font-size: 0.96rem; color: var(--gray-700);
  line-height: 1.78; font-style: italic;
  margin-bottom: 1.5rem; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem; flex-shrink: 0;
}
.testimonial-info strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.testimonial-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   GALLERY PREVIEW (HOME)
   ============================================================ */
.gallery-preview { padding: 7rem 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin-top: 3.5rem;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: pointer; }
.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,25,41,0.85) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1.4rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: 0.875rem; font-weight: 600; }
.gallery-view-all { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 7rem 0;
  background: linear-gradient(130deg, var(--primary-dark) 0%, var(--primary) 55%, #4e86d4 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50%; right: -15%;
  width: 700px; height: 700px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute; bottom: -40%; left: -8%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.04); border-radius: 50%;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #fff; margin-bottom: 1.2rem; line-height: 1.15;
}
.cta-content p {
  font-size: 1.075rem; color: rgba(255,255,255,0.8);
  max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.72;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem; font-weight: 700;
  transition: all var(--transition);
}
.cta-phone:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); color: #fff; }
.cta-phone svg {
  width: 18px; height: 18px;
  stroke: #fff; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 5rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3.5rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo img { height: 52px; filter: brightness(1) invert(0); }
.footer-brand p { font-size: 0.88rem; line-height: 1.72; margin-top: 1.25rem; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.75); }

.footer h4 {
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  transition: all var(--transition-fast);
  padding: 0.1rem 0;
}
.footer-links a:hover { color: #fff; padding-left: 0.35rem; }

.footer-contact-item {
  display: flex; gap: 0.85rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  margin-bottom: 0.85rem; align-items: flex-start;
}
.footer-contact-item svg {
  width: 17px; height: 17px;
  stroke: var(--primary-light); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; margin-top: 2px;
}
.footer-contact-item a { color: rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color: #fff; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(59,108,178,0.15);
  border: 1px solid rgba(59,108,178,0.3);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem; font-weight: 600;
  color: var(--primary-light);
  margin-top: 1rem;
}
.footer-badge svg {
  width: 14px; height: 14px;
  stroke: var(--primary-light); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-intro { padding: 5rem 0 3rem; }
.services-full {
  padding: 2rem 0 6rem;
}
.service-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row-img {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.service-row-content .section-label { margin-bottom: 0.75rem; }
.service-row-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem; color: var(--text-primary); margin-bottom: 1rem; line-height: 1.2;
}
.service-row-content p {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.78; margin-bottom: 1.5rem;
}
.service-features-list {
  display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem;
}
.service-feature {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: var(--gray-700);
}
.service-feature svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--primary); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* Full service list */
.all-services-section {
  padding: 5rem 0 7rem;
  background: var(--gray-50);
}
.all-services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-top: 3rem;
}
.mini-service-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  transition: all var(--transition);
  display: flex; align-items: flex-start; gap: 0.85rem;
}
.mini-service-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); transform: translateY(-3px); }
.mini-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--primary-subtle); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.mini-icon svg {
  width: 18px; height: 18px;
  stroke: var(--primary); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.mini-service-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.2rem; }
.mini-service-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-page { padding: 5rem 0 7rem; }
.gallery-filters {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-300);
  background: #fff;
  font-size: 0.875rem; font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--primary); border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59,108,178,0.25);
}
.gallery-masonry {
  columns: 3; gap: 1.1rem;
}
.gallery-masonry-item {
  break-inside: avoid; margin-bottom: 1.1rem;
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-masonry-item:hover { transform: scale(0.995); }
.gallery-masonry-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-masonry-item:hover img { transform: scale(1.04); }
.gallery-masonry-item .gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,25,41,0.82) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.gallery-masonry-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span { color: #fff; font-size: 0.85rem; font-weight: 600; }
.gallery-masonry-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 92vw; max-height: 90vh;
  object-fit: contain; border-radius: var(--radius-md);
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1); border: none; border-radius: 50%;
  color: #fff; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-section { padding: 5rem 0; }
.careers-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; margin-bottom: 5rem;
}
.careers-intro-img {
  width: 100%; height: 440px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
}
.careers-content h2 {
  font-family: var(--font-heading); font-size: 2.1rem;
  color: var(--text-primary); margin-bottom: 1rem; line-height: 1.2;
}
.careers-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.78; margin-bottom: 1rem; }

.perks-section { padding: 5rem 0; background: var(--gray-50); }
.perks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-top: 3rem;
}
.perk-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  text-align: center; transition: all var(--transition);
}
.perk-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.perk-icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; }
.perk-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.perk-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

.openings-section { padding: 5rem 0 7rem; }
.job-card {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-light); transform: translateX(5px); }
.job-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.job-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.job-tag {
  font-size: 0.78rem; font-weight: 600;
  padding: 0.2rem 0.75rem; border-radius: var(--radius-full);
  background: var(--primary-subtle); color: var(--primary);
}
.job-tag.green { background: rgba(16,185,129,0.1); color: #059669; }
.job-location {
  font-size: 0.85rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.35rem;
  margin-top: 0.5rem;
}
.job-location svg {
  width: 14px; height: 14px;
  stroke: var(--text-muted); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.apply-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-xl); padding: 4rem;
  text-align: center; margin-top: 3rem;
}
.apply-cta h3 {
  font-family: var(--font-heading); font-size: 2rem;
  color: #fff; margin-bottom: 1rem;
}
.apply-cta p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.72; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 5rem 0 7rem; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}
.contact-info h2 {
  font-family: var(--font-heading); font-size: 2.1rem;
  color: var(--text-primary); margin-bottom: 1rem; line-height: 1.2;
}
.contact-info > p { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 2.25rem; }
.contact-card {
  display: flex; gap: 1.1rem; margin-bottom: 1.1rem;
  padding: 1.25rem; border-radius: var(--radius-md);
  background: var(--gray-50); border: 1px solid var(--gray-200);
  align-items: flex-start;
}
.contact-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-subtle); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--primary); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.contact-card-body strong {
  display: block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-primary); margin-bottom: 0.25rem;
}
.contact-card-body a, .contact-card-body span {
  font-size: 0.975rem; color: var(--gray-700);
}
.contact-card-body a:hover { color: var(--primary); }

.service-areas-wrap { margin-top: 2rem; }
.service-areas-wrap h4 {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-primary); margin-bottom: 0.85rem;
}
.area-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.area-tag {
  font-size: 0.8rem; font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--primary-subtle); color: var(--primary);
  border: 1px solid rgba(59,108,178,0.2);
}

/* Contact Form */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 2.75rem;
  box-shadow: var(--shadow-md);
}
.form-title { font-family: var(--font-heading); font-size: 1.7rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.form-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block; font-size: 0.84rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.82rem 1rem;
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.94rem;
  color: var(--text-primary); transition: all var(--transition-fast);
  outline: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(59,108,178,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { min-height: 128px; resize: vertical; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }

/* ============================================================
   RESPONSIVE — TABLET (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { order: -1; }
  .about-img-secondary { display: none; }
  .about-stat-badge { left: 20px; top: 20px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .process-connector { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .service-row { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr; }
  .service-row.reverse { direction: ltr; }
  .service-row-img { height: 300px; }
  .all-services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .gallery-item:nth-child(2) { grid-column: span 3; }
  .gallery-item:nth-child(3) { grid-column: span 3; }
  .gallery-item:nth-child(4) { grid-column: span 3; }
  .gallery-item:nth-child(5) { grid-column: span 3; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .careers-intro { grid-template-columns: 1fr; gap: 3rem; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .top-bar { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 5.5rem 0 4rem; }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hero-desc { font-size: 1rem; }

  .trust-bar-inner { flex-direction: column; gap: 1rem; align-items: center; }
  .hero-scroll { display: none; }
  .services-home, .about-section, .process-section, .testimonials-section,
  .gallery-preview, .cta-section, .all-services-section { padding: 4.5rem 0; }
  .trust-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .gallery-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px; gap: 0.75rem;
  }
  .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery-item:first-child { grid-column: span 2 !important; }

  .gallery-masonry { columns: 2; gap: 0.75rem; }
  .gallery-masonry-item { margin-bottom: 0.75rem; }

  .all-services-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .apply-cta { padding: 2.5rem 1.5rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn, .cta-actions .cta-phone { width: 100%; text-align: center; }
  .gallery-masonry { columns: 1; }
  .all-services-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { align-items: center; }
  .page-hero { padding: 4.5rem 0 3rem; }
  .services-home, .about-section, .process-section, .testimonials-section,
  .gallery-preview, .cta-section, .all-services-section { padding: 3.5rem 0; }
}
