/* ==========================================================================
   CONTENT — About, FAQ, Reviews, Request estimate, Español, hubs, legal, 404
   ========================================================================== */

/* Two columns: text + photo (About story, Commercial intro) */
.split {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}

.split__text h2 {
  margin-bottom: var(--space-s);
}

.split__text p + p {
  margin-top: var(--space-s);
}

.split__media {
  --pixel-color: var(--color-bg);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* Section with a title on the left and content on the right */
.aside-layout {
  display: grid;
  gap: var(--space-m);
}

.aside-layout + .aside-layout {
  margin-top: var(--space-xl);
}

@media (min-width: 900px) {
  .aside-layout {
    grid-template-columns: 4fr 8fr;
    gap: var(--space-xl);
  }

  .aside-layout > h2 {
    position: sticky;
    top: calc(var(--header-height) + var(--space-m));  /* below the fixed header */
    align-self: start;
  }
}

.aside-layout > h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
}

/* About, "How we work": Volty stands under the title, next to the list */
.volty--aside {
  display: none;
}

@media (min-width: 900px) {
  .aside-layout--volty > .feature-list {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .volty--aside {
    --volty-h: 200px;
    display: block;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }
}

/* Dark band (credentials) */
.dark-band {
  padding-block: var(--space-section);
}

.dark-band h2 {
  margin-bottom: var(--space-l);
}

.note-box {
  margin-top: var(--space-xl);
  padding: var(--space-l);
  background: var(--color-bg-soft);
}

.note-box h2 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-xl);
}

/* Reviews page */
/* Request estimate */
.page-top--estimate {
  padding-bottom: var(--space-section);
}

.estimate {
  display: grid;
  gap: var(--space-l);
  padding-top: clamp(2rem, 1rem + 3vw, 4rem);
}

.estimate > * {
  min-width: 0;
}

.estimate__intro h1 {
  margin-bottom: var(--space-s);
}

.estimate__intro > p:not(.eyebrow) {
  max-width: 30rem;
  font-size: var(--text-l);
  line-height: 1.5;
}

.estimate__talk {
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: 1px solid var(--color-top-line);
}

.estimate__talk h2,
.estimate__next h2 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-xl);
}

.estimate__talk .btn-row {
  margin-top: var(--space-s);
}

.estimate__next {
  margin-top: var(--space-l);
}

.estimate__next .steps li::before {
  color: var(--color-top-ink);
}

/* Trust band under the form: the six seals, then the ways to pay. Both start
   their lists at the same left edge (--label-col). */
.trust-band {
  --label-col: 9rem;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}

@media (min-width: 992px) {
  .trust-band .badges {
    grid-template-columns: var(--label-col) 1fr;
  }
}

.trust-band .payments--band {
  margin-top: var(--space-l);
  padding-top: var(--space-l);
  border-top: 1px solid var(--color-line);
}

/* Volty at the foot of the left column, pointing at the form */
.volty--estimate {
  display: none;
}

@media (min-width: 992px) {
  .volty--estimate {
    --volty-h: 210px;
    display: block;
    margin: var(--space-l) 0 0 auto;
  }
}

@media (min-width: 992px) {
  .estimate {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-xl);
    align-items: start;
  }
}

/* Español */
.link-list {
  display: grid;
  gap: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .link-list {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-l);
  }
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  padding: var(--space-s) 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-heading);
  font-weight: 600;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--color-link);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-s);
  list-style: none;
}

.tag-list a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  color: var(--color-heading);
  font-size: var(--text-s);
  font-weight: 600;
  text-decoration: none;
}

.tag-list a:hover {
  border-color: var(--color-primary);
}

/* Legal + simple text pages */
.narrow {
  max-width: 48rem;
}

/* 404 */
.notfound {
  padding-block: var(--space-section);
  text-align: center;
}

.notfound p {
  max-width: 32rem;
  margin: var(--space-s) auto var(--space-l);
}

.notfound .btn-row {
  justify-content: center;
}
