/* Reusable components */
/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--r-sm); border: 2px solid transparent; font: 700 .95rem var(--font-body); white-space: nowrap; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .85rem; } .btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-yellow { background: var(--yellow); color: var(--teal-ddd); box-shadow: 0 6px 18px rgba(255, 218, 0, .25); } .btn-yellow:hover { background: #ffe433; }
.btn-dark { background: var(--teal-dd); color: #fff; } .btn-dark:hover { background: var(--teal-ddd); }
.btn-outline { border-color: var(--teal-dd); color: var(--teal-dd); background: transparent; } .btn-outline:hover { background: var(--teal-dd); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; } .btn-outline-light:hover { background: #fff; color: var(--teal-dd); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; } .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-ghost-dark { background: rgba(0, 54, 59, .08); color: var(--teal-dd); } .btn-ghost-dark:hover { background: rgba(0, 54, 59, .16); }
.link-btn { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--teal-dd); }

/* Headings */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 .74rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); }
.eyebrow.on-dark { color: #cfe4e1; }
.sec-head { max-width: 640px; margin-bottom: clamp(24px, 4vw, 40px); } .sec-head.center { margin-inline: auto; text-align: center; } .sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { margin-bottom: .35em; } .sec-head.on-dark h2 { color: #fff; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.65; } .on-dark .lead, .page-hero .lead, .sec-dark .lead, .sec-teal .lead { color: #cfe4e1; }
.note { margin-top: 28px; font-size: .84rem; color: var(--muted); } .note.on-dark { color: #9fc0bd; }
.big { font-size: clamp(2.2rem, 6vw, 4rem); }

/* Chips + filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; color: var(--teal-dd); font-weight: 600; font-size: .9rem; transition: .2s; }
.chip:hover { border-color: var(--teal); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--teal-ddd); }
.sec-dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; } .sec-dark .chip.is-on { background: var(--yellow); color: var(--teal-ddd); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 18px; }
.toolbar .chips { margin: 0; flex: 1 1 auto; }
.search-field { position: relative; flex: 0 1 300px; min-width: 200px; }
.search-field .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input, .select select { width: 100%; min-height: 46px; padding: 0 14px 0 40px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.select select { padding-left: 14px; }
.count { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.empty { padding: 28px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--muted); }

/* Illustrated art */
.art { width: 100%; height: 100%; object-fit: cover; }

/* Cards */
.svc-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.svc-art { aspect-ratio: 16 / 10; overflow: hidden; } .svc-art .art { transition: transform .5s var(--ease); } .svc-card:hover .art { transform: scale(1.06); }
.svc-body { position: relative; padding: 26px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.svc-body .svc-ico { position: absolute; top: -22px; left: 24px; background: var(--yellow); color: var(--teal-ddd); width: 44px; height: 44px; box-shadow: var(--sh-1); }
.svc-body h3 { margin-top: 14px; } .svc-body p { color: var(--muted); font-size: .95rem; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; } .mini li { padding: 4px 11px; border-radius: var(--r-pill); background: var(--cream); font-size: .78rem; font-weight: 600; color: var(--teal-dd); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); } .svc-card:hover .more .i { transform: translateX(4px); } .more .i { transition: transform .2s; }

.pcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pcard-art { aspect-ratio: 4 / 3; overflow: hidden; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px; } .pcard h3 { font-size: 1.05rem; margin-bottom: .2em; } .pcard p { margin: 0 0 14px; color: var(--muted); font-size: .85rem; }
.pcard-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.price { font: 700 1.05rem var(--font-head); color: var(--teal-dd); } .price small { font: 500 .72rem var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-right: 3px; }

.jcard { position: relative; overflow: hidden; border-radius: var(--r); background: var(--teal-d); cursor: pointer; aspect-ratio: 4 / 3.4; box-shadow: var(--sh-1); }
.jcard .art { transition: transform .5s var(--ease); } .jcard:hover .art, .jcard:focus-visible .art { transform: scale(1.08); }
.jcard-art { position: absolute; inset: 0; }
.jcard-cap { position: absolute; inset: auto 0 0; padding: 34px 16px 14px; background: linear-gradient(transparent, rgba(0, 25, 27, .9)); color: #fff; }
.jcard-cap small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); font-weight: 700; } .jcard-cap h3 { margin: 2px 0 0; font-size: 1rem; }
.jcard.is-hidden { display: none; }

/* Add-to-quote button */
.add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--teal); border-radius: var(--r-pill); color: var(--teal); font-weight: 700; font-size: .84rem; white-space: nowrap; transition: .2s; }
.add-btn:hover { background: var(--teal); color: #fff; }
.add-btn .on { display: none; } .add-btn[aria-pressed="true"] { background: var(--teal-dd); border-color: var(--teal-dd); color: var(--yellow); } .add-btn[aria-pressed="true"] .on { display: inline-flex; gap: 6px; align-items: center; } .add-btn[aria-pressed="true"] .off { display: none; }
.add-btn .off { display: inline-flex; gap: 6px; align-items: center; }
.pcard-foot .add-btn, .pkg .add-btn { width: 100%; }

/* Packages */
.pkgs { align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.pkg.is-featured { background: var(--teal-dd); color: #fff; border-color: var(--teal-dd); transform: translateY(-10px); box-shadow: var(--sh-2); }
.pkg-flag { position: absolute; top: -13px; left: 26px; padding: 5px 14px; border-radius: var(--r-pill); background: var(--yellow); color: var(--teal-ddd); font: 800 .7rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.pkg-blurb { color: var(--muted); font-size: .92rem; } .is-featured .pkg-blurb { color: #cfe4e1; }
.pkg-price { display: flex; align-items: baseline; gap: 4px; margin: .2em 0 1em; } .pkg-price b { font: 800 clamp(2rem, 1.5rem + 1.6vw, 2.6rem) var(--font-head); letter-spacing: -.03em; } .pkg-price span { color: var(--muted); } .is-featured .pkg-price span { color: #cfe4e1; }
.pkg ul { margin-bottom: 24px; flex: 1; } .pkg li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; } .is-featured li { border-color: rgba(255, 255, 255, .14); } .pkg li .i { color: var(--teal); margin-top: .25em; } .is-featured li .i { color: var(--yellow); }
.is-featured .add-btn { border-color: var(--yellow); color: var(--yellow); } .is-featured .add-btn:hover { background: var(--yellow); color: var(--teal-ddd); } .is-featured .add-btn[aria-pressed="true"] { background: var(--yellow); color: var(--teal-ddd); }

/* Steps / features / stats / pills */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 50%; background: var(--yellow); color: var(--teal-ddd); font: 800 1.1rem var(--font-head); }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }
.feat-card { display: flex; gap: 14px; align-items: center; padding: 22px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); } .feat-card h3 { margin: 0; font-size: 1.05rem; }
.feat-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--teal); color: var(--yellow); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: .55em; } .ticks .i { color: var(--teal); background: var(--yellow); border-radius: 50%; padding: 3px; width: 1.35em; height: 1.35em; margin-top: .15em; } .ticks { margin: 1.2em 0 1.6em; }
.stats-card { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 26px 22px; border-radius: var(--r); background: var(--cream); } .stat:nth-child(2) { background: var(--teal); color: #fff; } .stat:nth-child(3) { background: var(--teal-dd); color: #fff; } .stat:nth-child(4) { background: var(--yellow); }
.stat b { display: block; font: 800 clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem) var(--font-head); letter-spacing: -.03em; line-height: 1.1; } .stat span { font-size: .9rem; opacity: .85; }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } .pill-row li { padding: 10px 20px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; }
.trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; } .trust li { display: flex; gap: 10px; align-items: flex-start; } .trust .i { flex: none; margin-top: .2em; color: var(--teal-ddd); background: var(--yellow); border-radius: 50%; padding: 4px; width: 1.6em; height: 1.6em; }
.trust b { display: block; font-size: .9rem; line-height: 1.25; color: #fff; } .trust span { font-size: .78rem; color: #9fc0bd; }

/* CTA band */
.cta-band { background: var(--yellow); color: var(--teal-ddd); } .cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(32px, 5vw, 52px); }
.cta-band h2 { margin: 0 0 .2em; } .cta-band p { margin: 0; font-weight: 500; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-dark.on-yellow, .cta-band .btn-ghost-dark { background: rgba(0, 54, 59, .1); }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-size: .84rem; color: #9fc0bd; } .crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; } .crumbs a:hover { color: var(--yellow); } .crumbs [aria-current] { color: #fff; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; } .faq[open] { border-color: var(--teal); box-shadow: var(--sh-1); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 600 1rem var(--font-head); cursor: pointer; list-style: none; min-height: 56px; } .faq summary::-webkit-details-marker { display: none; }
.faq-ico { transition: transform .3s var(--ease); color: var(--teal); flex: none; } .faq[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); } .faq-a p { margin: 0; } .faq.is-hidden { display: none; }

