/* ============================================================
   RTRW.ORG – Brand stylesheet
   Colors: #000000 (black) | #1A7F37 (green) | #E10600 (red)
   ============================================================ */

:root {
  --black:   #000000;
  --green:   #1A7F37;
  --red:     #E10600;
  --white:   #ffffff;
  --grey:    #f4f4f4;
  --grey-mid:#e0e0e0;
  --grey-dk: #555555;
  --font-display: 'Barlow Condensed', 'Impact', sans-serif;
  --font-body:    'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 64px;
  --radius: 2px;
  --transition: 0.2s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Typography helpers ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-label--light { color: var(--green); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.section-title--light { color: var(--white); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 3px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover, .btn--primary:focus-visible {
  background: #156b2d; border-color: #156b2d; transform: translateY(-1px);
}

.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--white); color: var(--black); }

.btn--share {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.4); font-size: 0.875rem;
}
.btn--share:hover, .btn--share:focus-visible {
  background: rgba(255,255,255,0.1); border-color: var(--white);
}

.btn--full { width: 100%; }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--loading { opacity: 0.7; pointer-events: none; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ── GDPR BANNER ───────────────────────────────────────────── */
.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #111;
  border-top: 3px solid var(--green);
  padding: 1rem 0;
}
.gdpr-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.gdpr-banner__text {
  flex: 1;
  min-width: 220px;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
}
.gdpr-banner__btns { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  border-bottom: 3px solid var(--green);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

.nav__logo {
  display: flex; align-items: center; gap: 0.625rem;
  color: var(--white); text-decoration: none;
}
.nav__logo-icon { width: 32px; height: 32px; }
.nav__logo-text {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 900; letter-spacing: 0.04em; color: var(--white);
}
.nav__org { color: var(--green); }

.nav__right { display: flex; align-items: center; gap: 0.75rem; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em; text-transform: uppercase; transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--green); color: var(--white) !important;
  padding: 0.45rem 1.1rem; border-radius: var(--radius);
  border: 2px solid var(--green); transition: background var(--transition) !important;
}
.nav__cta:hover { background: #156b2d !important; }

.nav__menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__menu-btn span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
.nav__menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__menu-btn.open span:nth-child(2) { opacity: 0; }
.nav__menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── LANG SWITCHER ─────────────────────────────────────────── */
.lang-switcher { position: relative; }

.lang-switcher__btn {
  display: flex; align-items: center; gap: 0.35rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; padding: 0.35rem 0.65rem; cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.lang-switcher__btn:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: var(--white); }
.lang-switcher__btn svg { width: 14px; height: 14px; }
.lang-switcher__arrow { width: 10px !important; height: 10px !important; transition: transform 0.2s; }
.lang-switcher__btn[aria-expanded="true"] .lang-switcher__arrow { transform: rotate(180deg); }

.lang-switcher__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #111; border: 2px solid var(--green);
  border-radius: var(--radius); min-width: 170px;
  z-index: 200; list-style: none;
  opacity: 0; transform: translateY(-6px) scale(0.97);
  pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease;
  overflow: hidden;
}
.lang-switcher__menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lang-switcher__menu li {
  padding: 0.65rem 1rem; font-size: 0.875rem;
  color: rgba(255,255,255,0.75); cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-switcher__menu li:hover { background: rgba(26,127,55,0.18); color: var(--white); }
.lang-switcher__menu li.active { color: var(--green); font-weight: 700; }

/* ── CONFIRMATION BANNER ───────────────────────────────────── */
.confirm-banner {
  background: #f0f9f3; border-bottom: 3px solid var(--green);
  padding: 0.875rem 0; margin-top: var(--nav-h);
}
.confirm-banner--error { background: #fff5f5; border-color: var(--red); }
.confirm-banner__inner {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--green); font-weight: 600; font-size: 0.95rem;
}
.confirm-banner--error .confirm-banner__inner { color: var(--red); }
.confirm-banner__inner svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  background: var(--white);
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 0; overflow: hidden;
}
.hero__content {
  padding: 0 1.25rem 3rem;
  max-width: 1160px; margin: 0 auto;
}
.hero__pre {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-dk); margin-bottom: 1rem;
}
.hero__title {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; line-height: 0.92; color: var(--black); margin-bottom: 2.5rem;
}
.hero__line { font-size: clamp(4.5rem, 16vw, 13rem); display: block; }
.hero__line--war { position: relative; display: inline-flex; align-items: center; }
.hero__war { position: relative; z-index: 1; }
.hero__strike {
  position: absolute; left: -2%; right: -2%; top: 50%; height: 6px;
  background: var(--red); transform: translateY(-50%); z-index: 2; border-radius: 2px;
}
.hero__line--is-yours { display: flex; align-items: center; gap: 0.4em; font-size: clamp(3rem, 10vw, 8rem); }
.hero__check { width: clamp(2.5rem, 7vw, 5.5rem); height: clamp(2.5rem, 7vw, 5.5rem); flex-shrink: 0; }
.hero__cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero counter bar */
.hero__counter-bar { background: var(--black); color: var(--white); padding: 1.5rem 1.25rem; }
.counter-bar__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.counter-bar__item { display: flex; flex-direction: column; gap: 0.2rem; }
.counter-bar__number {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900; color: var(--green); line-height: 1;
}
.counter-bar__label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.counter-bar__divider { width: 2px; height: 50px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* ── OVER ──────────────────────────────────────────────────── */
.over { padding: 5rem 0; background: var(--white); }
.over__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.over__text p { color: #333; margin-bottom: 1rem; font-size: 1.05rem; line-height: 1.7; }
.over__text strong { color: var(--black); }
.over__list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.over__list li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 600; font-size: 0.95rem; }
.over__list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

.over__visual { display: flex; justify-content: center; }
.over__poster {
  background: var(--white); border: 3px solid var(--black);
  padding: 2.5rem 2rem; max-width: 320px; width: 100%;
  box-shadow: 8px 8px 0 var(--black);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.over__poster:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--green); }
