/*
Theme Name: Break Point Snooker
Theme URI: https://breakpoint.example
Author: Break Point Snooker Club
Description: One-page theme for Break Point Snooker Club, Riyadh. Dark baize look, hero video, gallery, WhatsApp booking, Customizer-driven contact details.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: breakpoint-snooker
Tags: one-column, custom-logo, custom-menu, featured-images, block-styles
*/

/* Layout: full-bleed dark bands, 1180px content column, hero split text / portrait video. */
:root {
  --bg: #0c1512;
  --bg-2: #122019;
  --bg-3: #182a21;
  --line: #24402f;
  --fg: #f2f5f0;
  --muted: #a9b8ae;
  --baize: #22a05a;
  --baize-deep: #3d7f2d;
  --neon: #e13021;
  --brass: #d9b45b;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.8rem, 7.5vw, 5.4rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.band { padding-block: clamp(3.2rem, 7vw, 6rem); }
.band-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brass); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }
.section-head { display: grid; gap: 0.8rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 1.05rem; padding: 0.85rem 1.45rem; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--baize); color: #06130b; border-color: var(--baize); }
.btn-primary:hover { background: #2bb868; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brass); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(12, 21, 18, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from 200deg, var(--neon) 0 50%, var(--baize) 50% 100%);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: -0.02em;
  box-shadow: 0 0 0 3px var(--bg), 0 0 18px rgba(230, 57, 70, .35);
}
.brand-mark img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; }
.brand-sub { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brass); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--muted); white-space: nowrap; }
.site-nav a:hover { color: var(--fg); }
.header-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.6rem, 6vw, 5.5rem) clamp(2.4rem, 5vw, 4.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(34,160,90,.18), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(230,57,70,.12), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.3rem; min-width: 0; }
.tagline-en { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brass); }
h1 .hl { color: var(--baize); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 0.4rem; }
.stat { background: var(--bg-2); padding: 0.9rem 1rem; display: grid; gap: 0.15rem; min-width: 0; }
.stat b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b .star { color: var(--brass); }
.stat span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-media { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 8px rgba(34,160,90,.08); background: var(--bg-3); }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.8rem; background: rgba(12,21,18,.78); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 12px; font-size: 0.9rem; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--baize); box-shadow: 0 0 0 0 rgba(34,160,90,.7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,160,90,.6);} 100% { box-shadow: 0 0 0 12px rgba(34,160,90,0);} }
.marquee { margin-top: clamp(2rem, 5vw, 3.5rem); border-block: 1px solid var(--line); padding-block: 0.7rem; overflow: hidden; white-space: nowrap; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-size: 0.95rem; }
.marquee-track { display: inline-flex; gap: 2.4rem; animation: slide 28s linear infinite; }
.marquee-track span::after { content: "✦"; color: var(--brass); margin-left: 2.4rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; display: grid; gap: 0.7rem; min-width: 0; }
.feature .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); color: var(--baize); }
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); font-size: 1rem; }
.feature.accent { border-color: var(--baize-deep); background: linear-gradient(160deg, rgba(34,160,90,.12), transparent 60%); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 0.8rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.55rem 0.75rem; font-size: 0.82rem; background: linear-gradient(transparent, rgba(12,21,18,.9)); color: var(--fg); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 0.6rem; min-width: 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--baize); }
.step p { color: var(--muted); font-size: 1rem; }
.booking-cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; padding: 1.3rem 1.5rem; border-radius: var(--radius); background: linear-gradient(120deg, rgba(34,160,90,.18), rgba(230,57,70,.10)); border: 1px solid var(--line); }
.booking-cta .num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; user-select: all; }
.booking-cta .note { color: var(--muted); font-size: 0.95rem; flex: 1 1 240px; }
.copy-btn { font: inherit; font-size: 0.85rem; padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; }
.copy-btn:hover { border-color: var(--brass); }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.loc-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1.2rem; align-content: start; min-width: 0; }
.loc-row { display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: start; }
.loc-row .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); color: var(--brass); }
.loc-row .ico svg { width: 22px; height: 22px; }
.loc-row small { display: block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--muted); margin-bottom: 0.2rem; }
.loc-row strong { font-size: 1.08rem; font-weight: 600; }
.loc-row .sub { color: var(--muted); }
.loc-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg-3); position: relative; }
.loc-media img, .loc-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; position: absolute; inset: 0; }
.open-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(34,160,90,.15); color: #7fe0a8; font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(34,160,90,.35); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.2rem 2.6rem; color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.4rem 2rem; align-items: center; }
.social { display: flex; gap: 0.6rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg); text-decoration: none; }
.social a:hover { border-color: var(--brass); color: var(--brass); }
.social svg { width: 18px; height: 18px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 25; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.4); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

