/* style.css — base styles and shared components. Colours come from themes.css. */

/* ---------- tokens ---------- */
:root {
  --font-latin: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-arabic: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  --font: var(--font-latin);

  --gutter: clamp(18px, 4vw, 40px);
  --container: 1200px;
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 112px);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[lang="ar"] { --font: var(--font-arabic); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.85; }
html.is-loading body { visibility: hidden; }
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon.flip { transform: scaleX(-1); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.file-warning {
  position: relative; z-index: 300; margin: 0; padding: 12px var(--gutter); text-align: center;
  background: #FFD9CC; color: #4A1A08; font-weight: 600; font-size: .95rem;
}

/* ---------- typography ---------- */
h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; letter-spacing: 0; }

.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.section-title::before {                      /* echoes the baseline of the logo */
  content: ""; display: block; width: 44px; height: 3px; border-radius: 3px;
  background: var(--accent); margin-bottom: 1.1rem;
}
.section-desc { margin-top: .9rem; color: var(--text-muted); max-width: 62ch; font-size: 1.05rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 60ch; }

/* ---------- header / navbar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); }
.brand-mark { display: inline-flex; width: 40px; height: 40px; color: var(--text); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; white-space: nowrap; }

.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .25rem; }
.nav-link { position: relative; padding: .55rem .95rem; font-weight: 500; color: var(--text-muted); border-radius: var(--radius-sm); transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: .95rem; bottom: .15rem; height: 2.5px; border-radius: 2px; background: var(--accent);
}
.nav-actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 44px; height: 44px; padding: 0 .7rem;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.lang-btn { font-weight: 600; font-size: .95rem; }
.menu-btn { display: none; }

/* mobile drawer */
.drawer-overlay { position: fixed; inset: 0; z-index: 110; background: var(--overlay); }
.drawer {
  position: fixed; z-index: 120; top: 0; bottom: 0; inset-inline-end: 0;
  width: min(340px, 86vw); display: flex; flex-direction: column; gap: 1.25rem;
  padding: 1rem 1.25rem 1.5rem; background: var(--surface); border-inline-start: 1px solid var(--border);
  transform: translateX(105%); visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
}
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.drawer-title { font-weight: 700; font-size: 1.1rem; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-link { padding: 1rem .25rem; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.drawer-link[aria-current="page"] { color: var(--accent-text); }
.drawer-cta { margin-top: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-sm { min-height: 44px; padding-inline: 1.1rem; font-size: .95rem; }
.btn-lg { min-height: 54px; padding-inline: 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-dark { background: #16120F; color: #fff; }
.btn-dark:hover { background: #000; }

.text-link { display: inline-block; font-weight: 600; color: var(--accent-text); border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--text); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); scroll-margin-top: var(--header-h); }
.section-alt { background: var(--bg-elev); border-block: 1px solid var(--border); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- hero (always dark: it sits on a photo) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: clamp(540px, calc(100svh - var(--header-h)), 800px);
  display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #0d0e10; }
.hero-media img, .hero-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 11, .94) 0%, rgba(10, 10, 11, .78) 36%, rgba(10, 10, 11, .18) 78%, rgba(10, 10, 11, .1) 100%);
}
[dir="rtl"] .hero::before {
  background: linear-gradient(270deg, rgba(10, 10, 11, .94) 0%, rgba(10, 10, 11, .78) 36%, rgba(10, 10, 11, .18) 78%, rgba(10, 10, 11, .1) 100%);
}
.hero-inner { padding-block: clamp(56px, 9vw, 110px); }
.hero-content { max-width: 640px; }
.hero-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.5rem; font-size: 1.05rem; }
.hero-name { font-weight: 800; }
.hero-slogan { color: #FF8A5C; font-weight: 600; padding-inline-start: 1rem; border-inline-start: 2px solid rgba(255, 255, 255, .35); }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.25; font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.hero-desc { margin-top: 1.5rem; max-width: 46ch; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

/* the single page-load moment: an orange line draws across the hero base */
.hero-line {
  position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 35%, transparent 100%);
  transform-origin: left center; animation: draw-line 1.4s var(--ease) .15s both;
}
[dir="rtl"] .hero-line { background: linear-gradient(270deg, var(--accent) 0%, var(--accent) 35%, transparent 100%); transform-origin: right center; }
@keyframes draw-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--img-placeholder); border: 1px solid var(--border); }
.about-media img, .about-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.about-copy .lead { margin-top: 1.5rem; color: var(--text); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.7; }
html[lang="ar"] .about-copy .lead { line-height: 1.9; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .85rem;
  padding: 1.9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.service-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text);
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.3rem; margin-top: .4rem; }
.service-card p { color: var(--text-muted); flex: 1; }
.service-card .text-link { margin-top: .5rem; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 250px); gap: .85rem; }
.gallery-item { position: relative; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--img-placeholder); cursor: zoom-in; }
.gallery-item-main-floor { grid-column: span 2; grid-row: span 2; }
.gallery-item-training-area { grid-column: span 2; }
.gallery-item img, .gallery-item .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-zoom {
  position: absolute; inset-inline-end: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(10, 10, 11, .72); color: #fff; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }

.img-placeholder { display: grid; place-items: center; background: var(--img-placeholder); color: var(--text-muted); font-weight: 600; text-align: center; padding: 1rem; }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
.lightbox::backdrop { background: rgba(6, 7, 8, .92); }
.lightbox-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 72px; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox-close { top: 16px; inset-inline-end: 16px; }
.lightbox-prev { inset-inline-start: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { inset-inline-end: 16px; top: 50%; transform: translateY(-50%); }
.lightbox[open] { animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  padding: 1.35rem .25rem; background: none; border: 0; text-align: start; font-size: 1.125rem; font-weight: 600; color: var(--text);
}
.faq-question .icon { color: var(--accent-text); transition: transform .3s var(--ease); }
.faq-question:hover { color: var(--accent-text); }
.faq-item.is-open .faq-question .icon { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { padding: 0 .25rem 1.4rem; color: var(--text-muted); max-width: 60ch; }

/* ---------- final CTA (solid brand panel) ---------- */
.cta-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--accent); color: var(--on-accent);
}
.cta-copy { max-width: 560px; }
.cta-panel h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.cta-panel p { margin-top: .75rem; font-size: 1.1rem; color: rgba(22, 18, 15, .82); }

/* ---------- page intro (membership / contact) ---------- */
.page-intro { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--border); background: var(--bg-elev); }
.page-intro h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
html[lang="ar"] .page-intro h1 { letter-spacing: 0; }
.page-intro h1::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 1.1rem; }
.page-intro .lead { margin-top: 1rem; }
.demo-note { margin-top: 1rem; color: var(--text-muted); font-size: .95rem; }