.over__poster-small {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.2rem, 3vw, 1.6rem); text-transform: uppercase; line-height: 1; letter-spacing: 0.02em;
}
.over__poster-war {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 10vw, 5.5rem); text-transform: uppercase; line-height: 0.85;
  position: relative; display: inline-block;
}
.over__poster-strike {
  position: absolute; left: -4px; right: -4px; top: 50%; height: 5px;
  background: var(--red); transform: translateY(-50%); border-radius: 2px;
}
.over__poster-logo {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem; padding-top: 1rem; border-top: 2px solid var(--black);
}
.over__poster-logo svg { width: 36px; height: 36px; }
.over__poster-logo span { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; line-height: 1; text-transform: uppercase; }
.over__poster-logo small { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: var(--green); }

/* ── PROGRESS BANNER ───────────────────────────────────────── */
.progress-banner {
  background: var(--black); padding: 2rem 0;
  border-top: 3px solid var(--green); border-bottom: 3px solid var(--green);
}
.progress-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.progress-banner__info { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.progress-banner__count { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--green); line-height: 1; }
.progress-banner__label { font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.progress-banner__label strong { color: var(--white); }
.progress-banner__bar-wrap {
  flex: 1; min-width: 160px; height: 10px;
  background: rgba(255,255,255,0.15); border-radius: 5px; overflow: hidden;
}
.progress-banner__bar { height: 100%; background: var(--green); border-radius: 5px; width: 0%; transition: width 1s ease; }

/* ── PETITIE FORM ──────────────────────────────────────────── */
.petitie { background: var(--black); padding: 5rem 0; }
.petitie__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.petitie__intro p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.25rem; }
.petitie__privacy {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem;
  border: 2px solid rgba(26,127,55,0.4); border-radius: var(--radius);
  color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 600;
}
.petitie__privacy svg { width: 22px; height: 22px; flex-shrink: 0; }

