/* ============================================
   PathForward — Shared Styles
   Sophia Pietra Coaching
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --charcoal: #2D2926;
  --warm-black: #1A1715;
  --amber: #C59849;
  --amber-light: #D4AD6A;
  --cream: #F5F0E8;
  --cream-dark: #E8E0D4;
  --sage: #8A9A7B;
  --sage-light: #A8B89A;
  --text-primary: #2D2926;
  --text-secondary: #5C5550;
  --text-light: #8A8480;
  --radius: 8px;
  --transition: 0.25s ease;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- NAV ---- */
.site-nav {
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 41, 38, 0.06);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}
.logo span { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  letter-spacing: 0.3px;
}
.nav-links a:hover {
  color: var(--amber);
}
.nav-links a.active {
  color: var(--charcoal);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--warm-black);
  transform: translateY(-1px);
}

/* ---- PAGE CONTAINER ---- */
.page-container {
  padding-top: 80px;
}

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 80px 48px 60px;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ---- SECTION ---- */
.section {
  padding: 80px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.section-dark {
  background: var(--warm-black);
  color: var(--cream);
  max-width: 100%;
}
.section-dark .section-inner {
  max-width: 900px;
  margin: 0 auto;
}
.section-muted {
  background: var(--cream-dark);
  max-width: 100%;
}
.section-muted .section-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--warm-black);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45, 41, 38, 0.2);
}
.btn-amber {
  background: var(--amber);
  color: var(--warm-black);
}
.btn-amber:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(197, 152, 73, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--cream-dark);
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}
.btn-full {
  width: 100%;
}

/* ---- FORMS ---- */
.form-group {
  margin-bottom: 28px;
}
.form-group label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.form-group .label-hint {
  font-weight: 400;
  color: var(--text-light);
  font-size: 13px;
  margin-left: 4px;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(197, 152, 73, 0.12);
}
.form-input::placeholder {
  color: var(--text-light);
}
textarea.form-input {
  min-height: 120px;
  resize: vertical;
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8480' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Radio/checkbox groups */
.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.option-card {
  position: relative;
  flex: 1;
  min-width: 140px;
}
.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  background: white;
}
.option-card label .option-icon {
  font-size: 24px;
  line-height: 1;
}
.option-card label .option-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}
.option-card input:checked + label {
  border-color: var(--amber);
  background: rgba(197, 152, 73, 0.06);
  box-shadow: 0 0 0 3px rgba(197, 152, 73, 0.12);
}
.option-card input:checked + label .option-label {
  color: var(--amber);
}

/* Form steps */
.form-step {
  display: none;
  animation: fadeUp 0.4s ease;
}
.form-step.active {
  display: block;
}
.step-header {
  margin-bottom: 32px;
}
.step-header .step-count {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 8px;
}
.step-header h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.step-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Progress bar */
.progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
}
.progress-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--cream-dark);
  transition: background var(--transition);
}
.progress-step.active {
  background: var(--amber);
}
.progress-step.completed {
  background: var(--sage);
}

/* ---- CARDS ---- */
.card {
  background: white;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(45, 41, 38, 0.08);
}
.card-dark {
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.08);
  color: var(--cream);
}

/* ---- CALENDAR ---- */
.calendar {
  background: white;
  border: 2px solid var(--cream-dark);
  border-radius: 12px;
  overflow: hidden;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--cream-dark);
}
.calendar-header h3 {
  font-size: 16px;
  font-weight: 700;
}
.calendar-nav {
  display: flex;
  gap: 8px;
}
.calendar-nav button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--cream-dark);
  background: white;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.calendar-nav button:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 12px;
}
.calendar-day-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-primary);
}
.calendar-day:hover:not(.disabled):not(.empty) {
  background: rgba(197, 152, 73, 0.1);
  color: var(--amber);
}
.calendar-day.selected {
  background: var(--amber);
  color: white;
  font-weight: 700;
}
.calendar-day.today {
  border: 2px solid var(--amber);
}
.calendar-day.disabled {
  color: var(--cream-dark);
  cursor: default;
}
.calendar-day.empty {
  cursor: default;
}

/* Time slots */
.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.time-slot {
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  background: white;
}
.time-slot:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.time-slot.selected {
  background: var(--amber);
  border-color: var(--amber);
  color: white;
  font-weight: 700;
}
.time-slot.unavailable {
  opacity: 0.4;
  cursor: default;
  text-decoration: line-through;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer .logo { font-size: 18px; }
.site-footer p {
  font-size: 13px;
  color: var(--text-light);
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-amber { color: var(--amber); }
.text-light { color: var(--text-light); }
.text-sage { color: var(--sage); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* Success state */
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(138, 154, 123, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}

/* Alert/notice */
.notice {
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.notice-warm {
  background: rgba(197, 152, 73, 0.08);
  border: 1px solid rgba(197, 152, 73, 0.15);
  color: var(--text-secondary);
}
.notice-sage {
  background: rgba(138, 154, 123, 0.08);
  border: 1px solid rgba(138, 154, 123, 0.15);
  color: var(--text-secondary);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  animation: fadeUp 0.5s ease;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .site-nav {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
  }
  .page-hero {
    padding: 60px 24px 40px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .section {
    padding: 60px 24px;
  }
  .section-dark, .section-muted {
    padding: 60px 24px;
  }
  .option-group {
    flex-direction: column;
  }
  .option-card {
    min-width: 100%;
  }
  .calendar-grid {
    padding: 8px;
  }
  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer {
    padding: 24px 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--charcoal);
  padding: 4px;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-left {
    gap: 0;
  }
  .nav-cta.desktop-only {
    display: none;
  }
}
