/* ==========================================================================
   ON POINT PLUMBING MANAWATU LTD - OFFICIAL STYLESHEET
   Design System: Precision Trades, High-Trust Glassmorphism & High Conversion
   Author: On Point Plumbing Manawatu Ltd
   ========================================================================== */

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

/* --- Root Design Tokens --- */
:root {
  /* Brand Color Palette */
  --primary: #0070ea;
  --primary-hover: #005bc4;
  --primary-light: #e0f0ff;
  --primary-glow: rgba(0, 112, 234, 0.28);
  --cyan-accent: #00b4d8;
  --cyan-glow: rgba(0, 180, 216, 0.25);
  
  /* Dark Navy Slate System */
  --navy-950: #070c18;
  --navy-900: #0b1329;
  --navy-850: #101b38;
  --navy-800: #162447;
  --navy-700: #1e325f;
  
  /* Neutral Palette */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;
  
  /* Utility & Functional Colors */
  --emergency: #ef4444;
  --emergency-glow: rgba(239, 68, 68, 0.35);
  --emergency-amber: #f97316;
  --success:   #10b981;
  --success-light: #d1fae5;
  --star-gold: #f59e0b;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(11, 19, 41, 0.25);
  --shadow-card: 0 12px 32px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 25px var(--primary-glow);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Spacing */
  --header-height: 80px;
}

/* --- Base Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

p {
  color: var(--slate-600);
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(135deg, #0070ea 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Top Notification & Emergency Dispatch Bar --- */
.emergency-topbar {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #991b1b 100%);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.25);
}

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

.emergency-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.live-beacon {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-beacon 2s infinite;
}

@keyframes pulse-beacon {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.emergency-topbar-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--white);
  color: #dc2626;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: var(--transition-fast);
}

.emergency-topbar-call:hover {
  background-color: #fee2e2;
  transform: translateY(-1px);
}

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

.topbar-timing-hint {
  display: none;
  font-weight: 500;
  opacity: 0.95;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .topbar-timing-hint {
    display: inline;
  }
}

/* --- Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(11, 19, 41, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  white-space: nowrap;
}

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

.brand-emblem-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.6rem);
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

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

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

.mobile-chevron,
.mobile-drawer-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #005bc4 100%);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #007bfd 0%, #0051b0 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 234, 0.4);
}

.btn-emergency {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: var(--white);
  box-shadow: 0 4px 14px var(--emergency-glow);
  position: relative;
  overflow: hidden;
}

.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.45);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--slate-300);
  color: var(--navy-900);
}

.btn-outline:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-400);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy-950);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #0b1a3d 0%, #070c18 60%, #050811 100%);
  color: var(--white);
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-mesh-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(at 10% 20%, rgba(0, 112, 234, 0.15) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(0, 180, 216, 0.12) 0px, transparent 50%);
  pointer-events: none;
}

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

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #bae6fd;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.hero-pill-rating {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef08a;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
}

.proof-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.proof-label {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* --- Hero Image Visual Showcase --- */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #000;
}

.hero-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.025);
}

.hero-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 12, 24, 0.85) 0%, rgba(7, 12, 24, 0) 50%);
  pointer-events: none;
}

/* Floating Badges on Hero Image */
.floating-glass-card {
  position: absolute;
  background: rgba(16, 27, 56, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  color: var(--white);
  z-index: 5;
  animation: float-gentle 4s ease-in-out infinite;
}

.floating-glass-top {
  top: 1.5rem;
  right: -1rem;
}

.floating-glass-bottom {
  bottom: 2rem;
  left: -1.2rem;
  animation-delay: -2s;
}

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

.glass-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.glass-stars {
  color: var(--star-gold);
  letter-spacing: 2px;
}

.glass-card-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

/* --- Quick Actions Bar Under Hero --- */
.quick-action-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  margin-top: -1.5rem;
  border-radius: var(--radius-lg);
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-action-card {
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  border-radius: var(--radius-lg);
}

.quick-action-card:not(:last-child) {
  border-right: 1px solid var(--slate-200);
}

.quick-action-card:hover {
  background-color: var(--slate-50);
  transform: translateY(-3px);
}

.quick-action-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-red { background: #fee2e2; color: #ef4444; }
.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-green { background: #dcfce7; color: #16a34a; }

.quick-action-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.2;
}

.quick-action-desc {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-header h2 {
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--slate-600);
}

/* --- Section General Spacing --- */
.section-padding {
  padding: 5.5rem 0;
}

.bg-slate-50 {
  background-color: var(--slate-50);
}

.bg-white {
  background-color: var(--white);
}

.bg-navy {
  background: var(--navy-950);
  color: var(--white);
}

.bg-navy h2, .bg-navy h3 {
  color: var(--white);
}

.bg-navy p {
  color: #94a3b8;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -8px rgba(15, 23, 42, 0.12);
  border-color: #bae6fd;
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--slate-100);
}

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

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

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 19, 41, 0.82);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.service-card-title {
  margin-bottom: 0.6rem;
  color: var(--navy-950);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.service-features-list {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.service-features-list li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.2rem;
}

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

.service-price-hint {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.service-price-hint strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-950);
}

