/* Appointment preparation design supplied by TokoGen */
.tgj-appointment-prep {

  --navy: #0b2a6b;
  --navy-text: #1e3a7b;
  --item-text: #0e2559;
  --eyebrow: #1a4f9c;
  --badge-bg: #e3f1fd;
  --row-bg: #eff7fd;
  --blue: #0b6fed;
  --blue-hover: #0a62d6;
  --purple: #9b93f5;
  --green: #2cb67d;
  --icon-blue: #1d8df0;
  --coral: #f2606f;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  box-sizing: border-box;
  color: var(--navy);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
.tgj-appointment-prep *, .tgj-appointment-prep *::before, .tgj-appointment-prep *::after { box-sizing: border-box; }
/* Desktop: a 16:9 canvas. Every size is a multiple of --u (1/1600 of the canvas width). */
.tgj-appointment-prep {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  container-type: inline-size;
  background: #f7fbfe;
}

/* The illustration sits at 1:1 scale from x = 700 of the 1600px canvas. */
.tgj-appointment-prep .prep-art {
  position: absolute;
  top: 0;
  left: 43.75%;
  width: 56.25%;
  height: 100%;
  object-fit: cover;
}

.tgj-appointment-prep .prep-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(8px 0 18px rgba(20, 60, 120, 0.08));
}

.tgj-appointment-prep .prep-leaves {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 9%;
  height: auto;
}

.tgj-appointment-prep .prep-content {
  --u: calc(100cqw / 1600);
  position: absolute;
  z-index: 2;
  top: calc(58 * var(--u));
  left: calc(86 * var(--u));
  width: calc(640 * var(--u));
}

.tgj-appointment-prep .prep-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(22 * var(--u));
  height: calc(46 * var(--u));
  padding: 0 calc(28 * var(--u)) 0 calc(24 * var(--u));
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--eyebrow);
  font-size: calc(18 * var(--u));
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tgj-appointment-prep .prep-badge svg {
  flex: none;
  width: calc(30 * var(--u));
  height: calc(30 * var(--u));
}

.tgj-appointment-prep .prep-title {
  margin: calc(28 * var(--u)) 0 0;
  font-size: calc(64 * var(--u));
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.tgj-appointment-prep .spark {
  display: inline-block;
  width: calc(44 * var(--u));
  height: calc(44 * var(--u));
  margin-left: calc(4 * var(--u));
  vertical-align: top;
}

.tgj-appointment-prep .spark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tgj-appointment-prep .prep-text {
  margin: calc(20 * var(--u)) 0 0;
  font-size: calc(22.5 * var(--u));
  line-height: 1.36;
  color: var(--navy-text);
}

.tgj-appointment-prep .prep-list {
  list-style: none;
  margin: calc(30 * var(--u)) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: calc(20 * var(--u));
}

.tgj-appointment-prep .prep-list li {
  display: flex;
  align-items: center;
  gap: calc(34 * var(--u));
  width: calc(592 * var(--u));
  min-height: calc(62 * var(--u));
  padding: calc(8 * var(--u)) calc(20 * var(--u));
  line-height: 1.3;
  border-radius: 999px;
  background: var(--row-bg);
  font-size: calc(19.5 * var(--u));
  font-weight: 500;
  color: var(--item-text);
}

.tgj-appointment-prep .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: calc(52 * var(--u));
  height: calc(52 * var(--u));
  border-radius: 50%;
  box-shadow: 0 0 0 calc(5 * var(--u)) rgba(255, 255, 255, 0.75);
}

.tgj-appointment-prep .ic svg {
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tgj-appointment-prep .ic.purple { background: var(--purple); }
.tgj-appointment-prep .ic.green { background: var(--green); }
.tgj-appointment-prep .ic.blue { background: var(--icon-blue); }
.tgj-appointment-prep .ic.coral { background: var(--coral); }

.tgj-appointment-prep .prep-btn {
  display: inline-flex;
  align-items: center;
  gap: calc(12 * var(--u));
  height: calc(64 * var(--u));
  margin-top: calc(36 * var(--u));
  padding: 0 calc(36 * var(--u));
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-size: calc(22.5 * var(--u));
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(11, 111, 237, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tgj-appointment-prep .prep-btn:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 calc(14 * var(--u)) calc(28 * var(--u)) rgba(11, 111, 237, 0.34);
}

.tgj-appointment-prep .prep-btn:focus-visible {
  outline: 3px solid #9cc3ff;
  outline-offset: 4px;
}

.tgj-appointment-prep .prep-btn svg {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tablet and phone: stack the text above the illustration. */
@media (max-width: 800px) {
  .tgj-appointment-prep {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }

  .tgj-appointment-prep .prep-shape,
  .tgj-appointment-prep .prep-leaves {
    display: none;
  }

  .tgj-appointment-prep .prep-art {
    order: 2;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 320px;
    object-position: 60% center;
  }

  .tgj-appointment-prep .prep-content {
    --u: 1px;
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 36px 20px 40px;
  }

  .tgj-appointment-prep .prep-badge {
    height: 38px;
    font-size: 13px;
  }

  .tgj-appointment-prep .prep-badge svg {
    width: 22px;
    height: 22px;
  }

  .tgj-appointment-prep .prep-title {
    font-size: 40px;
  }

  .tgj-appointment-prep .spark {
    display: none;
  }

  .tgj-appointment-prep .prep-text {
    font-size: 17px;
  }

  .tgj-appointment-prep .prep-list li {
    width: 100%;
    min-height: 56px;
    gap: 16px;
    padding: 10px 14px;
    font-size: 16px;
  }

  .tgj-appointment-prep .ic {
    width: 40px;
    height: 40px;
  }

  .tgj-appointment-prep .ic svg {
    width: 20px;
    height: 20px;
  }

  .tgj-appointment-prep .prep-btn {
    height: 56px;
    font-size: 17px;
  }
}


