/*
 * education-landing.css — additions on top of /styles/industry-landing.css.
 *
 * Reuses the same .ind-header / .ind-container / .ind-hero / .ind-footer
 * shell. Adds education-specific blocks: hero with form, 3 program cards,
 * 4-step "how we work", who-teaches text, FAQ accordion, final form.
 */

/* ── Hero with primary form ─────────────────────────────────────────── */

.edu-hero {
  padding: 64px 0 48px;
  text-align: center;
}
.edu-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto 14px;
}
.edu-hero__sub {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 32px;
}

.edu-form {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.edu-form h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  text-align: center;
}
.edu-form p.edu-form__sub {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 18px;
  text-align: center;
}
.edu-form__row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.edu-form__row > * { flex: 1 1 220px; min-width: 0; }
.edu-form input,
.edu-form select,
.edu-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color var(--dur-fast) var(--ease-brand);
}
.edu-form input:focus,
.edu-form select:focus,
.edu-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-hover);
}
.edu-form textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.edu-form ::placeholder { color: var(--ink-dim); }
.edu-form button {
  width: 100%;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: var(--r-pill);
  padding: 13px 22px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-brand);
}
.edu-form button:hover { background: var(--accent-hover); }
.edu-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
.edu-form .form-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 13px;
  line-height: 1.5;
  display: none;
}
.edu-form .form-status.is-success {
  display: block;
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid var(--success-soft);
}
.edu-form .form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* ── Programs grid (3 cards) ────────────────────────────────────────── */

.edu-programs {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.edu-programs__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}
.edu-programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: stretch;
}
.edu-program {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.edu-program--accent {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 28px rgba(108, 92, 231, 0.18);
}
.edu-program--featured {
  grid-column: 1 / -1;
  padding: 32px;
}
.edu-program__hook {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.01em;
  margin: 0 0 8px;
  text-transform: none;
}
.edu-program__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}
.edu-program--featured .edu-program__title {
  font-size: 24px;
  margin-bottom: 10px;
}
.edu-program__sub {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
.edu-program__lead {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 18px;
  font-weight: 500;
}
.edu-program__body {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0 0 14px;
}
.edu-program__method-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-light);
  margin: 18px 0 8px;
  letter-spacing: 0.02em;
}
.edu-program__bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.edu-program__bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}
.edu-program__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.edu-program__price {
  font-size: 12px;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ── How we work (4 steps) ──────────────────────────────────────────── */

.edu-how {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.edu-how__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}
.edu-how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.edu-step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
}
.edu-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-light);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.edu-step__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}
.edu-step__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

/* ── Who teaches (text block) ───────────────────────────────────────── */

.edu-teaches {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.edu-teaches__inner {
  max-width: 760px;
  margin: 0 auto;
}
.edu-teaches__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
}
.edu-teaches__inner p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 0 14px;
}

/* ── FAQ accordion ──────────────────────────────────────────────────── */

.edu-faq {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.edu-faq__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}
.edu-faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.edu-faq__item {
  border-bottom: 1px solid var(--border);
}
.edu-faq__item summary {
  padding: 16px 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 36px;
  transition: color var(--dur-fast) var(--ease-brand);
}
.edu-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent-light);
  transition: transform var(--dur-fast) var(--ease-brand);
}
.edu-faq__item[open] summary::after { content: "−"; }
.edu-faq__item summary:hover { color: var(--accent-light); }
.edu-faq__item summary::-webkit-details-marker { display: none; }
.edu-faq__answer {
  padding: 0 8px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ── Final form ─────────────────────────────────────────────────────── */

.edu-final {
  padding: 56px 0 88px;
  border-top: 1px solid var(--border);
}
.edu-final__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.edu-final__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}
.edu-final__sub {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* ── Mobile ─────────────────────────────────────────────────────────── */

@media (max-width: 920px) {
  .edu-programs__grid { grid-template-columns: 1fr; }
  .edu-how__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .edu-how__grid { grid-template-columns: 1fr; }
  .edu-form { padding: 22px 18px; }
}