/* --- Interactive Cost Calculator Widget --- */
.calculator-card {
  background: linear-gradient(145deg, #0b1329 0%, #101c3d 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-2xl);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.calc-mesh-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 112, 234, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.calculator-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.calc-step {
  margin-bottom: 2rem;
}

.calc-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #bae6fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.calc-grid-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.calc-radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-radio-label:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.calc-radio-label input[type="radio"] {
  accent-color: var(--cyan-accent);
  width: 18px;
  height: 18px;
}

.calc-radio-label:has(input:checked) {
  background: rgba(0, 112, 234, 0.22);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
}

.calc-radio-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.calc-select-styled {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
  cursor: pointer;
}

.calc-select-styled option {
  background: var(--navy-900);
  color: var(--white);
}

/* Calculator Summary Box */
.calc-summary-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.calc-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.calc-estimate-range {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.calc-estimate-sub {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.calc-breakdown-item strong {
  color: var(--white);
}

.calc-guarantee-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 1rem;
  text-align: center;
  justify-content: center;
}

/* --- Real Work / Portfolio Gallery --- */
.portfolio-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  background: var(--navy-950);
  height: 340px;
}

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

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 12, 24, 0.92) 0%, rgba(7, 12, 24, 0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--white);
  transition: opacity var(--transition-normal);
}

.portfolio-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.portfolio-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.portfolio-zoom-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
}

.portfolio-item:hover .portfolio-zoom-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 24, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-img-wrapper {
  max-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.lightbox-img-wrapper img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.lightbox-info {
  padding: 1.75rem;
  color: var(--white);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* --- Why Mike / The On Point Difference --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.why-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.why-feature-item {
  display: flex;
  gap: 1.25rem;
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.why-feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

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

.why-card-portrait {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.why-card-portrait img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.why-floating-quote {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(11, 19, 41, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--white);
}

.quote-owner-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #38bdf8;
}

.quote-owner-role {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.6rem;
}

.quote-owner-text {
  font-size: 0.92rem;
  color: #e2e8f0;
  font-style: italic;
  line-height: 1.5;
}

/* --- 5.0 Google Reviews Showcase (All 24 Reviews) --- */
.reviews-stat-banner {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.reviews-stat-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.google-logo-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate-800);
}

.rating-huge-score {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--navy-950);
  line-height: 1;
}

.rating-stars-gold {
  color: var(--star-gold);
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.reviews-filter-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.reviews-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -6px rgba(15, 23, 42, 0.1);
  border-color: #bae6fd;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.review-author-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-950);
  line-height: 1.2;
}

.author-subtitle {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.review-tag-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: #f0fdf4;
  color: #166534;
}

.review-stars {
  color: var(--star-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.6;
  flex-grow: 1;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.8rem;
  color: var(--slate-400);
}

.google-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #1e8e3e;
  font-weight: 600;
}

/* Reviews Pagination / Show More */
.reviews-load-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- Service Coverage Areas & Suburb Checker --- */
.coverage-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.suburb-checker-form {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.suburb-input-group {
  display: flex;
  gap: 0.65rem;
}

.suburb-input {
  flex-grow: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-full);
  font-size: 1rem;
  outline: none;
  background: var(--white);
  transition: border-color var(--transition-fast);
}

.suburb-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.suburb-result-box {
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: none;
}

.suburb-result-box.success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.suburb-result-box.info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

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

.region-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.region-card:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.region-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-950);
  margin-bottom: 0.25rem;
}

.region-suburbs {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* --- FAQ Accordion --- */
.faq-grid {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.35rem 1.75rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--primary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding-inline: 1.75rem;
}

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

.faq-answer p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* --- Booking & Contact Form Section --- */
.contact-section-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-item-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
}

.contact-card-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.15rem;
}

.contact-card-sub {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 0.2rem;
}

.emergency-hours-box {
  background: linear-gradient(135deg, #101c3d 0%, #070c18 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.emergency-hours-box h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.emergency-hours-box p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.contact-form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  color: var(--slate-900);
  background-color: var(--slate-50);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--slate-600);
  cursor: pointer;
}

