/* ==========================================================================
   GoFillAm marketing site — base + hero
   ========================================================================== */

:root {
  --color-bg-cream: #fdf6e8;
  --color-dark: #1c2b25;
  --color-green: #1f9d53;
  --color-green-dark: #16803f;
  --color-green-bright: #06ba57;
  --color-lime: #bace24;
  --color-orange: #e8a33d;
  --color-orange-dark: #d4901f;
  --color-white: #ffffff;
  --color-text-muted: #3a453f;
  --color-dark-2: #1e2e2c;
  --color-brown: #2d1906;

  --font-display: "Boldonse", sans-serif;
  --font-body: "Figtree", sans-serif;

  --container-width: 1280px;
  --container-pad: 48px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__form.reveal {
  transition-delay: 0.1s;
}

.hero__copy.reveal {
  transition-delay: 0.2s;
}

.why__image.reveal {
  transition-delay: 0.15s;
}

.how__nav.reveal {
  transition-delay: 0.1s;
}

.rider__image.reveal {
  transition-delay: 0.15s;
}

.newsletter__image.reveal {
  transition-delay: 0.15s;
}

.coverage__map.reveal {
  transition-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  border: none;
  background: none;
  padding: 0;
  color: var(--color-white);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn__label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1;
  border-radius: 999px;
  padding: 16px 28px;
  background: var(--color-green);
  color: var(--color-white);
  transition: background-color 0.2s ease;
}

.btn:hover .btn__label {
  background: var(--color-green-dark);
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-left: -2px;
  border-radius: 50%;

  width: 48px;
  height: 48px;
  background: #01a049;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.btn:hover .btn__icon {
  background: #018a3f;
}

.btn__icon svg {
  width: 16px;
  height: 16px;
}

.btn--block {
  width: 100%;
  justify-content: space-between;
}

.btn--block .btn__label {
  flex: 1;
  justify-content: center;
}

.btn--light .btn__label {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn--light:hover .btn__label {
  background: #f2ead9;
}

.btn--light .btn__icon {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn--light:hover .btn__icon {
  background: #f2ead9;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  box-shadow: none;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled,
.site-header--solid {
  background: rgba(253, 246, 232, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(28, 43, 37, 0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 16px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 56px;
  width: auto;
  aspect-ratio: 308 / 138;
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-dark);
}

.brand__reg {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  margin-left: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  position: relative;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--color-green);
  transition: right 0.25s ease;
}

.main-nav a:hover {
  color: var(--color-green);
}

.main-nav a:hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 20;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-image: url("/assets/hero.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover; /* Use 'cover' or 'contain' instead of non-standard 'fill' */
  width: 100%;
  aspect-ratio: 2880 / 1786; /* Replace 16 / 9 with your image's exact dimensions, e.g., 1920 / 1080 */
}

@media (max-width: 960px) {
  .hero {
    background-image: url("/assets/hero.png");
  }
}

@media (max-width: 560px) {
  .hero {
    background-image: url("/assets/hero.png");
  }
}

.hero__spacer--top {
  flex: 1;
}

.hero__spacer--bottom {
  flex: 2;
}

.hero__content {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 125%;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  margin: 0 0 32px;
}

.hero__copy {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 420px;
  flex-shrink: 0;
  margin-top: 8px;
}

.hero__form {
  max-width: 380px;
}

.hero__label {
  display: block;
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.hero__input-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__input-row .btn {
  align-self: flex-start;
}

.hero__input {
  width: 100%;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--color-orange);
  background: var(--color-white);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-dark);
  outline: none;
  cursor: pointer;
}

.hero__input::placeholder {
  color: #d9a86a;
}

.hero__input:focus {
  border-color: var(--color-orange-dark);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.25);
}

/* ---------- Header Account Button ---------- */

.header-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.header-account-btn:hover {
  background: var(--color-green-dark);
  transform: translateY(-1px);
}


.header-account-btn--compact {
  margin-left: -12px;
}
.header-account-btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- Customer Dashboard ---------- */

.customer-dashboard-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.customer-dashboard-overlay[hidden] { display: none; }
.customer-dashboard {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.customer-dashboard-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  font-size: 1.5rem; color: #9ca3af;
  cursor: pointer; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.customer-dashboard-close:hover { background: #f3f4f6; color: var(--color-dark); }
.customer-dashboard-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}
.customer-dashboard-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.customer-dashboard-header h2 {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--color-dark); margin: 0;
}
.customer-dashboard-signout {
  margin-left: auto; background: none; border: 1px solid #e5e7eb;
  border-radius: 8px; padding: 8px 16px; font-size: 0.8rem;
  color: #6b7a70; cursor: pointer; font-family: var(--font-body);
}
.customer-dashboard-signout:hover { border-color: #ef4444; color: #ef4444; }
.cd-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
}
.cd-tab {
  padding: 10px 20px; background: none; border: none;
  font-family: var(--font-body); font-size: 0.9rem;
  color: #6b7a70; cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: color 0.2s, border-color 0.2s;
}
.cd-tab.is-active { color: var(--color-green); border-bottom-color: var(--color-green); font-weight: 600; }
.cd-tab:hover { color: var(--color-dark); }
.cd-tab-content { min-height: 200px; }
.cd-orders-list { display: flex; flex-direction: column; gap: 12px; }
.cd-order-card {
  background: #f9fafb; border-radius: 12px; padding: 16px;
  border: 1px solid #e5e7eb; transition: border-color 0.2s;
}
.cd-order-card:hover { border-color: var(--color-green); }
.cd-order-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.cd-order-ref { font-weight: 700; color: var(--color-dark); font-size: 0.95rem; }
.cd-order-badge {
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.cd-order-badge--completed { background: #d1fae5; color: #065f46; }
.cd-order-badge--cancelled { background: #fee2e2; color: #991b1b; }
.cd-order-badge--awaiting_payment { background: #fef3c7; color: #92400e; }
.cd-order-badge--paid { background: #dbeafe; color: #1e40af; }
.cd-order-badge--assigned { background: #e0e7ff; color: #3730a3; }
.cd-order-badge--picked_up { background: #ede9fe; color: #5b21b6; }
.cd-order-badge--refilling { background: #fce7f3; color: #9d174d; }
.cd-order-badge--delivered { background: #d1fae5; color: #065f46; }
.cd-order-detail { font-size: 0.85rem; color: #6b7a70; margin-bottom: 4px; }
.cd-order-actions { display: flex; gap: 8px; margin-top: 8px; }
.cd-btn-receipt {
  padding: 6px 14px; border-radius: 8px; border: 1px solid var(--color-green);
  background: #fff; color: var(--color-green); font-size: 0.8rem;
  font-weight: 600; cursor: pointer; font-family: var(--font-body);
  transition: background 0.2s;
}
.cd-btn-receipt:hover { background: #f0faf4; }
.cd-txn-card {
  background: #f9fafb; border-radius: 12px; padding: 14px 16px;
  border: 1px solid #e5e7eb; display: flex; justify-content: space-between;
  align-items: center;
}
.cd-txn-amount { font-weight: 700; color: var(--color-dark); }
.cd-txn-date { font-size: 0.8rem; color: #9ca3af; }
.cd-empty { text-align: center; color: #6b7a70; padding: 40px 0; font-size: 0.9rem; }
@media (max-width: 640px) {
  .customer-dashboard { padding: 20px; max-height: 95vh; }
  .customer-dashboard-header { flex-wrap: wrap; }
  .cd-tab { padding: 8px 14px; font-size: 0.85rem; }
}


.nav-account-link {
  display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    height: 100dvh;
    width: min(300px, 80vw);
    background: var(--color-bg-cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 100px 32px 32px;
    padding-top: max(100px, calc(env(safe-area-inset-top) + 60px));
    padding-right: max(32px, calc(env(safe-area-inset-right) + 32px));
    padding-bottom: max(32px, calc(env(safe-area-inset-bottom) + 32px));
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: block;
  }

  .site-header .btn {
    display: none;
  }

  .header-account-btn {
    display: none;
  }

  .nav-account-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(31, 157, 83, 0.08);
    border: 1px solid rgba(31, 157, 83, 0.15);
    transition: background 0.2s ease;
  }

  .nav-account-link:hover {
    background: rgba(31, 157, 83, 0.15);
  }

  .nav-account-link svg {
    flex-shrink: 0;
    color: var(--color-green);
  }

  .hero__content {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__copy {
    max-width: 100%;
    background: rgba(253, 246, 232, 0.85);
    border-radius: 16px;
    padding: 16px 20px;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__spacer--top {
    min-height: 150px;
    min-height: max(150px, calc(env(safe-area-inset-top) + 120px));
  }

  .hero__spacer--bottom {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  :root {
    --container-pad: 20px;
  }

  .hero__headline {
    font-size: 2.4rem;
  }
}

/* ---------- Mission ticker ---------- */

.mission-ticker {
  position: relative;
  background: var(--color-dark);
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid rgba(186, 206, 36, 0.18);
  border-bottom: 1px solid rgba(186, 206, 36, 0.18);
}

.mission-ticker::before,
.mission-ticker::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}

.mission-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--color-dark), transparent);
}

.mission-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--color-dark), transparent);
}

.mission-ticker__track {
  display: flex;
  width: max-content;
  --mission-ticker-distance: 50%;
  animation: mission-ticker-scroll 14s linear infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.mission-ticker__track--waiting {
  animation-play-state: paused;
}

.mission-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 16px;
  padding-right: 16px;
}

.mission-ticker__label {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: var(--color-lime);
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.mission-ticker__mission {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
}

.mission-ticker__value {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 16px;
  border-radius: 999px;
}

.mission-ticker__divider {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
}

@keyframes mission-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--mission-ticker-distance)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mission-ticker__track {
    animation: none;
  }
}

@media (max-width: 560px) {
  .mission-ticker {
    padding: 16px 0;
  }

  .mission-ticker::before,
  .mission-ticker::after {
    width: 32px;
  }

  .mission-ticker__group {
    gap: 12px;
    padding-right: 12px;
  }

  .mission-ticker__label {
    font-size: 0.62rem;
    padding: 6px 12px;
  }

  .mission-ticker__mission {
    font-size: 0.9rem;
  }

  .mission-ticker__value {
    font-size: 0.72rem;
    padding: 6px 12px;
  }
}

/* ---------- Why GoFillAm ---------- */

.why {
  position: relative;
  background-color: var(--color-white);
  padding: 100px 0 160px;
  overflow: hidden;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  color: var(--color-dark);
  margin: 0 0 72px;
}

.why__image {
  display: block;
  max-width: 560px;
  width: 100%;
  height: auto;
  aspect-ratio: 1350 / 1476;
  margin: 0 auto;
}

.why__image-wrap {
  animation: why-image-breathe 6s ease-in-out infinite;
}

@keyframes why-image-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .why__image-wrap {
    animation: none;
  }
}

/* ---------- How It Works ---------- */

.how {
  background: #1f2f2d;
  color: var(--color-white);
  padding: 100px 0 120px;
  overflow: hidden;
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 20px);
}

.how__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.how__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  margin: 0;
}

.how__nav {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.how__nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #01a049;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.how__nav-btn:hover:not(:disabled) {
  background: #018a3f;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(1, 160, 73, 0.35);
}

.how__nav-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.94);
  box-shadow: none;
}

.how__nav-btn:focus-visible {
  outline: 2px solid var(--color-lime);
  outline-offset: 3px;
}

.how__nav-btn:disabled {
  opacity: 0.35;
  box-shadow: none;
  cursor: not-allowed;
}

.how__nav-btn svg {
  width: 22px;
  height: 22px;
}

.step-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.step-row::-webkit-scrollbar {
  display: none;
}

.step-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  background: #172321;
  padding: 28px 24px 0;
  min-height: 460px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 180%;
  margin: 0 0 12px;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.2;
  color: white;
  margin: 0;
}

.step-card__image {
  margin-top: auto;
  align-self: center;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.step-row .step-card:nth-child(3) .step-card__image {
  align-self: flex-start;
}

.step-row .step-card:nth-child(4) .step-card__image {
  align-self: flex-start;
  margin-left: -24px;
}

@media (max-width: 560px) {
  .step-card {
    flex-basis: 240px;
    min-height: 400px;
  }

  .how__header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .how__nav-btn {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Feature panels ---------- */

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.features__panel {
  display: flex;
  align-items: center;
}

.features__panel--teal {
  background: #172321;
}

.features__panel--brown {
  background: var(--color-brown);
}

.features__panel-inner {
  padding: 96px 48px;
  color: var(--color-white);
}

.features__panel--teal .features__panel-inner {
  padding-left: max(
    var(--container-pad),
    calc((100vw - var(--container-width)) / 2 + var(--container-pad))
  );
  padding-right: 96px;
}

.features__panel--brown .features__panel-inner {
  padding-right: max(
    var(--container-pad),
    calc((100vw - var(--container-width)) / 2 + var(--container-pad))
  );
  padding-left: 120px;
}

.features__panel-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 180%;
  margin: 0 0 24px;
}

.features__panel-inner p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}

@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .features__panel-inner {
    padding: 64px var(--container-pad);
    max-width: 100%;
  }

  .features__panel--teal .features__panel-inner,
  .features__panel--brown .features__panel-inner {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }
}

/* ---------- Become a Rider ---------- */

.rider {
  padding-top: 60px;
  background: var(--color-dark-2);
  overflow: hidden;
}

.rider__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.rider__content {
  padding: 60px 0 140px;
  color: var(--color-white);
  max-width: 440px;
  overflow: visible;
}

.rider__content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 16px;
  white-space: nowrap;
}

.rider__content p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}

.rider__image {
  justify-self: end;
  max-width: 110%;
  width: auto;
  height: auto;
  aspect-ratio: 1546 / 1352;
}

@media (max-width: 900px) {
  .rider__grid {
    grid-template-columns: 1fr;
  }

  .rider__content {
    padding: 80px 0 24px;
    max-width: 100%;
  }

  .rider__content h2 {
    white-space: normal;
  }

  .rider__image {
    justify-self: center;
    width: 340px;
  }
}

/* ---------- Gallery ---------- */

.gallery {
  background: var(--color-bg-cream);
  padding: 120px 0;
}

.gallery__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.gallery__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin: 0 0 14px;
}

