/* ==========================================
   RYAN PLUMBING - PREMIUM REDESIGN v2
   Brand Colors: Navy Blue + Crimson Red
   Neo-Minimalism with Kinetic Typography
   ========================================== */

:root {
  /* Brand Colors from Logo */
  --primary-blue: #1a3a6e;
  --blue-dark: #0f2449;
  --blue-medium: #1e4d8c;
  --blue-light: #2a5298;
  --blue-accent: #3d7dd8;

  --brand-red: #c41e3a;
  --red-dark: #9e1830;
  --red-light: #e63950;
  --red-accent: #ff4757;

  /* Neutrals - Refined Palette */
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-50: #f9fafb;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;

  /* Hardcoded third-party brand colors */
  --google-yellow: #fbbc05;
  --google-gray: #5f6368;
  --google-blue: #0d47a1;
  --google-green: #34a853;
  --gold-star: #ffd700;
  --text-dark: #1a1a2e;

  /* Gradients */
  --gradient-hero: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 50%,
    #eef2f7 100%
  );
  --gradient-trust: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
  --gradient-card: linear-gradient(
    145deg,
    var(--primary-blue) 0%,
    var(--blue-dark) 100%
  );
  --gradient-hero-light: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(248, 250, 252, 0.95) 50%,
    rgba(238, 242, 247, 0.98) 100%
  );

  /* Typography - Premium Pairing */
  --font-heading: "Syne", "Libre Baskerville", Georgia, serif;
  --font-body:
    "Plus Jakarta Sans", "Source Sans Pro", -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-width: 1200px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(15, 36, 73, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 36, 73, 0.08);
  --shadow-lg: 0 8px 40px rgba(15, 36, 73, 0.12);
  --shadow-red: 0 4px 20px rgba(196, 30, 58, 0.35);
  --shadow-card: 0 10px 40px -10px rgba(15, 36, 73, 0.15);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions - Refined Easing */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Subtle Grain Texture Overlay - Premium Depth */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--brand-red);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

ul {
  list-style: none;
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
  overflow-x: hidden;
}

.section-padding {
  padding: var(--section-padding) 0;
}

/* Hide scrollbars globally but keep functionality */
* {
  box-sizing: border-box;
  max-width: 100vw;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  overflow-wrap: break-word;
  -webkit-overflow-scrolling: auto;
}

*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Prevent scroll attempts on mobile */
/* Keep scroll working but hide scrollbars */
html,
body {
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Remove scrollbar from specific interactive elements that still need to scroll */
.mobile-menu,
.floating-cta,
.floating-call-btn {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-menu::-webkit-scrollbar,
.floating-cta::-webkit-scrollbar,
.floating-call-btn::-webkit-scrollbar {
  display: none;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--brand-red);
  transform: translateY(-2px);
}
.scroll-top svg {
  width: 24px;
  height: 24px;
}
/* ==========================================
   BUTTONS - Premium Micro-interactions
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
  color: var(--white);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

/* Primary CTA Pulse Animation (Module F) */
.btn-primary.pulse-glow {
  animation: pulseGlow 2s ease-in-out 2s infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.35);
  }
  50% {
    box-shadow:
      0 4px 30px rgba(196, 30, 58, 0.6),
      0 0 0 8px rgba(196, 30, 58, 0.1);
  }
}

.btn-accent {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.btn-accent:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 58, 110, 0.3);
  color: var(--white);
}

.btn-accent:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-full {
  width: 100%;
}

/* ==========================================
   HEADER - Sticky Navigation
   ========================================== */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
  overflow: visible;
  transform: translateY(-100%);
}

.sticky-header.visible {
  transform: translateY(0);
}

.sticky-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Non-index pages: header always visible (no scroll-hide effect) */
body.page-inner .sticky-header {
  transform: translateY(0) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1400px;
  margin: 0 auto;
  min-width: 0;
}

