/* ==========================================================================
   5Star Plumbing New Construction — Design System
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #071426;
  --navy-900: #0b2545;
  --navy-800: #123262;
  --navy-700: #1b3f78;
  --copper-700: #a85a24;
  --copper-600: #c1702c;
  --copper-500: #d97b29;
  --copper-400: #e69347;
  --copper-100: #fbe6d3;
  --gold-500: #e3ab26;
  --gold-400: #f4c84a;
  --ink-900: #131c2b;
  --ink-700: #33415a;
  --ink-500: #5c6b85;
  --ink-300: #97a3b8;
  --paper-50: #fbf9f5;
  --paper-100: #f4efe6;
  --paper-200: #ece4d6;
  --white: #ffffff;
  --success-600: #1f8a52;
  --danger-600: #c73434;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 20px 48px rgba(11, 37, 69, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --container-w: 1220px;
  --header-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--ink-700); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--paper-100); }
.section-navy { background: linear-gradient(155deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #c8d3e8; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-600);
  background: var(--copper-100);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section-navy .eyebrow { background: rgba(217,123,41,0.16); color: var(--gold-400); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--copper-500), var(--copper-700));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(193, 112, 44, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(193, 112, 44, 0.45); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-3px); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-ghost { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-ghost:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.86rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #cdd8ec;
  font-size: 0.86rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-links a, .topbar-info a { color: #cdd8ec; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover, .topbar-info a:hover { color: var(--gold-400); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; }
.topbar svg { width: 14px; height: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,37,69,0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.18rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.01em; }
.brand-text span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-600); font-weight: 700; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  position: relative;
}
.main-nav a.nav-link:hover, .main-nav li.active > a.nav-link { color: var(--copper-600); }
.main-nav li.active > a.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--copper-500);
  border-radius: 2px;
}
.main-nav .has-dropdown { position: relative; }
.main-nav .caret { width: 11px; height: 11px; transition: transform 0.2s ease; }
.main-nav .has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
}
.dropdown a .dd-ic {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--copper-100);
  display: flex; align-items: center; justify-content: center;
}
.dropdown a .dd-ic svg { width: 18px; height: 18px; color: var(--copper-600); }
.dropdown a:hover { background: var(--paper-100); color: var(--copper-600); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone .ic {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--copper-100); color: var(--copper-600);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.header-phone .ic svg { width: 20px; height: 20px; }
.header-phone .txt { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone .txt small { font-size: 0.72rem; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.header-phone .txt strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border: none;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.25s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 120px;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(217,123,41,0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(227,171,38,0.18), transparent 40%);
  pointer-events: none;
}
.hero-pipes { position: absolute; inset: 0; opacity: 0.14; pointer-events: none; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow { background: rgba(217,123,41,0.18); color: var(--gold-400); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-copy p.lead { font-size: 1.15rem; color: #d3ddf0; max-width: 560px; margin: 20px 0 32px; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-400); }
.hero-stats div span { font-size: 0.82rem; color: #b9c6e0; }
.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,0.08);
}
.hero-media img { width: 100%; height: 460px; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: -26px; left: -26px;
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
}
.hero-badge .stars { color: var(--gold-500); display: flex; gap: 2px; }
.hero-badge .stars svg { width: 15px; height: 15px; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.hero-badge span { font-size: 0.78rem; color: var(--ink-500); }

/* Page hero (subpages) */
.page-hero {
  position: relative;
  padding: 68px 0 60px;
  color: var(--white);
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(217,123,41,0.32), transparent 45%);
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; color: #b9c6e0; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: #b9c6e0; font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p.lead { color: #d3ddf0; max-width: 640px; margin-top: 14px; font-size: 1.05rem; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--paper-200); padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--copper-100); color: var(--copper-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--navy-900); }
.trust-item span { font-size: 0.82rem; color: var(--ink-500); }

