/* =====================================================================
   360 HOTEL SOLUTIONS — social-media-marketing.css
   Page-specific styles for the Social Media Marketing solution page.
   Reuses the global theme (tokens, header, footer, .flow-step, .why,
   .bar-chart, .results, .final-cta). Responsive rules at the bottom.
   ===================================================================== */

/* ===== GENERIC SUB-PAGE SECTION ===== */
.dm-section{padding:90px 0;background:var(--white);}
.dm-section.tint-cyan{background:var(--tint-cyan);}
.dm-section.tint-purple{background:var(--tint-purple);}

/* ===== HERO — Meta ad creative card ===== */
.dm-hero .hero-sub{max-width:500px;}
/* feature pills as a 2x2 grid on desktop (mobile.css already makes them 2x2) */
.dm-hero .hero-pills{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:440px;}

.dm-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:500px;padding:0 26px;}
.dm-ad{width:100%;max-width:346px;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;}
.dm-ad-head{display:flex;align-items:center;gap:10px;padding:12px 14px;}
.dm-ad-avatar{width:34px;height:34px;border-radius:50%;background:var(--grad);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#fff;flex-shrink:0;}
.dm-ad-id{flex:1;line-height:1.2;}
.dm-ad-name{font-size:12.5px;font-weight:700;color:var(--navy);}
.dm-ad-spon{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:4px;margin-top:1px;}
.dm-ad-spon svg{width:10px;height:10px;}
.dm-ad-more{display:flex;gap:2px;}
.dm-ad-more span{width:3px;height:3px;border-radius:50%;background:var(--muted-light);}
.dm-ad-img{height:300px;position:relative;background:url('../images/stock/booking-engine-service.webp') center/cover;}
.dm-ad-cap{position:absolute;left:0;right:0;bottom:0;padding:18px 14px 14px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 100%);color:#fff;}
.dm-ad-cap .t{font-size:18px;font-weight:800;line-height:1.1;}
.dm-ad-cap .s{font-size:12px;opacity:.92;margin-top:3px;}
.dm-ad-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--bg);padding:11px 14px;border-bottom:1px solid var(--gray);}
.dm-ad-cta .url{font-size:10px;color:var(--muted-light);text-transform:uppercase;letter-spacing:.04em;font-weight:700;}
.dm-ad-cta .url b{display:block;font-size:12.5px;color:var(--navy);text-transform:none;letter-spacing:0;margin-top:2px;}
.dm-ad-cta .btn{background:#0861F2;color:#fff;font-size:12px;font-weight:700;padding:8px 16px;border-radius:7px;flex-shrink:0;}
.dm-ad-actions{padding:9px 14px 4px;display:flex;gap:16px;color:#333;}
.dm-ad-actions svg{width:18px;height:18px;}
.dm-ad-likes{padding:2px 14px 14px;font-size:11px;color:#555;}
.dm-ad-likes b{color:#111;}

/* floating stat badges over the ad — reuse global float-in keyframe */
.dm-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;}
.dm-badge .i{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.dm-badge .i svg{width:15px;height:15px;}
.dm-badge .num{font-size:15px;font-weight:800;line-height:1;}
.dm-badge .lbl{font-size:10px;color:var(--muted);font-weight:600;margin-top:2px;}
.dm-badge.b1{top:8%;left:-8px;animation-delay:.5s;} .dm-badge.b1 .i{background:rgba(219,39,119,0.1);color:#db2777;}
.dm-badge.b2{bottom:7%;right:-8px;animation-delay:.9s;} .dm-badge.b2 .i{background:rgba(37,211,102,0.12);color:#16a34a;}

/* ===== NAVY BAND — measurable results panel (reuses .why) ===== */
.dm-results-panel{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.dm-rp{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:12px;padding:18px;}
.dm-rp .v{font-size:24px;font-weight:800;color:#fff;line-height:1;}
.dm-rp .v.grad{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;}
.dm-rp .l{font-size:11px;color:var(--muted-light);margin-top:7px;}

/* ===== FEATURE GRID (reuses .flow-step card styling) ===== */
.dm-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}

/* ===== ANALYTICS & TRACKING — dashboard mock ===== */
.dm-track-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,60px);align-items:center;}
.dm-track-text h3{font-size:clamp(22px,2.6vw,28px);line-height:1.25;margin-bottom:14px;}
.dm-track-text p{color:var(--muted);font-size:15.5px;line-height:1.7;}
.dm-track-text .fr-list{display:flex;flex-direction:column;gap:11px;margin-top:20px;}
.dm-track-text .fr-list li{display:flex;align-items:flex-start;gap:11px;font-size:14.5px;color:var(--navy);font-weight:500;}
.dm-track-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;}
.dm-track-text .fr-list .ck svg{width:12px;height:12px;color:#fff;}

.dm-dash{background:#0D1530;border-radius:18px;padding:18px;box-shadow:0 40px 80px -32px rgba(2,15,77,0.45);}
.dm-dash-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;}
.dm-dash-title{color:#fff;font-size:13px;font-weight:700;}
.dm-dash-sub{font-size:10.5px;color:var(--muted-light);}
.dm-dstats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;}
.dm-dstat{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:10px;padding:12px 13px;}
.dm-dstat .v{font-size:17px;font-weight:800;color:#fff;}
.dm-dstat .v.up{color:#34d27a;}
.dm-dstat .l{font-size:10px;color:var(--muted-light);margin-top:3px;}
.dm-dchart{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:10px;padding:14px;}
.dm-dchart-label{font-size:11px;color:var(--muted-light);font-weight:600;margin-bottom:14px;}
.dm-dchart .bar-label{color:var(--muted-light);}
.dm-sources{margin-top:12px;display:flex;flex-direction:column;gap:9px;}
.dm-src{display:flex;align-items:center;gap:10px;}
.dm-src .l{font-size:10.5px;color:var(--muted-light);width:66px;flex-shrink:0;}
.dm-src .bg{flex:1;height:7px;background:rgba(255,255,255,0.1);border-radius:4px;overflow:hidden;}
.dm-src .fl{height:100%;border-radius:4px;background:var(--grad);}
.dm-src .fl.ig{width:48%;background:linear-gradient(90deg,#f09433,#dc2743,#bc1888);}
.dm-src .fl.fb{width:30%;background:#1877F2;}
.dm-src .fl.go{width:22%;background:var(--cyan);}
.dm-src .v{font-size:10px;color:#fff;font-weight:700;width:30px;text-align:right;flex-shrink:0;}

/* ===== PLATFORMS STRIP — Facebook / Instagram / Meta ===== */
.dm-platforms{padding:64px 0;background:var(--bg);}
.dm-logos{display:flex;justify-content:center;align-items:flex-start;gap:clamp(24px,6vw,72px);flex-wrap:wrap;}
.dm-logo{display:flex;flex-direction:column;align-items:center;gap:14px;}
.dm-logo-mark{width:88px;height:88px;border-radius:22px;background:#fff;border:1px solid var(--gray);box-shadow:0 16px 36px -18px rgba(2,15,77,0.22);display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s;}
.dm-logo:hover .dm-logo-mark{transform:translateY(-5px);box-shadow:0 24px 46px -18px rgba(2,15,77,0.28);}
.dm-logo-mark svg{width:48px;height:48px;display:block;}
.dm-logo-mark.meta svg{width:62px;height:36px;}
.dm-logo-name{font-size:14px;font-weight:700;color:var(--navy);}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media(max-width:920px){
  .dm-section{padding:56px 0;}
  .dm-visual{min-height:auto;padding:8px 0 0;}
  .dm-feature-grid{grid-template-columns:1fr 1fr;}
  .dm-track-grid{grid-template-columns:1fr;gap:26px;}
  .dm-track-text{order:1;}
  .dm-dash{order:2;}
  .dm-badge.b1{left:-2px;} .dm-badge.b2{right:-2px;}
}

@media(max-width:640px){
  .dm-feature-grid{grid-template-columns:1fr;}
  .dm-badge{display:none;}
  .dm-platforms{padding:48px 0;}
  .dm-logo-mark{width:74px;height:74px;border-radius:18px;}
  .dm-logo-mark svg{width:40px;height:40px;}
  .dm-logo-mark.meta svg{width:54px;height:31px;}
}
