/* ==========================================================================
   5Star Plumbing Phoenix — Master Stylesheet
   ========================================================================== */

:root {
  --navy-900: #071e35;
  --navy-800: #0b2e4f;
  --navy-700: #0d3b66;
  --navy-600: #124a7d;
  --navy-100: #e7edf5;
  --gold-500: #f5b400;
  --gold-600: #d99900;
  --red-600: #e63946;
  --red-700: #c62836;
  --gray-900: #16202b;
  --gray-800: #263241;
  --gray-700: #3d4a5a;
  --gray-500: #6b7a8c;
  --gray-300: #c8d2dc;
  --gray-100: #f2f5f8;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(7, 30, 53, 0.08);
  --shadow-md: 0 10px 30px rgba(7, 30, 53, 0.12);
  --shadow-lg: 0 20px 50px rgba(7, 30, 53, 0.22);
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
}
p { line-height: 1.75; margin: 0 0 1em; color: var(--gray-700); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-light { background: var(--gray-100); }
.bg-navy { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy p { color: #fff; }
.bg-navy .section-eyebrow { color: var(--gold-500); }

img, svg { max-width: 100%; }

/* -------------------- Utility -------------------- */
.eyebrow, .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before, .section-eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--gold-500);
  border-radius: 4px;
  display: inline-block;
}
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p.lead { font-size: 18px; color: var(--gray-500); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-head);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-3px); }
.btn-red { background: var(--red-600); color: #fff; box-shadow: 0 10px 24px rgba(230,57,70,.35); }
.btn-red:hover { background: var(--red-700); box-shadow: 0 14px 30px rgba(230,57,70,.45); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 10px 24px rgba(245,180,0,.35); }
.btn-gold:hover { background: var(--gold-600); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-navy-outline { background: transparent; border-color: var(--navy-700); color: var(--navy-700); }
.btn-navy-outline:hover { background: var(--navy-700); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.pill svg { width: 15px; height: 15px; }
.pill-light { background: var(--navy-100); color: var(--navy-700); border-color: transparent; }

/* -------------------- Top utility bar -------------------- */
.topbar {
  background: var(--navy-900);
  color: #cdd8e4;
  font-size: 13.5px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 9px; padding-bottom: 9px; gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #cdd8e4; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-500); }
.topbar svg { width: 14px; height: 14px; color: var(--gold-500); flex-shrink: 0; }
.topbar .stars { color: var(--gold-500); display: inline-flex; gap: 2px; }
.topbar .stars svg { width: 12px; height: 12px; }

/* -------------------- Header / Nav -------------------- */
header.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  box-shadow: 0 2px 18px rgba(7,30,53,.08);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 52px; height: 52px; flex-shrink: 0; }
.logo-text { font-family: var(--font-head); line-height: 1.1; }
.logo-text .big { display: block; font-weight: 800; font-size: 20px; color: var(--navy-800); letter-spacing: .01em; }
.logo-text .small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--red-600); text-transform: uppercase; margin-top: 3px; }

nav.main-nav ul { display: flex; align-items: center; gap: 30px; }
nav.main-nav a.nav-link {
  font-weight: 600; font-size: 15px; color: var(--gray-800);
  position: relative; padding: 6px 0;
}
nav.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--red-600); transition: width .2s ease;
}
nav.main-nav a.nav-link:hover::after, nav.main-nav a.nav-link.active::after { width: 100%; }
nav.main-nav a.nav-link.active { color: var(--red-600); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -18px; background: #fff;
  box-shadow: var(--shadow-md); border-radius: var(--radius-sm);
  min-width: 270px; padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .18s ease; z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--gray-800);
}
.dropdown a:hover { background: var(--navy-100); color: var(--navy-700); }
.dropdown a svg { width: 17px; height: 17px; color: var(--red-600); flex-shrink: 0; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { text-align: right; }
.header-phone .label { font-size: 11.5px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.header-phone .num { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--navy-800); display: flex; align-items: center; gap: 6px; }
.header-phone .num svg { width: 18px; height: 18px; color: var(--red-600); }

.nav-toggle {
  display: none; background: var(--navy-700); border: none; border-radius: 8px;
  width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; color: #fff; }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  color: #fff;
  padding: 120px 0 100px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(245,180,0,.18), transparent 45%),
                     radial-gradient(circle at 10% 90%, rgba(230,57,70,.22), transparent 45%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 20px; }
.hero h1 span { color: var(--gold-500); }
.hero p.lead { color: #d7e1ec; font-size: 19px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 42px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 10px; }
.hero-trust .item svg { width: 26px; height: 26px; color: var(--gold-500); flex-shrink: 0; }
.hero-trust .item .num { font-family: var(--font-head); font-weight: 800; font-size: 20px; display: block; color: #fff; }
.hero-trust .item .cap { font-size: 12.5px; color: #b9c7d6; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,.12);
}
.hero-media .float-card {
  position: absolute; bottom: -24px; left: -24px;
  background: #fff; color: var(--navy-800); border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
  max-width: 260px;
}
.hero-media .float-card .ic { background: var(--red-600); border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-media .float-card .ic svg { width: 24px; height: 24px; color: #fff; }
.hero-media .float-card strong { display: block; font-size: 15px; }
.hero-media .float-card span { font-size: 12.5px; color: var(--gray-500); }

.page-hero {
  position: relative; color: #fff; padding: 78px 0 64px;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(245,180,0,.18), transparent 45%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #b9c7d6; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--gold-500); }
.breadcrumbs svg { width: 14px; height: 14px; vertical-align: -2px; }
.side-card h4 svg, .faq-q svg { vertical-align: -3px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); max-width: 760px; }
.page-hero p.lead { color: #d7e1ec; font-size: 17.5px; max-width: 640px; }

/* -------------------- Marquee / trust strip -------------------- */
.trust-strip { background: var(--navy-100); padding: 20px 0; }
.trust-strip .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.trust-strip .t-item { display: flex; align-items: center; gap: 10px; color: var(--navy-700); font-weight: 700; font-size: 14px; }
.trust-strip .t-item svg { width: 22px; height: 22px; color: var(--red-600); flex-shrink: 0; }

/* -------------------- Services -------------------- */
.service-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column; height: 100%;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .thumb .num {
  position: absolute; top: 14px; left: 14px; background: var(--gold-500); color: var(--navy-900);
  font-family: var(--font-head); font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px;
}
.service-card .body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card .ic-badge {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy-100);
  display: flex; align-items: center; justify-content: center; margin-top: -50px; margin-bottom: 16px;
  box-shadow: var(--shadow-sm); position: relative; z-index: 2; border: 4px solid #fff;
}
.service-card .ic-badge svg { width: 26px; height: 26px; color: var(--red-600); }
.service-card h3 { font-size: 19.5px; margin-bottom: 8px; }
.service-card h3 a:hover { color: var(--red-600); }
.service-card p { font-size: 14.5px; flex: 1; }
.service-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy-700); margin-top: 10px; }
.service-card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .more svg { transform: translateX(5px); }

/* -------------------- Feature list / why choose -------------------- */
.feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.feature .ic {
  width: 54px; height: 54px; border-radius: 14px; background: var(--navy-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.feature .ic svg { width: 26px; height: 26px; color: var(--gold-500); }
.feature h4 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; margin-bottom: 0; }

/* -------------------- Stats -------------------- */
.stats-band { background: var(--navy-900); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid .stat strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--gold-500); }
.stats-grid .stat span { font-size: 14px; color: #b9c7d6; font-weight: 600; }

/* -------------------- Process steps -------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding: 30px 22px 26px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.step .step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--red-600); color: #fff;
  font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 18px;
}
.step h4 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; margin-bottom: 0; }

/* -------------------- Gallery -------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: zoom-in;
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,30,53,.82), transparent 55%);
  display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: opacity .25s ease;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: #fff; font-weight: 700; font-size: 14.5px; }

.lightbox {
  position: fixed; inset: 0; background: rgba(7,10,15,.92); z-index: 999;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-caption { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox .lb-close svg, .lightbox .lb-prev svg, .lightbox .lb-next svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* -------------------- Testimonials -------------------- */
.testi-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.testi-slide {
  background: #fff; border-radius: var(--radius-lg); padding: 44px 46px; box-shadow: var(--shadow-md);
  text-align: center; display: none; border: 1px solid var(--gray-100);
}
.testi-slide.active { display: block; }
.testi-slide .quote-ic { color: var(--gold-500); width: 36px; height: 36px; margin: 0 auto 18px; }
.testi-slide .stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; color: var(--gold-500); }
.testi-slide .stars svg { width: 18px; height: 18px; }
.testi-slide p.quote { font-size: 18px; color: var(--gray-800); font-style: italic; }
.testi-slide .who { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.testi-slide .who .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy-700); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800;
}
.testi-slide .who strong { display: block; font-size: 15px; }
.testi-slide .who span { font-size: 13px; color: var(--gray-500); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); border: none; cursor: pointer; padding: 0; }
.testi-dots button.active { background: var(--red-600); width: 26px; border-radius: 6px; }
.testi-nav { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid var(--gray-300); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.testi-nav svg { width: 20px; height: 20px; color: var(--navy-700); }
.testi-nav.prev { left: -60px; }
.testi-nav.next { right: -60px; }

/* -------------------- FAQ -------------------- */
.faq-item { border-bottom: 1px solid var(--gray-300); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 16.5px;
  color: var(--navy-800); background: none; border: none; width: 100%; text-align: left;
}
.faq-q svg { width: 20px; height: 20px; color: var(--red-600); flex-shrink: 0; transition: transform .25s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 4px 22px; font-size: 15px; }
.faq-item.open .faq-a { max-height: 320px; }

/* -------------------- CTA band -------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-600), var(--red-700));
  color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 90% 20%, rgba(255,255,255,.15), transparent 45%); }
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: #ffe3e5; margin-bottom: 0; }
.cta-band .btn-gold, .cta-band .btn-outline { flex-shrink: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------- Service area -------------------- */
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.area-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--gray-800); }
.area-list li svg { width: 16px; height: 16px; color: var(--red-600); flex-shrink: 0; }