/* Forms */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea, .news input, .custom-add input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus, .news input:focus, .custom-add input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 104, 112, .15); }
.field.invalid input, .field.invalid select { border-color: var(--danger); } .err { display: block; min-height: 1.2em; margin-top: 4px; color: var(--danger); font-size: .8rem; } .field small { color: var(--muted); font-size: .78rem; }
.news input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; } .news input::placeholder { color: #9fc0bd; }
.form-msg { margin: 12px 0 0; min-height: 1.4em; font-weight: 600; font-size: .92rem; } .form-msg.ok { color: var(--ok); } .form-msg.bad { color: var(--danger); } .site-footer .form-msg.ok { color: var(--yellow); } .site-footer .form-msg.bad { color: #ff9a9a; }
.panel { padding: clamp(22px, 3vw, 36px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); border: 1px solid var(--line); } .panel h2 { font-size: 1.6rem; margin-bottom: 18px; }

/* Basket drawer */
.drawer { position: fixed; inset: 0; z-index: 2000; display: flex; justify-content: flex-end; }
.drawer-scrim, .palette-scrim, .lb-scrim { position: absolute; inset: 0; background: rgba(0, 20, 22, .6); backdrop-filter: blur(3px); animation: fade .25s; }
.drawer-panel { position: relative; display: flex; flex-direction: column; width: min(440px, 100%); height: 100%; background: #fff; box-shadow: var(--sh-2); animation: slideIn .3s var(--ease); }
.drawer-panel header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); } .drawer-panel h2 { font-size: 1.3rem; margin: 0; } .drawer-panel .icon-btn:hover { background: var(--cream); }
.drawer-body { flex: 1; overflow: auto; padding: 14px 20px; overscroll-behavior: contain; }
.drawer-panel footer { display: grid; gap: 10px; padding: 16px 20px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--cream-l); text-align: center; }
.b-group { margin-bottom: 18px; } .b-group h4 { margin: 0 0 6px; font: 700 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.b-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; margin-bottom: 6px; border-radius: var(--r-sm); background: var(--cream-l); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; }
.b-item button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--danger); } .b-item button:hover { background: rgba(198, 40, 40, .1); }
.b-empty { padding: 36px 10px; text-align: center; color: var(--muted); } .b-empty b { display: block; color: var(--ink); font: 700 1.2rem var(--font-head); margin-bottom: 6px; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } } @keyframes fade { from { opacity: 0; } }

