/* ===== SuperKick Karate Club — stylesheet (v3 redesign) ===== */
:root {
  --primary: #E10600;
  --accent: #FFC21A;
  --dark: #6B6E75;
  --ink-2: #7A7D84;
  --paper: #A4A7AD;
  --paper-2: #AEB1B6;
  --line: #c9cbcf;
  --text: #141416;
  --muted: #33353a;
  --radius: 6px;
  --cut: 14px;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, .45);
  --font-display: 'Anton', 'Noto Kufi Arabic', Impact, sans-serif;
  --font-body: 'Inter', 'Noto Kufi Arabic', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[dir="rtl"] { --font-display: 'Noto Kufi Arabic', sans-serif; --font-body: 'Noto Kufi Arabic', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--paper); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-weight: 800; text-transform: none; letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; background: var(--dark); display: grid; place-items: center; z-index: 999; transition: opacity .5s, visibility .5s; }
.preloader img { width: 96px; animation: spinIn 1.4s var(--ease) infinite; }
.preloader.hide { opacity: 0; visibility: hidden; }
@keyframes spinIn { 0% { transform: rotate(-20deg) scale(.85); } 50% { transform: rotate(10deg) scale(1); } 100% { transform: rotate(-20deg) scale(.85); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 15px 28px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); letter-spacing: .02em; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--primary); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; clip-path: none; }
.btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-outline { border-color: currentColor; color: inherit; clip-path: none; }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--primary); }
.btn-sm { padding: 11px 20px; font-size: 14px; --cut: 10px; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 100; padding: 18px 0; transition: background .35s, padding .35s, box-shadow .35s; }
.nav.scrolled { background: rgba(107, 110, 117, .95); backdrop-filter: blur(10px); padding: 10px 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-display); font-size: 21px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
html[dir="rtl"] .brand { font-weight: 800; font-size: 18px; }
.brand img { width: 60px; height: 50px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-12deg); }
.menu { display: flex; gap: 26px; }
.menu a { color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 600; position: relative; padding: 6px 0; text-transform: uppercase; letter-spacing: .06em; }
html[dir="rtl"] .menu a { text-transform: none; letter-spacing: 0; font-size: 15px; }
.menu a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 0; background: var(--primary); transition: width .3s var(--ease); }
.menu a:hover, .menu a.active { color: #fff; }
.menu a:hover::after, .menu a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { color: #fff; font-weight: 700; font-size: 14px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .25); transition: background .25s, border-color .25s; font-family: 'Noto Kufi Arabic', 'Inter', sans-serif; }
.lang-switch:hover { background: var(--primary); border-color: var(--primary); }
.mobile-only { display: none; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: 130px 0 80px; overflow: hidden; background: radial-gradient(1200px 600px at 85% 30%, rgba(225, 6, 0, .18), transparent 60%), var(--dark); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.hero-word { position: absolute; bottom: -4vw; inset-inline-start: -1vw; font-family: 'Anton', Impact, sans-serif; font-size: 22vw; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .06); white-space: nowrap; pointer-events: none; user-select: none; animation: wordSlide 30s linear infinite alternate; }
@keyframes wordSlide { to { transform: translateX(-12vw); } }
html[dir="rtl"] .hero-word { animation-name: wordSlideRtl; }
@keyframes wordSlideRtl { to { transform: translateX(12vw); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.badge svg { width: 18px; height: 18px; fill: var(--primary); }
.hero h1 { font-size: clamp(54px, 7.4vw, 110px); line-height: .92; margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--primary); position: relative; }
html[dir="rtl"] .hero h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.3; }
.hero-content > p { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .95); margin-bottom: 34px; max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { display: flex; gap: 0; margin-top: 46px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 26px; max-width: 560px; }
.stat { flex: 1; padding-inline-end: 18px; }
.stat + .stat { padding-inline-start: 18px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.stat strong { display: block; direction: ltr; font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; color: #fff; margin-bottom: 6px; }
html[dir="rtl"] .stat strong { text-align: right; }
.stat > span { font-size: 13px; color: rgba(255, 255, 255, .9); display: block; line-height: 1.4; }

.hero-visual { position: relative; padding: 24px 0 40px; }
.hv-slab { position: absolute; inset: 0 8% 6% 14%; background: var(--primary); transform: skewX(-8deg); }
html[dir="rtl"] .hv-slab { inset: 0 14% 6% 8%; transform: skewX(8deg); }
.hv-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; margin-inline-start: 6%; width: 86%; clip-path: polygon(0 0, 100% 0, 100% 88%, 86% 100%, 0 100%); box-shadow: var(--shadow); }
.hv-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroImg 14s ease-out forwards; }
@keyframes heroImg { to { transform: scale(1); } }
.hv-card { position: absolute; bottom: 8px; inset-inline-start: -4%; display: flex; gap: 14px; align-items: center; background: #fff; color: var(--text); padding: 16px 20px; box-shadow: var(--shadow); max-width: 320px; animation: floatY 5s ease-in-out infinite; }
.hv-card i { flex: 0 0 44px; height: 44px; display: grid; place-items: center; background: var(--dark); }
.hv-card i svg { width: 22px; fill: var(--accent); }
.hv-card small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); font-weight: 700; }
html[dir="rtl"] .hv-card small { letter-spacing: 0; }
.hv-card strong { font-size: 14px; line-height: 1.4; display: block; }
.hv-logo { position: absolute; top: -10px; inset-inline-end: 0; width: 130px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .55)); animation: floatY 4s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-10px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--primary); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scaleX(1.03); margin: -14px 0 0; position: relative; z-index: 2; box-shadow: 0 10px 30px -10px rgba(225, 6, 0, .6); }
.mq-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
html[dir="rtl"] .mq-track { animation-name: marqueeRtl; }
.mq-track span { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
html[dir="rtl"] .mq-track span { font-weight: 800; }
.mq-track span::after { content: "✦"; color: var(--dark); font-size: .7em; margin-inline-start: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow-x: clip; }
.section.dark { background: var(--dark); color: #fff; }
.section.light { background: var(--paper-2); }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head h2, .about-text h2, .sb-text h2 { font-size: clamp(38px, 5.4vw, 72px); }
html[dir="rtl"] .section-head h2, html[dir="rtl"] .about-text h2, html[dir="rtl"] .sb-text h2 { font-size: clamp(30px, 4vw, 50px); }
.section-head p { color: var(--muted); font-size: 17px; max-width: 600px; }
.dark .section-head p { color: rgba(255, 255, 255, .92); }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; margin-bottom: 16px; }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15px; }
.kicker::before { content: ""; width: 34px; height: 3px; background: currentColor; }

