:root {
  /* Brand Guide palette */
  --rushers:        #1b5e4c;  /* Golf Course — verde primario */
  --rushers-dark:   #13221d;  /* Tree — verde scuro */
  --rushers-soft:   #88bfb5;  /* Santorini — acqua */
  --rushers-gold:   #c7a451;  /* Sand — oro */
  --rushers-pearl:  #fff9e9;  /* Pearl — crema */

  /* Light mode */
  --bg:   #fff9e9;
  --ink:  #13221d;
  --line: #c8ddd9;

  --scroll-night: 0;
  --scroll-glow-shift: 0vh;
  --scroll-glow-scale: 1;
  --scroll-overlay-opacity: 0;
  --rusherboy-shift: 130px;
  --chat-open: 0;
  --hero-break-top:    rgba(27, 94, 76, 0.14);
  --hero-break-mid:    rgba(27, 94, 76, 0.07);
  --hero-break-bottom: rgba(255, 249, 233, 0);
}
:root[data-theme='dark'] {
  --bg:   #0c1410;
  --ink:  #f0ede0;
  --line: #2a3d36;
  --hero-break-top:    rgba(136, 191, 181, 0.34);
  --hero-break-mid:    rgba(136, 191, 181, 0.15);
  --hero-break-bottom: rgba(12, 20, 16, 0);
}
* { box-sizing: border-box; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background-color: #eef5ff;
  background-image:
    radial-gradient(74% 58% at 10% 5%, rgba(77, 196, 255, 0.38) 0%, rgba(77, 196, 255, 0) 72%),
    radial-gradient(68% 55% at 90% 1%, rgba(142, 111, 255, 0.34) 0%, rgba(142, 111, 255, 0) 72%),
    radial-gradient(82% 64% at 52% 120%, rgba(15, 95, 75, 0.22) 0%, rgba(15, 95, 75, 0) 74%),
    linear-gradient(156deg, #f7fbff 0%, #edf4ff 44%, #e6efff 100%);
  transition: background 220ms ease, color 160ms linear;
}
body::before {
  content: '';
  position: fixed;
  inset: -30vh -12vw auto -12vw;
  height: 72vh;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(108deg, rgba(62, 184, 255, 0.46) 0%, rgba(96, 132, 255, 0.4) 34%, rgba(163, 99, 255, 0.34) 66%, rgba(15, 95, 75, 0.34) 100%);
  filter: blur(78px);
  opacity: calc(0.98 + (var(--scroll-night) * 0.26));
  transform: translate3d(0, var(--scroll-glow-shift), 0) scale(var(--scroll-glow-scale));
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(70% 56% at 14% 12%, rgba(41, 159, 255, 0.34) 0%, rgba(41, 159, 255, 0) 74%),
    radial-gradient(64% 56% at 88% 10%, rgba(172, 87, 255, 0.38) 0%, rgba(172, 87, 255, 0) 76%),
    radial-gradient(78% 62% at 50% 116%, rgba(15, 95, 75, 0.28) 0%, rgba(15, 95, 75, 0) 72%),
    linear-gradient(180deg, rgba(247, 251, 255, 0) 0%, rgba(225, 235, 252, 0.58) 50%, rgba(198, 215, 245, 0.95) 100%);
  opacity: var(--scroll-overlay-opacity);
  transition: opacity 140ms linear;
}
.rushers-page { width: min(1120px, 92vw); margin: 0 auto; padding: 24px 0 56px; }
.top-controls { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 10px; }
.lang-toggle { display: inline-flex; border: 1px solid #b9d4c8; border-radius: 999px; overflow: hidden; }
.lang-btn,.theme-toggle { border: none; padding: 8px 12px; cursor: pointer; font-weight: 700; }
.lang-btn.active { background: var(--rushers); color: #fff; }
.theme-toggle { border: 1px solid #b9d4c8; border-radius: 999px; }
.top-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9d4c8;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  text-decoration: none;
  color: #173a2f;
  background: #eef7f2;
}
.top-home-link:hover { background: #e3f1ea; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 26px;
}
.hero::after {
  content: none;
}
.hero::before {
  content: none !important;
  display: none !important;
}
.hero::after {
  content: none !important;
  display: none !important;
}
.drivein-divider,
.drivein-divider-secondary {
  display: none !important;
}

/* Alfonsino vertical: keep Rushers layout, shift first fold to Alfonsino blue */
body.page-template-page-alfonsino .top-controls,
body.page-template-page-alfonsino .hero {
  background: linear-gradient(145deg, #0d3f8f 0%, #1657b8 54%, #1a67d4 100%);
  border-color: rgba(158, 198, 255, 0.36);
}
body.page-template-page-alfonsino .hero {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body.page-template-page-alfonsino .top-controls {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body.page-template-page-alfonsino .hero {
  padding-bottom: 14px !important;
}
body.page-template-page-alfonsino .hero::before,
body.page-template-page-alfonsino .hero::after {
  content: none !important;
  display: none !important;
}
body.page-template-page-alfonsino .hero-visual,
body.page-template-page-alfonsino .hero-form-visual {
  min-height: 0 !important;
  align-items: flex-start !important;
}
body.page-template-page-alfonsino #rider-form.hero-form-wrap {
  margin-top: 0 !important;
}
body.page-template-page-alfonsino .partner-strip {
  margin-top: 8px !important;
}
body.page-template-page-alfonsino {
  background-color: #eaf1ff !important;
  background-image:
    radial-gradient(72% 56% at 10% 8%, rgba(83, 161, 255, 0.34) 0%, rgba(83, 161, 255, 0) 72%),
    radial-gradient(70% 58% at 92% 6%, rgba(49, 105, 214, 0.30) 0%, rgba(49, 105, 214, 0) 72%),
    linear-gradient(160deg, #f2f7ff 0%, #e8f1ff 46%, #e1ecff 100%) !important;
}
body.page-template-page-alfonsino::before {
  background: linear-gradient(110deg, rgba(80, 151, 255, 0.44) 0%, rgba(38, 111, 226, 0.40) 45%, rgba(26, 92, 205, 0.34) 100%) !important;
  opacity: 0.95 !important;
}
body.page-template-page-alfonsino::after {
  background:
    radial-gradient(70% 56% at 14% 12%, rgba(68, 143, 250, 0.30) 0%, rgba(68, 143, 250, 0) 74%),
    radial-gradient(66% 56% at 86% 10%, rgba(42, 108, 217, 0.30) 0%, rgba(42, 108, 217, 0) 74%),
    linear-gradient(180deg, rgba(244, 248, 255, 0) 0%, rgba(225, 236, 255, 0.62) 56%, rgba(209, 224, 252, 0.94) 100%) !important;
}
body.page-template-page-alfonsino .hero-copy h1,
body.page-template-page-alfonsino .hero-copy p,
body.page-template-page-alfonsino .hero-copy .market-counter,
body.page-template-page-alfonsino #marketCounterLabel,
body.page-template-page-alfonsino #marketCounterValue {
  color: #123d78;
}
body.page-template-page-alfonsino .hero-copy .market-counter strong {
  color: #134784;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(171, 200, 236, 0.75);
}
body.page-template-page-alfonsino .hero-form-wrap {
  border: 1px solid rgba(198, 221, 255, 0.66) !important;
  box-shadow: 0 18px 38px rgba(9, 39, 89, 0.3) !important;
}
body.page-template-page-alfonsino .merchant-focus {
  margin: 16px 0 20px;
  padding: 18px;
  border: 1px solid #d6e4fb;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}
body.page-template-page-alfonsino .merchant-focus-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #1a57b6;
}
body.page-template-page-alfonsino .merchant-focus h2 {
  margin: 0 0 10px;
  color: #0f2f66;
}
body.page-template-page-alfonsino .merchant-focus p {
  margin: 0;
  color: #1f3f70;
}
body.page-template-page-alfonsino .merchant-focus-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.page-template-page-alfonsino .merchant-focus-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #c7dafb;
  background: #ffffff;
}
body.page-template-page-alfonsino .merchant-focus-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px;
  background: linear-gradient(160deg, #e8f1ff 0%, #dce9ff 100%);
  border: 1px solid #bdd3f7;
}
body.page-template-page-alfonsino .merchant-focus-card h3 {
  margin: 0 0 6px;
  color: #0f4a9e;
  font-size: 15px;
}
body.page-template-page-alfonsino .merchant-focus-card p {
  color: #2a4f82;
}

/* Alfonsino vertical dark mode */
:root[data-theme='dark'] body.page-template-page-alfonsino {
  background-color: #0c1526 !important;
  background-image:
    radial-gradient(72% 56% at 10% 8%, rgba(58, 114, 210, 0.28) 0%, rgba(58, 114, 210, 0) 72%),
    radial-gradient(70% 58% at 92% 6%, rgba(39, 83, 163, 0.24) 0%, rgba(39, 83, 163, 0) 72%),
    linear-gradient(160deg, #101a30 0%, #0d172b 46%, #0a1426 100%) !important;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-copy h1,
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-copy p,
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-copy .market-counter,
:root[data-theme='dark'] body.page-template-page-alfonsino #marketCounterLabel,
:root[data-theme='dark'] body.page-template-page-alfonsino #marketCounterValue {
  color: #e8f0ff;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-copy .market-counter strong {
  color: #eaf2ff !important;
  background: rgba(16, 31, 58, 0.92) !important;
  border-color: rgba(116, 152, 214, 0.72) !important;
}
:root[data-theme='dark'] body.page-template-page-alfonsino #marketCounterValue {
  color: #f3f7ff !important;
  font-weight: 700;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-form-wrap {
  background: linear-gradient(180deg, #101a2e, #0e1728) !important;
  border-color: #2a3f66 !important;
  box-shadow: 0 20px 40px rgba(4, 9, 17, 0.55) !important;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-form-wrap h2,
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-form-wrap label span,
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-form-wrap .field-hint {
  color: #dbe7ff !important;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-form-wrap input,
:root[data-theme='dark'] body.page-template-page-alfonsino .hero-form-wrap select {
  background: #0b1322 !important;
  border-color: #2b436f !important;
  color: #e5eeff !important;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .merchant-focus {
  background: linear-gradient(180deg, #101a2f 0%, #0f182b 100%);
  border-color: #294168;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .merchant-focus-eyebrow,
:root[data-theme='dark'] body.page-template-page-alfonsino .merchant-focus h2 {
  color: #8fb8ff;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .merchant-focus p {
  color: #c4d6f7;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .merchant-focus-card {
  background: #0b1322;
  border-color: #2b436f;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .merchant-focus-card h3 {
  color: #a8c8ff;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .merchant-focus-card p {
  color: #c6d8fa;
}
:root[data-theme='dark'] body.page-template-page-alfonsino .merchant-focus-icon {
  background: linear-gradient(160deg, #132645 0%, #0f1e37 100%);
  border-color: #36568b;
}
@media (max-width: 900px) {
  body.page-template-page-alfonsino .merchant-focus-grid {
    grid-template-columns: 1fr;
  }
}
.rushers-brand { width: 284px; max-width: 100%; display: block; margin: 0 0 14px -10px; }
.market-counter {
  margin: 8px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(.82rem, .92vw, .98rem);
  color: #526a82;
  letter-spacing: .01em;
  white-space: nowrap;
}
.hero-copy .market-counter {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.2;
  max-width: 100%;
}
.market-counter strong {
  flex: 0 1 auto;
  font-weight: 650;
  color: #0f2540;
  opacity: .92;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(170, 195, 214, .7);
  border-radius: 999px;
  padding: 3px 8px;
}
#marketCounterLabel {
  font-weight: 650;
  color: #0f2540;
}
#marketCounterValue {
  flex: 0 0 auto;
  margin-left: 0;
  font-size: inherit;
  font-weight: 450;
  color: #617a97;
  font-variant-numeric: tabular-nums;
}
.hero-copy h1 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.03; }
.hero-copy p { margin: 12px 0 0; font-size: 1.2rem; max-width: 660px; }
.hero-home-logo { display: inline-flex; max-width: fit-content; text-decoration: none; }
.hero-visual { min-height: 380px; display: flex; align-items: end; justify-content: end; }
.hero-rider {
  width: min(580px, 120%);
  transform: translate3d(0, var(--rusherboy-shift), 0);
  transition: transform .08s linear;
  will-change: transform;
}
.partner-strip { margin: 18px 0 14px; }
.partner-strip p { margin: 0 0 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #285e4d; }
.partner-logos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.partner-card { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-height: 82px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.partner-card-link { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.partner-card img { max-width: 84%; max-height: 42px; object-fit: contain; }
.partner-card-link img[alt='Alfonsino'] { max-width: 92%; max-height: 46px; }
.partner-card img[alt='Just Eat'] { max-width: 100%; max-height: 60px; }
.partner-logos .partner-card img[alt='Just Eat'] { max-width: 128%; max-height: 62px; }
.partner-logos .partner-card img[alt='Eufarma'] { max-width: 78%; max-height: 36px; }
.partner-card .eufarma-logo-dark { display: none; }
.guarantee-logos .eufarma-logo-dark { display: none; }
.quick-download { margin: 12px 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.store-badges img { height: 46px; display:block; }
.chat-section-head {
  margin: 10px 0 8px;
}
.chat-section-eyebrow {
  margin: 0 0 4px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4f7f6f;
}
.chat-section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.flow-shell {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 185vh;
  margin-top: 6px;
}
.typewriter {
  position: sticky;
  top: 8px;
  display: grid;
  grid-template-columns: calc(40px + (24px * var(--chat-open))) 1fr;
  gap: calc(8px + (12px * var(--chat-open)));
  min-height: 100vh;
  align-content: start;
  padding-top: calc(18px + (12px * var(--chat-open)));
}
.chat-avatar { width:48px; height:48px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; background:#fff; }
.chat-avatar img { width:30px; }
.chat-message {
  border: 1px solid #c7d7cf;
  border-radius: calc(18px - (14px * var(--chat-open)));
  padding: calc(12px + (12px * var(--chat-open)));
  background:
    radial-gradient(circle at 12px 12px, rgba(255,255,255,.55) 1px, transparent 1px) 0 0 / 22px 22px,
    #e7ddd2;
  width: calc(66vw + (30vw * var(--chat-open)));
  max-width: none;
  min-height: calc(240px + (62vh * var(--chat-open)));
  box-shadow: 0 10px 26px rgba(23, 37, 35, .12);
  transition: border-radius .12s linear, padding .12s linear, min-height .12s linear, box-shadow .2s ease;
}
.chat-thread {
  display: grid;
  gap: calc(8px + (4px * var(--chat-open)));
  align-content: start;
  min-height: calc(180px + (58vh * var(--chat-open)));
  overflow: auto;
  padding-right: 4px;
}
.msg {
  max-width: 86%;
  border-radius: 12px;
  padding: 8px 10px;
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.msg p {
  margin: 0;
  white-space: pre-line;
  font-size: 1rem;
  line-height: 1.32;
  font-weight: 600;
}
.msg-bot {
  justify-self: start;
  background: #ffffff;
  color: #1f2a23;
}
.msg-bot::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 9px;
  border-width: 7px 7px 7px 0;
  border-style: solid;
  border-color: transparent #ffffff transparent transparent;
}
.msg-user {
  justify-self: end;
  margin-left: 0;
  background: #d8fbd2;
  color: #10231a;
  border: 1px solid #bae7b1;
}
.msg-user::before {
  content: '';
  position: absolute;
  right: -7px;
  top: 9px;
  border-width: 7px 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent transparent #d8fbd2;
}
.msg-sticker { margin-top: -2px; }
.sticker-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4fff9 0%, #e8f7f0 100%);
  border: 1px solid #b9ddcd;
  font-size: 1.25rem;
  line-height: 1;
  animation: sticker-pop 1.7s ease-in-out infinite;
  transform-origin: center;
}
.msg-eyebrow { display:block; font-size:.66rem; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .08em; }
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 1px 0 0;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(28, 44, 37, 0.55);
  animation: rushersTypingDot 1s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: .12s; }
.typing-dots span:nth-child(3) { animation-delay: .24s; }
@keyframes rushersTypingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40% { transform: translateY(-3px); opacity: 1; }
}
.choices { display:flex; flex-wrap:wrap; gap:10px; }
.flow-shell .choices {
  position: sticky;
  top: calc(62vh + (8vh * var(--chat-open)));
  z-index: 2;
  width: calc(66vw + (30vw * var(--chat-open)));
  margin-left: calc(48px + (24px * var(--chat-open)) + 8px + (12px * var(--chat-open)));
  padding-bottom: 12px;
  transition: width .12s linear, margin-left .12s linear, top .12s linear;
}
.choice { border:1px solid #8ec4b0; background:#e7f6f0; color:#0e4f3e; border-radius:999px; padding:10px 14px; font-weight:700; cursor:pointer; }
.form-wrap { border:1px solid var(--line); border-radius:14px; padding:16px; margin-top: 22px; }
.form-wrap h2 { margin:0 0 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-wrap-secondary {
  margin-top: 18px;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(176, 199, 188, 0.8);
  background:
    radial-gradient(90% 110% at 82% 26%, rgba(55, 182, 147, 0.11) 0%, rgba(55, 182, 147, 0) 62%),
    radial-gradient(88% 108% at 70% 58%, rgba(123, 155, 255, 0.10) 0%, rgba(123, 155, 255, 0) 62%),
    radial-gradient(120% 120% at 0% 100%, rgba(55, 182, 147, 0.06) 0%, rgba(55, 182, 147, 0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,252,255,.95));
  box-shadow: 0 14px 26px rgba(14, 31, 25, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
  gap: 14px;
  align-items: stretch;
}
.form-wrap-secondary h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.form-secondary-content {
  min-width: 0;
}
.form-secondary-visual {
  border-radius: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: visible;
  min-height: 100%;
}
.form-secondary-rider {
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(14, 31, 25, 0.12));
}
form { display:grid; gap:10px; }
label { display:grid; gap:6px; font-weight:700; align-content:start; }
.field-hint {
  margin-top: 2px;
  font-size: .8rem;
  font-weight: 600;
  color: #507264;
}
.candidate-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.candidate-grid .span-2 { grid-column: span 2; }
.candidate-grid .span-4 { grid-column: span 4; }
.candidate-grid .span-3 { grid-column: span 3; }
.phone-field-group {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.phone-field-group > * { min-width: 0; }
.phone-field-group input[name="phoneNumber"] {
  width: 100%;
}
.candidate-grid .form-actions {
  align-items: end;
  justify-content: flex-start;
}
.candidate-grid .form-notice { grid-column: 1 / -1; }
input, select {
  border:1px solid var(--line);
  border-radius:10px;
  padding:11px 12px;
  font: inherit;
  color: inherit;
  background: #fff;
}
input::placeholder {
  color: rgba(15, 34, 29, 0.52);
  transition: color .16s ease;
}
input.field-invalid {
  border-color: rgba(15, 95, 75, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 95, 75, 0.10);
}
input.field-invalid::placeholder {
  color: var(--rushers);
  opacity: 1;
  font-weight: 700;
  letter-spacing: .01em;
}
select:disabled {
  opacity: .72;
  cursor: not-allowed;
}
.form-actions { display:flex; gap:8px; }
#submitBtn,
#submitBtnSecondary {
  border: 1px solid #0f5f4b;
  background: linear-gradient(135deg, #0f5f4b 0%, #1f7a61 100%);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15, 95, 75, 0.24);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
#submitBtn:hover,
#submitBtnSecondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 95, 75, 0.3);
  filter: saturate(1.05);
}
#submitBtn:active,
#submitBtnSecondary:active {
  transform: translateY(0);
  box-shadow: 0 8px 14px rgba(15, 95, 75, 0.25);
}
#submitBtn:focus-visible,
#submitBtnSecondary:focus-visible {
  outline: 2px solid #8ed0ba;
  outline-offset: 2px;
}
.success { border:1px solid #a7dbc4; border-radius: 10px; padding: 10px; background:#dff5e8; }
.site-footer { margin-top: 24px; border-top:1px solid var(--line); padding-top: 14px; }
.footer-layout { display:grid; grid-template-columns: 1fr 1fr auto; gap:22px; align-items: start; }
.footer-legal-logo { width:68px; display:block; }
.footer-copy { margin:8px 0 6px; font-weight:700; }
.footer-links { display:flex; gap:12px; }
.footer-links a { color:#1a5a47; text-decoration:none; font-weight:700; }
.footer-links-vertical {
  display: grid;
  gap: 6px;
  justify-items: start;
  margin-bottom: 10px;
}
.footer-links-vertical a {
  font-size: .92rem;
  letter-spacing: .01em;
}
.footer-company {
  display: grid;
  gap: 2px;
}
.footer-company p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.28;
  color: #3f5c50;
  font-weight: 600;
}
.footer-main { text-align:center; }
.footer-main p { margin:0; font-size:1.05rem; font-weight:700; line-height:1.2; }
.guarantee-badge { width:224px; border:2px solid var(--rushers); border-radius:14px; overflow:hidden; background:#fff; }
.guarantee-badge p { margin:0; padding:12px 10px; text-align:center; border-bottom:1px dashed var(--rushers); font-weight:800; display:grid; gap:2px; }
.guarantee-logos { padding:12px 10px; display:grid; gap:10px; justify-items:center; }
.guarantee-logos::before { content:'PARTNER CERTIFIED'; font-size:.56rem; letter-spacing:.12em; color:#1f6b55; padding:3px 7px; border:1px solid #8ec3b1; border-radius:999px; }
.guarantee-logos img { width:174px; height:42px; object-fit:contain; background:#fff; border:1px solid #d5e7df; border-radius:10px; padding:7px 8px; }
.guarantee-logos img[alt='Just Eat'] {
  width: 174px;
  height: 42px;
  padding: 6px 8px;
  object-fit: contain;
  transform: scale(1.03);
  transform-origin: center;
}
.guarantee-logos img[alt='Alfonsino'] {
  width: 174px;
  height: 42px;
  padding: 6px 8px;
  object-fit: contain;
  transform: scale(1.03);
  transform-origin: center;
}
@keyframes sticker-pop {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-4px) scale(1.08); }
  60% { transform: translateY(-2px) scale(1.04); }
}
@media (max-width: 1200px) {
  .rushers-page { width: min(1060px, 94vw); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; justify-content: center; }
  .hero-rider { width: min(520px, 92vw); }
  .flow-shell {
    min-height: auto;
    gap: 12px;
  }
  .typewriter {
    position: static;
    min-height: auto;
    grid-template-columns: 48px 1fr;
    padding-top: 0;
  }
  .chat-message {
    width: 100%;
    min-height: auto;
    border-radius: 18px;
    padding: 12px;
  }
  .chat-thread {
    min-height: auto;
    max-height: 54vh;
    gap: 8px;
  }
  .flow-shell .choices {
    position: static;
    width: 100%;
    margin-left: 0;
    top: auto;
    padding-bottom: 0;
  }
  .choice { padding: 10px 12px; font-size: .98rem; }
  .footer-layout { grid-template-columns: 1fr; gap: 16px; }
  .guarantee-badge { justify-self: start; }
}
@media (max-width: 768px) {
  .rushers-page { width: min(1120px, 95vw); padding: 16px 0 40px; }
  .top-controls { justify-content: space-between; gap: 6px; flex-wrap: wrap; }
  .rushers-brand { width: 126px; }
  .hero-copy h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-copy p { font-size: 1.04rem; }
  .quick-download { padding: 10px 10px; flex-direction: column; align-items: flex-start; }
  .store-badges img { height: 42px; }
  .typewriter { grid-template-columns: 40px 1fr; gap: 8px; }
  .chat-avatar { width:40px; height:40px; }
  .chat-avatar img { width:24px; }
  .msg { max-width: 94%; }
  .msg p { font-size: .95rem; }
  .form-wrap { padding: 12px; margin-top: 16px; }
  .form-wrap h2 { font-size: clamp(1.4rem, 7vw, 2rem); }
  #submitBtn { width: 100%; }
  .candidate-grid .form-actions { justify-content: stretch; }
}
@media (max-width: 960px) {
  .flow-shell {
    min-height: auto;
    gap: 10px;
  }
  .typewriter {
    position: static;
    min-height: auto;
    grid-template-columns: 48px 1fr;
    padding-top: 0;
  }
  .chat-message {
    width: 100%;
    min-height: auto;
    border-radius: 18px;
    padding: 12px;
  }
  .chat-thread {
    min-height: auto;
    max-height: 52vh;
    gap: 8px;
  }
  .flow-shell .choices {
    position: static;
    width: 100%;
    margin-left: 0;
    top: auto;
    padding-bottom: 0;
  }
  .hero { grid-template-columns:1fr; }
  .hero-visual { min-height: 300px; }
  .partner-logos { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; }
  .footer-main { order:2; }
  .guarantee-badge { order:3; justify-self: center; }
  .candidate-grid { grid-template-columns: 1fr; }
  .candidate-grid .span-4,
  .candidate-grid .span-3,
  .candidate-grid .span-2 { grid-column: auto; }
}

:root[data-theme='dark'] .lang-toggle,
:root[data-theme='dark'] .theme-toggle {
  border-color: #3b4957;
  background: #1a2129;
  color: #e8edf3;
}
:root[data-theme='dark'] .top-home-link {
  border-color: #3b4957;
  background: #1a2129;
  color: #e8edf3;
}
:root[data-theme='dark'] .top-home-link:hover { background: #253141; }

:root[data-theme='dark'] body {
  background-color: #0b1220;
  background-image:
    radial-gradient(70% 55% at 10% 4%, rgba(46, 111, 255, 0.25) 0%, rgba(46, 111, 255, 0) 72%),
    radial-gradient(64% 52% at 88% 6%, rgba(157, 89, 255, 0.24) 0%, rgba(157, 89, 255, 0) 74%),
    linear-gradient(160deg, #111a2c 0%, #0d1626 42%, #0a121f 100%);
}
:root[data-theme='dark'] body::before {
  background: linear-gradient(112deg, rgba(75, 122, 255, 0.24) 0%, rgba(94, 198, 255, 0.22) 34%, rgba(173, 110, 255, 0.23) 67%, rgba(46, 214, 168, 0.18) 100%);
  opacity: .82;
}
:root[data-theme='dark'] body::after {
  background:
    radial-gradient(70% 56% at 14% 10%, rgba(54, 126, 255, 0.34) 0%, rgba(54, 126, 255, 0) 72%),
    radial-gradient(62% 54% at 89% 14%, rgba(187, 94, 255, 0.34) 0%, rgba(187, 94, 255, 0) 75%),
    linear-gradient(180deg, rgba(13, 21, 37, 0) 0%, rgba(10, 18, 31, 0.42) 50%, rgba(7, 11, 18, 0.92) 100%);
}

:root[data-theme='dark'] .partner-strip p {
  color: #92c9b4;
}
:root[data-theme='dark'] .market-counter {
  color: #9bb1c7;
}
:root[data-theme='dark'] .market-counter strong {
  color: #e0e8f2;
  background: rgba(20, 30, 45, .88);
  border-color: rgba(69, 93, 116, .8);
}
:root[data-theme='dark'] #marketCounterLabel {
  color: #e0e8f2;
}
:root[data-theme='dark'] #marketCounterValue {
  color: #9bb5d1;
}

:root[data-theme='dark'] .partner-card,
:root[data-theme='dark'] .quick-download,
:root[data-theme='dark'] .chat-avatar,
:root[data-theme='dark'] .msg-user,
:root[data-theme='dark'] .form-wrap,
:root[data-theme='dark'] .guarantee-badge {
  background: #171d24;
  border-color: #2f3b48;
}
:root[data-theme='dark'] .form-wrap-secondary {
  background:
    radial-gradient(90% 110% at 82% 26%, rgba(55, 182, 147, 0.14) 0%, rgba(55, 182, 147, 0) 62%),
    radial-gradient(88% 108% at 70% 58%, rgba(123, 155, 255, 0.14) 0%, rgba(123, 155, 255, 0) 62%),
    radial-gradient(120% 120% at 0% 100%, rgba(55, 182, 147, 0.08) 0%, rgba(55, 182, 147, 0) 60%),
    linear-gradient(180deg, rgba(18, 25, 35, 0.94), rgba(15, 22, 31, 0.96));
  border-color: rgba(62, 84, 98, 0.86);
  box-shadow: 0 14px 26px rgba(2, 7, 12, 0.22);
}
:root[data-theme='dark'] .form-secondary-visual { background: transparent; }
:root[data-theme='dark'] .partner-card .eufarma-logo-light { display: none; }
:root[data-theme='dark'] .partner-card .eufarma-logo-dark { display: block; }
:root[data-theme='dark'] .guarantee-logos .eufarma-logo-light { display: none; }
:root[data-theme='dark'] .guarantee-logos .eufarma-logo-dark { display: block; }

:root[data-theme='dark'] .chat-message {
  border-color: #2f3b48;
  background:
    radial-gradient(circle at 12px 12px, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px,
    #111923;
}

:root[data-theme='dark'] .msg-bot {
  background: #1d2a35;
  color: #e6eef7;
}
:root[data-theme='dark'] .typing-dots span {
  background: rgba(229, 239, 247, 0.7);
}
:root[data-theme='dark'] .msg-bot::before {
  border-color: transparent #1d2a35 transparent transparent;
}

:root[data-theme='dark'] .msg-user {
  background: #1f4d3b;
  border-color: #306651;
  color: #e8fff4;
}
:root[data-theme='dark'] .msg-user::before {
  border-color: transparent transparent transparent #1f4d3b;
}

:root[data-theme='dark'] .choice {
  background: #163428;
  border-color: #2c6f58;
  color: #dbf4ea;
}
:root[data-theme='dark'] .sticker-chip {
  background: linear-gradient(135deg, #1a2d24 0%, #153127 100%);
  border-color: #2f6c56;
}

:root[data-theme='dark'] input,
:root[data-theme='dark'] select {
  background: #11181f;
  color: #e9eff5;
  border-color: #33414f;
}

:root[data-theme='dark'] input::placeholder {
  color: rgba(233, 239, 245, 0.62);
}

:root[data-theme='dark'] input.field-invalid {
  border-color: rgba(45, 155, 124, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 155, 124, 0.14);
}

:root[data-theme='dark'] input.field-invalid::placeholder {
  color: #7fe7c4;
}

:root[data-theme='dark'] .success {
  background: #123327;
  border-color: #2e7b5f;
  color: #d8f4e7;
}

:root[data-theme='dark'] .field-hint {
  color: #8fb9a9;
}
:root[data-theme='dark'] .chat-section-eyebrow {
  color: #8fd1bc;
}

:root[data-theme='dark'] .footer-links a {
  color: #9ed9c2;
}
:root[data-theme='dark'] .footer-company p {
  color: #b7c8d6;
}

:root[data-theme='dark'] .guarantee-badge p {
  color: #ebf2f8;
  border-bottom-color: #2b7f66;
}

:root[data-theme='dark'] .guarantee-logos::before {
  color: #8fd0b7;
  border-color: #3d7f68;
  background: #142c23;
}

:root[data-theme='dark'] .guarantee-logos img {
  background: #f4f7f9;
  border-color: #7aa392;
}

/* Stable responsive chat layout (fallback from fullscreen reveal experiment) */
.flow-shell {
  min-height: auto;
  gap: 10px;
}
.typewriter {
  position: static;
  top: auto;
  min-height: auto;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  padding-top: 0;
}
.chat-message {
  width: 100%;
  min-height: auto;
  border-radius: 18px;
  padding: 12px;
}
.chat-thread {
  min-height: auto;
  max-height: 56vh;
  gap: 8px;
}
.flow-shell .choices {
  position: static;
  width: 100%;
  margin-left: 0;
  top: auto;
  padding-bottom: 0;
}
@media (max-width: 768px) {
  .typewriter { grid-template-columns: 40px 1fr; gap: 8px; }
  .chat-thread { max-height: 50vh; }
}

/* AI helper (interactive typed chat for FAQ/turni/requisiti/pagamenti) */
.ai-help {
  margin: 14px 0 20px;
  border: 1px solid rgba(170, 194, 183, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(18, 30, 44, 0.06);
  overflow: hidden;
}
.ai-help-inline {
  margin: 12px 0 2px;
  border-radius: 14px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.62);
}
.chat-message .ai-help-inline .ai-help-head {
  padding: 10px 10px 8px;
}
.chat-message .ai-help-inline .ai-help-panel {
  padding: 10px 10px 10px;
}
.chat-message .ai-help-inline .ai-help-toggle {
  padding: 9px 11px;
  font-size: .9rem;
}
.chat-message .ai-help-inline .ai-help-caption {
  font-size: .8rem;
  margin-top: 6px;
}
.chat-message .ai-help-inline .ai-help-messages {
  min-height: 84px;
  max-height: 180px;
}
.chat-message .ai-help-inline .ai-msg-bubble {
  font-size: .88rem;
}
.chat-message .ai-help-inline .ai-quick-btn {
  font-size: .8rem;
  padding: 6px 9px;
}
:root[data-theme='dark'] .ai-help-inline {
  background: rgba(17, 22, 28, 0.72);
}
.ai-help-head {
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(176, 198, 216, 0.35);
}
.ai-help-toggle {
  width: 100%;
  border: 1px solid #9fd0bf;
  background: linear-gradient(180deg, #f5fff9 0%, #eaf8f1 100%);
  color: #0f5f4b;
  border-radius: 14px;
  padding: 11px 13px;
  text-align: left;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
}
.ai-help-caption {
  margin: 7px 2px 0;
  color: #5d7287;
  font-size: 0.87rem;
}
.ai-help-panel {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}
.ai-help-messages {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 110px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}
.ai-msg {
  display: flex;
}
.ai-msg-bot {
  justify-content: flex-start;
}
.ai-msg-user {
  justify-content: flex-end;
}
.ai-msg-bubble {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.3;
  white-space: pre-line;
  font-size: 0.93rem;
  border: 1px solid #c5d8cf;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.ai-msg-bot .ai-msg-bubble {
  background: #fff;
  color: #1a2a24;
}
.ai-msg-user .ai-msg-bubble {
  background: #ddf7ea;
  border-color: #9fceb9;
  color: #103228;
}
.ai-msg[data-pending='1'] .ai-msg-bubble {
  opacity: 0.78;
  font-style: italic;
}
.ai-help-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-quick-btn {
  border: 1px solid #c8ddd4;
  background: #fff;
  color: #254237;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.ai-quick-btn:hover {
  border-color: #98c5b4;
  color: #0f5f4b;
}
.ai-help-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.ai-help-form input {
  min-width: 0;
  border: 1px solid #c5d8ce;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.94rem;
}
.ai-help-form button {
  border: 1px solid #0f6a53;
  background: #0f6a53;
  color: #fff;
  border-radius: 12px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}
.ai-help.is-loading .ai-help-toggle {
  opacity: 0.95;
}
.ai-help-form button:disabled,
.ai-help-form input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

:root[data-theme='dark'] .ai-help {
  background: rgba(18, 24, 31, 0.78);
  border-color: #303b46;
  box-shadow: 0 14px 28px rgba(2, 6, 12, 0.28);
}
:root[data-theme='dark'] .ai-help-head {
  border-bottom-color: rgba(61, 74, 88, 0.7);
}
:root[data-theme='dark'] .ai-help-toggle {
  background: linear-gradient(180deg, rgba(20, 62, 50, 0.96) 0%, rgba(14, 46, 38, 0.96) 100%);
  border-color: #2b7b65;
  color: #dffbf0;
}
:root[data-theme='dark'] .ai-help-caption {
  color: #b3c1cf;
}
:root[data-theme='dark'] .ai-msg-bot .ai-msg-bubble,
:root[data-theme='dark'] .ai-quick-btn,
:root[data-theme='dark'] .ai-help-form input {
  background: #171f28;
  color: #eaf0f6;
  border-color: #374351;
}
:root[data-theme='dark'] .ai-msg-user .ai-msg-bubble {
  background: #12392f;
  border-color: #286a56;
  color: #e6fbf2;
}
:root[data-theme='dark'] .ai-help-form button {
  background: #1d8d6d;
  border-color: #1d8d6d;
}
:root[data-theme='dark'] .ai-quick-btn:hover {
  border-color: #4d9580;
  color: #defbf0;
}

@media (max-width: 768px) {
  .ai-help-form {
    grid-template-columns: 1fr;
  }
  .ai-help-form button {
    min-height: 44px;
  }
  .ai-msg-bubble {
    max-width: 92%;
  }
}

.money-rain-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.money-rain-drop {
  position: absolute;
  top: -12vh;
  font-weight: 800;
  line-height: 1;
  color: #d9a928;
  text-shadow:
    0 3px 14px rgba(217, 169, 40, 0.28),
    0 0 0.5px rgba(72, 48, 7, 0.65);
  transform: translate3d(0, 0, 0) rotate(-8deg);
  animation: moneyRainFall linear forwards;
  user-select: none;
}
.money-rain-drop.is-bar {
  color: #f0c84f;
  font-weight: 900;
  text-shadow:
    0 3px 12px rgba(240, 200, 79, 0.32),
    0 0 0.5px rgba(88, 61, 8, 0.75);
  letter-spacing: -0.08em;
}
.money-rain-drop.is-coin,
.money-rain-drop.is-bag {
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
}
:root[data-theme='dark'] .money-rain-drop {
  color: #ffd767;
  text-shadow:
    0 3px 14px rgba(255, 215, 103, 0.34),
    0 0 0.5px rgba(0, 0, 0, 0.8);
}
@keyframes moneyRainFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(-12deg) scale(.92);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift, 0px), 118vh, 0) rotate(18deg) scale(1.08);
    opacity: 0;
  }
}

/* Delivery orbit section (toggle from WP Customizer) */
.delivery-orbit {
  margin: 16px 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(88% 110% at 4% 0%, rgba(53, 207, 164, 0.12) 0%, rgba(53, 207, 164, 0) 62%),
    radial-gradient(70% 100% at 96% 0%, rgba(135, 148, 255, 0.14) 0%, rgba(135, 148, 255, 0) 60%),
    rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(18, 30, 44, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}
.delivery-orbit-copy { display: grid; gap: 8px; align-content: start; }
.delivery-orbit-eyebrow {
  margin: 0;
  color: #1d6a54;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 800;
  font-size: .76rem;
}
.delivery-orbit-copy h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.7vw, 3rem);
  line-height: 1.04;
}
.delivery-orbit-copy p:not(.delivery-orbit-eyebrow) {
  margin: 0;
  color: #405a6d;
  line-height: 1.35;
  font-weight: 500;
}
.delivery-orbit-visual { display: grid; place-items: center; }
.orbit-stage {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid transparent;
  overflow: hidden;
}
.orbit-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(32, 108, 85, 0.22); }
.orbit-ring-main { width: 82%; height: 82%; }
.orbit-ring-soft { width: 66%; height: 66%; border-style: solid; border-color: rgba(98, 140, 255, 0.12); }
.orbit-track { position: absolute; inset: 0; animation: orbit-spin 18s linear infinite; }
.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 58px;
  margin: -29px 0 0 -66px;
  --orbit-card-base-rotation: 0deg;
}
.orbit-node-1 { transform: rotate(0deg) translateY(-150px); }
.orbit-node-2 { transform: rotate(120deg) translateY(-150px); --orbit-card-base-rotation: -120deg; }
.orbit-node-3 { transform: rotate(240deg) translateY(-150px); --orbit-card-base-rotation: -240deg; }
.orbit-card {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
  padding: 2px 4px;
  animation: orbit-spin-counter 18s linear infinite;
  transform: rotate(var(--orbit-card-base-rotation));
}
.orbit-card img { width: 100%; height: 100%; object-fit: contain; }
.orbit-card img[alt='Just Eat'] { transform: scale(1.08); }
.orbit-card img[alt='Alfonsino'] { transform: scale(1.02); }
.orbit-card .eufarma-logo-dark { display: none; }
.orbit-center {
  position: relative;
  z-index: 3;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0f5f4b 0%, #164f41 100%);
  color: #fff;
  border: 1px solid rgba(16, 95, 75, 0.45);
  box-shadow: 0 16px 24px rgba(15, 95, 75, 0.22);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 10px;
}
.orbit-center-logo { width: 44px; height: auto; filter: brightness(0) invert(1); }
.orbit-center p { margin: 0; font-size: .9rem; font-weight: 800; line-height: 1.15; }
@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit-spin-counter {
  from { transform: rotate(var(--orbit-card-base-rotation)); }
  to { transform: rotate(calc(var(--orbit-card-base-rotation) - 360deg)); }
}
:root[data-theme='dark'] .delivery-orbit {
  border-color: #2f3b48;
  background:
    radial-gradient(88% 110% at 4% 0%, rgba(53, 207, 164, 0.12) 0%, rgba(53, 207, 164, 0) 62%),
    radial-gradient(70% 100% at 96% 0%, rgba(135, 148, 255, 0.12) 0%, rgba(135, 148, 255, 0) 60%),
    rgba(20, 26, 33, .82);
}
:root[data-theme='dark'] .delivery-orbit-eyebrow { color: #9ddcc5; }
:root[data-theme='dark'] .delivery-orbit-copy p:not(.delivery-orbit-eyebrow) { color: #b9c9d6; }
:root[data-theme='dark'] .orbit-stage {
  background: transparent;
  border-color: transparent;
}
:root[data-theme='dark'] .orbit-ring { border-color: rgba(98, 202, 170, 0.22); }
:root[data-theme='dark'] .orbit-ring-soft { border-color: rgba(119, 149, 255, 0.16); }
:root[data-theme='dark'] .orbit-card { background: transparent; border-color: transparent; box-shadow: none; }
:root[data-theme='dark'] .orbit-card .eufarma-logo-light { display: none; }
:root[data-theme='dark'] .orbit-card .eufarma-logo-dark { display: block; }
:root[data-theme='dark'] .orbit-center { background: linear-gradient(180deg, #0f5f4b 0%, #103f34 100%); border-color: rgba(68, 136, 116, 0.6); }
@media (max-width: 960px) {
  .delivery-orbit { grid-template-columns: 1fr; gap: 10px; }
  .orbit-stage { width: min(380px, 100%); }
}
@media (max-width: 768px) {
  .delivery-orbit { padding: 12px; }
  .orbit-node { width: 116px; height: 52px; margin: -26px 0 0 -58px; }
  .orbit-node-1 { transform: rotate(0deg) translateY(-132px); }
  .orbit-node-2 { transform: rotate(120deg) translateY(-132px); }
  .orbit-node-3 { transform: rotate(240deg) translateY(-132px); }
  .orbit-center { width: 134px; height: 134px; }
  .orbit-center p { font-size: .82rem; }
}

/* Priority onboarding (between chat and form) */
.priority-onboarding {
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(90% 120% at 8% 0%, rgba(85, 220, 179, 0.12) 0%, rgba(85, 220, 179, 0) 60%),
    radial-gradient(85% 110% at 100% 0%, rgba(132, 157, 255, 0.12) 0%, rgba(132, 157, 255, 0) 58%),
    rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(18, 30, 44, 0.06);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  padding: 16px;
  align-items: stretch;
}
.priority-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}
.priority-eyebrow {
  margin: 0;
  color: #1d6a54;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 800;
  font-size: .76rem;
}
.priority-copy h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.05;
}
.priority-copy > p:not(.priority-eyebrow):not(.priority-note) {
  margin: 0;
  color: #405a6d;
  font-weight: 500;
  line-height: 1.35;
}
.priority-widget {
  margin-top: 2px;
  border: 1px solid #d5e5df;
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.priority-widget label {
  display: grid;
  gap: 4px;
  font-size: .9rem;
  font-weight: 700;
}
#priorityCitySelect {
  border-radius: 12px;
  border: 1px solid #cadfd6;
  padding: 11px 12px;
  font-weight: 600;
  background: #fff;
}
.priority-result {
  display: grid;
  gap: 10px;
}
.priority-chip {
  display: grid;
  gap: 2px;
  border: 1px solid #d5e7df;
  border-radius: 12px;
  background: #f8fffb;
  padding: 10px 12px;
}
.priority-chip span {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #557666;
  font-weight: 800;
}
.priority-chip strong {
  font-size: 1.05rem;
  color: #123e32;
  line-height: 1.1;
}
.priority-chip-accent {
  background: linear-gradient(135deg, rgba(18, 112, 87, 0.08) 0%, rgba(36, 161, 127, 0.05) 100%);
  border-color: #abd6c5;
}
.priority-note {
  margin: 0;
  color: #456171;
  font-size: .92rem;
  line-height: 1.35;
}
.priority-pay-btn {
  border: 1px solid #0f5f4b;
  background: linear-gradient(135deg, #0f5f4b 0%, #1f7a61 100%);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: .94rem;
  font-weight: 800;
  letter-spacing: .01em;
  opacity: .58;
  cursor: not-allowed;
  box-shadow: 0 8px 18px rgba(15, 95, 75, 0.18);
}
.priority-visual {
  display: grid;
  align-items: end;
}
.priority-visual-card {
  position: relative;
  height: 100%;
  min-height: 320px;
  border: 1px solid #d8e7e1;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(65% 60% at 40% 18%, rgba(214, 181, 72, 0.28) 0%, rgba(214, 181, 72, 0) 70%),
    radial-gradient(55% 45% at 80% 80%, rgba(52, 157, 127, 0.16) 0%, rgba(52, 157, 127, 0) 70%),
    linear-gradient(180deg, #f9fcfa 0%, #f1f7f4 100%);
}
.priority-visual-card::before {
  content: '';
  position: absolute;
  inset: auto 6% 8% 6%;
  height: 18%;
  border-radius: 999px;
  background: rgba(196, 161, 57, 0.9);
  z-index: 1;
}
.priority-rider-figure {
  position: absolute;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  height: min(108%, 520px);
  width: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 16px 18px rgba(6, 19, 16, 0.12));
}
:root[data-theme='dark'] .priority-onboarding {
  border-color: #2f3b48;
  background:
    radial-gradient(90% 120% at 8% 0%, rgba(49, 189, 152, 0.14) 0%, rgba(49, 189, 152, 0) 60%),
    radial-gradient(85% 110% at 100% 0%, rgba(132, 157, 255, 0.12) 0%, rgba(132, 157, 255, 0) 58%),
    rgba(20, 26, 33, 0.82);
}
:root[data-theme='dark'] .priority-eyebrow { color: #9ddcc5; }
:root[data-theme='dark'] .priority-copy > p:not(.priority-eyebrow):not(.priority-note),
:root[data-theme='dark'] .priority-note { color: #b9c9d6; }
:root[data-theme='dark'] .priority-widget,
:root[data-theme='dark'] .priority-visual-card { background: #151d26; border-color: #35414f; }
:root[data-theme='dark'] .priority-chip { background: #18222c; border-color: #33424f; }
:root[data-theme='dark'] .priority-chip span { color: #93bda9; }
:root[data-theme='dark'] .priority-chip strong { color: #ecf4fb; }
:root[data-theme='dark'] .priority-chip-accent { background: linear-gradient(135deg, rgba(18, 112, 87, 0.14) 0%, rgba(36, 161, 127, 0.07) 100%); border-color: #2f7a63; }
:root[data-theme='dark'] #priorityCitySelect { background: #11181f; border-color: #33414f; color: #e9eff5; }
:root[data-theme='dark'] .priority-visual-card::before { background: rgba(196, 161, 57, 0.78); }

@media (max-width: 960px) {
  .priority-onboarding { grid-template-columns: 1fr; gap: 10px; }
  .priority-visual-card { min-height: 240px; }
  .priority-rider-figure { height: min(118%, 420px); }
}
@media (max-width: 768px) {
  .priority-onboarding { padding: 12px; }
  .priority-copy h2 { font-size: clamp(1.15rem, 6vw, 1.5rem); }
}

/* Legal pages */
.legal-page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 18px 64px;
}
.legal-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,95,75,.16);
  border-radius: 22px;
  box-shadow: 0 14px 44px rgba(11,28,35,.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.legal-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(15,95,75,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(245,250,255,.65));
}
.legal-eyebrow {
  margin: 0 0 8px;
  color: var(--rushers);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}
.legal-header h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}
.legal-updated {
  margin: 10px 0 0;
  color: #5e748f;
  font-size: 14px;
}
.legal-content {
  padding: 24px;
  font-size: 15px;
  line-height: 1.58;
  color: color-mix(in srgb, var(--ink) 92%, #2a3a4a);
}
.legal-content p {
  margin: 0 0 14px;
}
.legal-content--pre p {
  white-space: pre-wrap;
}
.legal-content a {
  color: var(--rushers);
  font-weight: 600;
}
:root[data-theme='dark'] .legal-card {
  background: rgba(18,23,30,.84);
  border-color: rgba(126,209,186,.18);
  box-shadow: 0 18px 52px rgba(0,0,0,.34);
}
:root[data-theme='dark'] .legal-header {
  background: linear-gradient(180deg, rgba(22,28,36,.9), rgba(17,22,29,.78));
  border-bottom-color: rgba(126,209,186,.14);
}
:root[data-theme='dark'] .legal-updated {
  color: #a8b8ca;
}
@media (max-width: 768px) {
  .legal-page-shell { padding: 20px 12px 44px; }
  .legal-header { padding: 18px 16px 14px; }
  .legal-content { padding: 16px; font-size: 14px; line-height: 1.52; }
}

/* Legal pages - PayPal-like layout */
.legal-page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}
.legal-card {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(15,95,75,.14);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(15,22,31,.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.legal-header {
  padding: 26px 28px 22px;
  border-bottom: 1px solid rgba(15,95,75,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(246,250,255,.72));
}
.legal-eyebrow {
  margin: 0 0 10px;
  color: var(--rushers);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-header h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.legal-updated {
  margin: 12px 0 0;
  color: #627891;
  font-size: 14px;
}
.legal-content {
  padding: 0;
  font-size: 16px;
  line-height: 1.65;
}
.legal-doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
}
.legal-doc-toc-wrap {
  border-right: 1px solid rgba(15,95,75,.08);
  background: linear-gradient(180deg, rgba(247,250,255,.86), rgba(251,253,255,.7));
}
.legal-doc-toc {
  position: sticky;
  top: 20px;
  padding: 22px 16px 22px 20px;
}
.legal-doc-toc-title {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #58728f;
  font-weight: 700;
}
.legal-doc-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.legal-doc-toc li a {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  color: #15324f;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
}
.legal-doc-toc li a:hover {
  background: rgba(15,95,75,.07);
  color: var(--rushers);
}
.legal-doc-content {
  padding: 24px 28px 30px;
}
.legal-doc-section {
  margin: 0 0 22px;
  scroll-margin-top: 24px;
}
.legal-doc-heading {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #10283f;
}
.legal-doc-num {
  color: var(--rushers);
  font-weight: 800;
}
.legal-doc-subheading {
  margin: 12px 0 8px;
  font-size: 16px;
  line-height: 1.3;
  color: #233d59;
}
.legal-doc-paragraph {
  margin: 0 0 12px;
  color: #24384c;
}
.legal-doc-paragraph.is-intro {
  font-size: 17px;
  line-height: 1.62;
  color: #132b43;
}
.legal-doc-list {
  margin: 0 0 12px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.legal-doc-list li {
  position: relative;
  padding-left: 16px;
  color: #24384c;
}
.legal-doc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rushers);
  font-weight: 700;
}
.legal-content a,
.legal-doc-content a {
  color: var(--rushers);
  text-decoration-color: rgba(15,95,75,.35);
  text-underline-offset: 2px;
  word-break: break-word;
}
:root[data-theme='dark'] .legal-card {
  background: rgba(17,22,29,.88);
  border-color: rgba(126,209,186,.14);
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
}
:root[data-theme='dark'] .legal-header {
  background: linear-gradient(180deg, rgba(21,27,35,.95), rgba(16,21,28,.88));
  border-bottom-color: rgba(126,209,186,.1);
}
:root[data-theme='dark'] .legal-updated { color: #9eb1c6; }
:root[data-theme='dark'] .legal-doc-toc-wrap {
  border-right-color: rgba(126,209,186,.08);
  background: linear-gradient(180deg, rgba(20,26,34,.78), rgba(17,21,28,.7));
}
:root[data-theme='dark'] .legal-doc-toc-title { color: #88a3be; }
:root[data-theme='dark'] .legal-doc-toc li a { color: #c7d4e4; }
:root[data-theme='dark'] .legal-doc-toc li a:hover {
  background: rgba(126,209,186,.08);
  color: #9ce4cb;
}
:root[data-theme='dark'] .legal-doc-heading { color: #edf4fb; }
:root[data-theme='dark'] .legal-doc-subheading { color: #cfdaea; }
:root[data-theme='dark'] .legal-doc-paragraph,
:root[data-theme='dark'] .legal-doc-list li { color: #b8c7d9; }
:root[data-theme='dark'] .legal-doc-paragraph.is-intro { color: #e6eef8; }

@media (max-width: 980px) {
  .legal-doc-layout {
    grid-template-columns: 1fr;
  }
  .legal-doc-toc-wrap {
    border-right: 0;
    border-bottom: 1px solid rgba(15,95,75,.08);
  }
  .legal-doc-toc {
    position: static;
    padding: 16px 16px 14px;
  }
  .legal-doc-toc ol {
    grid-template-columns: 1fr;
    max-height: 240px;
    overflow: auto;
  }
}

@media (max-width: 768px) {
  .legal-page-shell { padding: 20px 12px 44px; }
  .legal-header { padding: 18px 16px 14px; }
  .legal-doc-content { padding: 16px; }
  .legal-doc-heading { font-size: 20px; }
  .legal-doc-paragraph,
  .legal-doc-list li { font-size: 14px; line-height: 1.55; }
  .legal-doc-paragraph.is-intro { font-size: 15px; }
}

/* Mobile hardening overrides */
@media (max-width: 768px) {
  .rushers-page {
    width: min(100%, 100vw);
    margin: 0;
    padding: 14px 12px 36px;
    overflow-x: clip;
  }

  .top-controls {
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .lang-toggle {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .lang-btn,
  .theme-toggle {
    min-height: 40px;
    font-size: 13px;
  }

  .theme-toggle {
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(1.72rem, 9vw, 2.35rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
  }

  .hero-copy p {
    font-size: .98rem;
    line-height: 1.3;
    max-width: 100%;
  }

  .hero-copy .market-counter {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
    flex-wrap: wrap;
  }

  .market-counter strong {
    max-width: 100%;
    padding: 4px 8px;
    font-size: 12px;
  }

  #marketCounterValue {
    font-size: 12px;
    font-weight: 700;
  }

  .hero-visual {
    min-height: 180px;
    justify-content: center;
    overflow: hidden;
  }

  .hero-rider {
    width: min(100%, 340px);
    max-width: 100%;
    transform: translate3d(0, 0, 0);
    transition: none;
  }

  .partner-strip {
    margin: 8px 0 12px;
  }

  .partner-strip p {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .partner-logos {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .partner-card {
    min-height: 72px;
    padding: 8px 10px;
  }

  .partner-card img { max-height: 36px; }
  .partner-card img[alt='Just Eat'] { max-height: 48px; }
  .partner-logos .partner-card img[alt='Just Eat'] { max-width: 122%; max-height: 50px; }
  .partner-logos .partner-card img[alt='Eufarma'] { max-width: 76%; max-height: 32px; }

  .quick-download {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 10px;
  }

  .quick-download p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.25;
  }

  .store-badges {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .store-badges a {
    min-width: 0;
  }

  .store-badges img {
    width: 100%;
    height: auto;
    max-height: 42px;
    object-fit: contain;
  }

  .flow-shell {
    min-height: 0;
    margin-top: 4px;
    gap: 8px;
  }

  .typewriter {
    position: relative;
    top: auto;
    min-height: 0;
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding-top: 0;
    align-content: start;
  }

  .chat-avatar {
    width: 38px;
    height: 38px;
  }

  .chat-avatar img {
    width: 22px;
  }

  .chat-message {
    width: 100%;
    min-height: 0;
    border-radius: 14px;
    padding: 10px;
    background-size: 18px 18px, auto;
  }

  .chat-thread {
    min-height: 240px;
    max-height: 52vh;
    gap: 8px;
  }

  .msg {
    max-width: 94%;
    padding: 8px 9px;
    border-radius: 11px;
  }

  .msg p {
    font-size: .92rem;
    line-height: 1.26;
    font-weight: 600;
  }

  .flow-shell .choices {
    position: static;
    top: auto;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .choice {
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.15;
  }

  .form-wrap {
    margin-top: 16px;
    padding: 12px;
    border-radius: 12px;
  }

  .form-wrap h2 {
    font-size: clamp(1.35rem, 8vw, 1.8rem);
    line-height: 1.06;
    margin-bottom: 12px;
  }

  .candidate-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .candidate-grid .span-4,
  .candidate-grid .span-3 {
    grid-column: auto;
  }

  .candidate-grid .form-actions {
    justify-content: stretch;
  }

  .candidate-grid .form-actions button,
  #submitBtn,
  #submitBtnSecondary {
    width: 100%;
  }

  .delivery-orbit {
    padding: 14px 12px;
    border-radius: 16px;
    gap: 8px;
  }

  .delivery-orbit-copy h2 {
    font-size: clamp(1.55rem, 7.6vw, 2.05rem);
    line-height: 1.05;
  }

  .delivery-orbit-copy p:not(.delivery-orbit-eyebrow) {
    font-size: .92rem;
    line-height: 1.28;
  }

  .priority-onboarding {
    padding: 12px;
    border-radius: 16px;
    margin-top: 14px;
  }

  .priority-copy p,
  .priority-note {
    font-size: .9rem;
    line-height: 1.28;
  }

  .priority-widget {
    padding: 10px;
    border-radius: 12px;
  }

  .priority-chip {
    padding: 9px 10px;
    gap: 2px;
  }

  .site-footer {
    margin-top: 18px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .footer-legal-logo {
    width: 96px;
  }

  .footer-links-vertical {
    gap: 8px;
  }

  .footer-links-vertical a {
    font-size: 13px;
    line-height: 1.2;
    word-break: break-word;
  }

  .guarantee-badge {
    width: 100%;
    max-width: 320px;
    justify-self: stretch;
    margin-left: 0;
  }

  .guarantee-logos img {
    width: 100%;
    max-width: none;
    height: 46px;
    object-fit: contain;
  }

  .guarantee-logos img[alt='Just Eat'],
  .guarantee-logos img[alt='Alfonsino'] {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 420px) {
  .rushers-page {
    padding-inline: 10px;
  }

  .lang-btn,
  .theme-toggle {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-copy .market-counter {
    font-size: 11px;
    gap: 4px;
  }

  .market-counter strong,
  #marketCounterValue {
    font-size: 11px;
  }

  .chat-thread {
    max-height: 48vh;
    min-height: 220px;
  }

  .msg p {
    font-size: .88rem;
  }

  .store-badges {
    grid-template-columns: 1fr;
  }

  .guarantee-badge {
    max-width: 100%;
  }
}

/* Mobile hotfixes (screenshot-driven) */
@media (max-width: 768px) {
  .hero-visual {
    min-height: 120px !important;
    max-height: 220px;
    margin-top: 2px;
    overflow: hidden;
    align-items: center;
  }

  .hero-rider {
    width: min(76vw, 300px) !important;
    max-width: 300px !important;
    transform: none !important;
    margin: 0 auto;
    display: block;
  }

  .hero-copy .market-counter {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 8px;
    width: 100%;
    white-space: normal !important;
    max-width: 100%;
    overflow: hidden;
  }

  .market-counter strong {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #marketCounterValue {
    justify-self: end;
    white-space: nowrap;
    font-weight: 700;
  }

  .partner-strip {
    margin-top: 10px !important;
    clear: both;
  }

  .partner-strip p {
    font-size: 11px !important;
    line-height: 1.2;
    letter-spacing: .05em;
    margin-bottom: 6px;
  }

  .partner-card {
    min-height: 64px !important;
  }

  .partner-card img[alt='Just Eat'] {
    max-height: 42px !important;
  }
  .partner-logos .partner-card img[alt='Just Eat'] {
    max-width: 118% !important;
    max-height: 44px !important;
  }
  .partner-logos .partner-card img[alt='Eufarma'] {
    max-width: 74% !important;
    max-height: 30px !important;
  }

  .flow-shell {
    min-height: 0 !important;
  }

  .typewriter {
    min-height: 0 !important;
  }

  .chat-message,
  .flow-shell .choices {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 430px) {
  .hero-copy .market-counter {
    grid-template-columns: 1fr;
  }

  #marketCounterValue {
    justify-self: start;
  }

  .market-counter strong {
    white-space: normal;
    border-radius: 12px;
  }
}

/* Mobile emergency cleanup - hero */
@media (max-width: 768px) {
  body {
    background-image:
      radial-gradient(90% 70% at 14% 4%, rgba(120, 215, 255, 0.12) 0%, rgba(120, 215, 255, 0) 70%),
      linear-gradient(180deg, #f3f8ff 0%, #eef4ff 100%) !important;
    background-attachment: scroll;
  }

  body::before {
    display: none !important;
  }

  body::after {
    opacity: calc(var(--scroll-overlay-opacity) * 0.72);
  }

  .hero {
    gap: 8px !important;
  }

  .hero-visual {
    display: none !important;
  }

  .hero-copy {
    padding-right: 0 !important;
  }

  .rushers-brand {
    width: 188px !important;
    margin-left: -6px !important;
    margin-bottom: 8px !important;
  }

  .hero-copy h1 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .hero-copy p#heroDesc {
    margin-top: 10px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    max-width: 24ch !important;
    text-wrap: balance;
  }

  .hero-copy .market-counter {
    margin-top: 8px !important;
    padding-right: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .market-counter strong {
    white-space: normal !important;
    line-height: 1.18;
    border-radius: 12px;
  }

  #marketCounterValue {
    justify-self: start !important;
    display: inline-block;
  }

  .partner-strip {
    margin-top: 12px !important;
  }
}

@media (max-width: 420px) {
  .rushers-brand {
    width: 170px !important;
    margin-left: -4px !important;
  }

  .hero-copy h1 {
    font-size: clamp(1.55rem, 8.6vw, 2.1rem) !important;
  }

  .hero-copy p#heroDesc {
    font-size: 14px !important;
  }

  .partner-card {
    min-height: 60px !important;
    padding: 6px 8px !important;
  }
}

/* Mobile polish overrides (final) */
@media (max-width: 768px) {
  .top-controls {
    display: grid !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
  }

  .lang-toggle {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: inline-flex !important;
    border-radius: 999px;
    overflow: hidden;
  }

  .lang-btn {
    min-width: 74px;
    min-height: 42px;
    padding: 9px 14px !important;
    font-size: 13px !important;
  }

  .theme-toggle {
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 42px;
    padding: 9px 14px !important;
    justify-self: end;
    font-size: 13px !important;
    border-radius: 999px;
    white-space: nowrap;
  }

  .hero-visual {
    display: flex !important;
    min-height: 110px !important;
    max-height: 150px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-top: 2px;
    margin-bottom: 2px;
    overflow: visible !important;
  }

  .hero-rider {
    width: min(44vw, 170px) !important;
    max-width: 170px !important;
    opacity: .96;
    transform: none !important;
    margin: 0 !important;
  }

  .hero-copy p#heroDesc {
    max-width: 22ch !important;
  }

  .store-badges {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    align-items: center;
  }

  .store-badges img {
    width: 100%;
    max-height: 36px !important;
    height: auto !important;
    object-fit: contain;
  }

  .quick-download {
    align-items: flex-start !important;
  }

  :root[data-theme='dark'] body {
    background-color: #0b1220 !important;
    background-image:
      radial-gradient(70% 55% at 10% 4%, rgba(46, 111, 255, 0.17) 0%, rgba(46, 111, 255, 0) 72%),
      radial-gradient(64% 52% at 88% 6%, rgba(157, 89, 255, 0.16) 0%, rgba(157, 89, 255, 0) 74%),
      linear-gradient(160deg, #111a2c 0%, #0d1626 42%, #0a121f 100%) !important;
  }
}

@media (max-width: 420px) {
  .top-controls {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lang-toggle,
  .theme-toggle {
    width: 100% !important;
  }

  .lang-btn {
    min-width: 0;
    flex: 1 1 50%;
  }

  .theme-toggle {
    justify-self: stretch;
    text-align: center;
  }

  .hero-visual {
    max-height: 130px !important;
    min-height: 96px !important;
  }

  .hero-rider {
    width: min(48vw, 158px) !important;
    max-width: 158px !important;
  }

  .store-badges {
    grid-template-columns: 1fr 1fr !important;
  }

  .store-badges img {
    max-height: 34px !important;
  }
}

/* Chat auto-flow UX */
.chat-thread {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.9) 14px, rgba(0,0,0,1) 34px, rgba(0,0,0,1) calc(100% - 26px), rgba(0,0,0,.92) calc(100% - 10px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.9) 14px, rgba(0,0,0,1) 34px, rgba(0,0,0,1) calc(100% - 26px), rgba(0,0,0,.92) calc(100% - 10px), transparent 100%);
}

@media (max-width: 768px) {
  .chat-thread {
    mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.92) 10px, rgba(0,0,0,1) 22px, rgba(0,0,0,1) calc(100% - 20px), rgba(0,0,0,.92) calc(100% - 8px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.92) 10px, rgba(0,0,0,1) 22px, rgba(0,0,0,1) calc(100% - 20px), rgba(0,0,0,.92) calc(100% - 8px), transparent 100%);
  }
}

/* Hero refinement */
.hero {
  align-items: end;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 0;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  line-height: .94;
  letter-spacing: -0.035em;
  max-width: 12ch;
  text-wrap: balance;
}

.hero-copy h1 br {
  content: '';
}

#heroDesc {
  margin-top: 16px !important;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem) !important;
  line-height: 1.22 !important;
  max-width: 34ch;
  color: color-mix(in srgb, var(--ink) 92%, #34475a);
}

.hero-copy .market-counter {
  margin-top: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100%;
  white-space: nowrap !important;
}

.hero-copy .market-counter strong {
  white-space: nowrap !important;
  flex: 0 1 auto;
}

#marketCounterValue {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 700;
}

.hero-visual {
  min-height: 420px;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  right: 8%;
  bottom: 6%;
  width: 68%;
  height: 52%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(207, 168, 62, .16) 0%, rgba(207, 168, 62, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.hero-rider {
  width: min(460px, 92%);
  max-width: 460px;
  position: relative;
  z-index: 1;
  transform-origin: bottom right;
}

@media (max-width: 1200px) {
  .hero-copy h1 {
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    max-width: 13ch;
  }

  #heroDesc {
    max-width: 30ch;
  }

  .hero-visual {
    min-height: 280px;
    justify-content: center;
  }

  .hero-rider {
    width: min(280px, 58vw);
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero {
    align-items: start;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 9.6vw, 2.95rem) !important;
    line-height: .95 !important;
    max-width: 11ch !important;
    letter-spacing: -0.03em;
  }

  #heroDesc {
    font-size: 16px !important;
    line-height: 1.22 !important;
    max-width: 24ch !important;
  }

  .hero-copy .market-counter {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: baseline !important;
    overflow: hidden;
  }

  .hero-copy .market-counter strong {
    min-width: 0;
    max-width: calc(100% - 96px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
  }

  #marketCounterValue {
    margin-left: auto;
    font-size: 12px !important;
    line-height: 1;
  }

  .hero-visual {
    display: flex !important;
    min-height: 96px !important;
    max-height: 116px !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-rider {
    width: min(34vw, 132px) !important;
    max-width: 132px !important;
    opacity: .95;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: clamp(1.9rem, 10vw, 2.45rem) !important;
    max-width: 10.8ch !important;
  }

  #heroDesc {
    font-size: 15px !important;
    max-width: 22ch !important;
  }

  .hero-copy .market-counter {
    gap: 5px !important;
  }

  .hero-copy .market-counter strong {
    max-width: calc(100% - 88px);
    font-size: 11px !important;
  }

  #marketCounterValue {
    font-size: 11px !important;
  }

  .hero-rider {
    width: min(36vw, 124px) !important;
    max-width: 124px !important;
  }
}

/* Hero inline rider + mobile compact header controls */
.hero-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.hero-rider-inline {
  display: none;
  width: 118px;
  height: auto;
  object-fit: contain;
  align-self: start;
  margin-top: 8px;
  filter: drop-shadow(0 8px 14px rgba(13, 24, 21, 0.08));
}

@media (max-width: 768px) {
  .hero-title-row {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .hero-rider-inline {
    display: block;
    width: 74px;
    margin-top: 2px;
    opacity: 0.96;
  }

  .hero-visual {
    display: none !important;
  }

  .top-controls {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .lang-toggle {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  .lang-btn {
    min-width: 58px !important;
    min-height: 38px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
  }

  .theme-toggle {
    flex: 0 1 auto !important;
    width: auto !important;
    min-height: 38px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    text-align: center;
  }

  .quick-download {
    align-items: center !important;
  }

  .store-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    width: 100%;
    gap: 8px !important;
  }

  .store-badges a {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  .store-badges img {
    width: 100%;
    max-width: 160px;
    max-height: 32px !important;
    height: auto !important;
    object-fit: contain;
  }

  .hero-copy .market-counter {
    gap: 4px !important;
  }

  .hero-copy .market-counter strong {
    max-width: calc(100% - 84px) !important;
  }
}

@media (max-width: 430px) {
  .hero-rider-inline {
    width: 64px;
  }

  .lang-btn {
    min-width: 54px !important;
    padding: 7px 9px !important;
  }

  .theme-toggle {
    padding: 7px 10px !important;
    font-size: 11px !important;
  }

  .store-badges img {
    max-height: 30px !important;
  }

  .hero-copy .market-counter strong {
    max-width: calc(100% - 80px) !important;
  }
}

/* Restore desktop hero, keep mobile inline rider */
#heroTitle br {
  display: none;
}

.hero-title-row {
  display: block;
}

.hero-rider-inline {
  display: none !important;
}

@media (min-width: 769px) {
  .hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px;
    align-items: initial;
  }

  .hero-copy {
    display: block;
    position: static;
  }

  .hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    line-height: 1.03 !important;
    letter-spacing: normal !important;
    max-width: none !important;
  }

  #heroDesc {
    margin-top: 12px !important;
    font-size: 1.2rem !important;
    line-height: 1.22 !important;
    max-width: 660px !important;
  }

  .hero-copy .market-counter {
    margin-top: 8px !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: 100%;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  .hero-copy .market-counter strong {
    max-width: none !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    overflow: visible !important;
  }

  #marketCounterValue {
    margin-left: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .hero-visual {
    display: flex !important;
    min-height: 380px !important;
    align-items: end !important;
    justify-content: end !important;
    position: static !important;
    margin: 0 !important;
    max-height: none !important;
  }

  .hero-visual::before {
    display: none !important;
  }

  .hero-rider {
    width: min(580px, 120%) !important;
    max-width: none !important;
    position: static !important;
    opacity: 1 !important;
    transform: translate3d(0, var(--rusherboy-shift), 0) !important;
  }
}

@media (max-width: 768px) {
  #heroTitle br {
    display: block;
  }

  .hero-title-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
  }

  .hero-rider-inline {
    display: block !important;
    width: 58px !important;
    max-width: 58px !important;
    margin-top: 6px !important;
  }

  .hero-visual {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .hero-rider-inline {
    width: 50px !important;
    max-width: 50px !important;
  }
}

/* Canonical hero/top controls responsive reset (wins over previous patches) */
.hero-rider-inline { display: none !important; }
#heroTitle br { display: none; }

@media (min-width: 769px) {
  .top-controls {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .lang-toggle,
  .theme-toggle {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }

  .hero {
    display: grid !important;
    grid-template-columns: 1.1fr .9fr !important;
    gap: 20px !important;
    align-items: end !important;
  }

  .hero-title-row {
    display: block !important;
  }

  .hero-rider-inline {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 5vw, 4rem) !important;
    line-height: 1.03 !important;
    max-width: none !important;
    letter-spacing: normal !important;
  }

  #heroDesc {
    font-size: 1.2rem !important;
    line-height: 1.22 !important;
    max-width: 660px !important;
  }

  .hero-copy .market-counter {
    display: inline-flex !important;
    width: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
  }

  .hero-copy .market-counter strong {
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  #marketCounterValue {
    margin-left: 0 !important;
    justify-self: auto !important;
    font-size: inherit !important;
  }

  .hero-visual {
    display: flex !important;
    min-height: 380px !important;
    max-height: none !important;
    align-items: end !important;
    justify-content: end !important;
    overflow: visible !important;
  }

  .hero-rider {
    display: block !important;
    width: min(580px, 120%) !important;
    max-width: none !important;
    transform: translate3d(0, var(--rusherboy-shift), 0) !important;
    opacity: 1 !important;
  }

  .store-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: auto !important;
  }

  .store-badges img {
    height: 46px !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 768px) {
  #heroTitle br { display: block; }

  .top-controls {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .lang-toggle {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
  }

  .lang-btn {
    min-width: 56px !important;
    min-height: 38px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
  }

  .theme-toggle {
    width: auto !important;
    flex: 0 1 auto !important;
    min-height: 38px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    align-items: start !important;
  }

  .hero-title-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: start !important;
  }

  .hero-rider-inline {
    display: block !important;
    width: 50px !important;
    max-width: 50px !important;
    height: auto !important;
    margin-top: 6px !important;
    opacity: .96 !important;
    flex-shrink: 0;
  }

  .hero-visual {
    display: none !important;
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 10vw, 2.65rem) !important;
    line-height: .95 !important;
    max-width: 10.8ch !important;
    letter-spacing: -0.03em !important;
  }

  #heroDesc {
    margin-top: 10px !important;
    font-size: 15px !important;
    line-height: 1.22 !important;
    max-width: 24ch !important;
    text-wrap: balance;
  }

  .hero-copy .market-counter {
    display: flex !important;
    width: 100% !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden;
  }

  .hero-copy .market-counter strong {
    min-width: 0 !important;
    max-width: calc(100% - 86px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #marketCounterValue {
    margin-left: auto !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .store-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .store-badges a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .store-badges img {
    width: 100% !important;
    max-width: 150px !important;
    max-height: 32px !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 430px) {
  .hero-rider-inline {
    width: 44px !important;
    max-width: 44px !important;
  }

  .hero-copy h1 {
    font-size: clamp(1.82rem, 10.2vw, 2.35rem) !important;
  }

  #heroDesc {
    font-size: 14px !important;
    max-width: 22ch !important;
  }

  .hero-copy .market-counter strong {
    max-width: calc(100% - 78px) !important;
    font-size: 11px !important;
  }

  #marketCounterValue {
    font-size: 11px !important;
  }

  .store-badges img {
    max-height: 30px !important;
  }
}

/* Final mobile/desktop stabilization (hero + footer) */
@media (min-width: 769px) {
  .hero-rider-inline {
    display: none !important;
  }

  .hero-visual {
    display: flex !important;
  }

  .hero-rider {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .top-controls {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .lang-toggle {
    justify-self: start !important;
    width: auto !important;
    max-width: none !important;
  }

  .lang-btn {
    min-width: 48px !important;
    min-height: 34px !important;
    padding: 6px 9px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .theme-toggle {
    justify-self: end !important;
    width: auto !important;
    min-height: 34px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .rushers-brand {
    display: block !important;
    width: 124px !important;
    margin: 0 auto 12px !important;
  }

  .hero-title-row {
    display: block !important;
  }

  .hero-rider-inline {
    display: none !important;
  }

  .hero-visual {
    display: none !important;
  }

  .hero-copy h1 {
    max-width: 100% !important;
    letter-spacing: -0.025em !important;
    line-height: 0.98 !important;
  }

  #heroDesc {
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.28 !important;
    text-wrap: pretty;
  }

  .hero-copy .market-counter {
    display: inline-flex !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .hero-copy .market-counter strong {
    max-width: calc(100% - 104px) !important;
    font-size: 12px !important;
    padding: 5px 10px !important;
  }

  #marketCounterValue {
    margin-left: 2px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .store-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .store-badges a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .store-badges img {
    max-width: 100% !important;
    max-height: 36px !important;
    width: auto !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 430px) {
  .top-controls {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .lang-toggle,
  .theme-toggle {
    justify-self: stretch !important;
    width: 100% !important;
  }

  .theme-toggle {
    text-align: center !important;
    justify-content: center !important;
  }

  .lang-btn {
    min-width: 44px !important;
    min-height: 32px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
  }

  .theme-toggle {
    min-height: 32px !important;
    padding: 5px 9px !important;
    font-size: 11px !important;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 11vw, 2.7rem) !important;
    line-height: 0.98 !important;
  }

  #heroDesc {
    font-size: 15px !important;
    line-height: 1.28 !important;
  }

  .hero-copy .market-counter {
    gap: 6px !important;
  }

  .hero-copy .market-counter strong {
    max-width: calc(100% - 96px) !important;
    font-size: 11.5px !important;
    padding: 4px 9px !important;
  }

  #marketCounterValue {
    font-size: 11.5px !important;
    margin-left: 1px !important;
  }
}

.site-footer {
  margin-top: 40px;
  padding: 18px 16px 14px;
  border: 1px solid rgba(147, 180, 167, 0.45);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(247, 251, 254, 0.95), rgba(239, 246, 251, 0.96));
}

/* Earnings simulator section (after chat) */
.earnings-simulator {
  margin: 20px 0 18px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 16px;
  align-items: stretch;
}

.earnings-visual {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: visible;
  min-height: 520px;
}

.earnings-rider-image {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(14, 31, 25, 0.12));
}

.earnings-copy {
  border: 1px solid rgba(166, 196, 186, 0.65);
  border-radius: 20px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(79, 184, 149, 0.13) 0%, rgba(79, 184, 149, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 253, 255, 0.92));
}

.earnings-eyebrow {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #2a6a58;
}

.earnings-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: .98;
  letter-spacing: -0.03em;
  color: #0f1f1b;
}

.earnings-copy > p:not(.earnings-eyebrow) {
  margin: 10px 0 0;
  font-size: 1.02rem;
  line-height: 1.3;
  color: #24383d;
  max-width: 43ch;
}

.earnings-points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.earnings-points li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  font-weight: 650;
  color: #163127;
  line-height: 1.22;
}

.earnings-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .28em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #99f1d0 0 25%, #2fa77f 30% 100%);
  box-shadow: 0 0 0 2px rgba(47, 167, 127, 0.14);
}

.earnings-widget {
  border: 1px solid rgba(166, 196, 186, 0.65);
  border-radius: 20px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 255, 0.94));
  box-shadow: 0 14px 28px rgba(26, 54, 48, 0.08);
}

.earnings-widget-title {
  margin-bottom: 10px;
}

.earnings-widget-title h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: .98;
  letter-spacing: -0.03em;
  color: #0f1f1b;
}

.earnings-widget-head {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.earnings-widget-head label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #37504a;
}

.earnings-widget-head p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.3;
  color: #51666c;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(198, 215, 224, 0.75);
  border-radius: 12px;
  padding: 9px 10px;
}

.earnings-widget-head select {
  width: 100%;
  border-radius: 12px;
}

.earnings-range-card {
  border-radius: 16px;
  border: 1px solid rgba(177, 201, 221, 0.65);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(170, 141, 255, 0.13) 0%, rgba(170, 141, 255, 0) 58%),
    radial-gradient(120% 100% at 0% 100%, rgba(88, 201, 255, 0.12) 0%, rgba(88, 201, 255, 0) 58%),
    #ffffff;
  padding: 12px 12px 11px;
}

.earnings-range-card p {
  margin: 0;
}

#earningsRangeLabel {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #445e73;
}

.earnings-range-values {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.earnings-range-values strong {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0f1f1b;
}

.earnings-range-values span {
  color: #5e768d;
  font-weight: 700;
}

#earningsRangeNote {
  margin-top: 6px;
  color: #53687d;
  font-size: .8rem;
  line-height: 1.2;
}

.earnings-controls {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.earnings-control {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(207, 222, 233, 0.8);
  background: rgba(255, 255, 255, 0.9);
}

.earnings-control-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.earnings-control-top span {
  font-size: .86rem;
  font-weight: 700;
  color: #2b4248;
}

.earnings-control-top strong {
  font-size: .9rem;
  color: #154f3d;
}

.earnings-control input[type="range"] {
  width: 100%;
  accent-color: #19755b;
}

:root[data-theme='dark'] .earnings-copy {
  border-color: rgba(66, 97, 88, 0.58);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(47, 167, 127, 0.14) 0%, rgba(47, 167, 127, 0) 62%),
    linear-gradient(180deg, rgba(14, 20, 28, 0.94), rgba(17, 25, 35, 0.95));
}

:root[data-theme='dark'] .earnings-visual {
  background: transparent;
}

:root[data-theme='dark'] .earnings-eyebrow {
  color: #83d5b6;
}

:root[data-theme='dark'] .earnings-copy h2,
:root[data-theme='dark'] .earnings-points li {
  color: #edf4fa;
}

:root[data-theme='dark'] .earnings-widget-title h2 {
  color: #edf4fa;
}

:root[data-theme='dark'] .earnings-copy > p:not(.earnings-eyebrow) {
  color: #b7c7d4;
}

:root[data-theme='dark'] .earnings-widget {
  border-color: rgba(66, 97, 88, 0.58);
  background: linear-gradient(180deg, rgba(13, 19, 27, 0.96), rgba(17, 24, 34, 0.96));
  box-shadow: 0 16px 32px rgba(2, 7, 12, 0.28);
}

:root[data-theme='dark'] .earnings-widget-head label {
  color: #a6bac7;
}

:root[data-theme='dark'] .earnings-widget-head p {
  color: #b5c8d6;
  background: rgba(20, 28, 39, 0.75);
  border-color: rgba(62, 78, 96, 0.78);
}

:root[data-theme='dark'] .earnings-range-card {
  border-color: rgba(62, 78, 96, 0.78);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(170, 141, 255, 0.12) 0%, rgba(170, 141, 255, 0) 58%),
    radial-gradient(120% 100% at 0% 100%, rgba(88, 201, 255, 0.1) 0%, rgba(88, 201, 255, 0) 58%),
    #101723;
}

:root[data-theme='dark'] #earningsRangeLabel {
  color: #9db7d2;
}

:root[data-theme='dark'] .earnings-range-values strong {
  color: #eef5fb;
}

:root[data-theme='dark'] .earnings-range-values span,
:root[data-theme='dark'] #earningsRangeNote {
  color: #98adbf;
}

:root[data-theme='dark'] .earnings-control {
  border-color: rgba(58, 74, 89, 0.85);
  background: rgba(19, 28, 39, 0.92);
}

:root[data-theme='dark'] .earnings-control-top span {
  color: #dce9f3;
}

:root[data-theme='dark'] .earnings-control-top strong {
  color: #8fe0bc;
}

@media (max-width: 960px) {
  .form-wrap-secondary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-secondary-visual {
    min-height: 180px;
    order: 2;
  }

  .form-secondary-rider {
    width: min(100%, 250px);
  }

  .earnings-simulator {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 16px;
  }

  .earnings-visual {
    min-height: 280px;
    padding: 10px;
  }

  .earnings-rider-image {
    width: min(100%, 320px);
  }
}

@media (max-width: 768px) {
  .earnings-visual,
  .earnings-widget {
    border-radius: 16px;
  }

  .earnings-visual {
    min-height: 220px;
    padding: 8px;
  }

  .earnings-rider-image {
    width: min(100%, 280px);
  }

  .earnings-widget {
    padding: 12px;
  }

  .earnings-widget-title h2 {
    font-size: clamp(1.2rem, 6.6vw, 1.7rem);
  }

  .earnings-range-values {
    gap: 6px;
  }

  .earnings-range-values strong {
    font-size: 1.08rem;
  }

  #earningsRangeNote {
    font-size: .75rem;
  }

  .earnings-control {
    padding: 9px;
  }

  .earnings-control-top span {
    font-size: .8rem;
  }

  .earnings-control-top strong {
    font-size: .82rem;
  }
}

/* 3-step flow section (after contact form) */
.rushers-steps-flow {
  margin: 22px 0 10px;
}

.steps-flow-head {
  margin-bottom: 12px;
}

.steps-flow-eyebrow {
  margin: 0 0 6px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2b6e5d;
}

.steps-flow-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: .96;
  letter-spacing: -0.03em;
  color: #0f1f1b;
}

.steps-flow-head > p:last-child {
  margin: 8px 0 0;
  max-width: 58ch;
  color: #365058;
  font-size: 1rem;
  line-height: 1.28;
}

.steps-flow-shell {
  border: 1px solid rgba(166, 196, 186, 0.68);
  border-radius: 22px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 252, 255, 0.92));
}

.steps-flow-label {
  margin: 0 0 10px;
  font-weight: 800;
  color: #1f352d;
  font-size: 1rem;
}

.steps-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.steps-flow-card {
  position: relative;
  border: 1px solid #cfe0d8;
  border-radius: 18px;
  padding: 12px 12px 11px;
  background: rgba(255, 255, 255, 0.86);
  min-height: 168px;
}

.steps-flow-card:nth-child(1) {
  border-color: rgba(83, 193, 156, 0.45);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(83, 193, 156, 0.12) 0%, rgba(83, 193, 156, 0) 60%),
    rgba(255, 255, 255, 0.9);
}

.steps-flow-card:nth-child(2) {
  border-color: rgba(105, 149, 255, 0.42);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(105, 149, 255, 0.12) 0%, rgba(105, 149, 255, 0) 60%),
    rgba(255, 255, 255, 0.9);
}

.steps-flow-card:nth-child(3) {
  border-color: rgba(216, 173, 76, 0.45);
  background:
    radial-gradient(120% 120% at 100% 100%, rgba(216, 173, 76, 0.12) 0%, rgba(216, 173, 76, 0) 60%),
    rgba(255, 255, 255, 0.9);
}

.steps-flow-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 20px;
  background: linear-gradient(180deg, #f3fbf8, #e6f6ef);
  border: 1px solid #bde0d3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.steps-flow-card:nth-child(1) .steps-flow-icon {
  background: linear-gradient(180deg, #ebfbf5, #dcf5ea);
  border-color: #a9ddc8;
}

.steps-flow-card:nth-child(2) .steps-flow-icon {
  background: linear-gradient(180deg, #eef4ff, #dfeafe);
  border-color: #b6c9f4;
}

.steps-flow-card:nth-child(3) .steps-flow-icon {
  background: linear-gradient(180deg, #fff8ea, #f8edd2);
  border-color: #ead39a;
}

.steps-flow-card h3 {
  margin: 10px 0 6px;
  font-size: 1.02rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #0f231c;
}

.steps-flow-card p {
  margin: 0;
  color: #4d6369;
  line-height: 1.22;
  font-size: .95rem;
}

.steps-flow-footnote {
  margin: 10px 0 0;
  color: #4d6369;
  font-weight: 600;
  font-size: .92rem;
}

:root[data-theme='dark'] .steps-flow-eyebrow {
  color: #86d8b9;
}

:root[data-theme='dark'] .steps-flow-head h2 {
  color: #edf4fa;
}

:root[data-theme='dark'] .steps-flow-head > p:last-child {
  color: #b8c7d5;
}

:root[data-theme='dark'] .steps-flow-shell {
  border-color: rgba(66, 97, 88, 0.6);
  background: linear-gradient(180deg, rgba(12, 18, 26, 0.94), rgba(16, 24, 34, 0.95));
}

:root[data-theme='dark'] .steps-flow-label {
  color: #eaf2f8;
}

:root[data-theme='dark'] .steps-flow-card {
  border-color: rgba(61, 79, 73, 0.86);
  background: rgba(18, 27, 38, 0.88);
}

:root[data-theme='dark'] .steps-flow-card:nth-child(1) {
  border-color: rgba(66, 139, 114, 0.62);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(58, 187, 153, 0.12) 0%, rgba(58, 187, 153, 0) 60%),
    rgba(18, 27, 38, 0.9);
}

:root[data-theme='dark'] .steps-flow-card:nth-child(2) {
  border-color: rgba(92, 116, 184, 0.62);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(105, 149, 255, 0.12) 0%, rgba(105, 149, 255, 0) 60%),
    rgba(18, 27, 38, 0.9);
}

:root[data-theme='dark'] .steps-flow-card:nth-child(3) {
  border-color: rgba(153, 124, 56, 0.62);
  background:
    radial-gradient(120% 120% at 100% 100%, rgba(216, 173, 76, 0.12) 0%, rgba(216, 173, 76, 0) 60%),
    rgba(18, 27, 38, 0.9);
}

:root[data-theme='dark'] .steps-flow-icon {
  background: linear-gradient(180deg, #142a22, #193428);
  border-color: #2f6554;
}

:root[data-theme='dark'] .steps-flow-card:nth-child(2) .steps-flow-icon {
  background: linear-gradient(180deg, #1a2337, #202d48);
  border-color: #374a75;
}

:root[data-theme='dark'] .steps-flow-card:nth-child(3) .steps-flow-icon {
  background: linear-gradient(180deg, #2f2818, #3a311d);
  border-color: #6c5a2f;
}

:root[data-theme='dark'] .steps-flow-card h3 {
  color: #eef5fb;
}

:root[data-theme='dark'] .steps-flow-card p,
:root[data-theme='dark'] .steps-flow-footnote {
  color: #aabfce;
}

@media (max-width: 960px) {
  .steps-flow-grid {
    grid-template-columns: 1fr;
  }

  .steps-flow-card {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .rushers-steps-flow {
    margin: 18px 0 8px;
  }

  .steps-flow-head h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .steps-flow-head > p:last-child {
    font-size: .94rem;
    line-height: 1.28;
  }

  .steps-flow-shell {
    border-radius: 16px;
    padding: 12px;
  }

  .steps-flow-label {
    font-size: .94rem;
  }

  .steps-flow-card {
    border-radius: 14px;
    padding: 10px;
  }

  .steps-flow-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 18px;
  }

  .steps-flow-card h3 {
    font-size: .96rem;
  }

  .steps-flow-card p,
  .steps-flow-footnote {
    font-size: .88rem;
  }
}

:root[data-theme='dark'] .site-footer {
  border-color: rgba(67, 96, 117, 0.58);
  background:
    linear-gradient(180deg, rgba(12, 18, 26, 0.94), rgba(16, 24, 34, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 30px;
    padding: 16px 14px 12px;
    border-radius: 16px;
  }

  .footer-layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .guarantee-badge {
    order: 1;
    justify-self: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-legal {
    order: 2;
  }

  .footer-middle {
    order: 3;
    display: none;
  }
}

/* Spacing tweak: separate partner section from market counter */
.partner-strip {
  margin-top: 20px !important;
}

@media (max-width: 768px) {
  .partner-strip {
    margin-top: 18px !important;
  }
}

/* Hero lead form (replaces rider image) */
.hero-form-visual {
  align-items: stretch !important;
  justify-content: stretch !important;
  min-height: unset !important;
}

.hero-form-wrap {
  width: 100%;
  margin-top: 0 !important;
  border-radius: 20px;
  padding: 18px 16px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 253, 255, 0.95));
  border: 1px solid rgba(184, 205, 194, 0.72);
  box-shadow: 0 16px 34px rgba(14, 31, 25, 0.08);
}

.hero-form-wrap h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-form-wrap .candidate-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.hero-form-wrap .candidate-grid .span-4,
.hero-form-wrap .candidate-grid .span-3,
.hero-form-wrap .candidate-grid .span-2 {
  grid-column: auto;
}

.hero-form-wrap .candidate-grid .form-actions,
.hero-form-wrap .candidate-grid .form-notice {
  grid-column: 1 / -1;
}

.hero-form-wrap label {
  gap: 5px;
  font-size: .88rem;
  min-width: 0;
}

.hero-form-wrap .field-desired-city { align-content: start; }
.hero-form-wrap .field-email { align-content: end; }

.hero-form-wrap #candidateForm .field-region,
.hero-form-wrap #candidateForm .field-province,
.hero-form-wrap #candidateForm .field-city,
.hero-form-wrap #candidateForm .field-desired-city {
  grid-column: auto;
}

.hero-form-wrap #candidateForm .field-email,
.hero-form-wrap #candidateForm .field-phone {
  grid-column: 1 / -1;
}

.hero-form-wrap input,
.hero-form-wrap select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  border-radius: 12px;
  padding: 10px 11px;
}

.hero-form-wrap .field-hint {
  font-size: .74rem;
  line-height: 1.2;
}

.hero-form-wrap .field-phone .phone-field-group {
  grid-template-columns: minmax(150px, 190px) minmax(220px, 1fr);
}

.hero-form-wrap .form-actions {
  justify-content: stretch;
}

.hero-form-wrap #submitBtn {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
}

.hero-form-wrap .form-notice {
  margin: 0;
}

:root[data-theme='dark'] .hero-form-wrap {
  background: linear-gradient(180deg, rgba(13, 19, 27, 0.96), rgba(17, 24, 34, 0.96));
  border-color: rgba(66, 97, 88, 0.6);
  box-shadow: 0 16px 34px rgba(2, 6, 10, 0.28);
}

@media (max-width: 960px) {
  .hero-form-wrap .candidate-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-form-wrap .candidate-grid .form-actions,
  .hero-form-wrap .candidate-grid .form-notice {
    grid-column: auto;
  }

  .hero-form-wrap .field-email { align-content: start; }

  .hero-form-wrap #candidateForm .field-email,
  .hero-form-wrap #candidateForm .field-phone {
    grid-column: auto;
  }

  .hero-form-wrap .field-phone .phone-field-group {
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
    gap: 8px;
  }

  .hero-form-wrap .field-phone .phone-field-group select {
    padding-right: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Secondary form: force stable two-column rows to avoid overlap after field additions */
#candidateFormSecondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

#candidateFormSecondary .span-2,
#candidateFormSecondary .span-3,
#candidateFormSecondary .span-4 {
  grid-column: auto;
}

#candidateFormSecondary .field-desired-city,
#candidateFormSecondary .field-email,
#candidateFormSecondary .field-phone,
#candidateFormSecondary .form-actions,
#candidateFormSecondary .form-notice {
  grid-column: 1 / -1;
}

#candidateFormSecondary .field-phone .phone-field-group {
  grid-template-columns: minmax(150px, 220px) minmax(240px, 1fr);
}

