/* ==========================================================
   REVIZE MIKLOVIČ – návrhy ceníku (varianty 1–4)
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Přepínač variant */
.vswitch { background: var(--petrol-50); border-bottom: 1px solid var(--line); }
.vswitch .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 14px; font-size: 14.5px; }
.vswitch span { color: var(--ink-3); font-weight: 600; margin-right: 6px; }
.vswitch a { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; transition: background .2s, color .2s; }
.vswitch a:hover { background: var(--petrol); color: #fff; box-shadow: none; }
.vswitch a[aria-current="page"] { background: var(--orange); color: #fff; box-shadow: none; }

.cv-head { grid-template-columns: 1fr; }
.cv-lead { font-size: 18px; max-width: 36em; margin-top: 10px; }
.cv-sub { font-size: 22px; margin: clamp(48px, 6vw, 72px) 0 18px; }
.cv .callout { margin-top: 28px; }
.cv .ic { display: grid; place-items: center; flex: none; }

/* Společný elektrický hover a „světlé → po najetí tmavé“ */
.cv-card { position: relative; isolation: isolate; transition: background-color .35s var(--ease), color .35s, box-shadow .35s, transform .35s var(--ease); }
.cv-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--fx-c), transparent 0 62%, rgba(243,122,43,.5) 74%, #ffb35c 84%, #fff3df 88%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.cv-card:hover::after { opacity: 1; animation: fx-orbit-c 2.4s linear infinite; }
.cv-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(243,122,43,.25), 0 22px 44px -22px rgba(243,122,43,.5); }
.cv-card:hover .ic { animation: fx-ic-flick .7s steps(1, end) both; }
@media (hover: none) { .cv-card:hover { transform: none; } }

/* Kalkulačka – světlé ovládací prvky (sdílené) */
.cv .tool, .cv2-calc { color: var(--ink); }
.cv .seg { background: var(--petrol-50); }

