/* ============================================================
   How EASY TAXI works — inner page block
   ============================================================ */

.how-page {
  display: block;
}

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

.how-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px) var(--container-padding-x) clamp(56px, 7vw, 110px);
  text-align: center;
  background: var(--color-bg);
  overflow: hidden;
}

.how-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(820px, 92%);
  height: clamp(280px, 32vw, 420px);
  background: radial-gradient(
    ellipse at center,
    rgba(245, 194, 5, 0.18) 0%,
    rgba(245, 194, 5, 0.04) 45%,
    transparent 75%
  );
  filter: blur(110px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
}

.how-hero__eyebrow {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: clamp(20px, 2.2vw, 32px);
  font-family: var(--font-meta);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent-from);
  border: 1px solid rgba(245, 194, 5, 0.45);
  border-radius: 999px;
}

.how-hero__title {
  margin: 0 auto clamp(20px, 2.4vw, 32px);
  max-width: 1100px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 1.04;
  text-transform: uppercase;
  background: var(--grad-text-light);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  filter: drop-shadow(0 4px 6px rgba(12, 12, 12, 0.4));
}

.how-hero__lead {
  margin: 0 auto;
  max-width: 760px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Generic section shell ---------- */

.how-section {
  padding: clamp(40px, 5vw, 80px) var(--container-padding-x);
  background: var(--color-bg);
}

.how-section__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.how-section__title {
  margin: 0 0 clamp(18px, 2.2vw, 32px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.08;
  text-transform: uppercase;
  background: var(--grad-text-light);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  filter: drop-shadow(0 4px 6px rgba(12, 12, 12, 0.35));
}

.how-section__lead {
  margin: 0 0 clamp(24px, 2.6vw, 36px);
  max-width: 720px;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.how-section__body {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 20px);
}

.how-section__body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.how-section__body strong,
.how-trust__list strong,
.how-faq__a strong {
  color: var(--color-text);
  font-weight: 700;
}

/* ---------- Flow (passenger / driver) ---------- */

.how-flow__eyebrow {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: clamp(14px, 1.4vw, 20px);
  font-family: var(--font-meta);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-from);
  border: 1px solid rgba(245, 194, 5, 0.4);
  border-radius: 999px;
}

.how-flow--driver {
  position: relative;
  isolation: isolate;
}

.how-flow--driver::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 92%);
  height: clamp(280px, 30vw, 420px);
  background: radial-gradient(
    ellipse at center,
    rgba(245, 194, 5, 0.12) 0%,
    rgba(245, 194, 5, 0.03) 45%,
    transparent 75%
  );
  filter: blur(120px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Steps list ---------- */

.how-steps {
  margin: clamp(28px, 3.4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}

.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(20px, 2vw, 28px);
  position: relative;
}

.how-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: clamp(20px, 1.75vw, 26px);
  top: clamp(48px, 4.2vw, 60px);
  bottom: calc(-1 * clamp(20px, 2.4vw, 32px));
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(245, 194, 5, 0.5) 0%,
    rgba(245, 194, 5, 0) 100%
  );
}

.how-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 3.5vw, 52px);
  height: clamp(40px, 3.5vw, 52px);
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--color-text-on-light);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 1.6vw, 22px);
  box-shadow: 0 6px 18px rgba(245, 194, 5, 0.28);
  flex-shrink: 0;
}

.how-step__body {
  padding-top: clamp(4px, 0.6vw, 8px);
}

.how-step__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-text);
}

.how-step__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Trust grid ---------- */

.how-trust__grid {
  margin-top: clamp(24px, 2.6vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.how-trust__col {
  position: relative;
  padding: clamp(24px, 3vw, 40px) clamp(22px, 2.6vw, 36px);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.7) 0%, rgba(8, 8, 8, 0.7) 100%);
  isolation: isolate;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.how-trust__col::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.how-trust__col--do::before {
  background: linear-gradient(
    135deg,
    var(--color-accent-from) 0%,
    rgba(245, 194, 5, 0.08) 50%,
    var(--color-accent-to) 100%
  );
}

.how-trust__col--avoid::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.32) 100%
  );
}

.how-trust__col-title {
  margin: 0 0 clamp(16px, 1.8vw, 24px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-text);
}

.how-trust__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.how-trust__mark--ok {
  background: var(--grad-accent);
  color: var(--color-text-on-light);
  box-shadow: 0 6px 14px rgba(245, 194, 5, 0.28);
}

.how-trust__mark--avoid {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.how-trust__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 20px);
}

.how-trust__list li {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

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

.how-pricing__list {
  margin: clamp(24px, 2.6vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.how-pricing__item {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.how-pricing__item:hover {
  border-color: rgba(245, 194, 5, 0.4);
  transform: translateY(-4px);
}

.how-pricing__title {
  margin: 0 0 12px;
  position: relative;
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-text);
}

.how-pricing__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.how-pricing__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- FAQ ---------- */

.how-faq__list {
  margin-top: clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.how-faq__item[open] {
  border-color: rgba(245, 194, 5, 0.32);
  background: rgba(245, 194, 5, 0.04);
}

.how-faq__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 1.8vw, 22px) clamp(20px, 2vw, 28px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: pointer;
}

.how-faq__q::-webkit-details-marker {
  display: none;
}

.how-faq__q::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 194, 5, 0.5);
  color: var(--color-accent-from);
  font-family: var(--font-meta);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.how-faq__item[open] .how-faq__q::after {
  content: "−";
  background: var(--grad-accent);
  color: var(--color-text-on-light);
  border-color: transparent;
}

.how-faq__a {
  margin: 0;
  padding: 0 clamp(20px, 2vw, 28px) clamp(18px, 2vw, 24px);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

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

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

  .how-pricing__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .how-step {
    gap: 16px;
  }

  .how-step__title {
    font-size: 18px;
  }

  .how-faq__q {
    font-size: 15px;
  }

  .how-faq__q::after {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
}
