.academia-section {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 11vw, 160px) 0 clamp(82px, 9vw, 130px);
  background:
    radial-gradient(circle at 18% 10%, rgba(212, 175, 55, 0.22), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(212, 175, 55, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.14), rgba(5, 5, 5, 0.28));
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.academia-bg-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 48%, rgba(0, 0, 0, 0.2)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px);
  pointer-events: none;
}

.academia-container {
  position: relative;
  z-index: 1;
}

.academia-content {
  text-align: center;
}

.academia-content > .locales-premium-tag {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 12px 22px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.42);
  color: #f5d971;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26), 0 0 28px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(10px);
}

.academia-content > h2 {
  display: block !important;
  max-width: min(980px, 100%);
  margin: 18px auto clamp(40px, 5vw, 72px);
  color: #fff6c9;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  line-height: 0.9;
  white-space: normal;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: stretch;
  perspective: 1400px;
  perspective-origin: 50% 35%;
}

.price-card,
.service-list article,
.contact-form {
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(24, 24, 24, 0.88);
}

.price-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --base-lift: 0px;
  --hover-lift: 0px;
  --reveal-lift: 0px;
  --glow-x: 50%;
  --glow-y: 0%;
  position: relative;
  min-height: 460px;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  transform: translateY(calc(var(--base-lift) + var(--hover-lift) + var(--reveal-lift))) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  will-change: transform;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  isolation: isolate;
  backdrop-filter: blur(10px);
}

.price-card.reveal {
  --reveal-lift: 34px;
  opacity: 0;
  transform: translateY(calc(var(--base-lift) + var(--hover-lift) + var(--reveal-lift))) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.academia-section .price-card.reveal {
  --reveal-lift: 0px;
  opacity: 1;
}

.price-card.reveal.visible {
  --reveal-lift: 0px;
  opacity: 1;
  transform: translateY(calc(var(--base-lift) + var(--hover-lift) + var(--reveal-lift))) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.price-card::before,
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: -1;
}

.price-card::before {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 228, 151, 0.3), transparent 36%),
    linear-gradient(135deg, rgba(201, 168, 76, 0.18), transparent 44%);
}

.price-card::after {
  inset: 1px;
  border: 1px solid rgba(255, 232, 166, 0.14);
  transform: translateZ(-24px);
}

.price-card:hover,
.price-card.is-tilting {
  --hover-lift: -10px;
  border-color: rgba(201, 168, 76, 0.72);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.58), 0 0 46px rgba(201, 168, 76, 0.16);
}

.price-card:hover::before,
.price-card:hover::after,
.price-card.is-tilting::before,
.price-card.is-tilting::after {
  opacity: 1;
}

.price-card.featured {
  --base-lift: -14px;
  background:
    linear-gradient(180deg, rgba(201, 168, 76, 0.24), rgba(24, 24, 24, 0.92)),
    rgba(24, 24, 24, 0.9);
  border-color: rgba(201, 168, 76, 0.78);
  box-shadow: 0 32px 82px rgba(0, 0, 0, 0.48), 0 0 46px rgba(201, 168, 76, 0.12);
}

.price-card.featured:hover,
.price-card.featured.is-tilting {
  --hover-lift: -14px;
}

.price-card > * {
  position: relative;
  transform-style: preserve-3d;
}

.badge {
  display: inline-block;
  align-self: center;
  margin: 0 0 18px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: #f7e08a;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transform: translateZ(52px);
}

.price-card h3,
.service-list h3 {
  margin: 0 0 18px;
  color: #fff6c9;
  font-family: Arial, sans-serif;
  font-size: clamp(1.55rem, 1.8vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.14);
}

.price-card h3 {
  transform: translateZ(34px);
}

.price-card strong {
  display: block;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: clamp(2.3rem, 3vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 24px;
  text-align: center;
  transform: translateZ(48px);
}

.price-card p,
.price-card li,
.service-list p {
  color: rgba(245, 239, 226, 0.78);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.price-card p,
.price-card ul {
  transform: translateZ(24px);
}

.price-card ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 10px 0 30px;
  list-style: none;
  text-align: left;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.52);
}

.price-card .hero-actions {
  margin-top: auto;
  transform: translateZ(42px);
}

.price-card .button {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4af37;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37, #f7e08a);
  color: #080808;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.price-card .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(212, 175, 55, 0.28);
}

@media (max-width: 980px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    --base-lift: 0px;
  }
}
