/* ==========================================================================
   5Star Plumbing Family — Master Stylesheet
   Red & Charcoal corporate theme
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette: Red & Charcoal */
  --red-900: #6E0E10;
  --red-700: #A31A1D;
  --red-600: #C41E22;
  --red-500: #E12A26;
  --red-400: #EF4A3F;
  --red-100: #FDEAE8;

  --gold-500: #E8A73A;
  --gold-400: #F2BE5E;

  --dark-950: #121317;
  --dark-900: #191A1F;
  --dark-800: #212228;
  --dark-700: #2B2C34;
  --dark-600: #3A3B45;
  --dark-400: #6C6E7A;

  --cream: #FBF8F3;
  --cream-2: #F4EFE7;
  --white: #FFFFFF;
  --gray-600: #585A63;
  --gray-500: #74757F;
  --gray-300: #C9CAD2;
  --gray-200: #E4E2DC;

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(18,19,23,.06);
  --shadow-md: 0 10px 30px rgba(18,19,23,.10);
  --shadow-lg: 0 24px 60px rgba(18,19,23,.18);
  --shadow-red: 0 14px 34px rgba(196,30,34,.35);

  --container: 1220px;
  --header-h: 88px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
  color: var(--dark-900);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin-bottom: 1rem; }
strong { color: var(--dark-900); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: 100px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

.bg-dark { background: var(--dark-900); color: var(--gray-300); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-cream2 { background: var(--cream-2); }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-600);
  background: var(--red-100);
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.bg-dark .kicker { background: rgba(196,30,34,.18); color: var(--gold-400); }
.kicker svg { width: 16px; height: 16px; }

.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--gray-500); }
.bg-dark .section-head p { color: var(--gray-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .96rem;
  padding: 16px 30px;
  border-radius: var(--radius-full);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(196,30,34,.42); }
.btn-secondary {
  background: var(--white);
  color: var(--dark-900);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-dark {
  background: transparent;
  color: var(--dark-900);
  border: 2px solid var(--dark-900);
}
.btn-outline-dark:hover { background: var(--dark-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 22px; font-size: .86rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark-950);
  color: var(--gray-300);
  font-size: .84rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}
.topbar-left { display: flex; align-items: center; gap: 26px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: var(--gold-400); }
.topbar svg { width: 14px; height: 14px; color: var(--red-500); }
.topbar-badge { color: var(--gold-400); font-weight: 600; letter-spacing: .03em; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  align-items: center; justify-content: center;
}
.topbar-social svg { width: 13px; height: 13px; }
@media (max-width: 860px) { .topbar-left span.hide-sm, .topbar-social { display: none; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(18,19,23,.06);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 52px; height: 52px; flex-shrink: 0; }
.brand-text { font-family: var(--font-head); line-height: 1.05; }
.brand-text .b1 { font-size: 1.22rem; font-weight: 900; color: var(--dark-900); display: block; }
.brand-text .b1 span { color: var(--red-600); }
.brand-text .b2 { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-500); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--dark-800);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  transition: background .2s, color .2s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { background: var(--red-100); color: var(--red-700); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.header-phone .ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red-100); color: var(--red-600);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.header-phone .ic svg { width: 20px; height: 20px; }
.header-phone .txt { line-height: 1.2; }
.header-phone .txt small { display: block; font-size: .7rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.header-phone .txt strong { font-size: 1.02rem; color: var(--dark-900); }
@media (max-width: 900px) { .header-phone .txt { display: none; } }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--dark-900); flex-shrink: 0;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--white); margin: 0 auto; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 20px; gap: 4px;
    transform: translateX(100%); transition: transform .35s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 16px 18px; font-size: 1.05rem; border-bottom: 1px solid var(--gray-200); border-radius: 0; }
  .nav-toggle { display: flex; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: var(--dark-900); padding: 18px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--gray-300); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb .sep { color: var(--red-500); }
