.plan-page {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}

.plan-hero {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.plan-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 1rem;
}

.plan-layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 360px);
  gap: 1.25rem;
  align-items: start;
}

.plan-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.4rem 1.5rem;
}

.plan-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.plan-panel-head .plan-ic {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 0, 0.25);
}

.plan-panel-head h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.plan-panel-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.plan-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.plan-includes li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.plan-section {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.plan-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 1.02rem;
  margin: 0 0 0.65rem;
}

.plan-section-title .plan-ic-sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.plan-field {
  margin-bottom: 1.1rem;
}

.plan-field:last-child {
  margin-bottom: 0;
}

.plan-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.plan-field output {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 700;
}

.plan-field input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
}

.plan-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25);
}

.plan-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #fff;
}

.plan-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.plan-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.plan-option:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.plan-option:has(input:checked) {
  border-color: rgba(255, 107, 0, 0.45);
  background: rgba(255, 107, 0, 0.08);
}

.plan-option-locked {
  cursor: default;
  opacity: 0.92;
  background: rgba(255, 255, 255, 0.03);
}

.plan-option-locked:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.plan-lock-check {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #0b1120;
  background: var(--accent);
}

.plan-plat-volume {
  margin: -0.15rem 0 0.55rem 0.35rem;
  padding: 0.75rem 0.9rem;
  border-left: 2px solid rgba(255, 107, 0, 0.45);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.plan-option input {
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.plan-option-body {
  flex: 1;
  min-width: 0;
}

.plan-option-body strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.plan-option-body span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.plan-option-meta {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.plan-total-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-total {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.35rem;
}

.plan-addon-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.65rem 0 0;
  line-height: 1.45;
}

.plan-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.plan-summary-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.plan-summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.plan-summary-list li::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.plan-total-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.plan-includes-label {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-disclaimer {
  font-size: 0.75rem;
  color: var(--subtle);
  margin-top: 1rem;
  line-height: 1.45;
}

.plan-form {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.plan-form .plan-form-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
}

.plan-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.plan-form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.plan-form-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text);
  font: inherit;
}

.plan-form-field input::placeholder {
  color: var(--subtle);
}

.plan-form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.plan-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.plan-form .btn {
  width: 100%;
  margin-top: 0.25rem;
  justify-content: center;
}

.plan-wa {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.15rem;
}

.plan-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.plan-custom-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.plan-custom-row input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text);
  font: inherit;
}

.plan-custom-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.plan-custom-row .btn {
  white-space: nowrap;
}

.plan-chip-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 0, 0.35);
  background: rgba(255, 107, 0, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
}

.plan-chip button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.2rem;
}

.plan-chip button:hover {
  color: var(--text);
}

.plan-quote-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .plan-layout {
    grid-template-columns: 1fr;
  }
  .plan-sticky {
    position: static;
  }
}
