/* Pricing page below the first screen. The header and hero are styled by the critical CSS inline in pricing.html */

/* Estimator: sliders on the left, a printed receipt on the right */
/* The sliders and the receipt share one row and always end at the same line; the quote button sits under the receipt */
.est{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px 56px;align-items:stretch}
.ctrls{display:flex;flex-direction:column;justify-content:space-between;gap:26px;background:var(--sky);border:1px solid var(--line);border-radius:26px;padding:30px}
.ctrl > label,.ctrl-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-weight:700;font-size:15px}
.ctrl > label small,.ctrl-top small{display:block;font-weight:500;color:var(--muted);font-size:13px}
/* Choice above a slider, as pills like the hero chips: the picked one lights its dot and gets a dark outline */
.seg{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.seg label{position:relative;cursor:pointer}
.seg input{position:absolute;opacity:0;width:1px;height:1px}
.seg span{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600;line-height:1.2;transition:border-color .2s, box-shadow .2s}
.seg i{width:10px;height:10px;border-radius:50%;background:#C5CEE3;transition:background .2s, transform .3s cubic-bezier(.3,1.7,.5,1)}
.seg small{font-weight:500;font-size:13px;color:var(--muted)}
.seg label:hover span{border-color:#B9C6EA}
.seg input:checked + span{border-color:var(--ink);box-shadow:0 6px 14px rgba(20,33,61,.08)}
.seg input:checked + span i{background:var(--dot);transform:scale(1.15)}
.seg input:focus-visible + span{outline:3px solid var(--cobalt);outline-offset:2px}
.ctrl output{font-family:var(--display);font-size:28px;font-weight:800;color:var(--cobalt);font-variant-numeric:tabular-nums}
.ctrl input[type=range]{width:100%;margin-top:8px;accent-color:var(--cobalt);height:30px;cursor:pointer}
.switch{display:flex;align-items:center;gap:14px;cursor:pointer;font-weight:700;font-size:15px;padding-top:6px;border-top:1px dashed #C9D5FF}
.switch input{position:absolute;opacity:0;width:1px;height:1px}
.switch .knob{flex:none;width:52px;height:30px;border-radius:999px;background:#C5CEE3;position:relative;transition:background .25s;margin-top:14px}
.switch .knob::after{content:"";position:absolute;left:4px;top:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(20,33,61,.25);transition:transform .3s cubic-bezier(.3,1.5,.5,1)}
.switch input:checked + .knob{background:var(--tang)}
.switch input:checked + .knob::after{transform:translateX(22px)}
.switch input:focus-visible + .knob{outline:3px solid var(--cobalt);outline-offset:3px}
.switch span:last-child{margin-top:14px}
.switch small{display:block;font-weight:500;color:var(--muted);font-size:13px}
.receipt-wrap{display:flex;filter:drop-shadow(0 24px 40px rgba(20,33,61,.12))}
.est-cta{grid-column:2;display:flex;width:100%}
.receipt{position:relative;flex:1;display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:22px 22px 0 0;padding:30px 30px 44px;font-family:var(--mono);font-size:14px;
  -webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/20px 100%;mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/20px 100%}
.receipt .r-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:16px;border-bottom:2px dashed var(--line);font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}
.receipt .r-head b{font-family:var(--display);font-size:20px;letter-spacing:-.01em;text-transform:none;color:var(--ink)}
.r-lines{list-style:none;margin:0;padding:8px 0 0}
.r-lines li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;padding:12px 0;border-bottom:1px dashed var(--line)}
.r-lines .n{font-family:var(--body);font-weight:700;font-size:15px;color:var(--ink)}
.r-lines .q{grid-column:1;color:var(--muted);font-size:12.5px}
.r-lines .v{grid-row:1/3;grid-column:2;align-self:center;font-size:15px;font-variant-numeric:tabular-nums}
.r-lines li.waived .v{color:var(--muted);text-decoration:line-through}
.r-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-top:18px}
.r-total span{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}
.r-total b{font-family:var(--display);font-weight:800;font-size:clamp(34px,4vw,46px);color:var(--cobalt);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.r-per{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px;margin-top:4px}
.r-per b{color:var(--ink);font-weight:500}
.r-note{margin-top:auto;padding-top:18px;color:var(--muted);font-size:11.5px;line-height:1.5;font-family:var(--body)}
.barcode{height:34px;margin-top:18px;background:repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 4px,var(--ink) 4px 5px,transparent 5px 7px,var(--ink) 7px 10px,transparent 10px 12px)}
.stamp{position:absolute;right:26px;bottom:52px;padding:8px 14px;border:3px solid var(--tang);border-radius:10px;color:var(--tang-d);font-family:var(--mono);font-size:12px;letter-spacing:2px;text-transform:uppercase;line-height:1.3;text-align:center;background:rgba(255,255,255,.85);transform:rotate(-8deg) scale(1.6);opacity:0;pointer-events:none;transition:opacity .2s, transform .35s cubic-bezier(.3,1.6,.5,1)}
.stamp.on{opacity:1;transform:rotate(-8deg) scale(1)}
@media (max-width:900px){.est{grid-template-columns:minmax(0,1fr)}.est-cta{grid-column:auto}}
/* Narrow: the note under the total wraps to two lines, so the stamp goes on one line and lands on the barcode only */
@media (max-width:520px){.ctrls{padding:22px}.receipt{padding:24px 20px 40px}.stamp{right:18px;bottom:40px;padding:6px 12px;font-size:11px}.stamp br{display:none}}

/* Rate card */
.rates{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.rc{grid-column:span 2;background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px 26px 16px;display:flex;flex-direction:column;transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s}
.rc:hover{transform:translateY(-4px);box-shadow:0 22px 44px rgba(20,33,61,.08)}
.rc.half{grid-column:span 3}
.rc.full{grid-column:1/-1}
.rc-note{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px 14px;margin-bottom:10px;border-radius:14px;background:#FFF1EA;color:var(--tang-d);font-weight:700;font-size:14px}
.rc-note svg{flex:none}
.rc-h{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.rc-h h3{font-size:22px;font-weight:700}
.num{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-family:var(--mono);font-size:13px;color:var(--ink)}
.num.c{background:#E6ECFF;color:var(--cobalt-d)}.num.m{background:#DFF8F1;color:#0E6B57}.num.t{background:#FFE9DF;color:var(--tang-d)}.num.s{background:#FFF3CF;color:#8A5E00}.num.p{background:#FFE6F0;color:#B01D5C}
.row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;align-items:center;padding:14px 12px;margin-inline:-12px;border-radius:14px;border-top:1px dashed var(--line);transition:background .2s}
.rc-h + .row{border-top-color:transparent}
.row:hover{background:var(--sky);border-top-color:transparent}
.row:hover + .row{border-top-color:transparent}
.row .n{font-weight:700;font-size:16px}
.row .d{grid-column:1;color:var(--muted);font-size:14px;line-height:1.45}
.row .p{grid-row:1/3;grid-column:2;text-align:right;font-family:var(--display);font-weight:800;font-size:22px;color:var(--cobalt);line-height:1.1;white-space:nowrap}
.row .p small{display:block;font-family:var(--body);font-weight:500;font-size:12.5px;color:var(--muted);margin-top:2px}
.row .p.offer s{color:var(--muted);font-size:.72em;font-weight:700;margin-right:4px;text-decoration-thickness:2px}
.row .p.free span{display:inline-block;padding:4px 12px;border-radius:999px;background:#DFF8F1;color:#0E6B57;font-size:15px}
/* Packaging spans the row in three columns: title, what it is, what we stock */
.rc.full{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:20px 40px;padding-bottom:26px}
.rc.full .rc-h{margin:0}
.rc.full .pack-t{color:var(--muted);font-size:15px}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.rc.full .tags{justify-content:flex-end}
@media (max-width:960px){.rc.full{grid-template-columns:minmax(0,1fr)}.rc.full .tags{justify-content:flex-start}}
.tags span{display:inline-flex;align-items:center;gap:8px;background:var(--sky);border:1.5px solid var(--line);border-radius:999px;padding:7px 14px;font-weight:700;font-size:14px}
.tags i{width:8px;height:8px;border-radius:2px;transform:rotate(45deg)}
@media (max-width:960px){.rc,.rc.half{grid-column:1/-1}}
/* Narrow: a long note under a price wraps, so the price column does not squeeze the service name */
@media (max-width:520px){.rc{padding:22px 20px 12px}.row .p{font-size:19px}.row .p small{white-space:normal;max-width:10em;margin-left:auto}}
.fine{margin-top:16px;color:var(--muted);font-family:var(--mono);font-size:13px}

/* Contact: the same form as on the home page, sent to Netlify Forms by js/forms.js */
.contact-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:stretch}
.ct-form{background:#fff;color:var(--ink);border-radius:26px;padding:30px;display:flex;flex-direction:column;gap:18px;border:1px solid var(--line);box-shadow:0 30px 60px rgba(20,33,61,.08)}
.ct-form label{font-weight:700;font-size:15px;display:flex;flex-direction:column;align-items:stretch;gap:8px}
.ct-form input,.ct-form textarea{min-width:0;font:inherit;font-size:15px;padding:13px 14px;border-radius:12px;border:1.5px solid var(--line);background:var(--sky);min-height:48px;color:var(--ink)}
.ct-form textarea{min-height:140px;resize:vertical;line-height:1.5}
/* Sent: the fields keep the message, muted and no longer editable */
.ct-form.is-sent input,.ct-form.is-sent textarea{color:var(--muted);cursor:default;resize:none}
/* The form matches the height of the text beside it: the message box takes up the slack */
.ct-form .grow,.ct-form .grow textarea{flex:1}
.ct-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ct-form .btn{align-self:flex-start}
.ct-ways{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:12px}
.ct-ways li{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:center;padding:14px 16px;border-radius:18px;background:var(--sky);border:1px solid var(--line)}
.ct-ways .fi{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#fff}
.ct-ways strong{font-family:var(--display);font-size:18px;display:block}
.ct-ways a{color:var(--cobalt-d);font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.ct-ways small{color:var(--muted);font-size:14px}
.qb-ok{font-size:14px;color:#0E6B57;background:#DFF8F1;border-radius:12px;padding:14px}
.qb-ok.err{color:var(--tang-d);background:#FFE9DF}
.btn:disabled{opacity:.85;cursor:progress}
/* Sending: a ring spins in the submit button */
.spin{width:18px;height:18px;flex:none;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* The sending spinner is a status, not decoration: with reduced motion it keeps turning, slower */
@media (prefers-reduced-motion: reduce){.spin{animation-duration:1.6s!important;animation-iteration-count:infinite!important}}
#contact{padding-bottom:0}
.contact-grid .h2,.contact-grid .lead{margin-top:16px}
@media (max-width:900px){.contact-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:520px){.ct-two{grid-template-columns:minmax(0,1fr)}.ct-form{padding:22px}.ct-form .btn{align-self:stretch}}

/* Footer, as on the home page */
footer{background:var(--ink);color:#C5CEE3;padding-block:18px calc(18px + env(safe-area-inset-bottom,0px));font-size:14px;margin-top:96px}
.f-row{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}
.f-logo{display:flex}
.f-links{display:flex;gap:12px 24px;flex-wrap:wrap}
.fwm{height:36px;width:auto}
footer a{text-decoration:none}
footer a:hover{color:#fff}