/* -------------------- Contact page -------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-info-card { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 40px 34px; }
.contact-info-card h3 { color: #fff; }
.contact-info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(245,180,0,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-row .ic svg { width: 21px; height: 21px; color: var(--gold-500); }
.contact-info-row strong { display: block; font-size: 14px; color: #b9c7d6; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.contact-info-row a, .contact-info-row span { color: #fff; font-weight: 600; font-size: 15.5px; }
.contact-social { display: flex; gap: 10px; margin-top: 24px; }
.contact-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.contact-social a:hover { background: var(--gold-500); }
.contact-social a svg { width: 18px; height: 18px; color: #fff; }
.contact-social a:hover svg { color: var(--navy-900); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14.5px; color: var(--gray-800); background: var(--gray-100);
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-600); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--red-600); }
.field .err-msg { display: none; color: var(--red-600); font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.field.error .err-msg { display: block; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 10px; }
.form-success {
  display: none; background: #e9f9ee; border: 1.5px solid #34c759; color: #1a7a37;
  padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px; margin-bottom: 20px;
  align-items: center; gap: 10px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); margin-top: 40px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* -------------------- Before / after strip -------------------- */
.badges-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; justify-content: center; }
.badge-chip {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--gray-300);
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-sm); font-weight: 700; font-size: 13.5px; color: var(--navy-800);
}
.badge-chip svg { width: 22px; height: 22px; color: var(--red-600); }