#candidateFormSecondary .field-hint {
  line-height: 1.2;
}

@media (max-width: 768px) {
  #candidateFormSecondary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #candidateFormSecondary .field-desired-city,
  #candidateFormSecondary .field-email,
  #candidateFormSecondary .field-phone,
  #candidateFormSecondary .form-actions,
  #candidateFormSecondary .form-notice {
    grid-column: auto;
  }

  #candidateFormSecondary .field-phone .phone-field-group {
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
    gap: 8px;
  }

  #candidateFormSecondary .field-phone .phone-field-group select {
    padding-right: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 769px) {
  .hero-form-visual {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .hero-form-visual {
    display: block !important;
  }

  .hero-form-wrap {
    padding: 14px 12px 12px;
    border-radius: 16px;
  }

  .hero-form-wrap h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
}

/* Final alignment + mobile stacking fixes (hero/form + sections) */
@media (min-width: 961px) {
  .hero {
    align-items: start !important;
  }

  .hero-copy {
    align-self: start !important;
    padding-top: 0 !important;
    margin-top: -26px !important;
  }

  .hero-form-visual,
  .hero-form-wrap {
    align-self: start !important;
    margin-top: 0 !important;
  }

  .rushers-brand {
    margin-top: -26px !important;
    margin-bottom: 2px !important;
  }

  .hero-copy h1 {
    margin-top: -8px !important;
    margin-bottom: 0 !important;
  }

  #heroDesc {
    margin-top: 0 !important;
  }

  .hero-copy .market-counter {
    margin-top: 6px !important;
  }
}

