:root {
  --api-navy: #15233f;
  --api-blue: #1769aa;
  --api-green: #198754;
  --api-gold: #f5a623;
  --api-ink: #182230;
  --api-muted: #5d6978;
  --api-soft: #f4f7fb;
  --api-border: #dfe6ef;
}

.api-home { color: var(--api-ink); background: #fff; }
.api-home h1, .api-home h2, .api-home h3 { color: var(--api-ink); letter-spacing: -.02em; }
.api-home a:focus, .api-home button:focus, .api-home input:focus { outline: 3px solid #ffbf47; outline-offset: 3px; }
.api-home .container { background: transparent; }

.api-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 90px 0;
  color: #fff;
  background: linear-gradient(90deg, rgba(13, 30, 55, .96) 0%, rgba(13, 30, 55, .86) 48%, rgba(13, 30, 55, .25) 100%), url('../images/banner01.jpg') center/cover no-repeat;
}
.api-hero__content { position: relative; z-index: 1; }
.api-eyebrow { margin: 0 0 12px; color: var(--api-blue); font: 700 13px/1.4 Lato, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.api-hero .api-eyebrow, .api-section-heading--light .api-eyebrow, .api-final-cta .api-eyebrow { color: #ffcb6b; }
.api-hero h1 { max-width: 780px; margin: 0 0 22px; color: #fff; font-size: clamp(40px, 6vw, 68px); line-height: 1.06; }
.api-hero__lead { max-width: 700px; margin-bottom: 28px; color: #edf3fa; font-size: 20px; line-height: 1.65; }
.api-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.api-actions .btn { min-height: 48px; padding: 14px 22px; border-radius: 5px; font-weight: 700; }
.api-btn-whatsapp { color: #fff !important; border-color: var(--api-green) !important; background: var(--api-green) !important; }
.api-btn-whatsapp:hover { border-color: #12683f !important; background: #12683f !important; }
.api-hero__benefits { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; padding: 0; color: #fff; list-style: none; }
.api-hero__benefits .fas { margin-right: 7px; color: #69d29c; }

.api-paths, .api-courses, .api-testimonials, .api-news { padding: 80px 0; }
.api-paths { background: var(--api-soft); }
.api-section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.api-section-heading h2 { margin: 0 0 12px; font-size: 38px; line-height: 1.2; }
.api-section-heading p:last-child { color: var(--api-muted); font-size: 17px; }
.api-section-heading--split { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 30px; text-align: left; }
.api-section-heading--split > div { max-width: 720px; }
.api-text-link { color: var(--api-blue); font-weight: 700; white-space: nowrap; }

.api-paths__grid { display: flex; flex-wrap: wrap; }
.api-paths__grid > div { display: flex; }
.api-path-card { width: 100%; padding: 30px; border: 1px solid var(--api-border); border-radius: 8px; background: #fff; box-shadow: 0 12px 36px rgba(25, 45, 75, .07); }
.api-path-card__icon { display: inline-grid; width: 54px; height: 54px; margin-bottom: 16px; place-items: center; border-radius: 50%; color: #fff; background: var(--api-blue); font-size: 22px; }
.api-path-card h3 { margin: 0 0 10px; font-size: 23px; }
.api-path-card p { margin: 0; color: var(--api-muted); line-height: 1.65; }

.api-course-grid { display: flex; flex-wrap: wrap; row-gap: 28px; }
.api-course-grid > div { display: flex; }
.api-course-card { display: flex; overflow: hidden; width: 100%; flex-direction: column; border: 1px solid var(--api-border); border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgba(25, 45, 75, .08); transition: transform .2s ease, box-shadow .2s ease; }
.api-course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(25, 45, 75, .14); }
.api-course-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--api-soft); }
.api-course-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.api-course-card:hover .api-course-card__image img { transform: scale(1.025); }
.api-course-card__body { display: flex; padding: 24px; flex: 1; flex-direction: column; }
.api-course-card__meta { margin-bottom: 8px; color: var(--api-blue); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.api-course-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; }
.api-course-card h3 a { color: inherit; }
.api-course-card__teacher { margin-bottom: 8px; color: var(--api-muted); }
.api-course-card__price { margin: auto 0 18px; padding-top: 10px; color: var(--api-navy); font-size: 23px; font-weight: 800; }
.api-course-card__actions { display: flex; gap: 8px; }
.api-course-card__actions .btn { flex: 1; border-radius: 4px; }
.api-empty-state { width: 100%; padding: 28px; border-radius: 8px; text-align: center; background: var(--api-soft); }

.api-trust { padding: 72px 0; color: #fff; background: var(--api-navy); }
.api-section-heading--light h2 { color: #fff; }

.api-testimonials { background: var(--api-soft); }
.api-testimonial { height: 100%; margin: 0 0 24px; padding: 28px; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(25, 45, 75, .07); }
.api-testimonial > p { color: #344154; font-size: 17px; line-height: 1.75; }
.api-testimonial footer { display: flex; align-items: center; gap: 12px; color: var(--api-ink); background: transparent; }
.api-testimonial img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.api-testimonial cite { font-style: normal; font-weight: 700; }

.api-news-card { overflow: hidden; margin-bottom: 24px; border: 1px solid var(--api-border); border-radius: 8px; background: #fff; }
.api-news-card > a { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--api-soft); }
.api-news-card img { width: 100%; height: 100%; object-fit: cover; }
.api-news-card__body { padding: 22px; }
.api-news-card time { color: var(--api-muted); font-size: 13px; }
.api-news-card h3 { margin: 8px 0 10px; font-size: 21px; line-height: 1.35; }
.api-news-card h3 a { color: inherit; }
.api-news-card p { margin: 0; color: var(--api-muted); }

.api-final-cta { padding: 55px 0; color: #fff; background: linear-gradient(115deg, var(--api-blue), #0d4776); }
.api-final-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.api-final-cta h2 { margin: 0 0 10px; color: #fff; font-size: 34px; }
.api-final-cta p { margin: 0; color: #e5f1fb; }
.api-final-cta .btn-default { color: var(--api-navy); border-color: #fff; background: #fff; }
@media (max-width: 767px) {
  .api-hero { min-height: auto; padding: 70px 0; background-position: 62% center; }
  .api-hero h1 { font-size: 39px; }
  .api-hero__lead { font-size: 17px; }
  .api-actions, .api-actions .btn { width: 100%; }
  .api-paths, .api-courses, .api-testimonials, .api-news { padding: 55px 0; }
  .api-section-heading h2 { font-size: 31px; }
  .api-section-heading--split, .api-final-cta .container { display: block; }
  .api-section-heading--split .api-text-link { display: inline-block; margin-top: 12px; }
  .api-paths__grid > div { margin-bottom: 16px; }
  .api-course-card__actions { flex-direction: column; }
  .api-final-cta .api-actions { margin-top: 24px; }
}

@media (min-width: 768px) {
  .api-home { padding-top: 0; }
  .api-hero { padding-top: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  .api-course-card, .api-course-card__image img { transition: none; }
}