/* -------------------- About page -------------------- */
.value-card { background: #fff; padding: 28px 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); text-align: center; }
.value-card .ic { width: 58px; height: 58px; border-radius: 16px; background: var(--navy-100); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.value-card .ic svg { width: 28px; height: 28px; color: var(--red-600); }
.value-card h4 { font-size: 16.5px; }
.value-card p { font-size: 14px; margin-bottom: 0; }

.team-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); text-align: center; }
.team-card .avatar-block { background: var(--navy-700); height: 170px; display: flex; align-items: center; justify-content: center; }
.team-card .avatar-block svg { width: 70px; height: 70px; color: rgba(255,255,255,.5); }
.team-card .body { padding: 20px; }
.team-card h4 { margin-bottom: 4px; font-size: 16px; }
.team-card span { font-size: 13px; color: var(--red-600); font-weight: 700; }

/* -------------------- Service detail page -------------------- */
.service-detail-grid { display: grid; grid-template-columns: 1.4fr .95fr; gap: 46px; align-items: start; }
.included-list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--gray-300);
}
.included-list li svg { width: 20px; height: 20px; color: #1a7a37; flex-shrink: 0; margin-top: 2px; }
.included-list li:last-child { border-bottom: none; }
.side-card { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 32px 28px; position: sticky; top: 110px; }
.side-card h4 { color: #fff; font-size: 18px; }
.side-card .price-tag { background: rgba(245,180,0,.15); border: 1px solid rgba(245,180,0,.4); border-radius: var(--radius-sm); padding: 14px 16px; margin: 18px 0; display: flex; align-items: center; gap: 12px; }
.side-card .price-tag svg { width: 22px; height: 22px; color: var(--gold-500); flex-shrink: 0; }
.side-card .price-tag span { font-size: 13.5px; color: #d7e1ec; }
.other-services li a {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-weight: 600; font-size: 14.5px;
}
.other-services li:last-child a { border-bottom: none; }
.other-services li a svg { width: 16px; height: 16px; }
.other-services li a:hover { color: var(--gold-500); }

.emergency-alert {
  background: #fff3f3; border: 1.5px solid var(--red-600); border-radius: var(--radius-md);
  padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px;
}
.emergency-alert svg { width: 28px; height: 28px; color: var(--red-600); flex-shrink: 0; }
.emergency-alert strong { display: block; color: var(--red-700); margin-bottom: 4px; }
.emergency-alert p { margin-bottom: 0; font-size: 14.5px; }

/* -------------------- Footer -------------------- */
footer.site-footer { background: var(--navy-900); color: #b9c7d6; padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-about .logo-text .big { color: #fff; }
.footer-about p { color: #96a7b9; font-size: 14.5px; margin: 18px 0 22px; }
footer h5 { color: #fff; font-family: var(--font-head); font-size: 15.5px; margin-bottom: 20px; letter-spacing: .02em; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; color: #b9c7d6; }
.footer-links a:hover { color: var(--gold-500); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; align-items: flex-start; }
.footer-contact li svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.footer-contact a:hover { color: var(--gold-500); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--gold-500); }
.footer-social a svg { width: 17px; height: 17px; color: #fff; }
.footer-social a:hover svg { color: var(--navy-900); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 13px; color: #7f92a6; flex-wrap: wrap; gap: 10px; }
.footer-bottom .flinks { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--gold-500); }
.footer-license { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.footer-license span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #96a7b9; }
.footer-license svg { width: 15px; height: 15px; color: var(--gold-500); }

/* -------------------- Floating mobile call bar -------------------- */
.mobile-callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.15); padding: 10px 14px;
  gap: 10px;
}
.mobile-callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.mobile-callbar a svg { width: 17px; height: 17px; }
.mobile-callbar .call { background: var(--red-600); color: #fff; }
.mobile-callbar .dir { background: var(--navy-100); color: var(--navy-800); }

.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-800); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: none; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease; z-index: 250;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-600); }
.back-to-top svg { width: 20px; height: 20px; }

/* -------------------- 404 -------------------- */
.error-page { text-align: center; padding: 140px 0; }
.error-page .code { font-family: var(--font-head); font-size: 120px; font-weight: 800; color: var(--navy-100); line-height: 1; }
.error-page h1 { margin-top: -30px; }

/* -------------------- Animations -------------------- */
.js-reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .topbar-left .hide-sm { display: none; }
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .mobile-callbar { display: flex; }
  body { padding-bottom: 74px; }
}

@media (max-width: 700px) {
  section { padding: 60px 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .testi-nav { display: none; }
  .testi-slide { padding: 30px 22px; }
  .hero-trust { gap: 18px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .logo-text .big { font-size: 16.5px; }
  .logo svg { width: 42px; height: 42px; }
  .header-phone .num { font-size: 15.5px; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: min(340px, 86vw); height: 100%; background: #fff;
  z-index: 400; box-shadow: -10px 0 40px rgba(0,0,0,.2); transition: right .3s ease; overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--gray-100); }
.mobile-nav-head button { background: var(--gray-100); border: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav-head button svg { width: 18px; height: 18px; }
.mobile-nav ul { padding: 10px 12px; }
.mobile-nav li { border-bottom: 1px solid var(--gray-100); }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 10px; font-weight: 700; font-size: 15.5px; color: var(--navy-800); }
.mobile-nav .sub-list { padding-left: 14px; display: none; }
.mobile-nav .sub-list.open { display: block; }
.mobile-nav .sub-list a { font-weight: 600; font-size: 14.5px; padding: 12px 10px; color: var(--gray-700); }
.mobile-nav-cta { padding: 18px; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(7,10,15,.5); z-index: 350; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.mobile-overlay.open { opacity: 1; visibility: visible; }