@media (max-width: 960px) {
  .partner-strip,
  .quick-download,
  .flow-shell,
  .earnings-simulator,
  .priority-onboarding,
  .rushers-steps-flow,
  .site-footer {
    position: relative;
    z-index: 1;
    clear: both;
  }

  .partner-strip {
    margin-top: 20px !important;
    margin-bottom: 12px !important;
  }

  .quick-download {
    margin-top: 10px !important;
    margin-bottom: 16px !important;
  }

  .flow-shell {
    margin-top: 14px !important;
  }

  .earnings-simulator {
    margin-top: 16px !important;
  }

  .priority-onboarding,
  .rushers-steps-flow {
    margin-top: 16px !important;
  }
}

@media (max-width: 768px) {
  .hero {
    gap: 12px !important;
    overflow: visible !important;
  }

  .hero-copy {
    order: 1;
  }

  .hero-form-visual {
    order: 2;
    margin-top: 2px !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    position: static !important;
  }

  .hero-form-wrap {
    position: relative;
    z-index: 2;
    margin-bottom: 8px !important;
  }

  .partner-logos {
    position: static !important;
  }

  .chat-thread {
    position: relative;
    z-index: 1;
  }

  .quick-download {
    overflow: hidden;
  }

  .quick-download .store-badges {
    margin-top: 4px;
  }

  .partner-strip {
    margin-top: 24px !important;
  }

  .quick-download {
    margin-top: 12px !important;
  }
}

