/* ============================================================
   WayMe — Landing Page Styles (static)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --green: #57d900;
  --green-100: #f6fbf3;
  --green-200: #ddefd0;
  --green-300: #c9e7b6;
  --text-primary: #101828;
  --text-secondary: #475467;
  --text-body: #292624;
  --card-bg: #fcfcfc;
  --card-border: #d0d5dd;
  --footer-bg: #416c24;
  --logo-green: #76c144;
  --star: #ffc935;
  --white: #ffffff;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Baloo Bhai 2', 'Inter', sans-serif;
  --font-sf: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-full: 999px;
  --shadow-card: 0 4px 2px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 4px 4px rgba(0, 0, 0, 0.25);

  --section-gap: 72px;
  --section-gap-sm: 36px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Shared typography ---------- */
.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-secondary);
}

.text-green {
  color: var(--green);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  height: 45px;
  padding: 0 16px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green);
  color: var(--text-primary);
}

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(87, 217, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green-100);
}

.btn-header {
  width: 142px;
  height: 34px;
  font-size: 14px;
}

.btn-hero {
  width: 198px;
  height: 45px;
}

.btn-lg {
  width: 382px;
  max-width: 100%;
  height: 51px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding-left: 0;
  padding-right: 0;
}

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

.brand-logo {
  width: 39px;
  height: 39px;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link.current-menu-item,
.nav-link.current_page_item,
.nav-link.current-menu-ancestor,
.nav-link.current_page_ancestor,
.nav-link.current-menu-parent,
.nav-link.current_page_parent {
  color: var(--green);
}

.nav-link.active::after,
.nav-link.current-menu-item::after,
.nav-link.current_page_item::after,
.nav-link.current-menu-ancestor::after,
.nav-link.current_page_ancestor::after,
.nav-link.current-menu-parent::after,
.nav-link.current_page_parent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 465px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 120px 40px 55px;
}

.hero-title {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #101828;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
}

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

.hero-cta .store-badge img {
  height: 45px;
  width: auto;
}

/* ---------- Features strip ---------- */
.features-strip {
  position: relative;
  background: transparent;
  padding: 30px 0;
  scroll-margin-top: 72px;
  overflow: hidden;
}

.features-strip::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: max(32px, calc((100vw - 1240px) / 2 - 40px));
  background: var(--green-100);
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
}

.features-strip-inner {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 266px;
}

.vertical-label {
  position: absolute;
  z-index: 0;
  top: 88px;
  right: -26px;
  writing-mode: horizontal-tb;
  transform: rotate(-90deg);
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: 60px;
  letter-spacing: -0.24px;
  color: var(--green-200);
  user-select: none;
}

.features-strip-content {
  position: relative;
  z-index: 1;
  width: 1021px;
  max-width: calc(100% - 70px);
  margin-left: -40px;
}

.features-strip-content .section-title {
  margin-bottom: 6px;
}

.features-strip-content .section-subtitle {
  margin-bottom: 32px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 325px);
  gap: 24px;
}

.features-vector {
  position: absolute;
  z-index: 0;
  width: 1030px;
  height: 126px;
  left: 80px;
  top: 102px;
  pointer-events: none;
}

.feature-card {
  background: var(--green-100);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 325px;
  height: 166px;
}

.feature-card-icon {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.feature-card-icon img {
  width: 62px;
  height: auto;
}

.on-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.945px solid var(--green);
  border-radius: 17.67px;
  padding: 4px 23px;
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--green);
}

.feature-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-card-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ---------- Feature sections ---------- */
.explore-banner {
  position: relative;
  display: flex;
  width: 100%;
  height: 278px;
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--white);
}

.explore-banner-qr {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.explore-banner-qr img {
  position: absolute;
  left: 18.84%;
  top: 50%;
  width: 135px;
  height: 135px;
  object-fit: cover;
  transform: translateY(-50%);
}

.explore-banner-copy {
  position: absolute;
  z-index: 3;
  left: calc(50% - 6.54px);
  top: 24px;
  width: 459px;
  transform: translateX(-50%);
  text-align: center;
}

.explore-banner-copy h2 {
  margin-bottom: 9px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.explore-banner-copy p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.42;
  color: var(--text-secondary);
}

.explore-banner-copy > .btn {
  width: 382px;
  height: 52px;
  font-size: 15px;
}

.explore-banner-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 58px;
  margin-top: 12px;
}

.explore-banner-badges .store-badge img {
  width: auto;
  height: auto;
  max-width: none;
}

.explore-banner-badges .store-badge:first-child img {
  width: 190px;
  height: 127px;
}

