.pkg-page {
  padding-block: 22px 60px;
}

.pkg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pkg-crumb,
.pkg-plan-head,
.pkg-old,
.pkg-contact,
.pkg-details li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pkg-crumb {
  color: var(--muted);
  font-size: 13px;
}

.pkg-crumb a:hover { color: var(--hot); }
.pkg-intro { margin: clamp(21px, 4vw, 56px) 0 28px; }
.pkg-intro h1 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.35; letter-spacing: -.04em; margin: 0; }
.pkg-intro p { margin: 8px 0 0; color: var(--muted); }
.pkg-fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.pkg-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 19px); }
.pkg-card { position: relative; min-width: 0; cursor: pointer; }
.pkg-card input { position: absolute; opacity: 0; height: 1px; width: 1px; margin: 0; }
.pkg-economic { --pkg-ink: #006a76; --pkg-tint: #e1f7f5; }
.pkg-recommended { --pkg-ink: #5c42aa; --pkg-tint: #efebff; }
.pkg-vip { --pkg-ink: #98431e; --pkg-tint: #ffecd8; }

.pkg-choice {
  display: block;
  height: 100%;
  padding: clamp(16px, 2vw, 30px);
  background: linear-gradient(145deg, var(--pkg-tint), white 76%);
  border: 1.5px solid var(--line);
  border-radius: 22px;
}

.pkg-card:hover .pkg-choice { border-color: var(--pkg-ink); }
.pkg-card input:checked + .pkg-choice { border-color: var(--pkg-ink); box-shadow: inset 0 0 0 1px var(--pkg-ink); }
.pkg-card input:focus-visible + .pkg-choice { outline: 3px solid #2282a0; outline-offset: 4px; }
.pkg-plan-head { gap: 12px; }
.pkg-plan-head strong { font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -.025em; }
.pkg-emblem, .pkg-mark { display: inline-grid; place-items: center; flex: none; }
.pkg-emblem { height: 41px; width: 41px; color: white; background: var(--pkg-ink); border-radius: 14px; }
.pkg-radio { margin-inline-start: auto; width: 20px; height: 20px; border: 2px solid #90999c; border-radius: 50%; background: white; flex: none; }
.pkg-card input:checked + .pkg-choice .pkg-radio { border-color: var(--pkg-ink); background: var(--pkg-ink); box-shadow: inset 0 0 0 3px white; }
.pkg-audience { display: block; margin-top: 9px; color: #4d5c60; }
.pkg-price { display: block; margin-block: 15px 4px; font-weight: 650; }
.pkg-price strong { display: block; font-size: clamp(1.08rem,2.2vw,1.65rem); line-height: 1.5; font-weight: 850; overflow-wrap: anywhere; }
.pkg-old { flex-wrap: wrap; gap: 7px 12px; font-size: 12px; }
.pkg-old del { color: #626b6e; }
.pkg-saving { padding: 2px 8px; border-radius: 6px; color: var(--pkg-ink); background: var(--pkg-tint); font-weight: 650; }
.pkg-details, .pkg-matrix { margin-block-start: 22px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.pkg-details { padding: clamp(18px, 2vw, 30px); }
.pkg-details-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pkg-order h2 { margin: 0; font-size: clamp(19px, 2vw, 27px); letter-spacing: -.03em; }
.pkg-details-top p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.pkg-details-top strong { color: var(--ink); }
.pkg-contact { min-height: 44px; padding: 9px 15px; justify-content: center; background: var(--ink); color: white; border-radius: 11px; font-weight: 700; }
.pkg-contact:hover { background: #344a50; }
.pkg-details ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; margin: 18px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; }
.pkg-details li { color: #38484c; font-size: 14px; }
.pkg-details li svg { color: #146e65; }
.pkg-matrix { overflow: hidden; margin-bottom: 25px; }
.pkg-matrix h2 { padding: 16px clamp(18px, 2vw, 30px); }
.pkg-matrix table { border-collapse: collapse; width: 100%; table-layout: fixed; text-align: center; }
.pkg-matrix th, .pkg-matrix td { border-top: 1px solid var(--line); padding: 11px 6px; }
.pkg-matrix th:first-child { text-align: start; padding-inline-start: clamp(12px, 2vw, 30px); width: 45%; }
.pkg-matrix thead { background: #f8f7f3; color: #505b5e; }
.pkg-matrix tbody th { font-weight: 550; }
.pkg-mark { width: 26px; height: 26px; border-radius: 8px; color: #798085; }
.pkg-included { background: #e2f7ee; color: #14674e; }

@media (max-width: 760px) {
  .pkg-choices { grid-template-columns: 1fr; }
  .pkg-choice { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 15px; border-radius: 15px; }
  .pkg-plan-head { grid-column: 1 / -1; }
  .pkg-emblem { width: 34px; height: 34px; border-radius: 11px; }
  .pkg-price { grid-column: 1 / -1; grid-row: 3; margin: .3em 0 0; font-size: 13px; }
  .pkg-price strong { display:inline; margin-inline-start:.4em; font-size: 1.12rem; }
  .pkg-audience { grid-column: 1; grid-row: 2; margin: 0; font-size: 13px; }
  .pkg-old { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .pkg-details-top { align-items: stretch; flex-direction: column; }
  .pkg-details ul { grid-template-columns: 1fr; }
  .pkg-matrix th, .pkg-matrix td { font-size: 12px; }
  .pkg-matrix th:first-child { width: 44%; }
  .pkg-page { padding-block-end: 30px; }
}

.pkg-intro {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch;
  margin: 16px 0 22px; overflow: hidden;
  border: 1px solid #dcd9f3; border-radius: 23px; background: linear-gradient(135deg,#e8ecff,#f7f7ff);
}
.pkg-intro-copy { padding: clamp(18px,3.2vw,43px); align-self: center; min-width: 0; }
.pkg-intro h1 { font-size: clamp(1.9rem,3.5vw,3.25rem); }
.pkg-hero-image { align-self: stretch; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.pkg-shortcuts { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }
.pkg-shortcuts button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 7px 13px; color: #524193; background: transparent; border: 0; border-radius: 10px; font: inherit; cursor: pointer;
}
.pkg-shortcuts [data-pkg-select] { color: white; background: #48368b; font-weight: 700; }
.pkg-order { margin-block-start: clamp(19px,3vw,36px); }
.pkg-order > h2 { margin-block-end: 12px; font-size: 1.34rem; scroll-margin-block-start: 5rem; }
.pkg-reviews { padding: 0 clamp(12px,2vw,24px) 8px; }
.pkg-reviews summary { min-height: 44px; padding-block: 9px; color: #53408e; font-weight: 690; cursor: pointer; }
.pkg-contact { margin-top: 20px; width: fit-content; min-height: 46px; }
.pkg-matrix th:not(:first-child) { overflow-wrap: anywhere; }
@media (max-width:760px) {
  .pkg-intro { grid-template-columns: minmax(0,1fr); }
  .pkg-hero-image { grid-row: 1; height: clamp(152px,44vw,275px); }
  .pkg-intro-copy { padding: 18px; }
  .pkg-contact { width: 100%; }
}
@media (max-width:400px) {
  .pkg-matrix th, .pkg-matrix td { padding-inline: 3px; }
  .pkg-matrix th:first-child { width: 40%; }
}
.pkg-order-total { margin-top: 18px; }
.pkg-order-total > p {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted);
}
.pkg-order-total > p strong { color: var(--ink); font-size: 1.15rem; }