@media (max-width: 960px) {
  .hero-form-visual {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .hero-form-wrap {
    margin-bottom: 10px !important;
  }
}

/* FAQ links section */
.faq-links {
  margin: 20px 0 10px;
}

.faq-links-head {
  margin-bottom: 10px;
}

.faq-toggle-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(126, 196, 171, 0.75);
  background: rgba(231, 246, 240, 0.88);
  color: #0f5f4b;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
}
.faq-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(17, 70, 55, 0.12);
  border-color: rgba(78, 166, 135, 0.9);
}
.faq-toggle-btn:focus-visible {
  outline: 2px solid #8ed0ba;
  outline-offset: 2px;
}
.faq-toggle-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 95, 75, 0.12);
  font-size: 16px;
  line-height: 1;
}
.faq-toggle-btn[aria-expanded='true'] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-links-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: .98;
  letter-spacing: -0.03em;
  color: #0f1f1b;
}

.faq-links-head p {
  margin: 8px 0 0;
  color: #3d565c;
  max-width: 66ch;
  line-height: 1.28;
}

.faq-links-list {
  display: grid;
  gap: 10px;
}
.faq-links-list[hidden] {
  display: none !important;
}

.faq-link-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(194, 214, 206, 0.8);
  background: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  color: inherit;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}

