/* ============================================================
   Campaign site – restrained, professional RTL design.
   Theme is driven by two admin-editable colours: --primary, --accent
   ============================================================ */
:root {
  --primary: #14532d;
  --accent: #a47a1c;
  --primary-dark: color-mix(in srgb, var(--primary) 78%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 7%, #fff);
  --primary-line: color-mix(in srgb, var(--primary) 16%, #fff);

  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d2a22;
  --muted: #5f6b64;
  --line: #e7e5dd;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 25, .05), 0 8px 24px rgba(20, 30, 25, .06);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.8; font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.5rem; }
.container.narrow { max-width: 820px; }
.hp { position: absolute; width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.skip { position: absolute; top: -60px; inset-inline-start: 1rem; background: var(--primary); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 300; }
.skip:focus { top: .75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.4rem; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.4; transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--primary-line); color: var(--primary); background: transparent; }
.btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-soft); }
.btn-sm { padding: .4rem 1rem; font-size: .88rem; }
.btn-lg { padding: .8rem 1.8rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-done { opacity: .75; cursor: default; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(20, 30, 25, .07); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.brand-sub { font-size: .76rem; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav ul { display: flex; gap: .15rem; }
.main-nav ul a { display: block; padding: .4rem .75rem; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.main-nav ul a:hover, .main-nav ul a.active { color: var(--primary); background: var(--primary-soft); }
.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.hamburger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; background: linear-gradient(180deg, var(--primary-soft), var(--bg) 85%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.badge { display: inline-block; padding: .25rem .9rem; border: 1px solid var(--primary-line); background: #fff; color: var(--primary); border-radius: 999px; font-size: .84rem; font-weight: 600; margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.35; font-weight: 700; letter-spacing: -.005em; }
.hero h1 .hl { color: var(--primary); box-shadow: inset 0 -.32em 0 color-mix(in srgb, var(--accent) 26%, transparent); }
.hero-sub { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-media { max-width: 440px; justify-self: center; width: 100%; }
.hero-media .slider { border-radius: 18px; box-shadow: var(--shadow); border: 6px solid #fff; background: #fff; overflow: hidden; }

/* Slider (hero + gallery) */
.slider { position: relative; overflow: hidden; }
.slides { position: relative; aspect-ratio: var(--ar, 1 / 1); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img, .slide-zoom { width: 100%; height: 100%; display: block; }
.slide-zoom { padding: 0; border: 0; background: none; cursor: zoom-in; }
.slide img { object-fit: cover; }
.fit-contain .slide img { object-fit: contain; }
.slide figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 2.2rem 1.25rem .9rem; color: #fff; font-size: .95rem; text-align: center; background: linear-gradient(transparent, rgba(8, 16, 12, .72)); pointer-events: none; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--primary); font-size: 1.7rem; line-height: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); opacity: 0; transition: opacity .2s; z-index: 2; }
.slider:hover .sl-btn, .sl-btn:focus-visible { opacity: 1; }
.sl-prev { right: .6rem; } .sl-next { left: .6rem; }
.sl-dots { position: absolute; inset-inline: 0; bottom: .6rem; display: flex; justify-content: center; gap: .4rem; z-index: 2; }
.sl-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.sl-dots button.on { background: var(--accent); width: 22px; border-radius: 6px; }
.gallery-slider { max-width: 900px; margin-inline: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.gallery-slider .slide figcaption { padding-bottom: 2rem; }
@media (hover: none) { .sl-btn { opacity: .85; } }
.hero-banner { margin-top: clamp(2rem, 5vw, 3.5rem); }
.hero-banner img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Stats ---------- */
.stats { background: var(--surface); border-block: 1px solid var(--line); margin-top: clamp(2rem, 5vw, 3.5rem); }
.stats-inner { display: flex; justify-content: center; flex-wrap: wrap; }
.stat { flex: 1 1 160px; max-width: 280px; text-align: center; padding: 1.4rem 1rem; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.75rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat span { font-size: .88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--primary-soft); }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 40rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; color: var(--accent); margin-bottom: .35rem; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .eyebrow::after { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.4; color: var(--text); }
.section-intro { margin-top: .6rem; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.prose p { color: #2f3d35; margin-bottom: 1.1rem; font-size: 1.06rem; }
.prose .btn { margin-top: .4rem; }
.candidate-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; text-align: center; box-shadow: var(--shadow); }
.candidate-photo { width: 120px; height: 120px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; background: var(--primary-soft); border: 3px solid var(--primary-line); display: grid; place-items: center; }
.candidate-photo img { width: 100%; height: 100%; object-fit: cover; }
.monogram { font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1; }
.candidate-card h3 { font-size: 1.2rem; font-weight: 700; }
.candidate-card p { color: var(--muted); font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .9rem; }
.tags li { font-size: .78rem; font-weight: 600; padding: .15rem .7rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }

/* Issues */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--primary-line); }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin-bottom: 1rem; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 3rem; counter-reset: p; }
.pillars li { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.pillar-num { font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1.2; min-width: 2.2rem; font-variant-numeric: lining-nums; }
.pillars h3 { font-size: 1.08rem; font-weight: 700; }
.pillars p { color: var(--muted); font-size: .95rem; }

/* Gallery */
.gallery { columns: 3 260px; column-gap: 1.25rem; }
.gallery figure { break-inside: avoid; margin-bottom: 1.25rem; }
.gallery-item { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .25s; }
.gallery-item:hover { box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: auto; }
.gallery figcaption { margin-top: .5rem; font-size: .88rem; color: var(--muted); text-align: center; }

/* Support */
.section-primary { background: var(--primary); color: #fff; }
.section-primary .eyebrow { color: color-mix(in srgb, var(--accent) 45%, #fff); }
.section-primary .section-title { color: #fff; }
.section-primary .section-intro { color: rgba(255, 255, 255, .8); }
.support-wrap { display: flex; flex-direction: column; align-items: center; }
.support-box { width: 100%; max-width: 520px; text-align: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 2rem 1.5rem; }
.support-id { display: flex; flex-direction: column; align-items: center; gap: .2rem; margin-bottom: 1rem; }
.list-badge { font-size: 1.05rem; font-weight: 600; }
.list-badge b { font-size: 1.6rem; margin-inline-start: .2rem; color: color-mix(in srgb, var(--accent) 40%, #fff); }
.party { font-size: .95rem; color: rgba(255, 255, 255, .8); }
.support-count { margin-bottom: 1.25rem; color: rgba(255, 255, 255, .85); }
.support-count strong { font-size: 1.6rem; font-weight: 700; color: #fff; margin-inline-end: .25rem; }
.wall { margin-top: 2.25rem; text-align: center; max-width: 760px; }
.wall h3 { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .8); margin-bottom: .9rem; }
.wall ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.wall li { padding: .2rem .9rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .9rem; background: rgba(255, 255, 255, .06); }
.wall-more { margin-top: .8rem; font-size: .88rem; color: rgba(255, 255, 255, .7); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .75rem; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 1.25rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--primary); }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.ci { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fff; color: var(--primary); border: 1px solid var(--primary-line); flex: none; }
.contact-list small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.contact-list a { color: var(--primary); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; padding: .7rem .9rem; font: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field-error { display: none; font-size: .8rem; color: #b42318; margin-top: .25rem; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.field.invalid .field-error { display: block; }
.form-status { min-height: 1.4rem; margin-top: .8rem; font-size: .9rem; text-align: center; }
.form-status.success { color: #146c43; }
.form-status.error { color: #b42318; }

/* Footer */
.site-footer { background: #15201a; color: rgba(255, 255, 255, .75); padding: 2.5rem 0 1.5rem; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.footer-brand strong { display: block; color: #fff; font-size: 1.05rem; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { width: 100%; padding-top: 1.25rem; margin-top: .5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* ---------- Dialogs ---------- */
dialog { border: none; padding: 0; color: var(--text); }
dialog::backdrop { background: rgba(12, 20, 16, .6); backdrop-filter: blur(2px); }
.dialog { width: min(440px, calc(100vw - 2rem)); margin: auto; background: #fff; border-radius: 18px; padding: 2rem 1.75rem 1.6rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); text-align: center; position: fixed; }
.dialog[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .3rem; }
.dialog-text { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.dialog-close { position: absolute; top: .6rem; inset-inline-start: .75rem; width: 36px; height: 36px; border: none; background: transparent; font-size: 1.7rem; line-height: 1; color: var(--muted); border-radius: 8px; }
.dialog-close:hover { background: var(--primary-soft); color: var(--text); }
.dialog .field { text-align: start; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.1rem; }
.choice-opt { position: relative; }
.choice-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-opt span { display: block; padding: .7rem .5rem; border: 1.5px solid var(--line); border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.choice-opt input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.choice-opt input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff); outline-offset: 2px; }
.fineprint { margin-top: .9rem; font-size: .78rem; color: var(--muted); }
.done-mark { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.done-mark svg { width: 28px; height: 28px; stroke-width: 2.2; }
[hidden] { display: none !important; }

.lightbox { background: transparent; width: min(1000px, 100vw); max-height: 100vh; margin: auto; position: fixed; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 12, 10, .88); }
.lightbox figure { text-align: center; padding: 1rem; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: .75rem; font-size: .95rem; }
.lightbox .dialog-close { color: #fff; top: 0; font-size: 2rem; }
.lightbox .dialog-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.8rem; line-height: 1; }
.lb-nav:hover { background: rgba(255, 255, 255, .3); }
.lb-prev { right: .5rem; } .lb-next { left: .5rem; }

/* ---------- Responsive ---------- */
.main-nav ul a, .brand-name { white-space: nowrap; }
@media (max-width: 1100px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute; top: var(--header-h); inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: .75rem 1.5rem 1.25rem; gap: .75rem; box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    display: none;
  }
  .main-nav.open { display: flex; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: .65rem .75rem; }
  .main-nav .btn { width: 100%; }
  .main-nav ul a { min-height: 46px; display: flex; align-items: center; }
  .hamburger { width: 46px; height: 46px; }
}
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 340px; order: -1; }
  .hero-text { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .container { padding-inline: 1.1rem; }
  .stat + .stat { border-inline-start: none; }
  .stat { flex-basis: 100%; padding: .9rem 1rem; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; }
  .lb-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Expandable issue cards ---------- */
.card-grid { align-items: start; }
.card.issue { padding: 0; }
.card.issue summary { list-style: none; cursor: pointer; padding: 1.6rem; display: block; border-radius: var(--radius); -webkit-tap-highlight-color: transparent; }
.card.issue summary::-webkit-details-marker { display: none; }
.card.issue .more { display: flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .88rem; font-weight: 600; color: var(--primary); }
.card.issue .m-open, .card.issue details[open] .m-closed { display: none; }
.card.issue details[open] .m-open { display: inline; }
.chev { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.card.issue details[open] .chev { transform: rotate(-135deg) translateY(-2px); }
.card.issue details[open] { background: linear-gradient(var(--primary-soft), #fff 70%); border-radius: var(--radius); }
.issue-more { padding: 0 1.6rem 1.5rem; border-top: 1px dashed var(--primary-line); margin-inline: 1.6rem; padding-inline: 0; padding-top: 1rem; }
.issue-more p { color: #2f3d35; font-size: .97rem; margin-bottom: .6rem; }
.issue-more p:last-child { margin-bottom: 0; }
.card.issue:has(details[open]) { border-color: var(--primary-line); box-shadow: var(--shadow); }

/* ---------- Prototype section ---------- */
.proto-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.features { display: grid; gap: 1.1rem; }
.features li { display: flex; gap: .9rem; align-items: flex-start; }
.check { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; border: 1px solid var(--primary-line); }
.check svg { width: 18px; height: 18px; stroke-width: 2.2; }
.features h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.5; }
.features p { color: var(--muted); font-size: .94rem; }
.proto-note { margin-top: 1.4rem; padding: .8rem 1rem; border-inline-start: 3px solid var(--accent); background: #fff; border-radius: 8px; font-size: .88rem; color: var(--muted); }
.proto-media { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; transition: transform .25s; }
.proto-media:hover { transform: translateY(-2px); }
.proto-media img { width: 100%; height: auto; }

/* ---------- Mobile action bar ---------- */
.mobile-cta { display: none; }

/* ---------- Touch-friendly & small-screen refinements ---------- */
html { -webkit-tap-highlight-color: rgba(20, 83, 45, .12); }
.field input, .field textarea { font-size: 1rem; } /* >=16px: prevents iOS zoom on focus */
.dialog { max-height: calc(100dvh - 2rem); overflow-y: auto; }
@media (max-width: 900px) {
  .proto-grid { grid-template-columns: 1fr; }
  .proto-media { order: -1; }
  .btn, .main-nav ul a, .faq summary, .choice-opt span { min-height: 46px; }
  .btn { padding-block: .7rem; }
  .main-nav ul a { display: flex; align-items: center; }
  .hamburger { width: 46px; height: 46px; }
  .sl-btn { width: 44px; height: 44px; opacity: .9; }
  .sl-dots button { width: 11px; height: 11px; }
  .dialog-close { width: 44px; height: 44px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .mobile-cta.show { transform: none; }
  .site-footer { padding-bottom: 1.5rem; }
}
@media (max-width: 560px) {
  .section { padding-block: 2.75rem; }
  .card, .candidate-card, .form { padding: 1.25rem; }
  .card.issue summary { padding: 1.25rem; }
  .issue-more { margin-inline: 1.25rem; }
  .card-grid { grid-template-columns: 1fr; }
  .pillars { gap: 0; }
  .hero h1 { font-size: 1.75rem; }
  .gallery-slider .slide figcaption { font-size: .85rem; padding-inline: .75rem; }
  .support-box { padding: 1.5rem 1rem; }
  .choice { grid-template-columns: 1fr; }
}
@media (min-width: 1400px) { .container { max-width: 1200px; } }

/* Featured prototype project */
.proto-feature .proto-media { position: relative; }
.proto-badge { position: absolute; top: .8rem; inset-inline-start: .8rem; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: .15rem .8rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.zoom-hint { position: absolute; inset-inline: 0; bottom: 0; padding: 1.6rem 1rem .8rem; text-align: center; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(8,16,12,.78)); opacity: 0; transition: opacity .2s; }
.proto-media:hover .zoom-hint, .proto-media:focus-visible .zoom-hint { opacity: 1; }
@media (hover: none) { .zoom-hint { opacity: 1; } }
.proto-btn { margin-top: 1.4rem; }
