/* ==========================================================================
   Duratech Foundation Services — Global Stylesheet
   ========================================================================== */

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

:root {
  --navy: #0a1f38;
  --navy-dark: #06152a;
  --navy-light: #1a3458;
  --accent: #ff5722;
  --accent-dark: #e8421a;
  --accent-light: #ff7849;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #06152a;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(10, 31, 56, 0.05);
  --shadow: 0 4px 16px rgba(10, 31, 56, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 31, 56, 0.15);
  --shadow-xl: 0 32px 64px rgba(10, 31, 56, 0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-hero: linear-gradient(135deg, #06152a 0%, #0f2952 50%, #1a3458 100%);
  --gradient-accent: linear-gradient(135deg, #ff5722 0%, #ff8c42 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { margin-bottom: 1rem; }

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

/* ==========================================================================
   Top bar (phone strip)
   ========================================================================== */
.topbar {
  background: var(--navy-dark);
  color: #c8d4e0;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--accent); }
.topbar .badge { color: #ffd166; font-weight: 600; }

/* ==========================================================================
   Header & nav
   ========================================================================== */
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(10, 31, 56, 0.04), 0 1px 2px rgba(10, 31, 56, 0.04);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.logo-img { height: 46px; width: auto; display: block; }
footer .logo-img { height: 42px; width: auto; opacity: 0.95; }
@media (max-width: 720px) { .logo-img { height: 38px; } }

nav.primary { display: flex; align-items: center; gap: 1.75rem; }
nav.primary a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.primary a:hover { color: var(--accent); }
nav.primary a.cta {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
}
nav.primary a.cta:hover { background: var(--accent-dark); color: #fff; }

.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.6rem; color: var(--navy);
  cursor: pointer;
}

/* Nav dropdown (Contact -> Reviews) */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: 0;
  text-decoration: none;
}
.nav-dropdown-toggle:hover { color: var(--accent); }
.nav-dropdown-toggle .caret {
  font-size: 0.65em;
  opacity: 0.6;
  display: inline-block;
  transition: transform 0.2s ease;
  position: relative;
  top: -1px;
}
.nav-dropdown:hover .nav-dropdown-toggle .caret,
.nav-dropdown:focus-within .nav-dropdown-toggle .caret {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--accent);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  display: flex !important;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
/* Invisible bridge so the dropdown doesn't close while moving the cursor */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 18px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.95rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--accent);
  padding-left: 1.1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.btn-secondary:hover { background: transparent; color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2.25rem; font-size: 1.075rem; }

/* Floating mobile call button */
.float-call {
  position: fixed; bottom: 18px; right: 18px;
  z-index: 100;
  background: var(--gradient-accent);
  color: #fff;
  padding: 0.95rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.4), 0 2px 4px rgba(0,0,0,0.15);
  display: none;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}
.float-call:hover { color: #fff; transform: scale(1.05); }
@media (max-width: 720px) {
  .float-call { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 6rem 0 6.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 87, 34, 0.22), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(56, 122, 255, 0.18), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero .eyebrow-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero .eyebrow-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
}
.hero h1 .accent { color: var(--accent-light); }
.hero .lede {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
  line-height: 1.55;
  font-weight: 400;
  max-width: 580px;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-trust {
  margin-top: 2.5rem;
  display: flex; gap: 1.75rem; flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}
.hero-trust div { display: flex; align-items: center; gap: 0.45rem; }
.hero-trust strong { color: #fff; }

/* ==========================================================================
   Hero animated background schematic
   ========================================================================== */
.hero-bg-schematic {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.32;
  mix-blend-mode: screen;
}
.hero-bg-schematic svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero .container { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .hero-bg-schematic { opacity: 0.16; }
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hv-frame {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(135deg, rgba(6, 21, 42, 0.95), rgba(15, 41, 82, 0.85));
  border: 1px solid rgba(255, 140, 66, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(255, 255, 255, 0.04) inset,
              0 0 80px rgba(255, 87, 34, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
}
.hv-frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 87, 34, 0.18), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(74, 222, 128, 0.08), transparent 40%);
}
.hv-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, Menlo, "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
}
.hv-dots { display: inline-flex; gap: 5px; }
.hv-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.hv-dots i:first-child { background: #ff5722; }
.hv-dots i:nth-child(2) { background: #ffb800; }
.hv-dots i:last-child { background: #4ade80; }
.hv-title { color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.hv-status { display: inline-flex; align-items: center; gap: 0.4rem; color: #4ade80; font-weight: 700; }
.hv-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: hvPulseDot 1.6s infinite;
}
@keyframes hvPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hv-svg {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

/* Animation for the house: small tilt then lifts back to level */
.hv-house {
  transform-origin: 240px 195px;
  animation: hvTiltLift 7s ease-in-out infinite;
}
@keyframes hvTiltLift {
  0%   { transform: rotate(-1.2deg) translateY(3px); }
  20%  { transform: rotate(-1.2deg) translateY(3px); }
  55%  { transform: rotate(0deg) translateY(0px); }
  100% { transform: rotate(0deg) translateY(0px); }
}

/* The crack on slab is visible during tilted phase, fades when stable */
.hv-crack {
  animation: hvCrack 7s ease-in-out infinite;
}
@keyframes hvCrack {
  0%, 25% { opacity: 1; }
  55%, 100% { opacity: 0; }
}

/* Piers descend into bedrock during the repair phase */
.hv-pier { transform-origin: center top; }
.hv-pier-1 { animation: hvDrive 7s ease-out infinite; }
.hv-pier-2 { animation: hvDrive 7s ease-out infinite 0.2s; }
.hv-pier-3 { animation: hvDrive 7s ease-out infinite 0.4s; }
.hv-pier-4 { animation: hvDrive 7s ease-out infinite 0.6s; }
@keyframes hvDrive {
  0%, 22%   { transform: translateY(-90px); opacity: 0; }
  28%       { opacity: 1; }
  55%       { transform: translateY(0); opacity: 1; }
  100%      { transform: translateY(0); opacity: 1; }
}

/* Depth indicator fades in once piers are placed */
.hv-depth {
  opacity: 0;
  animation: hvFadeIn 7s ease-out infinite;
}
@keyframes hvFadeIn {
  0%, 50%   { opacity: 0; }
  60%, 95%  { opacity: 0.85; }
  100%      { opacity: 0; }
}

/* Scan line sweeps top to bottom */
.hv-scan {
  filter: blur(0.6px);
  animation: hvScan 5s linear infinite;
}
@keyframes hvScan {
  0%   { transform: translateY(-2px); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(360px); opacity: 0; }
}

/* Stats panel */
.hv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hv-stat {
  padding: 0.85rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.hv-stat:last-child { border-right: none; }
.hv-stat-label {
  font-family: ui-monospace, Menlo, "SF Mono", Monaco, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}
.hv-stat-value {
  font-family: ui-monospace, Menlo, "SF Mono", Monaco, monospace;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}
.hv-stat-value.hv-stable {
  color: #4ade80;
  animation: hvStableBlink 7s ease-out infinite;
}
@keyframes hvStableBlink {
  0%, 50% { color: #fbbf24; }
  60%, 100% { color: #4ade80; }
}

@media (max-width: 900px) {
  .hv-frame { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-house, .hv-crack, .hv-pier, .hv-depth, .hv-scan, .hv-stat-value.hv-stable, .hv-pulse {
    animation: none !important;
  }
  .hv-pier { transform: translateY(0); opacity: 1; }
  .hv-depth { opacity: 0.85; }
}

/* Legacy hero-card kept in case any other page uses it */
.hero-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  color: var(--text);
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent);
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.hero-card h3 { color: var(--navy); margin-bottom: 0.75rem; }
.hero-card .form-row { margin-bottom: 0.85rem; }
.hero-card label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 0.3rem;
}
.hero-card input, .hero-card select, .hero-card textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.hero-card input:focus, .hero-card select:focus, .hero-card textarea:focus {
  outline: none; border-color: var(--accent);
}
.hero-card .btn { width: 100%; }
.hero-card .fine { font-size: 0.78rem; color: var(--text-light); margin-top: 0.6rem; text-align: center; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 6rem 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--navy); color: #fff; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: rgba(255, 255, 255, 0.85); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}
section.dark .section-head p { color: rgba(255, 255, 255, 0.8); }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item {
  position: relative;
  padding: 0 1rem;
}
.trust-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border);
}
.trust-item .num {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-item .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==========================================================================
   Service cards
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.12), rgba(255, 87, 34, 0.04));
  color: var(--accent);
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.card:hover .icon {
  background: var(--gradient-accent);
  color: #fff;
  transform: scale(1.05);
}
.card h3 { color: var(--navy); margin-bottom: 0.6rem; font-size: 1.3rem; }
.card p { color: var(--text-muted); flex: 1; line-height: 1.6; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.card .more::after { content: "→"; transition: transform 0.2s ease; }
.card:hover .more::after { transform: translateX(4px); }

/* ==========================================================================
   Two-col content
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col .image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.two-col .image-block img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; aspect-ratio: 4 / 3;
}

/* Article hero image (top of service pages) */
.prose .article-img {
  width: 100%; height: auto; max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 0 2rem;
  box-shadow: var(--shadow);
}

/* ==========================================================================
   Process / steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: #fff;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  counter-increment: step;
  transition: var(--transition);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step::before {
  content: counter(step);
  position: absolute; top: -22px; left: 1.75rem;
  width: 44px; height: 44px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 16px rgba(255, 87, 34, 0.3);
}
.step h3 { margin-top: 0.5rem; margin-bottom: 0.6rem; font-size: 1.15rem; }
.step p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; line-height: 1.55; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
}
.testimonial::before {
  content: """;
  position: absolute;
  top: -8px; left: 18px;
  font-family: 'Space Grotesk', serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  font-weight: 700;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial .stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
.testimonial blockquote {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: normal;
  position: relative;
  z-index: 1;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial cite span { display: block; color: var(--text-muted); font-weight: 400; font-size: 0.85rem; margin-top: 0.15rem; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #ff5722 0%, #ff7849 50%, #ff5722 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.1), transparent 50%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; font-size: clamp(1.85rem, 4vw, 2.75rem); }
.cta-banner p { color: rgba(255, 255, 255, 0.95); font-size: 1.18rem; margin-bottom: 2rem; max-width: 660px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-secondary { background: #fff; color: var(--accent); border-color: #fff; }
.cta-banner .btn-secondary:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ==========================================================================
   Service areas list
   ========================================================================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem 1.5rem;
}
.area-grid div {
  padding: 0.45rem 0;
  color: var(--text);
  border-bottom: 1px dotted var(--border);
  font-weight: 500;
}
.area-grid div::before { content: "📍 "; }

/* ==========================================================================
   Page hero (subpages)
   ========================================================================== */
.page-hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 5.5rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255, 87, 34, 0.18), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(56, 122, 255, 0.14), transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255, 255, 255, 0.88); font-size: 1.2rem; max-width: 740px; margin: 0 auto; line-height: 1.55; }
.crumbs { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 1rem; letter-spacing: 0.02em; }
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs a:hover { color: var(--accent-light); }

/* ==========================================================================
   Prose (article content)
   ========================================================================== */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--text);
}
.prose p { margin-bottom: 1.25rem; }
.prose h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-size: 1.25rem;
}
.prose h4 { margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--navy); font-size: 1.1rem; }
.prose ul, .prose ol { margin: 1.25rem 0 1.5rem 1.5rem; padding-left: 0.5rem; }
.prose li { margin-bottom: 0.6rem; line-height: 1.65; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose img { border-radius: var(--radius-lg); margin: 1.75rem 0; box-shadow: var(--shadow); }
.prose blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--text-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Tables in prose */
.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.75rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.97rem;
}
.prose thead, .prose table tr:first-child {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.prose th, .prose table tr:first-child td {
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 0.95rem 1.15rem;
  border: none;
  letter-spacing: 0.01em;
  font-size: 0.92rem;
  text-transform: uppercase;
}
.prose td {
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text);
}
.prose tr:nth-child(even):not(:first-child) { background: var(--bg-alt); }
.prose tr:hover:not(:first-child) { background: rgba(255, 87, 34, 0.04); }
@media (max-width: 600px) {
  .prose table { font-size: 0.88rem; }
  .prose th, .prose td { padding: 0.65rem 0.75rem; }
}

/* Inline code (just in case) */
.prose code {
  background: var(--bg-alt);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--accent-dark);
}

.prose .callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.prose .callout strong { color: var(--navy); }

/* ==========================================================================
   Contact form
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.contact-card {
  background: #fff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-card label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.contact-card input, .contact-card textarea, .contact-card select {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-family: inherit;
}
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus {
  outline: none; border-color: var(--accent);
}
.contact-info {
  display: grid; gap: 1.25rem;
}
.contact-info .info-block {
  display: flex; gap: 1rem; align-items: flex-start;
}
.contact-info .info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(232, 85, 45, 0.1);
  color: var(--accent);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.contact-info h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 0; line-height: 1.5; }
.contact-info a { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a { color: rgba(255, 255, 255, 0.78); }
footer a:hover { color: var(--accent); }
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 3rem 0; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-card { padding: 1.5rem; }
  .menu-toggle { display: block; }
  nav.primary {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  nav.primary a.cta { text-align: center; margin-top: 0.5rem; border-bottom: none; }
  /* Dropdown: on mobile show as inline expanded list */
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-toggle { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0.5rem 1rem;
    margin: 0;
    min-width: 0;
  }
  .nav-dropdown-menu a {
    padding: 0.6rem 0;
    font-size: 0.92rem;
    border-radius: 0;
  }
  .nav-dropdown-menu a:hover { padding-left: 0.5rem; }
  .header .container { position: relative; }
  .topbar .container { font-size: 0.78rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* Accessibility */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ==========================================================================
   Modern additions: scroll reveal, FAQ accordion, resource cards, badges
   ========================================================================== */

/* Scroll-reveal disabled — was hiding content on some hosts.
   Kept the class so existing markup doesn't break, but it's now a no-op. */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

/* FAQ accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--accent); }
.faq-item summary {
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item .faq-body {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Resource / Blog cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.resource-card .thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.resource-card .thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 87, 34, 0.4), transparent 60%);
}
.resource-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  position: relative; z-index: 1;
}
.resource-card .body {
  padding: 1.75rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.resource-card .tag {
  display: inline-block;
  background: rgba(255, 87, 34, 0.1);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  align-self: flex-start;
}
.resource-card h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.3;
}
.resource-card p { color: var(--text-muted); font-size: 0.95rem; flex: 1; line-height: 1.55; }
.resource-card .meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex; gap: 0.5rem; align-items: center;
}

/* Badges / pills */
.badge-pill {
  display: inline-block;
  background: rgba(74, 222, 128, 0.12);
  color: #15803d;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-pill.warm {
  background: rgba(255, 87, 34, 0.12);
  color: var(--accent-dark);
}

/* Featured highlight box */
.feature-box {
  background: linear-gradient(135deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.feature-box h3 { margin-bottom: 0.75rem; }

/* City list grid for service-areas */
.city-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.city-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  color: var(--navy);
  font-weight: 600;
}
.city-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  color: var(--accent);
}
.city-card::after {
  content: "→";
  color: var(--accent);
  font-weight: 400;
}

/* ============== Home Quick-Start panel (above the fold, after trust strip) ============== */
.home-quickstart { padding: 3rem 0 1rem; }
.hqs-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hqs-head {
  background: linear-gradient(135deg, #06152a 0%, #0a1f38 100%);
  color: #fff;
  padding: 2rem 2.25rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hqs-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.18), transparent 50%);
}
.hqs-pill {
  display: inline-block;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(94, 234, 212, 0.4);
  color: #5eead4;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  position: relative; z-index: 1;
}
.hqs-head h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.hqs-head p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
  max-width: 640px;
  font-size: 1rem;
  position: relative; z-index: 1;
}
.hqs-options {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1.25rem;
  padding: 1.5rem 2rem 1.75rem;
  background: var(--bg-alt);
}
.hqs-col { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.hqs-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.hqs-row { display: flex; gap: 0.5rem; flex: 1; flex-wrap: wrap; align-items: stretch; }
.hqs-row .hqs-btn { flex: 1 1 0; min-width: 96px; }

.hqs-divider {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-width: 30px;
}
.hqs-divider::before {
  content: ""; position: absolute; top: 18%; bottom: 18%; left: 50%;
  width: 1px; background: var(--border);
}
.hqs-divider span {
  font-size: 0.75rem; font-weight: 800; color: var(--text-light);
  background: var(--bg-alt); padding: 0.3rem 0.55rem;
  position: relative; z-index: 1;
  border-radius: 50%;
}

.hqs-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.hqs-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.18);
}
.hqs-icon { font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
.hqs-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; gap: 0.05rem; }
.hqs-text strong { font-size: 1rem; }
.hqs-text small { font-size: 0.75rem; opacity: 0.9; font-weight: 500; }