.faq-link-item:hover {
  transform: translateY(-1px);
  border-color: rgba(112, 183, 157, 0.78);
  box-shadow: 0 10px 20px rgba(20, 50, 43, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.faq-link-item:focus-visible {
  outline: 2px solid #8ed0ba;
  outline-offset: 2px;
}

.faq-link-text {
  font-weight: 750;
  color: #175646;
  font-size: 1rem;
  line-height: 1.18;
}

.faq-link-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #c8efe1;
  color: #116f58;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}

:root[data-theme='dark'] .faq-links-head h2 {
  color: #edf4fa;
}

:root[data-theme='dark'] .faq-links-head p {
  color: #b0c3d2;
}

:root[data-theme='dark'] .faq-toggle-btn {
  border-color: rgba(59, 117, 100, 0.9);
  background: rgba(17, 34, 30, 0.72);
  color: #bfeede;
}
:root[data-theme='dark'] .faq-toggle-btn:hover {
  background: rgba(21, 42, 36, 0.84);
  box-shadow: 0 10px 18px rgba(3, 8, 13, 0.28);
}
:root[data-theme='dark'] .faq-toggle-icon {
  background: rgba(102, 207, 171, 0.14);
}

:root[data-theme='dark'] .faq-link-item {
  border-color: rgba(58, 76, 90, 0.9);
  background: rgba(17, 25, 35, 0.86);
}

:root[data-theme='dark'] .faq-link-item:hover {
  border-color: rgba(65, 129, 110, 0.85);
  background: rgba(19, 28, 39, 0.94);
  box-shadow: 0 12px 22px rgba(3, 8, 13, 0.24);
}

:root[data-theme='dark'] .faq-link-text {
  color: #d9efe6;
}

:root[data-theme='dark'] .faq-link-arrow {
  background: #173429;
  color: #89ddbb;
}

:root[data-theme='dark'] .hero .rushers-brand {
  filter: brightness(0) invert(1);
}

/* Just Eat x Foggia landing palette (template-specific) */
body.page-template-page-justeat {
  background-color: #f2ecdc;
  background-image:
    radial-gradient(58% 44% at 12% 8%, rgba(15, 95, 75, 0.12) 0%, rgba(15, 95, 75, 0) 72%),
    radial-gradient(54% 42% at 88% 8%, rgba(255, 128, 0, 0.14) 0%, rgba(255, 128, 0, 0) 74%),
    linear-gradient(180deg, #f5efe1 0%, #efe9db 100%);
}
body.page-template-page-justeat::before {
  background: linear-gradient(110deg,
    rgba(15, 95, 75, 0.30) 0%,
    rgba(255, 128, 0, 0.24) 44%,
    rgba(15, 95, 75, 0.16) 100%);
  opacity: calc(0.82 + (var(--scroll-night) * 0.18));
}
body.page-template-page-justeat::after {
  background:
    radial-gradient(62% 50% at 14% 12%, rgba(15, 95, 75, 0.14) 0%, rgba(15, 95, 75, 0) 72%),
    radial-gradient(58% 50% at 88% 14%, rgba(255, 128, 0, 0.22) 0%, rgba(255, 128, 0, 0) 74%),
    linear-gradient(180deg, rgba(245, 239, 225, 0) 0%, rgba(237, 229, 212, 0.68) 100%);
}
body.page-template-page-justeat .hero-copy h1,
body.page-template-page-justeat #heroDesc {
  color: #0f3f34;
}
body.page-template-page-justeat .hero-copy .market-counter strong {
  border-color: rgba(15, 95, 75, 0.20);
  background: rgba(255, 255, 255, 0.72);
  color: #173c33;
}
body.page-template-page-justeat #marketCounterValue {
  color: #6b7f93;
}
body.page-template-page-justeat .partner-strip p {
  color: #1f6a55;
}
body.page-template-page-justeat .partner-card {
  border-color: rgba(255, 128, 0, 0.28);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 18px rgba(255, 128, 0, 0.07);
}
body.page-template-page-justeat .quick-download {
  border-color: rgba(255, 128, 0, 0.22);
  background: rgba(255, 255, 255, 0.62);
}
body.page-template-page-justeat .quick-download p {
  color: #19483d;
}
body.page-template-page-justeat .hero-form-wrap {
  border-color: rgba(255, 128, 0, 0.28);
  box-shadow:
    0 22px 34px rgba(255, 128, 0, 0.10),
    0 0 0 1px rgba(15, 95, 75, 0.08) inset;
}
body.page-template-page-justeat .hero-form-wrap #submitBtn {
  background: linear-gradient(135deg, #ff7f00 0%, #f26f00 100%);
  box-shadow: 0 10px 20px rgba(255, 127, 0, 0.26);
}
body.page-template-page-justeat .hero-form-wrap #submitBtn:hover {
  filter: brightness(1.03);
}
body.page-template-page-justeat .lang-btn.active {
  background: #0f5f4b;
}
body.page-template-page-justeat .theme-toggle {
  border-color: rgba(15, 95, 75, 0.22);
  background: rgba(255,255,255,.65);
}