/* Generic WP content (blog/page fallbacks) */
.entry { max-width: 72ch; display: grid; gap: 1rem; }
.entry-content a { color: var(--baize); }
.entry-content img { border-radius: 10px; }
.alignwide, .alignfull { max-width: 100%; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { width: min(100%, 340px); }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .location { grid-template-columns: 1fr; }
}
@media (max-width: 1040px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 0.6rem var(--gutter-r) 1rem var(--gutter-l); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.2rem; }
  .site-nav a { display: block; padding: 0.7rem 0; font-size: 1.1rem; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .header-cta .btn { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features, .steps { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .live-dot { animation: none; }
  .gallery img, .btn { transition: none; }
}

/* ---------- Added: language pill, service areas, FAQ ---------- */
.lang-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 600; font-size: .9rem; min-height: 36px; }
.lang-pill:hover { border-color: var(--brass); color: var(--brass); }
.lang-pill .ar { font-family: "Tajawal", var(--font-body); font-size: 1rem; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.area { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.area .pin { color: var(--neon); display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.area .pin svg { width: 16px; height: 16px; }
.area p { color: var(--muted); font-size: 1rem; }
.faq { display: grid; gap: .7rem; max-width: 860px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.2rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; color: var(--baize); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 1.1rem; }
.band-tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .header-cta .lang-pill { order: -1; } }

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] {
  --font-display: "Changa", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}
[dir="rtl"] body { font-size: 17.5px; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { text-transform: none; letter-spacing: 0; line-height: 1.2; }
[dir="rtl"] h1 { font-size: clamp(2.3rem, 6.2vw, 4.3rem); }
[dir="rtl"] h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
[dir="rtl"] .eyebrow, [dir="rtl"] .btn, [dir="rtl"] .stat span, [dir="rtl"] .marquee, [dir="rtl"] .brand-sub, [dir="rtl"] .loc-row small, [dir="rtl"] .area .pin { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .btn { font-size: 1.08rem; font-weight: 700; }
[dir="rtl"] .brand-name { letter-spacing: 0; font-size: 1.3rem; }
[dir="rtl"] .tagline-ar { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.5; color: var(--brass); }
[dir="rtl"] .lead { font-size: 1.15rem; }
[dir="rtl"] .marquee-track { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .marquee-track span::after { margin-left: 0; margin-right: 2.4rem; }
[dir="rtl"] .eyebrow::before { order: 0; }
[dir="rtl"] .step::before { font-family: var(--font-display); }
[dir="rtl"] .faq summary::after { font-family: var(--font-body); }
[dir="rtl"] .wa-float { right: auto; left: calc(18px + env(safe-area-inset-left, 0px)); }
[dir="rtl"] .num, [dir="rtl"] .stat b, [dir="rtl"] .latin { font-family: var(--font-display); direction: ltr; unicode-bidi: isolate; }

/* ---------- Brand logo ---------- */
.brand-mark { background: #fff; box-shadow: 0 0 0 3px var(--bg), 0 0 18px rgba(229,58,43,.35); }
.brand-mark img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; padding: 2px; }
.footer-brand { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer-logo { width: 150px; height: auto; background: #fff; border-radius: 12px; padding: 8px 10px; }

/* ---------- Responsive & polish pass ---------- */
section[id], #top { scroll-margin-top: 84px; }
.wrap { max-width: 1240px; }
.hero-grid { align-items: center; }
.hero-copy { max-width: 640px; }
.hero-actions .btn { flex: 0 1 auto; }
.btn:active { transform: translateY(1px); }
.btn-primary:focus-visible { outline-color: var(--fg); }
.gallery { grid-auto-flow: dense; grid-auto-rows: clamp(150px, 17vw, 230px); }
.feature, .step, .area, .loc-card { transition: border-color .2s ease, transform .2s ease; }
.feature:hover, .area:hover, .step:hover { border-color: rgba(217,180,91,.45); transform: translateY(-2px); }
.feature h3, .area h3, .step h3 { line-height: 1.15; }
.steps { grid-template-columns: repeat(3, 1fr); }
.loc-media { min-height: clamp(260px, 36vw, 420px); }
.booking-cta { row-gap: .9rem; }
.hero-badge { font-size: clamp(.78rem, 2.4vw, .9rem); }
.marquee-track span { flex: none; }
.site-header .wrap { gap: .8rem; }

/* Large desktops */
@media (min-width: 1400px) {
  body { font-size: 18px; }
  .hero { padding-block: 5.5rem 4.5rem; }
  .hero-media { width: min(100%, 420px); }
  .gallery { grid-auto-rows: 240px; }
}
/* Laptop / small desktop: keep 3 columns but tighter */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
/* Tablet */
@media (max-width: 960px) {
  .hero-copy { max-width: 100%; }
  .hero-media { width: min(100%, 360px); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .step { padding: 1.3rem 1.1rem 1.2rem; }
  .step::before { font-size: 2.1rem; }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: .9rem; align-items: start; }
  .step::before { grid-row: 1 / span 2; }
}
/* Phones */
@media (max-width: 560px) {
  .hero { padding-block: 2rem 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .stat { padding: .8rem .9rem; }
  .stat b { font-size: 1.45rem; }
  .stat span { font-size: .72rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: .6rem; }
  .gallery figcaption { font-size: .74rem; padding: .4rem .55rem; }
  .booking-cta { padding: 1.1rem 1.1rem; }
  .booking-cta .num { font-size: 1.35rem; }
  .booking-cta .btn { width: 100%; }
  .loc-card { padding: 1.3rem 1.1rem; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; }
  .marquee { font-size: .82rem; }
  h3 { font-size: 1.3rem; }
}
@media (max-width: 380px) {
  body { font-size: 16px; }
  h1 { font-size: 2.5rem; }
  .brand-sub { display: none; }
  .header-inner { min-height: 60px; }
  .lang-pill { padding: .3rem .55rem; }
}
/* Short landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding-block: 1.5rem; }
  .hero-media { width: min(100%, 260px); }
}
/* Very wide hero on big screens: cap video so it doesn't dwarf the copy */
@media (min-width: 1800px) {
  .wrap { max-width: 1320px; }
}
[dir="rtl"] .step { direction: rtl; }
@media (hover: none) {
  .feature:hover, .area:hover, .step:hover { transform: none; }
}
/* tap targets */
.lang-pill { min-height: 44px; padding: .45rem .85rem; }
.copy-btn { min-height: 44px; padding: .5rem 1rem; }
.site-footer a { display: inline-block; padding: .4rem .2rem; }
.social a { padding: 0; width: 44px; height: 44px; }
