/* =============================================
   Booking Confirmed — warm cream + terracotta
   Mobile-first. Reuses .section-container,
   .section-badge, .pulse-dot from globals.css
   and the heading + terracotta system used on
   the Book Appointment page.
   ============================================= */

/* ---------- HERO ---------- */
.confirmed-hero-section {
  padding: 4rem 0 2rem;
  text-align: center;
}

.confirmed-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Tick circle — terracotta to match primary CTAs */
.confirmed-tick {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C2714C, #A85D3C);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  box-shadow: 0 16px 32px rgba(194, 113, 76, 0.3),
              0 4px 10px rgba(194, 113, 76, 0.15);
  margin-bottom: 0.5rem;
}

.confirmed-badge {
  margin: 0 auto;
}

/* Title — deep navy with subtle dark-purple accent on one word */
.confirmed-hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 800;
  color: #1E2A23;
  letter-spacing: -0.02em;
  margin: 0;
}

.confirmed-hero-accent {
  background: linear-gradient(to right, #234F3A, #6E9583);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.confirmed-hero-subtitle {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
  max-width: 600px;
}

/* ---------- WHAT HAPPENS NEXT ---------- */
.confirmed-next-section {
  padding: 2rem 0 3rem;
}

.confirmed-next-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #1E2A23;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 2rem;
}

.confirmed-next-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  counter-reset: confirmed-step;
}

.confirmed-next-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(194, 113, 76, 0.15);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(194, 113, 76, 0.08),
              0 2px 6px rgba(194, 113, 76, 0.04);
  counter-increment: confirmed-step;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.confirmed-next-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 113, 76, 0.12),
              0 4px 10px rgba(194, 113, 76, 0.06);
}

/* Icon tile — soft terracotta tint, terracotta icon */
.confirmed-next-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(194, 113, 76, 0.16), rgba(194, 113, 76, 0.08));
  color: #A85D3C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.confirmed-next-content {
  flex: 1;
  min-width: 0;
}

.confirmed-next-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1E2A23;
  margin: 0 0 0.25rem;
}

.confirmed-next-title::before {
  content: counter(confirmed-step) ". ";
  color: #C2714C;
  font-weight: 800;
}

.confirmed-next-text {
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4a5568;
  margin: 0;
}

/* ---------- REASSURANCE + PHONE ---------- */
.confirmed-reassure-section {
  padding: 1rem 0 3rem;
}

.confirmed-reassure-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(194, 113, 76, 0.18);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 24px rgba(194, 113, 76, 0.08);
  position: relative;
}

/* Top accent bar — same pattern as the Book Appointment quick-book card */
.confirmed-reassure-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 4px;
  background: linear-gradient(90deg, #C2714C, #D08A6A, #C2714C);
  border-radius: 0 0 4px 4px;
}

.confirmed-reassure-text {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 1.25rem;
}

/* Phone — deep navy text, terracotta border, terracotta icon circle */
.confirmed-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #1E2A23;
  letter-spacing: -0.01em;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(194, 113, 76, 0.35);
  box-shadow: 0 6px 18px rgba(194, 113, 76, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.confirmed-phone-link:hover,
.confirmed-phone-link:focus-visible {
  transform: translateY(-2px);
  border-color: #C2714C;
  box-shadow: 0 12px 26px rgba(194, 113, 76, 0.2);
}

.confirmed-phone-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C2714C, #A85D3C);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  box-shadow: 0 4px 10px rgba(194, 113, 76, 0.25);
}

/* ---------- SUBTLE RETURN HOME ---------- */
.confirmed-return {
  text-align: center;
  padding: 0 0 4rem;
}

.confirmed-return-link {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  border-bottom: 1px dotted rgba(148, 163, 184, 0.5);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.confirmed-return-link:hover,
.confirmed-return-link:focus-visible {
  color: #A85D3C;
  border-bottom-color: #A85D3C;
}

/* ---------- TABLET / DESKTOP ---------- */
@media (min-width: 768px) {
  .confirmed-hero-section {
    padding: 6rem 0 3rem;
  }

  .confirmed-hero-title {
    font-size: 3rem;
  }

  .confirmed-hero-subtitle {
    font-size: 1.25rem;
  }

  .confirmed-next-heading {
    font-size: 1.75rem;
  }

  .confirmed-next-item {
    padding: 1.5rem 1.75rem;
    gap: 1.25rem;
  }

  .confirmed-next-icon {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }

  .confirmed-next-title {
    font-size: 1.125rem;
  }

  .confirmed-reassure-card {
    padding: 2.5rem 2rem;
  }

  .confirmed-phone-link {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .confirmed-hero-title {
    font-size: 3.5rem;
  }
}