.explore-banner-badges .store-badge:last-child img {
  width: 175px;
  height: 117px;
}

.explore-banner-image {
  position: absolute;
  left: 53.55%;
  right: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.explore-banner-image img {
  position: absolute;
  left: 0;
  top: -34.63%;
  width: 100%;
  height: 134.49%;
  max-width: none;
  object-fit: cover;
}

.explore-banner-image::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--white) 0%, rgba(255, 255, 255, 0.78) 14%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.feature-sections {
  padding: 48px 0 var(--section-gap-sm);
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  padding: 28px 0;
}

.feature-row--reverse .feature-copy {
  order: 2;
}

.feature-row--reverse .feature-collage {
  order: 1;
}

.feature-copy {
  flex: 0 0 404px;
  max-width: 404px;
}

.feature-copy .section-title {
  margin-bottom: 12px;
}

.feature-copy .section-subtitle {
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--green-100);
  border-radius: var(--radius-lg);
  padding: 10px;
  margin-bottom: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-list-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--green-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-list-icon img {
  width: 24px;
  height: 24px;
}

.feature-list-text {
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-primary);
}

.feature-list-text strong {
  display: block;
  font-weight: 400;
  color: var(--text-primary);
}

.feature-list-text strong + br,
.feature-list-text strong:first-child {
  font-weight: 600;
}

.feature-actions {
  display: flex;
  gap: 12px;
}

.feature-actions .btn {
  width: 186px;
}

/* Collages */
.feature-collage {
  position: relative;
  flex: 1;
  height: 520px;
  max-width: 520px;
}

.feature-collage img {
  position: absolute;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-float);
}

.collage-nav .collage-main {
  width: 347px;
  height: 231px;
  top: 60px;
  left: 40px;
  transform: rotate(15.24deg);
}

.collage-nav .collage-sub {
  width: 195px;
  height: 146px;
  top: 160px;
  left: 150px;
  transform: rotate(-21.71deg);
}

.collage-nav .collage-mini {
  width: 102px;
  height: 85px;
  top: 20px;
  left: 280px;
  transform: rotate(46.5deg);
}

.collage-offline .collage-tall {
  width: 304px;
  height: 490px;
  top: 0;
  left: 150px;
  transform: rotate(3deg);
  border-radius: 24px;
}

.collage-offline .collage-sub {
  width: 210px;
  height: 158px;
  top: 210px;
  left: 30px;
  transform: rotate(-23.9deg);
}

.collage-offline .collage-main {
  width: 343px;
  height: 229px;
  top: 260px;
  left: 120px;
  transform: rotate(12.45deg);
}

.collage-offline .collage-offline-photo {
  width: 210px;
  height: 158px;
  top: 210px;
  left: 30px;
  padding: 0;
  border: 3px solid var(--green-100);
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transform: rotate(-23.9deg);
}

.collage-offline .collage-offline-route {
  width: 304px;
  height: 490px;
  top: 0;
  left: 215px;
  opacity: 0.76;
  object-fit: cover;
  object-position: left center;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(3deg);
}

.collage-offline {
  width: 660px;
  max-width: 660px;
}

.collage-offline .collage-offline-map {
  width: 343px;
  height: 229px;
  top: 29px;
  left: 0;
  border-radius: 22px;
  object-fit: cover;
  transform: rotate(12.45deg);
}

.collage-together .collage-main {
  width: 406px;
  height: 271px;
  top: 90px;
  left: 30px;
  transform: rotate(8.53deg);
}

.collage-together .collage-sub {
  width: 162px;
  height: 122px;
  top: 0;
  left: 300px;
  transform: rotate(31.16deg);
}

.collage-together .collage-mini {
  width: 211px;
  height: 158px;
  top: 340px;
  left: 250px;
  transform: rotate(22.38deg);
}

.collage-sub--frame {
  border: 6px solid var(--white);
  border-radius: 18px;
}

.collage-mini--frame {
  border: 5px solid var(--white);
  border-radius: 12px;
}

/* Exported Figma group artwork replaces the former individually positioned layers. */
.feature-collage:has(.group-svg) {
  flex: 1 1 auto;
  height: auto;
  min-width: 0;
  overflow: visible;
}

