/* ===== Yara Glow — Stylesheet (RTL) ===== */
:root {
  --beige-50: #fdf9f4;
  --beige-100: #f7efe4;
  --beige: #f3e7d6;
  --sand: #e7d3ba;
  --gold: #c9a15a;
  --gold-dark: #b08843;
  --rose: #e9c4c4;
  --rose-soft: #f6e4e4;
  --blush: #f9eef0;
  --ink: #4a3b30;
  --ink-soft: #7a6a5c;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(150, 120, 80, .10);
  --shadow-md: 0 12px 32px rgba(150, 120, 80, .16);
  --shadow-lg: 0 24px 60px rgba(120, 95, 60, .22);
  --radius: 18px;
  --radius-lg: 26px;
  --font: "Tajawal", system-ui, sans-serif;
  --font-display: "Amiri", "Tajawal", serif;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--beige-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

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

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

/* ===== Buttons ===== */
.btn {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 26px;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(201, 161, 90, .38);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(201, 161, 90, .5); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--sand);
}
.btn-ghost:hover { background: var(--beige); border-color: var(--gold); }
.btn-lg { padding: 15px 34px; font-size: 1.08rem; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 249, 244, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 161, 90, .16);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.35rem; }
.brand-mark { color: var(--gold); font-size: 1.15rem; }
.brand-name em { font-style: normal; color: var(--gold-dark); font-family: var(--font-display); }
.main-nav { display: flex; gap: 26px; font-weight: 500; }
.main-nav a { color: var(--ink-soft); position: relative; padding-block: 4px; }
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s; transform-origin: right;
}
.main-nav a:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(233, 196, 196, .5), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(201, 161, 90, .28), transparent 45%),
    linear-gradient(160deg, var(--blush), var(--beige-50) 55%, var(--beige));
  overflow: hidden;
  padding-block: 60px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image: url("../assets/hero-pattern.svg");
  background-size: 520px; opacity: .5; pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; }
.hero-eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .5px;
  color: var(--gold-dark); background: rgba(255,255,255,.6);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.hero-title { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.15; font-weight: 700; margin-bottom: 18px; }
.hero-title span { color: var(--gold-dark); }
.hero-sub { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: var(--ink-soft); max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 30px; }
.badge { display: flex; flex-direction: column; }
.badge strong { font-size: 1.7rem; color: var(--gold-dark); font-family: var(--font-display); }
.badge span { color: var(--ink-soft); font-size: .92rem; }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-eyebrow { color: var(--gold-dark); font-weight: 700; letter-spacing: .5px; margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
.section-desc { color: var(--ink-soft); margin-top: 10px; }

/* ===== Services ===== */
.services { padding-block: 84px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
  border: 1px solid rgba(201,161,90,.1);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sc-media { height: 180px; position: relative; }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-price {
  position: absolute; inset-block-start: 14px; inset-inline-end: 14px;
  background: rgba(255,255,255,.92); color: var(--gold-dark); font-weight: 800;
  padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .98rem;
}
.sc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sc-name { font-size: 1.32rem; font-weight: 700; font-family: var(--font-display); }
.sc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-soft); font-size: .95rem; }
.sc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sc-provider { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.sc-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--gold));
}
.sc-provider small { color: var(--ink-soft); display: block; line-height: 1.2; }
.sc-provider b { font-size: 1rem; }
.service-card .btn { margin-top: 6px; }

