﻿/* Pricing section — shared partial (home, event category, etc.) */

section.block.pricing {
  padding: 120px 0;
  padding-top: 0;
  background: var(--bg);
}

section.block.pricing .block-head {
  text-align: center;
  margin-bottom: 72px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 0 60px;
}

section.block.pricing .block-head .eyebrow {
  margin-bottom: 24px;
}

section.block.pricing .block-head h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-variation-settings: "opsz" 96;
}

section.block.pricing .block-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
}

section.block.pricing .block-head p {
  font-size: 18px;
  color: var(--ink-2);
}

section.block.pricing .price-toggle-wrap {
  display: flex;
  justify-content: center;
}

section.block.pricing .price-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  padding: 5px;
  margin: 0 auto 40px;
  box-shadow: var(--shadow-xs);
}

section.block.pricing .price-toggle button {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

section.block.pricing .price-toggle button:hover {
  color: var(--ink);
}

section.block.pricing .price-toggle button.active {
  background: var(--ink);
  color: #fff;
}

section.block.pricing .price-panel {
  display: none;
}

section.block.pricing .price-panel.active {
  display: block;
}

section.block.pricing .price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

section.block.pricing .plan {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 22px;
  padding: 32px 26px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

section.block.pricing .plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

section.block.pricing .plan.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: rotate(-1.2deg);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

section.block.pricing .plan.featured:hover {
  transform: rotate(-1.2deg) translateY(-4px);
}

section.block.pricing .plan.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 204, 0, 0.12), transparent 50%);
  border-radius: 22px;
  pointer-events: none;
}

section.block.pricing .plan-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

section.block.pricing .plan.featured .plan-tag {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 5px 11px;
  border-radius: 999px;
}

section.block.pricing .plan h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

section.block.pricing .plan.featured h3 {
  color: #fff;
}

section.block.pricing .plan .price {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 6px;
}

section.block.pricing .plan.featured .price {
  color: var(--accent);
}

section.block.pricing .plan .price .currency {
  font-size: 24px;
  font-weight: 600;
  vertical-align: top;
  margin-right: 2px;
}

section.block.pricing .plan .price .period {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 6px;
}

section.block.pricing .plan.featured .price .period {
  color: #a8a79f;
}

section.block.pricing .plan .sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

section.block.pricing .plan.featured .sub {
  color: #a8a79f;
}

section.block.pricing .plan ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

section.block.pricing .plan ul li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 9px 0;
  border-top: 1px dashed var(--rule);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

section.block.pricing .plan.featured ul li {
  color: #cdcbc2;
  border-top-color: #2a2823;
}

section.block.pricing .plan ul li::before {
  content: "\2713";
  color: var(--accent-deep);
  font-weight: 800;
  flex-shrink: 0;
}

section.block.pricing .plan.featured ul li::before {
  color: var(--accent);
}

section.block.pricing .plan ul li:first-child {
  border-top: none;
  padding-top: 0;
}

section.block.pricing .plan .btn {
  width: 100%;
  justify-content: center;
}

section.block.pricing .pricing-foot {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--ink-3);
}

section.block.pricing .pricing-foot a {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}

section.block.pricing .commercial-form {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 22px;
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}

section.block.pricing .commercial-form-head {
  text-align: center;
  margin-bottom: 32px;
}

section.block.pricing .commercial-form-head h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin: 0 0 10px;
}

section.block.pricing .commercial-form-head p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 520px;
}

section.block.pricing .commercial-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

section.block.pricing .commercial-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

section.block.pricing .commercial-form .form-field.full {
  grid-column: 1 / -1;
}

section.block.pricing .commercial-form .form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

section.block.pricing .commercial-form .form-field input,
section.block.pricing .commercial-form .form-field select,
section.block.pricing .commercial-form .form-field textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--rule-3);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

section.block.pricing .commercial-form .form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

section.block.pricing .commercial-form .form-field input::placeholder,
section.block.pricing .commercial-form .form-field textarea::placeholder {
  color: var(--ink-4);
  font-weight: 400;
}

section.block.pricing .commercial-form .form-field input:focus,
section.block.pricing .commercial-form .form-field select:focus,
section.block.pricing .commercial-form .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}

section.block.pricing .commercial-form .form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%237C766B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

section.block.pricing .commercial-form .form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
  gap: 20px;
}

section.block.pricing .commercial-form .form-foot .helper {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  section.block.pricing .price-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  section.block.pricing .plan.featured {
    transform: none;
  }

  section.block.pricing .plan.featured:hover {
    transform: translateY(-4px);
  }

  section.block.pricing .commercial-form {
    padding: 36px 32px;
  }
}

@media (max-width: 760px) {
  section.block.pricing {
    padding: 80px 0;
    padding-top: 0;
  }

  section.block.pricing .block-head {
    padding: 60px 0 40px;
    margin-bottom: 48px;
  }

  section.block.pricing .price-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  section.block.pricing .commercial-form {
    padding: 28px 22px;
  }

  section.block.pricing .commercial-form .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  section.block.pricing .commercial-form .form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  section.block.pricing .commercial-form .form-foot .btn {
    width: 100%;
    justify-content: center;
  }
}