.gallery__header .section-title {
  margin-bottom: 16px;
}

.gallery__intro {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

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

.gallery__item {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-dark-2);
  box-shadow: 0 12px 28px rgba(28, 43, 37, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(9, 20, 15, 0.6), rgba(9, 20, 15, 0) 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__item-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-white);
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.gallery__item-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.gallery__item:hover,
.gallery__item:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(28, 43, 37, 0.22);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.06);
}

.gallery__item:hover .gallery__item-overlay,
.gallery__item:focus-visible .gallery__item-overlay {
  opacity: 1;
}

.gallery__item:hover .gallery__item-label,
.gallery__item:focus-visible .gallery__item-label {
  transform: translateY(0);
}

.gallery__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .gallery {
    padding: 90px 0;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .gallery__item-overlay {
    opacity: 1;
  }

  .gallery__item-label {
    transform: translateY(0);
  }
}

/* ---------- Gallery page ---------- */

.gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.gallery-page__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-page__figure {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-dark-2);
  box-shadow: 0 12px 28px rgba(28, 43, 37, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-page__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-page__figure:hover,
.gallery-page__figure:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(28, 43, 37, 0.22);
}

.gallery-page__figure:hover img,
.gallery-page__figure:focus-visible img {
  transform: scale(1.06);
}

.gallery-page__caption {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
}

@media (max-width: 560px) {
  .gallery-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ---------- Delivery journey map ---------- */

.journey {
  background: var(--color-white);
  padding: 110px 0;
  overflow: hidden;
}

.journey__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.journey__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin: 0 0 14px;
}

.journey__header .section-title {
  margin-bottom: 16px;
}

.journey__intro {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

.journey__map {
  max-width: 960px;
  margin: 0 auto;
}

.journey__map-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 450;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #fbf3e2 0%, #f2e7cd 100%);
  box-shadow: 0 24px 48px rgba(28, 43, 37, 0.12);
  border: 1px solid rgba(28, 43, 37, 0.06);
}

.journey__map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.journey__map-park {
  fill: var(--color-lime);
  opacity: 0.16;
}

.journey__map-tree {
  fill: var(--color-green-dark);
  opacity: 0.32;
}

.journey__map-hedge {
  fill: var(--color-lime);
  opacity: 0.28;
}

.journey__map-house-shadow {
  fill: rgba(28, 43, 37, 0.1);
}

.journey__map-house-wall {
  fill: var(--color-white);
  opacity: 0.6;
}

.journey__map-house-roof {
  fill: var(--color-orange);
  opacity: 0.45;
}

.journey__map-block {
  fill: var(--color-green);
  opacity: 0.1;
}

.journey__map-block-shadow {
  fill: rgba(28, 43, 37, 0.1);
}

.journey__map-road {
  fill: none;
  stroke: #e3d5b3;
  stroke-width: 5;
  stroke-linecap: round;
}

.journey__map-road--minor {
  stroke-width: 3;
  opacity: 0.7;
}

.journey__map-road-line {
  fill: none;
  stroke: #fffaf0;
  stroke-width: 1;
  stroke-dasharray: 2 7;
  opacity: 0.55;
}

.journey__map-dot {
  fill: #d8c8a0;
}

.journey__map-car {
  fill: rgba(28, 43, 37, 0.18);
}

.journey__route-glow {
  fill: none;
  stroke: var(--color-green-bright);
  stroke-width: 14;
  opacity: 0.16;
}

.journey__route {
  fill: none;
  stroke: var(--color-green);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 1 11;
  animation: journey-route-flow 0.9s linear infinite;
}

.journey__trail {
  fill: var(--color-green-bright);
  offset-path: path("M180,330 C260,180 460,110 620,140 C560,300 320,380 180,330 Z");
  offset-rotate: 0deg;
  animation: journey-ride 13s linear infinite;
  animation-fill-mode: backwards;
}

.journey__trail--1 {
  opacity: 0.32;
  animation-delay: 0.16s;
}

.journey__trail--2 {
  opacity: 0.2;
  animation-delay: 0.32s;
}

.journey__trail--3 {
  opacity: 0.1;
  animation-delay: 0.48s;
}

.journey__rider {
  offset-path: path("M180,330 C260,180 460,110 620,140 C560,300 320,380 180,330 Z");
  offset-rotate: auto;
  animation: journey-ride 13s linear infinite;
  will-change: offset-distance;
}

.journey__bike-bob {
  animation: journey-bike-bob 0.55s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.journey__bike-shadow {
  fill: rgba(28, 43, 37, 0.25);
}

.journey__bike-cargo {
  fill: var(--color-white);
  stroke: var(--color-green-dark);
  stroke-width: 1.2;
}

.journey__bike-cargo-dot {
  fill: var(--color-lime);
  opacity: 0.8;
  animation: journey-cargo-state 13s linear infinite;
}

.journey__bike-wheel {
  fill: #24312b;
}

.journey__bike-body {
  fill: var(--color-green);
  stroke: var(--color-white);
  stroke-width: 1.4;
  filter: drop-shadow(0 3px 6px rgba(28, 43, 37, 0.35));
}

.journey__bike-rider {
  fill: var(--color-dark);
}

.journey__bike-rider-helmet {
  fill: var(--color-white);
  stroke: var(--color-green-dark);
  stroke-width: 1;
}

.journey__bike-light {
  fill: #ffe08a;
}

.journey__stop {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: journey-float 3.2s ease-in-out infinite;
}

.journey__stop--customer {
  top: 73.3%;
  left: 22.5%;
}

.journey__stop--refill {
  top: 31.1%;
  left: 77.5%;
  animation-delay: 0.5s;
}

.journey__stop-label {
  display: inline-grid;
  justify-items: center;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 157, 83, 0.25);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(28, 43, 37, 0.1);
  margin-bottom: 6px;
  animation-duration: 13s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.journey__stop--customer .journey__stop-label {
  animation-name: journey-glow-customer;
}

.journey__stop--refill .journey__stop-label {
  animation-name: journey-glow-refill;
}

.journey__stop-label-text {
  grid-area: 1 / 1;
  animation-duration: 13s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.journey__stop-label-text--pickup {
  animation-name: journey-label-pickup-text;
}

.journey__stop-label-text--delivery {
  animation-name: journey-label-delivery-text;
}

.journey__stop-pin-wrap {
  position: relative;
  width: 14px;
  height: 14px;
}

.journey__stop-pin {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--color-green-dark);
  border: 1.5px solid var(--color-white);
  box-shadow: 0 3px 6px rgba(28, 43, 37, 0.25);
  transform: rotate(-45deg);
  z-index: 1;
}

.journey__stop-ping {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px;
  border-radius: 50%;
  background: rgba(31, 157, 83, 0.45);
  opacity: 0;
  pointer-events: none;
  animation-duration: 13s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.journey__stop--customer .journey__stop-ping {
  animation-name: journey-ping-customer;
}

.journey__stop--refill .journey__stop-ping {
  animation-name: journey-ping-refill;
}

.journey__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0;
}

.journey__step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-bg-cream);
  border: 1px solid rgba(28, 43, 37, 0.08);
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
}

