/* ============================================================
   Almadar landing — design tokens
   Light is the base; dark overrides tokens only.
   ============================================================ */
:root {
  --ink: #17250B;
  --surface: #F7FAF2;
  --card: #FFFFFF;
  --line: #E3E8DB;
  --muted: #5A6552;
  --brand: #8DC63F;          /* هوية — لا يحمل نصًا أبيض أبدًا */
  --brand-hover: #9AD44A;
  --on-brand: #17250B;       /* نص فوق الأخضر — ثابت في الوضعين */
  --link: #527D18;           /* روابط ونصوص خضراء — تباين 4.9:1 */
  --btn-solid: #527D18;      /* خلفية الأزرار المصمتة */
  --btn-solid-hover: #416312;
  --brand-soft: #F0F6E4;
  --dark-surface: #17250B;   /* الشريط العلوي والتذييل */
  --ink-on-dark: #C6D3B8;
  --accent-soft: #C6E98B;
  --hero-grad: linear-gradient(135deg, #223A0E 0%, #3E641A 70%, #55842B 100%);
  --radius: 14px;
  --shadow: 0 8px 24px rgba(23, 37, 11, 0.08);
  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E7ECE0;
    --surface: #151912;
    --card: #1D2319;
    --line: #313A2A;
    --muted: #A3AE97;
    --link: #B4E45E;
    --brand-soft: #2A3618;
    --dark-surface: #101608;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  --ink: #E7ECE0;
  --surface: #151912;
  --card: #1D2319;
  --line: #313A2A;
  --muted: #A3AE97;
  --link: #B4E45E;
  --brand-soft: #2A3618;
  --dark-surface: #101608;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.3; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
p { margin: 0; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  z-index: 100;
  background: var(--dark-surface);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  display: block;
  color: var(--link);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* ============ Loading bar ============ */
.loadbar {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 100%;
  z-index: 200;
  background: linear-gradient(90deg, var(--brand), var(--accent-soft));
  transform: scaleX(0);
  transform-origin: left;
  animation: loadbar-grow 2.4s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
  pointer-events: none;
}
[dir="rtl"] .loadbar { transform-origin: right; }
.loadbar.is-done {
  animation: none;
  transform: scaleX(1);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.45s ease 0.3s;
}
@keyframes loadbar-grow {
  0% { transform: scaleX(0); }
  60% { transform: scaleX(0.62); }
  100% { transform: scaleX(0.86); }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.15s var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--brand-hover); color: var(--on-brand); box-shadow: 0 6px 18px rgba(141, 198, 63, 0.35); }
.btn--solid { background: var(--btn-solid); color: #fff; }
.btn--solid:hover { background: var(--btn-solid-hover); color: #fff; }
.btn--outline { border-color: var(--link); color: var(--link); background: transparent; }
.btn--outline:hover { background: var(--brand-soft); color: var(--link); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--lg { font-size: 1.0625rem; padding: 15px 32px; border-radius: 12px; }

/* Theme toggle */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.theme-btn:hover { border-color: var(--brand); }
.theme-btn:active { transform: scale(0.94); }
.theme-btn .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-btn .icon-sun { display: block; }
}
:root[data-theme="dark"] .theme-btn .icon-moon { display: none; }
:root[data-theme="dark"] .theme-btn .icon-sun { display: block; }

/* ============ Utility bar ============ */
.utility { background: var(--dark-surface); color: var(--ink-on-dark); font-size: 0.8125rem; }
.utility__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
  flex-wrap: wrap;
}
.utility__call { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-on-dark); }
.utility__call b { color: #fff; }
.utility__call svg { color: var(--brand); }
.utility__call:hover { color: #fff; }
.utility__links { display: flex; align-items: center; gap: 24px; }
.utility__links a { color: var(--ink-on-dark); }
.utility__links a:hover { color: #fff; }

/* ============ Header ============ */
.header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { display: block; height: 44px; width: auto; }
.brand__logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--light { display: none; }
  :root:not([data-theme="light"]) .brand__logo--dark { display: block; }
}
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }
.footer__logo img { display: block; height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__link { position: relative; color: var(--ink); font-weight: 500; }
.nav__link:hover, .nav__link--active { color: var(--link); }
.nav__link--active { font-weight: 700; }
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover::after, .nav__link--active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  overflow: hidden;
  padding-block: 88px 148px;
}
.hero__orbits { position: absolute; inset-inline-end: -160px; top: -140px; opacity: 0.5; pointer-events: none; }
.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 620px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(141, 198, 63, 0.16);
  border: 1px solid rgba(141, 198, 63, 0.45);
  color: var(--accent-soft);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 99px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.25; }
.hero__copy p { font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.8; color: #D5E2C6; max-width: 540px; }
.hero__ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* Hero entrance — the one authored sequence */
.js .hero__badge  { animation: rise-in 0.9s var(--ease) 0.15s backwards; }
.js .hero h1      { animation: rise-in 0.9s var(--ease) 0.28s backwards; }
.js .hero__copy p { animation: rise-in 0.9s var(--ease) 0.42s backwards; }
.js .hero__ctas   { animation: rise-in 0.9s var(--ease) 0.56s backwards; }
.js .hero__visual { animation: fade-in 1.4s var(--ease) 0.5s backwards; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero__visual {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__rings { position: absolute; inset: 0; }
.hero__5g { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__5g-num { font-size: 6rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.hero__5g-cap { font-size: 0.9375rem; color: var(--accent-soft); font-weight: 600; }

/* المدار = orbit: satellites circling the 5G mark */
.orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: orbit-spin 22s linear infinite;
}
.orbit--inner { animation-duration: 14s; animation-direction: reverse; }
.orbit__dot {
  position: absolute;
  left: 50%;
  top: calc(50% - 150px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(141, 198, 63, 0.85);
  transform: translate(-50%, -50%);
}
.orbit--inner .orbit__dot {
  top: calc(50% - 112px);
  width: 8px;
  height: 8px;
  background: var(--accent-soft);
  box-shadow: 0 0 10px rgba(198, 233, 139, 0.7);
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* ============ Scroll reveals ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============ Quick actions ============ */
.quick { margin-top: -72px; position: relative; z-index: 2; }
.quick__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.quick-card:hover { transform: translateY(-4px); border-color: var(--brand); color: var(--ink); }
.quick-card:active { transform: translateY(-1px); }
.quick-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--brand-soft);
  color: var(--link);
  border-radius: 12px;
}
.quick-card b { font-size: 1rem; }
.quick-card > span:last-child { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

/* ============ Sections ============ */
.section { padding-block: 88px 0; }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.section__more svg { transition: transform 0.25s var(--ease); }
.section__more:hover svg { transform: translateX(-4px); }
[dir="ltr"] .section__more svg { transform: scaleX(-1); }
[dir="ltr"] .section__more:hover svg { transform: scaleX(-1) translateX(-4px); }

/* ============ Plans ============ */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--brand); box-shadow: 0 12px 32px rgba(82, 125, 24, 0.12); }
.plan__chip {
  position: absolute;
  top: -14px;
  inset-inline-start: 32px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
}
.plan__kind { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.plan h3 { font-size: 1.625rem; font-weight: 700; }
.plan p { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; }
.plan__value { font-size: 0.9375rem; margin-top: 8px; color: var(--ink); }
.plan__value b { font-size: 1.125rem; }
.plan .btn { margin-top: 8px; }

/* ============ Innovation ============ */
.innovation { background: var(--brand-soft); padding-block: 72px; margin-top: 88px; }
.innovation__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s var(--ease);
}
.feature:hover { transform: translateY(-4px); }
.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--dark-surface);
  border-radius: 12px;
}
.feature h3 { font-size: 1.125rem; font-weight: 700; }
.feature p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ============ Coverage ============ */
.coverage { display: flex; align-items: center; gap: 64px; }
.coverage__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; flex: 1; }
.coverage__copy p { font-size: 1.0625rem; color: var(--muted); line-height: 1.8; max-width: 460px; }
.coverage__ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.coverage__map {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.coverage__map svg { display: block; width: 100%; height: auto; }
.map-surface { fill: var(--surface); }
.map-grid { stroke: var(--line); }
.map-pin { fill: var(--link); }
.map-label {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 600;
  fill: var(--ink);
}
.map-label--legend { font-size: 13px; font-weight: 400; }
.map-legend-box { fill: var(--card); stroke: var(--line); }

/* ============ Ecosystem ============ */
.ecosystem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.eco {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  color: var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.eco:hover { transform: translateY(-4px); border-color: var(--brand); color: var(--ink); }
.eco--dark { background: var(--dark-surface); border-color: var(--dark-surface); color: #fff; }
.eco--dark:hover { color: #fff; border-color: var(--brand); }
.eco__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(141, 198, 63, 0.18);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.eco__icon--soft { background: var(--brand-soft); }
.eco__body { display: flex; flex-direction: column; gap: 6px; }
.eco__body b { font-size: 1.25rem; font-weight: 700; }
.eco__body > span { font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.eco--dark .eco__body > span { color: var(--ink-on-dark); }
.eco__body em { font-style: normal; font-size: 0.875rem; font-weight: 700; color: var(--link); margin-top: 4px; }
.eco--dark .eco__body em { color: var(--accent-soft); }

/* ============ News ============ */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s var(--ease);
}
.news-card:hover { transform: translateY(-4px); }
.news-card time {
  background: var(--brand-soft);
  color: var(--link);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
}
.news-card h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.5; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--link); }
.news-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ============ Footer ============ */
.footer { background: var(--dark-surface); color: #fff; margin-top: 96px; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-block: 64px 48px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 300px; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; }
.footer__brand p { font-size: 0.875rem; color: var(--ink-on-dark); line-height: 1.8; }
.footer__call {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(141, 198, 63, 0.12);
  border: 1px solid rgba(141, 198, 63, 0.35);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--ink-on-dark);
  transition: border-color 0.2s var(--ease);
}
.footer__call:hover { color: #fff; border-color: var(--brand); }
.footer__call b { font-size: 1.25rem; color: #fff; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  flex: 1;
  max-width: 760px;
}
.footer__cols h4 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 14px; color: #fff; }
.footer__cols a { display: block; color: var(--ink-on-dark); font-size: 0.875rem; line-height: 2.1; }
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(198, 211, 184, 0.2);
  padding-block: 24px;
  font-size: 0.8125rem;
  color: var(--ink-on-dark);
  flex-wrap: wrap;
}
.footer__legal { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__legal a { color: var(--ink-on-dark); }
.footer__legal a:hover { color: #fff; }
.footer__social { display: flex; align-items: center; gap: 14px; }
.footer__social a { color: var(--ink-on-dark); display: inline-flex; transition: transform 0.2s var(--ease); }
.footer__social a:hover { color: #fff; transform: translateY(-2px); }

/* ============ Mobile bottom bar ============ */
.bottombar {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(23, 37, 11, 0.08);
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.bottombar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 64px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
}
.bottombar__item--active, .bottombar__item:hover { color: var(--link); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .quick__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .innovation__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__visual { display: none; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 768px) {
  .utility__inner { justify-content: center; }
  .utility__links { display: none; }

  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link:last-child { border-bottom: none; }
  .menu-btn { display: inline-flex; }

  .hero { padding-block: 48px 110px; }
  .hero__ctas .btn--lg { font-size: 0.9375rem; padding: 12px 22px; }

  .quick { margin-top: -64px; }
  .quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .quick-card { padding: 16px; }
  .quick-card > span:last-child { display: none; }

  .section { padding-block: 56px 0; }
  .plans { grid-template-columns: 1fr; }
  .innovation { padding-block: 48px; margin-top: 56px; }
  .innovation__grid { grid-template-columns: 1fr; }
  .coverage { flex-direction: column; align-items: stretch; gap: 32px; }
  .ecosystem { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }

  .footer { margin-top: 64px; }
  .footer__top { flex-direction: column; }
  .footer__cols { width: 100%; max-width: none; }
  .footer__bottom { padding-bottom: 96px; }

  .bottombar { display: flex; }
}

@media (max-width: 520px) {
  .header__actions .btn--brand { display: none; }
}

/* ============ Motion preferences ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit { animation: none; }
  .loadbar { animation: none; transform: scaleX(0.86); }
  .js .hero__badge, .js .hero h1, .js .hero__copy p, .js .hero__ctas, .js .hero__visual { animation: none; }
  .js .reveal { transform: none; transition: opacity 0.3s ease; }
  .btn, .quick-card, .plan, .feature, .eco, .news-card, .footer__social a { transition-duration: 0.01s; }
  .btn:active, .theme-btn:active { transform: none; }
}
