/* ==========================================================================
   BS6 landing page — plain CSS
   RTL Arabic. No framework, no build step.
   ========================================================================== */

:root {
  /* color */
  --bg:            #ffffff;
  --bg-alt:        #f7f7f7;
  --bg-map:        #141414;
  --text:          #0a0a0a;
  --text-2:        rgba(0, 0, 0, .60);
  --text-3:        rgba(0, 0, 0, .45);
  --hair:          rgba(0, 0, 0, .08);
  --orange:        #EA5A0C;   /* primary */
  --orange-deep:   #C4400A;   /* hover / map heading */
  --orange-bright: #F97316;   /* icons, link hover */

  /* type */
  --font-body: 'Cairo', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* layout */
  --maxw:   1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --sect-y: clamp(64px, 9vw, 128px);

  /* radius */
  --r-card: 20px;
  --r-img:  16px;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--orange-bright); }

img { max-width: 100%; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* --------------------------------------------------------------- layout --- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sect       { padding: var(--sect-y) 0; }
.sect-alt   { background: var(--bg-alt); }
.sect-tight { padding-top: 0; }

.hair { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* ------------------------------------------------------------- type bits --- */

.kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-bright);
}
.kicker-lg     { font-size: 15px; font-weight: 700; }
.kicker-muted  { color: var(--text-3); }
.kicker-gap    { height: 48px; }

.sect-title {
  font-size: clamp(30px, 3.6vw, 46px);
  margin-top: 16px;
  margin-bottom: 48px;
}
.sect-title-tight { margin-bottom: 40px; }
.sect-title-sub { font-size: 17px; color: var(--text-2); margin-top: -32px; margin-bottom: 40px; }

/* ----------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--r-pill);
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }

.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--hair); }
.btn-outline:hover { border-color: var(--orange-bright); color: var(--text); }

.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #1a1a1a; color: #fff; }

.btn-on-orange { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.btn-on-orange:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.btn-row-lg { margin-top: 40px; }

/* -------------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand img { height: 34px; width: auto; display: block; }

.nav-brand-group { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14px; color: var(--text-2); }

/* ------------------------------------------------------------------- hero -- */

.hero { position: relative; overflow: hidden; }

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: hero-drift 8s ease-in-out infinite;
}

@keyframes hero-drift {
  0%, 100% { transform: translateX(0)     scale(1.03); }
  50%      { transform: translateX(-16px) scale(1.03); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(270deg,
    #ffffff 0%,
    #ffffff 52%,
    rgba(255, 255, 255, .7) 66%,
    rgba(255, 255, 255, .2) 85%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(80px, 12vw, 160px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 290px);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

/* RTL: column 1 is the right side (copy, over the opaque white);
   column 2 is the left side (card, over the photograph) */
.hero-copy { grid-column: 1; grid-row: 1; }

@keyframes card-drift {
  0%, 100% { transform: translateX(0)     rotate(-6deg); }
  50%      { transform: translateX(-16px) rotate(-6deg); }
}

.hero-card {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: calc(-1 * clamp(80px, 12vw, 160px) + 18px);
  transform: rotate(-6deg);
  animation: card-drift 8s ease-in-out infinite;
}

.addr-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .32);
  padding: 18px;
  text-align: right;
}

.addr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--hair);
}

.addr-label { font-size: 11.5px; font-weight: 600; color: var(--text-2); }

.addr-code {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--orange-deep);
}

.addr-card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding-top: 11px;
}
.addr-card-body > :last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.addr-lines { font-size: 12px; line-height: 1.65; text-align: left; }

.addr-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-2);
}
.addr-phone .ico { width: 13px; height: 13px; flex-shrink: 0; }

.addr-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.addr-flag {
  display: block;
  width: 30px;
  margin-top: 10px;
  align-self: center;
  border-radius: 3px;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 58px);
  max-width: 20ch;
  margin-top: 24px;
}

.hero-lede {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--text);
  max-width: 56ch;
  margin-top: 28px;
}

/* ------------------------------------------------------------------ stats -- */

.stats { background: var(--bg-alt); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }

.stat-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: transform .3s ease, border-color .3s ease;
}
.stat-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--orange-bright); stroke-width: 1.6; }
.stat:hover .stat-ico { transform: translateY(-4px) scale(1.06); border-color: var(--orange); }

.stat-num {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
}

/* -------------------------------------------------------------------- map -- */

.map-sect { padding-bottom: var(--sect-y); }

.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: var(--bg-map);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
}

dot-map { position: absolute; inset: 0; display: block; }

.map-title {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--orange-deep);
  text-align: center;
  margin-top: 32px;
}

/* ------------------------------------------------------------------ steps -- */

.steps { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 80px 300px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--hair);
}
.step-last { border-bottom: 1px solid var(--hair); }