.journey__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.journey__step strong {
  color: var(--color-green-dark);
}

@keyframes journey-ride {
  0%, 10% { offset-distance: 0%; }
  45% { offset-distance: 48%; }
  58% { offset-distance: 48%; }
  92%, 100% { offset-distance: 100%; }
}

@keyframes journey-bike-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

@keyframes journey-route-flow {
  to { stroke-dashoffset: -12; }
}

@keyframes journey-float {
  0%, 100% { transform: translate(-50%, -100%) translateY(0); }
  50% { transform: translate(-50%, -100%) translateY(-6px); }
}

@keyframes journey-glow-customer {
  0%, 8% { background: var(--color-green); color: var(--color-white); box-shadow: 0 8px 20px rgba(31, 157, 83, 0.4); transform: scale(1.18); }
  16% { background: var(--color-green); color: var(--color-white); box-shadow: 0 6px 16px rgba(31, 157, 83, 0.35); transform: scale(1.08); }
  24% { background: rgba(255, 255, 255, 0.92); color: var(--color-green-dark); box-shadow: 0 4px 10px rgba(28, 43, 37, 0.1); transform: scale(1); }
  82% { background: rgba(255, 255, 255, 0.92); color: var(--color-green-dark); box-shadow: 0 4px 10px rgba(28, 43, 37, 0.1); transform: scale(1); }
  90% { background: var(--color-green); color: var(--color-white); box-shadow: 0 6px 16px rgba(31, 157, 83, 0.35); transform: scale(1.08); }
  96%, 100% { background: var(--color-green); color: var(--color-white); box-shadow: 0 8px 20px rgba(31, 157, 83, 0.4); transform: scale(1.18); }
}

@keyframes journey-glow-refill {
  0%, 40% { background: rgba(255, 255, 255, 0.92); color: var(--color-green-dark); box-shadow: 0 4px 10px rgba(28, 43, 37, 0.1); transform: scale(1); }
  43% { background: var(--color-green); color: var(--color-white); box-shadow: 0 6px 16px rgba(31, 157, 83, 0.35); transform: scale(1.08); }
  46%, 57% { background: var(--color-green); color: var(--color-white); box-shadow: 0 8px 20px rgba(31, 157, 83, 0.4); transform: scale(1.18); }
  60% { background: var(--color-green); color: var(--color-white); box-shadow: 0 6px 16px rgba(31, 157, 83, 0.35); transform: scale(1.08); }
  66%, 100% { background: rgba(255, 255, 255, 0.92); color: var(--color-green-dark); box-shadow: 0 4px 10px rgba(28, 43, 37, 0.1); transform: scale(1); }
}

@keyframes journey-label-pickup-text {
  0%, 8% { opacity: 1; }
  16%, 88% { opacity: 0; }
  96%, 100% { opacity: 1; }
}

@keyframes journey-label-delivery-text {
  0%, 8% { opacity: 0; }
  16%, 88% { opacity: 1; }
  96%, 100% { opacity: 0; }
}

@keyframes journey-ping-customer {
  0% { opacity: 0.55; transform: scale(0.6); }
  8% { opacity: 0; transform: scale(1.9); }
  9%, 87% { opacity: 0; transform: scale(0.6); }
  91% { opacity: 0.55; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.9); }
}

@keyframes journey-ping-refill {
  0%, 40% { opacity: 0; transform: scale(0.6); }
  44% { opacity: 0.55; transform: scale(0.6); }
  52% { opacity: 0; transform: scale(1.9); }
  53%, 100% { opacity: 0; transform: scale(0.6); }
}

@keyframes journey-cargo-state {
  0%, 8% { fill: var(--color-white); opacity: 0.5; }
  16%, 43% { fill: var(--color-lime); opacity: 0.8; }
  46%, 87% { fill: var(--color-white); opacity: 0.5; }
  92%, 100% { fill: var(--color-lime); opacity: 0.8; }
}

@media (max-width: 900px) {
  .journey {
    padding: 80px 0;
  }

  .journey__map-viewport {
    border-radius: 20px;
  }

  .journey__stop-label {
    font-size: 0.56rem;
    padding: 4px 8px;
  }
}

@media (max-width: 560px) {
  .journey__step {
    font-size: 0.82rem;
    padding: 8px 14px 8px 8px;
  }

  .journey__stop-pin-wrap {
    width: 11px;
    height: 11px;
  }

  .journey__stop-pin {
    width: 11px;
    height: 11px;
  }

  .journey__stop-ping {
    width: 11px;
    height: 11px;
    margin: -5.5px;
  }
}

/* ---------- FAQs ---------- */

.faqs {
  background: var(--color-white);
  padding: 120px 0;
}

.faqs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.faqs__intro h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 180%;
  color: #4b6357;
  margin: 0 0 24px;
}

.faqs__intro p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 400px;
  margin: 0;
}

.faq-list {
  border-top: 1px solid #e4e0d6;
}

.faq-item {
  border-bottom: 1px solid #e4e0d6;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.faq-item__question:hover {
  color: var(--color-green);
}

.faq-item__icon {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #c7cdc8;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #8b948e;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.faq-item__icon::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-item__icon {
  border-color: var(--color-green);
}

.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after {
  background: var(--color-green);
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item__answer p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding-right: 46px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
  padding-bottom: 20px;
}

@media (max-width: 860px) {
  .faqs__grid {
    grid-template-columns: 1fr;
  }

  .faqs__intro p {
    max-width: 100%;
  }
}

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--color-brown);
  padding: 100px 0;
  overflow: hidden;
}

.newsletter__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
}

.newsletter__content {
  max-width: 520px;
  color: var(--color-white);
}

.newsletter__content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 180%;
  margin: 0 0 24px;
}

.newsletter__content p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}

.newsletter__input-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  max-width: 560px;
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-dark);
  outline: none;
}

.newsletter__input::placeholder {
  color: #9ba39d;
}

.newsletter__input-row .btn {
  flex-shrink: 0;
}



.newsletter__disclaimer {
  margin: 16px 0 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

.newsletter__disclaimer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.newsletter__success {
  margin: 16px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

.newsletter__already {
  margin: 16px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #a0d8b4;
}

.newsletter__error {
  margin: 16px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffb4a8;
}

.newsletter__image {
  justify-self: end;
  width: 380px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

@media (max-width: 860px) {
  .newsletter {
    padding: 56px 0;
  }

  .newsletter__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .newsletter__content {
    max-width: 100%;
  }

  .newsletter__image {
    order: -1;
    justify-self: start;
    width: 72px;
  }
}

@media (max-width: 520px) {
  .newsletter {
    padding: 48px 0;
  }

  .newsletter__content h2 {
    font-size: 2rem;
  }

  .newsletter__content p {
    font-size: 1.05rem;
  }

  .newsletter__input-row {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .newsletter__input-row .newsletter__input {
    flex: 1;
    width: 100%;
    min-width: 0;
    border-radius: 999px;
    margin-left: 0;
    padding: 16px 28px;
    box-sizing: border-box;
  }
  .newsletter__input-row .btn {
    flex: none;
    width: 100%;
    border-radius: 999px;
    margin-left: 0;
  }






  .newsletter__input-row .btn__label {
    flex: 1;
    justify-content: center;
  }

  .newsletter__image {
    width: 56px;
  }
}

/* ---------- Coverage Map ---------- */

.coverage {
  background: var(--color-bg-cream);
  padding: 100px 0;
  overflow: hidden;
}

.coverage__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
}

.coverage__content {
  max-width: 480px;
}

.coverage__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin: 0 0 14px;
}

.coverage__title {
  text-align: left;
  margin: 0 0 20px;
}

.coverage__content p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0 0 20px;
}

.coverage__legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid rgba(31, 157, 83, 0.25);
  border-radius: 999px;
  padding: 8px 16px;
}

.coverage__legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-green-bright);
  box-shadow: 0 0 0 4px rgba(6, 186, 87, 0.18);
}

.coverage__map-viewport {
  position: relative;
  aspect-ratio: 300 / 260;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #fbf3e2 0%, #f2e7cd 100%);
  box-shadow: 0 24px 48px rgba(28, 43, 37, 0.12);
  border: 1px solid rgba(28, 43, 37, 0.06);
}

.coverage__map-inner {
  position: absolute;
  inset: 0;
  animation: coverage-map-zoom 8s ease-in-out infinite;
}

.coverage__map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.coverage__map-river {
  fill: none;
  stroke: #c3ddda;
  stroke-width: 11;
  stroke-linecap: round;
  opacity: 0.75;
}

.coverage__map-road {
  fill: none;
  stroke: #e3d5b3;
  stroke-width: 5;
  stroke-linecap: round;
}

.coverage__map-block {
  fill: var(--color-green);
  opacity: 0.09;
}

.coverage__poi {
  position: absolute;
  width: 0;
  height: 0;
}

.coverage__poi--1 { top: 20%; left: 18%; }
.coverage__poi--2 { top: 66%; left: 74%; }
.coverage__poi--3 { top: 82%; left: 30%; }
.coverage__poi--4 { top: 18%; left: 76%; }

