/* =====================================================================
   360 HOTEL SOLUTIONS — ota-management.css
   Page-specific styles for the OTA Management solution page.
   Reuses the global theme (tokens, header, footer, .flow-step, .why,
   .marquee, .results, .final-cta). Responsive rules at the bottom.
   ===================================================================== */

/* ===== GENERIC SUB-PAGE SECTION ===== */
.ota-section{padding:90px 0;background:var(--white);}
.ota-section.tint-cyan{background:var(--tint-cyan);}
.ota-section.tint-purple{background:var(--tint-purple);}

/* ===== HERO — OTA listing card ===== */
.ota-hero .hero-sub{max-width:500px;}
/* feature pills as a 2x2 grid on desktop (mobile.css already makes them 2x2) */
.ota-hero .hero-pills{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:440px;}

.ota-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:480px;padding:0 26px;}
.ota-listing{width:100%;max-width:392px;background:#fff;border-radius:18px;border:1px solid var(--gray);box-shadow:0 44px 90px -32px rgba(2,15,77,0.45);overflow:hidden;position:relative;z-index:2;}
.ota-list-img{height:172px;position:relative;background:url('../images/stock/hotel-website-service.webp') center/cover;}
.ota-list-spon{position:absolute;top:12px;left:12px;background:rgba(123,46,255,0.95);color:#fff;font-size:10px;font-weight:800;padding:4px 10px;border-radius:6px;letter-spacing:.03em;}
.ota-list-heart{position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,0.92);display:flex;align-items:center;justify-content:center;}
.ota-list-heart svg{width:15px;height:15px;color:#ef4444;}
.ota-list-rank{position:absolute;bottom:12px;left:12px;background:rgba(2,15,77,0.85);color:#fff;font-size:10.5px;font-weight:700;padding:4px 10px;border-radius:6px;}
.ota-list-body{padding:16px 18px 18px;}
.ota-list-name{font-size:16px;font-weight:800;color:var(--navy);}
.ota-list-loc{font-size:11.5px;color:var(--muted);margin-top:3px;display:flex;align-items:center;gap:5px;}
.ota-list-loc svg{width:12px;height:12px;flex-shrink:0;}
.ota-list-stars{display:flex;gap:2px;margin-top:9px;color:#F5A623;}
.ota-list-stars svg{width:13px;height:13px;}
.ota-list-amen{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px;}
.ota-amen{font-size:10px;font-weight:600;color:var(--muted);background:var(--bg);border:1px solid var(--gray);border-radius:6px;padding:3px 8px;}
.ota-list-foot{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:14px;border-top:1px solid var(--gray);}
.ota-list-score{display:flex;align-items:center;gap:9px;}
.ota-score-badge{background:var(--grad);color:#fff;font-size:13px;font-weight:800;border-radius:8px 8px 8px 0;padding:6px 9px;}
.ota-score-txt .s{font-size:11.5px;font-weight:800;color:var(--navy);}
.ota-score-txt .r{font-size:10px;color:var(--muted);}
.ota-list-price{text-align:right;}
.ota-list-price .p{font-size:18px;font-weight:800;color:var(--navy);}
.ota-list-price .n{font-size:9.5px;color:var(--muted);}
.ota-list-price .free{font-size:9px;color:#16a34a;font-weight:700;display:block;margin-top:2px;}

/* floating stat badges over the listing — reuse global float-in keyframe */
.ota-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;}
.ota-badge .i{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.ota-badge .i svg{width:15px;height:15px;}
.ota-badge .num{font-size:14px;font-weight:800;line-height:1.1;}
.ota-badge .lbl{font-size:10px;color:var(--muted);font-weight:600;margin-top:2px;}
.ota-badge.b1{top:11%;left:-8px;animation-delay:.5s;} .ota-badge.b1 .i{background:rgba(245,166,35,0.15);color:#F5A623;}
.ota-badge.b2{bottom:10%;right:-8px;animation-delay:.9s;} .ota-badge.b2 .i{background:rgba(123,46,255,0.1);color:var(--purple);}

/* ===== LISTED-EVERYWHERE MARQUEE STRIP ===== */
.ota-marquee-strip{padding:52px 0;background:var(--bg);overflow:hidden;}
.ota-marquee-strip .partners-sub{margin:0 0 22px;}

/* ===== NAVY BAND — channel status list (reuses .why) ===== */
.ota-channels{display:flex;flex-direction:column;gap:10px;}
.ota-ch{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:12px;padding:10px 12px;}
.ota-ch-logo{width:78px;height:30px;background:#fff;border-radius:7px;display:flex;align-items:center;justify-content:center;padding:5px 8px;flex-shrink:0;}
.ota-ch-logo img{max-width:100%;max-height:100%;object-fit:contain;display:block;}
.ota-ch-status{display:flex;gap:6px;flex-wrap:wrap;flex:1;}
.ota-pill{font-size:9.5px;font-weight:700;padding:3px 8px;border-radius:6px;white-space:nowrap;}
.ota-pill.listed{background:rgba(28,207,255,0.16);color:var(--cyan);}
.ota-pill.opt{background:rgba(37,211,102,0.16);color:#34d27a;}
.ota-pill.spon{background:rgba(123,46,255,0.2);color:#c4a6ff;}
.ota-pill.promo{background:rgba(245,166,35,0.18);color:#fbbf24;}

/* ===== FEATURE GRID (reuses .flow-step card styling) ===== */
.ota-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}

/* ===== PROMOTIONS & SPONSORED — ranking mock ===== */
.ota-promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,60px);align-items:center;}
.ota-promo-text h3{font-size:clamp(22px,2.6vw,28px);line-height:1.25;margin-bottom:14px;}
.ota-promo-text p{color:var(--muted);font-size:15.5px;line-height:1.7;}
.ota-promo-text .fr-list{display:flex;flex-direction:column;gap:11px;margin-top:20px;}
.ota-promo-text .fr-list li{display:flex;align-items:flex-start;gap:11px;font-size:14.5px;color:var(--navy);font-weight:500;}
.ota-promo-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;}
.ota-promo-text .fr-list .ck svg{width:12px;height:12px;color:#fff;}

.ota-rank{background:#fff;border:1px solid var(--gray);border-radius:18px;box-shadow:0 40px 80px -32px rgba(2,15,77,0.4);padding:18px;}
.ota-rank-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;}
.ota-rank-title{font-size:13px;font-weight:700;color:var(--navy);}
.ota-rank-sub{font-size:10.5px;color:var(--muted);}
.ota-rrow{display:flex;align-items:center;gap:11px;padding:11px;border-radius:12px;border:1px solid var(--gray);margin-bottom:8px;}
.ota-rrow:last-child{margin-bottom:0;}
.ota-rrow.you{border-color:rgba(14,99,255,0.4);background:var(--tint-blue);box-shadow:0 10px 24px -12px rgba(14,99,255,0.3);}
.ota-rrow .pos{width:26px;height:26px;border-radius:7px;background:var(--gray);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:var(--muted);flex-shrink:0;}
.ota-rrow.you .pos{background:var(--grad);color:#fff;}
.ota-rrow .nm{flex:1;font-size:12.5px;font-weight:700;color:var(--navy);line-height:1.2;}
.ota-rrow .nm small{display:block;font-size:10px;color:var(--muted);font-weight:500;margin-top:2px;}
.ota-rrow .spon{font-size:9px;font-weight:800;color:var(--purple);background:rgba(123,46,255,0.1);padding:3px 7px;border-radius:5px;white-space:nowrap;}
.ota-rrow .up{font-size:10.5px;font-weight:800;color:#16a34a;white-space:nowrap;}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media(max-width:920px){
  .ota-section{padding:56px 0;}
  .ota-visual{min-height:auto;padding:8px 0 0;}
  .ota-feature-grid{grid-template-columns:1fr 1fr;}
  .ota-promo-grid{grid-template-columns:1fr;gap:26px;}
  .ota-promo-text{order:1;}
  .ota-rank{order:2;}
  .ota-badge.b1{left:-2px;} .ota-badge.b2{right:-2px;}
}

@media(max-width:640px){
  .ota-feature-grid{grid-template-columns:1fr;}
  .ota-badge{display:none;}
}