/* ================= V1 – Balíčky ================= */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.plan.hot { box-shadow: 0 0 0 2px var(--orange), 0 24px 50px -26px rgba(243,122,43,.55); background: linear-gradient(180deg, #fff6ef, #fff 40%); }
.plan-top { display: flex; justify-content: space-between; align-items: start; }
.plan .ic { width: 56px; height: 56px; border-radius: 17px; background: var(--petrol-50); color: var(--petrol); }
.plan.hot .ic { background: var(--orange); color: #fff; }
.plan .ic svg { width: 27px; height: 27px; }
.plan h3 { font-size: 25px; margin-top: 14px; }
.plan .d { color: var(--ink-2); font-size: 15.5px; min-height: 3em; }
.plan .pr { margin: 8px 0 6px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.plan .pr small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.plan .pr b { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -0.035em; line-height: 1.05; }
.plan ul { display: grid; gap: 10px; margin: 6px 0 22px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); }
.plan li svg { width: 18px; height: 18px; flex: none; color: var(--orange); margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan:hover { background: #f1f6f7; }
.plan.hot:hover { background: linear-gradient(180deg, #fde7d7, #f8f1ec 40%); }
.plan:hover .ic { background: var(--orange); color: #fff; }

.xtras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.xtra { display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; align-items: center; padding: 20px; border-radius: 20px; background: var(--petrol-50); color: var(--ink); text-decoration: none; }
.xtra .ic { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--petrol); }
.xtra .ic svg { width: 22px; height: 22px; }
.xtra b { display: block; font-size: 16px; } .xtra small { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.35; }
.xtra .p { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin-top: 8px; }
.xtra .p small { display: inline; font-family: var(--font); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-right: 6px; }
.xtra:hover { background: #e2eef1; } .xtra:hover .ic { background: var(--orange); color: #fff; }

.cv1-calc { position: static; margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0; padding: 0; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.cv1-in { padding: clamp(24px, 3vw, 40px); }
.cv1-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.cv1-grid .counter + .counter, .cv1-grid .switch { border-top: 1px solid var(--line); }
.cv1-grid > :nth-child(-n+2) { border-top: 0; }
.cv1-sum { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: clamp(24px, 3vw, 40px); background: linear-gradient(160deg, #fff4ec, #fde6d5); border-radius: 0 28px 28px 0; }
.cv1-sum .ic { width: 56px; height: 56px; border-radius: 17px; background: #fff; color: var(--orange-ink); margin-bottom: auto; }
.cv1-sum .ic svg { width: 26px; height: 26px; }
.cv1-sum .total { border-top: 0; flex-direction: column; align-items: start; gap: 8px; margin-top: 30px; }
.cv1-sum .total .v { font-size: clamp(40px, 4.4vw, 58px); }

/* ================= V2 – Kalkulačka s účtenkou ================= */
.cv2-calc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.cv2-steps { display: grid; gap: 18px; }
.cv2-step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--petrol-50); }
.cv2-step .no { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.cv2-step h3 { font-size: 24px; margin-top: 10px; }
.cv2-step .muted { margin: 4px 0 20px; font-size: 15px; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .2s, background .2s, color .2s, transform .2s var(--ease); }
.opt span svg { width: 26px; height: 26px; color: var(--petrol); margin-bottom: 10px; }
.opt b { font-size: 16.5px; } .opt small { color: var(--ink-3); font-size: 13.5px; }
.opt:hover span { box-shadow: inset 0 0 0 1.5px var(--orange); transform: translateY(-2px); }
.opt input:checked + span { background: #fff4ec; box-shadow: inset 0 0 0 2px var(--orange), 0 14px 30px -16px rgba(243,122,43,.7); }
.opt input:checked + span svg { color: var(--orange-ink); }
.opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.cv2-ctrls { background: #fff; border-radius: 18px; padding: 4px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.cv2-ctrls .counter + .counter, .cv2-ctrls .switch { border-top: 1px solid var(--line); }
.receipt { position: sticky; top: 110px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow);
  -webkit-mask: radial-gradient(circle 9px at 50% 100%, transparent 98%, #000) 0 0 / 22px 100% repeat-x; mask: radial-gradient(circle 9px at 50% 100%, transparent 98%, #000) 0 4px / 22px 100% repeat-x; padding-bottom: 40px; }
.r-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1.5px dashed var(--line-2); }
.r-head .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-100); color: var(--orange-ink); }
.r-head .ic svg { width: 24px; height: 24px; }
.r-head b { display: block; font-family: var(--font-display); font-size: 20px; } .r-head small { color: var(--ink-3); font-size: 13px; }
.r-lines { display: grid; gap: 12px; padding: 18px 0; min-height: 120px; align-content: start; }
.r-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; animation: r-in .35s var(--ease) both; }
.r-lines li span { color: var(--ink-2); } .r-lines li b { white-space: nowrap; }
.r-lines li.empty { color: var(--ink-3); }
@keyframes r-in { from { opacity: 0; transform: translateY(-4px); } }
.receipt .total { margin-top: 0; padding-top: 18px; border-top: 1.5px dashed var(--line-2); }
.receipt .btn { width: 100%; margin-top: 16px; }
.r-tel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--petrol); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.r-tel svg { width: 16px; height: 16px; } .r-tel:hover { color: var(--orange-ink); }
.receipt .total .k, .receipt .disc { color: var(--ink-3); }
.receipt .total .v { color: var(--orange-ink); }
.cv2 .counter .lbl small, .cv2 .switch small { color: var(--ink-3); }
.cv2 .counter .ctl { background: var(--petrol-50); } .cv2 .counter button { color: var(--ink); }
.cv2 .counter button:hover { background: var(--orange); color: #fff; }
.cv2 .switch input { background: var(--line-2); } .cv2 .switch input:checked { background: var(--orange); }
.cv2-menu { padding-top: 0; }
.menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); }
.mrow { display: grid; grid-template-columns: 44px auto 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; position: relative; }
.mrow .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--petrol-50); color: var(--petrol); transition: background .25s, color .25s, transform .35s var(--ease); }
.mrow .ic svg { width: 21px; height: 21px; }
.mrow .mt b { display: block; font-size: 16.5px; } .mrow .mt small { color: var(--ink-3); font-size: 13.5px; }
.mrow .dots { height: 1px; align-self: center; margin-top: 8px; background: radial-gradient(circle, var(--line-2) 1px, transparent 1.5px) 0 0 / 7px 2px repeat-x; height: 2px; }
.mrow .mp { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.mrow::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, var(--orange) 40%, #ffd29a 50%, var(--orange) 60%, transparent) 120% 0 / 220% 100%; opacity: 0; transition: opacity .25s; }
.mrow:hover::before { opacity: 1; animation: fx-line-run 1.4s linear infinite; }
.mrow:hover .ic { background: var(--orange); color: #fff; transform: rotate(-6deg); animation: fx-ic-flick .7s steps(1, end) both; }
.mrow:hover .mp { color: var(--orange-ink); }

/* ================= V3 – Tabulka ================= */
.cv3-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ptable-wrap { border-radius: 24px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; background: #fff; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable thead th { text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 16px 22px; background: var(--petrol-50); font-weight: 700; }
.ptable thead th:last-child { text-align: right; }
.ptable tr.grp th { text-align: left; padding: 22px 22px 8px; font-family: var(--font-display); font-size: 14px; color: var(--orange-ink); font-weight: 600; letter-spacing: .02em; }
.ptable tbody tr:not(.grp) { border-bottom: 1px solid var(--line); transition: background .25s; }
.ptable tbody tr:not(.grp) th { padding: 0; font-weight: 400; text-align: left; }
.ptable tbody th a { display: flex; gap: 14px; align-items: center; padding: 14px 22px; color: inherit; text-decoration: none; }
.ptable .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--petrol-50); color: var(--petrol); transition: background .25s, color .25s; }
.ptable .ic svg { width: 20px; height: 20px; }
.ptable b { display: block; font-size: 16px; } .ptable small { color: var(--ink-3); font-size: 13.5px; }
.ptable td.pre { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: right; padding-right: 6px; white-space: nowrap; }
.ptable td.pr { text-align: right; padding: 14px 22px 14px 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; white-space: nowrap; }
.ptable tbody tr:not(.grp):hover { background: #eef5f6; }
.ptable tbody tr:not(.grp):hover .ic { background: var(--orange); color: #fff; animation: fx-ic-flick .7s steps(1, end) both; }
.ptable tbody tr:not(.grp):hover td.pr { color: var(--orange-ink); }
.incl { position: sticky; top: 110px; padding: 30px; border-radius: 24px; background: #fff4ec; }
.incl h3 { font-size: 24px; }
.incl ul { display: grid; gap: 18px; margin-top: 22px; }
.incl li { display: flex; gap: 14px; }
.incl li .ic { width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--orange-ink); }
.incl li .ic svg { width: 21px; height: 21px; }
.incl li b { display: block; } .incl li small { color: var(--ink-2); font-size: 14.5px; }
.incl .callout { background: #fff; }
.cv3-band { background: var(--petrol-50); }
.cv3-calc { position: static; display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 0; padding: 0; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.cv3-calc > div { padding: 26px; }
.cv3-calc > div + div { border-left: 1px solid var(--line); }
.cv3-calc h2 { font-size: 24px; margin-top: 6px; }
.cv3-calc fieldset { margin-top: 14px; }
.cv3-b, .cv3-c { display: flex; flex-direction: column; justify-content: center; }
.cv3-b .counter + .counter, .cv3-c .switch + .switch { border-top: 1px solid var(--line); }
.cv3-c .switch:first-child { border-top: 0; }
.cv3-d { background: linear-gradient(160deg, #fff4ec, #fde6d5); display: flex; flex-direction: column; justify-content: center; }
.cv3-d .total { margin: 0; padding: 0; border: 0; flex-direction: column; align-items: start; gap: 6px; }
.cv3-d .total .v { font-size: 38px; }

/* ================= V4 – Bento ================= */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-auto-rows: minmax(170px, auto); }
.bt { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; overflow: hidden; }
.bt .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--petrol-50); color: var(--petrol); }
.bt .ic svg { width: 23px; height: 23px; }
.bt-t b { display: block; font-size: 17px; line-height: 1.25; } .bt-t small { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.bt-p { margin-top: auto; font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; line-height: 1.05; }
.bt-p small { display: block; font-family: var(--font); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.bt .go { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .25s, color .25s, transform .3s var(--ease); }
.bt .go svg { width: 16px; height: 16px; }
.bt.b-big { grid-column: span 2; grid-row: span 2; padding: 32px; background: linear-gradient(160deg, var(--petrol-50), #fff 70%); }
.bt.b-big .ic { width: 64px; height: 64px; border-radius: 19px; background: var(--orange); color: #fff; }
.bt.b-big .ic svg { width: 30px; height: 30px; }
.bt.b-big .bt-t b { font-size: clamp(22px, 2.2vw, 30px); margin-top: 18px; font-family: var(--font-display); letter-spacing: -0.02em; }
.bt.b-big .bt-p { font-size: clamp(48px, 5.4vw, 80px); }
.bt.b-hrom { background: linear-gradient(160deg, #fff4ec, #fff 75%); }
.bt.b-hrom .ic { background: var(--orange); color: #fff; }
.bt:hover { background: #f1f6f7; }
.bt.b-big:hover { background: linear-gradient(160deg, #e2eef1, #f4f8f9 70%); }
.bt.b-hrom:hover { background: linear-gradient(160deg, #fde7d7, #f8f4f1 75%); }
.bt:hover .ic { background: var(--orange); color: #fff; }
.bt:hover .go { background: var(--orange); color: #fff; box-shadow: none; transform: rotate(-45deg); }
.bt-calc { grid-column: 3 / span 2; grid-row: 1 / span 4; position: static; padding: 28px; background: #fff; box-shadow: 0 0 0 2px var(--orange), 0 24px 50px -28px rgba(243,122,43,.6); }
.bt-calc h2 { font-size: 26px; }
.bt-calc .counter + .counter, .bt-calc .switch { border-top: 1px solid var(--line); }
.bt-calc .total { border-top: 1px dashed var(--line-2); }
.bt-calc .btn { width: 100%; }
.bento > .bt:not(.b-big):not(.bt-calc) { min-height: 190px; }

/* ================= Responzivita ================= */
@media (max-width: 1100px) {
  .xtras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv3-calc { grid-template-columns: 1fr 1fr; }
  .cv3-calc > div:nth-child(3) { border-left: 0; }
  .cv3-calc > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-calc { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 900px) {
  .plans, .cv1-calc, .cv2-calc, .cv3-grid, .menu { grid-template-columns: minmax(0, 1fr); }
  .cv1-sum { border-radius: 0 0 28px 28px; }
  .receipt, .incl { position: static; }
}
@media (max-width: 640px) {
  .xtras, .cv1-grid, .opts, .cv3-calc { grid-template-columns: minmax(0, 1fr); }
  .cv1-grid > :nth-child(2) { border-top: 1px solid var(--line); }
  .cv3-calc > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cv2-step { grid-template-columns: 1fr; gap: 10px; }
  .cv2-step .no { width: 42px; height: 42px; font-size: 17px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bt.b-big { grid-column: auto; grid-row: auto; }
  .mrow { grid-template-columns: 40px 1fr auto; } .mrow .dots { display: none; }
  .ptable td.pre { display: none; } .ptable tbody th a { padding: 12px 14px; } .ptable td.pr { padding-right: 14px; font-size: 18px; }
  .ptable .ic { display: none; }
  .ptable thead th { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-card::after, .mrow::before { animation: none !important; }
  .cv-card:hover .ic, .mrow:hover .ic, .ptable tr:hover .ic { animation: none !important; }
}
/* opravy */
.bt-calc { grid-row: 1 / span 2; }
.bt-calc:hover, .b-incl:hover { transform: none; }
.bt-calc:hover { background: #fff; }
.b-incl:hover { background: #fff4ec; }
.b-incl { grid-column: span 2; background: #fff4ec; box-shadow: none; }
.b-incl h3 { font-size: 20px; }
.b-incl ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 6px; }
.b-incl li { display: flex; gap: 8px; font-size: 15px; }
.b-incl li svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 2px; }
@media (min-width: 1101px) { .cv3-calc { grid-template-columns: 1.1fr 1.25fr 1.25fr 1fr; } }
@media (max-width: 1100px) { .bt-calc { grid-row: auto; } }
@media (max-width: 640px) { .b-incl { grid-column: auto; } .b-incl ul { grid-template-columns: 1fr; } }
.bt.b-big { grid-row: span 1; min-height: 300px; }
@media (min-width: 1101px) { .bt.b-big { grid-column: 1 / span 2; } .bt.b-big .bt-p { font-size: clamp(44px, 4.4vw, 64px); } }
