@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600;700&display=swap');

:root {
  --navy: #34354E;
  --navy-dark: #1E2740;
  --navy-deep: #101A31;
  --blue: #8AA1B1;
  --blue-soft: #EEF3F7;
  --cream: #FAF9F6;
  --panel: #F3F5F7;
  --white: #FFFFFF;
  --border: #D9DDE2;
  --text: #34354E;
  --muted: #5F6675;
  --muted-2: #7B8494;
  --gold: #E8B83F;
  --shadow: 0 16px 45px rgba(16, 26, 49, 0.10);
  --shadow-soft: 0 10px 28px rgba(16, 26, 49, 0.08);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
}

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 221, 226, 0.9);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 50%;
}

.footer-brand .brand-mark {
  color: var(--white);
  border-color: rgba(255,255,255,0.88);
}

.brand-text {
  display: grid;
  gap: 1px;
  letter-spacing: 0.18em;
  color: var(--navy);
  line-height: 1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.16em;
}

.brand-text span {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.2em;
}

.footer-brand .brand-text {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--navy-dark);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(255,255,255,0.74);
  color: var(--navy);
  border-color: var(--blue);
}

.btn-accent {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(138, 161, 177, 0.24);
}

.btn-accent:hover {
  background: #7892A3;
}

.btn-large {
  min-height: 56px;
  padding: 17px 24px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 10px;
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(250,249,246,1) 0%, rgba(250,249,246,0.92) 42%, rgba(250,249,246,0.48) 68%, rgba(250,249,246,0.22) 100%),
    radial-gradient(circle at 74% 20%, rgba(138,161,177,0.25), transparent 34%),
    radial-gradient(circle at 20% 30%, rgba(52,53,78,0.08), transparent 30%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: 46px;
  padding: 74px 0 34px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.hero h1,
.section-heading h2,
.difference-copy h2,
.cta-band h2 {
  font-family: var(--serif);
  line-height: 0.95;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 94px);
  max-width: 670px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 21px);
  max-width: 610px;
  color: #28314A;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-visual {
  align-self: end;
  position: relative;
}

.photo-card {
  position: relative;
  min-height: 500px;
  border-radius: 0 0 0 90px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.05), rgba(52,53,78,0.18)),
    url("assets/office-bg.svg") center/cover no-repeat,
    var(--blue-soft);
  box-shadow: 0 28px 70px rgba(16, 26, 49, 0.18);
  border: 1px solid rgba(217,221,226,0.7);
}

.photo-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250,249,246,0.4), rgba(250,249,246,0.05)),
    linear-gradient(0deg, rgba(16,26,49,0.2), transparent 40%);
}

.portrait-placeholder {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: min(75%, 390px);
}

.photo-note {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 28px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(217,221,226,0.85);
  border-radius: 14px;
  padding: 13px 14px;
  display: grid;
  gap: 2px;
  color: var(--navy);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.photo-note span {
  color: var(--muted);
  font-size: 13px;
}

.trust-bar {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy), #23365A);
  color: var(--white);
}

.trust-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: center;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  color: var(--white);
}

.trust-item strong,
.trust-item span:not(.trust-icon):not(.stars) {
  display: block;
}

.trust-item strong {
  font-size: 14px;
  margin-bottom: 2px;
}

.trust-item span {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 20px;
  display: block;
  min-width: 118px;
}

.section {
  padding: 66px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.heading-line {
  width: 50px;
  height: 2px;
  background: var(--blue);
  margin: 14px auto 0;
}

.cards {
  display: grid;
  gap: 28px;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 72px;
  height: 72px;
  background: var(--blue-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 32px;
  color: var(--navy);
  filter: grayscale(25%);
}

.service-card h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 25px;
  margin: 0 0 10px;
}

.service-card p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.split-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(238,243,247,0.4), rgba(255,255,255,0.78)),
    var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.difference-copy {
  border-right: 1px solid var(--border);
  padding-right: 54px;
}