.step-num   { line-height: 1.6; }
.step-title { font-size: 22px; }
.step-body  { font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* ------------------------------------------------------- dashboard split -- */

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.split-title { font-size: clamp(28px, 3.2vw, 40px); margin-top: 16px; }
.split-body  { font-size: 16px; line-height: 1.7; color: var(--text-2); margin-top: 20px; }

.checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; }

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.checklist-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  padding: 12px 16px;
  font-size: 14px;
  transition: background .2s ease, border-color .2s ease;
}
.checklist-pill:hover { background: #fff; border-color: var(--orange); }
.checklist-pill .ico { flex-shrink: 0; }

.video-panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
}
.video-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-panel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-3);
}
.video-panel-placeholder svg { width: 40px; height: 40px; stroke: var(--orange-bright); fill: none; stroke-width: 1.5; }
.video-panel-placeholder span { font-size: 14px; }

/* ------------------------------------------------------------------ icons -- */

.ico {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--orange-bright);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-lg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ cards -- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--bg-alt);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 28px;
}
.card-white  { background: #fff; }
.card-pad-lg { padding: 32px; }

.card-hover { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card-hover:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .18);
}

.card-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hair);
  margin-bottom: 18px;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.card-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--orange-bright); stroke-width: 1.6; }
.card-hover:hover .card-ico { background: var(--orange); border-color: var(--orange); transform: scale(1.08) rotate(-4deg); }
.card-hover:hover .card-ico svg { stroke: #fff; }
.card-pad-xl { padding: 36px; }

.card-title    { font-size: 19px; margin-top: 18px; }
.card-title-lg { font-size: 22px; }
.card-body     { font-size: 15px; line-height: 1.65; color: var(--text-2); margin-top: 12px; }

.price {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin-top: 24px;
  margin-bottom: 10px;
}
.price span { font-size: 16px; font-weight: 400; color: var(--text-3); }

/* -------------------------------------------------------------- bento (المزايا) -- */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  min-height: 240px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 28px;
  overflow: hidden;
}
.bento-card.span-1 { grid-column: span 1; }
.bento-card.span-2 { grid-column: span 2; }

.bento-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; }

.bento-copy { margin-top: 68px; }
.bento-title { font-size: 21px; font-weight: 700; }
.bento-desc  { font-size: 14px; line-height: 1.6; color: var(--text-2); margin-top: 8px; max-width: 34ch; }

/* card 1: consolidation mini-boxes */
.bento-boxes { display: flex; align-items: center; gap: 8px; }
.bento-boxes .mini,
.bento-boxes .main {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-boxes .mini { border: 1px solid var(--hair); color: var(--text-3); }
.bento-boxes .mini svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bento-boxes .main { background: var(--orange); }
.bento-boxes .main svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; }
.bento-boxes .arrow { color: var(--orange-bright); font-size: 18px; transition: opacity .3s ease .2s; }
.bento-clickable:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.bento-boxes .mini {
  transition: transform .45s cubic-bezier(.4, 0, .2, 1), opacity .45s ease;
}
.bento-boxes .main {
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1) .4s;
}
.bento-clickable:hover .bento-boxes .mini:nth-child(1),
.bento-clickable:focus-within .bento-boxes .mini:nth-child(1) { transform: translateX(88px) scale(.35); opacity: 0; }
.bento-clickable:hover .bento-boxes .mini:nth-child(2),
.bento-clickable:focus-within .bento-boxes .mini:nth-child(2) { transform: translateX(58px) scale(.35); opacity: 0; transition-delay: .06s; }
.bento-clickable:hover .bento-boxes .mini:nth-child(3),
.bento-clickable:focus-within .bento-boxes .mini:nth-child(3) { transform: translateX(28px) scale(.35); opacity: 0; transition-delay: .12s; }
.bento-clickable:hover .bento-boxes .arrow,
.bento-clickable:focus-within .bento-boxes .arrow { opacity: 0; transition-delay: 0s; }
.bento-clickable:hover .bento-boxes .main,
.bento-clickable:focus-within .bento-boxes .main { transform: scale(1.22); }

/* card 2: floating china-address mini card */
.bento-addr {
  position: absolute;
  bottom: 24px;
  left: 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .28);
  padding: 12px 16px;
  max-width: 220px;
  animation: card-drift 8s ease-in-out infinite;
}
.bento-addr .code { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--orange-deep); }
.bento-addr .lines { font-size: 11.5px; line-height: 1.55; color: var(--text-2); margin-top: 4px; text-align: left; }

/* card 3: payment icon row */
.bento-payment-icons { display: flex; gap: 12px; }
.bento-payment-icons span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-bright);
}
.bento-payment-icons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bento-payment-icons span:nth-child(1) { animation: bento-fade-in 2.4s ease-in-out infinite; }
.bento-payment-icons span:nth-child(2) { animation: bento-fade-in 2.4s ease-in-out infinite .25s; }
.bento-payment-icons span:nth-child(3) { animation: bento-fade-in 2.4s ease-in-out infinite .5s; }
@keyframes bento-fade-in { 0%, 100% { opacity: .4; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(0); } }