.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 65px;
  width: auto;
  display: block;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.navbar {
  padding: 12px 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  border-radius: var(--radius-sm);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.main-nav a:hover {
  background: rgba(26, 58, 110, 0.06);
  color: var(--primary-blue);
}

.main-nav .nav-cta {
  background: var(--brand-red);
  color: var(--white);
}

.main-nav .nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.phone {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: color 0.2s ease;
}

.phone:hover {
  color: var(--brand-red);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.hamburger:hover {
  border-color: var(--blue-dark);
  background: rgba(26, 58, 110, 0.05);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Hamburger Animation when menu is open */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  right: 16px;
  left: auto;
  width: 270px;
  background: rgba(15, 36, 73, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-red);
  border-radius: 14px 14px 0 0;
}

.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 12px 22px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    padding-left 0.18s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  padding-left: 28px;
}

.mobile-menu .btn {
  display: block;
  margin: 8px 16px 10px;
  text-align: center;
  width: calc(100% - 32px);
  box-sizing: border-box;
}

/* ==========================================
   HERO SECTION - Premium Refinements
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--gradient-hero);
  overflow: hidden;
  min-width: 0;
  padding: 4px 16px 0;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Hero Logo - centered front and center */
.hero-logo-wrap {
  margin-bottom: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  position: relative;
  z-index: 2;
}

.hero-logo-img {
  height: clamp(120px, 24vw, 200px);
  width: auto;
  animation: logoFloat 6s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero-logo-img {
    height: clamp(90px, 32vw, 140px);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.85) 50%,
    rgba(238, 242, 247, 0.9) 100%
  );
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cdefs%3E%3CradialGradient id='drop1' cx='30%25' cy='30%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%233d7dd8' stop-opacity='0.3'/%3E%3Cstop offset='100%25' stop-color='%231a3a6e' stop-opacity='0.15'/%3E%3C/radialGradient%3E%3CradialGradient id='drop2' cx='30%25' cy='30%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%2367c3e8' stop-opacity='0.25'/%3E%3Cstop offset='100%25' stop-color='%231a3a6e' stop-opacity='0.1'/%3E%3C/radialGradient%3E%3CradialGradient id='drop3' cx='30%25' cy='30%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%232a5298' stop-opacity='0.2'/%3E%3Cstop offset='100%25' stop-color='%231a3a6e' stop-opacity='0.12'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M40 8 C40 8 56 28 56 40 C56 51 49 58 40 58 C31 58 24 51 24 40 C24 28 40 8 40 8Z' fill='url(%23drop1)' transform='translate(0,0) scale(0.5)'/%3E%3Cpath d='M40 8 C40 8 56 28 56 40 C56 51 49 58 40 58 C31 58 24 51 24 40 C24 28 40 8 40 8Z' fill='url(%23drop2)' transform='translate(42,10) scale(0.35)'/%3E%3Cpath d='M40 8 C40 8 56 28 56 40 C56 51 49 58 40 58 C31 58 24 51 24 40 C24 28 40 8 40 8Z' fill='url(%23drop3)' transform='translate(14,44) scale(0.4)'/%3E%3Cpath d='M40 8 C40 8 56 28 56 40 C56 51 49 58 40 58 C31 58 24 51 24 40 C24 28 40 8 40 8Z' fill='url(%23drop1)' transform='translate(58,52) scale(0.3)'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  background-position: 0 0;
  z-index: 0;
  opacity: 0.7;
  animation: waterDrift 20s ease-in-out infinite;
}

@keyframes waterDrift {
  0% {
    background-position: 0 0;
    opacity: 0.65;
  }
  50% {
    background-position: 30px 20px;
    opacity: 0.85;
  }
  100% {
    background-position: 0 0;
    opacity: 0.65;
  }
}

/* removed duplicate ::after */

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px 20px;
}

.hero-lower {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  background: linear-gradient(
    160deg,
    #1a3a6e 0%,
    #0f2449 40%,
    #0d1f3a 70%,
    #050d1a 100%
  );
  padding: 24px 20px 30px;
  border-radius: 20px;
}

.hero-lower .hero-tagline {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-lower .hero-sub {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-lower .badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  transition: none;
  outline: none;
}

.hero-lower .badge:hover,
.hero-lower .badge:focus,
.hero-lower .badge:focus-visible,
.hero-lower .badge:active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  outline: none;
  transform: none;
}

