/* ============================================================
   POOL LEAK INSPECTIONS — Main Stylesheet
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --orange: #E8521A;
  --orange-dark: #c44415;
  --orange-light: #ff6b35;
  --blue: #1B4B8A;
  --blue-dark: #122f5c;
  --dark: #111827;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.16);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.25s ease;
  --max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; color: var(--dark); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-blue  { color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}
.section-title span { color: var(--orange); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  margin-top: 14px;
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--orange); }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-lg { padding: 17px 38px; font-size: 1.1rem; }
.btn-call { background: var(--orange); color: var(--white); border-radius: 8px; font-size: 1.1rem; font-weight: 800; padding: 15px 32px; border: none; cursor: pointer; transition: background var(--transition), transform var(--transition); display: inline-flex; align-items: center; gap: 10px; }
.btn-call:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-call svg { width: 20px; height: 20px; }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.92rem;
  font-weight: 600;
}
.announcement-bar a { color: var(--white); text-decoration: underline; margin-left: 12px; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo img { height: 64px; width: auto; }

.header-right { display: flex; align-items: center; gap: 28px; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  transition: color var(--transition);
}
.header-phone:hover { color: var(--orange-dark); }
.header-phone svg { width: 20px; height: 20px; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active { background: var(--orange); color: var(--white); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 6px;
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
  padding: 12px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1575429198097-0414ec08e8cd?w=1920&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(17,24,39,0.85) 0%, rgba(27,75,138,0.6) 60%, rgba(17,24,39,0.3) 100%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 48px;
  align-items: center;
}
.hero-content {
  min-width: 0;
}

/* Hero Price Cards (right column) */
.hero-pricing {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: rgba(10, 26, 52, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero-pricing-label {
  color: var(--orange-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2px;
}
.hero-price-card {
  position: relative;
  display: block;
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hero-price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border-color: var(--orange);
}
.hero-price-card.featured {
  background: linear-gradient(135deg, #ffffff 0%, #fff3ec 100%);
  border-color: var(--orange);
  box-shadow: 0 10px 28px rgba(232,82,26,0.25);
}
.hpc-badge {
  position: absolute;
  top: -9px;
  right: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
}
.hpc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.hpc-head h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}
.hpc-amount {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.hpc-amount sup {
  font-size: 0.85rem;
  top: -0.65em;
  margin-right: 1px;
}
.hpc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.76rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.hpc-features span::before {
  content: '✓';
  color: var(--orange);
  font-weight: 900;
  margin-right: 4px;
}
.hpc-cta {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.3px;
}
.hero-pricing-foot {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  margin: 4px 0 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,82,26,0.9);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--orange-light); }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

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

.hero-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-guarantee svg { color: #4ade80; flex-shrink: 0; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--dark);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
}
.trust-item svg { color: var(--orange); width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Pricing Section ---------- */
.pricing { background: var(--gray-light); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border: 3px solid var(--orange);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }

.pricing-card-header {
  background: var(--orange);
  padding: 22px 28px;
  text-align: center;
}
.pricing-card.featured .pricing-card-header { background: var(--blue); }
.pricing-card-header h3 { color: var(--white); font-size: 1.4rem; font-weight: 800; }

.featured-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 0 0 10px 10px;
}

.pricing-price {
  padding: 28px 28px 0;
  text-align: center;
}
.pricing-price .amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.pricing-price .amount sup { font-size: 1.4rem; vertical-align: super; }
.pricing-price .label { color: var(--gray); font-size: 0.88rem; margin-top: 4px; }

.pricing-features {
  padding: 24px 28px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.95rem;
  color: var(--dark);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { color: var(--orange); flex-shrink: 0; }

.pricing-cta { padding: 0 28px 28px; }
.pricing-cta .btn { width: 100%; justify-content: center; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  padding: 20px 28px;
  background: rgba(232,82,26,0.07);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  color: var(--dark);
  font-size: 1rem;
}
.pricing-note strong { color: var(--orange); }

/* ---------- How It Works ---------- */
.steps-wrapper { position: relative; }

/* Animated progress track sits between the number row */
.steps-track {
  position: absolute;
  top: 88px; /* vertically centred on 80px circles (margin-top:50px + 80/2 = 90, approx) */
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  background: #e8eaed;
  border-radius: 2px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.steps-track-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  border-radius: 2px;
}
.steps-wrapper.in-view .steps-track-fill { transform: scaleX(1); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 52px 1fr 52px 1fr;
  gap: 0;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.step {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.steps-wrapper.in-view .step:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0.1s; }
.steps-wrapper.in-view .step:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.5s; }
.steps-wrapper.in-view .step:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.9s; }

.step-num {
  width: 80px; height: 80px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(232,82,26,0.35);
  border: 4px solid var(--white);
  position: relative;
  z-index: 2;
}
.steps-wrapper.in-view .step:nth-child(1) .step-num { animation: stepPop 0.5s ease 0.1s both; }
.steps-wrapper.in-view .step:nth-child(3) .step-num { animation: stepPop 0.5s ease 0.5s both; }
.steps-wrapper.in-view .step:nth-child(5) .step-num { animation: stepPop 0.5s ease 0.9s both; }
@keyframes stepPop {
  0%   { transform: scale(0.5); }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Animated chevron arrows between steps */
.step-arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 22px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.steps-wrapper.in-view .step-arrow:nth-child(2) { opacity:1; transition-delay: 0.35s; }
.steps-wrapper.in-view .step-arrow:nth-child(4) { opacity:1; transition-delay: 0.75s; }
.step-arrow svg {
  width: 32px; height: 32px;
  color: var(--orange);
  animation: arrowBounce 1.4s ease-in-out infinite;
}
.step-arrow:nth-child(4) svg { animation-delay: 0.5s; }
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0);   opacity: 0.45; }
  50%       { transform: translateX(6px); opacity: 1; }
}

