/* Imported page sections (Components/Sections/SectionView.razor). Colours from tokens.css only. */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section__title--center { text-align: center; }
.eyebrow--brand { color: var(--brand); opacity: 1; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-strong); color: #fff; }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand-soft); color: var(--brand-strong); }
.btn-row { margin-top: 20px; }
.btn-row--center { justify-content: center; }

/* Body copy from the importer: plain tags only. */
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose h3, .prose h4, .prose h5 { margin-top: 1.4em; font-size: 1.15rem; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.prose--lead { font-size: 1.15rem; color: var(--ink-700); }
.prose--page { max-width: 780px; }
.prose--center { text-align: center; max-width: 720px; margin: 0 auto; }

/* Page hero: photo under a dark scrim, or the plain brand gradient. */
.phero { position: relative; color: #fff; background: linear-gradient(135deg, var(--green-900), var(--green-700)); overflow: hidden; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero:not(.phero--plain)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(15 25 5 / .78), rgb(15 25 5 / .45) 55%, rgb(15 25 5 / .15));
}
.phero__content { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.phero__crumb { display: inline-block; color: #e3efd3; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin: 0 0 10px; }
a.phero__crumb:hover { color: #fff; }
.phero__title { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 760px; margin: 0; }
.phero__lead { font-size: 1.15rem; max-width: 640px; margin-top: 14px; }
.phero .btn-row { margin-top: 24px; }

.banner { position: relative; max-height: 520px; overflow: hidden; }
.banner img { width: 100%; max-height: 520px; object-fit: cover; }
.banner__text {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px var(--gutter) 28px;
  color: #fff; font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.6rem); text-align: center;
  background: linear-gradient(transparent, rgb(0 0 0 / .55));
}

.intro__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1.15fr 1fr; }
  .intro__grid--solo { grid-template-columns: minmax(0, 820px); }
}
.intro__img { border-radius: var(--radius-lg); margin: 0 auto; max-height: 460px; width: auto; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.includes { margin-top: 40px; background: var(--surface-alt); border-radius: var(--radius-lg); padding: 28px; }
.includes__title { font-size: 1.3rem; }
.includes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.includes__grid h4 { font-size: 1.05rem; color: var(--brand-strong); margin-bottom: 6px; }

.split--alt { background: var(--surface-alt); }
.split__grid { display: grid; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) {
  .split__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split__grid--flip .split__img { order: -1; }
  .split__grid--solo { grid-template-columns: minmax(0, 820px); }
}
.split__img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; max-height: 520px; }

.features__label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin: 28px 0 14px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feature { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; background: var(--surface); }
.feature__img { border-radius: var(--radius); margin-bottom: 12px; }
.feature__title { font-size: 1.1rem; color: var(--brand-strong); }

.faq { max-width: 880px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--brand);
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__item .prose { padding: 0 20px 18px; color: var(--ink-700); }

.quote { background: var(--brand-soft); border-top: 1px solid var(--green-100); border-bottom: 1px solid var(--green-100); }
.quote__inner { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
@media (min-width: 900px) { .quote__inner { grid-template-columns: 1.3fr 1fr; } }
.quote__actions { display: flex; flex-direction: column; gap: 12px; }
.quote__actions .btn { width: 100%; }

.reviews { text-align: center; }

.ribbon { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ribbon__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 32px; padding-bottom: 32px; }
.ribbon__title { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 0; }
.ribbon__text { margin: 6px 0 0; color: var(--ink-700); }
.ribbon .btn-row { margin-top: 0; }

.cta { text-align: center; }

.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.quotes__item { margin: 0; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-alt); display: flex; flex-direction: column; gap: 10px; }
.quotes__item blockquote { margin: 0; font-size: 1.05rem; color: var(--ink-700); }
.quotes__item figcaption { font-weight: 700; color: var(--brand-strong); }
.quotes__img { border-radius: var(--radius); }
.quotes__title { font-size: 1.2rem; margin: 0; }

.cards--media .card { padding: 0; overflow: hidden; }
.cards--media .card > :not(.card__img) { padding-left: 22px; padding-right: 22px; }
.cards--media .card__title { padding-top: 18px; }
.cards--media .card__more { padding-bottom: 20px; }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-alt); }
.card__tagline { font-weight: 700; color: var(--ink-700); }
.card__body p { margin: 0; }