.hero-lower .badge * {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.hero-lower .badge svg {
  stroke: var(--white);
}

.hero-lower .hero-actions .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.hero-lower .hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85em;
  margin-bottom: 12px;
  border: 1px solid rgba(26, 58, 110, 0.2);
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease-out;
  box-shadow: 0 4px 20px rgba(26, 58, 110, 0.12);
  color: var(--primary-blue);
}

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

.hero-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--brand-red);
  animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.hero-content h1 {
  display: none; /* Logo is the brand - h1 hidden visually */
}

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

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.3em, 2.2vw, 1.7em);
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-weight: 700;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: clamp(1.05em, 1.8vw, 1.2em);
  color: var(--primary-blue);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8em;
  font-weight: 600;
  border: 1px solid rgba(26, 58, 110, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  color: var(--primary-blue);
}

.badge:hover {
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-2px);
  border-color: rgba(26, 58, 110, 0.25);
}

.badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-actions .btn {
  min-width: 160px;
  padding: 12px 24px;
}

/* ==========================================
   TRUST BAR - Premium Refinement
   ========================================== */
.trust-bar {
  background: var(--gradient-trust);
  padding: 30px 0;
  position: relative;
  min-width: 0;
}

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

.trust-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
  min-width: 0;
  flex-shrink: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
  min-width: 0;
  overflow: hidden;
}

.trust-item:hover {
  transform: translateY(-3px);
}

.trust-item svg {
  width: 36px;
  height: 36px;
  stroke: var(--white);
  fill: none;
  opacity: 0.9;
  flex-shrink: 0;
}

.trust-item:hover svg {
  opacity: 1;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.trust-item strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white);
  text-align: center;
}

.trust-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

/* ==========================================
   SERVICES SECTION - Premium Refinement
   ========================================== */
.services {
  background: var(--white);
}

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