.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--gray); font-size: 0.95rem; }

/* ---------- Services Section ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}
.service-icon {
  width: 60px; height: 60px;
  background: rgba(232,82,26,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; color: var(--orange); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.93rem; line-height: 1.65; }

/* ---------- Why Choose Us ---------- */
.why-us { background: var(--blue); color: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-content .section-title { color: var(--white); }
.why-content .section-subtitle { color: rgba(255,255,255,0.75); }
.why-list { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.why-item-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item-icon svg { width: 20px; height: 20px; color: var(--orange-light); }
.why-item h4 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.why-item p { font-size: 0.9rem; color: rgba(255,255,255,0.72); }
.why-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--gray-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.15;
  font-family: Georgia, serif;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; color: #f59e0b; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.7; color: var(--dark); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.95rem; font-weight: 700; }
.author-info span { font-size: 0.82rem; color: var(--gray); }

/* ---------- Locations Strip ---------- */
.locations-strip { background: var(--dark); padding: 60px 0; }
.locations-strip .section-title { color: var(--white); }
.locations-strip .section-subtitle { color: rgba(255,255,255,0.6); }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 36px;
}
.location-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  display: block;
}
.location-pill:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 70px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 36px; }
.cta-banner-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1117; color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo img { height: 64px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-contact-item svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Floating CTA (mobile) ---------- */
.floating-call {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--orange);
  color: var(--white);
  width: 60px; height: 60px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,82,26,0.5);
  animation: bounce 2s infinite;
}
.floating-call svg { width: 26px; height: 26px; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 80px 0 70px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 580px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ---------- Contact Form ---------- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--gray); margin-bottom: 32px; line-height: 1.7; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-detail-icon {
  width: 46px; height: 46px;
  background: rgba(232,82,26,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 22px; height: 22px; color: var(--orange); }
.contact-detail h4 { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray); margin-bottom: 3px; }
.contact-detail p, .contact-detail a { font-size: 1rem; font-weight: 600; color: var(--dark); }
.contact-detail a:hover { color: var(--orange); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e5e7eb;
}
.contact-form-wrap h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,82,26,0.12);
}
textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; }
.form-success {
  display: none;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
}

/* ---------- Locations Page ---------- */
.locations-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.location-card {
  background: var(--white);
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.location-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); }
.location-card svg { color: var(--orange); flex-shrink: 0; }
.location-card span { font-weight: 600; font-size: 0.95rem; }

