/* ==========================================================================
   SHINII pricing + plan estimator  (loaded on the home and pricing pages only)
   Uses the colour tokens defined in site.css (:root).
   Sections: 1 Plan overview · 2 Price table · 3 Included / confirm boxes
             4 Estimator layout · 5 Estimator steps & choice cards
             6 Estimator result panel · 7 Responsive · 8 Reduced motion
   ========================================================================== */

/* 1 · Plan overview cards ------------------------------------------------- */
.plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.plan-card{background:#f1f8ff;border:1px solid #daeaf7;border-radius:19px;padding:24px 18px}
.plan-card>span{font-size:.67rem;letter-spacing:.1em;color:#5180ad;font-weight:850;text-transform:uppercase}
.plan-card h3{margin:9px 0 4px;font-size:1.5rem;color:#0a509b}
.plan-card strong{display:block;color:#1b395b;font-size:.92rem}
.plan-card p{font-size:.8rem;line-height:1.65;margin:11px 0 0}
.plan-note{font-size:.88rem;margin:20px 0 0;max-width:760px}

/* 2 · Price table --------------------------------------------------------- */
.price-table-wrap{border-radius:22px;overflow-x:auto;border:1px solid #d8e8f6;box-shadow:0 12px 38px rgba(11,61,117,.055)}
.shinii-price-table{margin:0;min-width:640px;border-collapse:separate;border-spacing:0}
.shinii-price-table caption{caption-side:bottom;padding:16px 18px;background:#fff;font-size:.78rem;color:#708499}
.shinii-price-table thead th{background:#0a539f;color:#fff;padding:20px 15px;font-size:.94rem;text-align:center;border:0;white-space:nowrap}
.shinii-price-table thead th:first-child{text-align:left}
.shinii-price-table thead th small{display:block;font-weight:500;color:#cce5ff}
.shinii-price-table tbody th,.shinii-price-table tbody td{padding:19px 15px;border-bottom:1px solid #e4edf6;vertical-align:middle}
.shinii-price-table tbody th{background:#f8fbff;color:#1f3853;font-size:.96rem}
.shinii-price-table tbody td{text-align:center;font-size:1.07rem;font-weight:800;color:#123f72;white-space:nowrap}
.shinii-price-table tbody tr:nth-child(even) td{background:#f7fbfe}

/* 3 · What's included / what is confirmed in writing ----------------------- */
.pricing-inclusions{list-style:none;padding:0;display:grid;gap:15px}
.pricing-inclusions li{padding:16px 20px 16px 48px;position:relative;border:1px solid #deeaf4;border-radius:14px;color:#405b74;font-size:.92rem}
.pricing-inclusions li:before{content:'✓';position:absolute;left:16px;top:14px;font-weight:850;color:#0572ba}
.pricing-clarity{background:#fff9ed;padding:36px;border:1px solid #ffe2ab;border-radius:25px}
.pricing-clarity h3{margin-bottom:19px}
.pricing-clarity li{margin:0 0 12px;color:#53697e}
.pricing-clarity p{font-size:.84rem;margin:20px 0 0}
.pricing-faq{max-width:900px;margin-inline:auto}

/* 4 · Estimator layout ----------------------------------------------------- */
.estimator{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);border-radius:32px;overflow:hidden;background:#fff;border:1px solid #dce9f5;box-shadow:0 28px 75px rgba(9,48,100,.11)}
.est-steps{padding:clamp(24px,4vw,46px);min-width:0;display:grid;gap:34px;align-content:start}

/* 5 · Steps and choice cards ----------------------------------------------- */
.est-step-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}
.est-step-head h3{font-size:1.15rem;margin:0 0 2px;color:#14304f}
.est-step-head p{font-size:.84rem;margin:0;color:#64758b}
.est-num{flex:none;width:32px;height:32px;border-radius:50%;background:#0757ad;color:#fff;font-weight:800;font-size:.9rem;display:grid;place-items:center}
.est-fieldset{border:0;padding:0;margin:0;min-width:0}
.est-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.est-systems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.est-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.est-card{display:block;position:relative;margin:0;cursor:pointer;min-width:0}
.est-card input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.est-card-body{display:flex;flex-direction:column;gap:3px;height:100%;padding:14px 12px;border-radius:14px;border:2px solid #dfeaf4;background:#fff;text-align:center;transition:border-color .2s,background .2s,box-shadow .2s}
.est-systems .est-card-body{text-align:left;padding:14px}
.est-card-body b{font-size:.97rem;color:#183b62;white-space:nowrap}
.est-card-body small{font-size:.74rem;color:#677b91;line-height:1.45}
.est-plans .est-card-body small{order:-1;text-transform:uppercase;letter-spacing:.08em;font-weight:750;font-size:.64rem}
.est-card-body strong{font-size:.98rem;color:#0757ad;margin-top:6px}
.est-card:hover .est-card-body{border-color:#78acd8}
.est-card input:checked+.est-card-body{border-color:#0757ad;background:#eaf5ff;box-shadow:0 0 0 3px rgba(7,87,173,.1)}
.est-card input:focus-visible+.est-card-body{outline:3px solid #ffad08;outline-offset:2px}

/* 6 · Result panel --------------------------------------------------------- */
.est-result{min-width:0;padding:clamp(26px,4vw,46px);color:#fff;display:flex;flex-direction:column;background:radial-gradient(ellipse at 102% 8%,rgba(255,184,28,.19),transparent 43%),linear-gradient(150deg,#0a4f9e,#092f65)}
.est-eyebrow{font-size:.72rem;letter-spacing:.15em;font-weight:850;text-transform:uppercase;color:#b6dcff}
.est-plan-name{margin:20px 0 6px;display:grid;gap:2px}
.est-plan-name span:first-child{font-weight:800;font-size:1.12rem;color:#fff}
.est-plan-name span:last-child{font-size:.9rem;color:#cde4fa}
.est-price{font-weight:850;font-size:clamp(2.8rem,5vw,4.1rem);line-height:1.1;letter-spacing:-.06em;overflow-wrap:anywhere}
.est-sub{color:#cee4f9;font-size:.92rem;margin:6px 0 18px}
.est-included{list-style:none;padding:18px 0;margin:0 0 4px;border-block:1px solid rgba(255,255,255,.2);display:grid;gap:10px}
.est-included li{position:relative;padding-left:26px;font-size:.88rem;color:#e6f2ff;line-height:1.5}
.est-included li:before{content:'✓';position:absolute;left:0;top:0;color:#ffca56;font-weight:900}
.est-pay{margin:18px 0 0}
.est-pay div{display:flex;justify-content:space-between;gap:16px;margin:0 0 12px}
.est-pay dt{font-weight:450;color:#bbd5ee;font-size:.88rem}
.est-pay dd{margin:0;font-weight:760;font-size:.95rem;white-space:nowrap}
.est-monthly{margin:10px 0 22px;padding:20px;border-radius:18px;background:rgba(255,255,255,.095);border:1px solid rgba(255,255,255,.18)}
.est-monthly span{display:block;color:#ffca56;font-size:.72rem;letter-spacing:.1em;font-weight:850;text-transform:uppercase}
.est-monthly strong{display:block;font-size:clamp(2rem,4vw,2.8rem);line-height:1.2;letter-spacing:-.05em;margin:6px 0 2px}
.est-monthly small{color:#cce2fa;font-size:.8rem}
.est-cta{width:100%;text-align:center}
.est-fine{font-size:.72rem;line-height:1.65;color:#a9cbe7;margin:18px 0 0}

/* 7 · Responsive ------------------------------------------------------------ */
@media(max-width:1150px){.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.estimator{grid-template-columns:1fr}.est-steps{gap:28px}}
@media(max-width:560px){
  .plan-grid{gap:8px}.plan-card{padding:20px 14px}.plan-card h3{font-size:1.25rem}
  .est-plans{grid-template-columns:repeat(2,minmax(0,1fr))}
  .est-systems .est-card-body small{font-size:.7rem}
  .est-steps,.est-result{padding:22px 18px}
}

/* 8 · Reduced motion --------------------------------------------------------- */
@media(prefers-reduced-motion:reduce){.est-card-body{transition:none}}
