/* ============================================
   Murphy's Plumbing & Heating - Main Styles
   ============================================ */

:root {
  --navy: #0d1b2a;
  --navy-mid: #1b2d42;
  --navy-light: #243b55;
  --orange: #e8631a;
  --orange-dark: #c4511a;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --gray-light: #e8ecf0;
  --gray: #8899aa;
  --text-dark: #1a2535;
  --text-body: #3d4f62;
  --shadow: 0 4px 20px rgba(13, 27, 42, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 27, 42, 0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

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

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--text-body); font-size: 1.05rem; max-width: 560px; }

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- Layout Utilities ---- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232, 99, 26, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 6px 20px rgba(232, 99, 26, 0.45); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* ---- Header / Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.top-bar {
  background: var(--orange);
  padding: 0.35rem 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.top-bar a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.top-bar a:hover { opacity: 0.85; }

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-name span { color: var(--orange); }

.logo-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links a.active { color: var(--orange); }

.nav-cta { margin-left: 0.75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active { background: rgba(255,255,255,0.06); color: var(--orange); }

.mobile-nav .btn { margin: 1rem 1.5rem 0; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(232, 99, 26, 0.15);
  border: 1px solid rgba(232, 99, 26, 0.4);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

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

.hero-title span { color: var(--orange); }

.hero-text {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-light);
}

.emergency-phone {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.emergency-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.emergency-label { font-size: 0.75rem; color: var(--gray); font-weight: 500; }
.emergency-number { font-size: 1.3rem; font-weight: 800; color: var(--navy); font-family: 'Montserrat', sans-serif; }

.availability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.avail-item {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 0.75rem;
  text-align: center;
}

.avail-icon { font-size: 1.25rem; margin-bottom: 0.25rem; }
.avail-label { font-size: 0.72rem; font-weight: 600; color: var(--navy); }

/* ---- Trust Badges ---- */
.trust-section {
  background: var(--navy);
  padding: 2.5rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 3rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
}

.trust-badge-icon {
  width: 42px;
  height: 42px;
  background: rgba(232, 99, 26, 0.15);
  border: 1px solid rgba(232, 99, 26, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--orange);
}

.trust-badge-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}

.trust-badge-text span { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ---- Services Cards ---- */
.services-section { background: var(--off-white); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-light);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--text-body); margin-bottom: 1rem; }

.service-list {
  margin-bottom: 1.25rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 0.25rem 0;
  padding-left: 1.1rem;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---- Why Us / Features ---- */
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--orange);
}

.feature-icon {
  width: 46px;
  height: 46px;
  background: rgba(232, 99, 26, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-text h4 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.feature-text p { font-size: 0.85rem; color: var(--text-body); margin: 0; }

/* ---- Testimonials ---- */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-label { color: var(--orange); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.65); }

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition);
}

.testimonial-card:hover { transform: translateY(-4px); }

.stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

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

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-name { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.author-location { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* ---- CTA Band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 4rem 0;
}

.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }

.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-white {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
}
.btn-white:hover { background: var(--navy); color: var(--white); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-hero h1 { color: var(--white); position: relative; z-index: 1; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.7); position: relative; z-index: 1; font-size: 1.05rem; margin: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: 0.4; }

/* ---- About Page ---- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 4rem;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.about-img-placeholder span { font-size: 0.9rem; font-weight: 500; }

.about-img-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-box {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.highlight-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.highlight-label { font-size: 0.78rem; color: var(--text-body); margin-top: 0.25rem; }

/* Team cards */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-4px); }

.team-photo {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.3);
}

.team-info {
  padding: 1.5rem;
}

.team-name { font-size: 1.05rem; margin-bottom: 0.2rem; }
.team-role { font-size: 0.8rem; color: var(--orange); font-weight: 600; margin-bottom: 0.5rem; }
.team-bio { font-size: 0.85rem; color: var(--text-body); }

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.cert-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.cert-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.cert-name { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.cert-detail { font-size: 0.75rem; color: var(--gray); }

/* Values section */
.values-section { background: var(--off-white); }

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

/* ---- Services Detail Page ---- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-light);
}

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

.service-detail:nth-child(even) .service-detail-content { order: -1; }

.service-detail-img {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.3);
}

.service-detail h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.service-detail p { color: var(--text-body); margin-bottom: 1rem; }

.detail-list {
  margin: 1rem 0 1.5rem;
}

.detail-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-body);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-light);
}

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

.detail-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Pricing table */
.pricing-section { background: var(--off-white); }

.pricing-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-light);
  align-items: center;
  transition: background var(--transition);
}

.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: var(--off-white); }

.pricing-row.header {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-col { text-align: right; }
.price-col span { font-weight: 700; color: var(--orange); }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item:nth-child(7) { grid-column: span 2; }

.gallery-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-size: 2.5rem;
}

.gallery-placeholder.tall { min-height: 320px; }
.gallery-placeholder.wide { min-height: 220px; }

.gallery-placeholder span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--gray-light);
  color: var(--text-body);
  background: var(--white);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 0.2rem; }
.contact-info-value { font-weight: 600; color: var(--navy); font-size: 1rem; }
.contact-info-sub { font-size: 0.8rem; color: var(--gray); }

/* Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

.form-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.form-subtitle { font-size: 0.88rem; color: var(--gray); margin-bottom: 2rem; }

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

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 99, 26, 0.12);
  background: var(--white);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.form-check input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
  accent-color: var(--orange);
}

.form-check label { font-size: 0.82rem; color: var(--gray); font-weight: 400; }

.form-submit { margin-top: 1.5rem; }

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  gap: 1rem;
  font-size: 3rem;
  border: 2px dashed rgba(255,255,255,0.12);
  margin-top: 3rem;
}

.map-placeholder span { font-size: 0.88rem; font-weight: 500; }
.map-placeholder small { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* Hours table */
.hours-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

.hours-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.88rem;
}

.hours-row:last-child { border-bottom: none; }
.hours-row.today { background: rgba(232, 99, 26, 0.05); font-weight: 600; }
.hours-day { color: var(--text-dark); font-weight: 500; }
.hours-time { color: var(--orange); font-weight: 600; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}

.footer-top { padding: 4rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-brand { max-width: 300px; }
.footer-logo { margin-bottom: 1rem; }

.footer-logo .logo-name { font-size: 1.1rem; }

.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 1.25rem; }

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1.25rem;
}

.social-links { display: flex; gap: 0.6rem; }

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.social-link:hover { background: var(--orange); color: var(--white); }

.footer-col h5 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item .icon { color: var(--orange); margin-top: 0.1rem; }

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

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

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: var(--orange); }

/* ---- Emergency Floating Button ---- */
.emergency-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: pulse-fab 2.5s ease-in-out infinite;
}

@keyframes pulse-fab {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.emergency-fab a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(232, 99, 26, 0.5);
}

.emergency-fab a:hover { background: var(--orange-dark); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-grid,
  .about-intro,
  .contact-grid,
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }

  .service-detail:nth-child(even) .service-detail-content { order: 0; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(7) { grid-column: span 1; }

  .hero-stats { flex-wrap: wrap; gap: 1rem; }

  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: span 1; }

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

  .trust-divider { display: none; }

  .trust-inner { justify-content: flex-start; gap: 1.5rem; }

  .cta-actions { flex-direction: column; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .about-highlights { grid-template-columns: 1fr 1fr; }

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

  .pricing-row { grid-template-columns: 1fr; }
  .pricing-row.header { display: none; }

  .emergency-fab a span { display: none; }
  .emergency-fab a { padding: 1rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 4rem; }
}