.form-checkbox-label input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.form-feedback-alert {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.form-feedback-alert.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--navy-950);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-bio {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.92rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.footer-contact-item a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Floating Mobile Action Bar (NZ Tradie Essential) --- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 19, 41, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
  z-index: 99;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.mobile-action-bar-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
}

/* --- Comprehensive Responsive Design System --- */

/* Desktop & Laptop Adaptations (max-width: 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
  .nav-actions .btn-outline {
    display: none;
  }
  .nav-menu {
    gap: 1.1rem;
  }
}

/* Tablet & Mobile Header Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(11, 19, 41, 0.08);
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100%;
    height: calc(100dvh - var(--header-height));
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.5rem calc(2rem + 80px);
    gap: 0;
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    z-index: 99999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--slate-100);
    color: var(--navy-950);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
  }

  .nav-link:hover, .nav-link:active {
    color: var(--primary);
    padding-left: 0.35rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions .btn {
    display: none !important;
  }

  .mobile-chevron {
    display: block;
    color: var(--slate-400);
    flex-shrink: 0;
  }

  .mobile-drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-200);
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--navy-950);
    cursor: pointer;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
  }

  .mobile-toggle:focus-visible {
    outline: 2px solid var(--primary);
  }

  .floating-glass-card {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-image-wrapper img {
    height: 400px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .reviews-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contact-section-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .coverage-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

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

/* Medium Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 3.75rem 0;
  }

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

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
  }

  .hero-proof-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
  }

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

  .floating-glass-card {
    display: none;
  }

  .quick-action-strip {
    margin-top: -1rem;
    border-radius: var(--radius-md);
  }

  .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .quick-action-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }

  .quick-action-card {
    padding: 1.1rem 1.25rem;
  }

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

  .portfolio-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.75rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
  }

  .portfolio-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
  }

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

  .portfolio-item {
    height: 300px;
  }

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

  .reviews-stat-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }

  .reviews-stat-left {
    flex-direction: column;
    gap: 0.5rem;
  }

  .reviews-filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .reviews-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .calculator-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

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

  .calc-summary-panel {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .calc-estimate-range {
    font-size: 2.2rem;
  }

  .why-card-portrait img {
    height: 380px;
  }

  .why-floating-quote {
    position: static;
    margin-top: 1rem;
    border-radius: var(--radius-md);
  }

  .coverage-box {
    padding: 1.75rem 1.25rem;
  }

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

  .suburb-checker-form {
    padding: 1.25rem;
  }

  .contact-form-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

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

/* Compact Mobile Breakpoint (max-width: 640px) */
@media (max-width: 640px) {
  .brand-sub {
    display: none !important;
  }

  .suburb-input-group {
    flex-direction: column;
    gap: 0.65rem;
  }

  .suburb-input-group .btn {
    width: 100%;
  }
}

/* Smartphone Screens (max-width: 520px) */
@media (max-width: 520px) {
  .container {
    padding-inline: 1rem;
  }

  .emergency-topbar {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }

  .emergency-topbar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .emergency-status-badge {
    text-align: center;
    justify-content: center;
    line-height: 1.35;
    max-width: 100%;
  }

  .emergency-topbar-call {
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .brand-emblem-svg {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .hero-badge-row {
    gap: 0.5rem;
  }

  .hero-pill {
    max-width: 100%;
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.5;
  }

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

  .hero-proof-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: left;
  }

  .hero-proof-item {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .proof-val {
    font-size: 1.3rem;
  }

  .proof-label {
    margin-top: 0;
    font-size: 0.8rem;
  }

  .coverage-regions-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .calculator-card {
    padding: 1.25rem 0.9rem;
  }

  .calc-estimate-range {
    font-size: 1.75rem;
  }

  .calc-radio-label {
    padding: 0.75rem;
  }

  .calc-radio-text {
    font-size: 0.88rem;
  }

  .lightbox-modal {
    padding: 0.75rem;
  }

  .lightbox-content {
    margin: 0.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .lightbox-img-wrapper img {
    max-height: 320px;
  }

  .lightbox-info {
    padding: 1.25rem;
  }

  .mobile-action-bar {
    z-index: 90;
  }

  .mobile-action-bar-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 0.5rem;
  }

  .mobile-action-bar-inner .btn {
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
  }
}

/* Very Small Mobile Phones (max-width: 360px) */
@media (max-width: 360px) {
  .brand-name {
    font-size: 1.05rem;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-pill {
    font-size: 0.74rem;
    padding: 0.25rem 0.55rem;
  }

  .calc-estimate-range {
    font-size: 1.45rem;
  }

  .rating-huge-score {
    font-size: 2rem;
  }

  .mobile-action-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-action-bar-inner .btn {
    font-size: 0.76rem;
    padding: 0.6rem 0.35rem;
  }
}