.video__frame { position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { margin-top: 6px; font-weight: 700; }

.columns { display: grid; gap: 24px; }
@media (min-width: 800px) { .columns { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.columns__col { background: var(--surface-alt); border-radius: var(--radius-lg); padding: 24px; }
.columns__col h3:first-child { margin-top: 0; }
.note { font-size: .9rem; color: var(--text-muted); text-align: center; margin-top: 18px; }

.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.compare { border-collapse: collapse; width: 100%; min-width: 560px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--ink-100); text-align: center; }
.compare thead th { background: var(--brand-soft); font-weight: 900; }
.compare thead a { color: var(--brand-strong); }
.compare tbody th { text-align: left; font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.tick { color: var(--brand); font-weight: 900; font-size: 1.2rem; }

/* ---- Fields recovered by the text-coverage check (tools/site-import/compare.mjs) ---- */
.phero__tagline { color: #fff; font-weight: 900; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.1; margin: 0 0 10px; max-width: 820px; }
.phero__title--sub { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 700; }
.intro__sub { font-size: 1.25rem; color: var(--brand-strong); margin-top: 18px; }
.exclusives { margin-top: 40px; }
.exclusives__title { font-size: 1.4rem; text-align: center; margin-bottom: 20px; }
.exclusives__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.exclusives__item { flex: 1 1 260px; max-width: 380px; border-left: 4px solid var(--green-500); background: var(--brand-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; }
.exclusives__item h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--brand-strong); }
.split__lead { font-size: 1.15rem; color: var(--ink-700); }
.awards { margin-top: 28px; }
.awards__label { font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 10px; }
.awards__list { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.awards__list img { width: 64px; height: auto; }
.section__intro { margin-bottom: 28px; }
.postdate { color: var(--text-muted); font-weight: 700; padding-top: 24px; margin: 0; }
.split__notes { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .95rem; color: var(--text-muted); }

/* ---- Alignment matched to the old site (measured block by block) ---------------------
   Centred: page heroes, intro heading + text, FAQ / quote / comparison / features / CTA
   headings. Left: image-text splits, ribbons, feature cards, FAQ questions, the home hero. */

.phero--centre .phero__content { align-items: center; text-align: center; }
.phero--centre .phero__title, .phero--centre .phero__lead { margin-left: auto; margin-right: auto; }
.phero--centre .btn-row { justify-content: center; }
.phero--centre:not(.phero--plain)::after {
  background: radial-gradient(ellipse at center, rgb(15 25 5 / .62), rgb(15 25 5 / .38) 70%);
}

.intro__head { text-align: center; max-width: 780px; margin: 0 auto 36px; }
.intro__head .prose { color: var(--ink-700); }
.intro__body { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .intro__body { grid-template-columns: 1fr 1fr; gap: 56px; } }
.intro__body--solo { grid-template-columns: minmax(0, 780px) !important; justify-content: center; }
.intro__body--centre { text-align: center; }
.intro__body--centre .btn-row { justify-content: center; }
.intro__body--centre .intro__detail { order: 2; }
@media (min-width: 900px) { .intro__body--centre { grid-template-columns: 1fr !important; justify-items: center; } }
.intro__detail .exclusives__title { text-align: left; margin: 0 0 14px; }
.exclusives__list { display: grid; gap: 14px; }
.exclusives__list .exclusives__item { max-width: none; }

.faq .section__title { margin-left: auto; margin-right: auto; }
.faq { margin-left: auto; margin-right: auto; }

.quote__inner { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
.quote__text { max-width: 720px; }
.quote__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.quote__actions .btn { width: auto; }

/* The free-quote form (BACKLOG #24): a card under the call/email buttons, left-aligned for reading. */
.quote__form { width: 100%; max-width: 720px; text-align: left; background: #fff; border-radius: var(--radius-lg, 8px); padding: 24px; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.quote__form fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.quote__form legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.quote__form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--paper); box-sizing: border-box; resize: vertical; }
.quote__form .quote__choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; margin: 0; padding: 8px 0; min-height: 40px; box-sizing: border-box; cursor: pointer; }
.quote__form .quote__choice input { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; padding: 0; flex: none; }
.quote__form .quote__choice--inline { display: inline-flex; margin-right: 18px; }
.quote__zip { max-width: 200px; }
.quote__form .btn { margin: 4px 0 10px; }
.quote__notice { width: 100%; max-width: 720px; text-align: left; }

.prose--page { margin-left: auto; margin-right: auto; max-width: 860px; }

/* In-page jumps (#faqs, #request-more-info) land below the sticky header, not under it. */
[id] { scroll-margin-top: 96px; }
