/*
Theme Name:  Ariya eSIM
Theme URI:   https://ariya-mobile.eu
Author:      Ariya Mobile
Description: Lightweight landing-page theme for Ariya eSIM satellite domains (esim-marokko.be and 8 sibling sites). No page builder, no jQuery. Polylang + Rank Math. Restyled to match the main ariya-mobile.eu SaaSox design language (self-hosted DM Sans, light editorial hero). Target: Lighthouse 95+ mobile.
Version:     1.2.0
License:     Proprietary
Text Domain: ariya-esim
Tags:        esim, landing-page, polylang, multilingual
*/

/* =====================================================
   Ariya Mobile — eSIM satellite theme
   Design language mined from frontend/styles/saasox/main.css
   (type scale, button/card shape, colour tokens) and rebuilt
   for a single-page landing template. No page builder, no jQuery.
   ===================================================== */

/* --- Self-hosted DM Sans (variable, 400–700) ---
   Matches the main site's typeface. One variable file per subset covers
   400–700 (~36KB latin, loaded once, cached). Arabic has no Latin glyphs
   so `ar` visitors fall through to the system-ui stack below. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-ext-var.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Custom Properties ---
   Matched to frontend/styles/saasox/main.css tokens (--ink/--surface/
   --border/--dark = their heading/gray-1/border/accent colours). --green
   is the locked Ariya brand green (CLAUDE.md §5), never altered.
   --white and --muted are read via inline style="color:var(--x)" in
   coverage-networks.php / pricing-teaser.php — keep both names. */
:root {
  --green:       #00A45E;  /* brand green — locked, do not change */
  --green-lt:    #00C875;
  --green-text:  #00854C;  /* AA-safe green for small text (labels/links) — see report */
  --dark:        #013228;  /* dark-green section bg (footer, CTA, pricing card) */
  --ink:         #1A1A2E;  /* headings + body text on light backgrounds */
  --muted:       #4B5165;  /* secondary text on light backgrounds, 7.9:1 on white */
  --surface:     #F5F7FA;
  --surface-alt: #ECF1F5;
  --border:      #D8DDE1;
  --white:       #ffffff;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-pill: 999px;
  --shadow:      0 1px 2px rgba(26,26,46,.05), 0 1px 3px rgba(26,26,46,.04);
  --max-w:       1140px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container  { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.sr-only    { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 1rem; font-weight: 700; color: var(--ink);
  white-space: nowrap;
  border-radius: 6px;
}
.nav__logo  { width: 30px; height: 30px; flex-shrink: 0; }
.nav__langs { display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap; }
.lang-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2rem; min-height: 2rem;
  font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm); color: var(--muted);
  transition: color .2s, background .2s;
}
.lang-link:hover        { color: var(--green-text); background: var(--surface); }
.lang-link[aria-current]{ color: var(--green-text); background: rgba(0,164,94,.1); font-weight: 700; }

/* ===========================
   HERO — light, editorial (matches the main site's cs_hero_style_3:
   flat light background, dark heading with a single green highlight word,
   pill buttons). No decorative gradients/blobs (CLAUDE.md §6).
   =========================== */
.hero {
  background: var(--surface);
  color: var(--ink);
  padding: 3.5rem 0 3rem;
}
.hero__inner { max-width: 700px; }
.hero__badge {
  display: inline-flex; align-items: center;
  background: rgba(0,164,94,.08);
  border: 1px solid rgba(0,164,94,.22);
  border-radius: var(--radius-pill); padding: 0.4rem 0.9rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--green-text); margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(1.85rem, 1.4rem + 2.2vw, 2.75rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.hero__title mark { background: none; color: var(--green); }
.hero__sub {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  color: var(--muted);
  margin-bottom: 2rem; line-height: 1.65;
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green); color: var(--ink);
  padding: 0.95rem 1.75rem; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 700;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-lt); transform: translateY(-1px); }