.breadcrumb .current { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(196,30,34,.35), transparent 60%), var(--dark-950);
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 130px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5;
  background: conic-gradient(from 90deg, var(--red-600), var(--gold-500), var(--red-700));
  animation: blobfloat 14s ease-in-out infinite alternate;
}
.hero::before { width: 420px; height: 420px; top: -160px; right: -120px; }
.hero::after { width: 260px; height: 260px; bottom: -120px; left: -80px; animation-delay: 2s; opacity: .25; }
@keyframes blobfloat { from { transform: translateY(0) rotate(0); } to { transform: translateY(30px) rotate(25deg); } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { font-size: 1.15rem; color: var(--gray-300); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-trust .item { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; color: var(--gray-300); }
.hero-trust svg { width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
  transform: rotate(1.5deg);
}
.hero-card .badge-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hero-card .rating { display: flex; gap: 4px; color: var(--gold-500); }
.hero-card .rating svg { width: 18px; height: 18px; }
.hero-card .pill { background: var(--red-100); color: var(--red-700); font-weight: 800; font-size: .76rem; padding: 6px 14px; border-radius: var(--radius-full); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-stat { background: var(--cream-2); border-radius: var(--radius-md); padding: 18px; text-align: center; }
.hero-stat .num { font-family: var(--font-head); font-weight: 900; font-size: 1.9rem; color: var(--red-600); display: block; }
.hero-stat .lbl { font-size: .78rem; color: var(--gray-500); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hero-float {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--dark-900); color: var(--white);
  border-radius: var(--radius-md); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
.hero-float .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--red-600); display: flex; align-items: center; justify-content: center; }
.hero-float .ic svg { width: 22px; height: 22px; }
.hero-float strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.hero-float span { font-size: .76rem; color: var(--gray-300); }
@media (max-width: 560px) { .hero-float { position: static; margin-top: 20px; } }

.wave-divider { display: block; width: 100%; line-height: 0; margin-top: -2px; position: relative; z-index: 3; }
.wave-divider svg { width: 100%; height: 70px; display: block; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); padding: 30px 0; border-bottom: 1px solid var(--gray-200); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; }
.trust-strip .t-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--dark-800); font-size: .92rem; }
.trust-strip svg { width: 26px; height: 26px; color: var(--red-600); flex-shrink: 0; }

/* ---------- Service cards ---------- */
.grid-5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-5 { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  display: flex; flex-direction: column; height: 100%;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card .ic {
  width: 66px; height: 66px; border-radius: 20px;
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; box-shadow: var(--shadow-red);
}
.svc-card .ic svg { width: 32px; height: 32px; color: var(--white); }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { font-size: .95rem; flex-grow: 1; }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--red-600); font-size: .9rem; margin-top: 12px; }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.svc-card:hover .more svg { transform: translateX(5px); }
.svc-card.cta-card {
  background: linear-gradient(155deg, var(--dark-900), var(--dark-700));
  color: var(--gray-300); align-items: flex-start; justify-content: center;
}
.svc-card.cta-card h3 { color: var(--white); }