/* ===== About ===== */
.about { padding-block: 84px; background: linear-gradient(180deg, var(--beige-50), var(--blush)); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.about-text .section-title { text-align: start; }
.about-text > p { color: var(--ink-soft); margin: 14px 0 20px; }
.about-list { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.about-list li { position: relative; padding-inline-start: 30px; }
.about-list li::before {
  content: "✦"; color: var(--gold); position: absolute; inset-inline-start: 0; font-size: 1rem;
}

/* ===== Contact ===== */
.contact { padding-block: 84px; }
.contact-inner { text-align: center; max-width: 820px; margin-inline: auto; }
.contact-inner > p { color: var(--ink-soft); margin: 10px 0 34px; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 38px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 18px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; align-items: center;
  border: 1px solid rgba(201,161,90,.1); transition: transform .2s, box-shadow .2s;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ci-icon { font-size: 1.8rem; }
.ci-label { color: var(--ink-soft); font-size: .9rem; }
.ci-value { font-weight: 700; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #f0e6da; padding-block: 34px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name em { color: var(--gold); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: #d8c9b6; transition: color .2s; }
.footer-social a:hover { color: var(--gold); }

/* ===== Modal / Wizard ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(74, 59, 48, .55); backdrop-filter: blur(4px); animation: fade .25s; }
.modal-dialog {
  position: relative; z-index: 1;
  width: min(620px, 94vw);
  max-height: 92vh; overflow-y: auto;
  margin: 4vh auto;
  background: var(--beige-50);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: pop .3s ease;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-close {
  position: absolute; inset-block-start: 16px; inset-inline-start: 16px;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--white); color: var(--ink); font-size: 1rem; box-shadow: var(--shadow-sm);
  transition: background .2s; z-index: 3;
}
.modal-close:hover { background: var(--rose-soft); }

.wizard-head { padding: 28px 26px 6px; text-align: center; }
.wizard-title { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 20px; }
.steps { display: flex; justify-content: space-between; gap: 6px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 17px; inset-inline: 30px; height: 2px;
  background: var(--sand); z-index: 0;
}
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.step span {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--sand); color: var(--ink-soft);
  font-weight: 800; transition: all .25s;
}
.step em { font-style: normal; font-size: .82rem; color: var(--ink-soft); }
.step.is-active span { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 6px 16px rgba(201,161,90,.4); }
.step.is-done span { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.step.is-active em, .step.is-done em { color: var(--gold-dark); font-weight: 700; }

.wizard-body { padding: 22px 26px; }
.wizard-step { display: none; animation: fade .3s; }
.wizard-step.is-active { display: block; }
.step-hint { color: var(--ink-soft); margin-bottom: 16px; }

/* Option grids (service / provider) */
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.option {
  text-align: start; background: var(--white); border: 2px solid transparent;
  border-radius: var(--radius); padding: 16px 18px; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: all .18s; display: flex; gap: 14px; align-items: center;
  font-family: var(--font);
}
.option:hover { border-color: var(--sand); transform: translateY(-2px); }
.option.is-selected { border-color: var(--gold); background: var(--blush); box-shadow: 0 8px 22px rgba(201,161,90,.28); }
.option .opt-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.05rem;
  background: linear-gradient(135deg, var(--rose), var(--gold));
}
.opt-text b { display: block; font-size: 1.06rem; }
.opt-text small { color: var(--ink-soft); }

/* Calendar */
.calendar { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-weight: 800; font-size: 1.1rem; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 34px; height: 34px; border-radius: 10px; border: 1.5px solid var(--sand);
  background: var(--beige-50); cursor: pointer; font-size: 1rem; color: var(--ink); transition: all .18s;
}
.cal-nav button:hover:not([disabled]) { background: var(--beige); border-color: var(--gold); }
.cal-nav button[disabled] { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .78rem; color: var(--ink-soft); font-weight: 700; padding-block: 4px; }
.cal-day {
  aspect-ratio: 1; border: none; background: var(--beige-50); border-radius: 12px;
  cursor: pointer; font-family: var(--font); font-weight: 600; color: var(--ink);
  transition: all .16s; font-size: .98rem;
}
.cal-day:hover:not([disabled]) { background: var(--rose-soft); }
.cal-day[disabled] { opacity: .28; cursor: not-allowed; }
.cal-day.is-today { outline: 2px dashed var(--gold); outline-offset: -2px; }
.cal-day.is-selected { background: var(--gold); color: #fff; box-shadow: 0 6px 16px rgba(201,161,90,.4); }
.cal-empty { visibility: hidden; }

/* Time slots */
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.time-slot {
  padding: 12px 8px; border-radius: 12px; border: 2px solid transparent;
  background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer;
  font-family: var(--font); font-weight: 700; color: var(--ink); text-align: center; transition: all .16s;
}
.time-slot:hover:not([disabled]) { border-color: var(--sand); transform: translateY(-2px); }
.time-slot.is-selected { border-color: var(--gold); background: var(--blush); }
.time-slot[disabled] { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.empty-times { text-align: center; color: var(--ink-soft); padding: 26px; }

/* Customer fields */
.cust-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field span em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.field input {
  font-family: var(--font); font-size: 1rem; padding: 11px 14px;
  border: 1.5px solid var(--sand); border-radius: 12px; background: var(--white);
  color: var(--ink); transition: border-color .18s, box-shadow .18s;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,161,90,.18); }
@media (max-width: 520px) { .cust-fields { grid-template-columns: 1fr; } }

/* Success */
.booking-success { text-align: center; padding: 14px 6px; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 2rem; color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 10px 26px rgba(201,161,90,.45); animation: pop .4s;
}
.booking-success h4 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 16px; }
.summary { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); text-align: start; margin-bottom: 16px; }
.summary .row { display: flex; justify-content: space-between; padding-block: 7px; border-bottom: 1px dashed var(--sand); }
.summary .row:last-child { border-bottom: none; }
.summary .row span { color: var(--ink-soft); }
.summary .row b { font-weight: 700; }
.success-note { color: var(--ink-soft); margin-bottom: 20px; }

/* Wizard footer */
.wizard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 26px 26px; border-top: 1px solid rgba(201,161,90,.14);
}
.selection-recap { flex: 1; text-align: center; color: var(--ink-soft); font-size: .9rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; gap: 34px; }
  .about-media { order: -1; }
  .main-nav { display: none; }
}
@media (max-width: 620px) {
  .btn-nav { padding: 10px 18px; font-size: .92rem; }
  .hero { min-height: auto; padding-block: 64px 54px; }
  .hero-badges { gap: 22px; }
  .services, .about, .contact { padding-block: 60px; }
  .step em { font-size: .72rem; }
  .wizard-head, .wizard-body, .wizard-foot { padding-inline: 18px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 380px) {
  .step em { display: none; }
}