.coverage__poi-pin {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50% 50% 50% 0;
  background: var(--color-green-dark);
  border: 1.5px solid var(--color-white);
  box-shadow: 0 3px 6px rgba(28, 43, 37, 0.25);
  transform: translate(-50%, -4px) rotate(-45deg);
}

.coverage__poi-label {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  background: rgba(253, 246, 232, 0.85);
  padding: 2px 6px;
  border-radius: 6px;
}

.coverage__pin-wrap {
  position: absolute;
  top: 48%;
  left: 48%;
  width: 0;
  height: 0;
}

.coverage__pin-ping {
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: rgba(229, 52, 42, 0.45);
  animation: coverage-pin-ping 2.4s ease-out infinite;
}

.coverage__pin-shadow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 28px;
  height: 9px;
  border-radius: 50%;
  background: rgba(28, 43, 37, 0.3);
  filter: blur(1px);
  transform: translateX(-50%);
  animation: coverage-pin-shadow 2.2s ease-in-out infinite;
}

.coverage__pin {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #ff6a52, #e5342a);
  box-shadow: 0 10px 18px rgba(197, 38, 23, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.15), inset 0 2px 3px rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -8px) rotate(-45deg);
  animation: coverage-pin-jump 2.2s ease-in-out infinite;
  z-index: 2;
}

.coverage__pin img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(45deg);
  filter: brightness(0) invert(1);
}

.coverage__pin-label {
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

@keyframes coverage-map-zoom {
  0%, 20% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  80%, 100% {
    transform: scale(1);
  }
}

@keyframes coverage-pin-jump {
  0%, 22%, 100% {
    transform: translate(-50%, -8px) rotate(-45deg);
  }
  10% {
    transform: translate(-50%, -26px) rotate(-45deg);
  }
}

@keyframes coverage-pin-shadow {
  0%, 22%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.32;
  }
  10% {
    transform: translateX(-50%) scale(0.55);
    opacity: 0.16;
  }
}

@keyframes coverage-pin-ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .coverage__grid {
    grid-template-columns: 1fr;
  }

  .coverage__content {
    max-width: 100%;
  }

  .coverage__title {
    text-align: center;
  }

  .coverage__content p {
    text-align: center;
  }

  .coverage__legend {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
  }

  .coverage__map-viewport {
    max-width: 380px;
  }
}

@media (max-width: 560px) {
  .coverage {
    padding: 64px 0;
  }

  .coverage__grid {
    gap: 28px;
  }

  .coverage__map-viewport {
    max-width: 300px;
    border-radius: 20px;
  }

  .coverage__pin {
    width: 38px;
    height: 38px;
  }

  .coverage__pin img {
    width: 20px;
    height: 20px;
  }

  .coverage__pin-label {
    font-size: 0.68rem;
    padding: 4px 10px;
    bottom: 58px;
  }

  .coverage__poi-pin {
    width: 12px;
    height: 12px;
  }

  .coverage__poi-label {
    font-size: 0.56rem;
    padding: 1px 5px;
  }
}

@media (max-width: 380px) {
  .coverage__map-viewport {
    max-width: 100%;
  }

  .coverage__poi-label {
    display: none;
  }
}

/* ---------- WhatsApp Channel CTA ---------- */

.whatsapp-cta {
  background: var(--color-bg-cream);
  padding: 80px 0 100px;
}

.whatsapp-cta__grid {
  display: flex;
  justify-content: center;
}

.whatsapp-cta__card {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 720px;
  width: 100%;
  background: var(--color-white);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(28, 43, 37, 0.08);
}

.whatsapp-cta__qr {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  border-radius: 20px;
  overflow: hidden;
}

.whatsapp-cta__qr img {
  display: block;
  width: 220px;
  height: 220px;
}

.whatsapp-cta__copy {
  text-align: left;
}

.whatsapp-cta__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin: 0 0 8px;
}

.whatsapp-cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.3;
  color: var(--color-dark);
  margin: 0 0 12px;
}

.whatsapp-cta__text {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0 0 20px;
}

.whatsapp-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-green-dark);
  text-decoration: none;
}

.whatsapp-cta__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.whatsapp-cta__link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 700px) {
  .whatsapp-cta {
    padding: 56px 0;
  }

  .whatsapp-cta__card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .whatsapp-cta__copy {
    text-align: center;
  }

  .whatsapp-cta__qr img {
    width: 180px;
    height: 180px;
  }
}

/* ---------- CAC Incorporation Badge ---------- */

.cac-badge {
  background: var(--color-bg-cream);
  padding: 0 0 72px;
  display: flex;
  justify-content: center;
}

.cac-badge__pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-white);
  border: 1px solid rgba(22, 128, 63, 0.18);
  border-radius: 999px;
  padding: 14px 26px;
  box-shadow: 0 12px 30px rgba(28, 43, 37, 0.06);
}

.cac-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--color-green-dark);
  flex-shrink: 0;
}

.cac-badge__icon svg {
  width: 100%;
  height: 100%;
}

.cac-badge__text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}

@media (max-width: 560px) {
  .cac-badge {
    padding: 0 20px 56px;
  }

  .cac-badge__pill {
    text-align: center;
    padding: 16px 20px;
  }

  .cac-badge__text {
    font-size: 0.88rem;
  }
}

/* ---------- Social Links ---------- */

.social-links {
  background: var(--color-bg-cream);
  padding: 0 0 80px;
  display: flex;
  justify-content: center;
}

.social-links__row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.social-links__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid rgba(22, 128, 63, 0.18);
  color: var(--color-green-dark);
  box-shadow: 0 12px 30px rgba(28, 43, 37, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-links__icon:hover,
.social-links__icon:focus-visible {
  background: var(--color-green-dark);
  color: var(--color-white);
  transform: translateY(-3px);
}

.social-links__icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 560px) {
  .social-links {
    padding: 0 20px 64px;
  }

  .social-links__row {
    gap: 12px;
  }

  .social-links__icon {
    width: 40px;
    height: 40px;
  }

  .social-links__icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background-color: #fdf1dc;
  background-image: url("/assets/footer.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  padding-top: 72px;
  aspect-ratio: 2880 / 1370;
}

@media (max-width: 960px) {
  .site-footer {
    background-image: url("/assets/footer.png");
  }
}

@media (max-width: 560px) {
  .site-footer {
    background-image: url("/assets/footer.png");
  }
}

.site-footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
  padding-bottom: 80px;
}

.site-footer__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3rem;
  line-height: 4.75rem;
  color: var(--color-dark);
  margin: 0 0 16px;
}

.site-footer__badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.store-badge {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
}

.store-badge img {
  height: 60px;
  width: auto;
}

.site-footer__tagline {
  font-size: 1.25rem;
  color: var(--color-dark);
  margin: 0;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.site-footer__nav a {
  background: var(--color-white);
  padding: 10px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: background-color 0.2s ease;
}

.site-footer__nav a:hover {
  background: #f2ead9;
}

@media (max-width: 900px) {
  .site-footer {
    aspect-ratio: auto;
    min-height: 85vh;
    min-height: 85dvh;
    padding-top: 64px;
    background-size: contain;
  }

  .site-footer__content {
    height: 100%;
    justify-content: flex-start;
    gap: 28px;
    padding-bottom: 56px;
  }

  .site-footer__eyebrow {
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 0;
  }

  .site-footer__badges {
    gap: 16px;
    margin-bottom: 0;
  }

  .store-badge img {
    height: 44px;
  }

  .site-footer__tagline {
    background: rgba(253, 246, 232, 0.95);
    border-radius: 12px;
    padding: 10px 20px;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(28, 43, 37, 0.08);
  }

  .site-footer__nav {
    margin-top: 0;
    gap: 12px;
  }
}

/* ---------- Legal bar ---------- */

.legal-bar {
  background: var(--color-dark);
}

.legal-bar__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.legal-bar__copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.legal-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.legal-bar__nav a,
.legal-bar__cookie-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}

.legal-bar__nav a:hover,
.legal-bar__cookie-btn:hover {
  color: var(--color-lime);
}

@media (max-width: 560px) {
  .legal-bar__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: max(24px, calc(env(safe-area-inset-left) + 12px));
  right: max(24px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 200;
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-dark);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__text a {
  color: var(--color-lime);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner__btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cookie-banner__btn:hover {
  transform: translateY(-1px);
}

.cookie-banner__btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.cookie-banner__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.cookie-banner__btn--solid {
  background: var(--color-green);
  color: var(--color-white);
}

.cookie-banner__btn--solid:hover {
  background: var(--color-green-dark);
}

@media (max-width: 560px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 20px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}

/* ---------- Back to Top (centered under AMMA chat) ---------- */
.back-to-top {
  position: fixed;
  right: max(34px, calc(env(safe-area-inset-right) + 22px));
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(31,157,83,0.3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
}
.back-to-top:active {
  transform: scale(0.9);
  transition: transform 0.1s ease;
}
@keyframes scrollPulse {
  0% { box-shadow: 0 0 0 0 rgba(10,143,60,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(10,143,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(10,143,60,0); }
}
.back-to-top.visible {
  animation: scrollPulse 0.6s ease-out;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 560px) {
  .back-to-top {
    right: max(23px, calc(env(safe-area-inset-right) + 11px));
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
    width: 44px;
    height: 44px;
  }
}


/* ── Notification Toast Banner (top slide-in) ── */
.notif-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--color-green, #1f9d53);
  color: #fff;
  box-shadow: 0 4px 20px rgba(31, 157, 83, 0.35);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  pointer-events: none;
  overflow: hidden;
}
.notif-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.notif-banner.is-dismissing {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.55, 0, 1, 0.45), opacity 0.3s ease;
}
.notif-banner__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.notif-banner__body {
  flex: 1;
  min-width: 0;
}
.notif-banner__title {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.notif-banner__message {
  margin: 2px 0 0;
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-banner__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.notif-banner__close:hover {
  background: rgba(255,255,255,0.3);
}
.notif-banner__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,0.5);
  width: 100%;
  transform-origin: left;
  transition: transform 10s linear;
}
.notif-banner.is-visible .notif-banner__progress {
  transform: scaleX(0);
}
@media (max-width: 600px) {
  .notif-banner { padding: 12px 14px; gap: 10px; }
  .notif-banner__icon { width: 30px; height: 30px; font-size: 15px; }
  .notif-banner__title { font-size: 13px; }
  .notif-banner__message { font-size: 12px; }
}

/* ---------- AMMA support chat ---------- */

.amma-chat {
  position: fixed;
  right: max(24px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(96px, calc(env(safe-area-inset-bottom) + 84px));
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.amma-chat__toggle {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--color-green-bright), var(--color-green) 55%, var(--color-green-dark));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 36px rgba(28, 43, 37, 0.32), 0 0 0 6px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  flex-shrink: 0;
  animation: amma-toggle-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both, amma-toggle-float 3.4s ease-in-out 0.5s infinite;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.amma-chat__toggle::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--color-green-bright);
  opacity: 0;
  animation: amma-toggle-pulse 2.6s ease-out infinite;
}

.amma-chat.is-open .amma-chat__toggle::before {
  animation: none;
  opacity: 0;
}

.amma-chat__toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 22px 40px rgba(28, 43, 37, 0.36), 0 0 0 6px rgba(255, 255, 255, 0.6);
}

.amma-chat.is-open .amma-chat__toggle {
  animation: none;
}

@keyframes amma-toggle-in {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(24px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes amma-toggle-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes amma-toggle-pulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.amma-chat__toggle-icon {
  position: absolute;
  display: flex;
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.amma-chat__toggle-icon svg {
  width: 28px;
  height: 28px;
}

.amma-chat__toggle-icon--chat {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.amma-chat__toggle-icon--chat img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.amma-chat__toggle-icon--close {
  opacity: 0;
  transform: scale(0.6) rotate(-45deg);
}

.amma-chat.is-open .amma-chat__toggle-icon--chat {
  opacity: 0;
  transform: scale(0.6) rotate(45deg);
}

.amma-chat.is-open .amma-chat__toggle-icon--close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.amma-chat__toggle-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--color-lime);
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: 0.58rem;
  line-height: 1.4;
  box-shadow: 0 0 0 3px var(--color-bg-cream);
  transition: opacity 0.2s ease;
  animation: amma-badge-wobble 2.6s ease-in-out infinite;
}

@keyframes amma-badge-wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-6deg);
  }
}