/* ---------- Why us / values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-item { display: flex; gap: 18px; align-items: flex-start; }
.value-item .ic {
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  background: rgba(196,30,34,.15); display: flex; align-items: center; justify-content: center;
}
.value-item .ic svg { width: 26px; height: 26px; color: var(--red-500); }
.bg-dark .value-item h4 { color: var(--white); margin-bottom: 6px; font-family: var(--font-head); }
.value-item h4 { margin-bottom: 6px; }
.value-item p { font-size: .92rem; margin-bottom: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split-media { position: relative; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute; bottom: -22px; right: -18px;
  background: var(--red-600); color: var(--white);
  border-radius: var(--radius-md); padding: 18px 22px;
  box-shadow: var(--shadow-red); text-align: center;
}
.split-badge .num { font-family: var(--font-head); font-weight: 900; font-size: 2rem; display: block; }
.split-badge .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.check-list { margin: 22px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-weight: 600; color: var(--dark-800); }
.check-list svg { width: 22px; height: 22px; color: var(--red-600); flex-shrink: 0; margin-top: 1px; }

/* ---------- Stats ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--red-700), var(--red-600) 55%, var(--red-500));
  color: var(--white); padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.2rem); display: flex; align-items: center; justify-content: center; gap: 2px; }
.stat-lbl { font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .92; margin-top: 4px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 30px 24px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.process-step .step-num {
  counter-increment: step; font-family: var(--font-head); font-weight: 900; font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--red-500); display: block; margin-bottom: 14px;
}
.process-step .step-num::before { content: counter(step, decimal-leading-zero); }
.process-step h4 { margin-bottom: 8px; font-family: var(--font-head); }
.process-step p { font-size: .9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 820px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform .5s ease; }
.testi-slide { min-width: 100%; padding: 8px; }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 44px;
  text-align: center; box-shadow: var(--shadow-md);
}
.testi-card .stars { display: flex; justify-content: center; gap: 4px; color: var(--gold-500); margin-bottom: 20px; }
.testi-card .stars svg { width: 20px; height: 20px; }
.testi-card p.quote { font-size: 1.12rem; color: var(--dark-800); font-style: italic; margin-bottom: 22px; }
.testi-person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-500), var(--dark-900));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800;
}
.testi-person strong { display: block; font-family: var(--font-head); color: var(--dark-900); }
.testi-person span { font-size: .82rem; color: var(--gray-500); }
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); transition: background .25s, transform .25s; }
.testi-dot.active { background: var(--red-600); transform: scale(1.3); }
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  color: var(--dark-900); z-index: 4;
}
.testi-arrow svg { width: 20px; height: 20px; }
.testi-arrow.prev { left: -60px; } .testi-arrow.next { right: -60px; }
@media (max-width: 900px) { .testi-arrow.prev { left: 0; } .testi-arrow.next { right: 0; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--dark-900); font-size: 1rem;
}
.faq-q .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--red-100); color: var(--red-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s, background .3s, color .3s; margin-left: 16px; }
.faq-q .plus svg { width: 14px; height: 14px; }
.faq-item.open .faq-q .plus { background: var(--red-600); color: var(--white); transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-in { padding: 0 26px 22px; font-size: .95rem; color: var(--gray-500); }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--dark-950);
  background-image: radial-gradient(700px 300px at 10% 0%, rgba(196,30,34,.4), transparent 60%);
  border-radius: var(--radius-lg); padding: 60px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: var(--gray-300); margin: 0; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Service area ---------- */
.area-chip-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--gray-200);
  padding: 12px 20px; border-radius: var(--radius-full);
  font-weight: 700; font-size: .88rem; color: var(--dark-800);
}
.area-chip svg { width: 16px; height: 16px; color: var(--red-600); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--dark-950), var(--dark-800));
  color: var(--white); padding: 74px 0 90px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,30,34,.5), transparent 70%);
  top: -140px; right: -80px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .kicker { margin-bottom: 16px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: var(--gray-300); max-width: 640px; font-size: 1.05rem; }

/* ---------- About page ---------- */
.timeline { border-left: 3px solid var(--red-100); padding-left: 30px; display: flex; flex-direction: column; gap: 34px; margin-top: 10px; }
.timeline .t-item { position: relative; }
.timeline .t-item::before {
  content: ""; position: absolute; left: -38px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--red-600); box-shadow: 0 0 0 4px var(--red-100);
}
.timeline .yr { font-family: var(--font-head); font-weight: 800; color: var(--red-600); font-size: .9rem; letter-spacing: .04em; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); text-align: center; padding-bottom: 26px; }
.team-photo { aspect-ratio: 1/1; background: linear-gradient(150deg, var(--dark-800), var(--red-700)); display: flex; align-items: center; justify-content: center; }
.team-photo svg { width: 52%; height: 52%; color: rgba(255,255,255,.85); }
.team-card h4 { margin-top: 18px; font-family: var(--font-head); }
.team-card .role { color: var(--red-600); font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }

.badge-strip { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.badge-circle { width: 130px; text-align: center; }
.badge-circle .ring {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--white); border: 3px solid var(--red-100);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.badge-circle .ring svg { width: 40px; height: 40px; color: var(--red-600); }
.badge-circle span { font-size: .82rem; font-weight: 700; color: var(--dark-800); }

/* ---------- Service detail page ---------- */
.svc-hero {
  background: linear-gradient(160deg, var(--dark-950), var(--red-900) 140%);
  color: var(--white); padding: 74px 0 100px; position: relative; overflow: hidden;
}
.svc-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(232,167,58,.35), transparent 70%); bottom: -220px; left: -100px; }
.svc-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
@media (max-width: 760px) { .svc-hero .container { grid-template-columns: 1fr; } }
.svc-hero h1 { color: var(--white); margin: 14px 0; }
.svc-hero p { color: var(--gray-300); max-width: 620px; font-size: 1.05rem; }
.svc-quickcall { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 26px; min-width: 260px; backdrop-filter: blur(4px); }
.svc-quickcall .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--gold-400); margin-bottom: 10px; }
.svc-quickcall .ph { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 16px; display: block; }