:root[data-theme='dark'] body.page-template-page-justeat {
  background-color: #0d1118;
  background-image:
    radial-gradient(58% 44% at 10% 8%, rgba(15, 95, 75, 0.22) 0%, rgba(15, 95, 75, 0) 72%),
    radial-gradient(52% 42% at 90% 8%, rgba(255, 127, 0, 0.18) 0%, rgba(255, 127, 0, 0) 74%),
    linear-gradient(180deg, #111823 0%, #0b1119 100%);
}
:root[data-theme='dark'] body.page-template-page-justeat::before {
  background: linear-gradient(112deg,
    rgba(15, 95, 75, 0.18) 0%,
    rgba(255, 127, 0, 0.16) 44%,
    rgba(81, 67, 181, 0.14) 100%);
}
:root[data-theme='dark'] body.page-template-page-justeat::after {
  background:
    radial-gradient(62% 50% at 14% 12%, rgba(15, 95, 75, 0.22) 0%, rgba(15, 95, 75, 0) 72%),
    radial-gradient(58% 50% at 88% 14%, rgba(255, 127, 0, 0.18) 0%, rgba(255, 127, 0, 0) 74%),
    linear-gradient(180deg, rgba(11, 17, 25, 0) 0%, rgba(7, 12, 18, 0.88) 100%);
}
:root[data-theme='dark'] body.page-template-page-justeat .hero-form-wrap #submitBtn {
  background: linear-gradient(135deg, #ff8a14 0%, #ef7608 100%);
}
:root[data-theme='dark'] body.page-template-page-justeat .hero-copy .market-counter strong {
  color: #edf3ff !important;
  background: rgba(12, 22, 36, 0.92) !important;
  border-color: rgba(121, 147, 185, 0.72) !important;
}
:root[data-theme='dark'] body.page-template-page-justeat #marketCounterValue {
  color: #f4f8ff !important;
  font-weight: 700;
}