.amma-chat.is-open .amma-chat__toggle-badge {
  opacity: 0;
}

.amma-chat__panel {
  width: min(392px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(28, 43, 37, 0.38), 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1), transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.amma-chat.is-open .amma-chat__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.amma-chat__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  background: linear-gradient(120deg, var(--color-dark-2), var(--color-dark) 70%);
  color: var(--color-white);
  overflow: hidden;
  flex-shrink: 0;
}

.amma-chat__header::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 186, 87, 0.35), transparent 70%);
  pointer-events: none;
}

.amma-chat__header-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.amma-chat__avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 0 0 3px rgba(186, 206, 36, 0.4);
}

.amma-chat__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.amma-chat__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.amma-chat__status {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
}

.amma-chat__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green-bright);
  box-shadow: 0 0 0 3px rgba(6, 186, 87, 0.25);
  flex-shrink: 0;
  animation: amma-status-blink 1.8s ease-in-out infinite;
}

@keyframes amma-status-blink {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(6, 186, 87, 0.25);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(6, 186, 87, 0.12);
  }
}

.amma-chat__close {
  position: relative;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.amma-chat__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.amma-chat__close svg {
  width: 16px;
  height: 16px;
}

.amma-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, var(--color-bg-cream), #fff8ec);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.amma-chat__bubble {
  max-width: 84%;
  min-width: 0;
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  animation: amma-bubble-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes amma-bubble-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.amma-chat__bubble--bot {
  align-self: flex-start;
  background: var(--color-white);
  color: var(--color-dark);
  border-bottom-left-radius: 4px;
  border-left: 3px solid var(--color-lime);
  box-shadow: 0 6px 16px rgba(28, 43, 37, 0.1);
}

.amma-chat__bubble--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--color-green-bright), var(--color-green-dark));
  color: var(--color-white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 16px rgba(28, 43, 37, 0.18);
}

.amma-chat__bubble--typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 14px 16px;
}

.amma-chat__bubble--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
  opacity: 0.5;
  animation: amma-typing 1s infinite ease-in-out;
}

.amma-chat__bubble--typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.amma-chat__bubble--typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes amma-typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.amma-chat__actions {
  align-self: flex-start;
  max-width: 84%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amma-chat__action {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--color-green-dark);
  background: var(--color-white);
  color: var(--color-green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.amma-chat__action:hover {
  background: var(--color-green-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

.amma-chat__flyers {
  align-self: flex-start;
  max-width: 84%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.amma-chat__flyer {
  width: 130px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 6px 16px rgba(28, 43, 37, 0.1);
  border-left: 3px solid var(--color-lime);
}

.amma-chat__flyer img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.amma-chat__flyer figcaption {
  padding: 8px 10px;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--color-text-muted);
}

.amma-chat__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--color-white);
  border-top: 1px solid rgba(28, 43, 37, 0.08);
}

.amma-chat__input {
  flex: 1;
  border: 1.5px solid rgba(28, 43, 37, 0.14);
  border-radius: 999px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  background: var(--color-bg-cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.amma-chat__input:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(31, 157, 83, 0.15);
}

.amma-chat__send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--color-green-bright), var(--color-green-dark));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(28, 43, 37, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.amma-chat__send:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 8px 20px rgba(28, 43, 37, 0.28);
}

.amma-chat__send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.amma-chat__send svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 560px) {
  .amma-chat {
    right: 16px;
    bottom: 84px;
    gap: 12px;
  }

  .amma-chat__toggle {
    width: 58px;
    height: 58px;
  }

  .amma-chat__toggle-icon--chat img {
    width: 28px;
    height: 28px;
  }

  .amma-chat__panel {
    width: min(360px, calc(100vw - 16px));
    max-height: min(480px, calc(100vh - 160px));
    border-radius: 20px;
  }

  .amma-chat__messages {
    padding: 16px;
  }

  .amma-chat__bubble {
    font-size: 0.85rem;
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amma-chat__toggle,
  .amma-chat__toggle::before,
  .amma-chat__toggle-badge,
  .amma-chat__status-dot,
  .amma-chat__bubble {
    animation: none !important;
  }

  .coverage__map-inner,
  .coverage__pin,
  .coverage__pin-shadow,
  .coverage__pin-ping {
    animation: none !important;
  }

  .journey__rider,
  .journey__bike-bob,
  .journey__bike-cargo-dot,
  .journey__trail,
  .journey__route,
  .journey__stop,
  .journey__stop-label,
  .journey__stop-label-text,
  .journey__stop-ping {
    animation: none !important;
  }

  .journey__trail {
    opacity: 0 !important;
  }

  .journey__stop-ping {
    opacity: 0 !important;
  }

  .journey__stop-label-text--pickup {
    opacity: 1 !important;
  }

  .journey__stop-label-text--delivery {
    opacity: 0 !important;
  }
}

/* ---------- Legal / info pages ---------- */

.legal-page {
  background: var(--color-white);
  padding-bottom: 100px;
}

.legal-page__intro-band {
  position: relative;
  overflow: hidden;
  background: var(--color-dark-2);
  padding: 160px 0 72px;
}

.legal-page__intro-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--color-green);
  opacity: 0.35;
  filter: blur(10px);
  pointer-events: none;
}

.legal-page__intro {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.legal-page__eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: var(--color-lime);
  padding: 7px 20px;
  border-radius: 999px;
  margin: 0 0 22px;
}

.legal-page__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1.55;
  color: var(--color-white);
  margin: 0 0 16px;
}

.legal-page__updated {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.legal-page__body {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 56px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-page__body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-dark);
  margin: 48px 0 16px;
}

.legal-page__body h2:first-child {
  margin-top: 0;
}

.legal-page__body p {
  margin: 0 0 16px;
}

.legal-page__body ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-page__body li {
  margin-bottom: 8px;
}

.legal-page__body a {
  color: var(--color-green);
  text-decoration: underline;
}

.legal-page__cta {
  margin-top: 32px;
}

.partnership-section {
  padding: 56px 0 0;
  border-top: 1px solid #e4e0d6;
}

.partnership-section:first-of-type {
  padding-top: 0;
  border-top: none;
}

p.partnership-section__eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin: 0 0 8px;
}

.partnership-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.partnership-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partnership-form__row--split {
  display: flex;
  gap: 16px;
}

.partnership-form__row--split .partnership-form__field {
  flex: 1;
  min-width: 0;
}

.partnership-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}

.partnership-form__field input,
.partnership-form__field select,
.partnership-form__field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-dark);
  border: 1px solid #d8d3c6;
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--color-white);
}

.partnership-form__field textarea {
  resize: vertical;
  min-height: 90px;
}

.partnership-form__field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%233a453f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

.partnership-form__field select:invalid {
  color: #a8a196;
}

.partnership-form__hint {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.partnership-form__hint--inline {
  display: inline;
}

.partnership-form .btn {
  align-self: flex-start;
}

.partnership-form__success {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-green-dark);
}

.partnership-form__error {
  margin: 12px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #b3261e;
}

.partnership-loi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.partnership-loi__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (max-width: 560px) {
  .partnership-form__row--split {
    flex-direction: column;
    gap: 16px;
  }

  .partnership-form .btn {
    align-self: stretch;
    justify-content: space-between;
    margin-top: 4px;
  }

  .partnership-form .btn .btn__label {
    flex: 1;
    justify-content: center;
    padding: 16px 24px;
    text-align: center;
    line-height: 1.35;
  }
}

.legal-page__body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin: 32px 0 12px;
}

.partnership-section .partnership-hero-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--color-green-dark);
  margin: 0 0 20px;
}

.partnership-quote {
  border-left: 3px solid var(--color-lime);
  margin: 0 0 24px;
  padding: 2px 0 2px 18px;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-dark);
}

.partnership-section .partnership-highlight {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--color-green-dark);
  margin: 4px 0 24px;
}

.partnership-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}

.partnership-pillars__item {
  background: var(--color-bg-cream);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 8px 20px rgba(28, 43, 37, 0.08);
}

.partnership-pillars__item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-green-dark);
  margin: 0 0 8px;
}

