:root {
  --primary: #367191;
  --secondary: #15284b;
  --accent: #fdb515;
  --text: #17202f;
  --muted: #5a6373;
  --bg: #f4f6fb;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(23, 32, 47, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.underline {
  text-decoration: underline;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e6ef;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 700;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

.header-cta {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(22, 64, 102, 0.18);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(23, 32, 47, 0.15);
  color: var(--text);
  background: #fff;
}

.btn--reverse {
  background: var(--accent);
  color: var(--secondary);
}

.btn--large {
  padding: 0.85rem 1.75rem;
}

.hero {
  background-image: linear-gradient(130deg, #0b1c3c, #1d4c6e 60%, #367191);
  color: #fff;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-layout {
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-text {
  max-width: 680px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-highlights li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 35px 60px rgba(9, 11, 30, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.info-bar {
  margin-top: -3.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.info-item {
  background: var(--card);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.info-item--accent {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
}

.info-item .label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.info-item--accent .label {
  color: rgba(255, 255, 255, 0.8);
}

.info-item .value {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.info-item .meta {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.info-item--accent .meta,
.info-item--accent .text-link {
  color: rgba(255, 255, 255, 0.9);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.section {
  padding: 4.5rem 0;
}

.section-gray {
  background: #fdfdfd;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--secondary);
}

.rich-text p {
  margin-bottom: 1rem;
}

.rich-text ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(54, 113, 145, 0.2);
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}

.stat-card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-copy {
  margin: 0.5rem 0 1rem;
}

.section-cta {
  margin-top: 2rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-grid.four-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card h3 {
  margin-top: 0;
  color: var(--secondary);
}

.card ul {
  padding-left: 1.2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial-card img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .meta {
  color: var(--muted);
  margin: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.checklist li {
  padding-left: 2rem;
  position: relative;
}

.checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(23, 32, 47, 0.15);
}

.schedule-list li strong {
  color: var(--secondary);
  font-size: 1.1rem;
}

.schedule-list li span {
  font-weight: 600;
  color: var(--primary);
}

.accordion details {
  border: 1px solid #e0e5f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  background: #fff;
  box-shadow: 0 10px 25px rgba(19, 34, 68, 0.05);
}

.accordion details + details {
  margin-top: 1rem;
}

.accordion summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--secondary);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.profile-card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card img {
  border-radius: 12px;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.profile-card .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.icon-card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.icon-card img {
  height: 56px;
  margin: 0 auto 1rem;
}

.video-wrapper {
  width: 100%;
  max-width: 560px;
}

.video-wrapper video {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #000;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split-media img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 600;
}

.note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--primary);
  background: #eef4fb;
  border-radius: 12px;
}

.card.highlight {
  background: linear-gradient(120deg, var(--secondary), var(--primary));
  color: #fff;
}

.card.highlight .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.accent-text {
  color: #fdb515 !important;
  font-size: 1.35rem;
  font-weight: 700;
  display: inline-block;
}

.calendar-layout {
  align-items: center;
}

.calendar-media {
  text-align: center;
}

.calendar-media img {
  width: 100%;
  max-width: 280px;
  display: inline-block;
}

.note-text {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.brochure-section {
  background: #fff;
}

.lead-form {
  background: #f8fbff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-weight: 600;
  color: var(--secondary);
  gap: 0.35rem;
}

.lead-form input,
.lead-form select {
  border: 1px solid rgba(23, 32, 47, 0.2);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-row > label {
  flex: 1;
}

.option-group {
  display: flex;
  gap: 1rem;
}

.option-group label {
  flex-direction: row;
  align-items: center;
  font-weight: 500;
}

.option-group input {
  width: auto;
  margin-right: 0.4rem;
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.form-message {
  font-weight: 600;
  color: var(--secondary);
}

.form-message.success {
  color: #1f9c2f;
}

.form-message.warning {
  color: #c25400;
}

.card.reimbursement {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.card.reimbursement .btn {
  flex-shrink: 0;
}

.lead-form {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover, .profile-card:hover, .icon-card:hover, .card.highlight:hover, .card.reimbursement:hover, .lead-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(23, 32, 47, 0.18);
}

.payment-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.payment-links .btn {
  flex: 1 1 220px;
  justify-content: center;
  min-width: 220px;
  max-width: 260px;
}

.social-links {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(21, 40, 75, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(21, 40, 75, 0.2);
}

.social-band {
  background: #f1f5fb;
  padding: 1.2rem 0;
}

.social-band .social-links {
  justify-content: center;
}

.social-band .social-links span {
  font-weight: 600;
  color: var(--secondary);
}

.table-wrapper {
  overflow-x: auto;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

table th,
table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e4e8f0;
}

table th {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

table tr:last-child td {
  border-bottom: none;
}

.course-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--secondary);
}

.course-name img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(21, 40, 75, 0.1);
  background: #fff;
  padding: 4px;
}

.section-cta {
  background: linear-gradient(120deg, var(--secondary), var(--primary));
  color: #fff;
}

.section-cta .section-heading h2 {
  color: #fff;
}

.section-cta .section-heading p {
  color: rgba(255, 255, 255, 0.85);
  word-break: break-word;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  margin-top: 3rem;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-cta {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 0;
  }

  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-card img {
  margin: 0 auto;
}

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

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .header-cta .btn,
  .payment-links .btn {
    width: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto;
  }

  .hero-media img {
    max-width: 280px;
    margin: 0 auto;
  }

  .payment-links {
    flex-direction: column;
  }

  .calendar-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .calendar-media img {
    max-width: 220px;
  }

  .table-wrapper {
    overflow: visible;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  table tr {
    margin-bottom: 1rem;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: #fff;
  }

  table td {
    border: none;
    padding: 0.4rem 0;
  }

  table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.15rem;
  }

  .course-name {
    font-size: 0.95rem;
  }

  .course-name img {
    width: 24px;
    height: 24px;
  }

  .lead-form {
    padding: 1.25rem;
  }

  .form-row {
    flex-direction: column;
  }

  .option-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-links {
    flex-direction: column;
    align-items: center;
  }

  .payment-links .btn {
    width: 100%;
    max-width: 320px;
  }
}