.btn-primary:hover .icon-arrow { transform: translateX(3px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--ink);
  font-size: 0.92rem; font-weight: 600;
  padding: 0.8rem 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: color .2s, border-color .2s;
}
.btn-secondary:hover { color: var(--green-text); border-color: var(--green); }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  margin-top: 2.25rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.proof-item {
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
}
.icon-arrow { width: 16px; height: 16px; transition: transform .2s ease; }

/* ===========================
   HERO — APP DOWNLOAD ROW (compact, above-the-fold badges)
   =========================== */
.hero__app { margin-top: 1.75rem; }
.hero__app-label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.hero__app .store-badges { gap: 0.65rem 1.1rem; }
.hero__app .store-badge { padding: 0.42rem 0.75rem; gap: 0.5rem; }
.hero__app .store-badge__icon { width: 20px; height: 20px; }
.hero__app .store-badge__line1 { font-size: 0.54rem; }
.hero__app .store-badge__line2 { font-size: 0.82rem; }

/* ===========================
   SECTION ANATOMY
   =========================== */
.section          { padding: 4rem 0; }
.section--surface { background: var(--surface); }

.section__label {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green-text);
  margin-bottom: 0.65rem;
}
.pricing-teaser .section__label,
.cta-section .section__label { color: var(--green-lt); }

.section__title {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}
.section__intro {
  font-size: 1.02rem; color: var(--muted);
  max-width: 620px; line-height: 1.7;
}
.section__head { margin-bottom: 2.5rem; }

/* ===========================
   WHY ESIM
   =========================== */
.why-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
}
.why-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card__text  { font-size: 0.89rem; color: var(--muted); line-height: 1.6; }

/* ===========================
   HOW IT WORKS
   =========================== */
.steps {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step-counter;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.85rem 1.6rem;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--ink);
  font-size: 1.05rem; font-weight: 700; margin-bottom: 1.1rem;
}
.step__title { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.45rem; }
.step__text  { font-size: 0.89rem; color: var(--muted); line-height: 1.65; }
.step__tip {
  margin-top: 1rem; padding: 0.7rem 1rem;
  background: rgba(0,164,94,.06);
  border-inline-start: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem; color: var(--muted); line-height: 1.55; font-style: italic;
}
/* border-inline-start already flips sides automatically under RTL; only the
   border-radius corner order is physical and needs a direction-specific fix. */
[dir="rtl"] .step__tip { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

/* ===========================
   COVERAGE & NETWORKS
   =========================== */
.networks-wrap { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .networks-wrap { grid-template-columns: 1fr 1fr; align-items: start; gap: 3rem; }
}
.networks-list { display: flex; flex-direction: column; gap: 1rem; }
.network-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.network-item__name { font-weight: 700; font-size: 0.95rem; }
.network-item__tech {
  margin-inline-start: auto;
  font-size: 0.78rem; font-weight: 700;
  color: var(--green-text); background: rgba(0,164,94,.1);
  padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
}
.coverage-info__title {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.9rem;
}
.city-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.city-tag {
  padding: 0.4rem 0.9rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
}
.coverage-note {
  padding: 1rem 1.25rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.87rem; color: var(--muted); line-height: 1.6;
}
.coverage-note strong { color: var(--ink); }

/* ===========================
   PRICING TEASER — flat dark-green section (no gradient), same colour as
   footer/final CTA, for section-rhythm contrast.
   =========================== */
.pricing-teaser {
  background: var(--dark);
  color: var(--white); padding: 4rem 0;
}
.pricing-inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .pricing-inner { grid-template-columns: 1fr 1fr; } }
.pricing-text .section__title { color: var(--white); margin-bottom: 1rem; }
.pricing-bullets { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.pricing-bullet {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,.88);
}
.btn-light {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green-lt); color: var(--dark);
  padding: 0.95rem 1.75rem; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 700;
  transition: opacity .2s, transform .15s;
}
.btn-light:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-light:hover .icon-arrow { transform: translateX(3px); }
.pricing-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 2.25rem;
}
.pricing-card__plans { display: flex; flex-direction: column; gap: 0.85rem; }
.plan-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1rem; background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
}
.plan-row__label { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,.9); }
.plan-row__badge {
  font-size: 0.78rem; font-weight: 700; color: var(--green-lt);
  background: rgba(0,200,117,.15); padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
}
.pricing-card__note { margin-top: 1.25rem; font-size: 0.8rem; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ===========================
   FAQ
   =========================== */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; max-width: 820px; }