.section-header h2 {
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.section-intro {
  font-size: 1.1em;
  color: var(--gray-600);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Override for dark background sections */
.why-us .section-header h2,
.testimonials .section-header h2 {
  color: var(--white);
}

.why-us .section-header .section-intro,
.testimonials .section-header .section-intro {
  color: var(--gray-300);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  min-width: 0;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 0 28px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.service-img {
  width: calc(100% + 56px);
  margin-left: -28px;
  margin-top: 0;
  margin-bottom: 24px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
  transition: transform 0.5s ease;
}

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

.service-card .service-icon {
  margin-top: 24px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-trust);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card.scroll-triggered,
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(196, 30, 58, 0.15);
}

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

.service-card.scroll-triggered .service-img,
.service-card:hover .service-img {
  transform: scale(1.04);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  box-shadow: 0 4px 15px rgba(26, 58, 110, 0.3);
}

.service-icon svg {
  color: var(--white);
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(26, 58, 110, 0.4);
  background: var(--blue-medium);
}

.service-card:hover .service-icon svg {
  transform: rotate(10deg) scale(1.1);
}

/* Bento Box: Primary service spans 2 columns */
.service-card.primary {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--gradient-card);
  color: var(--white);
  text-align: left;
  padding: 40px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.service-card.primary .service-img {
  height: 280px;
  margin-bottom: 30px;
}

.service-card.primary .service-img {
  height: 280px;
  margin-bottom: 30px;
  margin-left: -40px;
  margin-right: -40px;
  width: calc(100% + 80px);
}

.service-card.primary .service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 0 25px 0;
}

.service-card.primary h3,
.service-card.primary p {
  color: var(--white);
}

.service-card.primary p {
  opacity: 0.9;
  flex-grow: 1;
}

.service-card.primary .btn-accent {
  background: var(--brand-red);
  border-color: var(--brand-red);
  align-self: flex-start;
}

.service-card.primary .btn-accent:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.service-card h3 {
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-size: 1.2em;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.75;
  font-size: 0.95em;
}

/* ==========================================
   BRANDS SECTION - Premium Refinement
   ========================================== */
.brands {
  background: var(--off-white);
  padding: var(--section-padding) 0;
}

.brands h2 {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 20px 20px; /* Added horizontal padding */
}

.brand-logo {
  height: 45px;
  width: auto;
  max-width: 100%;
  opacity: 1;
  filter: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  object-fit: contain;
}

.brand-logo:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.brands-note {
  text-align: center;
  color: var(--gray-600);
  margin-top: 30px;
  font-size: 0.95em;
  padding: 15px;
  background: rgba(26, 58, 110, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

/* ==========================================
   SERVICE AREA SECTION
   ========================================== */
.service-area {
  background: var(--white);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.cities-grid span {
  background: var(--primary-blue);
  color: var(--white);
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.3s ease;
}

.cities-grid span:hover {
  background: var(--brand-red);
  transform: scale(1.05);
}

/* ==========================================
   WHY US SECTION
   ========================================== */
.why-us {
  background: var(--blue-dark);
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  min-width: 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 35px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand-red);
}

.feature-item h3 {
  color: var(--brand-red);
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--gray-200);
  line-height: 1.7;
}

/* ==========================================
   GOOGLE-STYLED REVIEWS
   ========================================== */
.google-rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.google-logo-icon {
  display: flex;
  align-items: center;
}

.rating-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rating-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.google-rating-summary .stars {
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--google-yellow);
}

.review-count {
  color: var(--google-gray);
  font-size: 0.95rem;
}

.google-reviews-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.google-review-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.google-review-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.google-review-card .review-stars {
  color: var(--google-yellow);
  font-size: 1rem;
  letter-spacing: 1px;
}

.google-review-card .review-text {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.google-review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  padding-right: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--google-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.reviewer-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.verified-badge {
  color: var(--google-green);
  font-size: 0.75rem;
  font-weight: 500;
}

.review-time {
  color: var(--google-gray);
  font-size: 0.8rem;
  margin-left: auto;
}

.google-g-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .google-reviews-carousel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .google-rating-summary {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px 20px;
  }

  .google-reviews-carousel {
    gap: 16px;
  }

  .google-review-card {
    padding: 20px;
  }

  .testimonials-cta {
    text-align: center;
  }
}
/* ==========================================
   TESTIMONIALS SECTION - Premium Refinement
   ========================================== */
.testimonials {
  background: linear-gradient(
    160deg,
    var(--primary-blue) 0%,
    var(--blue-dark) 100%
  );
  color: var(--white);
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Fade edges of testimonials section for seamless transitions */
.testimonials::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(10, 30, 60, 0.3), transparent);
  pointer-events: none;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 2;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: 35px;
  border-radius: var(--radius-xl);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.testimonials-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5em;
  color: var(--brand-red);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 25px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.testimonial-card cite {
  display: block;
  font-weight: 700;
  color: var(--brand-red);
  font-style: normal;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  background: var(--off-white);
  padding: var(--section-padding) 0;
}

/* ==========================================
   SIMPLE CTA SECTION (index.html stripped form)
   ========================================== */
.cta-simple-section {
  background: var(--gradient-trust);
  padding: var(--section-padding) 0;
  text-align: center;
}

.cta-simple-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.cta-simple-wrapper h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-simple-wrapper p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-simple-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-simple-actions .btn-primary {
  background: var(--white);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-simple-actions .btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.cta-simple-actions .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-simple-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-info h2 {
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.cta-info p {
  color: var(--gray-600);
  margin-bottom: 25px;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-address {
  color: var(--gray-600);
  font-size: 0.95em;
}

.cta-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.cta-form h3 {
  color: var(--primary-blue);
  margin-bottom: 25px;
  text-align: center;
}

.cta-form input,
.cta-form textarea,
.cta-form select {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 15px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1em;
  transition: all 0.3s ease;
  background: var(--white);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--gray-500);
}

.cta-form input:focus,
.cta-form textarea:focus,
.cta-form select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(26, 58, 110, 0.1);
}

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

.cta-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  padding-right: 45px;
}

/* ==========================================
   FOOTER - Premium Refinement
   ========================================== */
footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 70px 0 30px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-trust);
}

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

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-col h4 {
  color: var(--brand-red);
  margin-bottom: 20px;
  font-size: 1.1em;
  font-weight: 700;
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand-red);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.footer-contact-item a,
.footer-contact-item span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95em;
  line-height: 1.5;
}

