/* ==========================================================================
   Multi-page layer (Multi-page and Business sites), loaded after styles.css.
   Uses the same brand tokens, so re-branding styles.css re-brands this too.
   ========================================================================== */

/* Current page in the menu */
.nav-list a[aria-current="page"]:not(.nav-cta) { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }

/* Inner-page heading band */
.page-hero { padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 56px); background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero .page-title { font-size: clamp(2rem, 5.4vw, 3rem); max-width: 22ch; }
.crumbs { font-size: 0.88rem; color: var(--text-dim); margin: 0 0 18px; }
.crumbs a { color: var(--text-soft); }
.crumbs [aria-current] { color: var(--text); }

/* Headings used outside .section-head */
.h2 { font-family: var(--font-head); font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.15; margin: 8px 0 12px; letter-spacing: -0.01em; text-wrap: balance; }

/* Cards that link to a page */
.card-link { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.card-link:hover, .card-link:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.card-link p { flex: 1; }
.card-more, .link-more { margin-top: 12px; font-weight: 600; color: var(--accent); }
.card-more::after, .link-more::after { content: " →"; }
.link-more { text-decoration: none; }

/* Reasons / values */
.reason h3 { font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 6px; padding-top: 14px; border-top: 3px solid var(--accent); }
.reason p { margin: 0; color: var(--text-soft); }

/* Service detail blocks */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.split p { color: var(--text-soft); }
/* A service with a photo: photo on one side, words (and their ticks) on the other, so neither
   column is left half empty. Add split-flip to every other one to alternate the sides. */
.split-media { grid-template-columns: 1fr 1fr; align-items: center; }
.split-media .split-photo { margin: 0; }
.split-media.split-flip > div { order: -1; }
.split-media .ticks, .section-alt .split-media .ticks { margin: 18px 0 26px; padding: 0; background: none; border: 0; }
/* Contact: a card for each way to reach them. */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 18px; }
.contact-card { display: grid; gap: 6px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.contact-card svg { width: 28px; height: 28px; color: var(--accent); }
.contact-card h2 { font-size: 1.05rem; margin: 6px 0 0; }
.contact-card p { margin: 0; color: var(--text-soft); }
.contact-big { font-size: 1.2rem; font-weight: 700; overflow-wrap: anywhere; }
.ticks { list-style: none; margin: 0; padding: 22px; display: grid; gap: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.section-alt .ticks { background: var(--bg); }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* Closing call to action, on every page except Contact */
.cta-band { padding: clamp(40px, 6vw, 64px) 0; background: var(--brand, var(--accent)); color: var(--brand-ink, var(--accent-ink)); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.4rem, 3.6vw, 2rem); margin: 0 0 6px; letter-spacing: -0.01em; }
.cta-band p { margin: 0; opacity: 0.9; }
.cta-band .btn-primary { background: var(--brand-ink, var(--accent-ink)); color: var(--brand, var(--accent)); }

/* Footer columns */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; padding-block: 40px 28px; }
.footer-brand p { color: var(--text-soft); margin: 10px 0 0; max-width: 36ch; }
.footer-h { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text-soft); text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-col li { color: var(--text-soft); overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--border); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split-media.split-flip > div { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-list a[aria-current="page"]:not(.nav-cta) { box-shadow: none; font-weight: 700; }
}