.difference-copy h2 {
  font-size: clamp(36px, 4vw, 58px);
  margin-bottom: 18px;
}

.difference-copy p {
  color: var(--muted);
  margin: 0 0 14px;
}

.signature {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: var(--blue);
  font-size: 38px;
  margin-top: 22px;
}

.advisor-title {
  font-size: 13px;
  color: var(--navy) !important;
}

.difference-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
}

.benefit {
  display: flex;
  gap: 14px;
}

.benefit span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  background: rgba(255,255,255,0.7);
}

.benefit h3 {
  margin: 0 0 5px;
  font-size: 17px;
  color: var(--navy);
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.how-section {
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  text-align: center;
  position: relative;
}

.step {
  position: relative;
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -21px;
  top: 32px;
  color: var(--blue);
  font-size: 24px;
}

.step-icon {
  width: 76px;
  height: 76px;
  background: #DDE6EE;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 31px;
  margin-bottom: 8px;
}

.step-number {
  display: block;
  width: 26px;
  height: 26px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  line-height: 26px;
  font-size: 13px;
  font-weight: 800;
  margin: -6px auto 9px;
}

.step h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.testimonials {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-card {
  text-align: left;
  padding: 28px 30px;
}

.quote {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 62px;
  line-height: 0.7;
  display: block;
}

.testimonial-card p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 14px;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.testimonial-footer strong {
  color: var(--navy);
  font-size: 13px;
}

.testimonial-footer span {
  color: var(--gold);
  letter-spacing: 2px;
}

.cta-band {
  padding: 35px 0;
  background: var(--cream);
}

.cta-grid {
  min-height: 104px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy), #23365A);
  color: var(--white);
  border-radius: 8px;
  padding: 27px 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  box-shadow: var(--shadow);
}

.cta-icon {
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255,255,255,0.88);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(30px, 3.5vw, 43px);
}

.cta-band p {
  margin: 7px 0 0;
  color: rgba(255,255,255,0.84);
}

.faq-section {
  padding-top: 28px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: none;
  padding: 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  color: var(--navy);
  font-size: 20px;
  top: 11px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy), #23365A);
  color: var(--white);
  padding: 48px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.3fr 1fr;
  gap: 42px;
}

.site-footer h3 {
  font-size: 16px;
  margin: 0 0 14px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 7px 0;
}

.site-footer a:hover {
  color: var(--white);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.social-row a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: 50%;
  font-weight: 800;
}

.footer-cta {
  display: inline-flex !important;
  color: var(--white) !important;
  margin-top: 12px !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 26px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  padding: 70px 0;
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: 54px;
  color: var(--navy);
  margin: 0 0 22px;
}

.legal-page h2 {
  color: var(--navy);
  margin-top: 32px;
}

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

@media (max-width: 1040px) {
  .nav-links {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-visual {
    max-width: 720px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 0;
  }

  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .difference-copy {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 36px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step::after {
    display: none;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-wrap {
    min-height: 70px;
  }

  .mobile-menu-button {
    display: inline-block;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 42px 0 28px;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .photo-card {
    min-height: 420px;
    border-radius: 22px;
  }

  .portrait-placeholder {
    width: min(80%, 330px);
  }

  .trust-grid,
  .cards.four,
  .cards.three,
  .difference-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .service-card,
  .testimonial-card {
    padding: 26px 20px;
  }

  .cta-grid {
    padding: 26px 20px;
  }

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

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text span {
    font-size: 15px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }
}


/* Real headshot hero image */
.actual-photo-card {
  background: #EEF3F7;
}

.actual-photo-card .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
}

.actual-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,249,246,0.12), rgba(250,249,246,0.02) 45%, rgba(16,26,49,0.06));
  z-index: 2;
  pointer-events: none;
}


/* Cleaner advisor portrait hero image */
.hero-visual {
  justify-self: end;
  width: min(100%, 500px);
}