/* ---------- Cards: services ---------- */
.grid-5col-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex; flex-direction: column;
  border: 1px solid var(--paper-200);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .thumb { position: relative; height: 210px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .thumb .num {
  position: absolute; top: 16px; left: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(11,37,69,0.85); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  backdrop-filter: blur(4px);
}
.service-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card .body .ic-badge {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--copper-100); color: var(--copper-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.service-card .body .ic-badge svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.18rem; }
.service-card p { font-size: 0.94rem; flex: 1; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  color: var(--copper-600); margin-top: 6px;
}
.service-card .card-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.service-card .card-link:hover svg { transform: translateX(4px); }

/* ---------- Why us / feature list ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 480px; object-fit: cover; }
.feature-media .stat-chip {
  position: absolute; bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--copper-500), var(--copper-700));
  color: var(--white); border-radius: var(--radius-md);
  padding: 20px 24px; box-shadow: var(--shadow-lg);
  text-align: center;
}
.feature-media .stat-chip strong { display: block; font-family: var(--font-head); font-size: 2rem; }
.feature-media .stat-chip span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: var(--gold-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-list .ic svg { width: 22px; height: 22px; }
.feature-list h4 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-list p { font-size: 0.92rem; margin: 0; }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 34px 24px 28px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--paper-200); text-align: left; }
.process-step .step-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-500), var(--copper-700));
  color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.process-step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; }
.process-grid .connector { display: none; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; color: var(--gold-400); }
.stats-band .stat span { font-size: 0.9rem; color: #c8d3e8; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--paper-200); }
.testi-card .stars { color: var(--gold-500); display: flex; gap: 3px; margin-bottom: 16px; }
.testi-card .stars svg { width: 16px; height: 16px; }
.testi-card p.quote { font-size: 0.96rem; color: var(--ink-700); font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi-person .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.testi-person strong { display: block; font-size: 0.92rem; color: var(--navy-900); }
.testi-person span { font-size: 0.8rem; color: var(--ink-500); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; height: 260px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 0 0;
  padding: 14px 18px 12px;
  background: linear-gradient(to top, rgba(7,20,38,0.92), transparent);
  color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  opacity: 0; transform: translateY(10px); transition: all 0.25s ease;
}
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(7,20,38,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox .lb-caption { color: #d3ddf0; text-align: center; margin-top: 16px; font-family: var(--font-head); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255,255,255,0.12); color: var(--white);
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none;
}
.lightbox .lb-close { top: 26px; right: 26px; }
.lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--copper-600); }
.lightbox svg { width: 20px; height: 20px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--copper-600), var(--copper-500));
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% -10%, rgba(255,255,255,0.25), transparent 55%);
}
.cta-banner h2 { color: var(--white); position: relative; }
.cta-banner p { color: rgba(255,255,255,0.92); margin-top: 8px; position: relative; }
.cta-banner .btn-row { position: relative; }
.cta-banner .btn-navy { background: var(--navy-950); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--paper-200); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy-900);
}
.faq-q .plus { width: 28px; height: 28px; border-radius: 50%; background: var(--copper-100); color: var(--copper-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item.is-open .faq-q .plus { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 24px 22px; font-size: 0.94rem; color: var(--ink-700); }
.faq-item.is-open .faq-a { max-height: 400px; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-chip { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--paper-200); font-weight: 600; font-size: 0.92rem; }
.area-chip svg { width: 16px; height: 16px; color: var(--copper-600); flex-shrink: 0; }

/* ---------- About page bits ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--white); border-radius: var(--radius-md); padding: 30px 26px; border: 1px solid var(--paper-200); text-align: center; }
.value-card .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--copper-100); color: var(--copper-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.value-card .ic svg { width: 26px; height: 26px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.badge-chip { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--paper-200); border-radius: var(--radius-pill); padding: 12px 20px; box-shadow: var(--shadow-sm); }
.badge-chip .ic { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-chip .ic svg { width: 16px; height: 16px; }
.badge-chip strong { font-size: 0.88rem; color: var(--navy-900); }

/* ---------- Service detail page ---------- */
.service-detail-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 60px; align-items: start; }
.service-detail-grid .main img.hero-shot { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-bottom: 36px; }
.service-detail-grid .main h2 { margin-top: 40px; margin-bottom: 16px; }
.service-detail-grid .main h2:first-child { margin-top: 0; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--ink-700); }
.check-list .ic { width: 24px; height: 24px; border-radius: 50%; background: var(--success-600); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.check-list .ic svg { width: 13px; height: 13px; }

.sidebar-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--paper-200); padding: 30px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 18px; }
.sidebar-services { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.sidebar-services a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem; color: var(--ink-700); }
.sidebar-services a svg { width: 14px; height: 14px; opacity: 0.5; }
.sidebar-services a:hover, .sidebar-services a.active { background: var(--paper-100); color: var(--copper-600); }
.sidebar-cta { background: var(--navy-900); border-radius: var(--radius-md); padding: 24px; color: var(--white); text-align: center; }
.sidebar-cta p { color: #c8d3e8; font-size: 0.88rem; margin-bottom: 16px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 700; color: var(--navy-900); }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--paper-200);
  background: var(--white); font-size: 0.96rem; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--copper-500); box-shadow: 0 0 0 4px rgba(217,123,41,0.14);
}
.form-field .err { font-size: 0.78rem; color: var(--danger-600); min-height: 16px; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: var(--danger-600); }
.form-note { font-size: 0.8rem; color: var(--ink-500); margin-top: 10px; }
.form-success {
  display: none; align-items: center; gap: 14px; background: #e9f7ef; border: 1.5px solid var(--success-600);
  color: #175c37; padding: 18px 20px; border-radius: var(--radius-md); margin-bottom: 22px; font-weight: 600; font-size: 0.94rem;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

.contact-page-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.info-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--paper-200); padding: 32px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--paper-200); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--copper-100); color: var(--copper-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row strong { display: block; font-size: 0.94rem; color: var(--navy-900); margin-bottom: 3px; }
.info-row span, .info-row a { font-size: 0.9rem; color: var(--ink-700); }
.info-row a:hover { color: var(--copper-600); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--paper-200); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aab8d2; padding: 84px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr; gap: 44px; padding-bottom: 56px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand p { color: #93a2c1; font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--copper-500); }
.footer-social svg { width: 16px; height: 16px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; letter-spacing: 0.02em; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; color: #aab8d2; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--copper-500); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: #aab8d2; }
.footer-contact a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #7c8bab; }
.footer-bottom a { color: #7c8bab; }
.footer-bottom a:hover { color: var(--gold-400); }

.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--copper-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); border: none;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-900); }
.back-to-top svg { width: 20px; height: 20px; }

.sticky-call {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
  background: var(--navy-950); padding: 12px 18px;
  align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.sticky-call a { color: var(--white); }

/* ---------- Reveal animation ----------
   Content is fully visible by default at all times — this is a purely
   additive flourish, never a hide-then-show mechanism, so nothing can
   ever get stuck invisible (slow script load, blocked JS, screen
   readers, print view, or a full-page screenshot all just see the
   normal, fully-visible layout). JS adds .is-visible once an element
   scrolls into view, which plays a brief fade/rise-in animation from an
   already-visible baseline. */
.reveal.is-visible { animation: revealIn 0.6s ease both; }
@keyframes revealIn {
  from { opacity: 0.4; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.is-visible { animation: none; }
}

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page .code { font-family: var(--font-head); font-size: 7rem; font-weight: 800; color: var(--copper-500); line-height: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-5col-wrap { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-media img { height: 360px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: 320px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s ease; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { padding: 16px; font-size: 1.02rem; }
  .main-nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin-left: 12px; }
  .main-nav .has-dropdown.is-open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .header-phone .txt { display: none; }
  .header-cta .btn-primary.btn-sm.header-only { display: none; }
  .sticky-call { display: flex; }
  body { padding-bottom: 62px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .grid-5col-wrap, .testi-grid, .gallery-grid, .trust-grid, .value-grid, .area-grid, .process-grid, .stats-band { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero { padding: 70px 0 90px; }
  .hero-badge { position: static; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}
