@import url("../styles.css");

.hero.hero-academy {
  position: relative;
  min-height: clamp(500px, 80vh, 620px);
  border-radius: clamp(1.6rem, 3vw, 2.6rem);
  background: radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255, 0.35),
      transparent 55%
    ),
    linear-gradient(135deg, rgba(58, 39, 24, 0.85), rgba(125, 93, 62, 0.8));
  box-shadow: 0 42px 80px rgba(52, 36, 23, 0.2);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

.hero.hero-academy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(255, 178, 102, 0.25),
    transparent 45%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero.hero-academy .hero-content {
  position: relative;
  max-width: 560px;
  padding: clamp(2rem, 6vw, 3.2rem);
  display: grid;
  gap: 1.1rem;
}

.hero.hero-academy .hero-kicker {
  letter-spacing: 0.28em;
}

.hero.hero-academy .hero-cta {
  justify-self: center;
}

.lesson-grid {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lesson-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: clamp(1.4rem, 3vw, 2rem);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid rgba(111, 76, 43, 0.18);
  box-shadow: 0 28px 52px rgba(63, 44, 24, 0.14);
  display: grid;
  gap: 0.9rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lesson-card:hover,
.lesson-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 36px 64px rgba(63, 44, 24, 0.22);
}

.lesson-card h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--accent-dark);
}

.lesson-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
}

.academy-highlight {
  margin-top: clamp(3rem, 8vw, 4.5rem);
}

.highlight-grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: clamp(1.5rem, 4vw, 2.4rem);
  padding: clamp(1.8rem, 5vw, 2.8rem);
  border: 1px solid rgba(111, 76, 43, 0.15);
  box-shadow: 0 32px 60px rgba(63, 44, 24, 0.14);
}

.highlight-text {
  display: grid;
  gap: 1rem;
}

.highlight-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 76, 43, 0.2);
  background: rgba(241, 229, 208, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.highlight-text h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-family: "Marcellus", serif;
  color: var(--accent-dark);
}

.highlight-text p,
.highlight-text li {
  color: var(--text-muted);
  margin: 0;
  font-size: clamp(1rem, 2.3vw, 1.1rem);
}

.highlight-text ul {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.4rem;
}

.highlight-media {
  margin: 0;
  border-radius: clamp(1.2rem, 3vw, 1.8rem);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(63, 44, 24, 0.2);
}

.highlight-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.secrets .section-header {
  max-width: 660px;
  margin-inline: auto;
}

.accordion {
  display: grid;
  gap: clamp(1rem, 3vw, 1.4rem);
  max-width: 760px;
  margin: 0 auto;
}

.accordion-item {
  border-radius: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid rgba(111, 76, 43, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 46px rgba(63, 44, 24, 0.12);
  padding: 0;
  overflow: hidden;
}

.accordion-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.4rem) clamp(1.4rem, 4vw, 2rem);
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-dark);
  list-style: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.accordion-item[open] summary::after {
  transform: rotate(45deg);
}

.accordion-item[open] summary {
  border-bottom: 1px solid rgba(111, 76, 43, 0.16);
  background: rgba(255, 248, 238, 0.8);
}

.accordion-item p {
  margin: 0;
  padding: 0 clamp(1.4rem, 4vw, 2rem) clamp(1.4rem, 4vw, 2rem);
  color: var(--text-muted);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
}

.accordion-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: clamp(1.2rem, 3vw, 1.8rem);
}

@media (max-width: 960px) {
  .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-media img {
    max-height: none;
  }
}

@media (max-width: 720px) {
  .hero.hero-academy {
    min-height: clamp(460px, 86vh, 540px);
  }
}

@media (max-width: 640px) {
  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .accordion {
    gap: 1rem;
  }
}


