/* ============================================================
   5Star Plumbing Renovation — Main Stylesheet
   San Antonio, TX | 5starplumbingrenovation.com
   ============================================================ */

:root {
  --navy: #0a2540;
  --navy-light: #123a5e;
  --navy-dark: #06182c;
  --gold: #f0a500;
  --gold-light: #ffc93c;
  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef1f5;
  --gray-200: #dfe5ec;
  --gray-400: #98a6b4;
  --gray-600: #5b6b7c;
  --gray-800: #2b3a4a;
  --gray-900: #1a2530;
  --success: #1e8e5a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 20px 48px rgba(10, 37, 64, 0.18);
  --container: 1180px;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--gray-600); }

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

.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(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-light { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy p { color: var(--white); }
.bg-navy p { color: #c3d1de; }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-3px); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #b9c8d6;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.topbar-links a:hover { color: var(--gold-light); }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.topbar-social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }
.topbar-social svg { width: 13px; height: 13px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(10,37,64,0.06);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 52px; height: 52px; flex-shrink: 0; }
.brand-text { font-family: var(--font-head); line-height: 1.15; }
.brand-text .brand-top {
  display: block; font-weight: 800; font-size: 1.15rem; color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-text .brand-top span { color: var(--gold); }
.brand-text .brand-sub {
  display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em;
  color: var(--gray-600); text-transform: uppercase; margin-top: 2px;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 12px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--gold); background: var(--gray-50); }
.nav-menu > li > a svg.chev { width: 12px; height: 12px; transition: transform 0.2s; }
.has-dropdown:hover > a svg.chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.22s ease;
  border: 1px solid var(--gray-100);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--gray-800);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.dropdown li a:hover { background: var(--gray-50); color: var(--gold); padding-left: 18px; }
.dropdown li a .dd-icon {
  width: 34px; height: 34px; border-radius: 9px; background: var(--navy);
  color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dropdown li a .dd-icon svg { width: 17px; height: 17px; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
}
.nav-phone .phone-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gray-50); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.nav-phone .phone-icon svg { width: 18px; height: 18px; }
.nav-phone small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--gray-600); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200); background: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--navy); display: block; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); transition: transform 0.25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 120px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(240,165,0,0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(240,165,0,0.10) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,165,0,0.14); border: 1px solid rgba(240,165,0,0.35);
  color: var(--gold-light); font-size: 0.82rem; font-weight: 600;
  padding: 8px 16px; border-radius: 50px; margin-bottom: 22px;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p.lead { color: #c3d1de; font-size: 1.08rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong {
  display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--gold);
}
.hero-stats div span { font-size: 0.82rem; color: #9db1c3; }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,0.08);
  transform: rotate(1.5deg);
}
.hero-visual .frame img { width: 100%; height: 460px; object-fit: cover; }
.hero-float-card {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--white); color: var(--navy);
  border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  max-width: 260px;
}
.hero-float-card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-float-card .ic svg { width: 22px; height: 22px; color: var(--navy-dark); }
.hero-float-card strong { display: block; font-family: var(--font-head); font-size: 0.95rem; }
.hero-float-card span { font-size: 0.78rem; color: var(--gray-600); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.trust-strip .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 26px; padding: 30px 24px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy);
  color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item .ic svg { width: 21px; height: 21px; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 0.92rem; color: var(--navy); }
.trust-item span { font-size: 0.78rem; color: var(--gray-600); }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
  border: 1px solid var(--gray-100);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .thumb { position: relative; height: 190px; 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: 14px; left: 14px;
  background: var(--gold); color: var(--navy-dark);
  font-family: var(--font-head); font-weight: 800; font-size: 0.85rem;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.service-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card .ic {
  width: 48px; height: 48px; border-radius: 12px; background: var(--gray-50);
  color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  margin-top: -46px; border: 5px solid var(--white); position: relative; z-index: 2;
  background: var(--navy);
}
.service-card .ic svg { width: 22px; height: 22px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.93rem; margin-bottom: 18px; flex: 1; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.86rem; color: var(--navy);
  transition: gap 0.2s, color 0.2s;
}
.service-card .more svg { width: 15px; height: 15px; transition: transform 0.2s; }
.service-card .more:hover { color: var(--gold); gap: 10px; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { text-align: center; position: relative; padding: 10px; }
.step .step-num {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

/* ---------- Feature list / about ---------- */
.split {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center;
}
.split.reverse { grid-template-columns: 1.05fr 0.95fr; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; height: 420px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px;
}
.feature-list .ic {
  width: 32px; height: 32px; border-radius: 8px; background: var(--gray-50); color: var(--success);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.feature-list .ic svg { width: 16px; height: 16px; }
.feature-list strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 0.98rem; }
.feature-list span { font-size: 0.88rem; color: var(--gray-600); }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--navy); border-radius: var(--radius); padding: 46px 20px;
}
.stat { text-align: center; color: var(--white); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3vw, 2.6rem); color: var(--gold); }
.stat span { font-size: 0.85rem; color: #b9c8d6; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,37,64,0.85), transparent 55%);
  display: flex; align-items: flex-end; padding: 18px; opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; }