/* ---------- Blog / Bucket Test ---------- */
.content-article { max-width: 800px; margin: 0 auto; }
.content-article h2 { font-size: 1.6rem; font-weight: 800; margin: 36px 0 14px; color: var(--dark); }
.content-article h3 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 10px; color: var(--blue); }
.content-article p { font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 16px; }
.content-article ul, .content-article ol { padding-left: 22px; margin-bottom: 16px; }
.content-article li { font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 6px; }
.content-article ul { list-style: disc; }
.info-box {
  background: rgba(27,75,138,0.07);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.info-box p { margin: 0; color: var(--blue-dark); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pricing-grid, .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps-track { display: none; }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 24px;
  }
  .hero-pricing { max-width: 420px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .main-nav { display: none; }
  .header-phone { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; }
  .hero-content { margin-left: 0; padding: 0; }
  .pricing-grid, .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .steps-track { display: none; }
  .steps-wrapper.in-view .step:nth-child(1),
  .steps-wrapper.in-view .step:nth-child(3),
  .steps-wrapper.in-view .step:nth-child(5) { padding: 0 16px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .contact-section { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-call { display: flex; }
  .hero-actions .btn-lg { padding: 14px 24px; font-size: 1rem; }
  .trust-bar-inner { gap: 20px; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }

  /* Collapse inline 2-column grids on mobile (services, bucket-test, about, locations detail rows) */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Center the homepage hero content on mobile (titles, subtitle, badges, CTAs) */
  .hero-content { text-align: center; }
  .hero-content .hero-eyebrow,
  .hero-content .hero-guarantee { display: inline-flex; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   Google Review Popup Widget
   ============================================================ */
.review-popup {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 9999;
  width: 320px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.08);
  padding: 16px 16px 0;
  cursor: pointer;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.28, 0.64, 1), opacity 0.35s ease;
  border: 1px solid #e8eaed;
  text-decoration: none;
  display: block;
}
.review-popup.show {
  transform: translateY(0);
  opacity: 1;
}
.review-popup.hide {
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.review-popup:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.review-popup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review-popup-source {
  display: flex;
  align-items: center;
  gap: 7px;
}
.review-popup-source svg { width: 18px; height: 18px; flex-shrink: 0; }
.review-popup-source span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #5f6368;
  letter-spacing: 0.3px;
}
.review-popup-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f3f4;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #70757a;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s;
}
.review-popup-close:hover { background: #e8eaed; }
.review-popup-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.review-popup-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.review-popup-info { flex: 1; min-width: 0; }
.review-popup-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-popup-stars {
  color: #FBBC04;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin: 2px 0 5px;
}
.review-popup-text {
  font-size: 0.82rem;
  color: #3c4043;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-popup-meta {
  font-size: 0.72rem;
  color: #9aa0a6;
  margin-top: 5px;
}
/* Progress bar */
.review-popup-progress {
  height: 3px;
  background: #e8eaed;
  border-radius: 0 0 14px 14px;
  margin: 14px -16px 0;
  overflow: hidden;
}
.review-popup-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4285F4, #34A853);
  width: 100%;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform linear;
}

@media (max-width: 480px) {
  .review-popup { width: calc(100vw - 32px); left: 16px; bottom: 16px; }
}

/* ============================================================
   Cookie Consent Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #1a2744;
  color: #e8edf5;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34,1.1,0.64,1);
  font-size: 0.875rem;
  line-height: 1.5;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  flex: 1;
  min-width: 220px;
  margin: 0;
}
.cookie-banner p a {
  color: #93c5fd;
  text-decoration: underline;
}
.cookie-banner-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-btn-accept:hover { background: #1d4ed8; }
.cookie-btn-decline {
  background: transparent;
  color: #93c5fd;
  border: 1.5px solid #3b5998;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.cookie-btn-decline:hover { border-color: #93c5fd; color: #bfdbfe; }
@media (max-width: 600px) {
  .cookie-banner { padding: 14px 16px; gap: 12px; }
  .cookie-banner-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* ============================================================
   Premium Animations & Transitions
   ============================================================ */

/* --- Keyframes --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero entrance (page load) --- */
.hero-content {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-pricing {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}
.hero-bg {
  animation: heroFadeIn 1.4s ease both;
}

/* --- Scroll reveal base states --- */
.fade-in,
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Premium card hovers --- */
.service-card,
.case-card,
.hero-price-card,
.blog-card,
.value-card,
.stat-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover,
.case-card:hover,
.blog-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.13);
}
.hero-price-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}

/* --- Image zoom on hover --- */
.case-ba figure img,
.about-hero-img,
.blog-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-ba:hover figure img,
.blog-card:hover img {
  transform: scale(1.04);
}

/* --- Trust bar items --- */
.trust-item {
  transition: transform 0.3s ease, color 0.3s ease;
}
.trust-item:hover {
  transform: translateY(-2px);
  color: var(--orange);
}

/* --- Button transitions --- */
.btn {
  transition: background 0.28s ease, color 0.28s ease,
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease !important;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.btn:active {
  transform: translateY(0);
}

/* --- Nav link underline slide --- */
.main-nav a {
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* --- Section badge entrance --- */
.badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.badge:hover {
  transform: scale(1.04);
}

/* --- Stat strip counter animation readiness --- */
.stat-num {
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
