/*
===========================================
LOCAL LANDING PAGES (ct/*, ny/* rewrites)
Content sections below the shared .hero-inner hero.
Built on style.css tokens; text links use a darker
blue than --primary-blue so they meet 4.5:1 on white.
===========================================
*/

.ll-breadcrumb {
  background: var(--neutral-light, #f8fafc);
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.85rem;
}

.ll-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.ll-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #94a3b8;
}

.ll-breadcrumb a {
  color: #075985;
}

.ll-breadcrumb [aria-current="page"] {
  color: #334155;
}

.hero-inner .hero-lede {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.hero-inner .hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  color: #fff;
  display: grid;
  gap: 0.4rem;
}

.hero-inner .hero-points li::before {
  content: "\2713";
  margin-right: 0.5rem;
  color: var(--accent-gold, #f4c95d);
  font-weight: 700;
}

.ll-section {
  padding: 4rem 0;
}

.ll-section--alt {
  background: var(--neutral-light, #f8fafc);
}

.ll-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--neutral-darkest, #0f172a);
  margin: 0 0 1rem;
}

.ll-section h3 {
  font-size: 1.15rem;
  color: var(--neutral-darkest, #0f172a);
  margin: 1.5rem 0 0.6rem;
}

.ll-section p {
  color: #334155;
  max-width: 46rem;
}

.ll-section a:not(.btn) {
  color: #075985;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ll-section a:not(.btn):hover {
  color: #0c4a6e;
}

.ll-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.ll-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.ll-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.25rem 1.35rem;
}

.ll-card h3 {
  margin-top: 0;
}

.ll-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ll-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
  color: #334155;
}

.ll-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f766e;
  font-weight: 700;
}

.ll-note {
  border-left: 4px solid var(--accent-orange, #ff8a3d);
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-top: 1.5rem;
  color: #334155;
}

.ll-note strong {
  color: var(--neutral-darkest, #0f172a);
}

.ll-steps {
  counter-reset: ll-step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.ll-steps li {
  counter-increment: ll-step;
  position: relative;
  padding: 1rem 1.25rem 1rem 3.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #334155;
}

.ll-steps li::before {
  content: counter(ll-step);
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--primary-navy, #3a4ea7);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.ll-steps strong {
  display: block;
  color: var(--neutral-darkest, #0f172a);
}

.ll-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.ll-trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.25rem 0;
}

.ll-trust-stats div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.9rem 1.25rem;
  min-width: 9rem;
}

.ll-trust-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-navy, #3a4ea7);
}

.ll-trust-stats span {
  font-size: 0.85rem;
  color: #475569;
}

.ll-review {
  margin: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.25rem 1.35rem;
}

.ll-review p {
  margin: 0 0 0.6rem;
  font-style: italic;
}

.ll-review footer {
  font-size: 0.85rem;
  color: #475569;
}

.ll-faq details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.ll-faq summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--neutral-darkest, #0f172a);
  list-style-position: inside;
}

.ll-faq summary:focus-visible {
  outline: 3px solid #075985;
  outline-offset: 2px;
}

.ll-faq details > div {
  padding: 0 1.25rem 1rem;
}

.ll-faq details > div p {
  margin: 0;
}

.ll-cta {
  background: linear-gradient(120deg, var(--primary-navy, #3a4ea7) 0%, #24316e 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}

.ll-cta h2 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.ll-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 1.5rem;
  max-width: 36rem;
}

.ll-cta .hero-cta {
  justify-content: center;
}

.ll-figure {
  margin: 0;
}

.ll-figure img {
  width: 100%;
  height: auto;
  border-radius: 0.875rem;
  display: block;
}

.ll-figure figcaption {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.4rem;
}

@media (max-width: 860px) {
  .ll-grid-2 {
    grid-template-columns: 1fr;
  }

  .ll-section {
    padding: 3rem 0;
  }
}

/* Shorter photo band on local pages so the H1 and quote form sit near the
   top of the page; the shared rule in style.css uses 100vh / 4:3. */
.hero.hero-inner.hero-local::before {
  height: clamp(160px, 26vh, 300px) !important;
  aspect-ratio: auto !important;
  /* Darkens the top of the photo so the transparent site header's white
     nav text stays readable over light images. */
  box-shadow: inset 0 110px 70px -20px rgba(15, 23, 42, 0.72);
}

@media (max-width: 768px) {
  .hero.hero-inner.hero-local::before {
    height: 140px !important;
  }
}

.hero-local .hero-content {
  text-align: left;
}

.hero-local .hero-cta {
  justify-content: flex-start;
}

.hero-local .hero-form-panel h2.hero-form-heading {
  font-size: 1.15rem;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .hero-local .hero-content {
    text-align: center;
  }

  .hero-local .hero-cta {
    justify-content: center;
  }

  .hero-local .hero-points {
    justify-content: center;
    text-align: left;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }
}

a.sr-only:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 0.6rem 1rem;
  background: #fff;
  color: #0f172a;
  z-index: 10000;
  border-radius: 0.375rem;
  outline: 3px solid #075985;
}

/* County hubs: town lists inside cards and the form field hint */
.ll-town-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.ll-town-list li {
  padding: 0.5rem 0;
  border-top: 1px solid #edf2f7;
  line-height: 1.55;
}

.ll-town-list li:first-child {
  border-top: 0;
}

.ll-card h3 a {
  color: inherit;
}

.quote-field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #4a5568;
}