details.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color .2s;
}
details.faq-item[open] { border-color: rgba(0,164,94,.3); }
details.faq-item > summary {
  padding: 1.1rem 1.35rem;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; user-select: none;
  transition: background .15s;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary:hover { background: var(--surface); }
details.faq-item > summary::after {
  content: '+'; font-size: 1.3rem; line-height: 1; font-weight: 400;
  color: var(--green-text); flex-shrink: 0; transition: transform .2s;
}
details.faq-item[open] > summary::after { content: '\2212'; }
.faq-body {
  padding: 0 1.35rem 1.2rem;
  font-size: 0.92rem; color: var(--muted); line-height: 1.7;
}
.faq-body a { color: var(--green-text); text-decoration: underline; text-underline-offset: 2px; }

/* ===========================
   RELATED GUIDES
   =========================== */
.guides-list { display: flex; flex-direction: column; gap: 0.6rem; max-width: 820px; }
.guide-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.35rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  transition: border-color .2s, background .15s;
}
.guide-link:hover { background: var(--surface); border-color: rgba(0,164,94,.3); }
.guide-link__arrow { flex-shrink: 0; }
.guide-link:hover .guide-link__arrow { transform: translateX(3px); }
.is-rtl .guide-link { flex-direction: row-reverse; }
.is-rtl .guide-link__arrow { transform: scaleX(-1); }
.is-rtl .guide-link:hover .guide-link__arrow { transform: scaleX(-1) translateX(-3px); }

/* ===========================
   TRUST SIGNALS
   =========================== */
.trust-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-card {
  padding: 1.4rem 1.25rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center;
}
.trust-card__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.trust-card__text  { font-size: 0.81rem; color: var(--muted); line-height: 1.5; }
.compat-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.compat-title { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-align: center; margin-bottom: 0.9rem; }
.compat-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.compat-tag {
  padding: 0.35rem 0.85rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 500; color: var(--ink);
}

/* ===========================
   FINAL CTA
   =========================== */
.cta-section { background: var(--dark); color: var(--white); padding: 4.5rem 0; text-align: center; }
.cta-title {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.2; margin-bottom: 1rem; color: var(--white);
}
.cta-sub {
  color: rgba(255,255,255,.78); font-size: 1.05rem;
  line-height: 1.65; margin-bottom: 2rem;
  max-width: 520px; margin-inline: auto;
}
.cta-section .btn-primary { background: var(--green-lt); }
.cta-section .btn-primary:hover { background: var(--white); }

/* ===========================
   PAGE CUSTOM CONTENT (Gutenberg)
   =========================== */
.page-custom-content {
  padding: 2rem 0;
}
.page-custom-content:empty { padding: 0; }

/* ===========================
   404
   =========================== */