/* Inner page footer columns */
.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.footer-links ul,
.footer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-links h4,
.footer-contact h4,
.footer-credentials h4 {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact p,
.footer-contact span,
.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}

.footer-credentials p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

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

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.footer-social a:hover {
  background: var(--brand-red);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9em;
  margin: 0;
}

/* ==========================================
   RESPONSIVE - Premium Mobile Experience
   ========================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-actions .phone,
  .header-actions .btn-primary {
    display: none;
  }

  .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

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

  .service-card.primary {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .hero {
    min-height: auto;
    padding: 4px 16px 40px;
  }

  .hero::before {
    background-size: 100% auto;
    background-position: center top;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo img {
    height: 55px;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: auto;
    bottom: auto;
    width: 270px;
    background: rgba(15, 36, 73, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 24px 64px rgba(0, 0, 0, 0.45),
      0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: block;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease;
  }

  .mobile-menu.active {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .mobile-menu ul {
    flex: unset;
    padding: 8px 0;
  }

  .mobile-menu a {
    display: flex;
    padding: 12px 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    border-bottom: none;
  }

  .mobile-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    padding-left: 28px;
  }

  .mobile-menu .btn {
    display: block;
    margin: 8px 16px 10px;
    text-align: center;
    width: calc(100% - 32px);
    box-sizing: border-box;
  }

  .hero-content {
    padding: 12px 16px;
  }

  .hero-lower {
    padding: 24px 16px 40px;
    margin-top: 12px;
  }

  .hero-scroll {
    bottom: 16px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
  }

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

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .trust-item:last-child {
    grid-column: span 2;
    max-width: 200px;
    margin: 0 auto;
  }

  .trust-item {
    padding: 10px 8px;
  }

  .trust-item svg {
    width: 28px;
    height: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }

  .footer-logo {
    margin: 0 auto 20px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col a:hover {
    transform: none;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .cities-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .cities-grid span {
    padding: 10px 12px;
    font-size: 0.9em;
  }
}

@media (max-width: 600px) {
  :root {
    --section-padding: 50px;
  }

  .hero-badge {
    font-size: 0.85em;
    padding: 8px 16px;
  }

  .badge {
    font-size: 0.8em;
    padding: 8px 14px;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .trust-item:last-child {
    grid-column: span 2;
    max-width: 200px;
    margin: 0 auto;
  }

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

  .service-card.primary {
    grid-column: span 1;
  }

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

  .testimonial-card {
    padding: 28px;
  }

  .cta-form {
    padding: 30px 25px;
  }

  .cta-phone-text {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-item:last-child {
    grid-column: span 2;
    max-width: 180px;
    margin: 0 auto;
  }

  .trust-item svg {
    width: 24px;
    height: 24px;
  }

  .trust-item strong {
    font-size: 0.82rem;
  }

  .cta-info {
    text-align: center;
  }

  .cta-contact {
    align-items: center;
  }

  .cta-phone {
    justify-content: center;
  }

  .cta-phone-text {
    font-size: 1.3em;
  }

  .trust-item span {
    font-size: 0.75rem;
  }

  .hero-actions .btn {
    max-width: 280px;
  }
}

/* ==========================================
   PREMIUM HERO ENHANCEMENTS
   ========================================== */
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-star);
}

/* Testimonial Author */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
  color: var(--white);
}

.testimonial-author cite {
  font-style: normal;
  font-weight: 700;
  color: var(--white);
  font-size: 0.95em;
}

.testimonial-author span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 0.85em;
}

/* Scroll Animation Keyframes (Module C) */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blurIn {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes underlineSlide {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Animate-on-scroll base (Module C) */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.65s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
}

/* Reveal Animation - Premium Scroll Effects */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal.visible {
  opacity: 1;
}

.reveal-left {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
}

.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
}

