/* ── SERVICES PAGE ── */

/* Fixed home button */
.services-navbar {
  position: fixed;
  top: 22px;
  right: 32px;
  z-index: 1000;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue-dark);
  border: 1.5px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
}

.home-btn:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

/* ── SERVICES HERO ── */
.services-hero {
  padding: 110px 0 80px;
  text-align: center;
  background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 60%, #fffaf3 100%);
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,90,166,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,90,166,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.services-hero .section-label { margin-bottom: 14px; }
.services-hero h1 { margin-bottom: 18px; position: relative; }
.services-hero > .container > p {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ── PROGRAMS GRID ── */
.programs {
  padding: 80px 0 100px;
  background: var(--bg);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Program card */
.program-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #e8f0fe, #fff4e6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-lt);
  padding: 4px 10px;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 14px;
  width: fit-content;
}

.card-body h2 {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-body p {
  font-size: 14px;
  flex: 1;
  margin-bottom: 20px;
}

/* Accordion detail */
.card-details { display: none; }
.card-details.open { display: block; }

.card-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.card-details ul li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card-details ul li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.card-details strong { color: var(--blue-dark); font-size: 13px; }

.card-note {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  margin-top: 8px;
}

.card-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.card-toggle:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 0;
  background: white;
}

.how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.how-left .section-label { margin-bottom: 14px; }
.how-left h2 { margin-bottom: 24px; }
.how-left p  { margin-bottom: 14px; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}

.step:last-child { padding-bottom: 0; }

.step-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  width: 38px;
  height: 38px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
}

.step-connector {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
}

.step:last-child .step-connector { display: none; }

.step-content { padding-top: 6px; }
.step-content h3 { font-size: 16px; margin-bottom: 6px; }
.step-content p  { font-size: 14px; }

/* ── CATALOGUE SECTION ── */
.catalogue {
  padding: 100px 0;
  background: linear-gradient(160deg, #fffaf3, #ffffff);
}

.catalogue-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
}

.catalogue-header h2 { margin-bottom: 8px; }
.catalogue-header p  { font-size: 15px; }

.catalogue-table {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 120px 160px;
  padding: 14px 28px;
  background: var(--blue-deep);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogue-row {
  display: grid;
  grid-template-columns: 1fr 120px 160px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.18s;
}

.catalogue-row:last-child { border-bottom: none; }
.catalogue-row:hover { background: #fafbff; }

.row-name { font-size: 15px; font-weight: 500; color: var(--blue-dark); }
.row-price { font-size: 18px; font-weight: 700; color: var(--orange); }
.row-action { justify-self: end; }

.btn-register {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 3px 12px rgba(247,148,29,0.22);
}

.btn-register:hover {
  background: #e0841a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247,148,29,0.32);
}

/* Mobile catalogue */
@media (max-width: 640px) {
  .table-header       { display: none; }
  .catalogue-row      { grid-template-columns: 1fr auto; gap: 6px; }
  .row-action         { grid-column: 1 / -1; }
  .row-name           { font-size: 14px; }
}

/* Mobile programs */
@media (max-width: 768px) {
  .programs-grid { grid-template-columns: 1fr; }
  .how-inner     { grid-template-columns: 1fr; gap: 48px; }
  .services-hero { padding: 90px 0 60px; }
  .catalogue-header { flex-direction: column; align-items: flex-start; }
}