/**
 * Homepage SEO content block — matches Squarespace rhythm, no rebrand.
 */

.nexterra-seo-home-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 8vw, 5rem) var(--sqs-mobile-site-gutter, 6vw);
  background: #f7f6f4;
  color: #1a1a1a;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  overflow-x: hidden;
}

/* Inside Squarespace page sections (generated SEO pages) */
.nexterra-seo-home-section--inset {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.nexterra-seo-home-section--inset .nexterra-seo-home__inner {
  max-width: min(var(--sqs-site-max-width, 2000px), 100%);
}

@media (min-width: 768px) {
  .nexterra-seo-home-section {
    padding-left: var(--sqs-site-gutter, 4vw);
    padding-right: var(--sqs-site-gutter, 4vw);
  }
}

.nexterra-seo-home__inner {
  max-width: min(var(--sqs-site-max-width, 2000px), 100%);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.nexterra-seo-home__location {
  margin: 0 0 1.75rem;
  font-size: clamp(0.72rem, 1.3vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
}

.nexterra-seo-home__intro {
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  max-width: 46rem;
}

.nexterra-seo-home__heading {
  margin: 0 0 1rem;
  font-family: inherit;
  font-weight: 400;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.nexterra-seo-home__intro p {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.82);
}

.nexterra-seo-home__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.75rem);
}

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

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

.nexterra-seo-home__card {
  margin: 0;
  padding: 1.35rem 1.4rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.nexterra-seo-home__card h3 {
  margin: 0 0 0.55rem;
  font-family: inherit;
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  font-weight: 500;
  line-height: 1.25;
}

.nexterra-seo-home__card p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.72);
}

.nexterra-seo-home__card a {
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.nexterra-seo-home__card a:hover {
  opacity: 0.72;
}

.nexterra-seo-home__faq-title {
  margin: 0 0 1.25rem;
  font-family: inherit;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 1.2;
}

.nexterra-seo-home__faq {
  max-width: 52rem;
}

.nexterra-seo-home__faq-item {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.nexterra-seo-home__faq-item:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.nexterra-seo-home__faq-item dt {
  margin: 0 0 0.4rem;
  font-weight: 500;
  font-size: 1rem;
}

.nexterra-seo-home__faq-item dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.75);
}

/* Keep Squarespace marquee typography when decorative headings are divs */
.Marquee h1,
.Marquee p,
.Marquee .Marquee-item--text,
.Marquee .Marquee-svg-wrap {
  margin: 0;
  min-height: 0;
  line-height: 1.4 !important;
}

.nexterra-seo-home__eyebrow {
  margin: 0 0 0.65rem;
  font-size: clamp(0.72rem, 1.3vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
}

.nexterra-seo-home__lead {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.78);
  max-width: 44rem;
}

.nexterra-seo-home__prose {
  max-width: 46rem;
}

.nexterra-seo-home__prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
}

.nexterra-seo-home__prose h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.nexterra-seo-home__prose p,
.nexterra-seo-home__prose ul,
.nexterra-seo-home__prose ol {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.82);
}

.nexterra-seo-home__prose ul,
.nexterra-seo-home__prose ol {
  padding-left: 1.2rem;
}

.nexterra-seo-home__prose a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.nexterra-seo-home__hub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nexterra-seo-home__hub-list li {
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.nexterra-seo-home__hub-list a {
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  font-weight: 500;
  text-decoration: none;
}

.nexterra-seo-home__hub-list a:hover {
  opacity: 0.7;
}

.nexterra-seo-home__meta {
  font-size: 0.85rem;
  color: rgba(26, 26, 26, 0.55);
  margin-top: 1.5rem;
}

.nexterra-seo-home__hero-figure {
  margin: 0 0 1.75rem;
  border-radius: 0.75rem;
  overflow: hidden;
  max-width: 52rem;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.nexterra-seo-home__hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(42vh, 380px);
  object-fit: cover;
  object-position: center 35%;
  image-rendering: auto;
}

@media (max-width: 767px) {
  .nexterra-seo-home__hero-figure {
    max-width: 100%;
    border-radius: 0.5rem;
  }

  .nexterra-seo-home__hero-figure img {
    max-height: min(38vh, 260px);
    min-height: 180px;
  }
}

.nexterra-seo-home__map {
  margin: 1.25rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.1);
  background: #e8e6e2;
}

.nexterra-seo-home__map iframe {
  display: block;
  width: 100%;
  min-height: clamp(220px, 45vw, 320px);
  border: 0;
}

.nexterra-seo-home__map-link {
  font-size: 0.9rem;
  margin: 0;
}

.nexterra-seo-home__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 2rem;
}

/* Generated SEO pages: keep links/buttons clickable above Squarespace section layers */
.nexterra-seo-generated-section .section-background,
.nexterra-seo-generated-section .section-border {
  pointer-events: none;
}

.nexterra-seo-generated-section .content-wrapper {
  position: relative;
  z-index: 2;
}

.nexterra-seo-home__cta-row .sqs-block-button-element {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.nexterra-seo-home__hub-list a {
  position: relative;
  z-index: 1;
}

.nexterra-seo-home__faq dt {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.nexterra-seo-home__faq dd {
  margin: 0;
}

@media (max-width: 767px) {
  .nexterra-seo-home-section {
    padding-top: clamp(2rem, 10vw, 3rem);
    padding-bottom: clamp(2rem, 10vw, 3rem);
  }

  .nexterra-seo-home__grid {
    grid-template-columns: 1fr !important;
  }

  .nexterra-seo-home__card {
    padding: 1.1rem 1.15rem;
  }

  .nexterra-seo-home__heading {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .nexterra-seo-home__cta-row .sqs-block-button-container {
    width: 100%;
  }

  .nexterra-seo-home__cta-row .sqs-block-button-element {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nexterra-seo-home__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.nexterra-embed-hero__brandline {
  margin: 0 0 1.1rem;
  font-family: inherit;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(247, 246, 244, 0.62);
  max-width: 34rem;
  opacity: 0;
  animation: nexterraFade 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
