/* ============================================================
   KC WELLNESS MEDICAL SPA — BOTOX SPECIAL
   Clinical Luxury — navy, white, gold accents
   ============================================================ */

:root {
  --color-bg:         #FFFFFF;
  --color-surface:    #F7F8FC;
  --color-navy:       #1B2A4A;
  --color-navy-mid:   #2E4272;
  --color-gold:       #C9A84C;
  --color-gold-light: #E8D5A0;
  --color-pink:       #D4307A;
  --color-muted:      #6B7A99;
  --color-border:     #E2E6F0;
  --color-success:    #2D7A5F;

  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --ease: 0.2s ease;
}

/* --- RESET & BASE -------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--color-bg);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* --- BUTTONS --------------------------------------------------- */
.btn-gold,
.btn-navy,
.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  height: 52px;
  padding: 0 1.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), opacity var(--ease);
  text-decoration: none;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn-gold:hover { box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35); transform: translateY(-1px); }

.btn-gold:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-navy {
  background: var(--color-navy);
  color: #FFFFFF;
}

.btn-navy:hover { box-shadow: 0 6px 20px rgba(27, 42, 74, 0.3); transform: translateY(-1px); }

.btn-back {
  background: transparent;
  color: var(--color-navy-mid);
  border: 1px solid var(--color-border);
}

.btn-back:hover { background: var(--color-surface); }

.btn-block { width: 100%; }

/* --- HEADER ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

.header-logo { height: 36px; width: auto; }

.header-phone {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  white-space: nowrap;
}

.header-phone:hover { color: var(--color-gold); }

/* --- HERO ----------------------------------------------------- */
.hero {
  background: var(--color-navy);
  color: #FFFFFF;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

.hero-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.badge-pill {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.hero-cta {
  margin-bottom: 1rem;
}

.hero-fine {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  margin: 0.75rem auto 0;
}

@media (min-width: 640px) {
  .hero-title { font-size: 48px; }
  .hero { padding: 5rem 2rem 4rem; }
}

/* --- TRUST BAR -------------------------------------------------- */
.trust-bar {
  background: var(--color-surface);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.trust-icon {
  color: var(--color-gold);
  font-size: 1.1rem;
}

.trust-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-navy-mid);
}

@media (min-width: 768px) {
  .trust-bar { flex-direction: row; justify-content: center; gap: 2.5rem; }
}

/* --- FORM SECTION ------------------------------------------- */
.form-section {
  padding: 2.5rem 1.25rem 4rem;
  display: flex;
  justify-content: center;
}

.form-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #FFFFFF;
  border-radius: 12px;
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 8px 40px rgba(27, 42, 74, 0.08);
  padding: 1.75rem 1.25rem 2rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .form-card { padding: 2.5rem 3rem 3rem; }
}

/* --- PROGRESS BAR --------------------------------------------- */
.progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-gold-light);
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: var(--color-gold);
  transition: width 0.35s ease;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

/* --- STEPS ------------------------------------------------------ */
.step { display: none; }
.step.active { display: block; }

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.step-sub {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* --- FIELDS ------------------------------------------------------- */
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field { margin-bottom: 1.25rem; }

.field label,
.field-group legend {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.req { color: var(--color-pink); }

.hint {
  font-weight: 400;
  color: var(--color-muted);
  text-transform: none;
  letter-spacing: normal;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-navy);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.field input.invalid,
.field textarea.invalid {
  border-color: var(--color-pink);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

/* --- PHONE / COUNTRY CODE ----------------------------------------- */
.phone-row {
  display: flex;
  gap: 0;
}

.country-code-select {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0.75rem 24px 0.75rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-navy);
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 5.5rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B7A99' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.country-code-select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
  z-index: 1;
}

.phone-row input[type="tel"] {
  border-radius: 0 8px 8px 0;
  flex: 1;
  min-width: 0;
}

.field-error {
  display: none;
  color: var(--color-pink);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.field-error.show { display: block; }

.char-counter {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.35rem;
}

/* --- FIELDSETS / RADIO & CHECKBOX GROUPS ----------------------- */
.field-group {
  border: none;
  margin-bottom: 1.5rem;
}

.field-group legend {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy-mid);
  margin-bottom: 0.75rem;
}

.radio-list,
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}

.radio-option:hover,
.checkbox-option:hover {
  border-color: var(--color-gold-light);
  background: var(--color-surface);
}

.radio-option input,
.checkbox-option input {
  accent-color: var(--color-gold);
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.radio-option:has(input:checked),
.checkbox-option:has(input:checked) {
  border-color: var(--color-gold);
  background: rgba(201, 168, 76, 0.08);
}

.checkbox-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Interest list with descriptions */
.interest-option { align-items: flex-start; }

.interest-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.interest-title { font-weight: 600; }

.interest-text em {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* --- DIAMOND DIVIDER -------------------------------------------- */
.diamond-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.diamond-divider .dline {
  flex: 1;
  height: 1px;
  background: var(--color-gold);
}

.diamond-divider .diamond {
  color: var(--color-gold);
  font-size: 0.7rem;
  line-height: 1;
}

/* --- CHERRY INFO CARD --------------------------------------------- */
.cherry-info {
  border: 1px solid var(--color-gold-light);
  background: rgba(201, 168, 76, 0.08);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  color: var(--color-navy-mid);
  margin-bottom: 1.5rem;
}

/* --- CONSENT / SUBMIT -------------------------------------------- */
.consent-text {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.85rem;
}

#submit-btn { margin-top: 0.5rem; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(27, 42, 74, 0.25);
  border-top-color: var(--color-navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- STEP NAV ----------------------------------------------------- */
.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.step-nav .btn-back { visibility: hidden; }
.step-nav.show-back .btn-back { visibility: visible; }
.step-nav.hide-nav { display: none; }

/* --- CONFIRMATION --------------------------------------------------- */
.confirmation {
  text-align: center;
  padding: 1rem 0;
}

.confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.confirm-body {
  color: var(--color-muted);
  margin-bottom: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.confirm-sub {
  font-weight: 600;
  margin-bottom: 1rem;
}

.confirm-ig {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-navy-mid);
  text-decoration: underline;
}

/* --- HONEYPOT ------------------------------------------------------- */
.hidden-field { display: none; }

/* --- FOOTER ----------------------------------------------------------- */
.site-footer {
  background: var(--color-navy);
  color: #FFFFFF;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.site-footer a:hover { color: var(--color-gold); }

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer-copy {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
