.trip-how {
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 92px);
  color: #141615;
  background: #e9ebe6;
}

.trip-how__inner { width: min(1320px, 100%); margin: 0 auto; }
.trip-how__head { max-width: 860px; margin-bottom: clamp(28px, 4vw, 42px); }
.trip-how__head .eyebrow { margin-bottom: 14px; color: var(--ride-red); }
.trip-how__head h2 { max-width: 850px; margin: 0; font: 700 clamp(34px, 5.2vw, 68px)/1.08 var(--display); letter-spacing: -.075em; }
.trip-how__head h2 span { color: var(--ride-red); }
.trip-how__head > p:last-child { max-width: 760px; margin-top: 16px; color: #59645e; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.6; }
.trip-how__grid { display: grid; gap: 42px; counter-reset: trip-how; }
.trip-how__card { position: relative; min-width: 0; padding: 0 2%; counter-increment: trip-how; }
.trip-how__visual { position: relative; height: clamp(250px, 29vw, 390px); margin-bottom: 24px; overflow: hidden; transform-origin: center; transition: transform .55s cubic-bezier(.2,.85,.25,1); }
.trip-how__visual--dates { background: linear-gradient(180deg, #34554a20, #14251f18), url("mountains.svg") center 58% / cover; }
.trip-how__visual--dates::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, #14251f2b, transparent 45%); pointer-events: none; }
.trip-how__calendar { position: absolute; z-index: 1; top: 17%; left: 12%; display: flex; width: min(76%, 370px); min-height: 61%; flex-direction: column; justify-content: center; padding: clamp(17px, 2.2vw, 28px); border: 1px solid #d6e1d7; background: #f7f5ec; box-shadow: 0 18px 35px #14251f3b; transform: rotate(-3deg); }
.trip-how__calendar-kicker, .trip-how__calendar-month { color: #62756b; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.trip-how__calendar strong { margin: 12px 0 0; color: #111816; font: 700 clamp(42px, 6vw, 76px)/1 var(--display); letter-spacing: -.09em; }
.trip-how__calendar-days { display: flex; justify-content: space-between; gap: 5px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #d9ddd5; }
.trip-how__calendar-days i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #54655c; font-size: 9px; font-style: normal; }
.trip-how__calendar-days i:nth-child(2), .trip-how__calendar-days i:nth-child(3), .trip-how__calendar-days i:nth-child(4) { color: #fff; background: var(--ride-red); }
.trip-how__visual-stamp { position: absolute; z-index: 2; right: 16px; bottom: 15px; color: #f8f5ed; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-shadow: 0 1px 5px #10181680; }
.trip-how__visual--stay { background: #a9c8c0; }
.trip-how__visual--stay > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.trip-how__stay-chip { position: absolute; z-index: 1; display: block; padding: 9px 12px; border: 1px solid #fff; border-radius: 4px; color: #173e30; background: #f7f5ec; box-shadow: 0 8px 20px #14251f29; font-size: 10px; font-weight: 700; }
.trip-how__stay-chip--one { top: 15%; left: 7%; transform: rotate(-4deg); }
.trip-how__stay-chip--two { right: 6%; bottom: 15%; transform: rotate(3deg); }
.trip-how__visual--share { display: grid; place-items: center; background: radial-gradient(circle at 78% 20%, #ed1c2430, transparent 24%), #173e32; }
.trip-how__visual--share::before, .trip-how__visual--share::after { position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid #d7e8dc20; border-radius: 50%; content: ""; }
.trip-how__visual--share::after { width: 92%; }
.trip-how__ticket { position: relative; z-index: 1; width: min(76%, 390px); padding: clamp(17px, 2vw, 26px); color: #16221d; background: #f7f5ec; box-shadow: 0 20px 40px #07120e55; transform: rotate(2deg); }
.trip-how__ticket-head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 11px; border-bottom: 1px dashed #b9c7bc; color: #607369; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.trip-how__ticket-head b { color: var(--ride-red); }
.trip-how__ticket > strong { display: block; margin-top: 16px; font: 700 clamp(27px, 3.5vw, 44px)/1.04 var(--display); letter-spacing: -.06em; }
.trip-how__ticket-route { display: flex; align-items: center; gap: 9px; margin-top: 17px; color: #59645e; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.trip-how__ticket-route i { position: relative; height: 1px; flex: 1; border-top: 1px dashed #97aa9e; }
.trip-how__ticket-route i::after { position: absolute; top: -4px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ride-red); content: ""; }
.trip-how__ticket-share { display: flex; justify-content: space-between; margin-top: 15px; padding-top: 10px; border-top: 1px solid #d7ded5; color: #36574a; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.trip-how__ticket-share b { color: var(--ride-red); font-size: 15px; }
.trip-how__content { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: 16px; }
.trip-how__number { display: grid; width: 52px; height: 52px; place-items: center; color: #fff; background: #0b0b0c; font: 800 15px var(--display); }
.trip-how__number::before { content: counter(trip-how, decimal-leading-zero); }
.trip-how__content h3 { margin: 0; color: #111816; font: 700 clamp(16px, 1.45vw, 20px)/1.3 var(--display); letter-spacing: -.035em; }
.trip-how__content p { margin-top: 8px; color: #59645e; font-size: 13px; line-height: 1.55; }
.trip-how__card:not(:last-child)::after { position: absolute; z-index: 3; bottom: -37px; left: 50%; color: var(--ride-red); content: "↓"; font-size: 25px; font-weight: 800; transform: translateX(-50%); }
.trip-how__card:hover .trip-how__visual { transform: translateY(-7px); }

@media (min-width: 640px) and (max-width: 899px) {
  .trip-how__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
  .trip-how__card:last-child { width: 52%; grid-column: 1 / -1; justify-self: center; }
  .trip-how__visual { height: 290px; }
}

@media (min-width: 900px) {
  .trip-how__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 0; margin: 10px -2% 0; }
  .trip-how__card:nth-child(1) .trip-how__visual { transform: translateX(7%) rotate(-3deg); }
  .trip-how__card:nth-child(2) { z-index: 2; }
  .trip-how__card:nth-child(2) .trip-how__visual { transform: translateY(30px) scale(1.06) rotate(2deg); }
  .trip-how__card:nth-child(2) .trip-how__content { margin-top: 30px; }
  .trip-how__card:nth-child(3) .trip-how__visual { transform: translateX(-7%) rotate(-2deg); }
  .trip-how__card:not(:last-child)::after { top: 42%; right: -5%; bottom: auto; left: auto; font-size: 34px; filter: drop-shadow(0 3px 0 #f7f5ec); transform: none; }
  .trip-how__card:hover .trip-how__visual { transform: translateY(-7px) rotate(0); }
}

@media (max-width: 639px) {
  .trip-how { padding: 58px 20px 64px; }
  .trip-how__head { margin-bottom: 30px; }
  .trip-how__head .eyebrow { font-size: 9px; }
  .trip-how__head h2 { font-size: clamp(31px, 9vw, 44px); }
  .trip-how__head > p:last-child { margin-top: 12px; font-size: 13px; }
  .trip-how__grid { gap: 38px; }
  .trip-how__card { padding: 0; }
  .trip-how__visual { height: clamp(220px, 66vw, 300px); margin-bottom: 18px; }
  .trip-how__content { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .trip-how__number { width: 42px; height: 42px; font-size: 12px; }
  .trip-how__content h3 { font-size: 16px; }
  .trip-how__content p { margin-top: 6px; font-size: 12px; }
  .trip-how__card:not(:last-child)::after { bottom: -32px; }
}

@media (prefers-reduced-motion: reduce) {
  .trip-how__visual { transition-duration: .01ms; }
}