.feature-collage .group-svg {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.collage-nav:has(.group-svg) {
  width: 396px;
  max-width: 100%;
  height: auto;
}

.collage-offline:has(.group-svg) {
  width: 587px;
  max-width: 100%;
  height: auto;
}

.collage-together:has(.group-svg) {
  width: 491px;
  max-width: 100%;
  height: auto;
}

/* ---------- Choose how you want to explore ---------- */
.choose-explore {
  padding: var(--section-gap) 0 var(--section-gap-sm);
  text-align: left;
  scroll-margin-top: 72px;
}

.choose-explore-inner {
  max-width: 1320px;
}

.choose-explore .section-title {
  margin-bottom: 8px;
}

.explore-diagram {
  position: relative;
  width: 100%;
  max-width: 1294px;
  aspect-ratio: 1294 / 577;
  height: auto;
  margin: 18px 0 0;
  left: auto;
  transform: none;
}

.explore-diagram .group-svg {
  display: block;
  width: 100%;
  height: auto;
}

.explore-connectors {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 1173px;
  height: 417px;
  pointer-events: none;
}

.explore-phone {
  position: absolute;
  z-index: 2;
  left: 636px;
  top: 0;
  width: 245px;
  height: 430px;
  transform: rotate(18.26deg);
  filter: drop-shadow(0 18px 18px rgba(16, 24, 40, 0.18));
}

.explore-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.diagram-marker {
  position: absolute;
  z-index: 4;
  width: 46px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-200);
  color: var(--green);
  font-size: 36px;
  font-weight: 600;
}

.diagram-marker--one {
  left: 562px;
  top: 191px;
  width: 72px;
  height: 69px;
  font-size: 40px;
}

.diagram-marker--two {
  left: 645px;
  top: 145px;
}

.diagram-marker--three {
  left: 945px;
  top: 314px;
}

.diagram-marker--four {
  left: 1046px;
  top: 213px;
  width: 54px;
  height: 52px;
  font-size: 40px;
}

.explore-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  text-align: left;
  border: 0;
  border-radius: 22px;
  background: #f3f3f3;
  box-shadow: -3px 10px 19px 3px rgba(16, 24, 40, 0.08), 0 8px 8px -4px rgba(16, 24, 40, 0.03);
}

.explore-card h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
}

.explore-card p {
  font-size: 20px;
  line-height: 1.05;
  color: var(--text-secondary);
}

.explore-card--plot {
  left: 265px;
  top: 76px;
  width: 285px;
  height: 113px;
  border-radius: 40px;
  padding: 10px;
}

.explore-card--start {
  left: 172px;
  top: 260px;
  width: 369px;
  height: 113px;
  border: 1px solid var(--green);
  border-radius: 40px;
}

.explore-card--start h3,
.explore-card--turn h3 span {
  color: var(--green);
}

.explore-card--turn {
  left: 607px;
  top: 358px;
  width: 286px;
  height: 171px;
  display: block;
  padding: 31px 14px 19px;
  text-align: center;
  border: 3px solid var(--green);
  border-radius: 40px;
}

.explore-card--turn h3 {
  font-size: 32px;
  line-height: 0.98;
  margin-bottom: 8px;
  color: var(--green);
}

.explore-card--turn p {
  font-size: 16px;
  line-height: 1.05;
}

.explore-card--finish {
  left: 1117px;
  top: 31px;
  width: 111px;
  height: 281px;
  display: block;
  padding: 105px 10px 12px;
  border-radius: 93px 1px 40px 40px;
}

.explore-card--finish h3 {
  margin-bottom: 6px;
}

.explore-card--enjoy {
  left: 968px;
  top: 377px;
  width: 240px;
  height: 111px;
  border-color: transparent;
  padding: 17px 10px;
  border-radius: 22px;
}

.explore-enjoy-image {
  flex: 0 0 auto;
  width: 95px;
  height: 92px;
  overflow: hidden;
  border-radius: 50%;
}

.explore-enjoy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-card-icon {
  position: relative;
  flex: 0 0 auto;
  width: 95px;
  height: 92px;
}

/* ---------- Routes ---------- */
.routes {
  padding: var(--section-gap-sm) 0 var(--section-gap);
}

.routes > .container {
  padding-left: 0;
  padding-right: 0;
}

.routes-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.routes-header .section-title {
  margin-bottom: 4px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--green);
}

