/* ============================================
   Avanaya — Microneedling with Infrared Light Therapy
   ============================================ */

:root {
  --gold: #C8962E;
  --gold-dark: #a07822;
  --gold-light: #f5edd6;
  --cream: #fdfcf8;
  --sand: #faf6ee;
  --ink: #1a1a1a;
  --ink-soft: #5a5a5a;
  --accent: #d4a254;
  --accent-dark: #a87a30;
  --border: #e8e1d5;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.10);
  --radius: 14px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow.center { display: block; }
.eyebrow.light { color: rgba(255,255,255,0.85); }

.section-lead {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 1.5em;
}
.section-lead.light { color: rgba(255,255,255,0.9); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--gold-dark);
}
.btn-light:hover { background: var(--cream); color: var(--gold-dark); }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  padding: 72px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 { margin-top: 8px; }
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--ink);
  font-style: italic;
  margin-bottom: 22px;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.hero-bullets li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--ink);
}
.hero-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--gold);
  font-weight: 700;
}
.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  padding: 10px 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.price-amount {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.price-divider { color: var(--ink-soft); font-size: 0.9rem; }

.hero-foot { font-size: 0.88rem; margin-top: 14px; }

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---------- Booking form ---------- */
.booking {
  padding: 80px 0;
  background: #fff;
}
.booking h2 { text-align: center; }
.booking .section-lead { text-align: center; }

/* ---------- Step indicator ---------- */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px auto 24px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.step span {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.step.active { color: var(--gold); }
.step.active span { background: var(--gold); color: #fff; border-color: var(--gold); }
.step.done span { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Booking card (wizard) ---------- */
.booking-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.step-panel {
  display: none;
  padding: 36px;
}
.step-panel.active {
  display: block;
  animation: panel-fade 0.25s ease;
}
@keyframes panel-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.panel-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 4px;
}
.panel-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.back-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.back-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ---------- Calendar ---------- */
.day-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}
.day-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 6px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--sans);
  color: var(--ink);
  min-height: 92px;
}
.day-pill:hover {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.day-pill .dp-dow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.day-pill .dp-num {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
}
.day-pill .dp-mon {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.day-pill.today {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.day-pill.selected,
.day-pill.selected:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 150, 46, 0.28);
  transform: translateY(-2px);
}
.day-pill.selected .dp-dow,
.day-pill.selected .dp-mon { color: rgba(255,255,255,0.85); }

.cal-hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 18px 0 0;
  text-align: center;
}

/* ---------- Slots ---------- */
.slot-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.slot-group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 4px 0 4px;
}
.slot-group-label::before,
.slot-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.slot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.slot {
  padding: 12px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.slot:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-light);
}
.slot.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 150, 46, 0.25);
}

/* ---------- Contact form (inside booking card) ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}
.summary {
  background: var(--sand);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 4px;
  border-left: 3px solid var(--accent);
}
.summary-line {
  margin: 2px 0;
  font-size: 0.92rem;
  color: var(--ink);
}
.form-foot {
  font-size: 0.82rem;
  text-align: center;
  color: var(--ink-soft);
  margin-top: 6px;
}

.booking-success {
  text-align: center;
  padding: 30px 12px;
}
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.booking-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}
.booking-error p { margin: 0; font-size: 0.9rem; color: #991b1b; }

/* ---------- Service intro ---------- */
.service {
  padding: 80px 0;
  background: var(--sand);
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.service-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---------- Benefits ---------- */
.benefits {
  padding: 80px 0;
  background: #fff;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.benefits-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- Results ---------- */
.results {
  padding: 80px 0;
  background: var(--sand);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.result-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.result-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.result-card figcaption {
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.result-tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ---------- Pricing CTA ---------- */
.price-cta {
  padding: 80px 0;
  background: var(--gold);
  color: #fff;
}
.price-cta h2 { color: #fff; }
.price-cta .section-lead { max-width: 580px; }

/* ---------- About ---------- */
.about {
  padding: 80px 0;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---------- Testimonial ---------- */
.testimonial {
  padding: 80px 0;
  background: var(--sand);
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 18px;
  line-height: 1.5;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ---------- Reviews ---------- */
.reviews {
  padding: 80px 0;
  background: #fff;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.review-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.review-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.reviewer {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  border-top: 1px solid var(--border);
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 24px;
  background: var(--ink);
  color: rgba(255,255,255,0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}
.footer h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.footer p,
.footer a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.footer a:hover { color: var(--gold); }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}
.copyright p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid,
  .service-grid,
  .benefits-grid,
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 56px; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 340px; width: 100%; }
  .results-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .step-panel { padding: 24px; }
  .day-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .booking, .service, .benefits, .results, .price-cta, .about, .testimonial, .reviews, .final-cta {
    padding: 48px 0;
  }
  .slot-row { grid-template-columns: repeat(2, 1fr); }
}