:root {
  --bg: #f3f1ee;
  --surface: #ffffff;
  --ink: #101f2d;
  --muted: #5a6269;
  --brand-blue: #356e9c;
  --border: rgba(16, 31, 45, 0.1);
  --shadow: 0 12px 40px rgba(16, 31, 45, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243, 241, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.brand-logo { height: 80px; width: auto; display: block; }

/* NAV */
.nav { display: flex; align-items: center; gap: 16px; }

.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  display: block;
}

.nav-link--dropdown {
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  background: transparent !important;
  outline: none !important;
}

.chev { font-size: 12px; margin-left: 6px; }

/* MOBILE TOGGLE BUTTON */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
}

/* DROPDOWN */
.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  min-width: 200px;
}

.nav-dropdown.open .dropdown-menu { display: block; }

.dropdown-item {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
}

.dropdown-item:hover {
  background: rgba(53, 110, 156, 0.08);
}

/* HERO SECTION */
.hero-full-bleed {
  position: relative;
  width: 100%;
  padding: 44px 0 24px; /* updated to reduce extra vertical space */
  overflow: hidden;
  background-color: var(--bg);
}

.hero-bg-splashes {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(177, 206, 214, 0.5) 0%, transparent 45%),
    radial-gradient(circle at 95% 75%, rgba(221, 207, 182, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 10% 15%, rgba(53, 110, 156, 0.1) 0%, transparent 35%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; /* was start */
  gap: 30px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  margin: 12px 0 10px;
  letter-spacing: -0.03em;
}

.hero-subhead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 520px;
}

/* PREMIUM PILL BADGE */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(16, 31, 45, 0.9);
  background: rgba(53, 110, 156, 0.10);
  border: 1px solid rgba(53, 110, 156, 0.16);
  box-shadow: 0 10px 24px rgba(16, 31, 45, 0.08);
}

.pill-badge--soft {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: rgba(16, 31, 45, 0.85);
}

/* GLASS FRAME */
.hero-image-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 10px; /* was 12px */
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 50px rgba(16, 31, 45, 0.12);
  display: inline-block;
}

.floating-cards-img {
  display: block;
  width: 100%;
  max-width: 580px;
  border-radius: 22px;

  /* NEW: cap tall portrait hero images so they do not inflate the section */
  max-height: 560px;
  height: auto;
  object-fit: contain;
}

.hero-visual {
  display: grid;
  gap: 14px;
  align-content: center; /* was start */
  justify-items: end;
}

/* MINI NOTE */
.mini-note {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(16, 31, 45, 0.04);
  border: 1px solid var(--border);
  color: rgba(16, 31, 45, 0.85);
  display: inline-block;
}

.mini-note--center {
  display: block;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* BUILT FOR LOCAL BUSINESSES BUBBLE (STACKED + CENTERED BULLETS) */
.hero-biz-bubble {
  max-width: 860px;
  margin: 22px auto 0;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  padding: 22px 22px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow: 0 18px 44px rgba(16, 31, 45, 0.08);
}

.hero-biz-bubble h3 { margin: 0 0 10px; font-size: 28px; letter-spacing: -0.02em; }
.hero-biz-bubble p {
  margin: 0 auto 14px;
  color: rgba(16, 31, 45, 0.85);
  max-width: 760px;
  font-size: 18px;
}

/* This is the key: bullets stack, bubble stays centered */
.hero-biz-list {
  list-style: disc;
  margin: 0 auto 14px;
  padding-left: 18px;
  display: inline-block;
  text-align: left;
  max-width: 520px;
}

.hero-biz-list li { margin: 0 0 10px; color: rgba(16, 31, 45, 0.90); }

/* CTA buttons row */
.cta-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-flex;
  padding: 10px 24px;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  text-align: center;
  justify-content: center;
  align-items: center;
  box-shadow: 0 12px 28px rgba(16, 31, 45, 0.12);
}

.btn.secondary {
  background: rgba(16, 31, 45, 0.08);
  color: var(--ink);
  box-shadow: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
}

/* SECTION SPACING */
.section { padding: 25px 0; }
.section h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -0.02em; }
.section p { margin-bottom: 10px; color: rgba(16, 31, 45, 0.85); }
.section-soft { background: rgba(255, 255, 255, 0.18); }

