/* ============================================================================
 * Sinh Vũ · Tier Cards v1.0
 * 3-tier structure: Starter / Standard / Bespoke
 * Pricing Rule v1.0 · Rule 1
 * ============================================================================ */

.sv-tiers-section {
  background: var(--sv-paper-sunk);
  border-top: 1px solid var(--sv-line);
  border-bottom: 1px solid var(--sv-line);
}

.sv-tiers-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 80px) clamp(16px, 4vw, 32px);
}

.sv-tiers-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.sv-tiers-eyebrow {
  display: inline-block;
  font-family: var(--sv-f-label);
  font-size: 11px;
  font-weight: var(--sv-fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sv-orange-500);
  background: var(--sv-orange-50);
  padding: 6px 14px;
  border-radius: var(--sv-r-full);
  margin-bottom: 16px;
}

.sv-tiers-title {
  font-family: var(--sv-f-display);
  font-weight: var(--sv-fw-extrabold);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.025em;
  color: var(--sv-navy-700);
  line-height: 1.1;
  margin-bottom: 12px;
  text-wrap: balance;
}

.sv-tiers-title em {
  color: var(--sv-orange-500);
  font-style: italic;
}

.sv-tiers-desc {
  font-family: var(--sv-f-body);
  font-size: 16px;
  color: var(--sv-navy-500);
  line-height: var(--sv-lh-loose);
  max-width: 640px;
}

/* ─── Grid ───────────────────────────────────── */
.sv-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .sv-tiers-grid { grid-template-columns: 1fr; }
}

/* ─── Card ───────────────────────────────────── */
.sv-tier {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-r-xl);
  padding: clamp(20px, 3vw, 28px);
  position: relative;
  overflow: hidden;
  transition: all var(--sv-d-base) cubic-bezier(.16, 1, .3, 1);
}

.sv-tier:hover {
  transform: translateY(-4px);
  border-color: var(--sv-orange-300);
  box-shadow: var(--sv-shadow-lg);
}

.sv-tier[data-emphasis="recommended"] {
  border-color: var(--sv-orange-500);
  background: linear-gradient(180deg, var(--sv-orange-50) 0%, white 30%);
}

.sv-tier[data-emphasis="bespoke"] {
  background: linear-gradient(135deg, var(--sv-navy-700), var(--sv-navy-800));
  color: white;
  border-color: var(--sv-navy-700);
}

.sv-tier[data-emphasis="bespoke"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--sv-color-accent-default) 18%, transparent), transparent 50%);
  pointer-events: none;
}

.sv-tier > * { position: relative; z-index: 1; }

/* ─── Header ─────────────────────────────────── */
.sv-tier-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--sv-f-label);
  font-size: 10px;
  font-weight: var(--sv-fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--sv-r-full);
  margin-bottom: 16px;
  width: fit-content;
}

.sv-tier:not([data-emphasis]) .sv-tier-tag {
  background: var(--sv-paper-sunk);
  color: var(--sv-navy-500);
}

.sv-tier[data-emphasis="recommended"] .sv-tier-tag {
  background: var(--sv-orange-100);
  color: var(--sv-orange-700);
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-tag {
  background: color-mix(in srgb, var(--sv-color-accent-default) 18%, transparent);
  color: var(--sv-orange-300);
}

.sv-tier-tag-best {
  background: var(--sv-orange-500) !important;
  color: white !important;
}

.sv-tier-name {
  font-family: var(--sv-f-display);
  font-weight: var(--sv-fw-extrabold);
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--sv-navy-700);
  margin-bottom: 8px;
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-name {
  color: white;
}

.sv-tier-summary {
  font-family: var(--sv-f-body);
  font-size: 13.5px;
  color: var(--sv-navy-500);
  line-height: 1.55;
  margin-bottom: 16px;
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-summary {
  color: color-mix(in srgb, white 70%, transparent);
}

/* ─── Price ──────────────────────────────────── */
.sv-tier-price-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sv-line);
  margin-bottom: 16px;
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-price-block {
  border-bottom-color: color-mix(in srgb, white 15%, transparent);
}

.sv-tier-price {
  font-family: var(--sv-f-display);
  font-style: italic;
  font-weight: var(--sv-fw-bold);
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--sv-orange-700);
  margin-bottom: 4px;
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-price {
  color: var(--sv-orange-300);
  font-size: 24px;
}

.sv-tier-duration {
  font-family: var(--sv-f-mono);
  font-size: 12px;
  color: var(--sv-navy-500);
  font-variant-numeric: tabular-nums;
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-duration {
  color: color-mix(in srgb, white 55%, transparent);
}

/* ─── Includes list ──────────────────────────── */
.sv-tier-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sv-tier-includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--sv-f-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--sv-navy-700);
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-includes li {
  color: color-mix(in srgb, white 85%, transparent);
}

.sv-tier-includes li::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7l3 3 5-6' stroke='%23F47521' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-includes li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7l3 3 5-6' stroke='%23FDBA74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ─── CTA ────────────────────────────────────── */
.sv-tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-family: var(--sv-f-label);
  font-weight: var(--sv-fw-semibold);
  font-size: 14px;
  border-radius: var(--sv-r-md);
  text-decoration: none;
  transition: all var(--sv-d-fast);
}

.sv-tier:not([data-emphasis]) .sv-tier-cta {
  background: var(--sv-navy-700);
  color: white;
}

.sv-tier:not([data-emphasis]) .sv-tier-cta:hover {
  background: var(--sv-orange-500);
  transform: translateY(-1px);
}

.sv-tier[data-emphasis="recommended"] .sv-tier-cta {
  background: var(--sv-orange-500);
  color: white;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--sv-color-accent-default) 32%, transparent);
}

.sv-tier[data-emphasis="recommended"] .sv-tier-cta:hover {
  background: var(--sv-orange-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--sv-color-accent-default) 40%, transparent);
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-cta {
  background: white;
  color: var(--sv-navy-700);
}

.sv-tier[data-emphasis="bespoke"] .sv-tier-cta:hover {
  background: var(--sv-orange-500);
  color: white;
}

/* ─── Note ───────────────────────────────────── */
.sv-tiers-note {
  margin-top: 24px;
  font-family: var(--sv-f-body);
  font-size: 13px;
  color: var(--sv-navy-500);
  line-height: 1.6;
  font-style: italic;
}

.sv-tiers-note a {
  color: var(--sv-orange-700);
  text-decoration: underline;
  font-style: normal;
  font-weight: var(--sv-fw-medium);
}