.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }
.sidebar-card { background: var(--white); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); margin-bottom: 24px; }
.sidebar-card h4 { font-family: var(--font-head); margin-bottom: 16px; }
.sidebar-list li { padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--dark-800); font-size: .92rem; }
.sidebar-list a:hover { color: var(--red-600); }
.sidebar-list svg { width: 16px; height: 16px; color: var(--red-500); }
.sidebar-cta { background: linear-gradient(150deg, var(--red-600), var(--dark-900)); color: var(--white); border-radius: var(--radius-md); padding: 30px; text-align: center; }
.sidebar-cta h4 { color: var(--white); margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,.8); font-size: .9rem; }

.signs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 10px; }
@media (max-width: 560px) { .signs-grid { grid-template-columns: 1fr; } }
.sign-item { display: flex; gap: 12px; align-items: flex-start; background: var(--cream-2); border-radius: var(--radius-sm); padding: 16px; }
.sign-item svg { width: 20px; height: 20px; color: var(--red-600); flex-shrink: 0; margin-top: 2px; }
.sign-item span { font-size: .9rem; font-weight: 600; color: var(--dark-800); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 46px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); display: flex; gap: 16px; margin-bottom: 18px; }
.info-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--red-100); color: var(--red-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h4 { font-family: var(--font-head); margin-bottom: 4px; }
.info-card p { margin: 0; font-size: .92rem; }
.info-card a:hover { color: var(--red-600); }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--dark-800); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); background: var(--cream-2);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-500); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8rem; color: var(--gray-500); margin-top: 14px; }
.form-success {
  display: none; align-items: center; gap: 14px; background: #E9F7EE; border: 1.5px solid #9FDCB2;
  color: #1F6B36; padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: .92rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); margin-top: 8px; }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--gray-200); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 10px 0; font-size: .92rem; }
.hours-table td:first-child { font-weight: 700; color: var(--dark-800); }
.hours-table td:last-child { text-align: right; color: var(--gray-500); }
.hours-table tr.today td { color: var(--red-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-950); color: var(--gray-300); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { color: var(--white); font-family: var(--font-head); font-size: .95rem; margin-bottom: 20px; letter-spacing: .03em; text-transform: uppercase; }
.footer-about p { font-size: .9rem; color: var(--gray-300); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--red-600); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .9rem; transition: color .2s, padding-left .2s; display: inline-block; }
.footer-links a:hover { color: var(--gold-400); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .9rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--red-500); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: .82rem; color: var(--gray-500); flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Floating buttons ---------- */
.float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 600; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.float-btn {
  width: 60px; height: 60px; border-radius: 50%; background: var(--red-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-red);
  animation: pulse 2.4s infinite;
}
.float-btn svg { width: 26px; height: 26px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196,30,34,.55); } 70% { box-shadow: 0 0 0 16px rgba(196,30,34,0); } 100% { box-shadow: 0 0 0 0 rgba(196,30,34,0); } }
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 550;
  background: var(--dark-950); color: var(--white);
  padding: 14px 18px; display: none; align-items: center; justify-content: center; gap: 16px;
  box-shadow: 0 -6px 24px rgba(0,0,0,.25);
}
.sticky-bar.show { display: flex; }
@media (min-width: 761px) { .sticky-bar { display: none !important; } }

/* ---------- 404 ---------- */
.err-wrap { min-height: 66vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.err-num { font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; background: linear-gradient(135deg, var(--red-600), var(--dark-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.center-cta { text-align: center; margin-top: 44px; }
.mt-lg { margin-top: 60px; }
hr.rule { border: none; border-top: 1px solid var(--gray-200); margin: 40px 0; }
