/*  Infra Core — inner pages (products, services, quote, thank-you).
    Built only on the tokens already defined in styles.css so the inner
    pages read as the same site, not a bolted-on template. */

/* ---- breadcrumb ---------------------------------------------------- */
.crumbs {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); }

/* ---- inner page hero ----------------------------------------------- */
/* the site header is sticky and sits outside the flow, so inner pages
   need to clear it themselves */
.sub-hero { padding-block: clamp(104px, 11vw, 140px) clamp(20px, 3vw, 40px); }
.sub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.sub-hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  letter-spacing: -1.5px;
  line-height: 1.06;
  margin: 14px 0 0;
}
.sub-hero__lede {
  font-family: var(--f-text);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--n-700);
  margin: 18px 0 0;
  max-width: 54ch;
}
.sub-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sub-hero__media {
  border-radius: var(--r-3xl);
  overflow: hidden;
  background: var(--soft-green);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.sub-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .sub-hero__grid { grid-template-columns: 1fr; }
  .sub-hero__media { aspect-ratio: 16 / 10; order: -1; }
}

/* ---- "what's included" list ---------------------------------------- */
.iset { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.iset__item {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px 22px 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.iset__item h3 {
  font-size: 1.05rem;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.iset__item p { font-family: var(--f-text); color: var(--n-700); line-height: 1.55; margin: 0; font-size: 0.94rem; }
.iset__n {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

/* ---- related links -------------------------------------------------- */
.rel { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.rel a {
  font-family: var(--f-text);
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--n-900);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  transition: background 0.2s, border-color 0.2s;
}
.rel a:hover { background: var(--n-100); border-color: var(--n-300); }

/* ---- closing CTA band ---------------------------------------------- */
.cta-band {
  background: var(--n-950);
  color: #fff;
  border-radius: var(--r-3xl);
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -1px; margin: 8px 0 0; color: #fff; }
.cta-band p { font-family: var(--f-text); color: var(--n-300); margin: 10px 0 0; max-width: 48ch; }
.cta-band .btn--light { background: #fff; color: var(--n-950); border: none; }

/* ---- "learn more" link on the home page product cards --------------- */
.fcard__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  transition: border-color 0.2s, gap 0.2s;
}
.fcard__more:hover { border-color: #fff; gap: 12px; }
.fcard__more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---- standalone quote page ------------------------------------------ */
.qpage { padding-block: clamp(104px, 11vw, 140px) clamp(24px, 4vw, 56px); }
.qpage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .qpage__grid { grid-template-columns: 1fr; } }
.qpage__panel {
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

/* ---- thank-you page -------------------------------------------------- */
.ty { min-height: 62vh; padding-top: clamp(104px, 11vw, 140px); display: grid; place-items: center; text-align: center; padding-block: clamp(48px, 9vw, 120px); }
.ty__mark {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 26px;
  background: var(--soft-green); color: #0b6854;
}
.ty__mark svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ty h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -1.4px; margin: 0; }
.ty p { font-family: var(--f-text); color: var(--n-700); margin: 16px auto 0; max-width: 46ch; line-height: 1.6; }
.ty__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* The modal hides its in-card eyebrow and title on phones because the sticky
   modal bar repeats them. The standalone page has no such bar, so it must keep
   its own heading - otherwise the page shows no heading at all on mobile. */
.qpanel .ccard__info > .ccard__path { display: inline-flex; }
.qpanel .ccard__info > .qpage__title {
  display: block;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  letter-spacing: -0.5px;
  line-height: 1.12;
  margin-top: 12px;
}

/* styles.css honours reduced motion throughout; the inner pages must too. */
@media (prefers-reduced-motion: reduce) {
  .rel a,
  .fcard__more { transition: none; }
  .fcard__more:hover { gap: 8px; }
}

/* ---- page intro paragraph ------------------------------------------- */
.pintro {
  font-family: var(--f-text);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.7;
  color: var(--n-700);
  max-width: 68ch;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}

/* ---- how we work ----------------------------------------------------- */
.how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(18px, 3vw, 30px);
  margin-top: 10px;
}
.how__step { position: relative; padding-top: 20px; border-top: 2px solid var(--n-900); }
.how__n {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.how__step h3 { font-size: 1.08rem; letter-spacing: -0.3px; margin: 0 0 8px; }
.how__step p { font-family: var(--f-text); color: var(--n-700); line-height: 1.55; margin: 0; font-size: 0.94rem; }

/* ---- what comes with every order ------------------------------------ */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-text);
  font-size: 0.9rem;
  color: var(--n-700);
}
.badges li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: #0b6854 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}