.stagger-children > * {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-children.visible > *:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-children.visible > *:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-children.visible > *:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-children.visible > *:nth-child(5) {
  transition-delay: 0.5s;
}

.stagger-children.visible > * {
  opacity: 1;
}

/* Hero Scroll Indicator */
.hero-scroll {
  display: none;
}

.hero-scroll svg {
  opacity: 0.5;
  stroke: var(--primary-blue);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Floating CTA for Mobile */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
  display: block;
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .floating-cta:not(.visible) {
    pointer-events: none;
  }
}

.floating-cta .btn {
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.floating-cta .btn:hover {
  transform: scale(1.05);
}

/* Stats Section Enhancement */
.stats {
  background: var(--off-white);
  padding: var(--section-padding) 0;
}

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

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

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95em;
  color: var(--gray-600);
  font-weight: 500;
}

/* Why Us Feature Enhancement */
.feature-item {
  position: relative;
  min-width: 0;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(196, 30, 58, 0.05) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--brand-red) 0%,
    var(--red-dark) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.feature-icon svg {
  color: var(--white);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

/* ==========================================
   PREMIUM HERO ENHANCEMENTS
   Animated background shimmer
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--gradient-hero);
  padding: 0 16px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-light);
  z-index: 0;
}

@media (max-width: 768px) {
  .hero::before {
    background: var(--gradient-hero-light);
    background-size: 100% auto;
    background-position: center top;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cdefs%3E%3CradialGradient id='drop1' cx='30%25' cy='30%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%233d7dd8' stop-opacity='0.3'/%3E%3Cstop offset='100%25' stop-color='%231a3a6e' stop-opacity='0.15'/%3E%3C/radialGradient%3E%3CradialGradient id='drop2' cx='30%25' cy='30%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%2367c3e8' stop-opacity='0.25'/%3E%3Cstop offset='100%25' stop-color='%231a3a6e' stop-opacity='0.1'/%3E%3C/radialGradient%3E%3CradialGradient id='drop3' cx='30%25' cy='30%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%232a5298' stop-opacity='0.2'/%3E%3Cstop offset='100%25' stop-color='%231a3a6e' stop-opacity='0.12'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M40 8 C40 8 56 28 56 40 C56 51 49 58 40 58 C31 58 24 51 24 40 C24 28 40 8 40 8Z' fill='url(%23drop1)' transform='translate(0,0) scale(0.5)'/%3E%3Cpath d='M40 8 C40 8 56 28 56 40 C56 51 49 58 40 58 C31 58 24 51 24 40 C24 28 40 8 40 8Z' fill='url(%23drop2)' transform='translate(42,10) scale(0.35)'/%3E%3Cpath d='M40 8 C40 8 56 28 56 40 C56 51 49 58 40 58 C31 58 24 51 24 40 C24 28 40 8 40 8Z' fill='url(%23drop3)' transform='translate(14,44) scale(0.4)'/%3E%3Cpath d='M40 8 C40 8 56 28 56 40 C56 51 49 58 40 58 C31 58 24 51 24 40 C24 28 40 8 40 8Z' fill='url(%23drop1)' transform='translate(58,52) scale(0.3)'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  z-index: 0;
  opacity: 0.7;
}

/* Hero headline - clean and bold */
.hero-content h1 {
  display: none;
}

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

/* Wave divider between hero and trust bar */
.wave-divider {
  position: relative;
  height: 75px;
  width: 100%;
  overflow: hidden;
  background: transparent;
  z-index: 10;
  flex-shrink: 0;
}

.wave-divider svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  display: block;
}

.wave-divider svg path {
  fill: #0f2449;
}

/* Floating call button */
.floating-call-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-red);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 30px rgba(196, 30, 58, 0.5);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

.floating-call-btn.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-call-btn:hover {
  background: var(--red-dark);
  transform: scale(1.06);
  box-shadow: 0 8px 40px rgba(196, 30, 58, 0.65);
  color: var(--white);
}

.floating-call-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.floating-call-btn .pulse-ring {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: pulseRing 1.8s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: translateY(-50%) scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-50%) scale(2.2);
    opacity: 0;
  }
}