.partnership-pillars__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.partnership-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}

.partnership-facts__item {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--color-white);
  border: 1px solid #e4e0d6;
  border-radius: 14px;
  padding: 16px 18px;
}

.partnership-facts__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.partnership-facts__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.partnership-cta {
  background: var(--color-bg-cream);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  margin: 48px 0 32px;
}

.partnership-cta__title {
  margin: 0 0 8px !important;
}

.partnership-cta__text {
  margin: 0 0 24px;
  color: var(--color-text-muted);
}

.partnership-investor-form {
  margin-top: 32px;
}

.partnership-investor-form > .partnership-form__hint {
  display: block;
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.partnership-section .partnership-disclaimer {
  margin: 44px 0 0;
  padding-top: 24px;
  border-top: 1px solid #e4e0d6;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 560px) {
  .partnership-cta {
    padding: 32px 20px;
  }

  .partnership-section .partnership-disclaimer {
    margin-top: 32px;
    padding-top: 20px;
  }
}

.loi-render-root {
  position: fixed;
  top: 0;
  left: -10000px;
  z-index: -1;
  pointer-events: none;
}

.loi-doc {
  width: 680px;
  box-sizing: border-box;
  padding: 48px 56px;
  background: var(--color-white);
  font-family: var(--font-body);
  color: var(--color-dark);
  line-height: 1.7;
}

.loi-doc__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--color-green);
  padding-bottom: 18px;
  margin-bottom: 32px;
}

.loi-doc__logo-img {
  height: 44px;
  display: block;
}

.loi-doc__date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.loi-doc__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-green-dark);
  margin: 0 0 24px;
}

.loi-doc p {
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.loi-doc__details {
  background: var(--color-bg-cream);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0 28px;
}

.loi-doc__details p {
  margin: 4px 0;
}

.loi-doc__steps {
  margin: 0 0 24px;
  padding-left: 20px;
}

.loi-doc__steps li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.loi-doc__disclaimer {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.loi-doc__footer-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}

.loi-doc__signature-line {
  margin-top: 44px;
  border-top: 1px solid var(--color-dark);
  width: 240px;
  padding-top: 6px;
  font-size: 0.82rem;
}

.loi-stamp {
  position: relative;
  width: 150px;
  flex-shrink: 0;
  transform: rotate(-9deg);
  opacity: 0.85;
}

.loi-stamp__logo {
  width: 100%;
  height: auto;
  display: block;
}

.careers__roles {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.careers__role-card {
  border: 1px solid #e4e0d6;
  border-radius: 16px;
  padding: 4px 28px;
}

.careers__role-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
}

.careers__role-toggle-title h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin: 0 0 4px;
}

.careers__role-toggle-title p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.careers__role-icon {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #c7cdc8;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.careers__role-icon::before,
.careers__role-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #8b948e;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.careers__role-icon::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.careers__role-icon::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.careers__role-card.is-open .careers__role-icon {
  border-color: var(--color-green);
}

.careers__role-card.is-open .careers__role-icon::before,
.careers__role-card.is-open .careers__role-icon::after {
  background: var(--color-green);
}

.careers__role-card.is-open .careers__role-icon::after {
  opacity: 0;
}

.careers__role-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.careers__role-detail-inner {
  min-height: 0;
  overflow: hidden;
}

.careers__role-card.is-open .careers__role-detail {
  grid-template-rows: 1fr;
  padding-bottom: 28px;
}

.careers__role-description {
  margin: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.careers__role-detail-inner h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
  margin: 0 0 8px;
}

.careers__role-detail-inner ul {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  padding-left: 20px;
}

.careers__role-detail-inner li {
  margin-bottom: 6px;
}

.careers__apply-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.careers__apply-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.careers__apply-row--split {
  display: flex;
  gap: 16px;
}

.careers__apply-row--split .careers__apply-field {
  flex: 1;
  min-width: 0;
}

.careers__apply-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}

.careers__apply-field input,
.careers__apply-field select,
.careers__apply-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-dark);
  border: 1px solid #d8d3c6;
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--color-white);
}

.careers__apply-field textarea {
  resize: vertical;
  min-height: 90px;
}

.careers__apply-field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%233a453f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

.careers__apply-field select:invalid {
  color: #a8a196;
}

.careers__apply-field input[type="file"] {
  padding: 8px;
  cursor: pointer;
}

.careers__apply-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
}

.careers__apply-hint {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.careers__apply-hint--inline {
  display: inline;
}

.careers__apply-form .btn {
  align-self: flex-start;
}

.careers__apply-success {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-green-dark);
}

.careers__apply-error {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #b3261e;
}

@media (max-width: 560px) {
  .legal-page {
    padding-bottom: 64px;
  }

  .legal-page__intro-band {
    padding: 130px 0 48px;
  }

  .legal-page__body {
    padding-top: 40px;
  }

  .careers__role-card {
    padding: 4px 20px;
  }

  .careers__apply-row--split {
    flex-direction: column;
    gap: 16px;
  }

  .careers__apply-form .btn {
    align-self: stretch;
  }
}

/* ---------- Order Modal ---------- */

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 35, 33, 0.6);
}

.order-modal.is-open {
  display: flex;
  animation: backdrop-fade-in 0.3s ease forwards;
}

body.has-modal-open,
body.has-nav-open {
  overflow: hidden;
}

.order-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  background: var(--color-white);
  border-radius: 20px;
  padding: 36px 32px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 56px rgba(28, 43, 37, 0.28);
  animation: modal-slide-up 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.order-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #f2f2f2;
  color: var(--color-dark);
  cursor: pointer;
  z-index: 1;
}

.order-modal__close:hover {
  background: #e6e6e6;
}

.order-modal__close svg {
  width: 18px;
  height: 18px;
}

.order-modal__tabs {
  position: relative;
  display: flex;
  background: #fbfbfb;
  border: 1px solid #dfdfdf;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
}

.order-modal__tabs-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: #dd7a1d;
  border-radius: 999px;
  transition: transform 0.32s cubic-bezier(0.65, 0, 0.35, 1), background-color 0.25s ease;
}

.order-modal__tabs.is-individual-active .order-modal__tabs-indicator {
  transform: translateX(100%);
  background: var(--color-green);
}

.order-modal__tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  border: none;
  background: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.order-modal__tab-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.order-modal__tab.is-active {
  color: var(--color-white);
}

.order-modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--color-dark);
  margin: 0 0 8px;
}

.order-modal__subtitle {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.order-form__row--split {
  display: flex;
  gap: 12px;
}

.order-form__row--split .order-form__field {
  flex: 1;
}

.order-form__field {
  display: block;
  margin-bottom: 16px;
}

.order-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.order-form__required {
  color: #e14b4b;
}

.order-form__hint {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 0.85em;
}

.order-form__field input,
.order-form__field select,
.order-form__field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #dcd5c4;
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  outline: none;
}

.order-form__field textarea {
  resize: vertical;
  min-height: 72px;
}

.order-form__field input::placeholder,
.order-form__field textarea::placeholder {
  color: #a8a196;
}

.order-form__field input:focus,
.order-form__field select:focus,
.order-form__field textarea:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.2);
}

.order-form__field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%233a453f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  color: var(--color-dark);
}

.order-form__field select:invalid {
  color: #a8a196;
}

.order-form__submit {
  width: 100%;
  margin-top: 8px;
}

.order-modal__view {
  transition: opacity 0.18s ease;
}

.order-modal__view.is-fading-out {
  opacity: 0;
}

.order-modal__success-view {
  text-align: center;
  padding: 24px 0 8px;
}

@keyframes order-success-pop {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(12px);
  }
  60% {
    opacity: 1;
    transform: scale(1.06) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes order-success-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-modal__success-view.is-fading-in .order-modal__badge {
  animation: order-success-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.order-modal__success-view.is-fading-in .order-modal__success-title {
  animation: order-success-fade-up 0.4s ease both;
  animation-delay: 0.15s;
}

.order-modal__success-view.is-fading-in .order-modal__success-copy {
  animation: order-success-fade-up 0.4s ease both;
  animation-delay: 0.25s;
}

.order-modal__badge {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.order-modal__success-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--color-dark);
  margin: 0 0 8px;
}

.order-modal__success-copy {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 320px;
  margin: 0 auto;
}

.order-modal__whatsapp-fallback {
  margin: 20px auto 0;
  display: inline-flex;
}

.order-modal__success-view.is-fading-in .order-modal__whatsapp-fallback {
  animation: order-success-fade-up 0.4s ease both;
  animation-delay: 0.35s;
}

.order-modal__preparing-view {
  text-align: center;
  padding: 32px 0 8px;
}

.order-preparing__spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 4px solid rgba(31, 157, 83, 0.15);
  border-top-color: var(--color-green);
  color: var(--color-green);
  animation: order-preparing-spin 0.9s linear infinite;
}

@keyframes order-preparing-spin {
  to {
    transform: rotate(360deg);
  }
}

.order-preparing__check {
  width: 26px;
  height: 26px;
  opacity: 0;
  transform: scale(0.5);
}

.order-preparing__spinner.is-done {
  border-color: var(--color-green);
  background: rgba(31, 157, 83, 0.12);
  animation: none;
}

.order-preparing__spinner.is-done .order-preparing__check {
  animation: order-preparing-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes order-preparing-check-pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 560px) {
  .order-modal {
    padding: 16px;
  }

  .order-modal__dialog {
    padding: 28px 20px;
  }

  .order-form__row--split {
    flex-direction: column;
    gap: 0;
  }

  .order-form__field input,
  .order-form__field select {
    font-size: 16px;
  }
}

.order-form__location-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- Schedule Order ---------- */

.hero__schedule-btn {
  margin-top: 20px;
}

.hero__schedule-btn .btn--outline {
  /* Use default .btn sizing — same as Get Started button */
}

.hero__schedule-btn .btn--outline .btn__label {
  background: var(--color-orange);
}

.hero__schedule-btn .btn--outline:hover .btn__label {
  background: #d68a20;
}

.hero__schedule-btn .btn--outline .btn__icon {
  background: var(--color-orange);
}

.hero__schedule-btn .btn--outline:hover .btn__icon {
  background: #d68a20;
}