body.page-template-page-justeat .hero-copy h1 {
  color: #155244;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1.02;
  max-width: 11ch;
}
body.page-template-page-justeat #heroDesc {
  color: #2a5147;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  max-width: 46ch;
}
body.page-template-page-justeat .partner-strip {
  margin-top: 14px;
}
body.page-template-page-justeat .partner-strip p {
  margin-bottom: 10px;
  color: #1a5d4b;
  font-size: .92rem;
  letter-spacing: .08em;
}
body.page-template-page-justeat .partner-logos {
  grid-template-columns: minmax(280px, 1fr);
  max-width: 520px;
}
body.page-template-page-justeat .partner-card {
  min-height: 116px;
  border-radius: 18px;
  border: 1px solid rgba(239, 118, 8, 0.18);
  background: linear-gradient(180deg, #ff8600 0%, #f77700 100%);
  box-shadow: 0 14px 26px rgba(242, 111, 0, 0.16);
  padding: 14px 20px;
}
body.page-template-page-justeat .partner-card img[alt='Just Eat'] {
  max-width: 100%;
  max-height: 72px;
  filter: brightness(0) invert(1);
  transform: none;
}
body.page-template-page-justeat .partner-logos .partner-card img[alt='Just Eat'] {
  max-width: 100% !important;
  max-height: 72px !important;
}
body.page-template-page-justeat .quick-download {
  margin-top: 10px;
}

:root[data-theme='dark'] body.page-template-page-justeat .hero-copy h1 {
  color: #eef4f8;
}
:root[data-theme='dark'] body.page-template-page-justeat #heroDesc {
  color: #c9d8e0;
}
:root[data-theme='dark'] body.page-template-page-justeat .partner-card {
  border-color: rgba(255, 140, 20, 0.3);
  background: linear-gradient(180deg, #ff8a14 0%, #f17608 100%);
  box-shadow: 0 14px 28px rgba(255, 127, 0, 0.14);
}
body.page-template-page-justeat .merchant-focus {
  margin: 16px 0 20px;
  padding: 18px;
  border: 1px solid #f3cfb0;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff6ec 0%, #ffefdf 100%);
}
body.page-template-page-justeat .merchant-focus-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #d35d00;
}
body.page-template-page-justeat .merchant-focus h2 {
  margin: 0 0 10px;
  color: #8a3d00;
}
body.page-template-page-justeat .merchant-focus p {
  margin: 0;
  color: #734629;
}
body.page-template-page-justeat .merchant-focus-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.page-template-page-justeat .merchant-focus-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #f2c7a1;
  background: #fffaf4;
}
body.page-template-page-justeat .merchant-focus-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px;
  background: linear-gradient(160deg, #ffe9d2 0%, #ffd8b0 100%);
  border: 1px solid #f0b883;
}
body.page-template-page-justeat .merchant-focus-card h3 {
  margin: 0 0 6px;
  color: #a14800;
  font-size: 15px;
}
body.page-template-page-justeat .merchant-focus-card p {
  color: #72492d;
}
:root[data-theme='dark'] body.page-template-page-justeat .merchant-focus {
  background: linear-gradient(180deg, #2a1e16 0%, #22180f 100%);
  border-color: #5f3b1f;
}
:root[data-theme='dark'] body.page-template-page-justeat .merchant-focus-eyebrow,
:root[data-theme='dark'] body.page-template-page-justeat .merchant-focus h2 {
  color: #ffb474;
}
:root[data-theme='dark'] body.page-template-page-justeat .merchant-focus p {
  color: #e5cbb3;
}
:root[data-theme='dark'] body.page-template-page-justeat .merchant-focus-card {
  background: #1c140d;
  border-color: #714424;
}
:root[data-theme='dark'] body.page-template-page-justeat .merchant-focus-card h3 {
  color: #ffbe84;
}
:root[data-theme='dark'] body.page-template-page-justeat .merchant-focus-card p {
  color: #e6cdb6;
}
:root[data-theme='dark'] body.page-template-page-justeat .merchant-focus-icon {
  background: linear-gradient(160deg, #3a2515 0%, #2b1c10 100%);
  border-color: #8a542d;
}

@media (max-width: 768px) {
  body.page-template-page-justeat .hero-copy h1 {
    max-width: none;
  }
  body.page-template-page-justeat .partner-logos {
    max-width: none;
    grid-template-columns: 1fr;
  }
  body.page-template-page-justeat .partner-card {
    min-height: 88px;
    border-radius: 14px;
    padding: 10px 14px;
  }
  body.page-template-page-justeat .partner-card img[alt='Just Eat'],
  body.page-template-page-justeat .partner-logos .partner-card img[alt='Just Eat'] {
    max-height: 54px !important;
  }
  body.page-template-page-justeat .merchant-focus-grid {
    grid-template-columns: 1fr;
  }
}

/* Eufarma landing palette (template-specific, light gray to white) */
body.page-template-page-eufarma {
  background-color: #f3f4f6;
  background-image:
    radial-gradient(60% 46% at 12% 8%, rgba(184, 190, 198, 0.24) 0%, rgba(184, 190, 198, 0) 72%),
    radial-gradient(56% 44% at 88% 10%, rgba(218, 222, 228, 0.34) 0%, rgba(218, 222, 228, 0) 74%),
    linear-gradient(180deg, #f7f8fa 0%, #f2f4f7 54%, #ffffff 100%);
}
body.page-template-page-eufarma::before {
  background: linear-gradient(112deg,
    rgba(196, 202, 210, 0.30) 0%,
    rgba(224, 228, 234, 0.24) 46%,
    rgba(255, 255, 255, 0.2) 100%);
  opacity: calc(0.8 + (var(--scroll-night) * 0.14));
}
body.page-template-page-eufarma::after {
  background:
    radial-gradient(62% 50% at 14% 12%, rgba(177, 184, 193, 0.20) 0%, rgba(177, 184, 193, 0) 72%),
    radial-gradient(58% 50% at 88% 14%, rgba(220, 224, 230, 0.28) 0%, rgba(220, 224, 230, 0) 74%),
    linear-gradient(180deg, rgba(247, 248, 250, 0) 0%, rgba(238, 241, 246, 0.72) 100%);
}
body.page-template-page-eufarma .hero-copy h1,
body.page-template-page-eufarma #heroDesc {
  color: #1d2c3d;
}
body.page-template-page-eufarma .hero-copy .market-counter strong {
  border-color: rgba(151, 166, 181, 0.44);
  background: rgba(255, 255, 255, 0.9);
  color: #2b3e55;
}
body.page-template-page-eufarma #marketCounterValue {
  color: #445870;
}
body.page-template-page-eufarma .hero-form-wrap {
  border-color: rgba(166, 176, 190, 0.36);
  box-shadow:
    0 18px 34px rgba(112, 123, 136, 0.14),
    0 0 0 1px rgba(207, 214, 223, 0.42) inset;
}
body.page-template-page-eufarma .hero-form-wrap #submitBtn {
  background: linear-gradient(135deg, #677687 0%, #4f6072 100%);
  box-shadow: 0 10px 20px rgba(79, 96, 114, 0.28);
}
body.page-template-page-eufarma .partner-strip p {
  color: #4a596c;
}
body.page-template-page-eufarma .partner-card {
  border-color: rgba(169, 178, 190, 0.34);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(142, 152, 166, 0.12);
}
body.page-template-page-eufarma .quick-download {
  border-color: rgba(176, 186, 199, 0.34);
  background: rgba(255, 255, 255, 0.86);
}
body.page-template-page-eufarma .merchant-focus {
  margin: 16px 0 20px;
  padding: 18px;
  border: 1px solid #d6dce4;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}
body.page-template-page-eufarma .merchant-focus-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #5b6d81;
}
body.page-template-page-eufarma .merchant-focus h2 { margin: 0 0 10px; color: #2e4056; }
body.page-template-page-eufarma .merchant-focus p { margin: 0; color: #4d6178; }
body.page-template-page-eufarma .merchant-focus-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.page-template-page-eufarma .merchant-focus-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d7dde5;
  background: #ffffff;
}
body.page-template-page-eufarma .merchant-focus-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px;
  background: linear-gradient(160deg, #eff3f7 0%, #e2e8ef 100%);
  border: 1px solid #c8d0da;
}
body.page-template-page-eufarma .merchant-focus-card h3 { margin: 0 0 6px; color: #3c4f66; font-size: 15px; }
body.page-template-page-eufarma .merchant-focus-card p { color: #556a83; }

:root[data-theme='dark'] body.page-template-page-eufarma {
  background-color: #0f1319;
  background-image:
    radial-gradient(58% 44% at 10% 8%, rgba(86, 99, 116, 0.22) 0%, rgba(86, 99, 116, 0) 72%),
    radial-gradient(52% 42% at 90% 8%, rgba(123, 132, 146, 0.18) 0%, rgba(123, 132, 146, 0) 74%),
    linear-gradient(180deg, #161c25 0%, #0f141c 100%);
}
:root[data-theme='dark'] body.page-template-page-eufarma::before {
  background: linear-gradient(112deg,
    rgba(95, 110, 129, 0.18) 0%,
    rgba(145, 154, 167, 0.16) 44%,
    rgba(68, 79, 95, 0.14) 100%);
}
:root[data-theme='dark'] body.page-template-page-eufarma::after {
  background:
    radial-gradient(62% 50% at 14% 12%, rgba(88, 101, 118, 0.22) 0%, rgba(88, 101, 118, 0) 72%),
    radial-gradient(58% 50% at 88% 14%, rgba(127, 137, 151, 0.18) 0%, rgba(127, 137, 151, 0) 74%),
    linear-gradient(180deg, rgba(15, 20, 28, 0) 0%, rgba(8, 11, 16, 0.88) 100%);
}
:root[data-theme='dark'] body.page-template-page-eufarma .hero-copy h1,
:root[data-theme='dark'] body.page-template-page-eufarma #heroDesc,
:root[data-theme='dark'] body.page-template-page-eufarma #marketCounterValue {
  color: #e4ebf5;
}
:root[data-theme='dark'] body.page-template-page-eufarma .hero-copy .market-counter strong {
  color: #e8eef8 !important;
  background: rgba(22, 30, 43, 0.9) !important;
  border-color: rgba(112, 128, 151, 0.72) !important;
}
:root[data-theme='dark'] body.page-template-page-eufarma .hero-form-wrap {
  background: linear-gradient(180deg, #141b25, #101721) !important;
  border-color: #334254 !important;
}
:root[data-theme='dark'] body.page-template-page-eufarma .hero-form-wrap input,
:root[data-theme='dark'] body.page-template-page-eufarma .hero-form-wrap select {
  background: #0c121b !important;
  border-color: #30445c !important;
  color: #e4ebf5 !important;
}
:root[data-theme='dark'] body.page-template-page-eufarma .hero-form-wrap #submitBtn {
  background: linear-gradient(135deg, #7f8d9f 0%, #65758a 100%);
}
:root[data-theme='dark'] body.page-template-page-eufarma .merchant-focus {
  background: linear-gradient(180deg, #131a24 0%, #101720 100%);
  border-color: #314050;
}
:root[data-theme='dark'] body.page-template-page-eufarma .merchant-focus-eyebrow,
:root[data-theme='dark'] body.page-template-page-eufarma .merchant-focus h2 {
  color: #b9c7d8;
}
:root[data-theme='dark'] body.page-template-page-eufarma .merchant-focus p,
:root[data-theme='dark'] body.page-template-page-eufarma .merchant-focus-card p {
  color: #c6d2e2;
}
:root[data-theme='dark'] body.page-template-page-eufarma .merchant-focus-card {
  background: #0e151f;
  border-color: #334355;
}
:root[data-theme='dark'] body.page-template-page-eufarma .merchant-focus-card h3 {
  color: #d2ddea;
}
:root[data-theme='dark'] body.page-template-page-eufarma .merchant-focus-icon {
  background: linear-gradient(160deg, #1a2433 0%, #151f2d 100%);
  border-color: #3d4e64;
}

@media (max-width: 768px) {
  body.page-template-page-eufarma .merchant-focus-grid {
    grid-template-columns: 1fr;
  }
}

/* Iubenda cookie banner (non-iframe) visual polish */
#iubenda-cs-banner,
.iubenda-cs-container,
.iubenda-cs-content {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif !important;
}

#iubenda-cs-banner {
  border-radius: 22px !important;
  border: 1px solid rgba(191, 205, 216, 0.8) !important;
  box-shadow: 0 26px 60px rgba(8, 17, 28, 0.22) !important;
  overflow: hidden !important;
}

#iubenda-cs-banner .iubenda-cs-content,
#iubenda-cs-banner .iubenda-cs-container {
  background: rgba(255, 255, 255, 0.97) !important;
}

#iubenda-cs-banner .iubenda-cs-title {
  font-size: clamp(1.5rem, 2vw, 2.2rem) !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #0f1419 !important;
  margin-bottom: 10px !important;
}

#iubenda-cs-banner .iubenda-cs-rationale,
#iubenda-cs-banner .iubenda-cs-text,
#iubenda-cs-banner .iubenda-cs-paragraph,
#iubenda-cs-banner p {
  color: #22313d !important;
  font-size: 1rem !important;
  line-height: 1.42 !important;
}

#iubenda-cs-banner a {
  color: #0c624d !important;
  font-weight: 700 !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 2px !important;
}

#iubenda-cs-banner .iubenda-cs-btn,
#iubenda-cs-banner button,
#iubenda-cs-banner [role='button'] {
  border-radius: 14px !important;
  min-height: 44px !important;
  padding: 10px 16px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  border: 1px solid #d7dee6 !important;
  background: #f2f5f7 !important;
  color: #11181f !important;
  box-shadow: none !important;
}

#iubenda-cs-banner .iubenda-cs-accept-btn,
#iubenda-cs-banner .iubenda-cs-btn-primary,
#iubenda-cs-banner .iubenda-cs-btn[data-consent='accept'] {
  border-color: #0f5f4b !important;
  background: linear-gradient(135deg, #0f5f4b 0%, #1f7a61 100%) !important;
  color: #ffffff !important;
}

#iubenda-cs-banner .iubenda-cs-reject-btn,
#iubenda-cs-banner .iubenda-cs-btn[data-consent='reject'] {
  background: #eef1f4 !important;
  color: #11181f !important;
  border-color: #d4dde6 !important;
}

