/* QARAR public.css — mobile cascade conflict removal
   Desktop/base styles remain here. Mobile <=780px component layout is owned by public-mobile.css.
   Removed old mobile media blocks and geometry !important flags that overrode public-mobile.css.
*/
/* Cairo is loaded through the official Google Fonts stylesheet in the public layout. */
:root{
  --white:#ffffff;
  --warm:#f9f9f7;
  --soft:#eeeeec;
  --line:#e2e3e1;
  --ink:#1a1c1b;
  --muted:#5f6461;
  --onyx:#101211;
  --red:#86000b;
  --red-2:#ba1b1d;
  --red-bright:#e41f25;
  --radius:24px;
  --container:1280px;
  --shadow:0 24px 80px rgba(16,18,17,.14);
  --section:112px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Cairo,"Segoe UI",Tahoma,Arial,sans-serif;
  background:var(--warm);
  color:var(--ink);
  direction:rtl;
  text-align:right;
  overflow-x:hidden;
  line-height:1.8;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.skip-link{
  position:absolute;inset-inline-start:16px;top:-70px;
  background:var(--red);color:white;padding:12px 18px;border-radius:10px;z-index:2000
}
.skip-link:focus{top:14px}
.container{
  width:min(calc(100% - 48px),var(--container));
  margin-inline:auto;
}
.section{padding:var(--section) 0}
.section-soft{background:var(--soft)}
.section-dark{background:var(--onyx);color:white}
.section-kicker{
  display:block;
  color:var(--red-2);
  font-size:13px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.section-title{margin-bottom:64px}
.center-title{text-align:center}
.section-title h2,.section-copy h2{
  margin:0;
  font-size:clamp(38px,4vw,56px);
  line-height:1.22;
  letter-spacing:-.03em;
  font-weight:900;
}
.section-title p,.section-copy p{
  color:var(--muted);
  font-size:19px;
  margin:18px 0 0;
}
.section-dark .section-title p{color:rgba(255,255,255,.62)}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  min-height:48px;
  padding:13px 22px;
  border-radius:12px;
  font-weight:900;
  line-height:1.2;
  transition:.25s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--red-2);color:white;box-shadow:0 14px 30px rgba(186,27,29,.22)}
.btn-primary:hover{background:var(--red-bright);transform:translateY(-1px)}
.btn-ghost{border:1px solid rgba(255,255,255,.26);color:white;background:rgba(255,255,255,.06)}
.btn-ghost:hover{background:white;color:var(--ink)}
.btn-outline{border:2px solid var(--red-2);color:var(--red-2);background:white;width:100%}
.btn-outline:hover{background:var(--red-2);color:white}
.btn-wide{width:100%;min-height:58px}

/* Header */
.site-header{
  position:fixed;
  top:0;inset-inline:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(226,227,225,.72);
  box-shadow:0 6px 24px rgba(16,18,17,.04);
  transition:.25s ease;
}
.site-header.is-scrolled{
  background:rgba(255,255,255,.98);
  border-bottom:1px solid rgba(226,227,225,.9);
  box-shadow:0 14px 40px rgba(16,18,17,.08);
}
.header-inner{
  min-height:80px;
  display:flex;
  align-items:center;
  gap:24px;
}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{height:58px;width:auto;object-fit:contain}
.desktop-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  flex:1;
  color:var(--muted);
  font-weight:800;
  font-size:14px;
}
.desktop-nav a:hover{color:var(--red-2)}
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.site-header .btn-ghost{border:1px solid var(--line);color:var(--ink);background:white}
.site-header .btn-ghost:hover{background:var(--ink);color:white}
.menu-toggle{
  display:none;
  width:46px;height:46px;border:1px solid var(--line);
  background:var(--warm);border-radius:14px;padding:12px;
}
.menu-toggle span{display:block;height:2px;background:var(--ink);margin:5px 0;border-radius:2px}

/* Hero */
.hero{
  position:relative;
  min-height:100vh;
  display:grid;
  align-items:center;
  padding:152px 0 72px;
  overflow:hidden;
}
.hero-media,.hero-media img,.hero-overlay{
  position:absolute;inset:0;width:100%;height:100%;
}
.hero-media img{object-fit:cover}
.hero-overlay{
  background:
    linear-gradient(270deg,rgba(16,18,17,.92) 0%,rgba(16,18,17,.72) 40%,rgba(16,18,17,.44) 68%,rgba(16,18,17,.86) 100%),
    linear-gradient(0deg,rgba(16,18,17,.78) 0%,rgba(16,18,17,.14) 55%,rgba(16,18,17,.54) 100%);
}
.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.85fr);
  gap:64px;
  align-items:center;
}
.hero-copy{color:white;max-width:780px}
.eyebrow{
  font-weight:800;
  color:rgba(255,255,255,.9);
  margin:0 0 12px;
}
.campaign{
  font-size:clamp(22px,2vw,32px);
  font-weight:900;
  letter-spacing:.16em;
  color:rgba(255,255,255,.76);
  text-transform:uppercase;
  margin:0 0 16px;
  direction:ltr;
  text-align:right;
}
.hero h1{
  margin:0;
  font-size:clamp(62px,7vw,94px);
  line-height:1.05;
  font-weight:1000;
  letter-spacing:-.06em;
}
.hero-subtitle{
  margin:24px 0 0;
  font-size:clamp(24px,2.5vw,34px);
  color:rgba(255,255,255,.9);
  font-weight:700;
}
.hero-description{
  margin:22px 0 0;
  color:rgba(255,255,255,.78);
  font-size:18px;
  max-width:700px;
}
.hero-card{
  background:rgba(255,255,255,.95);
  color:var(--ink);
  border:1px solid rgba(226,227,225,.6);
  border-radius:26px;
  padding:34px;
  box-shadow:0 30px 100px rgba(0,0,0,.3);
  backdrop-filter:blur(18px);
}
.hero-card h2{font-size:28px;line-height:1.25;margin:0 0 8px;font-weight:900}
.hero-card p{color:var(--muted);margin:0 0 22px}
.mini-form,.field-grid{display:grid;gap:16px}
label span{display:block;font-weight:900;margin-bottom:7px;color:inherit}
input,select,textarea{
  width:100%;
  min-height:52px;
  border:1px solid var(--line);
  background:var(--warm);
  color:var(--ink);
  border-radius:12px;
  padding:12px 15px;
  outline:none;
  transition:.2s ease;
}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{
  border-color:var(--red-2);
  box-shadow:0 0 0 4px rgba(186,27,29,.12);
}
.form-note{font-size:12px;margin:10px 0 0;color:#6d7470}

/* About */
.split-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}
.image-frame{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  box-shadow:var(--shadow);
  background:var(--line);
}
.image-frame img{width:100%;height:100%;object-fit:cover}
.image-frame-tall{height:700px}
.wide-copy{max-width:620px}
.lead{
  font-size:25px;
  font-weight:900;
  color:var(--muted);
}
blockquote{
  margin:32px 0;
  color:var(--muted);
  font-size:26px;
  line-height:1.75;
  font-weight:500;
  font-style:italic;
}
.two-notes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  padding-top:18px;
}
.two-notes h3{
  color:var(--red-2);
  font-size:22px;
  margin:0 0 8px;
}
.two-notes p{margin:0;color:var(--muted)}

/* Reasons */
.reason-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:48px;
}
.reason-card h3,.station-card h3{
  font-size:28px;
  line-height:1.25;
  margin:24px 0 12px;
  font-weight:900;
}
.reason-card p{margin:0;color:var(--muted);font-size:17px}
.reason-image{
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:24px;
  box-shadow:0 14px 40px rgba(16,18,17,.12);
}
.reason-image img{width:100%;height:100%;object-fit:cover;transition:1s ease}
.reason-card:hover img{transform:scale(1.06)}
.reason-image span{
  position:absolute;
  inset-block-start:22px;
  inset-inline-end:22px;
  display:grid;place-items:center;
  width:66px;height:66px;border-radius:50%;
  background:white;color:var(--red-2);
  font-size:32px;font-weight:1000;
  box-shadow:0 12px 32px rgba(0,0,0,.18);
}