.hero__schedule-btn .btn--outline .btn__icon svg {
  width: 16px;
  height: 16px;
}

.hero__schedule-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.order-form__schedule-section {
  margin-bottom: 16px;
}

.order-form__schedule-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.order-form__schedule-divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.order-form__schedule-divider-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-form__schedule-note {
  margin: -4px 0 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.order-form__field input[type="date"],
.order-form__field input[type="time"] {
  appearance: none;
  -webkit-appearance: none;
}

.order-form__field input[type="date"]::-webkit-calendar-picker-indicator,
.order-form__field input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

/* ---------- Standalone Schedule Order Modal ---------- */

.schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.schedule-modal.is-open {
  display: flex;
}

.schedule-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(23, 35, 33, 0.55);
}

.schedule-modal__dialog {
  position: relative;
  background: var(--color-white);
  border-radius: 20px;
  padding: 36px 32px;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 56px rgba(28, 43, 37, 0.28);
  animation: schedule-modal-in 0.3s ease;
}

@keyframes schedule-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.schedule-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-dark);
  transition: background 0.15s;
}

.schedule-modal__close:hover {
  background: #e0e0e0;
}

.schedule-modal__close svg {
  width: 18px;
  height: 18px;
}

.schedule-modal__header {
  text-align: center;
  margin-bottom: 28px;
}

.schedule-modal__badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-green-bright), var(--color-green) 55%, var(--color-green-dark));
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(31, 157, 83, 0.3);
}

.schedule-modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-dark);
  margin: 0 0 8px;
}

.schedule-modal__subtitle {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.schedule-form__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
}

.schedule-form__divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.schedule-form__divider-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.schedule-form__note {
  margin: -4px 0 20px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.order-form__error {
  color: var(--color-red, #d3453c);
  font-size: 0.82rem;
  min-height: 18px;
  margin-top: 8px;
}

.schedule-form__submit-row {
  margin-top: 8px;
}

.schedule-form__submit-row .btn {
  width: 100%;
  justify-content: center;
}

.schedule-modal__success {
  text-align: center;
  padding: 20px 0;
}

.schedule-modal__success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: schedule-success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes schedule-success-pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.schedule-modal__success-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--color-dark);
  margin: 0 0 12px;
}

.schedule-modal__success-copy {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 8px;
}

.schedule-form__submit-row .btn__label {
  background: var(--color-orange);
}

.schedule-form__submit-row .btn:hover .btn__label {
  background: #d68a20;
}

.schedule-form__submit-row .btn__icon {
  background: var(--color-orange);
}

.schedule-form__submit-row .btn:hover .btn__icon {
  background: #d68a20;
}

.schedule-modal__success .btn {
  margin-top: 20px;
}

.order-quote__breakdown {
  background: #fbfaf6;
  border: 1px solid #ece6d8;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.order-quote__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.order-quote__row + .order-quote__row {
  border-top: 1px dashed #e1dac8;
}

.order-quote__row--total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 2px solid #dcd5c4 !important;
  font-size: 1.15rem;
}

.order-quote__row--total strong {
  color: var(--color-orange, #dd7a1d);
}

.order-quote__error {
  color: #c53030;
  font-size: 0.85rem;
  margin: -6px 0 14px;
}

.order-quote__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.order-quote__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  cursor: pointer;
}

.order-quote__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--color-orange);
  cursor: pointer;
}

.order-quote__consent a {
  color: var(--color-dark);
  text-decoration: underline;
}

.order-quote__consent a:hover {
  color: var(--color-orange);
}

.order-modal__dialog .btn--light .btn__label {
  border: 1.5px solid var(--color-dark);
}

.order-quote__back {
  border: none;
  background: none;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 6px 0 0;
  cursor: pointer;
  text-align: center;
}

.order-quote__back:hover {
  color: var(--color-dark);
}

.order-cancel__reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.order-cancel__reason {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dcd5c4;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--color-dark);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.order-cancel__reason:hover {
  border-color: var(--color-orange);
}