.hqs-btn-map {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: #fff !important;
  border-color: #14b8a6;
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.3);
  padding: 1rem 1.25rem;
}
.hqs-btn-map:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.4);
  border-color: #0d9488 !important;
}
.hqs-btn-map .hqs-icon { font-size: 1.5rem; }

@media (max-width: 760px) {
  .hqs-options { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem 1.25rem 1.5rem; }
  .hqs-divider { min-width: 0; height: 24px; }
  .hqs-divider::before { top: 50%; bottom: auto; left: 12%; right: 12%; width: auto; height: 1px; }
}

/* ============== Pier Estimator promo (home page section) ============== */
:root {
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --teal-light: #5eead4;
  --teal-bg: rgba(20, 184, 166, 0.08);
}

.pier-promo { padding: 5rem 0; }
.pier-promo-card {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 148, 136, 0.25);
}
.pier-promo-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(94, 234, 212, 0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06), transparent 50%);
}
.pier-promo-text { position: relative; z-index: 1; color: #fff; }
.pier-promo-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.pier-promo-text h2 {
  color: #fff;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.pier-promo-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 560px;
}
.pier-promo-visual {
  position: relative; z-index: 1;
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pier-promo-visual svg { width: 100%; height: auto; display: block; }

@media (max-width: 880px) {
  .pier-promo-card { grid-template-columns: 1fr; padding: 2.5rem 1.75rem; gap: 2rem; }
  .pier-promo-visual { max-width: 320px; margin: 0 auto; }
}

/* Soothing teal buttons */
.btn-pier {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.btn-pier:hover { color: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); }
.btn-pier-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-pier-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

/* Nav: pier-estimator link is the big standout teal pill */
nav.primary a.pier-nav-link {
  color: #fff !important;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 0.55rem 1.05rem !important;
  border-radius: 50px;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  position: relative;
}
nav.primary a.pier-nav-link::before {
  content: "📐";
  font-size: 0.95em;
}
nav.primary a.pier-nav-link::after {
  content: "";
  position: absolute;
  top: -3px; right: -3px;
  width: 10px; height: 10px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pierPulse 2s ease-out infinite;
}
nav.primary a.pier-nav-link:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.45);
}
@keyframes pierPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@media (max-width: 720px) {
  nav.primary a.pier-nav-link {
    border-radius: 8px;
    text-align: center;
    justify-content: center;
    margin: 0.5rem 0;
  }
  nav.primary a.pier-nav-link::after { top: 50%; right: 8px; transform: translateY(-50%); }
}