#iubenda-cs-banner .iubenda-cs-customize-btn,
#iubenda-cs-banner .iubenda-cs-btn[data-consent='customize'] {
  background: transparent !important;
  border-color: transparent !important;
  color: #0f1419 !important;
  font-weight: 800 !important;
}

#iubenda-cs-banner .iubenda-cs-footer,
#iubenda-cs-banner .iubenda-cs-actions {
  gap: 10px !important;
}

:root[data-theme='dark'] #iubenda-cs-banner {
  border-color: rgba(65, 87, 108, 0.9) !important;
  box-shadow: 0 28px 70px rgba(2, 6, 10, 0.48) !important;
}

:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-content,
:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-container {
  background: rgba(15, 22, 31, 0.98) !important;
}

:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-title {
  color: #eef5fb !important;
}

:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-rationale,
:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-text,
:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-paragraph,
:root[data-theme='dark'] #iubenda-cs-banner p {
  color: #b8cad7 !important;
}

:root[data-theme='dark'] #iubenda-cs-banner a {
  color: #94dfbf !important;
}

:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-btn,
:root[data-theme='dark'] #iubenda-cs-banner button,
:root[data-theme='dark'] #iubenda-cs-banner [role='button'] {
  background: #1e2935 !important;
  border-color: #364656 !important;
  color: #e8eff6 !important;
}

:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-customize-btn,
:root[data-theme='dark'] #iubenda-cs-banner .iubenda-cs-btn[data-consent='customize'] {
  background: transparent !important;
  border-color: transparent !important;
  color: #eef5fb !important;
}

@media (max-width: 768px) {
  #iubenda-cs-banner {
    border-radius: 16px !important;
    margin: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
  }

  #iubenda-cs-banner .iubenda-cs-title {
    font-size: 1.35rem !important;
  }

  #iubenda-cs-banner .iubenda-cs-rationale,
  #iubenda-cs-banner .iubenda-cs-text,
  #iubenda-cs-banner .iubenda-cs-paragraph,
  #iubenda-cs-banner p {
    font-size: .92rem !important;
    line-height: 1.34 !important;
  }

  #iubenda-cs-banner .iubenda-cs-btn,
  #iubenda-cs-banner button,
  #iubenda-cs-banner [role='button'] {
    min-height: 40px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
  }
}

/* Iubenda privacy preferences floating widget (make it compact / less invasive) */
#iubenda-cs-preferences-link,
.iubenda-cs-preferences-link,
[class*="iubenda-cs-preferences-link"] {
  border-radius: 14px !important;
  border: 1px solid rgba(174, 198, 214, 0.8) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 14px 30px rgba(8, 17, 28, 0.18) !important;
  color: #0f1419 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif !important;
  overflow: hidden !important;
  transform: scale(.9);
  transform-origin: bottom right;
}

#iubenda-cs-preferences-link *,
.iubenda-cs-preferences-link *,
[class*="iubenda-cs-preferences-link"] * {
  font-family: inherit !important;
}

/* If Iubenda renders a large textual launcher, shrink typography */
#iubenda-cs-preferences-link .iubenda-cs-content,
.iubenda-cs-preferences-link .iubenda-cs-content,
[class*="iubenda-cs-preferences-link"] .iubenda-cs-content {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

/* Prefer compact icon launcher if present */
#iubenda-cs-preferences-link .iubenda-cs-text,
.iubenda-cs-preferences-link .iubenda-cs-text,
[class*="iubenda-cs-preferences-link"] .iubenda-cs-text {
  font-weight: 700 !important;
  color: #1b2a38 !important;
}

/* Move it away from footer visual area */
#iubenda-cs-preferences-link,
.iubenda-cs-preferences-link {
  right: 14px !important;
  bottom: 14px !important;
}

/* In some themes Iubenda injects a bigger preferences panel launcher; constrain size */
#iubenda-cs-preferences-link {
  max-width: 220px !important;
}

:root[data-theme='dark'] #iubenda-cs-preferences-link,
:root[data-theme='dark'] .iubenda-cs-preferences-link,
:root[data-theme='dark'] [class*="iubenda-cs-preferences-link"] {
  background: rgba(16, 23, 33, 0.96) !important;
  border-color: rgba(66, 87, 108, 0.9) !important;
  box-shadow: 0 16px 34px rgba(2, 6, 10, 0.34) !important;
  color: #eef5fb !important;
}

:root[data-theme='dark'] #iubenda-cs-preferences-link .iubenda-cs-text,
:root[data-theme='dark'] .iubenda-cs-preferences-link .iubenda-cs-text,
:root[data-theme='dark'] [class*="iubenda-cs-preferences-link"] .iubenda-cs-text {
  color: #d9e9f5 !important;
}

@media (max-width: 768px) {
  #iubenda-cs-preferences-link,
  .iubenda-cs-preferences-link,
  [class*="iubenda-cs-preferences-link"] {
    transform: scale(.82);
    transform-origin: bottom right;
    right: 8px !important;
    bottom: 8px !important;
    max-width: 180px !important;
  }
}

@media (max-width: 768px) {
  .faq-links {
    margin: 18px 0 8px;
  }

  .form-wrap-secondary {
    padding: 12px;
    border-radius: 16px;
  }

  .form-secondary-visual {
    display: none;
  }

  .faq-links-head h2 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .faq-links-head p {
    font-size: .92rem;
    line-height: 1.28;
  }

  .faq-link-item {
    padding: 12px 12px;
    border-radius: 14px;
    gap: 10px;
  }

  .faq-link-text {
    font-size: .93rem;
  }

  .faq-link-arrow {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
}

/* Fine tuning: separate the market counter badge from the hero subtitle */
.hero-copy .market-counter {
  margin-top: 18px !important;
}

/* Global spacing requested */
section {
  margin-bottom: 150px;
}

/* Mobile: show only the secondary form */
@media (max-width: 768px) {
  .hero-form-visual {
    display: none !important;
  }
}

/* Desktop/tablet: push hero form card lower */
@media (min-width: 769px) {
  .hero-form-visual {
    margin-top: 80px !important;
  }
}

/* Desktop/tablet: align left hero copy with lowered form card */
@media (min-width: 769px) {
  .hero-copy {
    margin-top: 80px !important;
  }
}

/* Keep chat sections compact despite global section spacing */
#chatChoices,
.flow-shell > .typewriter {
  margin-bottom: 0 !important;
}

/* Final mobile override: hide the first (hero) form */
@media (max-width: 1024px) {
  .hero .hero-form-visual,
  .hero #rider-form,
  .hero .hero-form-wrap {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Absolute mobile kill switch for hero right column (first form) */
@media (max-width: 1024px) {
  .hero .hero-visual,
  .hero .hero-form-visual,
  .hero #rider-form,
  .hero .hero-form-wrap {
    display: none !important;
    visibility: hidden !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

/* Desktop/tablet: top-align hero copy and form */
@media (min-width: 769px) {
  .hero {
    align-items: start !important;
  }

  .hero-copy,
  .hero-form-visual {
    margin-top: 0 !important;
    align-self: start !important;
  }
}

/* Final alignment + spacing tweaks */
.top-controls {
  margin-bottom: 120px !important;
}

@media (min-width: 769px) {
  .hero-copy {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .hero-copy .rushers-brand {
    margin-top: 0 !important;
  }
}

@media (min-width: 769px) {
  .hero-copy .rushers-brand {
    transform: translateY(-20px);
  }
}

/* Requested logo offset */
.hero-copy .rushers-brand {
  transform: none !important;
  margin-top: -50px !important;
}

/* Requested: push first (hero) form down */
#rider-form.hero-form-wrap {
  margin-top: 30px !important;
}

/* Remove card background from delivery orbit section */
.delivery-orbit,
:root[data-theme='dark'] .delivery-orbit {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* Remove only the outer card from 3-step section */
.steps-flow-shell,
:root[data-theme='dark'] .steps-flow-shell {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.steps-flow-footnote {
  margin-bottom: 50px !important;
}

/* Home layout from vers-002 with hero image + form in partner section */
.hero-image-visual {
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-app-display {
  width: min(100%, 500px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-app-display-image {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(13, 28, 44, 0.18));
}

.partner-form-section {
  padding: 18px 0 6px;
}

.partner-form-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.partner-form-copy {
  display: grid;
  gap: 12px;
}

.partner-logos-vertical {
  grid-template-columns: 1fr;
  gap: 12px;
}

.partner-form-wrap {
  margin-top: 0;
  padding: 26px 24px 22px;
  border-radius: 28px;
  background: rgba(248, 251, 255, 0.94);
  border: 1px solid rgba(175, 196, 219, 0.44);
  box-shadow: 0 18px 34px rgba(22, 40, 68, 0.10);
  backdrop-filter: blur(8px);
}

.partner-form-wrap h2 {
  margin-bottom: 14px;
}

.partner-form-wrap .candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
}

.partner-form-wrap .candidate-grid .span-2,
.partner-form-wrap .candidate-grid .span-3,
.partner-form-wrap .candidate-grid .span-4 {
  grid-column: auto;
}

.partner-form-wrap .field-city,
.partner-form-wrap .field-desired-city,
.partner-form-wrap .field-email,
.partner-form-wrap .field-captcha,
.partner-form-wrap .field-phone,
.partner-form-wrap .form-actions,
.partner-form-wrap .form-notice {
  grid-column: span 3;
}

.partner-form-wrap .field-phone {
  grid-column: 1 / -1 !important;
}

.partner-form-wrap .form-actions,
.partner-form-wrap .form-notice {
  grid-column: 1 / -1 !important;
}

.partner-form-wrap .field-phone .phone-field-group {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(190px, 260px) minmax(260px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.partner-form-wrap .field-phone .phone-field-group select,
.partner-form-wrap .field-phone .phone-field-group input {
  width: 100%;
  min-width: 0;
}

.partner-form-wrap label,
.partner-form-wrap input,
.partner-form-wrap select {
  min-width: 0;
}

@media (max-width: 960px) {
  .partner-form-layout {
    grid-template-columns: 1fr;
  }

  .partner-form-wrap {
    order: 2;
  }

  .partner-form-copy {
    order: 1;
  }

  .partner-form-wrap .candidate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partner-form-wrap .field-city,
  .partner-form-wrap .field-desired-city,
  .partner-form-wrap .field-email,
  .partner-form-wrap .field-captcha,
  .partner-form-wrap .field-phone,
  .partner-form-wrap .form-actions,
  .partner-form-wrap .form-notice {
    grid-column: 1 / -1 !important;
  }

  .partner-form-wrap .field-phone .phone-field-group {
    grid-template-columns: minmax(170px, 220px) minmax(220px, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-image-visual {
    min-height: 240px;
  }

  .hero-app-display-image {
    max-width: 280px;
  }

  .partner-form-wrap .candidate-grid {
    grid-template-columns: 1fr;
  }

  .partner-form-wrap .field-city,
  .partner-form-wrap .field-desired-city,
  .partner-form-wrap .field-email,
  .partner-form-wrap .field-captcha,
  .partner-form-wrap .field-phone,
  .partner-form-wrap .form-actions,
  .partner-form-wrap .form-notice {
    grid-column: auto !important;
  }

  .partner-form-wrap .field-phone .phone-field-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