.petitie__form {
  background: var(--white); padding: 2.5rem;
  border-radius: var(--radius); display: flex; flex-direction: column;
  gap: 1.25rem; border-top: 5px solid var(--green);
}
.form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.form__label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--black); }
.form__optional { font-weight: 400; text-transform: none; color: var(--grey-dk); font-size: 0.8rem; }
.form__hint { font-size: 0.78rem; color: var(--green); font-weight: 600; }

.form__input {
  width: 100%; padding: 0.75rem 1rem;
  font-family: var(--font-body); font-size: 1rem;
  border: 2px solid var(--grey-mid); border-radius: var(--radius);
  background: var(--white); color: var(--black);
  transition: border-color var(--transition); appearance: none;
}
.form__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,127,55,0.15); }

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.form__textarea { resize: vertical; min-height: 80px; }
.form__char-count { font-size: 0.75rem; color: var(--grey-dk); text-align: right; align-self: flex-end; }

.form__check-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form__check-label {
  display: flex; align-items: flex-start; gap: 0.75rem;
  cursor: pointer; font-size: 0.9rem; line-height: 1.5; user-select: none;
}
.form__checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
.form__check-custom {
  flex-shrink: 0; width: 22px; height: 22px;
  border: 2px solid var(--grey-mid); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), background var(--transition);
  margin-top: 1px; background: var(--white); position: relative;
}
.form__check-custom::after {
  content: ''; display: block; width: 10px; height: 6px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) scale(0); transition: transform 0.15s; position: absolute; top: 5px;
}
.form__checkbox:checked + .form__check-custom { background: var(--green); border-color: var(--green); }
.form__checkbox:checked + .form__check-custom::after { transform: rotate(-45deg) scale(1); }
.form__checkbox:focus-visible + .form__check-custom { outline: 3px solid var(--green); outline-offset: 2px; }

.form__link { color: var(--green); text-decoration: underline; cursor: pointer; }
.form__error { font-size: 0.8rem; color: var(--red); font-weight: 600; min-height: 1em; }