.error-404 { padding: 6rem 0; text-align: center; }
.error-404 h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); font-weight: 700; margin-bottom: 1rem; }
.error-404 p { color: var(--muted); margin-bottom: 2rem; }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 3.5rem 0 2rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
.footer__brand { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.75rem; }
.footer__brand-logo { width: 26px; height: 26px; }
.footer__brand-name { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.footer__tagline { font-size: 0.85rem; line-height: 1.65; max-width: 260px; }
.footer__col-title {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-bottom: 0.85rem;
}
.footer__links  { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__link   { font-size: 0.88rem; padding: 0.15rem 0; display: inline-block; transition: color .2s; }
.footer__link:hover { color: var(--white); }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: space-between; align-items: center;
}
.footer__copy { font-size: 0.79rem; color: rgba(255,255,255,.6); }
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer__legal a { font-size: 0.79rem; color: rgba(255,255,255,.6); padding: 0.2rem 0; display: inline-block; transition: color .2s; }
.footer__legal a:hover { color: var(--white); }

/* ===========================
   FOOTER — APP DOWNLOAD BADGES
   =========================== */
.footer__app { margin-top: 1.75rem; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.store-badge-group { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #f7f8f9;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.95rem;
  min-height: 44px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.24); border-color: rgba(0,0,0,.16); }
.store-badge__icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge__line1 { font-size: 0.6rem; color: #4d574f; }
.store-badge__line2 { font-size: 0.95rem; font-weight: 700; color: #0c1a12; letter-spacing: 0.01em; }
.store-badges__cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,.78);
  text-decoration: none; align-self: center;
  transition: color .2s;
}
.store-badges__cta:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.store-badges__cta .icon-arrow { width: 14px; height: 14px; }

/* ===========================
   MOBILE APP INSTALL BANNER
   =========================== */
.app-banner {
  display: none;
  position: fixed;
  left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  z-index: 200;
  align-items: center; gap: 0.65rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.65rem 0.75rem;
}
.app-banner.is-visible { display: flex; }
.app-banner__logo { width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--surface); padding: 0.3rem; }
.app-banner__text { flex: 1; font-size: 0.82rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.app-banner__cta {
  flex-shrink: 0;
  background: var(--green); color: var(--ink);
  font-size: 0.78rem; font-weight: 700;
  padding: 0.6rem 1rem; border-radius: var(--radius-pill);
  min-height: 44px; display: inline-flex; align-items: center;
  transition: background .2s;
}
.app-banner__cta:hover { background: var(--green-lt); }
.app-banner__close {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--muted); background: transparent; border: 0; cursor: pointer;
  transition: background .2s, color .2s;
}
.app-banner__close:hover { background: var(--surface); color: var(--ink); }
.app-banner__close svg { width: 16px; height: 16px; }

body.app-banner-visible { padding-bottom: 5rem; }

@media (min-width: 769px) {
  .app-banner { display: none !important; }
  body.app-banner-visible { padding-bottom: 0; }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (min-width: 768px) {
  .hero    { padding: 5.5rem 0 5rem; }
  .section { padding: 5.5rem 0; }
  .pricing-teaser { padding: 5.5rem 0; }
  .cta-section { padding: 6rem 0; }
}

/* ===========================
   RTL (Arabic) — flexbox's `row` axis already flows start→end per the
   `dir` attribute (a flex item order/position mirrors for free), so the
   theme deliberately does NOT force flex-direction:row-reverse anywhere:
   that would fight the automatic mirroring and flip things back to the
   LTR arrangement. Only genuinely physical things need a rule here: SVG
   arrow glyphs (shape isn't direction-aware) and one non-logical
   border-radius corner order (above, .step__tip).
   =========================== */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn-primary:hover .icon-arrow,
[dir="rtl"] .btn-light:hover .icon-arrow { transform: scaleX(-1) translateX(3px); }

/* Focus / accessibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.pricing-teaser a:focus-visible, .cta-section a:focus-visible, .footer a:focus-visible,
.pricing-teaser button:focus-visible, .cta-section button:focus-visible, .footer button:focus-visible {
  outline-color: var(--green-lt);
}

/* Respect reduced-motion: disable hover motion + scroll animation (CLAUDE.md §27) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* WordPress: hide default block editor styles interference */
.wp-block { max-width: none; }

/* Print */
@media print {
  .nav, .hero__proof, .cta-section, .footer, .app-banner { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* Hero image. Width/height are set on the element so the browser reserves
   space before the file arrives — an image that reflows the page on load
   costs CLS, and Core Web Vitals feed ranking. */
.hero__image {
  display: block;
  width: 100%;
  max-width: 640px;
  /* Fixed 3:2 box with a cover crop, NOT height:auto. The source images are
     not a consistent shape — Turkey is 800x1200 portrait and the USA is
     800x800 square — so height:auto rendered those two as enormous columns,
     and the width/height attributes (800x533) then described a box the image
     never occupied, reserving the wrong space and causing the very layout
     shift they were added to prevent. Cropping to a fixed ratio makes the
     declared size true on every site and the hero uniform across the fleet. */
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin: 28px auto 0;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