/* About */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 90%, 88% 100%, 0 100%); }
.about-media::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; border: 3px solid var(--primary); z-index: -1; }
html[dir="rtl"] .about-media::before { inset: 28px 28px -22px -22px; }
.years-badge { position: absolute; bottom: 28px; inset-inline-start: -24px; background: var(--dark); color: #fff; padding: 20px 24px; max-width: 200px; }
.years-badge strong { display: block; font-family: 'Anton', sans-serif; font-weight: 400; font-size: 46px; line-height: 1; color: var(--accent); }
.about-text > p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.45; }
.checks svg { flex: 0 0 26px; width: 26px; height: 26px; fill: #fff; background: var(--primary); padding: 5px; }

/* Programs */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.program-card { background: var(--ink-2); overflow: hidden; border-top: 4px solid transparent; transition: transform .45s var(--ease), border-color .45s; position: relative; }
.program-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.pc-img { position: relative; aspect-ratio: 4/4.4; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform .8s var(--ease), filter .5s; }
.pc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(107, 110, 117, .9)); }
.program-card:hover .pc-img img { transform: scale(1.08); filter: none; }
.age { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 1; background: var(--primary); color: #fff; padding: 5px 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
html[dir="rtl"] .age { letter-spacing: 0; font-size: 13px; }
.pc-body { padding: 22px 24px 28px; position: relative; }
.pc-body h3 { font-size: 28px; }
html[dir="rtl"] .pc-body h3 { font-size: 22px; }
.pc-body p { color: rgba(255, 255, 255, .92); font-size: 15px; }
.link-arrow { color: var(--accent); font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; text-transform: uppercase; letter-spacing: .06em; }
html[dir="rtl"] .link-arrow { letter-spacing: 0; text-transform: none; }
.link-arrow span { transition: transform .3s; }
html[dir="rtl"] .link-arrow span { transform: scaleX(-1); }
.link-arrow:hover span { transform: translateX(6px); }
html[dir="rtl"] .link-arrow:hover span { transform: scaleX(-1) translateX(6px); }

/* Hours / schedule */
.schedule { background: var(--paper-2); }
.table-wrap { border: 1px solid var(--line); overflow: hidden; }
.timetable { width: 100%; border-collapse: collapse; background: #fff; }
.timetable th { background: var(--dark); color: #fff; text-align: start; padding: 18px 24px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; }
html[dir="rtl"] .timetable th { font-weight: 700; letter-spacing: 0; font-size: 15px; }
.timetable td { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.timetable tbody tr { transition: background .25s; }
.timetable tbody tr:hover { background: #fff3f2; }
.timetable tbody tr.today { background: #fff3f2; box-shadow: inset 4px 0 0 var(--primary); }
html[dir="rtl"] .timetable tbody tr.today { box-shadow: inset -4px 0 0 var(--primary); }
.time { font-weight: 800; color: var(--primary); white-space: nowrap; }
.level { display: inline-block; background: var(--paper); padding: 4px 12px; font-size: 13px; font-weight: 600; }

/* Coaches */
.coach-card { background: #fff; overflow: hidden; border-bottom: 4px solid var(--primary); transition: transform .4s var(--ease); }
.coach-card:hover { transform: translateY(-8px); }
.coach-img { aspect-ratio: 6/7; overflow: hidden; background: var(--dark); }
.coach-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.coach-card:hover .coach-img img { transform: scale(1.06); }
.coach-body { padding: 24px 26px 28px; }
.coach-body h3 { font-size: 28px; margin-bottom: 4px; }
.role { display: block; color: var(--primary); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.coach-body p { color: var(--muted); margin: 0; font-size: 15px; }

/* Pricing */
.price-card { position: relative; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); padding: 40px 32px; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.price-card:hover { transform: translateY(-8px); }
.price-card.featured { background: var(--primary); border-color: transparent; }
.ribbon { position: absolute; top: 20px; inset-inline-end: 20px; background: var(--accent); color: #111; font-weight: 800; font-size: 12px; padding: 5px 12px; }
.price-card h3 { font-size: 26px; }
.price { font-family: 'Anton', sans-serif; font-size: 48px; margin: 8px 0 22px; color: #fff; }
.price small { display: block; font-family: var(--font-body); font-size: 14px; color: rgba(255, 255, 255, .9); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 30px; flex: 1; }
.price-card li { padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .88); padding-inline-start: 28px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 800; }
.price-card .btn-outline { color: #fff; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 14px; }
.g-item { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; background: var(--dark); }
.g-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.g-item::after { content: "+"; position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 24px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s var(--ease); }
.g-item figcaption { position: absolute; inset: auto 0 0; padding: 50px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; font-weight: 700; transform: translateY(100%); transition: transform .4s var(--ease); }
.g-item:hover img, .g-item:focus img { transform: scale(1.07); }
.g-item:hover::after, .g-item:focus::after { opacity: 1; transform: none; }
.g-item:hover figcaption, .g-item:focus figcaption { transform: none; }

/* Social band */
.social-band { background: var(--dark); color: #fff; }
.sb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sb-media { position: relative; }
.sb-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 86%, 90% 100%, 0 100%); }
.sb-media::after { content: ""; position: absolute; inset: auto auto -18px -18px; width: 45%; height: 45%; background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf); z-index: -1; }
html[dir="rtl"] .sb-media::after { inset: auto -18px -18px auto; }
.sb-text > p { color: rgba(255, 255, 255, .92); font-size: 17px; margin-bottom: 30px; }
.sb-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-ig { background: linear-gradient(90deg, #d62976, #fa7e1e); color: #fff; }
.btn-fb { background: #1877F2; color: #fff; }
.btn-ig:hover, .btn-fb:hover { filter: brightness(1.1); }

/* Testimonials */
.t-slider { overflow: hidden; max-width: 900px; }
.t-track { display: flex; transition: transform .7s var(--ease); }
.t-card { flex: 0 0 100%; margin: 0; padding: 4px; }
.stars { color: var(--accent); font-size: 22px; letter-spacing: 4px; margin-bottom: 14px; }
.t-card p { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.5; margin-bottom: 22px; }
.t-card footer strong { display: block; font-size: 17px; }
.t-card footer span { color: var(--muted); font-size: 14px; }
.t-dots { display: flex; gap: 10px; margin-top: 30px; }
.t-dots button { width: 12px; height: 4px; border: 0; background: #cfc8bc; cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.t-dots button.active { width: 36px; background: var(--primary); }

/* CTA */
.cta-band { background: var(--primary); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before { content: "OSU!"; position: absolute; inset-inline-end: -1%; top: 50%; transform: translateY(-50%); font-family: 'Anton', sans-serif; font-size: 220px; line-height: 1; color: rgba(0, 0, 0, .12); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; }
.cta-inner h2 { font-size: clamp(34px, 4.4vw, 58px); margin-bottom: 8px; }
html[dir="rtl"] .cta-inner h2 { font-size: clamp(28px, 3.4vw, 44px); }
.cta-inner p { margin: 0; opacity: .92; font-size: 17px; max-width: 620px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-info { display: grid; gap: 14px; align-content: start; }
.info-card { display: flex; gap: 16px; align-items: center; background: #fff; padding: 16px 18px; border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
a.info-card:hover { transform: translateX(6px); border-color: var(--primary); }
html[dir="rtl"] a.info-card:hover { transform: translateX(-6px); }
.info-card i { flex: 0 0 46px; height: 46px; background: var(--dark); display: grid; place-items: center; }
.info-card svg { width: 22px; fill: #fff; }
.info-card.wa i { background: #25D366; }
.info-card small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
html[dir="rtl"] .info-card small { letter-spacing: 0; text-transform: none; }
.info-card span { font-weight: 700; }
.map { overflow: hidden; height: 250px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.contact-form { background: var(--dark); color: #fff; padding: clamp(26px, 4vw, 44px); align-self: start; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.field { margin-bottom: 18px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 7px; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
html[dir="rtl"] .field label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .14); color: #fff; font: inherit; transition: border-color .25s, background .25s; border-radius: 0; }
.field select option { color: #111; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: rgba(255, 255, 255, .09); }
.field input.invalid { border-color: var(--primary); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.form-msg { margin: 14px 0 0; font-weight: 700; min-height: 1.5em; }
.form-msg.ok { color: #4ade80; }
.form-msg.err { color: #ff6b6b; }

/* Footer */
.footer { background: var(--dark); color: rgba(255, 255, 255, .92); padding: 76px 0 0; border-top: 4px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .brand { margin-bottom: 18px; }
.footer .brand img { width: 76px; height: 64px; }
.f-aff { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; line-height: 1.45; max-width: 340px; }
.f-aff img { width: 58px; height: 58px; object-fit: contain; flex: 0 0 58px; }
.affiliation { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--primary); padding: 14px 18px; margin: -10px 0 30px; max-width: 520px; }
.affiliation img { width: 74px; height: 74px; object-fit: contain; flex: 0 0 74px; }
.affiliation small { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
html[dir="rtl"] .affiliation small { letter-spacing: 0; }
.affiliation strong { font-size: 15px; line-height: 1.4; display: block; }
.footer h4 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-links a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--primary); transform: translateY(-3px); }
.socials svg { width: 18px; fill: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; text-align: center; }

/* Floating */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; z-index: 90; animation: waPulse 2.4s infinite; }
.wa-float svg { width: 32px; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.to-top { position: fixed; bottom: 98px; inset-inline-end: 31px; width: 46px; height: 46px; border: 0; background: var(--dark); color: #fff; font-size: 20px; cursor: pointer; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .93); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 20px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; color: #fff; transform: scale(.94); transition: transform .35s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 80vh; margin: 0 auto 14px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; font-size: 34px; width: 54px; height: 54px; cursor: pointer; }
.lightbox button:hover { background: var(--primary); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Reveal */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
html[dir="rtl"] .reveal-left { transform: translateX(60px); }
html[dir="rtl"] .reveal-right { transform: translateX(-60px); }
.reveal.d1 { --delay: .12s; } .reveal.d2 { --delay: .24s; } .reveal.d3 { --delay: .36s; } .reveal.d4 { --delay: .48s; }
.in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu { gap: 18px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .burger { display: flex; }
  .nav-actions .btn, .nav-actions .lang-switch { display: none; }
  .mobile-only { display: inline-block; margin-top: 10px; }
  .nav.scrolled { backdrop-filter: none; background: rgba(107, 110, 117, .98); }
  .menu { position: fixed; inset: 0; height: 100vh; height: 100dvh; background: rgba(107, 110, 117, .98); flex-direction: column; align-items: center; justify-content: center; gap: 22px; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .4s, visibility .5s; z-index: -1; }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu a { font-size: 22px; }
  .hero { padding-top: 110px; }
  .hero-grid, .about-grid, .contact-grid, .sb-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .about-media { max-width: 520px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-btns .btn { width: 100%; }
  .stats { gap: 0; }
  .stat { padding-inline-end: 10px; }
  .stat + .stat { padding-inline-start: 10px; }
  .hv-logo { width: 92px; }
  .hv-card { inset-inline-start: 0; max-width: 88%; }
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .about-media::before, .sb-media::after { display: none; }
  .years-badge { inset-inline-start: 0; }
  .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
  .field-row { flex-direction: column; gap: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-band::before { font-size: 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .timetable thead { display: none; }
  .timetable, .timetable tbody, .timetable tr, .timetable td { display: block; width: 100%; }
  .timetable tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .timetable td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 10px; }
  .timetable td::before { content: attr(data-label); color: var(--muted); font-size: 13px; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 18px; }
  .to-top { bottom: 84px; inset-inline-end: 22px; }
}
