/* ============================================================
   BookingStepsSection.module.css — Mudah & Cepat / Cara Booking
   Modern Editorial Outdoor Adventure Design System
   ============================================================ */

.section {
  position: relative;
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F7FAF7 100%);
  padding-top: 88px;
  padding-bottom: 92px;
  overflow: hidden;
}

/* ── Subtle Background Corner Leaf Silhouettes ─────────────── */

.bgLeafLeft {
  position: absolute;
  bottom: 10px;
  left: -10px;
  width: 160px;
  height: 140px;
  pointer-events: none;
  z-index: 0;
}

.bgLeafRight {
  position: absolute;
  bottom: 10px;
  right: -10px;
  width: 160px;
  height: 140px;
  pointer-events: none;
  z-index: 0;
}

/* ── Container ─────────────────────────────────────────────── */

.container {
  position: relative;
  z-index: 1;
}

/* ── Header Area with Script Accents ──────────────────────── */

.headerArea {
  position: relative;
  margin-bottom: 48px;
}

.header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.eyebrowText {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ppt-primary, #269436);
}

.eyebrowLine {
  width: 36px;
  height: 1.5px;
  background-color: var(--ppt-primary, #269436);
  opacity: 0.7;
}

.heading {
  font-size: clamp(2.8rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #17232F;
  margin: 0 0 14px 0;
}

.headingAccent {
  color: var(--ppt-primary, #269436);
}

.description {
  font-size: 17.5px;
  line-height: 1.65;
  color: #667085;
  max-width: 660px;
  margin: 0 auto;
}

/* Top-Left Handwritten Accent */
.leftAccent {
  position: absolute;
  left: 0;
  top: 8px;
  text-align: left;
  user-select: none;
  pointer-events: none;
}

.leftAccentText {
  font-family: var(--font-family-handwritten, 'Caveat', cursive, sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #17232F;
  line-height: 1.15;
  display: block;
}

.leftAccentMarks {
  position: relative;
  width: 130px;
  margin-top: -2px;
}

.splashRays {
  position: absolute;
  right: -8px;
  top: -18px;
  display: flex;
  gap: 3px;
  transform: rotate(25deg);
}

.ray1,
.ray2 {
  width: 1.8px;
  height: 9px;
  background-color: var(--ppt-primary, #269436);
  border-radius: 999px;
}

.ray2 {
  height: 6px;
  margin-top: 3px;
}

/* Top-Right Handwritten Accent with Paper Plane */
.rightAccent {
  position: absolute;
  right: 0;
  top: 8px;
  text-align: right;
  user-select: none;
  pointer-events: none;
}

.rightAccentText {
  font-family: var(--font-family-handwritten, 'Caveat', cursive, sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #17232F;
  line-height: 1.15;
  display: block;
}

.rightAccentUnderline {
  width: 120px;
  height: 15px;
  margin-left: auto;
  margin-top: -2px;
  display: block;
}

.paperPlaneWrap {
  position: absolute;
  right: -24px;
  top: 8px;
  width: 140px;
  height: 45px;
}

.planePath {
  width: 100%;
  height: 100%;
}

.planeIcon {
  position: absolute;
  right: -6px;
  top: 8px;
  color: var(--ppt-primary, #269436);
  transform: rotate(-15deg);
}

/* ── 4 Step Cards Grid & Connector Line ────────────────────── */

.stepsWrapper {
  position: relative;
  margin-bottom: 44px;
}

/* Desktop Dashed Connector Line between badges */
.connectorLine {
  position: absolute;
  top: 44px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 0;
  border-top: 2.5px dashed rgba(38, 148, 54, 0.45);
  z-index: 0;
  pointer-events: none;
}

.stepsList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.stepItem {
  display: flex;
}

.card {
  background-color: #FFFFFF;
  border-radius: 18px;
  border: 1px solid rgba(23, 35, 47, 0.08);
  box-shadow: 0 8px 24px rgba(20, 30, 25, 0.05);
  padding: 24px 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 30, 25, 0.09);
  border-color: rgba(23, 35, 47, 0.14);
}

/* Step Number Badge */
.stepNumBadge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--ppt-primary, #269436);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(38, 148, 54, 0.28);
  z-index: 2;
}

/* Center Illustration Container */
.iconContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
  margin-bottom: 20px;
}

.iconBackdrop {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 20px;
  background-color: #EEF8EF;
  color: var(--ppt-primary, #269436);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(38, 148, 54, 0.06);
}

.mainIcon {
  color: var(--ppt-primary, #269436);
}

/* Radiating Rays on Step 1 */
.iconRays {
  position: absolute;
  top: -4px;
  right: -6px;
  display: flex;
  gap: 3px;
  transform: rotate(35deg);
}

.iconRay1,
.iconRay2 {
  width: 2px;
  height: 8px;
  background-color: var(--ppt-primary, #269436);
  border-radius: 999px;
}

.iconRay2 {
  height: 6px;
  margin-top: 2px;
}

/* Small Green Check Badge on Steps 3 & 4 */
.checkBadge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--ppt-primary, #269436);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.stepTitle {
  font-size: 19px;
  font-weight: 700;
  color: #17232F;
  margin: 0 0 10px 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.stepDesc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #667085;
  margin: 0;
}

/* ── Dark Forest Green CTA Banner ──────────────────────────── */

.ctaBanner {
  position: relative;
  border-radius: 22px;
  background-color: #174C3D;
  background-image: linear-gradient(135deg, #133D31 0%, #174C3D 100%);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(19, 61, 49, 0.2);
}

.ctaTopoPattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ctaInner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 36px 0 0;
}

.ctaVisualLeft {
  height: 100%;
  display: flex;
  align-items: flex-end;
  align-self: stretch;
  overflow: hidden;
}

.ctaHikerImg {
  object-fit: cover;
  height: 100%;
  width: 100%;
  max-height: 130px;
  display: block;
}

.ctaContent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
}

.ctaTitle {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

.ctaDesc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}

.ctaRight {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
  padding: 24px 0;
}

.ctaBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--ppt-primary, #269436);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 220ms ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.ctaBtn:hover {
  background-color: #F7FAF7;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.ctaArrow {
  transition: transform 200ms ease;
}

.ctaBtn:hover .ctaArrow {
  transform: translateX(3px);
}

.ctaTrustRow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
}

.ctaTrustItem {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trustIcon {
  color: #FFFFFF;
  opacity: 0.9;
}

.trustDivider {
  color: rgba(255, 255, 255, 0.35);
  margin-left: 8px;
  font-size: 11px;
}

/* ── Responsive Media Queries ──────────────────────────────── */

/* Large Tablet / Small Desktop (768px – 1199px) */
@media (max-width: 1199px) {
  .section {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .heading {
    font-size: clamp(2.4rem, 3.6vw, 2.9rem);
  }

  .leftAccent,
  .connectorLine {
    display: none;
  }

  .rightAccent {
    transform: scale(0.85);
    top: 0;
  }

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

  .ctaInner {
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 0 24px 20px 0;
  }

  .ctaRight {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 24px;
    width: 100%;
  }
}

/* Medium Tablet / Small screens (< 960px) */
@media (max-width: 960px) {
  .rightAccent {
    display: none;
  }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .section {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .bgLeafLeft,
  .bgLeafRight,
  .leftAccent,
  .rightAccent,
  .connectorLine {
    display: none;
  }

  .headerArea {
    margin-bottom: 32px;
  }

  .heading {
    font-size: clamp(2rem, 6.2vw, 2.4rem);
    line-height: 1.18;
  }

  .description {
    font-size: 15.5px;
  }

  .stepsWrapper {
    margin-bottom: 28px;
  }

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

  .card {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .stepNumBadge {
    width: 40px;
    height: 40px;
    font-size: 14px;
    top: 16px;
    left: 16px;
  }

  .iconContainer {
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .iconBackdrop {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

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

  .stepTitle {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .stepDesc {
    font-size: 14px;
  }

  /* CTA Banner Mobile */
  .ctaBanner {
    border-radius: 18px;
  }

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

  .ctaVisualLeft {
    display: none;
  }

  .ctaContent {
    padding: 0;
  }

  .ctaTitle {
    font-size: 24px;
  }

  .ctaRight {
    padding: 0;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .ctaBtn {
    width: 100%;
    justify-content: center;
  }

  .ctaTrustRow {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}
