:root {
  --bg: #ffffff;
  --surface: #fff7fa;
  --surface-alt: #f8fafc;
  --surface-card: #ffffff;
  --ink: #111827;
  --ink-muted: #4b5563;
  --ink-subtle: #6b7280;
  --brand: #d81b60;
  --brand-bright: #e91e73;
  --brand-hover: #b81450;
  --brand-soft: #fce7f3;
  --sage: #0f766e;
  --sage-soft: #ccfbf1;
  --border: #f1e4ec;
  --border-strong: #e5d0dc;
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.05), 0 1px 2px rgba(216, 27, 96, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(17, 24, 39, 0.10), 0 4px 10px -4px rgba(216, 27, 96, 0.08);
  --shadow-lg: 0 22px 45px -16px rgba(17, 24, 39, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-top: 0;
}

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

/* Loader */
.app-loader {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg);
}

.app-loader-mark img {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.app-loader-text {
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

#blazor-error-ui {
  background: #fff1f2;
  color: #9f1239;
  bottom: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  display: none;
  left: 0;
  padding: 0.75rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 0.65rem;
}

/* Top Utility Bar */
.top-bar {
  background: #141923;
  color: #f9fafb;
  font-size: 0.84rem;
  padding: 0.5rem 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.top-bar a {
  text-decoration: none;
  color: #f9fafb;
  transition: color 0.15s ease;
}

.top-bar a:hover {
  color: #f472b6;
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
}

.mobile-nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-drawer .nav-link {
  padding: 0.65rem 0.25rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 860px) {
  .desktop-nav {
    display: flex;
  }
  .mobile-menu-btn,
  .mobile-nav-drawer {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.78rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(216, 27, 96, 0.55);
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 10px 22px -6px rgba(216, 27, 96, 0.62);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-sm {
  padding: 0.56rem 1.05rem;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff7fa 0%, #ffffff 100%);
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 920px) {
  .hero {
    padding: 4.5rem 0 5.5rem;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
  max-width: 56ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.trust-stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.trust-stat-label {
  font-size: 0.84rem;
  color: var(--ink-subtle);
}

.hero-media {
  position: relative;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-floating-card {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-floating-card {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: -1.5rem;
    margin-top: 0;
  }
}

.floating-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
}

.floating-card-sub {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 820px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card-body {
  color: var(--ink-muted);
  font-size: 0.96rem;
  margin: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 800;
}

/* Frequency Strip */
.frequency-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 760px) {
  .frequency-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.frequency-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
}

.frequency-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.frequency-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Service Area Chips */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.area-chip {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* Testimonial Feature */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
}

/* Banner / CTA */
.cta-band {
  background: #141923;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

@media (min-width: 820px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    padding: 3.25rem 3rem;
  }
}

.cta-band h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: #d1d5db;
  margin: 0;
  max-width: 56ch;
}

/* Forms */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.15);
}

.alert-success {
  background: var(--sage-soft);
  border: 1px solid #5eead4;
  color: #134e4a;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.alert-error {
  background: #fff1f2;
  border: 1px solid #fda4af;
  color: #9f1239;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Legal / Prose */
.legal-prose {
  max-width: 780px;
}

.legal-prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--ink-muted);
}

/* Page Header */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.page-hero p {
  color: var(--ink-muted);
  font-size: 1.08rem;
  max-width: 62ch;
  margin: 0;
}

/* Footer */
.site-footer {
  background: #141923;
  color: #e5e7eb;
  padding: 3.75rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.35fr 0.9fr 1fr 1fr;
  }
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #f472b6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.footer-legal-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.jb-attribution {
  font-size: 0.7rem;
  opacity: 0.45;
  color: inherit;
  transition: opacity 0.2s ease;
  margin-left: auto;
}

.jb-attribution:hover {
  opacity: 0.85;
}

.jb-attribution a {
  color: inherit;
  text-decoration: none;
}

.jb-attribution a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile Responsive Refinements */
.mobile-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.85rem;
}

.mobile-drawer-ctas .btn {
  width: 100%;
}

@media (max-width: 859px) {
  .header-call-btn {
    display: none;
  }
}

@media (max-width: 639px) {
  .header-quote-btn {
    display: none;
  }

  .header-inner {
    height: 68px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .top-bar {
    font-size: 0.78rem;
    padding: 0.45rem 0;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    gap: 0.3rem 0.75rem;
  }

  .top-bar-left,
  .top-bar-right {
    justify-content: center;
    gap: 0.35rem 0.75rem;
  }

  .hero {
    padding: 2.25rem 0 3rem;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-floating-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-floating-card .btn {
    width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero {
    padding: 2.25rem 0;
  }

  .card,
  .testimonial-card {
    padding: 1.35rem;
  }

  .cta-band {
    padding: 2rem 1.35rem;
  }

  .cta-band .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .jb-attribution {
    margin-left: 0;
  }
}

@media (max-width: 479px) {
  .hero-trust-strip {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .frequency-grid {
    grid-template-columns: 1fr;
  }
}