/* card 4: shipping progress */
.bento-progress { position: relative; display: flex; align-items: center; gap: 10px; }
.bento-progress .plane {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-progress .plane svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.7; }
.bento-progress .track { position: relative; flex: 1; height: 4px; background: var(--hair); border-radius: 999px; overflow: hidden; }
.bento-progress .fill { position: absolute; top: 0; right: 0; height: 100%; background: var(--orange-bright); border-radius: 999px; animation: bento-ship 3s ease-in-out infinite; }
@keyframes bento-ship { 0% { width: 8%; } 50% { width: 85%; } 100% { width: 8%; } }

/* ---------------------------------------------------------------- gallery -- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-img);
  display: block;
}

/* -------------------------------------------------------------------- faq -- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(24px, 5vw, 72px);
}

.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--hair);
}
.faq-item-last { border-bottom: 1px solid var(--hair); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-q { display: flex; align-items: center; gap: 10px; }
.faq-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--orange-bright);
  stroke-width: 1.6;
}

.faq-chev {
  flex-shrink: 0;
  color: var(--orange-deep);
  font-size: 15px;
  transition: transform .25s ease;
}
.faq-item[open] .faq-chev { transform: rotate(180deg); }

.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  margin-top: 12px;
}
.faq-item p.faq-bullet { margin-top: 6px; }
.faq-item p.faq-bullet + p.faq-bullet { margin-top: 0; }

/* ------------------------------------------------------------ closing cta -- */

.close { background: var(--orange); padding: var(--sect-y) 0; color: #fff; }
.close .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.close-title { font-size: clamp(32px, 4.4vw, 58px); max-width: 20ch; color: #fff; }
.close-body  { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 52ch; }
.close .btn-row { margin-top: 0; }

/* ----------------------------------------------------------------- footer -- */

.footer { background: var(--bg); padding: 64px 0 40px; }
.footer .wrap { display: flex; flex-direction: column; gap: 40px; }

.footer-cols {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 280px; }
.footer-brand img { height: 20px; width: auto; object-fit: contain; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: var(--text-3); }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}

.footer-bar {
  border-top: 1px solid var(--hair);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-3);
}

/* --------------------------------------------------------- scroll reveal -- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1),
              transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal .kicker,
.reveal h1, .reveal h2, .reveal h3,
.reveal .hero-lede, .reveal .split-body, .reveal .close-body,
.reveal .btn, .reveal .card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in .kicker                              { opacity: 1; transform: none; transition-delay: .04s; }
.reveal.in h1, .reveal.in h2, .reveal.in h3     { opacity: 1; transform: none; transition-delay: .12s; }
.reveal.in .hero-lede,
.reveal.in .split-body,
.reveal.in .close-body                          { opacity: 1; transform: none; transition-delay: .20s; }
.reveal.in .btn                                 { opacity: 1; transform: none; transition-delay: .30s; }
.reveal.in .card:nth-child(1)                   { opacity: 1; transform: none; transition-delay: .22s; }
.reveal.in .card:nth-child(2)                   { opacity: 1; transform: none; transition-delay: .28s; }
.reveal.in .card:nth-child(3)                   { opacity: 1; transform: none; transition-delay: .34s; }
.reveal.in .card:nth-child(4)                   { opacity: 1; transform: none; transition-delay: .40s; }
.reveal.in .card:nth-child(5)                   { opacity: 1; transform: none; transition-delay: .46s; }
.reveal.in .card:nth-child(6)                   { opacity: 1; transform: none; transition-delay: .52s; }

/* Never let a JS failure hide content. */
.no-js .reveal, .no-js .reveal * { opacity: 1 !important; transform: none !important; }

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 1024px) {
  .step { grid-template-columns: 60px 220px 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-1, .bento-card.span-2 { grid-column: span 1; }
  .faq { grid-template-columns: 1fr; }
  .faq-item { border-bottom: 0; }
  .faq-item:last-child { border-bottom: 1px solid var(--hair); }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-card { grid-column: 1; grid-row: 2; align-self: start; margin-bottom: 0; transform: none; animation: none; max-width: 330px; }
  .hero-scrim {
    background: linear-gradient(0deg,
      #ffffff 0%,
      rgba(255, 255, 255, .92) 55%,
      rgba(255, 255, 255, .6) 100%);
  }
  .hero-title { max-width: none; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { aspect-ratio: 4 / 3; }
  .step { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .map-panel { min-height: 260px; }
  .nav-login { display: none; }
  .btn { padding: 12px 22px; }
}

/* ------------------------------------------------------- reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .hero-card { animation: none; }
  .bento-boxes .mini, .bento-boxes .main, .bento-boxes .arrow, .bento-addr, .bento-payment-icons span, .bento-progress .fill { animation: none; transition: none; }
  .reveal, .reveal * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .faq-chev { transition: none; }
}

/* -------------------------------------------------------- mobile nav menu -- */

.nav-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--hair);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-menu-btn svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.8; stroke-linecap: round; }

@media (max-width: 900px) {
  .nav-menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--hair);
    padding: 8px var(--gutter) 16px;
  }
  .nav-links a { padding: 12px 0; border-top: 1px solid var(--hair); }
  .nav-links a:first-child { border-top: 0; }
  .nav.menu-open .nav-links { display: flex; }
}