.advisor-photo-frame {
  position: relative;
  width: min(100%, 460px);
  margin-left: auto;
  border-radius: 28px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(238,243,247,0.72)),
    var(--blue-soft);
  border: 1px solid rgba(217, 221, 226, 0.95);
  box-shadow: 0 28px 70px rgba(16, 26, 49, 0.17);
  overflow: hidden;
}

.advisor-photo-frame::before {
  content: "";
  position: absolute;
  inset: -90px -120px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(138, 161, 177, 0.26);
  filter: blur(8px);
  z-index: 0;
}

.advisor-photo-topline {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(52, 53, 78, 0.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.advisor-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid rgba(217, 221, 226, 0.9);
  box-shadow: 0 18px 40px rgba(16, 26, 49, 0.13);
  background: #d9dde2;
}

.advisor-photo-caption {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.advisor-photo-caption strong {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.advisor-photo-caption span {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .hero-visual {
    justify-self: start;
    width: min(100%, 520px);
  }

  .advisor-photo-frame {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .advisor-photo-frame {
    width: 100%;
    border-radius: 22px;
    padding: 12px;
  }

  .advisor-photo-caption {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Footer logo alignment quick fix */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-mark {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text span {
  display: block;
  line-height: 1;
}
/* Rounded headline font */
.hero h1,
.section-heading h2,
.difference-copy h2,
.cta-band h2,
.legal-page h1 {
  font-family: "Quicksand", "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 80px);
}

/* Disable old forced-wide photo treatment when using advisor portrait frame */
.advisor-photo-frame .hero-photo,
.advisor-photo-frame .photo-gradient,
.advisor-photo-frame .portrait-placeholder,
.advisor-photo-frame .photo-note {
  display: none !important;
}

/* SEO service and location pages */
.card-link,
.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.service-card .card-link {
  color: #526f83;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.page-hero {
  position: relative;
  padding: 64px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 82% 18%, rgba(138,161,177,0.25), transparent 30%),
    linear-gradient(135deg, var(--cream), #f5f7f9);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--navy);
  font-weight: 700;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  align-items: center;
  gap: 70px;
}

.page-hero h1 {
  max-width: 870px;
  margin: 0 0 22px;
  color: var(--navy);
  font-family: "Quicksand", "Inter", system-ui, sans-serif;
  font-size: clamp(44px, 5.7vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-lead {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-proof {
  padding: 30px;
  border: 1px solid rgba(138,161,177,0.55);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  box-shadow: var(--shadow-soft);
}

.hero-proof strong {
  display: block;
  margin-bottom: 15px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 26px;
}

.hero-proof ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-proof li::before {
  content: "✓";
  margin-right: 10px;
  color: #526f83;
  font-weight: 800;
}

.page-trust-strip {
  background: var(--navy);
  color: var(--white);
}

.page-trust-strip .container {
  display: flex;
  justify-content: center;
  gap: 46px;
  padding: 15px 0;
  font-size: 13px;
  font-weight: 700;
}

.page-trust-strip span + span::before {
  content: "•";
  margin-right: 46px;
  color: var(--blue);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 76px;
}

.article-content {
  max-width: 790px;
}

.article-content section + section {
  margin-top: 52px;
  padding-top: 46px;
  border-top: 1px solid var(--border);
}

.article-content h2,
.page-faq h2,
.related-section h2,
.side-cta h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Quicksand", "Inter", system-ui, sans-serif;
  font-size: clamp(30px, 3.4vw, 45px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.article-content p {
  margin: 0 0 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 15px 18px 15px 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  color: #526f83;
  font-weight: 800;
}

.side-cta {
  position: sticky;
  top: 108px;
  padding: 30px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  color: var(--white);
  box-shadow: var(--shadow);
}

.side-cta h2 {
  color: var(--white);
  font-size: 34px;
}

.side-cta p:not(.eyebrow) {
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}

.side-cta .btn {
  width: 100%;
  margin-top: 10px;
  background: var(--blue);
}

.side-cta .text-link {
  display: block;
  color: var(--white);
  text-align: center;
}

.page-faq {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.narrow-container {
  max-width: 900px;
}

.faq-list {
  margin-top: 30px;
}

.related-section {
  padding-top: 58px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.related-card,
.directory-card {
  display: flex;
  flex-direction: column;
  min-height: 145px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover,
.directory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.related-card strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 25px;
}

.related-card span,
.directory-card span {
  margin-top: auto;
  padding-top: 24px;
  color: #526f83;
  font-size: 13px;
  font-weight: 800;
}

.service-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.directory-card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 27px;
}

.directory-card p {
  margin: 0;
  font-size: 15px;
}

.comparison-table {
  max-width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.comparison-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--navy);
  background: var(--blue-soft);
}

.compliance-note {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.compliance-note p {
  max-width: 980px;
  margin: 0;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  line-height: 1.6;
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 1040px) {
  .page-hero-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: 620px;
  }

  .side-cta {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 62px;
  }

  .page-hero {
    padding: 36px 0 50px;
  }

  .breadcrumbs {
    margin-bottom: 28px;
  }

  .page-hero h1 {
    font-size: clamp(40px, 12vw, 57px);
  }

  .page-lead,
  .article-content p,
  .article-content li {
    font-size: 16px;
  }

  .page-trust-strip .container {
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
  }

  .page-trust-strip span + span::before {
    content: none;
  }

  .service-directory,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.7fr 0.7fr 1.2fr;
    min-height: 62px;
    padding: 8px;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(16,26,49,0.12);
  }

  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-action-bar a:nth-child(2) {
    border-left: 1px solid var(--border);
  }

  .mobile-action-bar a:last-child {
    background: var(--navy);
    color: var(--white);
  }
}


/* Verified multi-state licensing */
.state-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.state-list li {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.license-note {
  padding: 15px 18px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  font-size: 13px !important;
}

@media (max-width: 760px) {
  .state-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Interactive state license previews */
.state-list li {
  padding: 0;
  overflow: hidden;
}

.state-license-button {
  width: 100%;
  min-height: 62px;
  padding: 11px 14px;
  border: 0;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.state-license-button span {
  display: block;
  margin-top: 4px;
  color: #526f83;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.state-license-button:hover,
.state-license-button:focus-visible {
  background: var(--navy);
  color: var(--white);
  outline: none;
}

.state-license-button:hover span,
.state-license-button:focus-visible span {
  color: var(--blue-soft);
}

.state-license-button:active {
  transform: scale(0.985);
}

body.modal-open {
  overflow: hidden;
}

.license-modal[hidden] {
  display: none;
}

.license-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.license-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 26, 49, 0.72);
  backdrop-filter: blur(5px);
}

.license-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px;
  border: 2px solid var(--navy);
  border-radius: 18px;
  background:
    linear-gradient(rgba(250,249,246,0.96), rgba(250,249,246,0.96)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(138,161,177,0.08) 12px 13px);
  box-shadow: 0 32px 90px rgba(16, 26, 49, 0.34);
}

.license-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(52,53,78,0.09);
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.license-preview-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 46px;
}

.license-preview-header .eyebrow {
  margin: 0 0 2px;
}

.license-preview-header strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 24px;
}

.license-preview-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
}

.license-preview-state {
  margin: 28px 0;
  padding: 28px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.license-preview-state p {
  margin: 0;
  color: var(--blue-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.license-preview-state h2 {
  margin: 7px 0 9px;
  color: var(--white);
  font-family: "Quicksand", "Inter", system-ui, sans-serif;
  font-size: clamp(34px, 7vw, 54px);
}

.license-preview-state span {
  color: rgba(255,255,255,0.76);
  font-size: 13px;
}

.license-preview-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.license-preview-details div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

.license-preview-details dt {
  margin-bottom: 5px;
  color: #526f83;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.license-preview-details dd {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.license-preview-privacy {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .license-modal {
    padding: 12px;
  }

  .license-modal-card {
    padding: 24px 18px;
  }

  .license-preview-details {
    grid-template-columns: 1fr;
  }

  .license-preview-state {
    padding: 22px 16px;
  }
}