.lightbox {
  position: fixed; inset: 0; background: rgba(6,24,44,0.94); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .lb-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: #cfe0ee; font-size: 0.9rem; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--gold); color: var(--navy-dark); }
.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%); }
.lightbox svg { width: 18px; height: 18px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 70%);
  border-radius: var(--radius);
  padding: 56px 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(240,165,0,0.25), transparent 70%);
}
.cta-banner h2, .cta-banner p { color: var(--white); position: relative; z-index: 1; }
.cta-banner p { color: #c3d1de; margin-top: 8px; }
.cta-banner .actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Testimonial / reviews trust ---------- */
.review-score {
  display: flex; align-items: center; gap: 18px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 26px;
  border: 1px solid var(--gray-100);
}
.review-score .num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.stars { color: var(--gold); display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; }
.review-card {
  background: var(--white); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
}
.review-card .stars { margin-bottom: 12px; }
.review-card p.quote { color: var(--gray-800); font-size: 0.95rem; font-style: italic; margin-bottom: 16px; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .who .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700;
}
.review-card .who strong { display: block; font-size: 0.88rem; color: var(--navy); }
.review-card .who span { font-size: 0.76rem; color: var(--gray-600); }

/* ---------- FAQ (accordion) ---------- */
.accordion-item {
  border: 1px solid var(--gray-100); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
  background: var(--white);
}
.accordion-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; text-align: left; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--navy);
}
.accordion-item button svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.25s ease; color: var(--gold); }
.accordion-item.open button svg { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 22px; }
.accordion-item.open .accordion-panel { max-height: 260px; padding-bottom: 20px; }
.accordion-panel p { font-size: 0.92rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 38px; border: 1px solid var(--gray-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  color: var(--navy); margin-bottom: 7px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); font-family: var(--font-body); font-size: 0.94rem;
  transition: border-color 0.2s, box-shadow 0.2s; background: var(--gray-50);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240,165,0,0.14); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { display: none; color: #d64545; font-size: 0.78rem; margin-top: 6px; }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #d64545; }
.form-group.invalid .form-error { display: block; }
.form-note { font-size: 0.78rem; color: var(--gray-600); margin-top: 14px; text-align: center; }
.form-success, .form-fail {
  display: none; align-items: center; gap: 12px; background: #eafaf1; color: var(--success);
  border: 1px solid #bfe9d3; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.9rem;
}
.form-fail { background: #fdecec; color: #c0392b; border-color: #f6c6c6; }
.form-success.show, .form-fail.show { display: flex; }
.form-success svg, .form-fail svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Contact info cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .ic {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.contact-card a, .contact-card p { font-size: 0.9rem; }
.contact-card a { color: var(--navy); font-weight: 600; }
.contact-card a:hover { color: var(--gold); }

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

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 75%);
  color: var(--white); padding: 66px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(240,165,0,0.16), transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #9db1c3; margin-bottom: 16px; }
.breadcrumb a { color: #cfe0ee; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: #c3d1de; max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c8d6; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr; gap: 40px; padding-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-top { color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.footer-brand .brand-top span { color: var(--gold); }
.footer-col h4 { color: var(--white); font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 20px; letter-spacing: 0.02em; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.88rem; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-col p { font-size: 0.88rem; color: #97abbd; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.88rem; }
.footer-contact li svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.footer-social svg { width: 15px; height: 15px; }
.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: 10px;
  font-size: 0.8rem; color: #7f93a5;
}
.footer-bottom a { color: #9fb2c4; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: var(--navy-dark); padding: 12px 16px; box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
  align-items: center; gap: 10px;
}
.mobile-call-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 50px; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
}
.mobile-call-bar .call { background: var(--gold); color: var(--navy-dark); }
.mobile-call-bar .quote { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.mobile-call-bar svg { width: 16px; height: 16px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 2000;
  background: var(--navy); color: var(--white); padding: 16px 22px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  transform: translateY(140%); transition: transform 0.35s ease; max-width: 320px;
}
.toast.show { transform: translateY(0); }
.toast svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ---------- Badges (service pages) ---------- */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--gray-50);
  border: 1px solid var(--gray-200); color: var(--navy); font-size: 0.8rem; font-weight: 600;
  padding: 7px 14px; border-radius: 50px;
}
.pill svg { width: 14px; height: 14px; color: var(--success); }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 130px 0; }
.error-page .code { font-family: var(--font-head); font-size: 7rem; font-weight: 800; color: var(--gold); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .contact-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual .frame img { height: 320px; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { height: 300px; }
}

@media (max-width: 860px) {
  .nav-menu, .nav-cta .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow-lg); padding: 12px; gap: 2px; max-height: 80vh; overflow-y: auto;
  }
  .nav-menu.open > li { width: 100%; }
  .nav-menu.open > li > a { width: 100%; }
  .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; margin-top: 4px; border: none; padding-left: 10px; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open:hover .dropdown { display: block; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 74px; }
}

@media (max-width: 720px) {
  .section { padding: 66px 0; }
  .services-grid, .steps, .gallery-grid, .contact-cards { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 26px; }
  .topbar .container { justify-content: center; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
