/* Velora landing page. Palette from the personal-brand covers:
   midnight navy #101827, slate #26364D, warm gold #D6A968, warm white #F4F1EA. */
:root {
  --navy: #101827; --navy-2: #16233A; --slate: #26364D; --gold: #D6A968; --gold-ink: #8A6426;
  --white: #F4F1EA; --paper: #FBF9F4; --ink: #101827; --muted: #556072; --line: #E3DCCD;
  --soft: rgba(244, 241, 234, .74); --radius: 14px;
  --font: "Inter", "Cairo", system-ui, sans-serif;
}
:lang(ar) { --font: "Cairo", "Inter", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
mark { background: linear-gradient(transparent 58%, rgba(214, 169, 104, .6) 58%); color: inherit; padding-inline: .08em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border-radius: 10px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(16, 24, 39, .18); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn.ghost { background: transparent; border-color: rgba(244, 241, 234, .4); color: var(--white); }
.btn.small { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 249, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.top nav { display: flex; gap: 22px; margin-inline-start: auto; }
.top nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top-end { display: flex; align-items: center; gap: 12px; }
.lang { font-weight: 700; font-size: 14px; text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }

/* hero */
.hero { background: linear-gradient(105deg, var(--navy) 0%, var(--navy-2) 55%, var(--slate) 100%); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(244, 241, 234, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 241, 234, .04) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 32px; align-items: end; }
.hero-text { padding-block: 72px 80px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
:lang(ar) .eyebrow { letter-spacing: .02em; font-size: 15px; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.12; font-weight: 900; letter-spacing: -.03em; margin-top: 16px; text-wrap: balance; }
:lang(ar) h1 { line-height: 1.4; letter-spacing: 0; font-size: clamp(30px, 4.4vw, 50px); }
.hero mark { background: none; color: var(--gold); padding: 0; }
.sub { margin-top: 20px; font-size: 19px; color: var(--soft); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips li { border: 1px solid var(--gold); color: var(--gold); border-radius: 7px; padding: 3px 11px; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.hero-photo { position: relative; align-self: end; }
.hero-photo::before { content: ""; position: absolute; inset: 12% 4% 0; border-radius: 50% 50% 0 0; background: radial-gradient(circle at 50% 40%, rgba(214, 169, 104, .28), transparent 68%); }
.hero-photo img { position: relative; width: 100%; max-width: 460px; margin-inline: auto; }
.hand { position: absolute; top: 9%; inset-inline-start: 3%; z-index: 2; font-family: "Caveat", cursive; font-weight: 700; font-size: 30px; line-height: 1; max-width: 6em; transform: rotate(-6deg); color: var(--white); }

/* sections */
.sec { padding-block: 84px; }
.sec.alt { background: var(--white); }
.sec.navy { background: var(--navy); color: var(--white); }
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.num { font-weight: 800; font-size: 14px; color: var(--gold-ink); border: 1.5px solid currentColor; border-radius: 999px; padding: 1px 11px; }
.sec .eyebrow { color: var(--gold-ink); }
.navy .num, .navy .eyebrow { color: var(--gold); }
h2 { font-size: clamp(27px, 3.6vw, 42px); line-height: 1.18; font-weight: 800; letter-spacing: -.025em; max-width: 20em; text-wrap: balance; }
:lang(ar) h2 { line-height: 1.45; letter-spacing: 0; }
.navy mark { background: none; color: var(--gold); padding: 0; }
.lede { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 40em; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 800; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { margin-top: 10px; color: var(--muted); }

/* courses */
.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; align-items: stretch; }
.course { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.course.featured { background: var(--navy); color: var(--white); border-color: var(--gold); box-shadow: 0 18px 44px rgba(16, 24, 39, .22); }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.badge { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.featured .badge { color: var(--gold); }
.status { font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: #EFE9DB; color: var(--slate); white-space: nowrap; }
.status.s-open, .status.s-free { background: #DDEFE3; color: #17603A; }
.status.s-closed { background: #ECECEC; color: #555; }
.course h3 { font-size: 25px; letter-spacing: -.02em; }
.course .for { margin-top: 4px; font-weight: 600; font-size: 15px; color: var(--gold-ink); }
.featured .for { color: var(--gold); }
.course .desc { margin-top: 12px; color: var(--muted); }
.featured .desc { color: var(--soft); }
.ticks { margin-top: 16px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 28px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .42em; width: 14px; height: 8px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14.5px; }
.featured .meta { border-color: rgba(244, 241, 234, .16); }
.meta div { display: flex; justify-content: space-between; gap: 16px; }
.meta dt { color: var(--muted); }
.featured .meta dt { color: var(--soft); }
.meta dd { font-weight: 600; text-align: end; }
.course-foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.price strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.price small { font-size: 13.5px; color: var(--muted); }
.featured .price small { color: var(--soft); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin-top: 40px; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; margin-bottom: 12px; }
.steps p { margin-top: 6px; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 44px; margin-top: 40px; align-items: center; }
.about-photo { border-radius: var(--radius); background: linear-gradient(160deg, var(--slate), var(--navy-2)); border: 1px solid rgba(214, 169, 104, .4); overflow: hidden; }
.about-text p { font-size: 18.5px; color: var(--soft); }
.about-text p + p { margin-top: 14px; }
.signature { max-width: 180px; margin-top: 22px; }

.about.noimg { grid-template-columns: 1fr; }
.about.noimg .about-text { max-width: 46em; }

/* coaches */
.coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.coach { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.coach-photo { background: linear-gradient(160deg, var(--slate), var(--navy)); aspect-ratio: 4 / 3; overflow: hidden; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.coach-body { padding: 22px 24px 26px; }
.coach-body h3 { font-size: 22px; }
.coach-body .for { margin-top: 2px; font-weight: 600; font-size: 15px; color: var(--gold-ink); }
.coach-body p + p { margin-top: 10px; }
.coach-body > p:not(.for):not(.creds) { color: var(--muted); }
.coach-body .creds { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--slate); }
.coach-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy); }

/* testimonials */
.quotes blockquote { font-size: 17px; }
.quotes .result { display: inline-block; margin-bottom: 12px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 13.5px; padding: 3px 11px; border-radius: 999px; }
.quotes figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quotes figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quotes figcaption small { display: block; color: var(--muted); }

/* faq */
.faq { margin-top: 32px; max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--gold-ink); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 44em; }

/* lead form */
.lead { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 36px; align-items: start; }
.lead-copy p { font-size: 19px; color: var(--soft); }
.form, .thanks { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #CFC7B5; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(214, 169, 104, .45); }
.form .invalid { border-color: #B3261E; }
.form [dir="ltr"] { text-align: start; }
.hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.form-msg { color: #B3261E; font-weight: 600; font-size: 15px; }
.consent { font-size: 13px; color: var(--muted); }
.thanks h3 { font-size: 26px; }
.thanks p { color: var(--muted); }
[hidden] { display: none !important; }

/* footer */
.foot { background: #0B111C; color: var(--soft); padding-block: 40px; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot .brand { color: var(--white); }
.tagline { margin-top: 6px; color: var(--gold); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.copy { flex-basis: 100%; font-size: 13.5px; opacity: .7; }

@media (max-width: 860px) {
  .top nav { display: none; }
  .top-end { margin-inline-start: auto; }
  .hero .wrap, .about, .lead { grid-template-columns: 1fr; }
  .hero-text { padding-block: 48px 8px; }
  .hero-photo img { max-width: 320px; }
  .hand { inset-inline-start: 4%; font-size: 26px; }
  .sec { padding-block: 60px; }
  .about-photo { max-width: 240px; }
  .lead { gap: 28px; }
}
@media (max-width: 420px) {
  .top .wrap { gap: 10px; }
  .top-end { gap: 8px; }
  .brand { font-size: 16px; gap: 7px; white-space: nowrap; }
  .brand img { width: 26px; height: 26px; }
  .lang { padding: 6px 8px; }
  .btn.small { padding: 6px 11px; font-size: 14px; }
  .btn { width: 100%; }
  .btn.small { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
