:root {
  --yellow: #f4c400;
  --ink: #090b0b;
  --paper: #f4f4ef;
  --muted: #a6aaa7;
  --line: rgba(255,255,255,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #fff; font-family: Arial, Helvetica, sans-serif; }
button, input, select { font: inherit; }
a { color: inherit; }
[data-ar] { display: none; }
html[dir="rtl"] [data-fr] { display: none; }
html[dir="rtl"] [data-ar] { display: inline; }

.concept-bar { padding: .55rem 1rem; background: var(--yellow); color: #111; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 clamp(1.25rem, 4vw, 4rem); border-bottom: 1px solid var(--line); position: absolute; top: 30px; width: 100%; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--yellow); color: #111; font-size: 1.65rem; font-weight: 950; font-style: italic; transform: skew(-7deg); }
.brand strong { display: block; font-size: 1.25rem; font-style: italic; letter-spacing: .07em; line-height: 1; }
.brand small { display: block; margin-top: .26rem; color: #c9ccca; font-size: .62rem; font-weight: 800; letter-spacing: .2em; }
nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
nav a { text-decoration: none; font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
nav a:hover { color: var(--yellow); }
.lang-toggle { width: 46px; height: 38px; border: 1px solid rgba(255,255,255,.42); color: #fff; background: rgba(0,0,0,.2); cursor: pointer; font-weight: 900; }
.lang-ar { display: none; }
html[dir="rtl"] .lang-fr { display: none; }
html[dir="rtl"] .lang-ar { display: inline; }

.hero { min-height: 820px; height: 92vh; position: relative; display: flex; align-items: center; overflow: hidden; padding: 9rem clamp(1.25rem, 7vw, 7rem) 5rem; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.18) 72%, rgba(0,0,0,.36) 100%), linear-gradient(180deg, rgba(0,0,0,.42), transparent 30%, rgba(0,0,0,.48)); }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.eyebrow { margin: 0 0 1rem; color: var(--yellow); font-size: .82rem; font-weight: 900; letter-spacing: .22em; }
h1, h2, h3 { margin: 0; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-weight: 900; text-transform: uppercase; }
h1 { font-size: clamp(4rem, 7.6vw, 8.2rem); line-height: .84; letter-spacing: .01em; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-copy { max-width: 580px; margin: 1.8rem 0; color: #e0e2e1; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.3rem; border: 1px solid transparent; text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.button.primary { background: var(--yellow); color: #111; }
.button.primary:hover { background: #ffe05a; }
.button.ghost { border-color: rgba(255,255,255,.48); background: rgba(0,0,0,.25); color: #fff; }
.button.ghost:hover { border-color: #fff; }
.offer-card { position: absolute; right: clamp(1.25rem, 6vw, 6rem); bottom: 4rem; z-index: 3; width: 230px; padding: 1.35rem; background: var(--yellow); color: #0a0b0b; transform: rotate(-2deg); box-shadow: 0 18px 60px rgba(0,0,0,.35); }
.offer-label, .offer-note { display: block; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.offer-card > strong { display: flex; align-items: baseline; gap: .35rem; margin-top: .55rem; font-family: Impact, Arial Narrow, sans-serif; font-size: 4.7rem; line-height: .85; }
.offer-card > strong small { font-family: Arial, sans-serif; font-size: 1rem; }
.offer-card p { margin: .35rem 0 .45rem; font-family: Impact, Arial Narrow, sans-serif; font-size: 2rem; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding: 1.3rem clamp(1.25rem, 4vw, 4rem); border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { color: var(--yellow); font-family: Impact, Arial Narrow, sans-serif; font-size: 2rem; letter-spacing: .04em; }
.proof-strip span { margin-top: .35rem; color: #c4c8c6; font-size: .9rem; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem); }
.planning { background: var(--paper); color: #111; }
.section-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem 5rem; align-items: end; margin-bottom: 3.25rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin: 0; color: #7c6500; }
.section-heading h2, .cta-section h2 { font-size: clamp(3.1rem, 5.5vw, 6.2rem); line-height: .91; }
.section-heading > p:last-child { max-width: 480px; color: #525956; font-size: 1.08rem; line-height: 1.7; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #c9cbc5; border: 1px solid #c9cbc5; }
.class-card { min-height: 310px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: #fff; overflow: hidden; }
.class-card.featured { background: var(--yellow); }
.class-card.coming { background: #151817; color: #fff; }
.class-day { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.class-day strong { font-size: 1.35rem; letter-spacing: 0; }
.class-type { margin: 0 0 .5rem; font-size: .75rem; font-weight: 900; letter-spacing: .1em; color: #686e6a; }
.featured .class-type { color: #675400; }
.coming .class-type { color: var(--yellow); }
.class-card h3 { font-size: clamp(2.5rem, 4.2vw, 4.7rem); line-height: .94; }
.class-card div > p:last-child { margin: .6rem 0 0; color: #666c68; }
.coming div > p:last-child { color: #b8bdb9; }
.class-number { position: absolute; right: 1rem; bottom: -.8rem; color: rgba(0,0,0,.06); font-family: Impact, Arial Narrow, sans-serif; font-size: 8rem; line-height: 1; }
.coming .class-number { color: rgba(255,255,255,.06); }
.schedule-note { margin: 1rem 0 0; color: #656b67; font-size: .78rem; line-height: 1.5; }

.cta-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem); background: #111413; }
.contact-panel { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding-left: 2rem; border-left: 1px solid var(--line); }
.contact-panel > p { max-width: 540px; margin: 0 0 1rem; color: #c4c8c6; font-size: 1.08rem; line-height: 1.7; }
.contact-panel > a { text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .24em; }
.contact-panel address { color: #aeb4b0; font-style: normal; }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding: 2rem clamp(1.25rem, 4vw, 4rem); border-top: 1px solid var(--line); color: #9ba09c; font-size: .76rem; }
.compact .brand-mark { width: 32px; height: 32px; font-size: 1.2rem; }
.compact strong { color: #fff; font-size: 1rem; }
.compact small { font-size: .52rem; }
.yenfa { letter-spacing: .1em; text-align: right; }

.booking-dialog { width: min(620px, calc(100vw - 2rem)); border: 0; padding: clamp(1.5rem, 5vw, 3rem); background: #151817; color: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.booking-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.booking-dialog h2 { font-size: clamp(2.7rem, 7vw, 4.7rem); line-height: .95; margin-bottom: 1.8rem; }
.dialog-close { position: absolute; right: 1rem; top: .6rem; border: 0; background: transparent; color: #fff; font-size: 2rem; cursor: pointer; }
html[dir="rtl"] .dialog-close { right: auto; left: 1rem; }
#booking-form { display: grid; gap: 1rem; }
#booking-form label { display: grid; gap: .45rem; color: #c5cac6; font-size: .85rem; font-weight: 700; }
#booking-form input, #booking-form select { width: 100%; min-height: 50px; border: 1px solid #4d5450; border-radius: 0; background: #0d0f0e; color: #fff; padding: .7rem .85rem; font-size: 1rem; }
#booking-form input:focus, #booking-form select:focus { outline: 3px solid rgba(244,196,0,.25); border-color: var(--yellow); }
.form-note { margin: 0; color: #a7aca8; font-size: .76rem; }
.form-success { padding: 1.5rem; background: var(--yellow); color: #111; }
.form-success strong { font-size: 1.25rem; }

html[dir="rtl"] body { font-family: Arial, Tahoma, sans-serif; }
html[dir="rtl"] .site-header, html[dir="rtl"] .hero-actions { direction: rtl; }
html[dir="rtl"] .contact-panel { padding-left: 0; padding-right: 2rem; border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .offer-card { right: auto; left: clamp(1.25rem, 6vw, 6rem); transform: rotate(2deg); }
html[dir="rtl"] .class-number { right: auto; left: 1rem; }

@media (max-width: 900px) {
  .site-header { top: 45px; height: 70px; }
  nav { display: none; }
  .hero { min-height: 780px; height: auto; align-items: flex-end; padding-top: 10rem; padding-bottom: 12rem; }
  .hero-image { object-position: 60% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.7) 42%, rgba(0,0,0,.97) 86%); }
  .hero-content { width: 100%; }
  h1 { font-size: clamp(3.6rem, 16vw, 6rem); }
  .offer-card { right: 1.25rem; bottom: 2rem; width: 190px; padding: 1rem; }
  html[dir="rtl"] .offer-card { left: 1.25rem; }
  .offer-card > strong { font-size: 3.7rem; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading, .cta-section { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: 1fr; }
  .class-card { min-height: 245px; }
  .contact-panel { padding-left: 0; border-left: 0; }
  html[dir="rtl"] .contact-panel { padding-right: 0; border-right: 0; }
  footer { grid-template-columns: 1fr; }
  .yenfa { text-align: left; }
  html[dir="rtl"] .yenfa { text-align: right; }
}

@media (max-width: 520px) {
  .concept-bar { font-size: .7rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 1.05rem; }
  .hero { min-height: 760px; padding-left: 1.15rem; padding-right: 1.15rem; }
  .hero-actions { display: grid; width: 100%; }
  .button { width: 100%; }
  .offer-card { width: 165px; }
  .section, .cta-section { padding-left: 1.15rem; padding-right: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