/* ============== Pier CTA Band (full-width, every page) ============== */
.pier-cta-band {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #0d9488 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  animation: pierBandShimmer 8s ease-in-out infinite;
}
.pier-cta-band:hover {
  background-position: 100% 50%;
}
@keyframes pierBandShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.pier-cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(94, 234, 212, 0.2), transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}
.pier-cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.pier-cta-row {
  display: flex; align-items: center; gap: 1.5rem;
  position: relative; z-index: 1;
  flex-wrap: wrap; justify-content: center;
}
.pier-cta-icon {
  font-size: 2.2rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 60px; height: 60px;
  border-radius: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}
.pier-cta-text { color: #fff; flex: 1; min-width: 220px; }
.pier-cta-text strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 0.15rem;
  color: #fff;
}
.pier-cta-text span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.97rem;
}
.pier-cta-btn {
  background: #fff;
  color: var(--teal-dark);
  padding: 0.95rem 1.85rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.pier-cta-band:hover .pier-cta-btn {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}
.pier-cta-btn::after { content: "→"; transition: transform 0.2s ease; }
.pier-cta-band:hover .pier-cta-btn::after { transform: translateX(4px); }

@media (max-width: 600px) {
  .pier-cta-band { padding: 1.25rem 0; }
  .pier-cta-row { gap: 1rem; }
  .pier-cta-icon { width: 48px; height: 48px; font-size: 1.7rem; }
  .pier-cta-text strong { font-size: 1.1rem; }
  .pier-cta-text span { font-size: 0.88rem; }
  .pier-cta-btn { padding: 0.75rem 1.4rem; font-size: 0.95rem; width: 100%; justify-content: center; }
}

/* Sleek price/spec list */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.spec {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}
.spec .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.spec .lbl { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
================================================ */
.trust-strip {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.trust-item { position: relative; padding: 0 1rem; }
.trust-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: var(--border); }
.trust-item .num {
  font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 900;
  line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-item .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* Service / generic cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.75rem; }
.card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2.25rem; transition: var(--transition); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .icon { width: 56px; height: 56px; background: linear-gradient(135deg, rgba(255, 87, 34, 0.12), rgba(255, 87, 34, 0.04)); color: var(--accent); border-radius: 14px; display: grid; place-items: center; font-size: 1.65rem; margin-bottom: 1.5rem; transition: var(--transition); }
.card:hover .icon { background: var(--gradient-accent); color: #fff; transform: scale(1.05); }
.card h3 { color: var(--navy); margin-bottom: 0.6rem; font-size: 1.3rem; }
.card p { color: var(--text-muted); flex: 1; line-height: 1.6; }
.card .more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.25rem; color: var(--accent); font-weight: 700; font-size: 0.95rem; transition: var(--transition); }
.card .more::after { content: "→"; transition: transform 0.2s ease; }
.card:hover .more::after { transform: translateX(4px); }

/* Two-col content */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two-col .image-block { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.two-col .image-block img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.prose .article-img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); margin: 0 0 2rem; box-shadow: var(--shadow); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { background: #fff; padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius-lg); border: 1px solid var(--border-light); position: relative; counter-increment: step; transition: var(--transition); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step::before { content: counter(step); position: absolute; top: -22px; left: 1.75rem; width: 44px; height: 44px; background: var(--gradient-accent); color: #fff; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; box-shadow: 0 8px 16px rgba(255, 87, 34, 0.3); }
.step h3 { margin-top: 0.5rem; margin-bottom: 0.6rem; font-size: 1.15rem; }
.step p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; line-height: 1.55; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial { background: #fff; padding: 2.25rem; border-radius: var(--radius-lg); border: 1px solid var(--border-light); position: relative; transition: var(--transition); }
.testimonial::before { content: """; position: absolute; top: -8px; left: 18px; font-size: 5rem; color: var(--accent); opacity: 0.18; line-height: 1; font-weight: 700; }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial .stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
.testimonial blockquote { font-size: 1.05rem; color: var(--text); line-height: 1.65; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial cite { display: block; font-style: normal; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.testimonial cite span { display: block; color: var(--text-muted); font-weight: 400; font-size: 0.85rem; margin-top: 0.15rem; }

/* CTA banner */
.cta-banner { background: linear-gradient(135deg, #ff5722 0%, #ff7849 50%, #ff5722 100%); color: #fff; padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.18), transparent 50%), radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.1), transparent 50%); }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; font-size: clamp(1.85rem, 4vw, 2.75rem); }
.cta-banner p { color: rgba(255, 255, 255, 0.95); font-size: 1.18rem; margin-bottom: 2rem; max-width: 660px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-secondary { background: #fff; color: var(--accent); border-color: #fff; }
.cta-banner .btn-secondary:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Service area list */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.5rem 1.5rem; }
.area-grid div { padding: 0.45rem 0; color: var(--text); border-bottom: 1px dotted var(--border); font-weight: 500; }
.area-grid div::before { content: "📍 "; }

/* Page hero (subpages) */
.page-hero { background: var(--gradient-hero); color: #fff; padding: 5.5rem 0 5rem; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 25% 30%, rgba(255, 87, 34, 0.18), transparent 50%), radial-gradient(circle at 75% 70%, rgba(56, 122, 255, 0.14), transparent 50%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255, 255, 255, 0.88); font-size: 1.2rem; max-width: 740px; margin: 0 auto; line-height: 1.55; }
.crumbs { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 1rem; letter-spacing: 0.02em; }
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs a:hover { color: var(--accent-light); }

/* Prose */
.prose { max-width: 760px; margin: 0 auto; font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.prose p { margin-bottom: 1.25rem; }
.prose h2 { margin-top: 3rem; margin-bottom: 1rem; font-size: 1.75rem; letter-spacing: -0.02em; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-light); }
.prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; color: var(--navy); font-size: 1.25rem; }
.prose h4 { margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--navy); font-size: 1.1rem; }
.prose ul, .prose ol { margin: 1.25rem 0 1.5rem 1.5rem; padding-left: 0.5rem; }
.prose li { margin-bottom: 0.6rem; line-height: 1.65; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose img { border-radius: var(--radius-lg); margin: 1.75rem 0; box-shadow: var(--shadow); }
.prose blockquote { border-left: 4px solid var(--accent); background: var(--bg-alt); padding: 1.25rem 1.5rem; margin: 1.75rem 0; font-style: italic; color: var(--text-muted); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.75rem 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 0.97rem; }
.prose thead, .prose table tr:first-child { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.prose th, .prose table tr:first-child td { color: #fff; font-weight: 700; text-align: left; padding: 0.95rem 1.15rem; border: none; letter-spacing: 0.01em; font-size: 0.92rem; text-transform: uppercase; }
.prose td { padding: 0.85rem 1.15rem; border-top: 1px solid var(--border-light); vertical-align: top; color: var(--text); }
.prose tr:nth-child(even):not(:first-child) { background: var(--bg-alt); }
.prose tr:hover:not(:first-child) { background: rgba(255, 87, 34, 0.04); }
.prose code { background: var(--bg-alt); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.92em; color: var(--accent-dark); }
.prose .callout { background: var(--bg-alt); border-left: 4px solid var(--accent); padding: 1.4rem 1.6rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; }
.prose .callout strong { color: var(--navy); }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.contact-card { background: #fff; padding: 2.25rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-card label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.contact-card input, .contact-card textarea, .contact-card select { width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.98rem; font-family: inherit; }
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus { outline: none; border-color: var(--accent); }
.contact-info { display: grid; gap: 1.25rem; }
.contact-info .info-block { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .info-icon { width: 44px; height: 44px; flex-shrink: 0; background: rgba(232, 85, 45, 0.1); color: var(--accent); border-radius: 10px; display: grid; place-items: center; font-size: 1.2rem; }
.contact-info h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 0; line-height: 1.5; }
.contact-info a { color: var(--navy); font-weight: 600; }

/* Footer */
footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.78); padding: 3.5rem 0 1.5rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a { color: rgba(255, 255, 255, 0.78); }
footer a:hover { color: var(--accent); }
footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 3rem 0; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-card { padding: 1.5rem; }
  .menu-toggle { display: block; }
  nav.primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 0.25rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  nav.primary a.cta { text-align: center; margin-top: 0.5rem; border-bottom: none; }
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-toggle { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0.5rem 1rem; margin: 0; min-width: 0; }
  .nav-dropdown-menu a { padding: 0.6rem 0; font-size: 0.92rem; border-radius: 0; }
  .header .container { position: relative; }
  .topbar .container { font-size: 0.78rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 480px) {
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* Accessibility */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.reveal { opacity: 1; transform: none; }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--accent); }
.faq-item summary { padding: 1.35rem 1.75rem; cursor: pointer; font-weight: 700; color: var(--navy); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color 0.2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; color: var(--accent); transition: transform 0.2s ease; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item .faq-body { padding: 0 1.75rem 1.5rem; color: var(--text-muted); line-height: 1.65; }

/* Resource cards */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.75rem; }
.resource-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.resource-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.resource-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); position: relative; overflow: hidden; }
.resource-card .thumb::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 30%, rgba(255, 87, 34, 0.4), transparent 60%); }
.resource-card .body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.resource-card .tag { display: inline-block; background: rgba(255, 87, 34, 0.1); color: var(--accent); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.85rem; align-self: flex-start; }
.resource-card h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.2rem; line-height: 1.3; }
.resource-card p { color: var(--text-muted); font-size: 0.95rem; flex: 1; line-height: 1.55; }
.resource-card .meta { margin-top: 1rem; font-size: 0.85rem; color: var(--text-light); display: flex; gap: 0.5rem; align-items: center; }

/* Badges & feature box */
.badge-pill { display: inline-block; background: rgba(74, 222, 128, 0.12); color: #15803d; padding: 0.3rem 0.75rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.badge-pill.warm { background: rgba(255, 87, 34, 0.12); color: var(--accent-dark); }
.feature-box { background: linear-gradient(135deg, #fff 0%, #fafbff 100%); border: 1px solid var(--border-light); border-left: 4px solid var(--accent); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.feature-box h3 { margin-bottom: 0.75rem; }

/* City list grid */
.city-grid-detailed { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.city-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.1rem 1.25rem; text-decoration: none; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); color: var(--navy); font-weight: 600; }
.city-card:hover { border-color: var(--accent); transform: translateX(4px); color: var(--accent); }
.city-card::after { content: "→"; color: var(--accent); font-weight: 400; }

/* Spec list */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.spec { background: var(--bg-alt); padding: 1.5rem; border-radius: var(--radius); text-align: center; }
.spec .num { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 0.35rem; }
.spec .lbl { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* ============== Home Quick-Start panel (under trust strip) ============== */
:root { --teal: #14b8a6; --teal-dark: #0d9488; --teal-light: #5eead4; --teal-bg: rgba(20, 184, 166, 0.08); }
.home-quickstart { padding: 3rem 0 1rem; }
.hqs-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.hqs-head { background: linear-gradient(135deg, #06152a 0%, #0a1f38 100%); color: #fff; padding: 2rem 2.25rem 1.75rem; text-align: center; position: relative; overflow: hidden; }
.hqs-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.18), transparent 50%); }
.hqs-pill { display: inline-block; background: rgba(20,184,166,0.18); border: 1px solid rgba(94,234,212,0.4); color: #5eead4; padding: 0.35rem 0.85rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.85rem; }
.hqs-head h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2rem); margin-bottom: 0.5rem; }
.hqs-head p { color: rgba(255,255,255,0.85); margin: 0 auto; max-width: 640px; font-size: 1rem; }
.hqs-map-panel { background: #f5f7fa; padding: 1.25rem; }
.hqs-search-bar { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.hqs-search-bar input { flex: 1; padding: 0.85rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 1rem; font-family: inherit; background: #fff; }
.hqs-search-bar button { padding: 0.85rem 1.4rem; background: linear-gradient(135deg, #0d9488, #14b8a6); color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 0.95rem; white-space: nowrap; }
.hqs-tabs { display: flex; gap: 0.4rem; margin-bottom: 0.75rem; }
.hqs-tab { padding: 0.5rem 1rem; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 8px; cursor: pointer; font-size: 0.88rem; font-weight: 600; color: #475569; font-family: inherit; }
.hqs-tab.active { background: #14b8a6; color: #fff; border-color: #14b8a6; }
.hqs-status { padding: 0.6rem 0.9rem; font-size: 0.88rem; min-height: 1.5em; background: rgba(20,184,166,0.06); color: #0d9488; border-radius: 8px; margin-bottom: 0.75rem; }
.hqs-status.err { background: rgba(239,68,68,0.06); color: #b91c1c; }
.hqs-status.ok { background: rgba(34,197,94,0.06); color: #15803d; }
.hqs-map { width: 100%; height: 380px; min-height: 320px; background: #1a3458; border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; }
.hqs-foot { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; padding: 1rem 0 0; }
.hqs-foot-info { flex: 1; font-size: 0.92rem; color: #475569; min-width: 200px; }
.hqs-foot-info strong { color: #0a1f38; }
.hqs-foot-btn { padding: 0.85rem 1.4rem; border-radius: 10px; font-weight: 800; cursor: pointer; font-size: 0.95rem; border: none; font-family: inherit; }
.hqs-foot-btn.hqs-clear { background: #fff; color: #0a1f38; border: 1.5px solid #e2e8f0; }
.hqs-foot-btn.hqs-apply { background: linear-gradient(135deg, #ff5722, #ff7849); color: #fff; box-shadow: 0 6px 16px rgba(255,87,34,0.35); padding: 0.95rem 1.6rem; font-size: 1rem; }
.hqs-foot-btn.hqs-apply:disabled { opacity: 0.5; cursor: not-allowed; }
.hqs-privacy { font-size: 0.78rem; color: #64748b; padding: 0.6rem 0.9rem; margin-top: 0.5rem; background: rgba(0,0,0,0.03); border-radius: 6px; }

/* ==========================================================================
   Warranty Trust Block (below contact forms)
   ========================================================================== */
.warranty-trust-block {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.warranty-trust-block .wtb-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
  margin-bottom: 0.25rem;
}
.wtb-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255,215,0,0.09), rgba(20,184,166,0.06));
  border: 2px solid rgba(255,193,7,0.4);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  position: relative;
  overflow: visible;
}
.wtb-label {
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a2e1e;
}
.wtb-badge {
  font-weight: 900;
  font-size: 0.82rem;
  color: #15803d;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
/* Sparkle animations */
@keyframes wtb-sparkle-a {
  0%,100% { transform: scale(0.4) rotate(0deg);   opacity: 0; }
  45%      { transform: scale(1.3) rotate(20deg);  opacity: 1; }
}
@keyframes wtb-sparkle-b {
  0%,100% { transform: scale(0.3) rotate(0deg);   opacity: 0; }
  55%      { transform: scale(1.2) rotate(-18deg); opacity: 1; }
}
@keyframes wtb-sparkle-c {
  0%,100% { transform: scale(0.5) rotate(0deg);   opacity: 0; }
  40%      { transform: scale(1.1) rotate(35deg);  opacity: 1; }
}
.wtb-sparkle {
  position: absolute;
  font-size: 0.75rem;
  pointer-events: none;
  line-height: 1;
}
.wtb-item:nth-child(2) .wtb-sparkle:nth-child(1) { top: -8px;  left: 12px;  animation: wtb-sparkle-a 2.4s ease-in-out infinite 0s; }
.wtb-item:nth-child(2) .wtb-sparkle:nth-child(2) { top: -9px;  right: 28px; animation: wtb-sparkle-b 2.4s ease-in-out infinite 0.6s; }
.wtb-item:nth-child(2) .wtb-sparkle:nth-child(3) { bottom: -8px; left: 44%; animation: wtb-sparkle-c 2.4s ease-in-out infinite 1.2s; }
.wtb-item:nth-child(3) .wtb-sparkle:nth-child(1) { top: -8px;  left: 18px;  animation: wtb-sparkle-b 2.4s ease-in-out infinite 0.3s; }
.wtb-item:nth-child(3) .wtb-sparkle:nth-child(2) { top: -9px;  right: 32px; animation: wtb-sparkle-a 2.4s ease-in-out infinite 0.9s; }
.wtb-item:nth-child(3) .wtb-sparkle:nth-child(3) { bottom: -8px; left: 38%; animation: wtb-sparkle-c 2.4s ease-in-out infinite 1.5s; }
.wtb-item:nth-child(4) .wtb-sparkle:nth-child(1) { top: -8px;  left: 8px;   animation: wtb-sparkle-c 2.4s ease-in-out infinite 0.5s; }
.wtb-item:nth-child(4) .wtb-sparkle:nth-child(2) { top: -9px;  right: 22px; animation: wtb-sparkle-a 2.4s ease-in-out infinite 1.1s; }
.wtb-item:nth-child(4) .wtb-sparkle:nth-child(3) { bottom: -8px; left: 50%; animation: wtb-sparkle-b 2.4s ease-in-out infinite 0.2s; }
