.how-section {
  position: relative;
  isolation: isolate;
  padding: clamp(50px, 3.8vw, 58px) clamp(24px, 4vw, 64px) clamp(140px, 11.5vw, 180px);
  background: var(--ink);
  color: var(--paper);
}

.how-atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.how-atmosphere svg { display: block; width: 100%; height: 100%; }
.how-inner { position: relative; width: min(100%, var(--section-width)); margin: 0 auto; }

.how-header { max-width: 1100px; margin: 0 auto; text-align: center; }
.how-eyebrow { display: inline-flex; align-items: center; gap: 0.5em; margin: 0 0 var(--section-overline-gap); color: rgba(247, 247, 247, 0.9); font-size: clamp(10px, 0.83vw, 13px); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.how-eyebrow-slash { color: #00c7e8; }
.how-eyebrow-line { display: block; width: 52px; height: 2px; margin-left: 1.1em; background: #00c7e8; }
.how-header h2 { margin: 0; font-size: clamp(70px, 6.5vw, 100px); font-weight: 350; letter-spacing: -0.065em; line-height: 0.94; text-wrap: balance; }
.how-header h2 span,
.how-header h2 em { display: block; }
.how-header h2 em { margin-top: 0.06em; font-size: 1.03em; }
.how-header h2 .how-title-dot { display: inline; color: #00c7e8; }
.how-intro { max-width: 840px; margin: clamp(24px, 2.1vw, 32px) auto 0; color: rgba(247, 247, 247, 0.86); font-size: clamp(16px, 1.45vw, 22px); line-height: 1.5; }

.how-steps {
  --step-gap: clamp(42px, 3.6vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--step-gap);
  align-items: start;
  max-width: 1410px;
  margin: clamp(58px, 4.2vw, 67px) auto 0;
  padding: 0;
  list-style: none;
}

.how-step { position: relative; min-width: 0; }
.how-step:not(:last-child)::after { position: absolute; top: calc((100% - 140px) * 0.5); right: calc(var(--step-gap) / -2 - 7px); width: 14px; height: 14px; border-top: 2px solid #00c7e8; border-right: 2px solid #00c7e8; content: ""; transform: rotate(45deg); }

.how-visual {
  position: relative;
  width: 100%;
  min-height: 210px;
  aspect-ratio: 1.55;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, 0.66);
  border-radius: 16px;
  background: #17191a;
}

.how-visual > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms ease, filter 650ms ease; }
.how-scene-background { filter: blur(3px) brightness(0.7); transform: scale(1.08); }
.how-step--book .how-scene-background { object-position: 48% 50%; }
.how-step--deliver .how-scene-background { filter: blur(4px) brightness(0.68); }
.how-capture-room { filter: blur(2px) brightness(0.64); transform: scale(1.06); }
.how-capture-camera { object-position: 66% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 28%, #000 52%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 28%, #000 52%); }
.how-panel-shade { position: absolute; z-index: 3; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 38%, rgba(0, 0, 0, 0.4) 100%); pointer-events: none; }
.how-visual-number { position: absolute; z-index: 4; bottom: 6%; left: 6%; padding-right: 0.2em; color: #fff; font-size: clamp(76px, 6.5vw, 96px); font-style: italic; font-weight: 300; letter-spacing: -0.09em; line-height: 0.85; text-shadow: 0 5px 18px rgba(0, 0, 0, 0.55); }

.how-laptop { position: absolute; z-index: 2; left: 50%; width: 76%; height: 63%; transform: translateX(-50%) rotate(-4deg); filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.64)); }
.how-laptop--booking { top: 16%; }
.how-laptop--gallery { top: 15%; width: 81%; transform: translateX(-50%) rotate(3deg); }
.how-laptop-screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 7px 9px 9px; border: 6px solid #101214; border-radius: 8px 8px 3px 3px; background: #0b1115; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.how-laptop-base { position: absolute; right: -6%; bottom: -9px; left: -6%; height: 10px; border-radius: 1px 1px 40% 40%; background: linear-gradient(#888b8d, #34383b 48%, #141719); box-shadow: 0 5px 8px rgba(0, 0, 0, 0.35); }
.how-screen-head { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 16px; color: rgba(247, 247, 247, 0.74); font-size: clamp(5px, 0.48vw, 7px); font-weight: 600; letter-spacing: 0.11em; white-space: nowrap; }
.how-screen-head span:last-child { font-size: 10px; letter-spacing: 0.04em; }
.how-screen-mark { display: grid; place-items: center; width: 14px; height: 14px; border: 1px solid rgba(247, 247, 247, 0.55); border-radius: 50%; font-size: 8px; letter-spacing: -0.08em; }
.how-booking-title { margin: 5px 0 4px; color: #fff; font-size: clamp(9px, 0.9vw, 13px); font-weight: 500; letter-spacing: -0.035em; }
.how-calendar-month { display: flex; align-items: center; justify-content: space-between; color: rgba(247, 247, 247, 0.65); font-size: clamp(6px, 0.58vw, 8px); }
.how-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; flex: 1; align-content: center; margin-top: 4px; }
.how-calendar-grid span { display: grid; place-items: center; min-height: 13px; color: rgba(247, 247, 247, 0.72); font-size: clamp(5px, 0.52vw, 7px); }
.how-calendar-grid .is-selected { border-radius: 2px; background: #00ccff; color: #061015; font-weight: 700; }
.how-gallery-main { flex: 1; min-height: 0; margin-top: 5px; overflow: hidden; }
.how-gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.how-gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 23%; margin-top: 4px; }
.how-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.how-step-copy { display: flex; align-items: flex-start; gap: clamp(18px, 1.5vw, 23px); margin: clamp(32px, 2.5vw, 39px) 0 0; padding-left: clamp(12px, 1.6vw, 24px); }
.how-step-copy svg { display: block; width: clamp(31px, 3vw, 42px); height: clamp(31px, 3vw, 42px); flex: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.how-step-copy > div { min-width: 0; min-height: 106px; padding-left: clamp(20px, 1.7vw, 26px); border-left: 2px solid #00c7e8; }
.how-step-copy h3 { margin: 0; font-size: clamp(23px, 2vw, 30px); font-weight: 400; letter-spacing: -0.055em; line-height: 1.12; }
.how-step-copy p { max-width: 335px; margin: 16px 0 0; color: rgba(247, 247, 247, 0.86); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; }

@media (hover: hover) {
  .how-step:hover .how-visual > img { transform: scale(1.045); filter: brightness(1.08); }
  .how-step--book:hover .how-scene-background,
  .how-step--deliver:hover .how-scene-background { transform: scale(1.11); filter: blur(3px) brightness(0.75); }
  .how-step--capture:hover .how-capture-room { transform: scale(1.08); filter: blur(2px) brightness(0.7); }
  .how-step:not(:last-child):hover::after { translate: 3px 0; }
}

@media (max-width: 900px) {
  .how-section { padding-top: 92px; padding-bottom: 100px; }
  .how-header h2 { font-size: clamp(53px, 7.4vw, 72px); }
  .how-steps { --step-gap: 70px; grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-top: 70px; }
  .how-step:not(:last-child)::after { top: auto; right: auto; bottom: -43px; left: calc(50% - 8px); transform: rotate(135deg); }
  .how-visual { min-height: 0; aspect-ratio: 1.75; }
  .how-visual-number { font-size: clamp(70px, 12vw, 100px); }
  .how-step-copy { margin-top: 24px; }
  .how-step-copy h3 { font-size: clamp(23px, 4vw, 29px); }
  .how-step-copy p { font-size: 16px; }
  .how-laptop { width: 72%; }
  .how-laptop--gallery { width: 77%; }
  .how-screen-head { font-size: 8px; }
  .how-booking-title { font-size: 13px; }
  .how-calendar-month { font-size: 9px; }
  .how-calendar-grid span { min-height: 18px; font-size: 9px; }
}

@media (max-width: 600px) {
  .how-section { padding-top: 78px; padding-bottom: 86px; }
  .how-eyebrow { margin-bottom: 27px; font-size: 9px; }
  .how-eyebrow-line { width: 27px; }
  .how-header h2 { font-size: clamp(46px, 10.2vw, 61px); line-height: 0.97; }
  .how-header h2 em { margin-top: 0.12em; }
  .how-intro { max-width: 340px; margin: 25px auto 0; font-size: 15px; }
  .how-steps { --step-gap: 74px; margin-top: 60px; }
  .how-visual { aspect-ratio: 1.45; border-radius: 12px; }
  .how-visual-number { left: 7%; font-size: clamp(64px, 18vw, 82px); }
  .how-step-copy { gap: 14px; padding-left: 4px; }
  .how-step-copy svg { width: 31px; height: 31px; }
  .how-step-copy > div { padding-left: 15px; }
  .how-step-copy h3 { font-size: clamp(22px, 6vw, 27px); }
  .how-step-copy p { margin-top: 9px; font-size: 15px; }
  .how-laptop { top: 17%; width: 80%; height: 59%; }
  .how-laptop--gallery { top: 17%; width: 85%; }
  .how-calendar-grid span { min-height: 14px; font-size: 7px; }
}

@media (prefers-reduced-motion: no-preference) {
  .how-section.how-enhanced .how-eyebrow,
  .how-section.how-enhanced .how-header h2,
  .how-section.how-enhanced .how-intro,
  .how-section.how-enhanced .how-step { opacity: 0; transform: translateY(46px); }
  .how-section.how-enhanced .how-visual-number { clip-path: inset(0 0 100% 0); }
  .how-section.how-enhanced .how-step::after { opacity: 0; }
  .how-section.how-enhanced.is-visible .how-eyebrow,
  .how-section.how-enhanced.is-visible .how-header h2,
  .how-section.how-enhanced.is-visible .how-intro,
  .how-section.how-enhanced.is-visible .how-step { opacity: 1; transform: translateY(0); transition: opacity 900ms ease, transform 1050ms cubic-bezier(0.22, 1, 0.36, 1); }
  .how-section.how-enhanced.is-visible .how-header h2 { transition-delay: 100ms; }
  .how-section.how-enhanced.is-visible .how-intro { transition-delay: 200ms; }
  .how-section.how-enhanced.is-visible .how-step:nth-child(1) { transition-delay: 260ms; }
  .how-section.how-enhanced.is-visible .how-step:nth-child(2) { transition-delay: 430ms; }
  .how-section.how-enhanced.is-visible .how-step:nth-child(3) { transition-delay: 600ms; }
  .how-section.how-enhanced.is-visible .how-visual-number { clip-path: inset(0); transition: clip-path 850ms ease 600ms; }
  .how-section.how-enhanced.is-visible .how-step:nth-child(2) .how-visual-number { transition-delay: 770ms; }
  .how-section.how-enhanced.is-visible .how-step:nth-child(3) .how-visual-number { transition-delay: 940ms; }
  .how-section.how-enhanced.is-visible .how-step::after { opacity: 1; transition: opacity 650ms ease 750ms, translate 240ms ease; }
  .how-section.how-enhanced.is-visible .how-step:nth-child(2)::after { transition-delay: 920ms; }
}
