/* EmirFX Akademi overrides.
   This file is additive: existing styles.css and technical files remain unchanged. */

.academy-body {
  --academy-ink: #17352d;
  --academy-green: #246151;
  --academy-orange: #e76f3d;
  --academy-cream: #f5f0e5;
  --academy-paper: #fbfaf6;
  --academy-line: #d9ddcf;
  background: var(--academy-paper);
  color: var(--academy-ink);
}

.academy-body .gold-text,
.academy-body .gold-italic {
  color: var(--academy-orange);
}

.academy-body .hero-eyebrow {
  color: var(--academy-orange);
  background: rgba(231, 111, 61, 0.08);
  border-color: rgba(231, 111, 61, 0.25);
}

.academy-body .hero-subtitle {
  color: var(--academy-ink);
}

.academy-body .hero-supporting,
.academy-body .micro-copy,
.academy-body .section-header p {
  color: #5b7069;
}

.academy-body .btn-primary {
  background: var(--academy-ink);
  box-shadow: 0 10px 30px rgba(23, 53, 45, 0.17);
}

.academy-body .btn-primary:hover {
  background: var(--academy-green);
  box-shadow: 0 14px 34px rgba(23, 53, 45, 0.24);
}

.academy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.academy-hero-actions .hero-micro-copy {
  width: 100%;
}

.academy-inline-link {
  color: var(--academy-ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.academy-body .trust-bar {
  background: #fff;
  border-color: var(--academy-line);
  box-shadow: 0 14px 40px rgba(23, 53, 45, 0.06);
}

.academy-body .trust-text {
  color: var(--academy-ink);
}

.academy-body .trust-divider {
  color: #b8c0b8;
}

.academy-hero {
  background:
    radial-gradient(circle at 76% 48%, rgba(36, 97, 81, 0.12), transparent 28rem),
    var(--academy-paper);
}

.academy-hero-card {
  max-width: 520px;
  padding: 18px;
  border: 1px solid var(--academy-line);
  background: #e8efe9;
  display: grid;
  gap: 13px;
  overflow: visible;
}

.academy-lesson-card {
  padding: 27px;
  border: 1px solid rgba(23, 53, 45, 0.12);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 53, 45, 0.08);
}

.academy-lesson-card:nth-child(2) {
  margin-left: 24px;
  background: #f3dfc2;
}

.academy-lesson-card:nth-child(3) {
  margin-left: 48px;
  background: #d7e7df;
}

.academy-lesson-card span {
  color: var(--academy-orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.academy-lesson-card h2 {
  margin: 8px 0 5px;
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.academy-lesson-card p {
  margin: 0;
  color: #61766e;
  font-size: 0.9rem;
}

.academy-body .pain-points {
  background: #fff;
  border-color: var(--academy-line);
}

.academy-body .pain-card {
  background: var(--academy-paper);
  border-color: var(--academy-line);
  color: var(--academy-ink);
}

.academy-body .pain-card::before {
  background: var(--academy-orange);
}

.academy-body .pain-card p {
  color: #5b7069;
}

.academy-body .social-proof {
  background: var(--academy-cream);
}

.academy-article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.academy-article {
  min-height: 310px;
  color: var(--academy-ink);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.academy-article:hover {
  transform: translateY(-4px);
  border-color: var(--academy-orange);
}

.academy-number {
  color: var(--academy-orange);
  font-family: Georgia, serif;
  font-size: 1rem;
}

.academy-article h3 {
  margin: 48px 0 13px;
  font-family: Georgia, serif;
  font-size: 1.7rem;
}

.academy-article p {
  color: #5b7069;
  font-size: 0.92rem;
}

.academy-article strong {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.85rem;
}

.academy-body .solution {
  background: var(--academy-paper);
}

.academy-body .step-item {
  border-color: var(--academy-line);
}

.academy-body .step-number {
  color: var(--academy-orange);
}

.academy-body .step-content p {
  color: #5b7069;
}

.academy-body .faq {
  background: #fff;
}

.academy-body .faq-card {
  background: var(--academy-paper);
  border-color: var(--academy-line);
  color: var(--academy-ink);
}

.academy-body .faq-content {
  color: #5b7069;
}

.academy-cta {
  background: var(--academy-cream);
}

.academy-cta .cta-box {
  background: #fff;
  border-color: var(--academy-line);
  color: var(--academy-ink);
}

.academy-cta .cta-subtitle {
  color: #5b7069;
}

.academy-lead-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: var(--academy-cream);
}

.academy-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(42px, 8vw, 96px);
  align-items: start;
}

.academy-lead-copy h2 {
  margin: 18px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
}

.academy-lead-copy > p {
  color: #516a62;
  font-size: 1.08rem;
  line-height: 1.75;
}

.academy-lead-copy ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.academy-lead-copy li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--academy-line);
  color: #516a62;
  position: relative;
}

.academy-lead-copy li::before {
  position: absolute;
  left: 0;
  color: var(--academy-orange);
  content: "✓";
  font-weight: 900;
}

.academy-lead-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--academy-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 53, 45, 0.09);
}