.subhead { color: rgba(16, 31, 45, 0.75); margin-top: 8px; }
.fine { color: rgba(16, 31, 45, 0.70); font-size: 14px; margin: 8px 0 0; }

.compact-list { margin: 6px 0; padding-left: 20px; }
.compact-list li { margin-bottom: 6px; }

.note { margin-top: 8px; font-weight: 700; color: var(--brand-blue); }

.content-block {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(16, 31, 45, 0.06);
}

/* Outcomes section */
.outcomes-section { padding-top: 26px; }

.outcomes-title {
  font-size: 34px;
  letter-spacing: -0.03em;
  margin-top: 12px;
}

.outcomes-subhead { max-width: 760px; }

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.outcome-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(16, 31, 45, 0.06);
}

.outcome-card h3 { margin: 0 0 10px; font-size: 20px; }

/* Grid helpers */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(16, 31, 45, 0.06);
}

.card h3 { margin: 0 0 10px; }

/* PRICING GRID */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 20px;
  align-items: stretch;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 50px rgba(16, 31, 45, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: #ffffff;
  border: 2px solid rgba(53, 110, 156, 0.75);
  box-shadow: 0 30px 60px rgba(16, 31, 45, 0.12);
}

.pricing-card h3 { font-size: 24px; margin: 0 0 10px; }

.pricing-card .price {
  font-size: 56px;
  font-weight: 900;
  color: var(--brand-blue);
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}

.pricing-card .price span {
  font-size: 16px;
  font-weight: 700;
  color: rgba(16, 31, 45, 0.70);
  margin-left: 6px;
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: white;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 28px rgba(16, 31, 45, 0.18);
}

/* Add-on row */
.addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(16, 31, 45, 0.06);
  margin-top: 14px;
}

.addon-row h3 { margin: 0; }

.addon-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--brand-blue);
  white-space: nowrap;
}

.addon-price span { font-size: 16px; font-weight: 800; color: rgba(16, 31, 45, 0.65); }

/* Contact layout */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.cta-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(16, 31, 45, 0.08);
}

.cta-card h3 { margin: 0 0 10px; }

.cta-card--center {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 25px 0;
  margin-top: 30px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.site-footer p { margin: 0; }

/* =========================
   HUB PAGES (services + practices)
========================= */

.hub-hero {
  position: relative;
  width: 100%;
  padding: 54px 0 22px;
  overflow: hidden;
  background: var(--bg);
}

.hub-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(177, 206, 214, 0.55) 0%, transparent 48%),
    radial-gradient(circle at 95% 78%, rgba(221, 207, 182, 0.45) 0%, transparent 44%),
    radial-gradient(circle at 12% 22%, rgba(53, 110, 156, 0.12) 0%, transparent 40%);
}

.hub-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.hub-hero__title {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  margin: 10px 0 6px;
  letter-spacing: -0.03em;
}

.hub-hero__subhead {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 780px;
}

.hub-hero__cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Button chips (real buttons for examples) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: rgba(16, 31, 45, 0.92);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow: 0 12px 26px rgba(16, 31, 45, 0.07);
}

.chip:hover {
  background: rgba(53, 110, 156, 0.10);
  border-color: rgba(53, 110, 156, 0.18);
}

.hub-section {
  padding: 26px 0;
}

.hub-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(16, 31, 45, 0.06);
}

.hub-card h2, .hub-card h3 { margin-top: 0; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 850px) {
  .header-inner { padding: 12px 0; }
  .menu-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }

  .nav.active { display: flex; }

  .nav-link { width: 100%; text-align: left; padding: 12px; }
  .btn--ghost { width: 100%; text-align: center; margin-top: 10px; }

  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(16,31,45,0.03);
    border: none;
    width: 100%;
    padding-left: 20px;
  }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual {
    margin-top: 14px;
    justify-items: center; /* updated for mobile centering */
  }
  .brand-logo { height: 60px; }

  .floating-cards-img {
    max-height: 520px; /* updated mobile cap */
  }

  .hero-biz-bubble { text-align: left; }
  .hero-biz-bubble p { font-size: 16px; }
  .hero-biz-list { max-width: 520px; }

  .outcome-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .addon-row { flex-direction: column; align-items: flex-start; }
}