/* Success message */
.form__success {
  background: #f0f9f3; border: 2px solid var(--green); border-radius: var(--radius);
  padding: 1.5rem; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem;
  display: none; opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.form__success.visible { opacity: 1; transform: translateY(0); }
.form__success svg { width: 40px; height: 40px; margin-bottom: 0.25rem; }
.form__success strong { font-size: 1.1rem; color: var(--green); }
.form__success p { font-size: 0.9rem; color: #444; }

.form__share { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
.form__share .btn--share { color: var(--black); border-color: var(--grey-mid); font-size: 0.8rem; padding: 0.5rem 0.9rem; }
.form__share .btn--share:hover { border-color: var(--black); }

/* ── SIGNATURES ────────────────────────────────────────────── */
.signatures { padding: 5rem 0; background: var(--grey); }
.signatures__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.sig-card {
  background: var(--white); border-left: 4px solid var(--green);
  padding: 1.1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  animation: fadeInUp 0.4s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sig-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sig-card__name {
  font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem;
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
}
.sig-card__country { font-size: 0.75rem; color: var(--grey-dk); font-weight: 400; }
.sig-card__verified {
  font-size: 0.7rem; font-weight: 700; color: var(--white);
  background: var(--green); padding: 0.1rem 0.4rem;
  border-radius: 2px; letter-spacing: 0.02em;
}
.sig-card__message { font-size: 0.875rem; color: #444; line-height: 1.5; margin-top: 0.4rem; font-style: italic; }
.sig-card__time { font-size: 0.72rem; color: #aaa; margin-top: 0.5rem; }
.signatures__empty { text-align: center; color: var(--grey-dk); padding: 3rem; font-size: 1.1rem; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { padding: 5rem 0; background: var(--white); }

.faq__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0; }

.faq__item { border-bottom: 1px solid var(--grey-mid); }
.faq__item:first-child { border-top: 1px solid var(--grey-mid); }

.faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  color: var(--black); text-align: left; transition: color var(--transition);
}
.faq__question:hover { color: var(--green); }
.faq__question span { flex: 1; }

.faq__icon {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--green);
  transition: transform 0.3s ease;
}
.faq__item.open .faq__icon { transform: rotate(180deg); }

.faq__answer {
  max-height: 0; overflow: hidden;
  font-size: 0.95rem; color: #444; line-height: 1.75;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq__item.open .faq__answer { max-height: 600px; padding-bottom: 1.25rem; }
.faq__answer a { color: var(--green); text-decoration: underline; }

/* ── PRESS / MEDIA ─────────────────────────────────────────── */
.press { padding: 5rem 0; background: var(--black); border-top: 3px solid var(--green); }

.press__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem;
}
.press__header-text .section-title { color: var(--white); margin-bottom: 0.75rem; }
.press__header-text p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 560px; }

.press__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.press__stat {
  background: #0a0a0a; padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem; align-items: center; text-align: center;
}
.press__stat-num {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900; color: var(--green); line-height: 1;
}
.press__stat-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}

/* ── SHARE SECTION ─────────────────────────────────────────── */
.share-section { background: var(--black); padding: 4rem 0; border-top: 3px solid var(--green); }
.share-section__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.share-section__logo svg { width: 60px; height: 60px; }
.share-section__text { flex: 1; min-width: 200px; }
.share-section__text h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900; text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem;
}
.share-section__text p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.share-section__btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: #0a0a0a; color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 0; border-top: 3px solid #111;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
.footer__logo svg { width: 36px; height: 36px; }
.footer__logo span { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--white); }
.footer__logo span span { color: var(--green); }
.footer__brand p { font-size: 0.9rem; line-height: 1.6; }

.footer__nav h3 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--white); margin-bottom: 1rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer__nav a:hover { color: var(--white); }

.footer__bottom { padding: 1.25rem 0; display: flex; align-items: center; justify-content: center; }
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 0.5rem; }
.footer__check { width: 16px; height: 16px; }

/* ── MODALS ────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s ease;
}
.modal__box {
  position: relative; background: var(--white);
  border-top: 5px solid var(--green); border-radius: var(--radius);
  max-width: 680px; width: 100%; max-height: 85vh;
  overflow-y: auto; padding: 2.5rem;
  transform: translateY(20px) scale(0.97);
  opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.modal.open .modal__overlay { opacity: 1; }
.modal.open .modal__box { transform: translateY(0) scale(1); opacity: 1; }

.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  color: var(--grey-dk); padding: 0.25rem;
  transition: color var(--transition);
}
.modal__close:hover { color: var(--black); }
.modal__close svg { width: 22px; height: 22px; }

.modal__content h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900; text-transform: uppercase;
  margin-bottom: 1.25rem; padding-right: 2rem;
}
.modal__content h3 {
  font-size: 1rem; font-weight: 700; margin: 1.25rem 0 0.5rem; color: var(--black);
}
.modal__content p { font-size: 0.95rem; color: #444; line-height: 1.7; margin-bottom: 0.75rem; }
.modal__content ul { margin: 0 0 0.75rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.modal__content li { font-size: 0.95rem; color: #444; line-height: 1.6; list-style: disc; }
.modal__content a { color: var(--green); text-decoration: underline; }
.modal__content code { background: var(--grey); padding: 0.1rem 0.4rem; border-radius: 2px; font-size: 0.875rem; }
.modal__content em { color: var(--green); font-style: italic; }

.modal-contact__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.modal-contact__item { display: flex; flex-direction: column; gap: 0.25rem; }
.modal-contact__item strong { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-dk); }
.modal-contact__item a { color: var(--green); text-decoration: underline; font-size: 0.9rem; }
.modal-contact__note { color: var(--grey-dk) !important; font-size: 0.85rem !important; margin-top: 1rem; }

/* ── HERO ANIMATIONS ───────────────────────────────────────── */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-slidein {
  opacity: 0;
  animation: slideInLeft 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}