.academy-field {
  margin-bottom: 18px;
}

.academy-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--academy-ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.academy-field label span {
  color: #74867f;
  font-weight: 500;
}

.academy-field input,
.academy-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #cfd7d0;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--academy-ink);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.academy-field input:focus,
.academy-field select:focus {
  border-color: var(--academy-green);
  box-shadow: 0 0 0 3px rgba(36, 97, 81, 0.12);
}

.academy-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 6px 0 22px;
  color: #61746d;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.55;
}

.academy-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--academy-green);
}

.academy-submit {
  width: 100%;
}

.academy-lead-form > .micro-copy {
  margin: 13px 0 0;
  text-align: center;
}

.academy-footer {
  background: var(--academy-ink);
}

@media (max-width: 900px) {
  .academy-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academy-lead-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .academy-article-grid {
    grid-template-columns: 1fr;
  }

  .academy-lesson-card:nth-child(2),
  .academy-lesson-card:nth-child(3) {
    margin-left: 0;
  }

  .academy-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .academy-hero-actions .btn-primary {
    width: 100%;
  }

  .academy-lead-form {
    padding: 24px 18px;
  }
}

/* Long-form article page */
.academy-article-page {
  padding: 56px 0 100px;
}

.academy-article-header {
  max-width: 850px;
  margin: 0 auto 58px;
  text-align: center;
}

.academy-article-header h1 {
  margin: 16px 0;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
}

.academy-article-header p {
  color: #5b7069;
}

.academy-index {
  max-width: 850px;
  margin: 0 auto 70px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.academy-index a {
  padding: 9px 12px;
  border: 1px solid var(--academy-line);
  border-radius: 999px;
  color: var(--academy-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.academy-prose {
  max-width: 780px;
  margin: 0 auto;
}

.academy-prose article {
  padding: 0 0 80px;
  margin: 0 0 80px;
  border-bottom: 1px solid var(--academy-line);
  scroll-margin-top: 24px;
}

.academy-prose .article-label {
  color: var(--academy-orange);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.academy-prose h2 {
  margin: 16px 0 22px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
}

.academy-prose h3 {
  margin: 34px 0 10px;
  font-size: 1.3rem;
}

.academy-prose p,
.academy-prose li {
  color: #415e55;
  font-size: 1.03rem;
  line-height: 1.78;
}

.academy-prose ul {
  padding-left: 22px;
}

.academy-callout {
  margin: 30px 0;
  padding: 24px 27px;
  border-left: 4px solid var(--academy-green);
  background: #e1eee7;
}

.academy-callout.warning {
  border-left-color: var(--academy-orange);
  background: #f5e5da;
}

.academy-callout strong {
  display: block;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.academy-callout p {
  margin: 0;
}

.academy-source {
  font-size: 0.84rem !important;
}

.academy-source a {
  color: var(--academy-green);
  font-weight: 800;
}
