@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --primary-light: #fef2f2;
  --navy: #0f172a;
  --medical: #0284c7;
  --medical-light: #e0f2fe;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --wa: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: .2s; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid #f1f5f9; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.top-bar { background: var(--navy); color: #94a3b8; font-size: .8rem; padding: 7px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-bar .info { display: inline-flex; align-items: center; gap: 6px; }
.top-bar a { color: #7dd3fc; font-weight: 700; }
.top-bar a:hover { color: #fff; }
.main-nav { padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-link img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-weight: 600; font-size: .92rem; color: #334155; }
.nav-links a:hover, .nav-links a.is-active { color: var(--primary); }
.mobile-toggle {
  display: none; background: none; border: none; width: 28px; height: 20px;
  flex-direction: column; justify-content: space-between; cursor: pointer;
}
.mobile-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 700; border: none; cursor: pointer;
  padding: 12px 22px; font-size: .95rem; transition: .25s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(220,38,38,.35); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--medical); color: var(--medical); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,.35); }
.btn-wa:hover { filter: brightness(.95); transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }

.hero {
  background:
    radial-gradient(900px 400px at 10% -10%, rgba(220,38,38,.12), transparent 55%),
    radial-gradient(700px 360px at 90% 0%, rgba(2,132,199,.12), transparent 50%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  padding: 3.2rem 0 3.6rem;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: var(--primary);
  border: 1px solid rgba(220,38,38,.2); border-radius: 999px;
  padding: 6px 14px; font-size: .82rem; font-weight: 700; margin-bottom: 1rem;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 0 rgba(220,38,38,.55);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220,38,38,.55); }
  70% { box-shadow: 0 0 0 12px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.18; letter-spacing: -.03em; font-weight: 800; margin-bottom: .9rem;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-lead { color: var(--muted); font-size: 1.08rem; max-width: 38rem; margin-bottom: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 12px; font-size: .82rem; font-weight: 600; color: #334155;
}
.hero-card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 1.4rem; box-shadow: var(--shadow); position: relative;
}
.hero-card .cross {
  width: 72px; height: 72px; border-radius: 18px; background: var(--primary);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.hero-card h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.hero-card p { color: var(--muted); font-size: .95rem; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.1rem; }
.metric { background: var(--bg-subtle); border-radius: 12px; padding: .85rem; }
.metric strong { display: block; font-size: 1.15rem; color: var(--navy); }
.metric span { font-size: .78rem; color: var(--muted); }

.section { padding: 3.4rem 0; }
.section.alt { background: var(--bg-subtle); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.2rem; }
.eyebrow {
  display: inline-flex; background: var(--medical-light); color: var(--medical);
  border: 1px solid rgba(2,132,199,.2); border-radius: 999px;
  padding: 5px 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: .7rem;
}
.section-head h2, .section h2 { font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.02em; font-weight: 800; }
.section-head p { color: var(--muted); margin-top: .6rem; font-size: 1.02rem; }

.badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem;
}
.badge-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 1.1rem; text-align: center; box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.badge-card strong { display: block; font-size: .92rem; line-height: 1.35; }

.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.course {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.course-top {
  background: linear-gradient(135deg, var(--navy), #1e3a5f);
  color: #fff; padding: 1.2rem 1.25rem; position: relative;
}
.course-top.red { background: linear-gradient(135deg, #991b1b, var(--primary)); }
.course-top.blue { background: linear-gradient(135deg, #075985, var(--medical)); }
.course-tag {
  display: inline-block; background: rgba(255,255,255,.15); border-radius: 999px;
  padding: 4px 10px; font-size: .75rem; font-weight: 700; margin-bottom: .55rem;
}
.course-top h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.course-top p { opacity: .88; font-size: .9rem; }
.course-body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .85rem; flex: 1; }
.course-body ul { list-style: none; display: grid; gap: .4rem; color: var(--muted); font-size: .92rem; }
.course-body li::before { content: "✓ "; color: var(--primary); font-weight: 800; }
.course-body .btn { margin-top: auto; width: 100%; }

.legal-box {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.legal-box > p { color: var(--muted); margin: .6rem 0 1.1rem; }
.table-wrap { overflow-x: auto; }
table.isg {
  width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem;
}
table.isg th, table.isg td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
table.isg th { background: var(--navy); color: #fff; font-weight: 700; }
table.isg tr:nth-child(even) td { background: #f8fafc; }
table.isg td strong { color: var(--primary); }

.curriculum {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem;
}
.cur-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.15rem;
}
.cur-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.cur-card p { color: var(--muted); font-size: .92rem; }

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .65rem; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0 .2rem;
}
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 1rem 1.1rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary); font-size: 1.2rem; font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .ans { padding: 0 1.1rem 1.1rem; color: var(--muted); font-size: .95rem; }

.contact {
  background: linear-gradient(135deg, var(--navy), #1e3a5f);
  color: #fff; border-radius: 22px; padding: 1.6rem; display: grid;
  grid-template-columns: 1.05fr .95fr; gap: 1.4rem;
}
.contact h2 { font-size: 1.6rem; margin: .4rem 0 .7rem; }
.contact p { color: #cbd5e1; }
.contact-details { display: grid; gap: .8rem; margin-top: 1.1rem; }
.detail { display: flex; gap: .7rem; align-items: flex-start; }
.detail span { display: block; font-size: .78rem; color: #94a3b8; }
.detail a, .detail strong { color: #fff; font-weight: 700; }
.form-box {
  background: #fff; color: var(--text); border-radius: 16px; padding: 1.25rem;
}
.form-box h3 { margin-bottom: .3rem; }
.form-box .sub { color: var(--muted); font-size: .9rem; margin-bottom: .9rem; }
.form-group { margin-bottom: .75rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; }
.form-input {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: .75rem .85rem; font: inherit; background: #fff;
}
.form-input:focus { outline: 2px solid rgba(2,132,199,.35); border-color: var(--medical); }
.form-note { font-size: .78rem; color: var(--muted); margin-top: .65rem; }

.site-footer { background: #0b1120; color: #94a3b8; padding-top: 3.2rem; margin-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 1.8rem; padding-bottom: 2.2rem;
}
.footer-grid h4 { color: #fff; margin-bottom: .85rem; }
.footer-grid ul { list-style: none; display: grid; gap: .45rem; }
.footer-grid a:hover { color: #7dd3fc; }
.footer-about { font-size: .9rem; line-height: 1.6; margin: .7rem 0 0; }
.footer-bottom {
  background: #070d18; border-top: 1px solid rgba(255,255,255,.06);
  padding: 1rem 0; font-size: .8rem;
}
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.legal-note { color: #64748b; max-width: 46rem; }

.floating-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
}
.floating-wa::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.55);
  animation: waPulse 1.8s infinite;
}
@keyframes waPulse {
  0% { transform: scale(.92); opacity: .9; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}
.floating-wa:hover { transform: scale(1.06); }

@media (max-width: 960px) {
  .hero-grid, .courses, .badges, .curriculum, .contact, .footer-grid { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .mobile-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid #f1f5f9; flex-direction: column;
    padding: 1rem 1.2rem; gap: .9rem; box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .main-nav { position: relative; }
}
@media (max-width: 560px) {
  .badges { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}