.link-more-arrow {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.route-card {
  display: block;
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.route-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-card-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  color: #f5f5f5;
}

/* ---------- Reviews ---------- */
.reviews {
  padding: var(--section-gap-sm) 0 var(--section-gap);
}

.reviews > .container {
  padding-left: 0;
  padding-right: 0;
}

.reviews-card {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 196px;
  background: var(--card-bg);
  border: 0;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 7.55px rgba(0, 0, 0, 0.06);
}

.reviews-rating {
  flex: 0 0 158px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.reviews-label {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.reviews-score-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.reviews-score {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  line-height: 1;
}

.reviews-stars {
  width: 104px;
  height: 18px;
  object-fit: fill;
}

.reviews-count {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-body);
}

.review {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 148px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
}

.review-divider {
  flex: 0 0 1px;
  height: 72px;
  margin-top: 12px;
  background: var(--green-200);
}

.review-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 263px;
}

.review-heading h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

.review-heading p {
  font-size: 16px;
  line-height: 1;
  color: #000;
  white-space: nowrap;
}

.review-heading img {
  width: 104px;
  height: 18px;
  object-fit: fill;
}

.review-body {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  max-width: 263px;
  min-height: 51px;
}

.review-quote {
  flex: 0 0 24px;
  width: 24px;
  height: 13px;
  object-fit: contain;
}

.review-text {
  display: none;
}

.review-body p {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-body);
}

.review-date {
  color: #000;
}

/* ---------- How it works ---------- */
.how-it-works {
  background: var(--green-100);
  padding: var(--section-gap-sm) 0;
}

.how-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 24px;
}

.eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}

.steps-band {
  background: transparent;
  border-radius: 0;
  padding: 36px 32px;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 24px;
}

.step-number {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--green);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: var(--green);
}

.step-copy {
  max-width: 216px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.step-arrow {
  width: 24px;
  height: auto;
  flex: 0 0 auto;
}

.steps-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--green-200);
}

.steps-badges .store-badge img {
  height: 53px;
}

/* ---------- Hike smarter (Hong Kong) ---------- */
.hike-smarter {
  padding: var(--section-gap) 0;
}

.hike-card {
  display: grid;
  grid-template-columns: minmax(0, 385px) 1fr;
  gap: 40px;
  align-items: center;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 -1px 23px rgba(0, 0, 0, 0.13);
  padding: 25px 35px;
  overflow: hidden;
}

.hike-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.hike-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: var(--green-100);
  border: 1px solid var(--green);
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 400;
  color: var(--green);
  line-height: 1.4;
}