.animate-fadein {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── BTN PULSE ─────────────────────────────────────────────── */
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,127,55,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(26,127,55,0); }
}
.hero__cta-group .btn--primary { animation: pulse-border 2.5s ease-in-out 1.5s 3; }

/* ── RTL SUPPORT (Arabic) ──────────────────────────────────── */
[dir="rtl"] .nav { flex-direction: row-reverse; }
[dir="rtl"] .nav__right { flex-direction: row-reverse; }
[dir="rtl"] .nav__links { flex-direction: row-reverse; }
[dir="rtl"] .lang-switcher__menu { right: auto; left: 0; }
[dir="rtl"] .hero__title { text-align: right; }
[dir="rtl"] .hero__cta-group { flex-direction: row-reverse; }
[dir="rtl"] .over__list li { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .sig-card { border-left: none; border-right: 4px solid var(--green); border-radius: var(--radius) 0 0 var(--radius); }
[dir="rtl"] .petitie__form { border-top: 5px solid var(--green); }
[dir="rtl"] .faq__question { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .modal__close { right: auto; left: 1rem; }
[dir="rtl"] .modal__content h2 { padding-right: 0; padding-left: 2rem; }
[dir="rtl"] .gdpr-banner__inner { flex-direction: row-reverse; }
[dir="rtl"] .form__select { background-position: left 1rem center; padding-right: 1rem; padding-left: 2.5rem; }
[dir="rtl"] .form__check-label { flex-direction: row-reverse; }
[dir="rtl"] .form__char-count { text-align: left; }
[dir="rtl"] .over__grid { direction: rtl; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .over__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .over__visual { order: -1; }
  .petitie__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .press__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--black); flex-direction: column;
    align-items: stretch; gap: 0; padding: 1rem 0;
    border-bottom: 3px solid var(--green);
    transform: translateY(-120%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none; z-index: 99;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav__links a { display: block; padding: 0.9rem 1.5rem; font-size: 1rem; }
  .nav__cta { margin: 0.5rem 1.5rem; text-align: center; border-radius: var(--radius); }
  .nav__menu-btn { display: flex; }

  .hero { padding-top: calc(var(--nav-h) + 2.5rem); }
  .hero__line { font-size: clamp(3.5rem, 20vw, 6rem); }
  .hero__line--is-yours { font-size: clamp(2.5rem, 12vw, 5rem); }
  .hero__check { width: clamp(2rem, 8vw, 3.5rem); height: clamp(2rem, 8vw, 3.5rem); }
  .counter-bar__inner { gap: 1.25rem; }
  .counter-bar__divider { height: 36px; }

  .petitie__form { padding: 1.75rem 1.25rem; }

  .press__header { flex-direction: column; align-items: flex-start; }
  .press__stats { grid-template-columns: repeat(2, 1fr); }

  .share-section__inner { flex-direction: column; text-align: center; }
  .share-section__logo { margin: 0 auto; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }

  .progress-banner__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .progress-banner__bar-wrap { width: 100%; min-width: 0; }

  .gdpr-banner__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .modal__box { padding: 1.75rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero__cta-group { flex-direction: column; }
  .hero__cta-group .btn { width: 100%; justify-content: center; }
  .share-section__btns { flex-direction: column; }
  .share-section__btns .btn { width: 100%; }
  .press__stats { grid-template-columns: 1fr 1fr; }
  .gdpr-banner__btns { flex-direction: column; width: 100%; }
  .gdpr-banner__btns .btn { width: 100%; justify-content: center; }
}