/* Stations */
.station-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.station-card{
  background:white;
  border:1px solid rgba(226,227,225,.9);
  border-radius:30px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 10px 34px rgba(16,18,17,.06);
  transition:.25s ease;
}
.station-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.station-image{height:260px;overflow:hidden}
.station-image img{width:100%;height:100%;object-fit:cover;transition:1s ease}
.station-card:hover .station-image img{transform:scale(1.06)}
.station-body{
  padding:30px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
}
.station-body h3{margin:0 0 6px}
.station-body p{
  margin:0;
  color:var(--muted);
  font-weight:800;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.station-body p span{color:var(--red-2)}
.station-en{
  font-size:13px;
  line-height:1.45;
  direction:ltr;
  text-align:left;
}
.station-body .btn{margin-top:auto}

/* Stats */
.stats-section{
  background:linear-gradient(180deg,#101211,#1b1d1c);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:38px;
  text-align:center;
}
.stats-grid article{min-width:0}
.stats-grid strong{
  display:block;
  color:var(--red-bright);
  font-size:clamp(42px,5vw,74px);
  line-height:1;
  font-weight:1000;
  letter-spacing:-.05em;
}
.stats-grid .white-number{
  color:white;
  font-size:clamp(36px,4.4vw,66px);
}
.stats-grid span{
  display:block;
  font-size:20px;
  font-weight:900;
  margin-top:14px;
}
.stats-grid small{
  display:block;
  color:rgba(255,255,255,.46);
  margin-top:8px;
}

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  grid-template-rows:1fr 1fr;
  height:700px;
  gap:24px;
}
.gallery-large{grid-row:span 2}
.gallery-large,.gallery-side{
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.gallery-grid img{width:100%;height:100%;object-fit:cover;transition:.75s ease}
.gallery-grid div:hover img{transform:scale(1.04)}

/* Partners */
.logo-wall{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.logo-wall article{
  min-height:150px;
  border-radius:24px;
  background:white;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  text-align:center;
  padding:22px;
}
.logo-wall span{
  color:var(--red-2);
  font-weight:900;
  font-size:13px;
}
.logo-wall strong{
  display:block;
  margin-top:10px;
  font-size:24px;
  direction:ltr;
  letter-spacing:.03em;
}

/* Path */
.path-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.path-card{
  position:relative;
  min-height:430px;
  border-radius:34px;
  overflow:hidden;
  color:white;
  isolation:isolate;
  box-shadow:var(--shadow);
}
.path-card:after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(16,18,17,.9),rgba(16,18,17,.25));
  z-index:-1;
}
.path-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.path-card div{
  position:absolute;
  inset:auto 42px 42px 42px;
}
.path-card h2{font-size:34px;line-height:1.25;margin:0 0 14px;font-weight:1000}
.path-card p{max-width:560px;color:rgba(255,255,255,.78);font-size:18px}

/* Forms */
.form-shell{max-width:920px}
.form-card{
  background:white;
  border:1px solid var(--line);
  border-radius:34px;
  padding:56px;
  box-shadow:var(--shadow);
}
.form-heading{text-align:center;margin-bottom:40px}
.form-heading h2{
  margin:0;
  font-size:clamp(34px,4vw,54px);
  line-height:1.18;
  font-weight:1000;
}
.form-heading p{color:var(--muted);font-size:18px;margin:16px 0 0}
.step-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:34px;
}
.step-tabs button{
  border:1px solid var(--line);
  background:var(--warm);
  border-radius:18px;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:24px;
  font-weight:1000;
}
.step-tabs span{font-size:14px;font-weight:900}
.step-tabs .is-active{background:var(--red-2);color:white;border-color:var(--red-2)}
.step-pane{display:none}
.step-pane.is-active{display:block}
.field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.field-grid .full{grid-column:1/-1}
.consent{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.consent input{width:20px;min-height:20px;margin-top:6px}
.consent span{margin:0;font-weight:700}
.developer-section{
  background:linear-gradient(180deg,#101211,#201010);
}
.dark-card{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
  color:white;
  backdrop-filter:blur(12px);
}
.dark-card .form-heading p{color:rgba(255,255,255,.72)}
.dark-card input,.dark-card select,.dark-card textarea{
  background:rgba(255,255,255,.07);
  color:white;
  border-color:rgba(255,255,255,.18);
}
.dark-card input::placeholder,.dark-card textarea::placeholder{color:rgba(255,255,255,.48)}
.dark-tabs button{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:white}
.dark-tabs .is-active{background:var(--red-2)}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:54px;
  align-items:center;
}
.contact-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.contact-card{
  text-align:right;
  border:1px solid var(--line);
  background:white;
  border-radius:24px;
  padding:26px;
  min-height:160px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  transition:.25s ease;
}
.contact-card:hover{border-color:var(--red-2);transform:translateY(-3px);box-shadow:0 16px 50px rgba(16,18,17,.09)}
.contact-card.wide{grid-column:1/-1;min-height:122px}
.contact-card span{
  width:52px;height:52px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(186,27,29,.1);color:var(--red-2);
  margin-bottom:16px;
  font-size:25px;
}
.contact-card strong{font-size:22px;font-weight:1000}
.contact-card small{color:var(--muted);margin-top:4px}

/* FAQ */
.narrow{max-width:900px}
.faq-list{display:grid;gap:14px}
.faq-item{
  background:white;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:22px 26px;
  font-size:20px;
  font-weight:900;
  display:flex;
  justify-content:space-between;
  gap:18px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item p{
  margin:0;
  padding:0 26px 24px;
  color:var(--muted);
}
.faq-item[open] summary span{transform:rotate(180deg)}
.faq-item summary span{transition:.2s ease}

/* CTA/Footer */
.final-cta{
  padding:104px 0;
  text-align:center;
}
.final-cta h2{
  font-size:clamp(42px,5vw,72px);
  line-height:1.25;
  margin:0 0 36px;
  font-weight:1000;
  letter-spacing:-.05em;
}
.cta-row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.site-footer{padding:76px 0 24px;background:#101211}
.footer-grid{
  display:grid;
  grid-template-columns:1.35fr .7fr .7fr .85fr;
  gap:50px;
}
.footer-grid h3{margin:0 0 18px;font-size:18px}
.footer-grid a,.footer-grid p{display:block;color:rgba(255,255,255,.65);margin:8px 0}
.footer-brand p{max-width:420px}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:56px;
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:rgba(255,255,255,.58);
}
.footer-bottom a{margin-inline-start:18px;color:rgba(255,255,255,.58)}

/* Sheets / assistant */
.mobile-sticky-cta{
  display:none;
  position:fixed;
  inset-inline:12px;
  bottom:12px;
  z-index:900;
  grid-template-columns:repeat(4,1fr);
  background:rgba(16,18,17,.94);
  color:white;
  border:1px solid rgba(255,255,255,.13);
  border-radius:22px;
  padding:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.26);
  backdrop-filter:blur(18px);
}
.mobile-sticky-cta a,.mobile-sticky-cta button{
  border:0;background:transparent;color:white;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;font-size:11px;font-weight:900;min-height:54px;border-radius:16px;
}
.mobile-sticky-cta a:hover,.mobile-sticky-cta button:hover{background:rgba(255,255,255,.08)}
.mobile-sticky-cta span{font-size:18px;color:var(--red-bright)}
.contact-hub,.assistant-modal,.mobile-menu{
  position:fixed;inset:0;z-index:1500;
  opacity:0;pointer-events:none;transition:.25s ease;
}
.contact-hub[aria-hidden="true"],
.assistant-modal[aria-hidden="true"],
.mobile-menu[aria-hidden="true"]{
  display:none;
}

.contact-hub.is-open,
.assistant-modal.is-open,
.mobile-menu.is-open{
  display:block;
  opacity:1;
  pointer-events:auto;
}
.sheet-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(4px);
}
.sheet-panel{
  position:absolute;
  left:50%;
  right:auto;
  bottom:24px;
  transform:translateX(-50%) translateY(20px);
  width:min(520px,calc(100% - 32px));
  background:white;
  border-radius:30px;
  padding:30px;
  box-shadow:0 24px 90px rgba(0,0,0,.3);
  transition:.25s ease;
}
.contact-hub.is-open .sheet-panel{transform:translateX(-50%) translateY(0)}
.sheet-close{position:absolute;top:18px;left:18px}
.icon-button{
  border:0;width:42px;height:42px;border-radius:50%;
  background:rgba(16,18,17,.08);
  color:inherit;
  font-size:26px;line-height:1;
}
.sheet-panel h2{margin:0 0 22px;font-size:32px;font-weight:1000}
.sheet-option{
  display:flex;
  gap:16px;
  align-items:center;
  width:100%;
  border:1px solid var(--line);
  background:var(--warm);
  border-radius:20px;
  padding:18px;
  margin-top:12px;
  text-align:right;
}
.sheet-option span{
  width:50px;height:50px;border-radius:50%;display:grid;place-items:center;
  background:rgba(186,27,29,.1);color:var(--red-2);
}
.sheet-option strong{display:block;font-size:18px}
.sheet-option small{color:var(--muted)}
.assistant-panel{
  position:absolute;
  bottom:24px;
  inset-inline-end:24px;
  width:min(430px,calc(100% - 32px));
  max-height:82vh;
  background:white;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 24px 90px rgba(0,0,0,.3);
  transform:translateY(20px);
  transition:.25s ease;
}
.assistant-modal.is-open .assistant-panel{transform:translateY(0)}
.assistant-panel header{
  background:var(--onyx);
  color:white;
  padding:18px;
  display:flex;
  align-items:center;
  gap:14px;
}
.assistant-panel header .icon-button{background:rgba(255,255,255,.1)}
.assistant-panel h2{margin:0;flex:1;font-size:20px}
.assistant-body{padding:22px;max-height:480px;overflow:auto}
.assistant-message{
  background:var(--warm);
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
}
.assistant-message p{margin:8px 0 0;color:var(--muted)}
.quick-options{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.quick-options button{
  border:1px solid rgba(186,27,29,.25);
  background:white;color:var(--red-2);
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
}
.assistant-input{
  display:flex;gap:8px;padding:14px;border-top:1px solid var(--line);
}
.assistant-input input{min-height:48px}
.assistant-input button{border:0;background:var(--red-2);color:white;border-radius:14px;padding:0 16px;font-weight:900}
.toast{
  position:fixed;
  left:50%;
  right:auto;
  bottom:106px;
  transform:translateX(-50%) translateY(20px);
  z-index:1700;
  background:var(--onyx);
  color:white;
  width:min(420px,calc(100% - 36px));
  padding:16px 18px;
  border-radius:18px;
  opacity:0;
  pointer-events:none;
  box-shadow:0 20px 70px rgba(0,0,0,.3);
  transition:.25s ease;
  text-align:center;
  font-weight:900;
}
.toast.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}
.mobile-menu-panel{
  position:absolute;
  inset-block:0;
  inset-inline-end:0;
  width:min(420px,92vw);
  background:#101211;
  color:white;
  padding:24px;
  transform:translateX(100%);
  transition:.25s ease;
  box-shadow:-20px 0 60px rgba(0,0,0,.3);
}
.mobile-menu.is-open .mobile-menu-panel{transform:translateX(0)}
.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}
.mobile-menu-head .icon-button{background:rgba(255,255,255,.1)}
.mobile-nav{display:grid;gap:8px}
.mobile-nav a{
  padding:16px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.82);
  font-weight:900;
}
.mobile-nav-strong{background:var(--red-2)!important;color:white!important}

/* Responsive */
@media (min-width: 781px) and (max-width: 1080px){
  :root{--section:90px}
  .desktop-nav,.header-actions .btn{display:none}
  .menu-toggle{display:block}
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-card{max-width:560px}
  .split-grid,.contact-grid,.path-grid{grid-template-columns:1fr}
  .reason-grid,.station-grid{grid-template-columns:1fr 1fr}
  .stats-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .image-frame-tall{height:560px}
}

/* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */


/* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */


/* Official logo handling */
.footer .brand img,.footer-logo img{background:#fff;border-radius:12px;padding:8px;max-height:74px}
.site-header .brand img{max-width:170px}

/* Empty official-logo wall is intentionally hidden until approved logos are uploaded. */
.logo-wall:empty{display:none}

.desktop-hidden { display: none; }
.preview-ribbon {
  position: fixed;
  inset-block-start: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #ba1b1d;
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 14px 14px;
  font-weight: 800;
  font-size: 13px;
}
body.is-preview { padding-top: 34px; }

/* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */

@media (min-width: 761px) {
  .desktop-hidden.section, .desktop-hidden.hero, .desktop-hidden.final-cta { display:none; }
}

.hp-field{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  margin:-1px !important;
  border:0 !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
  opacity:0 !important;
  pointer-events:none !important;
}
.form-message{margin-top:14px;font-weight:700}.form-message.ok{color:#157347}.form-message.error{color:#ba1b1d}.is-loading{opacity:.7;pointer-events:none}

.field-group.station-multi {
  border: 0;
  padding: 0;
  margin: 0;
}
.field-group.station-multi legend {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}
.station-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 8px;
  min-height: 44px;
  cursor: pointer;
}
.station-check input {
  inline-size: 18px;
  block-size: 18px;
}
.field-group.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  outline: 2px solid var(--qarar-red, #ba1b1d);
  outline-offset: 2px;
}
.field-help {
  display: block;
  margin-top: 4px;
  opacity: .72;
}
button[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

/* Desktop/tablet visual polish is intentionally scoped away from mobile.
   Mobile <= 780px is owned by public-mobile.css to prevent desktop compression and !important cascade conflicts. */
@media (min-width: 781px) {
  /* ==========================================================
     QARAR Final Visual Polish — Layout, Spacing & Consistency Pass
     Scope: visual CSS only. No routes, backend, migrations, CMS schema,
     field names, validation, or data bindings are changed.
     ========================================================== */

  :root{
    --container:1248px;
    --section:88px;
    --card-radius:26px;
    --card-border:rgba(226,227,225,.92);
    --card-shadow:0 14px 42px rgba(16,18,17,.075);
    --card-shadow-hover:0 24px 70px rgba(16,18,17,.12);
  }

  .container{
    width:min(calc(100% - 56px),var(--container));
  }

  .section{
    padding:var(--section) 0;
  }

  .section-title{
    max-width:900px;
    margin:0 auto 38px;
  }

  .section-title h2,
  .section-copy h2{
    font-size:clamp(40px,3.8vw,56px);
    line-height:1.18;
  }

  .section-title p,
  .section-copy p{
    max-width:760px;
    font-size:18px;
    line-height:1.85;
  }

  .center-title p{
    margin-inline:auto;
  }

  .section-kicker{
    margin-bottom:12px;
  }

  /* Header balance */
  .header-inner{
    min-height:76px;
    gap:22px;
  }

  .brand img{
    height:54px;
  }

  .desktop-nav{
    gap:24px;
    font-size:14px;
  }

  .header-actions .btn{
    min-height:46px;
    padding-inline:18px;
  }

  /* Hero: keep composition, improve internal rhythm */
  .hero{
    min-height:94vh;
    padding:132px 0 64px;
  }

  .hero-grid{
    grid-template-columns:minmax(0,1.28fr) minmax(390px,.82fr);
    gap:56px;
  }

  .hero-copy{
    max-width:760px;
  }

  .hero h1{
    max-width:820px;
  }

  .hero-subtitle{
    margin-top:20px;
  }

  .hero-description{
    margin-top:18px;
    line-height:1.9;
  }

  .hero-card{
    padding:32px;
    border-radius:24px;
  }

  .hero-card h2{
    margin-bottom:10px;
  }

  .hero-card .mini-form{
    gap:15px;
  }

  .hero-card input,
  .hero-card select{
    min-height:50px;
  }

  /* QARAR idea */
  .split-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:64px;
  }

  .wide-copy{
    max-width:660px;
  }

  .image-frame-tall{
    height:620px;
  }

  .lead{
    margin-top:16px;
    font-size:23px!important;
  }

  blockquote{
    margin:26px 0;
    font-size:24px;
  }

  .two-notes{
    gap:22px;
    padding-top:10px;
  }

  .two-notes article{
    min-height:112px;
    padding:20px;
    border:1px solid var(--line);
    border-radius:20px;
    background:rgba(255,255,255,.68);
  }

  /* Card consistency */
  .reason-card,
  .station-card,
  .contact-card,
  .faq-item,
  .form-card,
  .logo-wall article{
    border-color:var(--card-border);
  }

  .reason-card{
    display:flex;
    flex-direction:column;
    height:100%;
  }

  .reason-grid{
    gap:30px;
    align-items:stretch;
  }

  .reason-image{
    aspect-ratio:4/3;
    border-radius:var(--card-radius);
  }

  .reason-card h3,
  .station-card h3{
    font-size:26px;
    line-height:1.28;
  }

  .reason-card h3{
    margin:22px 0 10px;
  }

  .reason-card p{
    font-size:17px;
    line-height:1.85;
  }

  /* Event stations */
  .station-grid{
    gap:24px;
    align-items:stretch;
  }

  .station-card{
    min-height:100%;
    border-radius:28px;
    box-shadow:var(--card-shadow);
  }

  .station-card:hover{
    box-shadow:var(--card-shadow-hover);
  }

  .station-image{
    height:248px;
  }

  .station-body{
    padding:26px;
    gap:12px;
  }

  .station-body h3{
    margin:0 0 4px;
  }

  .station-body p{
    line-height:1.65;
  }

  .station-en{
    min-height:38px;
  }

  .station-body .btn{
    min-height:52px;
  }

  /* Statistics */
  .stats-section .section-title{
    margin-bottom:34px;
  }

  .stats-grid{
    gap:0;
    align-items:start;
  }

  .stats-grid article{
    padding:0 22px;
    border-inline-start:1px solid rgba(255,255,255,.12);
  }

  .stats-grid article:last-child{
    border-inline-start:0;
  }

  .stats-grid strong{
    font-size:clamp(46px,4.8vw,72px);
  }

  .stats-grid .white-number{
    font-size:clamp(40px,4.3vw,64px);
  }

  .stats-grid span{
    margin-top:12px;
    font-size:18px;
    line-height:1.45;
  }

  .stats-grid small{
    line-height:1.55;
  }

  /* Experience / gallery */
  .gallery-grid{
    height:620px;
    gap:20px;
  }

  .gallery-large,
  .gallery-side{
    border-radius:28px;
    background:var(--line);
    box-shadow:var(--card-shadow);
  }

  .gallery-grid img{
    object-fit:cover;
  }

  .gallery-grid div:empty{
    display:none;
  }

  /* Visitor/developer journeys */
  .path-grid{
    gap:24px;
    align-items:stretch;
  }

  .path-card{
    min-height:420px;
    border-radius:30px;
  }

  .path-card div{
    inset:auto 36px 36px 36px;
  }

  .path-card h2{
    font-size:32px;
  }

  .path-card p{
    min-height:66px;
    margin-bottom:20px;
  }

  /* Public forms */
  .form-shell{
    max-width:1080px;
  }

  .form-card{
    padding:48px;
    border-radius:30px;
  }

  .form-heading{
    margin-bottom:34px;
  }

  .form-heading h2{
    font-size:clamp(36px,3.8vw,52px);
  }

  .step-tabs{
    gap:12px;
    margin-bottom:30px;
  }

  .step-tabs button{
    min-height:66px;
    border-radius:16px;
  }

  .field-grid{
    gap:18px 22px;
  }

  .field-grid label,
  .field-group{
    min-width:0;
  }

  label span,
  .field-group legend{
    font-size:14px;
    line-height:1.55;
    margin-bottom:8px;
  }

  input,
  select,
  textarea{
    min-height:54px;
    border-radius:12px;
  }

  textarea{
    min-height:118px;
  }

  .field-group.station-multi{
    padding:18px;
    border-radius:18px;
    background:rgba(249,249,247,.72);
  }

  .station-check{
    min-height:46px;
  }

  .consent{
    padding-top:6px;
  }

  .consent span{
    line-height:1.75;
  }

  .step-pane .btn-wide{
    margin-top:22px;
  }

  /* Developer dark form */
  .developer-section .form-shell{
    max-width:1120px;
  }

  .dark-card{
    padding:50px;
  }

  .dark-card label span,
  .dark-card .field-group legend{
    color:rgba(255,255,255,.9);
  }

  .dark-card .field-group.station-multi{
    background:rgba(255,255,255,.055);
    border-color:rgba(255,255,255,.14);
  }

  .dark-card .station-check{
    background:rgba(255,255,255,.055);
    border-color:rgba(255,255,255,.14);
  }

  .dark-card .station-check:hover{
    border-color:rgba(255,255,255,.34);
  }

  /* Contact */
  .contact-grid{
    grid-template-columns:1fr 1fr;
    gap:46px;
  }

  .contact-cards{
    gap:18px;
  }

  .contact-card{
    min-height:172px;
    padding:28px;
    border-radius:24px;
  }

  .contact-card.wide{
    min-height:132px;
  }

  .contact-card strong{
    font-size:23px;
    line-height:1.4;
  }

  .contact-card small{
    line-height:1.65;
  }

  /* FAQ */
  .narrow{
    max-width:1040px;
  }

  .faq-list{
    gap:12px;
  }

  .faq-item{
    border-radius:18px;
  }

  .faq-item summary{
    padding:24px 28px;
    font-size:21px;
    align-items:center;
  }

  .faq-item p{
    padding:0 28px 26px;
    font-size:17px;
    line-height:1.9;
  }

  /* Final CTA + footer */
  .final-cta{
    padding:78px 0;
  }

  .final-cta h2{
    font-size:clamp(40px,4.6vw,64px);
    margin-bottom:26px;
  }

  .site-footer{
    padding:58px 0 22px;
  }

  .footer-grid{
    grid-template-columns:1.25fr .75fr .8fr .9fr;
    gap:38px;
  }

  .footer-grid a,
  .footer-grid p{
    line-height:1.85;
  }

  .footer-brand img{
    max-width:160px;
    height:auto;
    margin-bottom:18px;
  }

  .footer-bottom{
    margin-top:38px;
  }

  /* Responsive visual polish */
  @media (min-width: 781px) and (max-width: 1080px){
    :root{--section:76px}
    .container{width:min(calc(100% - 40px),var(--container))}
    .hero-grid{grid-template-columns:1fr;gap:30px}
    .hero-card{max-width:620px}
    .split-grid{gap:44px}
    .image-frame-tall{height:540px}
    .reason-grid,.station-grid{gap:22px}
    .stats-grid{grid-template-columns:repeat(3,1fr);gap:28px}
    .stats-grid article{border-inline-start:0;padding:0 14px}
    .form-shell,.developer-section .form-shell{max-width:920px}
    .contact-grid{gap:34px}
  }


  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* ==========================================================
     QARAR Final Visual Polish — Focused Correction Pass
     Scope: CSS-only layout/spacing consistency + visual fallbacks.
     No routes, DB, CMS schema, JS behavior, form names, or content changes.
     ========================================================== */

  :root{
    --container:1248px;
    --section:88px;
    --card-radius:24px;
    --card-border:rgba(226,227,225,.92);
    --card-shadow:0 14px 42px rgba(16,18,17,.075);
    --card-shadow-strong:0 24px 72px rgba(16,18,17,.13);
  }

  .container{
    width:min(calc(100% - 72px), var(--container));
    margin-inline:auto;
  }

  .section{
    padding:var(--section) 0;
  }

  .section-title{
    margin-bottom:36px;
  }

  .section-title h2,
  .section-copy h2{
    font-size:clamp(42px,3.8vw,58px);
    line-height:1.18;
    letter-spacing:-.035em;
  }

  .section-title p,
  .section-copy p,
  .lead{
    font-size:clamp(18px,1.45vw,21px);
    line-height:1.85;
  }

  .section-kicker{
    margin-bottom:12px;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
  }

  /* Header */
  .header-inner{
    min-height:82px;
  }

  .brand img{
    height:58px;
    max-width:178px;
    object-fit:contain;
  }

  .desktop-nav{
    gap:24px;
  }

  .desktop-nav a{
    font-size:15px;
  }

  /* Hero: same composition, cleaner internal rhythm */
  .hero{
    padding:132px 0 66px;
  }

  .hero-grid{
    gap:56px;
    grid-template-columns:minmax(0,1.08fr) minmax(380px,.82fr);
    align-items:center;
  }

  .hero-copy{
    max-width:780px;
  }

  .hero-subtitle{
    margin-top:22px;
  }

  .hero-description{
    max-width:700px;
    margin-top:18px;
  }

  .hero-card{
    padding:34px;
    border-radius:26px;
  }

  .hero-card h2{
    margin-bottom:8px;
  }

  .mini-form{
    gap:15px;
  }

  .mini-form .field-group,
  .mini-form label{
    width:100%;
  }

  /* QARAR idea */
  .split-grid{
    grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
    gap:58px;
    align-items:center;
  }

  .image-frame-tall{
    height:640px;
    border-radius:30px;
  }

  .wide-copy{
    max-width:660px;
  }

  blockquote{
    font-size:clamp(23px,2.2vw,34px);
    line-height:1.65;
    margin:28px 0;
  }

  .two-notes{
    gap:18px;
  }

  .two-notes article{
    min-height:178px;
    padding:24px;
    border-radius:22px;
  }

  /* Card system */
  .reason-card,
  .station-card,
  .contact-card,
  .faq-item,
  .form-card,
  .logo-wall article{
    border-radius:var(--card-radius);
    border-color:var(--card-border);
    box-shadow:var(--card-shadow);
  }

  .reason-card,
  .station-card{
    display:flex;
    flex-direction:column;
    height:100%;
  }

  .reason-grid,
  .station-grid{
    align-items:stretch;
  }

  /* Why attend */
  .reason-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:26px;
  }

  .reason-card{
    background:#fff;
    padding:18px 18px 24px;
    min-height:100%;
  }

  .reason-image{
    aspect-ratio:16/11;
    border-radius:20px;
    margin:0 0 22px;
  }

  .reason-image span{
    width:58px;
    height:58px;
    font-size:27px;
    inset-block-start:18px;
    inset-inline-end:18px;
  }

  .reason-card h3,
  .station-card h3{
    font-size:clamp(25px,2vw,31px);
    line-height:1.25;
    margin:0 0 12px;
  }

  .reason-card p{
    font-size:18px;
    line-height:1.85;
    flex:1;
  }

  /* Event stations */
  .station-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:26px;
  }

  .station-card{
    min-height:620px;
    border-radius:26px;
    overflow:hidden;
  }

  .station-image{
    height:auto;
    aspect-ratio:16/10;
    background:#d9dad7;
  }

  .station-image img,
  .station-image picture{
    width:100%;
    height:100%;
    display:block;
  }

  .station-image img{
    object-fit:cover;
  }

  .station-body{
    padding:28px;
    gap:13px;
    flex:1;
  }

  .station-body p{
    font-size:16.5px;
    line-height:1.65;
  }

  .station-en{
    min-height:46px;
  }

  .station-body .btn{
    margin-top:auto;
    width:100%;
  }

  /* Statistics: remove any title block/rectangle and rebalance strip */
  .stats-section{
    background:#101211 !important;
    padding:82px 0 78px;
  }

  .stats-section .section-title,
  .stats-section .section-title.center-title,
  .stats-section .section-title h2,
  .stats-section .section-title p,
  .stats-section .section-kicker{
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    outline:0 !important;
  }

  .stats-section .section-title{
    margin:0 auto 38px;
    padding:0 !important;
    max-width:980px;
  }

  .stats-section .section-title h2{
    color:#fff;
  }

  .stats-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:0;
    border:1px solid rgba(255,255,255,.12);
    border-radius:26px;
    overflow:hidden;
    background:rgba(255,255,255,.035);
  }

  .stats-grid article{
    padding:30px 22px 32px;
    border-inline-start:1px solid rgba(255,255,255,.12);
    min-height:180px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
  }

  .stats-grid article:last-child{
    border-inline-start:0;
  }

  .stats-grid strong{
    font-size:clamp(46px,4.4vw,68px);
  }

  .stats-grid .white-number{
    font-size:clamp(40px,4vw,60px);
  }

  .stats-grid span{
    font-size:18px;
    line-height:1.45;
    margin-top:12px;
  }

  .stats-grid small{
    line-height:1.5;
  }

  /* Experience / Gallery: no empty white blocks */
  .gallery-grid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:22px;
    height:clamp(520px,50vw,640px);
  }

  .gallery-large,
  .gallery-side{
    position:relative;
    border-radius:28px;
    overflow:hidden;
    background:linear-gradient(135deg,#d7d8d4,#eeeeec);
    box-shadow:var(--card-shadow-strong);
    min-height:0;
  }

  .gallery-large{
    grid-row:1 / span 2;
  }

  .gallery-large::before,
  .gallery-side::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(16,18,17,.04),rgba(16,18,17,.1));
    opacity:.45;
    pointer-events:none;
    z-index:1;
  }

  .gallery-grid img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    position:relative;
    z-index:0;
  }

  .gallery-grid img[src=""],
  .gallery-grid img:not([src]){
    display:none;
  }

  .gallery-grid div:has(img[src=""]),
  .gallery-grid div:not(:has(img)){
    display:none;
  }

  /* Visitor/developer journeys */
  .path-grid{
    gap:26px;
    align-items:stretch;
  }

  .path-card{
    min-height:460px;
    border-radius:30px;
  }

  .path-card img{
    object-fit:cover;
  }

  .path-card div{
    inset:auto 38px 38px 38px;
  }

  .path-card h2{
    font-size:clamp(31px,2.6vw,40px);
  }

  .path-card p{
    min-height:68px;
    font-size:18px;
    line-height:1.75;
  }

  .path-card .btn{
    min-width:160px;
  }

  /* Public forms: wider, clearer desktop grid */
  .form-shell{
    max-width:1180px;
  }

  .form-card{
    padding:clamp(42px,4.2vw,60px);
    border-radius:30px;
  }

  .form-heading{
    margin-bottom:32px;
  }

  .form-heading h2{
    font-size:clamp(38px,3.6vw,56px);
  }

  .form-heading p{
    max-width:760px;
    margin:14px auto 0;
  }

  .step-tabs{
    margin:0 auto 34px;
    max-width:620px;
  }

  .field-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 24px;
    align-items:start;
  }

  .field-grid label,
  .field-grid .field-group{
    min-width:0;
  }

  .field-grid label.full,
  .field-grid .full,
  .field-grid .field-group.full,
  .field-grid .station-multi,
  .field-grid textarea,
  .consent{
    grid-column:1 / -1;
  }

  label span,
  .field-group legend{
    display:block;
    margin-bottom:8px;
    font-size:15px;
    line-height:1.5;
    font-weight:900;
  }

  input,
  select,
  textarea{
    min-height:56px;
    padding:13px 16px;
    border-radius:13px;
  }

  textarea{
    min-height:128px;
  }

  .field-group.station-multi{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    padding:18px;
    border-radius:18px;
    border:1px solid var(--line);
  }

  .field-group.station-multi legend,
  .field-group.station-multi .field-help{
    grid-column:1/-1;
  }

  .station-check{
    min-height:48px;
    padding:11px 12px;
    border-radius:14px;
  }

  .consent{
    gap:12px;
    padding:8px 0 2px;
  }

  .step-pane .btn-wide{
    margin-top:22px;
    min-height:58px;
    font-size:17px;
  }

  /* Developer dark form */
  .developer-section .form-shell{
    max-width:1200px;
  }

  .dark-card{
    padding:clamp(44px,4.2vw,62px);
    border-radius:30px;
  }

  .dark-card input,
  .dark-card select,
  .dark-card textarea{
    background:rgba(255,255,255,.085);
    border-color:rgba(255,255,255,.22);
  }

  .dark-card .field-group.station-multi{
    background:rgba(255,255,255,.055);
    border-color:rgba(255,255,255,.16);
  }

  /* Contact */
  .contact-section{
    padding:76px 0;
  }

  .contact-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:34px;
    align-items:center;
  }

  .contact-grid .section-copy{
    max-width:560px;
  }

  .contact-cards{
    gap:18px;
  }

  .contact-card{
    min-height:176px;
    padding:30px;
    border-radius:22px;
  }

  .contact-card.wide{
    min-height:136px;
  }

  .contact-card span{
    width:58px;
    height:58px;
    margin-bottom:14px;
  }

  .contact-card strong{
    font-size:24px;
  }

  .contact-card small{
    font-size:15px;
    line-height:1.6;
  }

  /* FAQ */
  .narrow{
    max-width:1120px;
  }

  .faq-list{
    gap:14px;
  }

  .faq-item{
    border-radius:18px;
  }

  .faq-item summary{
    padding:26px 30px;
    font-size:22px;
    line-height:1.55;
    align-items:center;
  }

  .faq-item p{
    padding:0 30px 28px;
    font-size:18px;
    line-height:1.85;
  }

  /* Final CTA + footer */
  .final-cta{
    padding:58px 0 56px;
  }

  .final-cta h2{
    font-size:clamp(38px,4.2vw,58px);
    margin-bottom:24px;
  }

  .site-footer{
    padding:48px 0 20px;
  }

  .footer-grid{
    grid-template-columns:1.25fr .75fr .8fr .9fr;
    gap:34px;
    align-items:start;
  }

  .footer-brand img{
    width:auto;
    max-width:172px;
    height:auto;
    max-height:68px;
    object-fit:contain;
    margin-bottom:16px;
  }

  .footer-brand p{
    max-width:430px;
    font-size:16.5px;
    line-height:1.85;
  }

  .footer-grid h3{
    font-size:20px;
    margin-bottom:14px;
  }

  .footer-grid a,
  .footer-grid p{
    font-size:16px;
    line-height:1.75;
    margin:7px 0;
  }

  .footer-bottom{
    margin-top:34px;
    padding-top:18px;
    align-items:center;
  }

  .footer-bottom p,
  .footer-bottom a{
    font-size:14.5px;
  }

  /* Focused responsive correction */
  @media (min-width: 781px) and (max-width: 1080px){
    :root{--section:74px}
    .container{width:min(calc(100% - 44px), var(--container))}
    .hero-grid,
    .split-grid,
    .contact-grid{
      grid-template-columns:1fr;
      gap:34px;
    }
    .reason-grid,
    .station-grid{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .stats-grid{
      grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .stats-grid article:nth-child(3n){
      border-inline-start:0;
    }
    .gallery-grid{
      height:560px;
      grid-template-columns:1.45fr .9fr;
    }
    .form-shell,
    .developer-section .form-shell{
      max-width:980px;
    }
    .footer-grid{
      grid-template-columns:1fr 1fr;
    }
  }


  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */


  /* ------------------------------------------------------------------
     QARAR Final Visual Polish — Last Focused Correction Pass
     Scope: visual CSS/markup only. No field names, routes or backend logic changed.
  ------------------------------------------------------------------- */
  :root{
    --container:1248px;
    --section:78px;
    --card-radius:24px;
  }

  .container{
    width:min(calc(100% - 56px), var(--container));
    margin-inline:auto;
  }

  main > .section:not(.stats-section),
  .path-section,
  .contact-section{
    padding-block:var(--section) !important;
  }

  .section-title{
    max-width:1020px;
    margin:0 auto 36px !important;
  }

  .section-title h2,
  .section-copy h2{
    font-size:clamp(42px,4.2vw,60px) !important;
    line-height:1.22;
  }

  .section-title p,
  .section-copy p,
  .lead{
    font-size:19px;
    line-height:1.85;
  }

  /* Content scale and card consistency after Hero */
  .reason-grid,
  .station-grid,
  .path-grid,
  .contact-grid,
  .gallery-grid,
  .form-shell,
  .narrow{
    width:100%;
  }

  .reason-grid,
  .station-grid{
    gap:30px;
  }

  .reason-card,
  .station-card{
    min-width:0;
    border-radius:26px !important;
  }

  .reason-card{
    padding:22px 22px 28px !important;
    min-height:470px;
  }

  .reason-image{
    aspect-ratio:16/10 !important;
    margin-bottom:24px;
  }

  .reason-card h3,
  .station-card h3{
    font-size:clamp(27px,2.15vw,34px) !important;
    line-height:1.25;
  }

  .reason-card p,
  .station-body p{
    font-size:18px !important;
    line-height:1.82;
  }

  .station-card{
    min-height:640px;
  }

  .station-image{
    aspect-ratio:16/9 !important;
    height:auto;
  }

  .station-body{
    padding:30px !important;
  }

  .station-body .btn{
    margin-top:auto;
  }

  /* Gallery: zero white placeholders, automatic compact reflow */
  #gallery{
    padding-block:72px !important;
  }

  #gallery .container{
    max-width:1248px;
  }

  .gallery-grid{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(320px,.95fr);
    grid-auto-flow:dense;
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:20px;
    min-height:0;
    height:clamp(520px,48vw,620px);
    align-items:stretch;
  }

  .gallery-item,
  .gallery-large,
  .gallery-side{
    display:block;
    position:relative;
    overflow:hidden;
    border-radius:26px !important;
    background:transparent !important;
    box-shadow:0 16px 50px rgba(16,18,17,.13) !important;
    min-height:0;
    border:0 !important;
  }

  .gallery-large{
    grid-row:1 / span 2;
  }

  .gallery-side{
    min-height:0;
  }

  .gallery-grid img{
    width:100%;
    height:100%;
    object-fit:cover !important;
    display:block;
  }

  .gallery-grid img[src=""],
  .gallery-grid img:not([src]){
    display:none;
  }

  .gallery-grid .gallery-item:empty,
  .gallery-grid .gallery-item:not(:has(img)),
  .gallery-grid .gallery-item:has(img[src=""]){
    display:none;
  }

  .gallery-grid.gallery-count-1{
    display:block;
    height:auto;
  }

  .gallery-grid.gallery-count-1 .gallery-item{
    height:520px;
  }

  .gallery-grid.gallery-count-2,
  .gallery-grid.gallery-auto-reflow:has(.gallery-item:nth-child(2):last-child){
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:1fr;
    height:430px;
  }

  .gallery-grid.gallery-count-2 .gallery-large,
  .gallery-grid.gallery-auto-reflow:has(.gallery-item:nth-child(2):last-child) .gallery-large{
    grid-row:auto !important;
  }

  .gallery-grid.gallery-count-2 .gallery-item,
  .gallery-grid.gallery-auto-reflow:has(.gallery-item:nth-child(2):last-child) .gallery-item{
    height:100%;
  }

  /* Wider, clearer public forms without backend/name changes */
  .form-shell,
  .developer-section .form-shell{
    max-width:1040px;
    width:min(calc(100% - 56px),1040px);
  }

  .form-card,
  .dark-card{
    padding:52px 56px !important;
    border-radius:28px !important;
  }

  .form-heading{
    max-width:780px;
    margin:0 auto 34px !important;
    text-align:center;
  }

  .form-heading h2{
    font-size:clamp(38px,3.6vw,54px) !important;
  }

  .form-heading p{
    font-size:18px;
    line-height:1.8;
  }

  .step-tabs{
    max-width:620px;
    margin-inline:auto;
    margin-bottom:34px;
  }

  .field-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 26px;
  }

  .field-grid label,
  .field-grid .field-group{
    min-width:0;
  }

  .field-grid .full,
  .field-grid label.full,
  .field-grid .field-group.full,
  .field-grid .station-multi,
  .field-grid .consent,
  .field-grid textarea{
    grid-column:1 / -1 !important;
  }

  label span,
  .field-group legend{
    font-size:15.5px !important;
    margin-bottom:10px;
    line-height:1.45;
  }

  input,
  select,
  textarea{
    min-height:58px;
    padding:14px 17px !important;
    font-size:16px;
  }

  textarea{
    min-height:138px;
  }

  .field-group.station-multi{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    padding:18px !important;
  }

  .station-check{
    min-height:52px;
    padding:12px 14px !important;
  }

  .consent{
    align-items:flex-start !important;
    gap:13px;
    margin-top:4px;
  }

  .step-pane .btn-wide{
    min-height:60px;
    margin-top:26px;
    font-size:17px !important;
  }

  .developer-section{
    padding-block:72px !important;
  }

  .dark-card{
    background:rgba(255,255,255,.07) !important;
    border:1px solid rgba(255,255,255,.14) !important;
  }

  .dark-card label span,
  .dark-card .field-group legend{
    color:rgba(255,255,255,.96) !important;
  }

  .dark-card input,
  .dark-card select,
  .dark-card textarea{
    background:rgba(255,255,255,.1) !important;
    border-color:rgba(255,255,255,.24) !important;
    color:#fff !important;
  }

  .dark-card input[type="file"]{
    padding:16px !important;
    min-height:64px;
  }

  /* Balanced Contact */
  .contact-section{
    padding-block:64px !important;
  }

  .contact-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
    gap:38px;
    align-items:center !important;
  }

  .contact-grid .section-copy{
    max-width:590px;
  }

  .contact-grid .section-copy h2{
    font-size:clamp(40px,3.7vw,56px) !important;
  }

  .contact-cards{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
  }

  .contact-card{
    min-height:178px;
    padding:30px !important;
    border-radius:24px !important;
  }

  .contact-card.wide{
    grid-column:1 / -1;
    min-height:130px;
  }

  .contact-card span{
    width:60px;
    height:60px;
    font-size:28px !important;
  }

  .contact-card strong{
    font-size:24px !important;
  }

  .contact-card small{
    font-size:15.5px !important;
  }

  /* FAQ closer to main container */
  #faq{
    padding-block:66px !important;
  }

  .narrow{
    max-width:1120px;
  }

  .faq-list{
    gap:16px;
  }

  .faq-item{
    border-radius:20px !important;
  }

  .faq-item summary{
    padding:27px 32px !important;
    font-size:22px !important;
    line-height:1.55;
  }

  .faq-item p{
    padding:0 32px 28px !important;
    font-size:18px !important;
    line-height:1.85;
  }

  /* Shorter, clearer ending */
  .final-cta{
    padding:46px 0 42px !important;
  }

  .final-cta h2{
    font-size:clamp(36px,3.8vw,56px) !important;
    margin-bottom:22px;
  }

  .site-footer{
    padding:38px 0 18px !important;
  }

  .footer-grid{
    gap:30px;
  }

  .footer-brand img{
    max-width:180px;
    margin-bottom:14px;
  }

  .footer-grid h3{
    font-size:20px !important;
  }

  .footer-grid a,
  .footer-grid p{
    font-size:16.5px !important;
    line-height:1.75;
    margin:6px 0 !important;
  }

  .footer-bottom{
    margin-top:28px;
    padding-top:16px;
  }

  /* Page length tightening without compressing Hero */
  .section-soft + .section,
  .section + .section-soft,
  .section + .section{
    margin-top:0;
  }

  @media (min-width: 781px) and (max-width: 1024px){
    :root{--section:66px}
    .container,
    .form-shell,
    .developer-section .form-shell{
      width:min(calc(100% - 42px), var(--container));
    }
    .reason-grid,
    .station-grid{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .gallery-grid{
      height:520px;
      grid-template-columns:minmax(0,1.35fr) minmax(280px,.9fr);
    }
    .contact-grid{
      grid-template-columns:1fr;
    }
    .contact-grid .section-copy{
      max-width:760px;
    }
    .footer-grid{
      grid-template-columns:1fr 1fr;
    }
  }


  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* =========================================================
     QARAR Final Visual Polish — Typography & Missing Visual Assets
     Scope: CSS visual polish only; no backend/routes/schema changes.
     ========================================================= */

  /* Typography scale lock */
  html{font-size:16px}
  body{
    font-size:16.5px !important;
    line-height:1.72;
  }

  .desktop-nav{
    font-size:15px !important;
    gap:32px;
  }

  .hero h1{
    font-size:clamp(56px,5.1vw,64px) !important;
    line-height:1.12;
    letter-spacing:-.045em !important;
  }

  .hero-subtitle{
    font-size:clamp(22px,2vw,28px) !important;
    line-height:1.45;
  }

  .hero-description{
    font-size:16.5px !important;
    line-height:1.82;
  }

  .section-title h2,
  .section-copy h2{
    font-size:clamp(30px,3vw,38px) !important;
    line-height:1.34;
    letter-spacing:-.018em !important;
  }

  .section-title p,
  .section-copy p{
    font-size:16.5px !important;
    line-height:1.78;
  }

  .form-heading h2{
    font-size:clamp(30px,2.85vw,36px) !important;
    line-height:1.35;
    letter-spacing:-.015em !important;
  }

  .form-heading p{
    font-size:16.5px !important;
    line-height:1.75;
  }

  .hero-card h2{
    font-size:clamp(24px,2vw,30px) !important;
    line-height:1.35;
  }

  .reason-card h3,
  .station-card h3,
  .contact-card strong{
    font-size:clamp(18px,1.45vw,21px) !important;
    line-height:1.45;
  }

  .path-card h2{
    font-size:clamp(26px,2.2vw,34px) !important;
    line-height:1.35;
  }

  .path-card p,
  .reason-card p,
  .station-card p,
  .contact-card small{
    font-size:16px !important;
    line-height:1.75;
  }

  .final-cta h2{
    font-size:clamp(32px,3vw,46px) !important;
    line-height:1.35;
    letter-spacing:-.025em !important;
  }

  /* Keep the improved structure, only tighten excess vertical length */
  :root{
    --container:1260px;
    --section:68px;
  }

  main > .section:not(.hero):not(.stats-section),
  .path-section,
  .contact-section,
  #gallery,
  #faq,
  .developer-section{
    padding-block:68px !important;
  }

  .section-title{
    margin-bottom:34px;
  }

  .section-kicker{
    margin-bottom:10px;
  }

  /* Missing image protection — never reserve white/gray empty slots */
  .reason-image:empty,
  .station-image:empty,
  .gallery-item:empty,
  .gallery-item:not(:has(img)),
  .reason-image:not(:has(img)),
  .station-image:not(:has(img)){
    display:none;
  }

  .gallery-item img:not([src]),
  .gallery-item img[src=""],
  .reason-image img:not([src]),
  .reason-image img[src=""],
  .station-image img:not([src]),
  .station-image img[src=""]{
    display:none;
  }

  .reason-card-no-image .reason-image,
  .station-card-no-image .station-image{
    display:none;
  }

  .reason-card-no-image,
  .station-card-no-image{
    display:flex;
    flex-direction:column !important;
    justify-content:center !important;
  }

  .reason-card-no-image{
    min-height:260px;
  }

  .station-card-no-image .station-body{
    min-height:330px;
    justify-content:space-between !important;
  }

  .reason-image,
  .station-image,
  .gallery-item{
    background:transparent !important;
  }

  .reason-image img,
  .station-image img,
  .gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover !important;
    object-position:center center;
  }

  /* Gallery: no placeholders, automatic reflow when fewer valid images exist */
  #gallery .container{
    max-width:var(--container);
  }

  .gallery-grid{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:18px;
    min-height:0;
    height:520px;
    align-items:stretch !important;
  }

  .gallery-grid:empty,
  .gallery-grid:not(:has(.gallery-item)){
    display:none;
  }

  .gallery-large{
    grid-row:1 / span 2 !important;
    min-height:520px;
  }

  .gallery-side{
    min-height:251px;
  }

  .gallery-grid.gallery-count-1{
    grid-template-columns:1fr;
    grid-template-rows:1fr;
    height:500px;
  }

  .gallery-grid.gallery-count-1 .gallery-item{
    min-height:500px;
    grid-column:1 / -1 !important;
    grid-row:auto !important;
  }

  .gallery-grid.gallery-count-2,
  .gallery-grid.gallery-auto-reflow{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:1fr;
    height:420px;
  }

  .gallery-grid.gallery-count-2 .gallery-item,
  .gallery-grid.gallery-auto-reflow .gallery-item{
    min-height:420px;
    grid-row:auto !important;
  }

  /* Forms: wider, readable, no backend binding changes */
  #register .form-shell,
  #developer-register .form-shell{
    max-width:1040px;
    width:min(calc(100% - 48px),1040px);
  }

  #register .form-card,
  #developer-register .form-card{
    padding:44px 48px !important;
  }

  #developer-register .dark-card{
    padding:48px !important;
  }

  .field-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 24px;
  }

  .field-grid > .full,
  .field-grid > .consent,
  .field-grid > fieldset.station-multi,
  .field-grid > label:has(textarea),
  .field-grid > label:has(input[type="file"]){
    grid-column:1 / -1 !important;
  }

  label span,
  .field-group legend{
    margin-bottom:10px;
    font-size:15.5px !important;
    line-height:1.45;
  }

  input,
  select,
  textarea{
    min-height:56px;
    padding:14px 16px !important;
    font-size:16px !important;
    line-height:1.6;
  }

  textarea{
    min-height:138px;
  }

  .dark-card input,
  .dark-card select,
  .dark-card textarea{
    background:rgba(255,255,255,.98) !important;
  }

  .dark-card .field-grid{
    gap:26px 24px;
  }

  .dark-card label span,
  .dark-card .field-group legend{
    color:rgba(255,255,255,.92) !important;
  }

  .dark-card .field-help{
    color:rgba(255,255,255,.64) !important;
  }

  .station-multi{
    padding:22px !important;
    gap:14px;
  }

  .station-check{
    min-height:50px;
  }

  /* Slight content scale improvement without changing layout */
  .reason-card{
    padding:24px !important;
    min-height:520px;
  }

  .reason-image{
    height:245px;
  }

  .station-card{
    min-height:560px;
  }

  .station-image{
    height:255px;
  }

  .station-body{
    padding:28px !important;
  }

  .path-card{
    min-height:470px;
  }

  .path-card div{
    inset:auto 38px 38px 38px;
  }

  /* Contact remains same layout, better balance and less unused whitespace */
  .contact-section{
    padding-block:58px !important;
  }

  .contact-grid{
    gap:34px;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }

  .contact-cards{
    gap:16px;
  }

  .contact-card{
    min-height:158px;
    padding:26px !important;
  }

  .contact-card span{
    width:56px;
    height:56px;
  }

  /* FAQ wider and clearer */
  #faq .narrow{
    max-width:1180px;
    width:min(calc(100% - 48px),1180px);
  }

  .faq-item summary{
    padding:25px 30px !important;
    font-size:clamp(18px,1.5vw,21px) !important;
    line-height:1.65;
  }

  .faq-item p{
    padding:0 30px 26px !important;
    font-size:16.5px !important;
    line-height:1.85;
  }

  /* Ending: shorter black area, stronger footer readability */
  .final-cta{
    padding:38px 0 34px !important;
  }

  .site-footer{
    padding:34px 0 16px !important;
  }

  .footer-grid{
    gap:26px;
  }

  .footer-grid h3{
    font-size:19px !important;
    margin-bottom:12px;
  }

  .footer-grid a,
  .footer-grid p{
    font-size:16.5px !important;
    line-height:1.78;
    margin:5px 0 !important;
  }

  .footer-brand p{
    font-size:16.5px !important;
  }

  .footer-bottom{
    margin-top:22px;
    padding-top:14px;
    font-size:15px !important;
  }

  /* Mobile typography and spacing target */

  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* =========================================================
     Final micro polish — typography, last gallery slot and footer/header scale
     Scope: visual CSS only; no content/backend/form-name changes.
     ========================================================= */

  /* Header: +8–10% logo/menu readability without changing composition */
  .site-header .brand img,
  .brand img{
    height:63px;
    max-height:63px;
  }
  .desktop-nav{
    font-size:15.2px !important;
    gap:33px;
    letter-spacing:-.005em !important;
  }
  .site-header .header-actions .btn{
    font-size:15px !important;
  }

  /* QARAR idea body text: remove decorative/italic feel and improve Arabic reading */
  .section-about .section-copy p,
  .section-about .wide-copy p,
  .section-about .lead,
  .section-about blockquote{
    font-family:Cairo,"Segoe UI",Tahoma,Arial,sans-serif !important;
    font-style:normal !important;
    font-weight:400 !important;
    font-size:clamp(16px,1.08vw,17px) !important;
    line-height:1.78;
    color:#3f4642 !important;
    letter-spacing:0 !important;
  }
  .section-about blockquote{
    margin:20px 0 22px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
  }
  .section-about .lead{
    margin-top:14px;
  }
  .section-about .two-notes p{
    font-size:16.5px !important;
    line-height:1.75;
    color:#4e5551 !important;
  }

  /* Missing/empty image slots must never reserve public white/grey cards */
  .reason-image:empty,
  .station-image:empty,
  .gallery-item:empty,
  .gallery-item:not(:has(img)),
  .reason-image:not(:has(img)),
  .station-image:not(:has(img)){
    display:none;
  }
  .gallery-grid{
    background:transparent !important;
    grid-auto-flow:dense;
  }
  .gallery-item{
    background:transparent !important;
    border:0 !important;
  }
  .gallery-item img,
  .reason-image img,
  .station-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover !important;
    background:transparent !important;
  }
  .gallery-grid.gallery-count-2,
  .gallery-grid.gallery-auto-reflow{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:1fr;
    height:430px;
  }
  .gallery-grid.gallery-count-2 .gallery-item,
  .gallery-grid.gallery-auto-reflow .gallery-item{
    grid-column:auto !important;
    grid-row:auto !important;
    min-height:430px;
  }
  .gallery-grid.gallery-count-1{
    height:500px;
  }
  .gallery-grid.gallery-count-1 .gallery-item{
    min-height:500px;
  }

  /* Card body micro-scale: +1px body only, titles remain unchanged */
  .reason-card p,
  .station-body p,
  .path-card p{
    font-size:17px !important;
    line-height:1.76;
  }
  .reason-card p{
    margin-bottom:18px;
  }
  .station-body{
    gap:10px;
  }
  .station-body .btn,
  .reason-card .btn{
    margin-top:auto;
  }

  /* Developer form: a little more breathing space vertically */
  #developer-register .field-grid{
    gap:30px 26px;
  }
  #developer-register .field-group.station-multi,
  #developer-register .upload-field,
  #developer-register .consent{
    margin-top:2px;
  }
  #developer-register label span,
  #developer-register .field-group legend{
    margin-bottom:12px;
  }

  /* Footer micro-polish: larger details, less empty black bottom */
  .site-footer{
    padding-top:32px;
    padding-bottom:10px;
  }
  .footer-grid a,
  .footer-grid p,
  .footer-bottom,
  .footer-bottom a{
    font-size:17px !important;
    line-height:1.78;
  }
  .footer-grid h3{
    font-size:20px !important;
  }
  .footer-brand p{
    font-size:17px !important;
    line-height:1.8;
  }
  .footer-bottom{
    margin-top:18px;
    padding-top:12px;
  }

  /* Mobile micro-polish */

  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* =========================================================
     QARAR Final Typography Compression Pass
     Scope: typography-only compression plus final empty gallery slot hiding.
     No layout, spacing, content, backend, routes, database, or form-name changes.
     ========================================================= */

  /* Global text weight discipline */
  body{
    font-size:15.8px !important;
    line-height:1.76;
    font-weight:400 !important;
  }
  p,
  li,
  small,
  .section-title p,
  .section-copy p,
  .hero-description,
  .form-heading p,
  .reason-card p,
  .station-body p,
  .path-card p,
  .contact-card small,
  .footer-grid p,
  .footer-grid a{
    font-weight:400 !important;
  }
  strong,
  label span,
  .field-group legend{
    font-weight:600 !important;
  }
  b{
    font-weight:600 !important;
  }

  /* Header should stay readable; do not compress it */
  .desktop-nav{
    font-size:14px !important;
    font-weight:600 !important;
  }
  .site-header .header-actions .btn,
  .site-header .btn{
    font-size:13.5px !important;
    font-weight:600 !important;
  }
  .site-header .brand img,
  .brand img{
    height:63px;
    max-height:63px;
  }

  /* Hero typography compression */
  .hero h1{
    font-size:clamp(46px,4vw,54px) !important;
    font-weight:700 !important;
    line-height:1.15;
    letter-spacing:-.035em !important;
  }
  .campaign{
    font-size:clamp(17px,1.45vw,22px) !important;
    font-weight:600 !important;
    letter-spacing:.13em !important;
    line-height:1.35;
  }
  .eyebrow{
    font-size:14px !important;
    font-weight:600 !important;
  }
  .hero-subtitle{
    font-size:clamp(18px,1.8vw,24px) !important;
    font-weight:600 !important;
    line-height:1.45;
  }
  .hero-description{
    font-size:clamp(15px,1.05vw,16px) !important;
    line-height:1.75;
  }

  /* Section headings */
  .section-title h2,
  .section-copy h2,
  .contact-grid .section-copy h2,
  .stats-section .section-title h2,
  #register .form-heading h2,
  #developer-register .form-heading h2{
    font-size:clamp(26px,2.4vw,32px) !important;
    font-weight:700 !important;
    line-height:1.3;
    letter-spacing:-.018em !important;
  }
  .section-title p,
  .section-copy p{
    font-size:clamp(15px,1.05vw,16px) !important;
    line-height:1.76;
  }
  .section-kicker{
    font-size:12px !important;
    font-weight:600 !important;
    letter-spacing:.18em !important;
  }

  /* Form titles and helper text */
  .form-heading h2{
    font-size:clamp(26px,2.35vw,29px) !important;
    font-weight:700 !important;
    line-height:1.32;
  }
  .form-heading p{
    font-size:14.5px !important;
    line-height:1.65;
  }
  .step-tabs button{
    font-size:18px !important;
    font-weight:700 !important;
  }
  .step-tabs span{
    font-size:12.5px !important;
    font-weight:600 !important;
  }
  label span,
  .field-group legend{
    font-size:14px !important;
    line-height:1.45;
  }
  input,
  select,
  textarea{
    font-size:15px !important;
    line-height:1.55;
  }
  .form-note,
  .form-message,
  .field-error{
    font-size:12.5px !important;
    line-height:1.6;
  }

  /* Cards: titles remain clear; body lighter */
  .reason-card h3,
  .station-card h3,
  .station-body h3,
  .path-card h2,
  .contact-card strong{
    font-size:clamp(17px,1.45vw,19px) !important;
    font-weight:700 !important;
    line-height:1.4;
    letter-spacing:0 !important;
  }
  .reason-card p,
  .station-body p,
  .path-card p{
    font-size:clamp(14px,1vw,15px) !important;
    font-weight:400 !important;
    line-height:1.65;
  }
  .station-en,
  .station-body small,
  .station-body .meta,
  .reason-card small{
    font-size:13px !important;
    line-height:1.5;
    font-weight:500 !important;
  }
  .btn,
  button,
  .station-body .btn,
  .reason-card .btn,
  .path-card .btn,
  .form-card .btn{
    font-size:13.5px !important;
    font-weight:600 !important;
    line-height:1.25;
  }

  /* QARAR idea body must be regular Arabic reading text */
  .section-about .section-copy p,
  .section-about .wide-copy p,
  .section-about .lead,
  .section-about blockquote,
  .section-about .two-notes p{
    font-style:normal !important;
    font-weight:400 !important;
    font-size:clamp(15.5px,1.05vw,16.5px) !important;
    line-height:1.78;
  }

  /* Statistics */
  .stats-grid strong{
    font-size:clamp(30px,3vw,36px) !important;
    font-weight:800 !important;
    line-height:1.05;
  }
  .stats-grid .white-number{
    font-size:clamp(30px,2.8vw,34px) !important;
  }
  .stats-grid span{
    font-size:12.5px !important;
    font-weight:600 !important;
    line-height:1.45;
    margin-top:10px;
  }
  .stats-grid small{
    font-size:12px !important;
    line-height:1.55;
  }

  /* Contact, FAQ, footer */
  .contact-grid .section-copy h2,
  .faq-section .section-title h2,
  .final-cta h2{
    font-size:clamp(26px,2.25vw,30px) !important;
    font-weight:700 !important;
    line-height:1.32;
  }
  .faq-item summary{
    font-size:15.5px !important;
    font-weight:600 !important;
    line-height:1.55;
  }
  .faq-item p,
  .faq-item .faq-answer{
    font-size:15px !important;
    line-height:1.75;
    font-weight:400 !important;
  }
  .final-cta h2{
    font-size:clamp(28px,2.8vw,34px) !important;
  }
  .final-cta p{
    font-size:15.5px !important;
    line-height:1.7;
  }
  .footer-grid h3{
    font-size:16px !important;
    font-weight:700 !important;
  }
  .footer-grid a,
  .footer-grid p,
  .footer-bottom,
  .footer-bottom a,
  .footer-brand p{
    font-size:13.5px !important;
    line-height:1.7;
    font-weight:400 !important;
  }

  /* Final gallery safeguard: remove the known empty temporary crop if it reaches public HTML */
  .gallery-grid .gallery-item:has(img[src*="gallery-side-2"]),
  .gallery-grid .gallery-item:has(img[src*="gallery_side_2"]),
  .gallery-grid .gallery-item:has(img[src*="placeholder"]),
  .gallery-grid .gallery-item:has(img[src=""]),
  .gallery-grid .gallery-item:has(img:not([src])),
  .gallery-grid .gallery-item:empty{
    display:none;
  }
  .gallery-grid{
    grid-auto-flow:dense;
  }
  .gallery-grid .gallery-item{
    background:transparent !important;
  }

  /* Tablet typography */
  @media (min-width: 781px) and (max-width: 1024px){
    .hero h1{
      font-size:clamp(40px,5.1vw,46px) !important;
      line-height:1.17;
    }
    .section-title h2,
    .section-copy h2,
    .form-heading h2{
      font-size:clamp(25px,3.1vw,30px) !important;
    }
    .hero-subtitle{
      font-size:clamp(17px,2.4vw,22px) !important;
    }
  }

  /* Mobile typography */

  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* =========================================================
     QARAR Typography Balance Correction
     Scope: typography only. No layout, spacing, images, sections,
     content, backend, database, routes, form structure, or field-name changes.
     ========================================================= */

  /* Global typography balance */
  body{
    font-size:16px !important;
    line-height:1.76;
    font-weight:400 !important;
  }
  p,
  li,
  .section-title p,
  .section-copy p,
  .hero-description,
  .form-heading p,
  .reason-card p,
  .station-body p,
  .path-card p,
  .contact-card small,
  .footer-grid p,
  .footer-grid a{
    font-size:16px !important;
    line-height:1.75;
    font-weight:400 !important;
  }

  /* Header remains readable */
  .desktop-nav,
  .mobile-menu a{
    font-size:14px !important;
    font-weight:600 !important;
  }
  .site-header .header-actions .btn,
  .site-header .btn,
  .mobile-menu .btn{
    font-size:13.8px !important;
    font-weight:600 !important;
  }
  .site-header .brand img,
  .brand img{
    height:66px;
    max-height:66px;
  }

  /* Hero: midpoint between previous large and compressed state */
  .hero h1{
    font-size:clamp(48px,4.15vw,56px) !important;
    font-weight:700 !important;
    line-height:1.17;
    letter-spacing:-.03em !important;
  }
  .campaign{
    font-size:clamp(13px,1vw,14px) !important;
    font-weight:600 !important;
    letter-spacing:.16em !important;
    line-height:1.45;
  }
  .eyebrow{
    font-size:14px !important;
    font-weight:600 !important;
  }
  .hero-subtitle{
    font-size:clamp(18px,1.7vw,23px) !important;
    font-weight:600 !important;
    line-height:1.48;
  }
  .hero-description{
    font-size:16px !important;
    line-height:1.7;
  }

  /* Section headings and descriptions */
  .section-title h2,
  .section-copy h2,
  .contact-grid .section-copy h2,
  .stats-section .section-title h2,
  #register .form-heading h2,
  #developer-register .form-heading h2{
    font-size:clamp(30px,2.45vw,34px) !important;
    font-weight:700 !important;
    line-height:1.35;
    letter-spacing:-.015em !important;
  }
  .section-title p,
  .section-copy p{
    font-size:16px !important;
    line-height:1.75;
    font-weight:400 !important;
  }
  .section-kicker{
    font-size:12.8px !important;
    font-weight:600 !important;
  }

  /* Forms: readable but not oversized */
  .form-heading h2{
    font-size:clamp(28px,2.4vw,32px) !important;
    font-weight:700 !important;
    line-height:1.34;
  }
  .form-heading p{
    font-size:15.5px !important;
    line-height:1.68;
    font-weight:400 !important;
  }
  label span,
  .field-group legend{
    font-size:14.5px !important;
    line-height:1.48;
    font-weight:600 !important;
  }
  input,
  select,
  textarea{
    font-size:15px !important;
    line-height:1.55;
    font-weight:400 !important;
  }
  input::placeholder,
  textarea::placeholder{
    font-size:14px !important;
  }
  .form-note,
  .form-message,
  .field-error,
  .checkbox-label,
  .consent{
    font-size:13.8px !important;
    line-height:1.62;
  }
  .form-card .btn,
  .form-card button[type="submit"],
  .form-card button[type="button"]{
    font-size:14.5px !important;
    font-weight:600 !important;
  }

  /* Card typography */
  .reason-card h3,
  .station-card h3,
  .station-body h3,
  .path-card h2,
  .contact-card strong{
    font-size:clamp(18px,1.35vw,19px) !important;
    font-weight:700 !important;
    line-height:1.45;
    letter-spacing:0 !important;
  }
  .reason-card p,
  .station-body p,
  .path-card p,
  .contact-card small{
    font-size:15px !important;
    font-weight:400 !important;
    line-height:1.7;
  }
  .station-en,
  .station-body small,
  .station-body .meta,
  .reason-card small,
  .card-meta{
    font-size:13.8px !important;
    line-height:1.55;
    font-weight:500 !important;
  }
  .btn,
  button,
  .station-body .btn,
  .reason-card .btn,
  .path-card .btn,
  .contact-card .btn{
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1.28;
  }

  /* QARAR idea body text */
  .section-about .section-copy p,
  .section-about .wide-copy p,
  .section-about .lead,
  .section-about blockquote,
  .section-about .two-notes p{
    font-style:normal !important;
    font-weight:400 !important;
    font-size:16px !important;
    line-height:1.78;
  }

  /* Statistics regain visual strength */
  .stats-grid strong{
    font-size:clamp(32px,3.1vw,38px) !important;
    font-weight:800 !important;
    line-height:1.05;
  }
  .stats-grid .white-number{
    font-size:clamp(32px,3vw,38px) !important;
    font-weight:800 !important;
  }
  .stats-grid span{
    font-size:13.5px !important;
    font-weight:600 !important;
    line-height:1.5;
  }
  .stats-grid small{
    font-size:13px !important;
    line-height:1.55;
    font-weight:500 !important;
  }

  /* Contact, FAQ, Final CTA, Footer */
  .contact-grid .section-copy h2,
  .faq-section .section-title h2{
    font-size:clamp(29px,2.35vw,33px) !important;
    font-weight:700 !important;
    line-height:1.35;
  }
  .contact-card strong{
    font-size:clamp(15px,1.2vw,17px) !important;
  }
  .faq-item summary{
    font-size:16px !important;
    font-weight:600 !important;
    line-height:1.6;
  }
  .faq-item p,
  .faq-item .faq-answer{
    font-size:15px !important;
    line-height:1.72;
    font-weight:400 !important;
  }
  .final-cta h2{
    font-size:clamp(29px,2.8vw,34px) !important;
    font-weight:700 !important;
    line-height:1.32;
  }
  .final-cta p{
    font-size:15.8px !important;
    line-height:1.72;
  }
  .footer-grid h3{
    font-size:17px !important;
    font-weight:700 !important;
  }
  .footer-grid a,
  .footer-grid p,
  .footer-brand p{
    font-size:14px !important;
    line-height:1.72;
    font-weight:400 !important;
    color:rgba(255,255,255,.82) !important;
  }
  .footer-bottom,
  .footer-bottom a{
    font-size:13px !important;
    line-height:1.65;
    color:rgba(255,255,255,.74) !important;
  }

  /* Weight guardrail: no 900 weight */
  *[style*="font-weight:900"],
  *[style*="font-weight: 900"]{
    font-weight:700 !important;
  }

  /* Tablet balance */
  @media (min-width: 781px) and (max-width: 1024px){
    body{
      font-size:15.7px !important;
    }
    .hero h1{
      font-size:clamp(40px,5vw,46px) !important;
      line-height:1.18;
    }
    .section-title h2,
    .section-copy h2,
    .stats-section .section-title h2,
    .contact-grid .section-copy h2,
    .faq-section .section-title h2{
      font-size:clamp(27px,3.2vw,30px) !important;
      line-height:1.35;
    }
    .form-heading h2{
      font-size:clamp(26px,3vw,30px) !important;
    }
  }

  /* Mobile balance */

  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* =========================================================
     QARAR Final Readability Micro Adjustment
     Scope: typography readability only.
     No layout, spacing, image, route, backend, database, or field-name changes.
     ========================================================= */

  /* Main readable text: keep current heading scale untouched */
  body{
    font-size:16px !important;
    line-height:1.75;
    font-weight:400 !important;
  }
  p,
  li,
  .section-title p,
  .section-copy p,
  .wide-copy p,
  .hero-description,
  .final-cta p,
  .contact-grid .section-copy p{
    font-size:16px !important;
    line-height:1.75;
    font-weight:400 !important;
  }

  /* Header readability: +1px only, no logo or height change */
  .desktop-nav{
    font-size:15px !important;
    font-weight:600 !important;
  }
  .site-header .btn,
  .header-actions .btn,
  .mobile-panel a,
  .mobile-panel .btn{
    font-size:14px !important;
    font-weight:600 !important;
  }

  /* Cards: improve body readability without enlarging section headings */
  .reason-card h3,
  .station-card h3,
  .station-body h3,
  .path-card h2,
  .contact-card strong{
    font-size:18px !important;
    font-weight:700 !important;
    line-height:1.45;
  }
  .reason-card p,
  .station-body p,
  .path-card p,
  .contact-card small,
  .contact-card p{
    font-size:15px !important;
    font-weight:400 !important;
    line-height:1.7;
  }
  .station-en,
  .station-body small,
  .station-body .meta,
  .reason-card small,
  .card-meta,
  .meta,
  .kicker-small{
    font-size:13.5px !important;
    line-height:1.55;
    font-weight:500 !important;
  }
  .btn,
  button,
  .station-body .btn,
  .reason-card .btn,
  .path-card .btn,
  .contact-card .btn{
    font-size:14px !important;
    font-weight:600 !important;
  }

  /* Forms: typography only, keep field sizes/grid/endpoints untouched */
  label span,
  .field-group legend,
  .form-card label span,
  .dark-card label span{
    font-size:14px !important;
    line-height:1.5;
    font-weight:600 !important;
  }
  input,
  select,
  textarea{
    font-size:15px !important;
    line-height:1.55;
    font-weight:400 !important;
  }
  input::placeholder,
  textarea::placeholder{
    font-size:14px !important;
    font-weight:400 !important;
  }
  .checkbox-label,
  .consent,
  .form-note,
  .form-message,
  .field-error,
  .form-help,
  .helper-text{
    font-size:14px !important;
    line-height:1.65;
    font-weight:400 !important;
  }
  .form-card .btn,
  .form-card button[type="submit"],
  .form-card button[type="button"]{
    font-size:14px !important;
    font-weight:600 !important;
  }

  /* FAQ: readable questions/answers, no accordion behavior changes */
  .faq-item summary{
    font-size:16px !important;
    line-height:1.62;
    font-weight:600 !important;
  }
  .faq-item p,
  .faq-item .faq-answer{
    font-size:15px !important;
    line-height:1.7;
    font-weight:400 !important;
  }

  /* Footer readability and contrast only */
  .footer-grid a,
  .footer-grid p,
  .footer-brand p,
  .footer-contact,
  .footer-contact p{
    font-size:14px !important;
    line-height:1.72;
    font-weight:400 !important;
    color:rgba(255,255,255,.86) !important;
  }
  .footer-bottom,
  .footer-bottom a{
    font-size:13px !important;
    line-height:1.65;
    color:rgba(255,255,255,.78) !important;
  }

  /* Mobile readability */

  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */



  /* =========================================================
     QARAR Final Readability Micro Fix
     Scope: micro typography readability only.
     Keep approved scale unchanged: no Hero/H2/form-title/stat/layout changes.
     ========================================================= */

  /* Forms: +0.5–1px readability boost only; field layout/sizing remains unchanged */
  label span,
  .field-group legend,
  .form-card label span,
  .dark-card label span{
    font-size:14.5px !important;
    line-height:1.55;
    font-weight:600 !important;
  }
  .checkbox-label,
  .consent,
  .form-note,
  .form-message,
  .field-error,
  .form-help,
  .helper-text,
  .form-card small,
  .dark-card small{
    font-size:14.5px !important;
    line-height:1.68;
    font-weight:400 !important;
  }
  input::placeholder,
  textarea::placeholder,
  select::placeholder{
    font-size:14px !important;
    font-weight:400 !important;
  }

  /* FAQ: micro readability bump only, preserve heading scale and accordion behavior */
  .faq-item summary{
    font-size:16.5px !important;
    line-height:1.68;
    font-weight:600 !important;
  }
  .faq-item p,
  .faq-item .faq-answer{
    font-size:15.5px !important;
    line-height:1.72;
    font-weight:400 !important;
  }

  /* Footer: +1px for links/contact details with slightly stronger contrast */
  .footer-grid a,
  .footer-grid p,
  .footer-brand p,
  .footer-contact,
  .footer-contact p,
  .site-footer a,
  .site-footer li{
    font-size:15px !important;
    line-height:1.75;
    font-weight:400 !important;
    color:rgba(255,255,255,.9) !important;
  }
  .footer-bottom,
  .footer-bottom a,
  .site-footer .copyright{
    font-size:13.5px !important;
    line-height:1.68;
    color:rgba(255,255,255,.82) !important;
  }

  /* Mobile: keep approved headline scale; only improve small text readability */

  /* Removed legacy mobile-only media block from public.css; mobile <=780px now lives in public-mobile.css. */
}