/* Service card tilt on hover */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(196, 30, 58, 0.15);
}

/* Testimonial card glow on hover */
.testimonial-card::before {
  font-size: 5.5em;
  opacity: 0.22;
  color: var(--brand-red);
  text-shadow: 0 0 25px rgba(196, 30, 58, 0.25);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.25),
    0 0 50px rgba(196, 30, 58, 0.08);
}

/* Stats number counting */
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 8px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
  background: var(--off-white);
  position: relative;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
}

.section-header-left {
  margin-bottom: 16px;
  min-width: 0;
}

.section-header-left h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-blue);
  margin-bottom: 12px;
  text-align: left;
  min-width: 0;
}

.section-intro-left {
  font-size: 1.15em;
  color: var(--gray-600);
  font-style: italic;
  text-align: left;
  max-width: none;
  min-width: 0;
  overflow-wrap: break-word;
}

.about-text {
  min-width: 0;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 20px;
  min-width: 0;
  word-wrap: break-word;
}

.about-closing {
  font-weight: 600;
  color: var(--gray-800) !important;
  font-size: 1.1rem !important;
  border-left: 4px solid var(--brand-red);
  padding-left: 20px;
  margin-top: 28px !important;
  min-width: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  min-width: 0;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(196, 30, 58, 0.15);
}

.stat-card .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 8px;
  min-width: 0;
}

.stat-card .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 0;
}

.about-services-list {
  grid-column: span 4;
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  color: var(--white);
  min-width: 0;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.about-services-list h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 0;
}

.about-services-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.about-services-list ul li {
  display: inline;
  font-size: 0.88rem;
  padding-left: 20px;
  position: relative;
  opacity: 0.95;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
  line-height: 1.4;
  white-space: nowrap;
}

.about-services-list ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    min-width: 0;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    min-width: 0;
  }

  .about-services-list {
    grid-column: span 2;
    min-width: 0;
    padding: 20px;
  }

  .about-services-list ul {
    grid-template-columns: repeat(2, 1fr);
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    min-width: 0;
  }

  .about-services-list {
    grid-column: span 2;
    padding: 16px;
  }

  .about-services-list ul {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .about-closing {
    padding-left: 15px;
    font-size: 1rem !important;
  }
}

/* ==========================================
   RECOGNITION SECTION
   ========================================== */
.recognition {
  background: var(--primary-blue);
  position: relative;
  min-width: 0;
}

.recognition::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(196, 30, 58, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.recognition-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  text-align: left;
  min-width: 0;
}

.recognition-badge {
  flex-shrink: 0;
  min-width: 0;
}

.recognition-img {
  height: 140px;
  width: auto;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.3));
  animation: badgeFloat 4s ease-in-out infinite;
  max-width: 100%;
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.recognition-text {
  min-width: 0;
}

.recognition-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
  min-width: 0;
}

.recognition-text p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.7;
  min-width: 0;
  word-wrap: break-word;
}

.recognition .btn-accent {
  background: var(--brand-red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
  min-width: 0;
}

.recognition .btn-accent:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 30, 58, 0.5);
  color: var(--white);
}

@media (max-width: 768px) {
  .recognition-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    min-width: 0;
  }

  .recognition-img {
    height: 100px;
    max-width: 100%;
  }

  .recognition-text p {
    max-width: none;
  }

  .recognition-text {
    min-width: 0;
  }
}

/* ==========================================
   MULTI-PAGE LAYOUT CLASSES
   ========================================== */

/* Page Hero (used on all inner pages) */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero-light);
  text-align: center;
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.page-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services Overview (services.html) */
.services-overview {
  background: var(--white);
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

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

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

.service-overview-card .service-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient-trust);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}

.service-overview-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.service-overview-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Service Detail (service sub-pages) */
.service-detail {
  background: var(--off-white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-detail-content h2 {
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.service-detail-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-top: 28px;
  margin-bottom: 12px;
}

.service-detail-content p {
  color: var(--gray-700);
}

.service-detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.service-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 24px;
}

.service-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3a6e' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.service-cta-box {
  background: var(--gradient-trust);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
  color: var(--white);
}

