/* Styles for service pages, basket, checkout and shared header extras.
   Builds on the tokens in site.css (--brand, --gold, --mint, --card, --line, ...). */

/* Header basket */
.basket-link { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--fg); text-decoration: none; flex-shrink: 0; }
.basket-link:hover { border-color: var(--accent); }
.basket-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bcount { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font: 800 0.72rem/20px var(--body); text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 800px) { nav { gap: 12px; } }
@media (max-width: 420px) { nav .btn-sm { padding: 9px 12px; font-size: 0.85rem; } .brand img { height: 40px; } }

/* Toast */
.toast { position: fixed; z-index: 50; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: min(92vw, 420px); background: #10241e; color: #ffffff; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); font-size: 0.95rem; }
.toast a { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* Page hero (service pages, basket, thanks) */
.page-hero { background: var(--brand); color: #ffffff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -220px; top: -260px; border-radius: 50%; border: 30px solid rgba(255,255,255,0.06); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 48px 64px; }
.page-hero-sm .wrap { padding-block: 36px 44px; display: grid; gap: 12px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.page-hero-copy { display: grid; gap: 16px; min-width: 0; }
.page-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.page-hero .eyebrow { color: var(--gold); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-hero .lede { color: #ffffff; font-size: 1.25rem; font-weight: 600; }
.hero-intro { color: #d7ebe3; max-width: 36rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: #a9cbbd; }
.crumbs a { color: #d7ebe3; text-decoration: none; }
.crumbs a:hover { color: #ffffff; text-decoration: underline; }
.tag-inline { position: static; display: inline-block; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Buy box */
.buybox { background: #ffffff; color: #12241f; border-radius: 20px; padding: 26px 24px; display: grid; gap: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5); min-width: 0; }
.bb-label { font: 700 0.76rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: #8a6a00; margin: 0; }
.bb-was { color: #55675f; text-decoration: line-through; font-size: 0.92rem; margin: 0; }
.bb-price { font: 900 2.8rem/1 var(--display); letter-spacing: -0.02em; margin: 0; font-variant-numeric: tabular-nums; }
.bb-price small { font: 600 1rem/1 var(--body); color: #55675f; margin-right: 6px; letter-spacing: 0; }
.bb-price span { font: 600 1rem/1 var(--body); color: #55675f; letter-spacing: 0; }
.bb-quote { font-size: 2rem; }
.bb-monthly { color: #55675f; margin: 0; }
.bb-deposit { background: #f3f7f5; border-radius: 12px; padding: 12px 14px; font-size: 0.93rem; color: #12241f; }
.bb-deposit b { color: #175e4e; }
.btn-block { width: 100%; }
.buybox .btn-line { border-color: #dbe5e0; color: #12241f; }
.buybox .btn-line:hover { border-color: #175e4e; }
.mini-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.mini-steps.on-dark { color: #3a4d46; }
.mini-steps li::marker { color: var(--accent); font-weight: 800; }

/* Detail section */
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.detail-side { display: grid; gap: 24px; min-width: 0; }
.detail-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; display: grid; gap: 16px; min-width: 0; }
.detail-card h2 { font-size: 1.5rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #ffffff; font-size: 0.75rem; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 0.92rem; font-weight: 600; }
.also { color: var(--muted); font-size: 0.95rem; }
.also a { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }

/* Gold form band on sub-pages */
.cta .eyebrow { color: #5a4a00; }
.cta .card .fintro { color: #d7ebe3; }

/* Package picks on get-started */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pick { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; display: grid; gap: 8px; text-decoration: none; color: var(--fg); min-width: 0; transition: border-color .15s ease, transform .15s ease; }
.pick:hover { border-color: var(--accent); transform: translateY(-2px); }
.pick b { font: 800 1.15rem/1.2 var(--display); }
.pick span { color: var(--muted); font-size: 0.95rem; }
.pick em { font-style: normal; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .picks { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pick { transition: none; } .pick:hover { transform: none; } }

/* Basket */
.basket-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.basket-main { display: grid; gap: 24px; min-width: 0; }
.basket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.basket-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.basket-list li:last-child { border-bottom: 0; }
.bi-name { font: 800 1.05rem/1.25 var(--display); }
.bi-name a { color: inherit; text-decoration: none; }
.bi-name a:hover { color: var(--accent); }
.bi-meta { grid-column: 1; color: var(--muted); font-size: 0.92rem; }
.bi-price { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bi-price small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.bi-remove { grid-column: 2; justify-self: end; background: none; border: 0; color: var(--muted); font: 600 0.88rem var(--body); cursor: pointer; text-decoration: underline; padding: 4px 0; }
.bi-remove:hover { color: var(--fg); }
.pill-mini { display: inline-block; font: 700 0.7rem/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--surface); color: var(--accent); margin-left: 8px; vertical-align: middle; }
.basket-empty { display: grid; gap: 14px; color: var(--muted); }
.basket-summary { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.sum { margin: 0; display: grid; gap: 12px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.sum dt { color: var(--muted); font-size: 0.93rem; }
.sum dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum div:first-child dd { font: 900 1.6rem/1 var(--display); color: var(--accent); }
.secure { color: var(--muted); font-size: 0.86rem; }

/* Checkout form (light card, not the green enquiry card) */
.checkout-form label { display: grid; gap: 6px; align-content: end; font: 600 0.88rem/1.25 var(--body); color: var(--fg); min-width: 0; }
.checkout-form .opt { font-weight: 500; color: var(--muted); }
.checkout-form input[type="text"], .checkout-form input[type="email"], .checkout-form input[type="tel"], .checkout-form textarea { width: 100%; min-width: 0; height: 48px; font: 500 1rem/1.3 var(--body); color: var(--fg); background: var(--bg); border: 2px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.checkout-form textarea { height: auto; min-height: 96px; resize: vertical; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--accent); }
.checkout-form [aria-invalid="true"] { border-color: #d9653b; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: #175e4e; flex-shrink: 0; }
.check a { color: var(--accent); }
.ferr { color: #b3401a; font-size: 0.92rem; }
.basket-summary .fstatus { background: var(--surface); border-radius: 10px; padding: 12px 14px; font-size: 0.93rem; }
@media (max-width: 900px) { .basket-grid { grid-template-columns: 1fr; } .basket-summary { position: static; } }

/* Thanks */
.thanks { display: grid; gap: 16px; justify-items: start; padding-block: 72px 88px !important; }

/* Home page additions */
.plan-ctas { display: grid; gap: 8px; }
.price .dep { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.cta-card { gap: 12px !important; }
.cta-card h3 { color: #ffffff; font-size: 1.25rem; }
.cta-card .btn-line { border-color: rgba(255,255,255,0.45); color: #ffffff; }
.dnote a { color: var(--gold); font-weight: 700; }

/* One-off or monthly */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-col { background: var(--surface); border-radius: 12px; padding: 14px; display: grid; gap: 4px; align-content: start; }
.opt-col b { font: 800 1rem/1.2 var(--display); color: var(--accent); }
.opt-col span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 420px) { .opt-grid { grid-template-columns: 1fr; } }

/* Industry pages */
.ind-hero { align-items: center; }
.ind-phone { margin: 0; justify-self: center; width: min(270px, 70vw); display: grid; gap: 12px; }
.ind-phone figcaption { color: #a9cbbd; font-size: 0.85rem; text-align: center; }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.need { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.need h3 { font-size: 1.1rem; }
.need p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) { .needs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .needs { grid-template-columns: 1fr; } }
.rec-card h2 { font-size: 1.7rem; }
.rec-buy { border: 1px solid var(--line); }
.addon-ctas { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.ask-btn { background: var(--brand); color: #ffffff; border: 0; border-radius: 999px; padding: 9px 14px; font: 700 0.88rem var(--body); cursor: pointer; }
.ask-btn:hover { background: #124c3f; }

/* Home: industry cards */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.ind { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; display: grid; gap: 6px; text-decoration: none; color: var(--fg); min-width: 0; transition: border-color .15s ease, transform .15s ease; }
.ind:hover { border-color: var(--accent); transform: translateY(-2px); }
.ind b { font: 800 1.15rem/1.2 var(--display); }
.ind span { color: var(--muted); font-size: 0.95rem; }
.ind em { font-style: normal; font-weight: 700; color: var(--accent); font-size: 0.9rem; }
@media (max-width: 860px) { .inds { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ind { transition: none; } .ind:hover { transform: none; } }
