/* ==========================================================================
   Next Level Home Services (PacificFix) - Modern Stylesheet
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Color Palette */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-surface: #1e293b;

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #f59e0b;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fef3c7;
  --accent-blue: #0284c7;
  --accent-green: #10b981;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

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

.section {
  padding: 80px 0;
}

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

/* Icons utility */
.icon-inline {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  display: inline-block;
}
.icon-sm {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}
.icon-xs {
  width: 14px;
  height: 14px;
  display: inline-block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */

.top-bar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.response-badge {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.top-bar-phone {
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-phone:hover {
  color: var(--accent);
}

.top-bar-ig {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.top-bar-ig:hover {
  color: #f43f5e;
}

/* ==========================================================================
   SITE HEADER (STICKY)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.header-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

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

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.main-nav a:hover {
  color: var(--accent-hover);
}

.main-nav a:hover::after {
  width: 100%;
}

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

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.btn-header-call:hover {
  background: var(--accent-light);
  color: var(--accent-hover);
  border-color: var(--accent);
}

.btn-header-cta {
  padding: 10px 20px;
  font-size: 0.92rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.hero-left-col {
  display: contents;
}

.hero-mobile-trust-stack {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: #92400e;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--text-main);
}

.hero-title .highlight {
  color: var(--accent-hover);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.platform-trust-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trust-label {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.platform-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.platform-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.platform-chip .star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.chip-badge {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.chip-yelp:hover {
  border-color: #d32323;
  color: #d32323;
}

.chip-thumbtack:hover {
  border-color: #009fd9;
  color: #009fd9;
}

.chip-taskrabbit:hover {
  border-color: #008a00;
  color: #008a00;
}

.hero-features-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.feature-check {
  width: 20px;
  height: 20px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-handyman-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: none;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 16px 8px 12px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Desktop Compact Orbit Positions with Theme Colored Borders */
.badge-desktop-reviews {
  top: 45%;
  right: -8px;
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 10px 24px -4px rgba(245, 158, 11, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  animation: floatBadge1 4.5s ease-in-out infinite alternate;
}

.badge-desktop-reviews:hover {
  border-color: #f59e0b;
  box-shadow: 0 16px 32px -4px rgba(245, 158, 11, 0.3);
}

.badge-desktop-insurance {
  top: 66%;
  left: -10px;
  border: 1.5px solid rgba(59, 130, 246, 0.45);
  box-shadow: 0 10px 24px -4px rgba(59, 130, 246, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  animation: floatBadge2 5.2s ease-in-out infinite alternate;
  animation-delay: 0.8s;
}

.badge-desktop-insurance:hover {
  border-color: #3b82f6;
  box-shadow: 0 16px 32px -4px rgba(59, 130, 246, 0.3);
}

.badge-desktop-owner {
  bottom: 2px;
  right: 6px;
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 10px 24px -4px rgba(16, 185, 129, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  animation: floatBadge3 4.8s ease-in-out infinite alternate;
  animation-delay: 1.6s;
}

.badge-desktop-owner:hover {
  border-color: #10b981;
  box-shadow: 0 16px 32px -4px rgba(16, 185, 129, 0.3);
}

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

@keyframes floatBadge2 {
  0% { transform: translateY(0) rotate(-0.5deg); }
  100% { transform: translateY(-7px) rotate(0.5deg); }
}

@keyframes floatBadge3 {
  0% { transform: translateY(0) rotate(0.5deg); }
  100% { transform: translateY(-7px) rotate(-0.5deg); }
}

.floating-badge:hover {
  transform: translateY(-5px) scale(1.02);
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-icon-star {
  background: #fef3c7;
  color: #d97706;
}

.badge-icon-shield {
  background: #dbeafe;
  color: #2563eb;
}

.badge-icon-owner {
  background: #dcfce7;
  color: #16a34a;
}

.floating-badge-text {
  display: flex;
  flex-direction: column;
}

.floating-badge-text strong {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.2;
}

.floating-badge-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 0 0 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   SERVICES SECTION & ANIMATED SVGS
   ========================================================================== */

.services-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.service-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #d97706 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-box {
  transform: scale(1.08);
}

.icon-electrical { background: #fef3c7; }
.icon-plumbing { background: #e0f2fe; }
.icon-appliance { background: #e0e7ff; }
.icon-caulking { background: #d1fae5; }
.icon-tv { background: #ede9fe; }
.icon-smarthome { background: #fce7f3; }

.animated-service-svg {
  width: 52px;
  height: 52px;
}

.svg-bg-circle {
  fill: transparent;
}

/* --- Micro-Animations for Services --- */

/* 1. Electric Bolt Sparkle */
@keyframes sparkPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.85; filter: drop-shadow(0 0 6px #f59e0b); }
}

@keyframes sparkleDots {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.3); }
}

.service-card:hover .svg-bolt,
.service-card .svg-bolt {
  animation: sparkPulse 2.4s infinite ease-in-out;
  transform-origin: center;
}

.service-card .svg-sparkle-1 {
  animation: sparkleDots 1.8s infinite ease-in-out;
}
.service-card .svg-sparkle-2 {
  animation: sparkleDots 2.2s infinite ease-in-out 0.4s;
}

/* 2. Plumbing Water Drop */
@keyframes dropFall {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(6px); opacity: 0.9; }
  100% { transform: translateY(10px); opacity: 0; }
}

.service-card:hover .svg-water-drop,
.service-card .svg-water-drop {
  animation: dropFall 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* 3. Appliance Rotating Gear */
@keyframes gearSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.service-card:hover .svg-rotating-gear {
  animation: gearSpin 4s infinite linear;
  transform-origin: 32px 32px;
}

/* 4. Caulking Shield Shimmer */
@keyframes shieldShimmer {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; filter: drop-shadow(0 0 5px #10b981); }
}
.service-card .svg-shield {
  animation: shieldShimmer 3s infinite ease-in-out;
}

/* 5. TV Screen Glow */
@keyframes screenGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px #a78bfa); }
}
.service-card .svg-glow-dot {
  animation: screenGlow 2s infinite ease-in-out;
}

/* 6. Smart Home Radio Waves */
@keyframes signalPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}
.service-card .svg-signal-1 {
  animation: signalPulse 1.6s infinite ease-in-out;
  transform-origin: 32px 35px;
}
.service-card .svg-signal-2 {
  animation: signalPulse 1.6s infinite ease-in-out 0.4s;
  transform-origin: 32px 30px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-main);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
}

.service-bullets li {
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.2rem;
}

.service-request-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.service-request-btn .arrow {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-request-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #0f172a;
}

.service-card:hover .service-request-btn .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  background: var(--bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-card-profile {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.profile-avatar-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14);
  border: 3px solid #ffffff;
  outline: 2px solid var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-meta h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 0;
  color: var(--text-main);
}

.profile-meta p {
  margin: 2px 0 6px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.engineer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-quote {
  padding: 18px 20px;
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

.profile-quote p {
  margin: 0;
  font-style: italic;
  color: var(--text-main);
  font-size: 0.96rem;
  line-height: 1.6;
}

.profile-commitments {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.commitment-item .icon-bullet {
  color: #16a34a;
  font-weight: 800;
}

.about-story .about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-story p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-action {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.phone-link-styled {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
}

.phone-link-styled:hover {
  color: var(--accent-hover);
}

/* ==========================================================================
   PORTFOLIO GALLERY & LIGHTBOX
   ========================================================================== */

.works-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* 6-Album Portfolio Showcase Grid */
.portfolio-albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.album-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-tap-highlight-color: rgba(245, 158, 11, 0.2);
  touch-action: manipulation;
  user-select: none;
}

.album-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.12), 0 2px 10px rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.45);
}

.album-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

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

.album-card:hover .album-cover-wrap img {
  transform: scale(1.06);
}

.album-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}

.badge-cat {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.badge-electrical { background: rgba(245, 158, 11, 0.92); }
.badge-plumbing { background: rgba(14, 165, 233, 0.92); }
.badge-appliance { background: rgba(99, 102, 241, 0.92); }
.badge-caulking { background: rgba(16, 185, 129, 0.92); }
.badge-mounting { background: rgba(139, 92, 246, 0.92); }
.badge-smarthome { background: rgba(236, 72, 153, 0.92); }

.badge-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.icon-album-cam {
  width: 13px;
  height: 13px;
  stroke: #f59e0b;
}

.album-hover-cue {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.65) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  z-index: 1;
}

.album-hover-cue span {
  background: rgba(245, 158, 11, 0.95);
  color: #0f172a;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transform: translateY(6px);
  transition: transform var(--transition-fast);
}

.album-card:hover .album-hover-cue {
  opacity: 1;
}

.album-card:hover .album-hover-cue span {
  transform: translateY(0);
}

.album-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.album-info h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.album-info p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
}

.album-action-row {
  display: flex;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.album-open-link {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.album-card:hover .album-open-link {
  color: #b45309;
  gap: 10px;
}

/* Instagram Showcase Banner in Portfolio */
.instagram-banner {
  margin-top: 48px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #fdf2f8 0%, #fffbeb 50%, #f8fafc 100%);
  border: 1px solid rgba(225, 48, 108, 0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.instagram-banner-content {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 620px;
}

.instagram-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);
}

.icon-ig {
  width: 28px;
  height: 28px;
}

.instagram-banner-text h4 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-main);
}

.instagram-banner-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.3);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.45);
}

.btn-instagram .arrow {
  transition: transform var(--transition-fast);
}

.btn-instagram:hover .arrow {
  transform: translateX(4px);
}

/* Contact channel for Instagram */
.channel-instagram:hover {
  border-color: #e1306c !important;
  background: #fdf2f8 !important;
}

.channel-instagram:hover .ig-icon-box {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE ALBUM LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-container {
  position: relative;
  z-index: 1201;
  width: 100%;
  max-width: 1040px;
  max-height: 94vh;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
  flex-shrink: 0;
}

.lightbox-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lightbox-category-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: #ffffff;
  background: #f59e0b;
  flex-shrink: 0;
}

.lightbox-album-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lightbox-counter {
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

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

.lightbox-stage {
  position: relative;
  width: 100%;
  min-height: 280px;
  max-height: 54vh;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-grow: 1;
}

.lightbox-figure {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 52vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-nav-btn:hover {
  background: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-prev { left: 16px; }
.lightbox-nav-next { right: 16px; }

.lightbox-caption-bar {
  padding: 14px 24px;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.lightbox-caption-title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #f8fafc;
}

.lightbox-caption-desc {
  margin: 0;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
}

.lightbox-thumbnails-strip {
  display: flex;
  gap: 8px;
  padding: 10px 20px 14px;
  overflow-x: auto;
  background: #090d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.lightbox-thumbnails-strip::-webkit-scrollbar {
  height: 6px;
}

.lightbox-thumbnails-strip::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.lightbox-thumbnails-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.thumb-item {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all var(--transition-fast);
  background: #000000;
}

.thumb-item:hover {
  opacity: 0.85;
}

.thumb-item.active {
  border-color: #f59e0b;
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */

.reviews-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.review-service-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.review-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  margin: 0 0 20px;
  flex-grow: 1;
}

.review-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
}

.review-author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.review-author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}

.tr-badge-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Reviews Summary Bar */
.reviews-summary-bar {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.reviews-summary-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stats-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.stats-rating {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.stats-count {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.btn-summary-cta {
  padding: 10px 20px;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  background: var(--bg-main);
}

.faq-list {
  max-width: 800px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-hover);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 14px;
}

.contact-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

a.contact-channel-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateX(4px);
}

.channel-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-value {
  font-size: 1.05rem;
  color: var(--text-main);
}

.channel-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  color: #065f46;
  font-size: 0.88rem;
}

.guarantee-badge .badge-shield {
  font-size: 1.6rem;
}

.guarantee-badge p {
  margin: 0;
  line-height: 1.5;
}

/* Contact Form */
.contact-form-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 6px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 24px;
}

.modern-form .form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modern-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.modern-form .req {
  color: #ef4444;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

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

.btn-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 1.02rem;
}

.hidden-field {
  display: none !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 380px;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #cbd5e1;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col p {
  margin: 8px 0;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-col p a {
  color: var(--accent);
  font-weight: 600;
}

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

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS & MOBILE BAR
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #0f172a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-3px);
}

.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  z-index: 99;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  gap: 12px;
}

.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
}

.action-btn-call {
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.action-btn-quote {
  background: var(--accent);
  color: #0f172a;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

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

  .portfolio-albums-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .site-header {
    padding: 6px 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    display: none;
  }

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

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn-header-call span {
    display: none;
  }

  .btn-header-cta {
    display: none;
  }

  .hero-section {
    padding: 16px 0 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  }

  /* Modern Mobile Hero: Full-Width Title on Top, 50/50 Subtitle & Expanded Frameless Photo, Full-Width CTAs */
  .hero-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    column-gap: 12px;
    row-gap: 4px;
    padding: 0 16px;
    align-items: center;
    text-align: left;
  }

  .hero-content {
    display: contents; /* Allows children to participate directly in the hero-container grid */
  }

  /* Full-width top badge */
  .hero-badge {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
    margin: 0 0 8px;
    font-size: 0.74rem;
    padding: 4px 12px;
    gap: 6px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.12);
    white-space: nowrap;
  }

  /* Full-width prominent main title across the entire screen above photo */
  .hero-title {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: clamp(1.72rem, 5.5vw, 2.15rem);
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.025em;
    text-align: left;
    color: var(--text-main);
    width: 100%;
  }

  /* Left column: Description lifted up + stacked 3 trust badges */
  .hero-left-col {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    height: 100%;
    padding-top: 2px;
  }

  .hero-subtitle {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
    text-align: left;
  }

  /* Stack of 3 Trust Badges under text */
  .hero-mobile-trust-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 2px;
  }

  .hero-mobile-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 9px;
    padding: 4px 8px 4px 6px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    animation: gentleFloat 4s ease-in-out infinite;
    width: fit-content;
    max-width: 100%;
  }

  .trust-item-reviews {
    border-color: rgba(245, 158, 11, 0.35);
    animation-delay: 0s;
  }

  .trust-item-insurance {
    border-color: rgba(59, 130, 246, 0.3);
    animation-delay: 0.4s;
  }

  .trust-item-owner {
    border-color: rgba(16, 185, 129, 0.3);
    animation-delay: 0.8s;
  }

  @keyframes gentleFloat {
    0%, 100% {
      transform: translateY(0);
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    }
    50% {
      transform: translateY(-3px);
      box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
    }
  }

  .trust-item-icon {
    width: 22px;
    height: 22px;
    font-size: 0.76rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .star-icon {
    background: #fef3c7;
    color: #d97706;
  }

  .shield-icon {
    background: #dbeafe;
    color: #2563eb;
  }

  .owner-icon {
    background: #dcfce7;
    color: #16a34a;
  }

  .trust-item-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
  }

  .trust-item-text strong {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
  }

  .trust-item-text span {
    font-size: 0.60rem;
    color: var(--text-muted);
    white-space: nowrap;
  }

  /* Right column: Expanded frameless photo on natural background */
  .hero-visual {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    height: 100%;
    min-height: 250px;
  }

  .visual-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  /* Remove golden halo glow on mobile */
  .visual-glow {
    display: none !important;
  }

  /* Remove all desktop floating badges inside hero-visual on mobile */
  .hero-visual .floating-badge {
    display: none !important;
  }

  /* Frameless, clean transparent cutout integrated on white background */
  .hero-handyman-img {
    position: relative;
    z-index: 2;
    max-height: 285px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
    -webkit-mask-image: linear-gradient(to bottom, black 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 86%, transparent 100%);
  }

  /* Full-width action buttons below description and photo */
  .hero-cta-group {
    grid-column: 1 / -1;
    grid-row: 4;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 14px 0 6px;
    width: 100%;
  }

  .hero-cta-group .btn-primary {
    padding: 14px 20px;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 12px;
    justify-content: center;
    width: 100%;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  }

  .hero-cta-group .btn-secondary {
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 12px;
    justify-content: center;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-medium);
  }

  /* Full-width strip below both columns */
  .platform-trust-bar {
    grid-column: 1 / -1;
    grid-row: 5;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
  }

  .trust-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
  }

  .platform-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .platform-chip {
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .hero-features-strip {
    grid-column: 1 / -1;
    grid-row: 6;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    padding-top: 10px;
    width: 100%;
    border-top: 1px dashed var(--border-light);
  }

  .feature-item {
    font-size: 0.78rem;
    justify-content: flex-start;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 24px;
  }

  .service-card {
    padding: 14px 10px !important;
    border-radius: 14px !important;
    display: flex;
    flex-direction: column;
  }

  .service-icon-box {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
  }

  .animated-service-svg {
    width: 32px !important;
    height: 32px !important;
  }

  .service-card h3 {
    font-size: 0.96rem !important;
    margin: 0 0 6px !important;
    line-height: 1.25;
  }

  .service-card p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin: 0 0 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .service-bullets {
    display: none !important; /* Hides bullets on mobile so cards are super compact & uniform! */
  }

  .service-request-btn {
    margin-top: auto;
    padding: 7px 6px !important;
    font-size: 0.76rem !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .portfolio-albums-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
    margin-top: 22px;
  }

  .album-card {
    border-radius: 14px;
    box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.06);
  }

  .album-cover-wrap {
    aspect-ratio: 16 / 10;
  }

  .album-badges {
    top: 6px;
    left: 6px;
    right: 6px;
    gap: 4px;
  }

  .badge-cat {
    font-size: 0.60rem;
    padding: 3px 6px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  }

  .badge-count {
    font-size: 0.60rem;
    padding: 3px 5px;
    border-radius: 8px;
    gap: 3px;
  }

  .icon-album-cam {
    width: 9px;
    height: 9px;
  }

  .album-info {
    padding: 10px 10px 12px;
  }

  .album-info h3 {
    font-size: 0.92rem;
    line-height: 1.22;
    margin: 0 0 4px;
  }

  .album-info p {
    font-size: 0.74rem;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .album-action-row {
    padding-top: 6px;
    margin-top: auto;
  }

  .album-open-link {
    font-size: 0.72rem;
    font-weight: 700;
  }

  .lightbox-container {
    max-height: 98vh;
    border-radius: 16px;
  }

  .lightbox-header {
    padding: 10px 14px;
  }

  .lightbox-album-title {
    font-size: 0.92rem;
  }

  .lightbox-stage {
    min-height: 220px;
    max-height: 48vh;
  }

  .lightbox-figure img {
    max-height: 46vh;
  }

  .lightbox-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .lightbox-nav-prev { left: 8px; }
  .lightbox-nav-next { right: 8px; }

  .lightbox-caption-bar {
    padding: 10px 14px;
  }

  .lightbox-caption-title {
    font-size: 0.88rem;
  }

  .lightbox-caption-desc {
    font-size: 0.78rem;
  }

  .lightbox-thumbnails-strip {
    padding: 8px 12px 10px;
    gap: 6px;
  }

  .thumb-item {
    width: 44px;
    height: 44px;
  }

  .instagram-banner {
    padding: 18px 16px;
    gap: 16px;
    text-align: center;
    justify-content: center;
  }

  .instagram-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .btn-instagram {
    width: 100%;
    justify-content: center;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .review-card {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .review-quote {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 16px;
  }

  .reviews-summary-bar {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 18px 16px;
    gap: 14px;
    margin-top: 24px;
  }

  .reviews-summary-stats {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .btn-summary-cta {
    width: 100%;
    justify-content: center;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .contact-form-panel {
    order: -1; /* Puts the estimate request form FIRST on mobile! */
    padding: 24px 18px;
    border-radius: 16px;
  }

  .contact-info-panel {
    order: 1; /* Puts direct call / Instagram underneath the form! */
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding: 20px 0 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .footer-bottom p {
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
  }

  .footer-subtext {
    font-size: 0.74rem;
    color: var(--text-light);
  }

  .mobile-action-bar {
    display: flex;
  }

  /* Add padding bottom to body so mobile action bar doesn't cover content */
  body {
    padding-bottom: 64px;
  }

  .back-to-top {
    bottom: 80px;
  }

  .lightbox-btn-prev {
    left: -10px;
  }

  .lightbox-btn-next {
    right: -10px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 38px;
  }

  .hero-container {
    grid-template-columns: 0.9fr 1.1fr;
    column-gap: 8px;
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.62rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .hero-handyman-img {
    max-height: 275px;
  }

  .hero-cta-group {
    margin-top: 10px;
    gap: 8px;
  }

  .hero-cta-group .btn-primary {
    font-size: 0.94rem;
    padding: 13px 18px;
  }

  .hero-cta-group .btn-secondary {
    font-size: 0.88rem;
    padding: 11px 16px;
  }

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

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