.service-cta-box h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-cta-box p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.service-cta-box .btn-primary {
  background: var(--white);
  color: var(--primary-blue);
}

.service-cta-box .btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

/* Service Nav (bottom of service pages) */
.service-nav {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.service-nav-heading {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 32px;
  font-size: 1.5rem;
}

.service-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-nav-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: block;
}

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

.service-nav-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service-nav-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Why Us Compact (services.html) */
.why-us-compact {
  background: var(--off-white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.why-us-item {
  text-align: center;
}

.why-us-item svg {
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.why-us-item h4 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-us-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Service Area Page */
.service-area-cities {
  background: var(--white);
}

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

.city-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
}

.city-card:hover {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-sm);
}

.city-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.city-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.service-area-note {
  text-align: center;
  margin-top: 48px;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
}

.service-area-note p {
  color: var(--gray-600);
  margin-bottom: 20px;
}

/* About Page */
.about-story {
  background: var(--white);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.about-story-content h2 {
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.about-story-content p {
  color: var(--gray-700);
  margin-bottom: 16px;
}

.about-story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--gradient-trust);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  overflow: hidden;
}

.stat-card .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  color: inherit;
}

.stat-card .stat-label {
  font-size: 0.78rem;
  opacity: 0.9;
  line-height: 1.3;
}

.about-values {
  background: var(--off-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-smooth);
}

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

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-trust);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
}

.value-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.about-specializations {
  background: var(--white);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.specializations-content {
  max-width: 800px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.specializations-content h2 {
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.specializations-content > p {
  color: var(--gray-700);
  margin-bottom: 24px;
}

.specializations-list {
  list-style: none;
  padding: 0;
}

.specializations-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
  hyphens: none;
  word-break: keep-all;
}

.specializations-list li:last-child {
  border-bottom: none;
}

.specializations-list li strong {
  color: var(--primary-blue);
  display: block;
  margin-bottom: 4px;
}

/* Testimonials Page */
/* ==========================================
   TESTIMONIALS PAGE
   ========================================== */
.testimonials-page {
  background: var(--off-white) !important;
}

/* Masonry-style grid via CSS columns */
.testimonials-page .testimonials-grid {
  column-count: 3;
  column-gap: 20px;
  margin-top: 40px;
  align-items: start;
}

/* Override reveal/opacity system for testimonials page */
.testimonials-page .reveal,
.testimonials-page .stagger-children,
.testimonials-page .google-review-card {
  opacity: 1 !important;
  transform: none !important;
  break-inside: avoid;
  margin-bottom: 20px;
}

/* Tighter cards on testimonials page */
.testimonials-page .google-review-card {
  padding: 20px;
  gap: 10px;
}

.testimonials-page .google-review-card .review-text {
  margin-bottom: 0;
}

.testimonials-page .google-review-card .reviewer {
  padding-top: 10px;
}

@media (max-width: 900px) {
  .testimonials-page .testimonials-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .testimonials-page .testimonials-grid {
    column-count: 1;
  }
}

/* Contact Page */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--primary-blue);
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-method-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--gradient-trust);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-method h3 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-method p {
  color: var(--gray-700);
}

.contact-note {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.contact-credentials-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
}

.contact-credentials-box h4 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.contact-credentials-box ul {
  list-style: none;
  padding: 0;
}

.contact-credentials-box li {
  padding: 6px 0;
  color: var(--gray-700);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

.contact-credentials-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

/* Estimate Form */
.estimate-form-wrap {
  position: relative;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-card h2 {
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--gray-600);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.2s;
}

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

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

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

/* CTA Box (reusable) */
.cta-box {
  background: var(--gradient-trust);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  color: var(--white);
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box p {
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--primary-blue);
}

.cta-box .btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.cta-box .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.cta-box .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ==========================================
   RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .about-story-stats {
    max-width: 400px;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }
  .service-nav-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px;
  }
  .cta-box {
    padding: 40px 24px;
  }
}