.order-cancel__reason input {
  accent-color: var(--color-orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.order-tracking__steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.order-tracking__steps li {
  position: relative;
  padding: 0 0 22px 30px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.order-tracking__steps li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dcd5c4;
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 1px #dcd5c4;
}

.order-tracking__steps li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: -8px;
  width: 2px;
  background: #e6e0d2;
}

.order-tracking__steps li:last-child::after {
  display: none;
}

.order-tracking__steps li.is-done {
  color: var(--color-dark);
}

.order-tracking__steps li.is-done::before {
  background: #1f9d53;
  box-shadow: 0 0 0 1px #1f9d53;
}

.order-tracking__steps li.is-current {
  color: var(--color-dark);
  font-weight: 700;
}

.order-tracking__steps li.is-current::before {
  background: var(--color-orange, #dd7a1d);
  box-shadow: 0 0 0 1px var(--color-orange, #dd7a1d);
}

.order-tracking__steps li.is-cancelled::before {
  background: #c53030;
  box-shadow: 0 0 0 1px #c53030;
}

.order-tracking__rider {
  background: #fbfaf6;
  border: 1px solid #ece6d8;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.order-tracking__rider strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-dark);
}

.order-tracking__feedback {
  text-align: center;
}

.order-tracking__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 10px 0;
}

.order-tracking__stars button {
  border: none;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #dcd5c4;
  cursor: pointer;
  padding: 4px;
}

.order-tracking__stars button.is-selected {
  color: var(--color-orange, #dd7a1d);
}

.order-tracking__thanks {
  color: #1f9d53;
  font-weight: 600;
  font-size: 0.9rem;
}

.order-tracking__invoice-btn {
  display: block;
  width: 100%;
  margin: 20px 0;
}

.order-tracking__support-link {
  display: block;
  width: 100%;
  text-align: center;
  border: none;
  background: none;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-tracking__support-link:hover {
  color: var(--color-dark);
}

/* ================================================================
   Global mobile fixes (< 560px)
   ================================================================ */
@media (max-width: 560px) {
  /* Schedule modal: tighter padding on phones */
  .schedule-modal {
    padding: 16px;
  }

  .schedule-modal__dialog {
    padding: 28px 20px;
  }


  /* AMMA chat: compact popup card on phones */
  .amma-chat__panel {
    width: min(340px, calc(100vw - 24px));
    max-height: min(420px, calc(100vh - 180px));
    border-radius: 20px;
  }

  /* Hero buttons: ensure proper spacing */
  .hero__schedule-btn {
    margin-top: 12px;
  }

  .hero__input-row {
    gap: 12px;
  }

  /* Forms: ensure buttons are full-width on mobile */
  .newsletter__form .btn,
  .careers__apply-form .btn {
    width: 100%;
  }

  /* Tables: horizontal scroll */
  .table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  /* Footer: stack badges */
  .site-footer__badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Touch targets: minimum 44px */
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .schedule-modal__close {
    width: 40px;
    height: 40px;
  }

  .order-modal__close {
    width: 40px;
    height: 40px;
  }

}

@keyframes modal-slide-up {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdrop-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Order Tracking Section ──────────────────────────────── */
.track-order {
  padding: 80px 0;
  background: var(--color-bg-cream);
}
.track-order__card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.track-order__header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-dark);
  margin: 0 0 8px;
}
.track-order__header p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}
.track-order__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.track-order__input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.track-order__input:focus {
  border-color: var(--color-green);
}
.track-order__btn {
  width: 100%;
  justify-content: space-between;
  margin-top: 8px;
}
.a-field__optional {
  font-weight: 400;
  font-size: 0.8em;
  color: #9ca3af;
}
.track-order__hint {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #9ca3af;
  margin: -4px 0 0;
  line-height: 1.4;
}
/* Order list (name-only lookup) */
.track-order__list-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 16px;
}
.track-order__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.track-order__list-item {
  background: var(--color-bg);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.track-order__list-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 120px;
}
.track-order__list-ref {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-heading);
}
.track-order__list-details {
  display: flex;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.track-order__list-track-btn {
  padding: 6px 16px;
  font-size: 0.82rem;
  border-radius: 999px;
}
/* Auth gate */
.track-order__auth-gate {
  text-align: center;
  padding: 20px 0;
}
.track-order__auth-icon {
  margin: 0 auto 16px;
}
.track-order__auth-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}
.track-order__auth-alt {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}
.track-order__auth-alt a {
  color: var(--color-green);
  font-weight: 600;
  text-decoration: none;
}
.track-order__auth-alt a:hover {
  text-decoration: underline;
}
.track-order__welcome {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-green);
  background: #f0faf4;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.track-order__bottom-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.track-order__dashboard-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--color-green);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.track-order__dashboard-btn:hover {
  color: var(--color-green-dark);
  text-decoration: underline;
}
.track-order__signout-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}
.track-order__signout-btn:hover {
  color: #ef4444;
}
/* Customer Auth Modal */
.customer-auth-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.customer-auth-overlay[hidden] { display: none; }
.customer-auth-modal {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.customer-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9ca3af;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.customer-auth-close:hover {
  background: #f3f4f6;
  color: var(--color-dark);
}
.customer-auth-header {
  text-align: center;
  margin-bottom: 24px;
}
.customer-auth-header h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-dark);
  margin: 0 0 6px;
}
.customer-auth-header p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}
.customer-auth-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.customer-auth-error[hidden] { display: none; }
.customer-auth-switch {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 20px;
}
.customer-auth-switch a {
  color: var(--color-green);
  font-weight: 600;
  text-decoration: none;
}
.customer-auth-switch a:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .track-order__card { padding: 24px 20px; }
  .customer-auth-modal { padding: 28px 20px; }
  .track-order__header h2 { font-size: 1.3rem; }
}
.track-order__result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.track-order__status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.track-order__ref {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c2b25;
}
.track-order__badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}
.track-order__badge--awaiting_payment { background: #fef3c7; color: #92400e; }
.track-order__badge--paid { background: #d1fae5; color: #065f46; }
.track-order__badge--assigned { background: #dbeafe; color: #1e40af; }
.track-order__badge--picked_up { background: #e0e7ff; color: #3730a3; }
.track-order__badge--refilling { background: #ede9fe; color: #5b21b6; }
.track-order__badge--delivered { background: #d1fae5; color: #065f46; }
.track-order__badge--completed { background: #d1fae5; color: #065f46; }
.track-order__badge--cancelled { background: #fee2e2; color: #991b1b; }
.track-order__badge--pending_quote { background: #f3f4f6; color: #374151; }

.track-order__timeline {
  margin: 16px 0;
}
.track-order__timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-left: 2px solid #e5e7eb;
  padding-left: 16px;
  margin-left: 8px;
  position: relative;
}
.track-order__timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f9d53;
}
.track-order__timeline-item--inactive::before {
  background: #d1d5db;
}
.track-order__timeline-status {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1c2b25;
}
.track-order__timeline-time {
  font-size: 0.8rem;
  color: #9ca3af;
}
.track-order__timeline-note {
  font-size: 0.85rem;
  color: #6b7a70;
  margin-top: 2px;
}

.track-order__rider-info {
  background: #f0faf4;
  border-radius: 10px;
  padding: 16px;
  margin: 16px 0;
}
.track-order__rider-label {
  font-size: 0.8rem;
  color: #6b7a70;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.track-order__rider-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1c2b25;
  margin: 0;
}
.track-order__rider-phone {
  font-size: 0.9rem;
  color: #1f9d53;
  margin: 4px 0 0;
}

.track-order__summary {
  background: #f9fafb;
  border-radius: 10px;
  padding: 16px;
  margin: 16px 0;
}
.track-order__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9rem;
}
.track-order__summary-row--total {
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 700;
  color: #1c2b25;
}

.track-order__support-btn {
  width: 100%;
  margin-top: 12px;
}
.track-order__error {
  color: #dc2626;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .track-order__card { padding: 24px 20px; }
  .track-order__fields { flex-direction: column; gap: 12px; }
  .track-order__header h2 { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════════
   UPGRADE SYSTEM — Skeleton, Toast, Dark Mode, Print, etc.
   ═══════════════════════════════════════════════════════════════ */

/* ── Skip to Content (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 99999;
  padding: 12px 24px;
  background: var(--color-green);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Skeleton Loading ── */
@keyframes skeleton-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #e8e8e8 25%, #f0f0f0 50%, #e8e8e8 75%);
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}
.skeleton-text { height: 16px; margin-bottom: 8px; width: 80%; }
.skeleton-text-sm { height: 12px; margin-bottom: 6px; width: 60%; }
.skeleton-title { height: 24px; margin-bottom: 12px; width: 40%; }
.skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; }
.skeleton-card {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
}
.skeleton-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.skeleton-badge {
  width: 60px;
  height: 20px;
  border-radius: 10px;
}
.skeleton-table th,
.skeleton-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.skeleton-table tr {
  display: table-row;
}

/* ── Toast Notifications ── */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  animation: toast-slide-in 0.35s cubic-bezier(0.21,1.02,0.73,1) forwards;
  max-width: 380px;
  line-height: 1.4;
}
.toast--success {
  background: #ecfdf5;
  color: #065f46;
  border-left: 4px solid #10b981;
}
.toast--error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}
.toast--info {
  background: #eff6ff;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}
.toast--warning {
  background: #fffbeb;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}
.toast__icon { font-size: 18px; flex-shrink: 0; }
.toast__text { flex: 1; }
.toast__close {
  cursor: pointer;
  opacity: 0.5;
  font-size: 18px;
  line-height: 1;
  transition: opacity 0.2s;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}
.toast__close:hover { opacity: 1; }
.toast--exit {
  animation: toast-slide-out 0.3s cubic-bezier(0.06,0.71,0.55,1) forwards;
}
@keyframes toast-slide-in {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-slide-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

/* ── Print Styles ── */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .main-nav,
    .toast-container,
  .amma-chat,
  .amma-chat-btn,
  .cookie-consent,
  .newsletter,
  .journey,
  .faqs,
  .why,
  .how,
  .rider,
  .gallery,
  .track-order__auth-gate,
  .track-order__status-header button,
  .track-order__welcome,
  .track-order__signout,
  .track-order__dashboard-link,
    .header-account-btn { display: none !important; }

  .nav-account-link { display: flex !important; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 500; color: var(--color-dark); text-decoration: none; padding: 12px 16px; border-radius: 10px; background: rgba(31, 157, 83, 0.08); border: 1px solid rgba(31, 157, 83, 0.15); }
  
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .hero { padding: 20px 0 !important; min-height: auto !important; }
  .hero__title { font-size: 18pt !important; }
  
  .track-order {
    display: block !important;
    padding: 20px !important;
    background: #fff !important;
  }
  
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  
  * { box-shadow: none !important; text-shadow: none !important; }
}

/* ── Micro-Interactions (Ripple on Buttons) ── */
.btn, .header-account-btn {
  position: relative;
  overflow: hidden;
}
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-expand 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

/* ── Pull to Refresh ── */
.ptr-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  z-index: 99997;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s;
  box-shadow: 0 4px 12px rgba(31,157,83,0.3);
}
.ptr-indicator.active {
  transform: translateX(-50%) translateY(20px);
}
.ptr-indicator svg {
  width: 20px;
  height: 20px;
  animation: ptr-spin 0.8s linear infinite;
}
@keyframes ptr-spin {
  to { transform: rotate(360deg); }
}

/* ── Search Filter ── */
.admin-search {
  position: relative;
  margin-bottom: 16px;
}
.admin-search__input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  font-family: var(--font-body);
  background: #fff;
}

.admin-search__input:focus {
  outline: none;
  border-color: var(--color-green);
}
.admin-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}
.admin-search__count {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* ── Copy to Clipboard ── */
.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  color: #6b7280;
  transition: all 0.2s;
  font-size: 14px;
}
.copy-btn:hover {
  background: #f3f4f6;
  color: var(--color-green);
}
.copy-btn.copied {
  color: #10b981;
}

/* ── Keyboard Focus Styles ── */
*:focus-visible {
  outline: 3px solid var(--color-green);
  outline-offset: 2px;
}
.admin-nav-item:focus-visible,
.table-row:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--color-green);
  outline-offset: 2px;
}
.cd-avatar-upload {
  position: relative; cursor: pointer; display: inline-block;
}
.cd-avatar-upload:hover .cd-avatar-edit { opacity: 1; }
.cd-avatar-edit {
  position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  background: var(--color-green); color: #fff; font-size: 0.6rem;
  padding: 2px 6px; border-radius: 4px; opacity: 0;
  transition: opacity 0.2s; font-family: var(--font-body);
  white-space: nowrap; pointer-events: none;
}
.cd-order-card--scheduled { border-left: 3px solid #f59e0b; }
.cd-order-badge--scheduled { background: #fef3c7; color: #92400e; }
.cd-order-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 14px 16px; margin-bottom: 10px;
  transition: box-shadow 0.2s;
}
.cd-order-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.cd-order-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cd-order-ref { font-weight: 700; color: #1c2b25; font-size: 0.95rem; }
.cd-order-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.cd-order-badge--completed { background: #d1fae5; color: #065f46; }
.cd-order-badge--delivered { background: #dbeafe; color: #1e40af; }
.cd-order-badge--paid { background: #d1fae5; color: #065f46; }
.cd-order-badge--awaiting_payment { background: #fef3c7; color: #92400e; }
.cd-order-badge--pending_quote { background: #fef3c7; color: #92400e; }
.cd-order-badge--cancelled { background: #fee2e2; color: #991b1b; }
.cd-order-badge--assigned { background: #e0e7ff; color: #3730a3; }
.cd-order-detail { font-size: 0.85rem; color: #6b7a70; margin-bottom: 2px; }
.cd-order-actions { margin-top: 8px; }
.cd-btn-receipt {
  background: none; border: 1px solid #e5e7eb; border-radius: 6px;
  padding: 4px 10px; font-size: 0.8rem; color: #374151;
  cursor: pointer; font-family: var(--font-body);
}
.cd-btn-receipt:hover { background: #f9fafb; border-color: #0a8f3c; color: #0a8f3c; }
.cd-txn-card { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f3f4f6; }
.cd-txn-date { font-size: 0.8rem; color: #9ca3af; }
.cd-txn-amount { font-weight: 700; color: #0a8f3c; }
.cd-empty { color: #6b7a70; text-align: center; padding: 30px; font-size: 0.9rem; }

/* ── Feedback Popup ── */
.feedback-popup { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
.feedback-popup__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.feedback-popup__card { position: relative; background: #fff; border-radius: 16px; width: 90%; max-width: 420px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); animation: feedbackSlideUp 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes feedbackSlideUp { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.feedback-popup__close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; color: #9ca3af; cursor: pointer; z-index: 2; line-height: 1; transition: color 0.2s; }
.feedback-popup__close:hover { color: #374151; }
.feedback-popup__header { text-align: center; padding: 32px 24px 16px; }
.feedback-popup__logo { margin-bottom: 16px; }
.feedback-popup__title { font-family: var(--font-heading); font-size: 1.3rem; color: #1a1a2e; margin: 0 0 6px; }
.feedback-popup__subtitle { font-size: 0.9rem; color: #6b7280; margin: 0; }
.feedback-popup__body { padding: 0 24px 28px; }
.feedback-popup__stars { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; }
.feedback-star { background: none; border: none; font-size: 36px; color: #d1d5db; cursor: pointer; transition: color 0.2s, transform 0.15s; padding: 0; }
.feedback-star:hover, .feedback-star.active { color: #f59e0b; transform: scale(1.15); }
.feedback-popup__rating-text { text-align: center; font-size: 0.85rem; color: #9ca3af; margin: 0 0 16px; }
.feedback-popup__field { display: block; margin-bottom: 16px; }
.feedback-popup__label { display: block; font-size: 0.85rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.feedback-popup__field textarea { width: 100%; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; font-size: 0.9rem; font-family: var(--font-body); resize: vertical; transition: border-color 0.2s; }
.feedback-popup__field textarea:focus { outline: none; border-color: #0a8f3c; box-shadow: 0 0 0 3px rgba(10,143,60,0.1); }
.feedback-popup__submit { margin-bottom: 8px; }
.feedback-popup__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.feedback-popup__thankyou { text-align: center; font-size: 0.95rem; color: #0a8f3c; font-weight: 600; padding: 12px 0; }
