/* ==========================================================
   Coach Yousra — site styles
   Brand colours come from the brand identity board.
   ========================================================== */
:root {
  --pink: #DAA2AD;
  --blush: #F1C6C3;
  --blush-soft: #FBEDEB;
  --mint: #AEDACF;
  --mint-soft: #E9F5F1;
  --sand: #E3CC9C;
  --sand-soft: #F8F1E2;
  --burgundy: #540718;
  --burgundy-2: #7A1D33;
  --sage: #86A985;
  --sage-dark: #4F6E4E;
  --ink: #3B3436;
  --muted: #6B6264;
  --line: #EADFDB;
  --cream: #FDF9F5;
  --white: #FFFFFF;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(84, 7, 24, .18);
  --wrap: 1160px;
}

html[lang="ar"] {
  --font-head: "Tajawal", "Segoe UI", sans-serif;
  --font-body: "Tajawal", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--burgundy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 800; letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--tint { background: var(--blush-soft); }
.section--mint { background: var(--mint-soft); }
.section--sand { background: var(--sand-soft); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: .8em;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip-link { position: absolute; top: -100px; inset-inline-start: 8px; background: var(--burgundy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--burgundy);
  background: var(--burgundy);
  color: #fff;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--burgundy-2); border-color: var(--burgundy-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sage); outline-offset: 2px;
}
.btn--ghost { background: transparent; color: var(--burgundy); }
.btn--ghost:hover { background: var(--burgundy); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--burgundy); }
.btn--light:hover { background: var(--blush-soft); border-color: var(--blush-soft); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand__mark { height: 46px; width: auto; }
.brand__word { height: 20px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
}
.nav__links a:hover { background: var(--blush-soft); color: var(--burgundy); }
.nav__links a[aria-current="page"] { color: var(--burgundy); background: var(--blush-soft); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font: 600 .9rem var(--font-body); cursor: pointer;
}
.lang-toggle:hover { border-color: var(--pink); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--burgundy); }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav__actions .btn { display: none; }
  .brand__word { height: 16px; }
  .brand__mark { height: 40px; }
}
@media (max-width: 400px) { .brand__word { height: 13px; } .brand__mark { height: 36px; } .lang-toggle { padding: 7px 11px; } }
@media (max-width: 330px) { .brand__word { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--blush) 0%, rgba(241, 198, 195, 0) 70%);
  top: -160px; inset-inline-end: -120px; opacity: .7; pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 span { color: var(--sage-dark); font-style: italic; font-weight: 500; }
html[lang="ar"] .hero h1 span { font-style: normal; }
.hero__media { position: relative; }
.hero__img { border-radius: 220px 220px var(--radius) var(--radius); aspect-ratio: 6 / 5; object-fit: cover; object-position: 55% center; width: 100%; box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; bottom: 28px; inset-inline-start: -24px;
  background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: center; max-width: 260px; font-size: .92rem;
}
.hero__badge img { width: 38px; height: auto; }
.hero__note { margin-top: 22px; color: var(--muted); font-size: .95rem; display: flex; gap: 18px; flex-wrap: wrap; }
.hero__note span::before { content: "✓ "; color: var(--sage-dark); font-weight: 700; }
@media (max-width: 880px) {
  .hero { padding: 36px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__img { aspect-ratio: 4 / 3.4; border-radius: 140px 140px var(--radius) var(--radius); }
  .hero__badge { inset-inline-start: 12px; bottom: 12px; }
}

/* ---------- Generic layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } .split--rev > :first-child { order: 2; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 2px 0 rgba(84, 7, 24, .03);
}
.icon-dot {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px; font-size: 1.4rem;
}
.icon-dot--pink { background: var(--blush); }
.icon-dot--mint { background: var(--mint); }
.icon-dot--sand { background: var(--sand); }

/* ---------- Course cards ---------- */
.course {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.course:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.course__top { height: 10px; }
.course__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.course__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; padding: 4px 12px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); color: var(--muted); font-weight: 500;
}
.course__price { font-family: var(--font-head); font-size: 1.6rem; color: var(--burgundy); margin: auto 0 16px; padding-top: 12px; }
.course__price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
.course ul { padding-inline-start: 1.1em; margin: 0 0 1em; color: var(--muted); }
.course ul li { margin-bottom: 4px; }

.course__price--note { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--sage-dark); }
.grid-narrow { max-width: 900px; margin-inline: auto; }

