/* =====================================================================
   360 HOTEL SOLUTIONS — booking-engine.css
   Page-specific styles for the Booking Engine solution page.
   Reuses the global theme in style.css (tokens, header, footer,
   .flow-step, .why, .results, .final-cta, etc.).
   Responsive rules live at the bottom of this file.
   ===================================================================== */

/* ===== GENERIC SUB-PAGE SECTION ===== */
.be-section{padding:90px 0;background:var(--white);}
.be-section.tint-cyan{background:var(--tint-cyan);}
.be-section.tint-purple{background:var(--tint-purple);}
.be-section.tint-green{background:var(--tint-green);}

/* ===== HERO — checkout / booking summary mock ===== */
.be-hero .hero-sub{max-width:500px;}
/* feature pills as a 2x2 grid on desktop (mobile.css already makes them 2x2) */
.be-hero .hero-pills{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:440px;}

.be-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:480px;padding:0 8px;}
.checkout{width:100%;max-width:380px;background:#fff;border-radius:20px;border:1px solid var(--gray);box-shadow:0 44px 90px -32px rgba(2,15,77,0.45);overflow:hidden;position:relative;z-index:2;}
.checkout-head{padding:16px 20px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;}
.checkout-head .ct-title{font-size:14px;font-weight:700;}
.checkout-head .ct-step{font-size:10.5px;color:var(--cyan);font-weight:700;}
.checkout-body{padding:18px 20px 20px;}
.ck-room{display:flex;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--gray);}
.ck-room-img{width:56px;height:56px;border-radius:10px;background:url('../images/stock/hotel-property-listing-thumbnail.webp') center/cover;flex-shrink:0;}
.ck-room-name{font-size:13.5px;font-weight:700;color:var(--navy);}
.ck-room-meta{font-size:11px;color:var(--muted);margin-top:3px;}
.ck-rows{padding:12px 0;display:flex;flex-direction:column;gap:9px;border-bottom:1px solid var(--gray);}
.ck-row{display:flex;justify-content:space-between;font-size:12.5px;}
.ck-row .lbl{color:var(--muted);}
.ck-row .val{font-weight:600;color:var(--navy);}
.ck-row.discount .val{color:#16A34A;font-weight:700;}
.ck-coupon{display:flex;align-items:center;gap:10px;margin:14px 0;background:var(--tint-green);border:1px dashed #16A34A;border-radius:10px;padding:10px 12px;}
.ck-coupon .ico{width:26px;height:26px;border-radius:7px;background:rgba(22,163,74,0.14);color:#16A34A;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.ck-coupon .ico svg{width:14px;height:14px;}
.ck-coupon .tag{font-size:11.5px;font-weight:800;color:#16A34A;letter-spacing:.03em;}
.ck-coupon .desc{font-size:10px;color:var(--muted);margin-top:1px;}
.ck-total{display:flex;justify-content:space-between;align-items:flex-end;}
.ck-total .lbl{font-size:13px;font-weight:700;color:var(--navy);}
.ck-total .amt{font-size:21px;font-weight:800;color:var(--navy);}
.ck-pay{margin-top:14px;width:100%;background:var(--grad);color:#fff;border-radius:100px;padding:13px;text-align:center;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;}
.ck-pay svg{width:15px;height:15px;}
.ck-secure{margin-top:11px;text-align:center;font-size:10px;color:var(--muted-light);font-weight:600;display:flex;align-items:center;justify-content:center;gap:5px;}
.ck-secure svg{width:11px;height:11px;}

/* floating stat badges over the mock — reuse global float-in keyframe */
.be-badge{position:absolute;z-index:3;background:#fff;border-radius:14px;padding:10px 14px;box-shadow:0 16px 36px -12px rgba(2,15,77,0.26);display:flex;align-items:center;gap:9px;white-space:nowrap;opacity:0;animation:float-in .6s ease forwards;}
.be-badge .i{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.be-badge .i svg{width:15px;height:15px;}
.be-badge .num{font-size:15px;font-weight:800;line-height:1;}
.be-badge .lbl{font-size:10px;color:var(--muted);font-weight:600;margin-top:2px;}
.be-badge.b1{top:9%;left:-8px;animation-delay:.5s;} .be-badge.b1 .i{background:rgba(22,163,74,0.12);color:#16A34A;}
.be-badge.b2{bottom:8%;right:-8px;animation-delay:.9s;} .be-badge.b2 .i{background:rgba(14,99,255,0.1);color:var(--blue);}

/* ===== NAVY "KEEP YOUR REVENUE" BAND (reuses .why shell) ===== */
.be-keep{display:flex;flex-direction:column;gap:14px;}
.keep-card{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:14px;padding:16px 18px;}
.kc-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;}
.kc-label{font-size:12.5px;font-weight:700;color:#fff;}
.kc-tag{font-size:10.5px;font-weight:700;padding:3px 9px;border-radius:6px;}
.keep-card.ota .kc-tag{background:rgba(239,68,68,0.16);color:#ff9a9a;}
.keep-card.direct .kc-tag{background:rgba(28,207,255,0.16);color:var(--cyan);}
.kc-bar{height:32px;border-radius:8px;background:rgba(255,255,255,0.07);overflow:hidden;}
.kc-bar-fill{height:100%;display:flex;align-items:center;padding-left:12px;font-size:12px;font-weight:800;color:#fff;border-radius:8px;}
.keep-card.ota .kc-bar-fill{width:78%;background:linear-gradient(90deg,#b91c1c,#ef4444);}
.keep-card.direct .kc-bar-fill{width:100%;background:var(--grad);}
.kc-sub{font-size:11px;color:var(--muted-light);margin-top:9px;}

/* ===== FEATURE GRID (reuses .flow-step card styling) ===== */
.be-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}

/* ===== ONE PORTAL — channel control panel ===== */
.be-portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,60px);align-items:center;}
.be-portal-text h3{font-size:clamp(22px,2.6vw,28px);line-height:1.25;margin-bottom:14px;}
.be-portal-text p{color:var(--muted);font-size:15.5px;line-height:1.7;}
.be-portal-text .fr-list{display:flex;flex-direction:column;gap:11px;margin-top:20px;}
.be-portal-text .fr-list li{display:flex;align-items:flex-start;gap:11px;font-size:14.5px;color:var(--navy);font-weight:500;}
.be-portal-text .fr-list .ck{width:22px;height:22px;border-radius:50%;background:var(--grad);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;}
.be-portal-text .fr-list .ck svg{width:12px;height:12px;color:#fff;}

.portal-card{background:#0D1530;border-radius:20px;padding:18px;box-shadow:0 44px 90px -32px rgba(2,15,77,0.5);}
.pc-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;}
.pc-title{color:#fff;font-size:14px;font-weight:700;}
.pc-sync{display:flex;align-items:center;gap:8px;font-size:10.5px;color:var(--muted-light);font-weight:600;}
.be-toggle{width:34px;height:20px;border-radius:100px;background:rgba(255,255,255,0.18);position:relative;flex-shrink:0;}
.be-toggle::after{content:'';position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.3);}
.be-toggle.on{background:#16A34A;}
.be-toggle.on::after{left:16px;}
.pc-room{display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.08);border-radius:10px;padding:11px 13px;margin:12px 0;}
.pc-room .nm{color:#fff;font-size:12.5px;font-weight:700;}
.pc-room .inv{font-size:10.5px;color:var(--cyan);font-weight:700;}
.pc-channels{display:flex;flex-direction:column;gap:8px;}
.pc-ch{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:11px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);border-radius:10px;padding:10px 13px;}
.pc-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;}
.pc-dot.be{background:var(--blue);} .pc-dot.wa{background:#25D366;} .pc-dot.ota{background:var(--purple);} .pc-dot.go{background:var(--cyan);}
.pc-name{color:#fff;font-size:12px;font-weight:600;line-height:1.2;}
.pc-name small{display:block;color:var(--muted-light);font-size:9.5px;font-weight:500;margin-top:1px;}
.pc-rate{color:#fff;font-size:12.5px;font-weight:800;}
.pc-status{font-size:9px;font-weight:700;padding:3px 8px;border-radius:6px;background:rgba(37,211,102,0.15);color:#34d27a;white-space:nowrap;}
.pc-foot{margin-top:13px;font-size:11px;color:var(--muted-light);display:flex;align-items:flex-start;gap:7px;line-height:1.5;}
.pc-foot svg{width:13px;height:13px;color:var(--cyan);flex-shrink:0;margin-top:1px;}

/* ===== DISCOUNT COUPONS ===== */
.coupon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:18px;}
.coupon{position:relative;background:#fff;border:1px solid var(--gray);border-radius:16px;padding:22px 22px 20px;overflow:hidden;transition:transform .2s,box-shadow .2s;}
.coupon:hover{transform:translateY(-4px);box-shadow:0 22px 44px -18px rgba(2,15,77,0.18);}
/* ticket notches — match the section background (.be-coupons is tint-purple) */
.coupon::before,.coupon::after{content:'';position:absolute;top:50%;transform:translateY(-50%);width:20px;height:20px;border-radius:50%;background:var(--tint-purple);border:1px solid var(--gray);}
.coupon::before{left:-11px;}
.coupon::after{right:-11px;}
.coupon-off{font-size:30px;font-weight:800;line-height:1;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;}
.coupon-title{font-size:14px;font-weight:700;color:var(--navy);margin:8px 0 4px;}
.coupon-desc{font-size:12px;color:var(--muted);line-height:1.5;min-height:36px;}
.coupon-code{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;border-top:1px dashed var(--gray);padding-top:12px;}
.coupon-code .code{font-size:12.5px;font-weight:800;letter-spacing:.06em;color:var(--navy);background:var(--bg);border:1px dashed var(--muted-light);border-radius:7px;padding:5px 10px;}
.coupon-code .ch{font-size:9.5px;font-weight:700;color:var(--blue);text-transform:uppercase;letter-spacing:.03em;}
.coupon-feats{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:34px;}

/* ===== PAYMENTS STRIP ===== */
.be-pay{text-align:center;}
.be-pay .partners-sub{margin-top:0;}

/* ===== CTA — give the final CTA breathing room above it ===== */
.cta-band{padding:90px 0;}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media(max-width:920px){
  .be-section{padding:56px 0;}
  .be-visual{min-height:auto;width:100%;max-width:460px;margin:0 auto;padding:8px 0 0;}
  .be-feature-grid{grid-template-columns:1fr 1fr;}
  .be-portal-grid{grid-template-columns:1fr;gap:26px;}
  .be-portal-text{order:1;}
  .portal-card{order:2;}
  .be-badge.b1{left:0;} .be-badge.b2{right:0;}
}

@media(max-width:640px){
  .be-feature-grid{grid-template-columns:1fr;}
  .be-badge{display:none;}
  .coupon-grid{grid-template-columns:1fr;}
}