.hike-badge-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.hike-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.hike-subtitle {
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.hike-comfort {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hike-comfort-badge {
  flex: 0 0 auto;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hike-comfort-badge img {
  width: 32px;
  height: 24px;
}

.hike-comfort-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hike-comfort-text {
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.hike-calculated {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hike-calculated-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.hike-calc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hike-calc-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hike-calc-icon {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: var(--radius-full);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hike-calc-icon img {
  width: 26px;
  height: 26px;
}

.hike-calc-copy {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.4;
}

.hike-calc-copy strong {
  font-weight: 700;
  color: var(--text-primary);
}

.hike-calc-copy span {
  color: var(--text-secondary);
}

/* Visual collage */
.hike-visual {
  position: relative;
  min-height: 650px;
}

/* Map frame — holds a zoomed / nudged crop of the map artwork */
.hike-map {
  position: absolute;
  right: 0;
  top: 38px;
  width: 459px;
  height: 574px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hike-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 26% 50%;
  transform: scale(1.03);
  transform-origin: 50% 50%;
}

.hike-phone {
  position: absolute;
  left: 0;
  top: 0;
  width: 321px;
  max-width: 100%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.hike-overlay {
  position: absolute;
  left: 330px;
  top: 279px;
  width: 130px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/* ---------- Organizers ---------- */
.organizer {
  --organizer-photo-w: 734px;
  position: relative;
  min-height: 413px;
  padding: 26px 0 34px;
  background: var(--green-100);
  overflow: hidden;
}

.organizer-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: var(--organizer-photo-w);
  max-width: none;
  /* An absolutely positioned <img> with height:auto takes its height from the
     intrinsic aspect ratio, which leaves `bottom: 0` over-constrained and
     ignored — so the photo stopped short of the band's bottom edge. An explicit
     height stretches it to the section, with object-fit handling the crop. */
  height: 100%;
  object-fit: cover;
  opacity: 0.89;
}

/* Fades the photo's left edge into the solid band so the copy stays legible.
   The stops are measured from the right edge in multiples of the photo's own
   width rather than viewport percentages: the photo is a fixed width while the
   band is full-bleed, so percentage stops drift out of step with the image on
   wide screens and left its hard edge exposed. Anchoring to the photo keeps the
   ramp locked to the image, so it always reaches solid before the photo's left
   edge at any viewport width. */
.organizer-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to left,
    rgba(246, 251, 243, 0) calc(var(--organizer-photo-w) * 0.15),
    var(--green-100) calc(var(--organizer-photo-w) * 0.9)
  );
}

.organizer-inner {
  position: relative;
  z-index: 2;
}

.organizer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
}

.organizer-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 521px;
}

.organizer-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.organizer-actions .btn {
  flex: 1 1 0;
  height: 48px;
  font-size: 14px;
}

.organizer-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.organizer-divider {
  display: block;
  width: 622px;
  max-width: 100%;
  height: 1px;
}

.organizer-step-list {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 68px;
  max-width: 684px;
}

.organizer-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.organizer-step-number {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--green);
  border-radius: var(--radius-full);
  background: var(--green-100);
  color: var(--green);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.organizer-step-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.organizer-step-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

.organizer-step-text {
  font-size: 16px;
  line-height: 1.43;
  color: var(--text-secondary);
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: var(--section-gap-sm) 0;
}

.testimonials > .container {
  padding-left: 0;
  padding-right: 0;
}

.testimonials-header {
  margin-bottom: 24px;
}

.testimonials-header .section-title {
  margin-bottom: 8px;
}

.testimonial-cards {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}

.testimonial-card {
  flex: 1 1 0;
  width: auto;
  height: 434px;
  max-width: none;
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  padding: 28px 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
}

.testimonial-card--tall {
  height: 585px;
  margin-top: 0;
  padding-top: 16px;
}

.testimonial-card--tall .testimonial-top {
  margin-bottom: 28px;
}

.testimonial-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-avatar--lg {
  width: 156px;
  height: 156px;
}

.testimonial-stars {
  width: 104px;
  height: 18px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-body);
  text-align: center;
  margin-bottom: 16px;
}

.testimonial-byline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.testimonial-divider {
  width: 150px;
  border: none;
  border-top: 1px solid var(--green-200);
  margin-bottom: 16px;
}

.testimonial-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

.testimonial-role {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  /* Guarantees breathing room above the footer no matter how much (or little)
     bottom padding the preceding section has. Paired with the 36px top padding
     below, this gives the same 72px rhythm as the gaps between sections. */
  margin-top: var(--section-gap-sm);
  background: var(--footer-bg);
  color: var(--white);
  padding: var(--section-gap-sm) 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 70px;
  height: 70px;
}

.footer-logo span {
  font-size: 41px;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 16px;
  color: var(--white);
  opacity: 0.85;
  line-height: 1.5;
}

.footer-columns {
  display: flex;
  gap: 64px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  transition: opacity 0.15s ease;
}

.footer-col ul a:hover {
  opacity: 0.75;
}

.footer-col--apps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col--apps .store-badge img {
  width: 160px;
  height: auto;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 40px 0 24px;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--white);
  opacity: 0.85;
}

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

.footer-follow {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-right: 4px;
}

.footer-social a img {
  width: 24px;
  height: 24px;
}

/* ============================================================
   Responsive — 3 breakpoints: 1024 (tablet landscape), 768
   (tablet portrait), 480 (phone). No broken or overlapping layouts.
   ============================================================ */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 52px;
  }

  /* Feature collage sections — stack below desktop */
  .feature-row,
  .feature-row--reverse {
    flex-direction: column;
    gap: 28px;
    padding: 12px 0;
  }

  .feature-row--reverse .feature-copy {
    order: 1;
  }

  .feature-row--reverse .feature-collage {
    order: 2;
  }

  .feature-copy {
    flex: 0 0 auto;
    width: 100%;
    max-width: 560px;
  }

  /* Features strip (Safer hike) */
  .features-strip-content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .features-vector {
    display: none;
  }

  .feature-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .feature-card {
    width: auto;
    min-width: 0;
  }

  /* Reviews / ratings — stack below desktop */
  .reviews-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .reviews-rating {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 12px;
    text-align: center;
    padding: 0 0 16px;
    border-right: none;
    border-bottom: 1px solid var(--green-200);
  }

  .review-divider {
    display: none;
  }

  .review {
    width: 100%;
    height: auto;
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid var(--green-200);
  }

  .review:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .review-heading,
  .review-body {
    width: 100%;
  }

  .review-heading p {
    white-space: normal;
  }

  /* Hike smarter (Hong Kong) — stack below desktop */
  .hike-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hike-visual {
    min-height: 0;
  }

  .hike-map {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 459 / 574;
  }

  .hike-phone {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
  }

  .hike-overlay {
    left: auto;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
  }

  /* Explore banner (CTA) */
  .explore-banner-qr img {
    left: 8%;
    width: clamp(90px, 13vw, 135px);
    height: clamp(90px, 13vw, 135px);
  }

  .explore-banner-copy {
    left: 35%;
    top: 28px;
    width: 60%;
    transform: none;
  }

  .explore-banner-copy h2 {
    font-size: clamp(22px, 2.2vw, 32px);
  }

  .explore-banner-copy p {
    font-size: clamp(12px, 1.1vw, 16px);
  }

  .explore-banner-copy > .btn {
    width: min(382px, 100%);
  }

  .explore-banner-badges {
    gap: 6px;
  }

  .explore-banner-badges .store-badge:first-child img {
    width: min(190px, 48%);
    height: auto;
  }

  .explore-banner-badges .store-badge:last-child img {
    width: min(175px, 44%);
    height: auto;
  }

  /* Footer + organizer */
  .footer-columns {
    gap: 40px;
  }

  .organizer {
    --organizer-photo-w: 46%;
  }

  .organizer-content {
    max-width: 520px;
  }

  .organizer-step-list {
    gap: 40px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  /* Header / nav */
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    padding: 16px 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    z-index: 99;
  }

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

  .main-nav .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--green-100);
  }

  .nav-toggle {
    display: flex;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .btn-header {
    width: auto;
    height: 32px;
    font-size: 13px;
    padding: 0 12px;
  }

  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 96px 24px 40px;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.68) 45%,
      rgba(255, 255, 255, 0.28) 75%,
      rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
  }

  .hero-title {
    font-size: clamp(34px, 8vw, 44px);
    line-height: 1.08;
  }

  .hero-subtitle {
    font-size: 16px;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.75);
  }

  .hero-subtitle br {
    display: none;
  }

  /* Hero CTA — sign-up full width, app badges centered below */
  .hero-cta {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .hero-cta .btn-hero {
    flex: 1 0 100%;
    width: 100%;
    max-width: 324px;
    margin: 0 auto;
  }

  .hero-cta .store-badge img {
    height: 44px;
    width: auto;
    max-width: 100%;
  }

  /* Choose how you want to explore */
  .choose-explore {
    padding: 40px 0 var(--section-gap-sm);
  }

  .choose-explore .section-title {
    font-size: 22px;
  }

  .choose-explore .section-subtitle {
    font-size: 14px;
  }

  .explore-diagram {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 16px 0 0;
    left: auto;
    transform: none;
  }

  .explore-diagram .group-svg {
    width: 100%;
    height: auto;
  }

  /* Feature collage sections */
  .feature-sections {
    padding: 40px 0 var(--section-gap-sm);
  }

  .feature-copy .section-title {
    font-size: 24px;
  }

  .feature-collage:has(.group-svg) {
    width: auto;
    max-width: 100%;
    height: auto;
    transform: none;
    overflow: visible;
  }

  /* Features strip (Safer hike) */
  .features-strip {
    padding: 40px 0;
  }

  .features-strip::before {
    left: 0;
    border-radius: 0;
  }

  .features-strip-inner {
    min-height: 0;
  }

  .features-strip-content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .features-strip-content .section-subtitle {
    margin-bottom: 20px;
  }

  .vertical-label {
    display: none;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: none;
    margin: 0;
  }

  .feature-card {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 140px;
    padding: 20px 16px;
  }

  /* Routes */
  .routes {
    padding: var(--section-gap-sm) 0 var(--section-gap-sm);
  }

  .routes > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .routes-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .route-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
    margin: 0;
  }

  .route-card {
    height: 200px;
  }

  /* Hike smarter (Hong Kong) */
  .hike-smarter {
    padding: var(--section-gap-sm) 0;
  }

  .hike-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
  }

  .hike-visual {
    min-height: 0;
  }

  .hike-map {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 459 / 574;
  }

  .hike-phone {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
  }

  .hike-overlay {
    left: auto;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
  }

  .hike-copy {
    gap: 16px;
  }

  .hike-title {
    font-size: 24px;
  }

  .hike-subtitle {
    font-size: 15px;
  }

  .hike-comfort-text,
  .hike-calc-copy {
    font-size: 14px;
  }

  /* Organizer */
  .organizer {
    min-height: 0;
    padding: 0 0 40px;
  }

  .organizer-photo {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.95;
  }

  .organizer-fade {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 200px;
    background: linear-gradient(
      180deg,
      rgba(246, 251, 243, 0) 0%,
      rgba(246, 251, 243, 0) 35%,
      rgba(246, 251, 243, 0.45) 65%,
      var(--green-100) 100%
    );
  }

  .organizer-content,
  .organizer-intro {
    max-width: 100%;
  }

  .organizer-intro .section-title {
    font-size: 24px;
  }

  .organizer-step-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .organizer-step {
    flex: 0 0 auto;
    width: 100%;
  }

  /* Reviews / ratings */
  .reviews > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .reviews-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 16px;
  }

  .reviews-rating {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 12px;
    text-align: center;
    padding: 0 0 16px;
    border-right: none;
    border-bottom: 1px solid var(--green-200);
  }

  .reviews-label {
    font-size: 16px;
  }

  .reviews-score {
    font-size: 26px;
  }

  .reviews-stars {
    width: 88px;
  }

  .reviews-count {
    font-size: 14px;
    text-align: center;
  }

  .reviews-count br {
    display: none;
  }

  .review-divider {
    display: none;
  }

  .review {
    width: 100%;
    height: auto;
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid var(--green-200);
  }

  .review:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .review-heading {
    width: 100%;
  }

  .review-heading p {
    white-space: normal;
  }

  .review-body {
    width: 100%;
  }

  /* Testimonials */
  .testimonials > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .testimonials-header .section-title {
    font-size: 24px;
  }

  .testimonial-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .testimonial-card,
  .testimonial-card--tall {
    margin-top: 0;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 24px 20px;
  }

  .testimonial-card--tall {
    padding-top: 24px;
  }

  .testimonial-avatar {
    width: 96px;
    height: 96px;
  }

  .testimonial-avatar--lg {
    width: 116px;
    height: 116px;
  }

  .testimonial-quote {
    font-size: 16px;
  }

  /* Explore banner (CTA) */
  .explore-banner {
    height: auto;
    min-height: 400px;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    padding: 32px 20px;
    overflow: hidden;
  }

  .explore-banner-qr {
    display: none;
  }

  .explore-banner-copy {
    position: relative;
    z-index: 1;
    transform: none;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
  }

  .explore-banner-copy h2 {
    font-size: 24px;
  }

  .explore-banner-copy p {
    font-size: 15px;
  }

  .explore-banner-copy > .btn {
    width: 100%;
    max-width: 286px;
    margin: 0 auto;
  }

  .explore-banner-badges {
    justify-content: center;
    height: auto;
    flex-wrap: wrap;
    margin-top: 0px;
  }

  .explore-banner-badges .store-badge:first-child img,
  .explore-banner-badges .store-badge:last-child img {
    width: 140px;
    height: auto;
  }

  .explore-banner-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
  }

  .explore-banner-image img {
    position: absolute;
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
  }

  .explore-banner-image::before {
    background: linear-gradient(
      180deg,
      var(--white) 0%,
      rgba(255, 255, 255, 0.86) 32%,
      rgba(255, 255, 255, 0.5) 62%,
      rgba(255, 255, 255, 0.14) 100%
    );
  }

  /* Footer */
  .site-footer {
    padding: 24px 0 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .footer-logo {
    margin-bottom: 8px;
  }

  .footer-logo img {
    width: 44px;
    height: 44px;
  }

  .footer-logo span {
    font-size: 24px;
  }

  .footer-tagline {
    font-size: 13px;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
  }

  .footer-heading {
    margin-bottom: 8px;
  }

  .footer-col ul {
    gap: 6px;
  }

  .footer-col ul a {
    font-size: 14px;
  }

  .footer-col--apps {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .footer-col--apps .footer-heading {
    display: none;
  }

  .footer-divider {
    margin: 16px 0 12px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-social {
    flex-wrap: wrap;
  }

  /* Weglot language switcher — CSS-only (no JS). Weglot injects its <aside> as
     the last child of <body>, directly after .site-footer. On mobile we un-float
     it and turn it into a centered strip that reads as part of the footer, so it
     no longer overlaps the bottom-right of the viewport. Desktop is untouched. */
  .country-selector.weglot-dropdown {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 20px !important;
    background: var(--footer-bg) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  .country-selector.weglot-dropdown ul {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-inner {
    padding: 88px 20px 36px;
  }

  .hero-title {
    font-size: 34px;
    font-weight: 700;
  }

  .section-title {
    font-size: 20px;
  }

  .choose-explore .section-title,
  .feature-copy .section-title,
  .organizer-intro .section-title,
  .testimonials-header .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .choose-explore .section-subtitle {
    font-size: 15px;
  }

  .choose-explore {
    padding: 32px 0 12px;
  }

  .hero-cta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-cta .btn-hero {
    width: 100%;
  }

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

  .feature-actions {
    flex-direction: column;
  }

  .feature-actions .btn {
    width: 100%;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: none;
    margin: 0;
  }

  .feature-card {
    width: 100%;
    height: auto;
    min-height: 140px;
    padding: 20px 16px;
  }

  /* Steps (how it works) */
  .how-it-works > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .how-header {
    margin-bottom: 16px;
  }

  .steps-band {
    padding: 24px 16px;
  }

  .steps {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .step {
    gap: 16px;
  }

  .step-number {
    width: 56px;
    height: 56px;
    font-size: 32px;
  }

  .step-copy {
    max-width: none;
  }

  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
    margin: -8px 0;
  }

  .steps-badges {
    flex-wrap: wrap;
    gap: 12px;
  }

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

  .steps-badges .store-badge img {
    width: 100%;
    height: 53px;
    object-fit: contain;
  }

  /* Organizer (steps + actions) */
  .organizer-actions {
    flex-direction: column;
  }

  .organizer-actions .btn {
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
  }

  .organizer-step-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .organizer-step {
    flex: 0 0 auto;
    width: 100%;
  }

  .hike-badge {
    font-size: 14px;
    padding: 10px 12px;
  }

  .hike-phone {
    width: 42%;
  }

  .hike-overlay {
    display: none;
  }

  /* Footer */
  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-col--apps {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .footer-col--apps .footer-heading {
    text-align: center;
  }

  .footer-col--apps .store-badge img {
    width: 130px;
  }

  .footer-bottom-row {
    align-items: center;
    text-align: center;
  }

  /* Store popup */
  .store-modal {
    padding: 16px;
  }

  .store-modal-card {
    padding: 32px 20px 24px;
  }

  .store-modal-qr {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ============================================================
   "Scan with your phone" popup
   Opened on every device by any [data-app-link] trigger (store badges,
   sign-up buttons, "Get the app").
   ============================================================ */

/* Lock background scrolling while the popup is open. */
body.store-modal-open {
  overflow: hidden;
}

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 200; /* above the header (100) and mobile nav (99) */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.store-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: store-modal-fade 0.2s ease both;
}

.store-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  padding: 36px 32px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.24);
  text-align: center;
  animation: store-modal-rise 0.25s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

/* The card is focused programmatically on open; the ring would be redundant
   since the dialog itself has just appeared. */
.store-modal-card:focus {
  outline: none;
}

@keyframes store-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes store-modal-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.store-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.store-modal-close:hover,
.store-modal-close:focus-visible {
  background: var(--green-100);
  color: var(--text-primary);
}

.store-modal-close svg {
  width: 20px;
  height: 20px;
}

.store-modal-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.store-modal-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* Fixed-size tile so the code sits on a consistent, generous white pad — that
   padding doubles as the quiet zone a scanner needs to lock on. */
.store-modal-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  max-width: 100%;
  height: 260px;
  margin: 0 auto;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* Never upscale. The bundled QR is an SVG so it is resolution-independent, but
   a low-resolution raster uploaded through the Customizer would have soft
   modules at 1:1 — rendering it at its natural size keeps it scannable. */
.store-modal-qr img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.store-modal-hint {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* Escape hatch for anyone already reading this on the phone they'd scan with.
   The popup shows on every device now, so this is their way through. */
.store-modal-mobile {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.store-modal-mobile a {
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.store-modal-mobile a:hover,
.store-modal-mobile a:focus-visible {
  color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
  .store-modal-backdrop,
  .store-modal-card {
    animation: none;
  }
}

/* Weglot language switcher cleanup */
.country-selector.weglot-dropdown {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  text-align: left;
}

.country-selector.weglot-dropdown input.weglot_choice {
  display: none !important;          /* kill the raw checkbox */
}

.country-selector.weglot-dropdown label.wgcurrent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #101828;
  user-select: none;
}

/* chevron to hint it's a dropdown */
.country-selector.weglot-dropdown label.wgcurrent::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #667085;
  margin-left: 4px;
}

/* dropdown list — hidden until checked / hovered / focused, opens upward */
.country-selector.weglot-dropdown ul {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  min-width: 160px;
}

.country-selector.weglot-dropdown input.weglot_choice:checked ~ ul,
.country-selector.weglot-dropdown:hover ul,
.country-selector.weglot-dropdown:focus-within ul {
  display: block;
}

.country-selector.weglot-dropdown ul li {
  margin: 0;
  padding: 0;
  font-family: inherit;
}

.country-selector.weglot-dropdown ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #101828;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.country-selector.weglot-dropdown ul li a:hover {
  background: #f2f4f7;
}