/* ---------- Real photos ---------- */
.hero__img--portrait { aspect-ratio: 4 / 5; object-position: center 20%; background: #85A88B; }
@media (max-width: 880px) { .hero__img--portrait { aspect-ratio: 4 / 4.4; max-width: 460px; margin-inline: auto; } }
.split img.rounded--portrait { aspect-ratio: 4 / 5; object-position: center 20%; max-width: 440px; margin-inline: auto; }
.photo-pair { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: end; }
.photo-pair img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.photo-pair img:first-child { aspect-ratio: 3 / 4; border-radius: 160px 160px var(--radius) var(--radius); }
.photo-pair img:last-child { aspect-ratio: 1; margin-bottom: 40px; }

/* ---------- Certificates ---------- */
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert__img { display: block; aspect-ratio: 4 / 3; background: var(--cream); border-bottom: 1px solid var(--line); overflow: hidden; }
.cert__img img { width: 100%; height: 100%; object-fit: cover; }
.cert__img--doc { display: grid; place-items: center; text-decoration: none; background: linear-gradient(135deg, #2A3F9C 0%, #1B9BC9 100%); }
.cert__doc { display: grid; gap: 6px; text-align: center; color: #fff; padding: 20px; }
.cert__doc strong { font-family: var(--font-head); font-size: 2.6rem; letter-spacing: .02em; }
.cert__doc em { font-style: normal; font-size: .85rem; margin-top: 8px; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; justify-self: center; }
.cert__body { padding: 22px; }
.cert__body .chip { margin-bottom: 12px; }
.cert__body h3 { font-size: 1.15rem; }
.cert__body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* single bookable service shown as a card */
.svc--static { cursor: default; border-color: var(--mint); background: var(--mint-soft); }
.svc--static:hover { border-color: var(--mint); }
.svc--static p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--burgundy); color: #fff; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 14px;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote { position: relative; }
.quote p { font-size: 1.05rem; }
.quote::before {
  content: "“"; font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: var(--pink);
  display: block; height: 34px;
}
.quote footer { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--burgundy); color: #fff; border-radius: 32px; padding: 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative;
}
.cta h2 { color: #fff; }
.cta p { color: #F5DDE0; }
.cta img { border-radius: var(--radius); }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---------- Page header ---------- */
.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--blush-soft), var(--cream)); }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: 400 1rem var(--font-body); color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--pink); outline: none; box-shadow: 0 0 0 4px rgba(218, 162, 173, .25); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-msg--ok { background: var(--mint-soft); color: var(--sage-dark); border: 1px solid var(--mint); }
.form-msg--err { background: #FDECEC; color: #8A1C1C; border: 1px solid #F3C2C2; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500;
}
.contact-list a:hover { border-color: var(--pink); }
.contact-list svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--burgundy); }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  color: var(--burgundy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer__logo { width: 220px; margin-bottom: 14px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--burgundy); }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: .88rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-soft); color: var(--burgundy); }
.socials a:hover { background: var(--blush); }
.socials svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp floating button */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================
   Booking widget
   ========================================================== */
.booking { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
@media (max-width: 940px) { .booking { grid-template-columns: 1fr; } }

.svc-list { display: grid; gap: 10px; }
.svc {
  display: block; width: 100%; text-align: start; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px;
  font: inherit; color: inherit; transition: border-color .15s ease, background .15s ease;
}
.svc:hover { border-color: var(--pink); }
.svc[aria-pressed="true"] { border-color: var(--burgundy); background: var(--blush-soft); }
.svc strong { display: block; color: var(--burgundy); font-size: 1.02rem; }
.svc span { color: var(--muted); font-size: .9rem; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { margin-bottom: 4px; }
.panel__sub { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }
.tz-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.tz-note select { width: auto; padding: 6px 10px; font-size: .88rem; border-radius: 999px; }

.cal-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
@media (max-width: 720px) { .cal-wrap { grid-template-columns: 1fr; } }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__title { font-family: var(--font-head); font-size: 1.15rem; color: var(--burgundy); font-weight: 600; }
.cal__nav { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--burgundy); font-size: 1.1rem; }
.cal__nav:disabled { opacity: .35; cursor: default; }
html[dir="rtl"] .cal__nav { transform: scaleX(-1); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow { font-size: .75rem; color: var(--muted); font-weight: 600; padding: 4px 0 6px; text-transform: uppercase; }
.cal__day {
  aspect-ratio: 1; border-radius: 50%; border: 0; background: transparent; font: 500 .95rem var(--font-body);
  color: #BDB3B3; cursor: default; display: grid; place-items: center; position: relative; padding: 0;
}
.cal__day.has-slots { color: var(--burgundy); background: var(--blush-soft); cursor: pointer; font-weight: 700; }
.cal__day.has-slots:hover { background: var(--blush); }
.cal__day.is-selected { background: var(--burgundy) !important; color: #fff; }
.cal__day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--sage); }

.slots__title { font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 340px; overflow-y: auto; padding: 2px; }
.slot {
  border: 1.5px solid var(--pink); color: var(--burgundy); background: #fff; border-radius: 12px; padding: 11px 6px;
  font: 600 .95rem var(--font-body); cursor: pointer; direction: ltr;
}
.slot:hover { background: var(--blush-soft); }
.slot[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.empty { color: var(--muted); font-size: .95rem; padding: 18px; background: var(--cream); border-radius: 14px; text-align: center; }

.summary {
  background: var(--mint-soft); border: 1px solid var(--mint); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px;
  display: grid; gap: 4px;
}
.summary strong { color: var(--sage-dark); }
.spinner {
  width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--blush); border-top-color: var(--burgundy);
  animation: spin .8s linear infinite; margin: 30px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-banner {
  background: var(--sand-soft); border: 1px dashed var(--sand); color: #6A5320; border-radius: 14px; padding: 12px 16px;
  font-size: .9rem; margin-bottom: 22px;
}
.success { text-align: center; padding: 20px 10px; }
.success__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; margin: 0 auto 18px; font-size: 2rem; color: var(--sage-dark); }
.hidden { display: none !important; }

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