/* ---------- plans ---------- */
.plans-section { padding-block: clamp(48px, 6vw, 80px); }
.plans-section-alt { background: var(--bg-elev); border-block: 1px solid var(--border); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.plans-grid-offers { grid-template-columns: repeat(3, 1fr); }

.plan-card {
  display: flex; flex-direction: column; gap: 1.1rem; padding: 1.75rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.plan-name { font-size: 1.5rem; font-weight: 800; }
.plan-price { min-height: 2.6rem; display: flex; align-items: baseline; gap: .4rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.plan-price-contact { align-items: center; font-weight: 700; font-size: 1.1rem; color: var(--accent-text); }
.price-amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-currency { font-weight: 600; color: var(--text-muted); }
.plan-features { display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: .65rem; color: var(--text-muted); }
.plan-features .icon { color: var(--accent-text); margin-top: .25em; }
.plan-sessions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: 1; padding: 1rem 1.1rem; background: var(--surface-2); border-radius: var(--radius-sm); }
.plan-sessions-label { color: var(--text-muted); font-weight: 500; }
.plan-sessions-count { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--accent-text); }
.plan-card .btn { width: 100%; }

.offer-text, .offer-meta { color: var(--text-muted); }
.offer-discount { font-weight: 800; font-size: 1.4rem; color: var(--accent-text); }

/* ---------- popup ---------- */
.modal {
  padding: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text);
  width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}
.modal::backdrop { background: var(--overlay); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .28s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-inner { padding: clamp(20px, 4vw, 30px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.modal-head h2 { font-size: 1.5rem; padding-top: .35rem; }
.popup-package { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; padding: 1rem 1.1rem; margin-bottom: 1.4rem; background: var(--surface-2); border-inline-start: 3px solid var(--accent); border-radius: var(--radius-sm); }
.popup-package-label { flex-basis: 100%; font-size: .85rem; color: var(--text-muted); }
.popup-package-name { font-size: 1.25rem; }
.popup-package-type { color: var(--text-muted); }
.popup-package-sessions { flex-basis: 100%; color: var(--text-muted); }
.popup-package-sessions b { color: var(--accent-text); font-size: 1.1rem; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .95rem; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.field-error, .notice { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; line-height: 1.5; }
.field-error { color: var(--danger); font-weight: 600; }
.field-error .icon, .notice .icon { margin-top: .15em; }
.notice { padding: .85rem 1rem; margin-bottom: 1.1rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--danger) 14%, transparent); border: 1px solid var(--danger); color: var(--text); }
.notice-info { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); }
.form-hint { margin-top: .9rem; font-size: .88rem; color: var(--text-muted); text-align: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { display: flex; flex-direction: column; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding-block: 1.1rem; border-bottom: 1px solid var(--border); }
.contact-item:first-child { padding-top: 0; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); }
.contact-label { font-size: .9rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.contact-value { font-size: 1.1rem; font-weight: 600; word-break: break-word; }
.contact-value a { unicode-bidi: isolate; }
.contact-value a:hover { color: var(--accent-text); }
.contact-subtitle { font-size: 1.15rem; margin: 2rem 0 1rem; letter-spacing: 0; }
.form-card { padding: clamp(22px, 4vw, 36px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 1.1rem; }

.social-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--border-strong); border-radius: 999px; font-weight: 600; transition: background .2s, border-color .2s; }
.social-link:hover { background: var(--surface-2); border-color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { margin-top: 0; background: var(--bg-elev); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.3fr 1fr; gap: 2.5rem; padding-block: clamp(40px, 6vw, 72px); }
.footer-blurb { margin-top: 1rem; color: var(--text-muted); max-width: 30ch; }
.footer-title { font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent-text); }
.footer-col .social-list { flex-direction: column; align-items: flex-start; }
.footer-contact a { unicode-bidi: isolate; }
.footer-bottom { padding-block: 1.4rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .92rem; }

/* ---------- scroll to top ---------- */
.scroll-top {
  position: fixed; z-index: 90; inset-inline-end: 20px; bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); border: 0; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.scroll-top:hover { background: var(--accent-hover); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}

/* ---------- map ---------- */
.map-section { padding-top: 0; }
.map-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.map-head .section-head { margin-bottom: 0; }
.map-frame { aspect-ratio: 16 / 7; min-height: 320px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--img-placeholder); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