/* Search palette */
.palette { position: fixed; inset: 0; z-index: 2100; display: flex; justify-content: center; align-items: flex-start; padding: min(12vh, 90px) 16px 16px; }
.palette-box { position: relative; width: min(680px, 100%); max-height: 76vh; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; animation: pop .25s var(--ease); }
@keyframes pop { from { transform: translateY(-12px) scale(.98); opacity: 0; } }
.palette-input { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); font-size: 1.2rem; color: var(--muted); } .palette-input input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; font-size: 1.05rem; background: transparent; color: var(--ink); } .palette-input .icon-btn:hover { background: var(--cream); }
.palette-results { overflow: auto; padding: 8px; overscroll-behavior: contain; }
.pr { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); cursor: pointer; } .pr[aria-selected="true"], .pr:hover { background: var(--cream); }
.pr-k { flex: none; padding: 3px 9px; border-radius: var(--r-pill); background: var(--teal); color: #fff; font: 700 .64rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; } .pr-k.Product { background: #8a6d00; } .pr-k.FAQ { background: #5b6f72; } .pr-k.Package { background: #a2570b; }
.pr b { display: block; font-size: .95rem; line-height: 1.3; } .pr span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.pr-empty { padding: 26px; text-align: center; color: var(--muted); }
.palette-hint { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); background: var(--cream-l); }
.palette-hint kbd { margin: 0 4px 0 10px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 16px; }
.lb-box { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; width: min(980px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); animation: pop .3s var(--ease); }
.lb-art { background: var(--teal-dd); min-height: 320px; } .lb-art .art { height: 100%; }
.lb-info { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; } .lb-info small { color: var(--teal); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; } .lb-info h3 { font-size: 1.7rem; } .lb-info p { color: var(--muted); }
.lb-info .btn { align-self: flex-start; } .lb-nav { display: flex; gap: 8px; margin-top: auto; padding-top: 20px; }
.lb-close { position: absolute; z-index: 2; top: 10px; right: 10px; background: rgba(255, 255, 255, .92); color: var(--teal-dd); }

/* Scroller (touch-friendly carousel) */
.scroller { position: relative; }
.scroller-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.scroller-track::-webkit-scrollbar { display: none; } .scroller-item { scroll-snap-align: start; }
.scroller-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1.5px solid var(--line); -webkit-overflow-scrolling: touch; }
.cmp { min-width: 620px; background: #fff; } .cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; } .cmp thead th { background: var(--cream); font-family: var(--font-head); } .cmp tbody th { font-weight: 600; color: var(--muted); width: 22%; }
.cmp .hl { background: rgba(255, 218, 0, .18); } .cmp tr:last-child > * { border-bottom: 0; }
.calc { margin-top: 28px; padding: 26px; border-radius: var(--r-lg); background: var(--teal-dd); color: #fff; } .calc h3 { margin-bottom: .2em; } .calc p { color: #cfe4e1; margin-bottom: 1em; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .calc label { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-weight: 600; } .calc input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--yellow); height: 30px; } .calc output { color: var(--yellow); font-weight: 800; }
.calc-res { margin: 18px 0 0 !important; font-size: 1.1rem; color: #fff !important; } .calc-res b { color: var(--yellow); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); } .reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; } .prose p { color: var(--muted); }
.art-card { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-2); aspect-ratio: 4 / 3; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; } .swatches span { display: grid; align-content: end; width: 120px; height: 100px; padding: 12px; border-radius: var(--r); background: var(--c); color: #fff; font-size: .8rem; box-shadow: var(--sh-1); } .swatches b { display: block; font-size: .9rem; }

/* Flex children must be allowed to shrink so nowrap chip rails scroll instead of widening the page */
.toolbar > *, .split-head > *, .cta-band .wrap > *, .bar > * { min-width: 0; }
.toolbar .chips { max-width: 100%; }
