/* ===== Frontend refresh: header, mobile menu, footer ===== */
:root{
  --fx-blue:#00B3F6;       /* light blue (brand) */
  --fx-navy:#0B3D91;       /* dark blue for hovers */
  --fx-text:#242529;
  --fx-muted:#6b7280;
  --fx-line:#e6e8ec;
  --fx-bg:#fff;
}
html[data-theme="dark"]{--fx-text:#f3f5f8;--fx-muted:#9aa4b2;--fx-line:#2b3342;--fx-bg:#11151c;--fx-navy:#5fb8ff}

.ico{flex:0 0 auto;vertical-align:-4px}

/* ---------- mobile header ---------- */
.site-header .mobile-header{padding:0 14px 10px;background:var(--fx-bg)}
.site-header .mh-top{display:flex;align-items:center;justify-content:space-between;height:60px}
.site-header .mobile-header-logo img{height:40px;width:auto;display:block}
.site-header .mh-actions{display:flex;align-items:center;gap:6px}
.site-header .mh-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;color:var(--fx-text);border-radius:12px;padding:0}
.site-header .mh-btn:active{background:rgba(0,179,246,.12)}
.site-header .mh-join{background:var(--fx-blue);color:#fff!important;font-weight:600;font-size:14px;padding:9px 16px;border-radius:22px;text-decoration:none;line-height:1}
.site-header .mh-join:hover{background:var(--fx-navy)}
.site-header .mh-search{display:flex;align-items:center;gap:10px;height:48px;padding:0 16px;border:1.5px solid var(--fx-line);border-radius:26px;background:var(--fx-bg);color:var(--fx-muted);margin-bottom:10px}
.site-header .mh-search:focus-within{border-color:var(--fx-blue);box-shadow:0 0 0 3px rgba(0,179,246,.15)}
.site-header .mh-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:16px;color:var(--fx-text);height:100%}
.site-header .mh-city{margin-bottom:10px}
.site-header .mh-city .form-control,.site-header .mh-city select{font-size:15px;min-height:44px}
.site-header .mh-chips{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;margin:0 -14px;padding:2px 14px 4px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.site-header .mh-chips::-webkit-scrollbar{display:none}
.site-header .mh-chips a{flex:0 0 auto;scroll-snap-align:start;display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 16px;border:1.5px solid var(--fx-line);border-radius:22px;color:var(--fx-text);font-size:15px;font-weight:500;text-decoration:none;white-space:nowrap;background:var(--fx-bg)}
.site-header .mh-chips a:hover,.site-header .mh-chips a.active{background:var(--fx-blue);border-color:var(--fx-blue);color:#fff}
.site-header .mh-chips a:active{background:var(--fx-navy);border-color:var(--fx-navy);color:#fff}

/* ---------- desktop header ---------- */
.site-header .desktop-header{background:var(--fx-bg)}
.site-header .dh-top{display:flex;align-items:center;gap:24px;padding-top:10px;padding-bottom:10px}
.site-header .dh-search{display:flex;align-items:center;gap:10px;flex:1;max-width:520px;height:46px;padding:0 18px;border:1.5px solid var(--fx-line);border-radius:26px;color:var(--fx-muted);position:relative}
.site-header .dh-search:focus-within{border-color:var(--fx-blue);box-shadow:0 0 0 3px rgba(0,179,246,.15)}
.site-header .dh-search input{flex:1;border:0;outline:0;background:transparent;font-size:15px;color:var(--fx-text);height:100%}
.site-header .dh-tools{margin-left:auto;display:flex;align-items:center;gap:4px}
.site-header .desktop-favorite{color:var(--fx-blue);display:inline-flex;padding:6px 10px}
.site-header .desktop-favorite:hover{color:var(--fx-navy)}
.site-header .dh-navwrap{border-top:1px solid var(--fx-line);border-bottom:1px solid var(--fx-line);background:var(--fx-bg)}
.site-header .dh-nav{display:flex;align-items:center;gap:6px;min-height:52px}
.site-header .dh-nav>a,.site-header .dh-nav .dropdown>a{display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 14px;color:var(--fx-text);font-size:15px;font-weight:500;text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-1px}
.site-header .dh-nav>a:hover,.site-header .dh-nav .dropdown>a:hover{color:var(--fx-blue)}
.site-header .dh-nav>a.active{color:var(--fx-blue);border-bottom-color:var(--fx-blue)}
.site-header .dh-nav .chev{margin-left:-2px}
.site-header .dh-nav .dh-cta{margin-left:auto;color:var(--fx-navy);font-weight:600}
.site-header .dh-nav .dh-cta:hover{color:var(--fx-blue)}
.site-header .dh-more{min-width:220px;padding:8px;border-radius:12px}
.site-header .dh-more .dropdown-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;font-size:15px}
.site-header .dh-more .dropdown-item:hover,.site-header .dh-more .dropdown-item.active{background:rgba(0,179,246,.12);color:var(--fx-navy)}

/* ---------- mobile menu (offcanvas) ---------- */
.mobile-nav-v2 a{min-height:56px!important;font-size:17px!important;font-weight:500}
.mobile-nav-v2 .mn-label{display:inline-flex;align-items:center;gap:14px}
.mobile-nav-v2 .mn-label .ico{color:var(--fx-blue)}
.mobile-nav-v2 .mn-arrow{transform:rotate(-90deg);opacity:.5}
.mobile-nav-v2 a:hover,.mobile-nav-v2 a.active{color:var(--fx-blue)!important}
.mobile-offcanvas .offcanvas-body .input-group.form-control{height:48px;font-size:16px}

/* ---------- footer ---------- */
.site-footer{margin-top:40px;border-top:1px solid var(--fx-line);background:var(--fx-bg);color:var(--fx-text);font-size:15px}
.site-footer .sf-grid{display:grid;grid-template-columns:1.1fr 1.3fr 1.6fr auto;gap:28px 36px;align-items:start;padding:32px 0 22px}
.site-footer .sf-brand{display:flex;flex-direction:column;gap:14px}
.site-footer .sf-logo img{height:40px;width:auto}
.site-footer .sf-pay{display:flex;gap:10px;align-items:center}
.site-footer .sf-links{display:grid;grid-template-columns:repeat(2,max-content);gap:10px 28px;align-content:start}
.site-footer .sf-links a,.site-footer .sf-chip{display:inline-flex;align-items:center;gap:10px;color:var(--fx-text);text-decoration:none;font-size:15px}
.site-footer .sf-links a .ico,.site-footer .sf-chip .ico{color:var(--fx-blue);transition:color .2s}
.site-footer .sf-links a:hover,.site-footer a.sf-chip:hover{color:var(--fx-blue)}
.site-footer .sf-links a:hover .ico,.site-footer a.sf-chip:hover .ico{color:var(--fx-navy)}
.site-footer .sf-contact{display:flex;flex-direction:column;gap:12px}
.site-footer .sf-bottom{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;align-items:center;padding:14px 0 20px;border-top:1px solid var(--fx-line);font-size:13px;color:var(--fx-muted)}
.site-footer .sf-legal{display:flex;flex-wrap:wrap;gap:6px 18px}
.site-footer .sf-legal a{color:var(--fx-muted);text-decoration:none}
.site-footer .sf-legal a:hover{color:var(--fx-navy);text-decoration:underline;text-underline-offset:3px}
html[data-theme="dark"] .site-footer .sf-legal a:hover{color:var(--fx-blue)}

@media (max-width:991.98px){
  .site-footer .sf-grid{grid-template-columns:1fr 1fr;gap:24px 20px;padding:24px 0 16px}
  .site-footer .sf-contact{grid-column:1 / -1;order:3}
  .site-footer .sf-lang{order:2;justify-self:end}
}
@media (max-width:575.98px){
  .site-footer{margin-top:24px}
  .site-footer .sf-grid{grid-template-columns:1fr;gap:18px;padding:20px 0 10px}
  .site-footer .sf-links{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px 18px}
  .site-footer .sf-lang{justify-self:start}
  .site-footer .sf-contact{order:2}
  .site-footer .sf-bottom{justify-content:center;text-align:center;flex-direction:column}
}

/* ---------- global spacing and type on small screens ---------- */
@media (max-width:767.98px){
  body{font-size:16px}
  h1{font-size:30px}
  h2{font-size:26px}
  .sec_py{padding-top:36px;padding-bottom:36px}
  .container{padding-left:14px;padding-right:14px}
}

/* ===== Profile page ===== */
.pg-slider-wrap{position:relative;margin-bottom:14px}
.pg-slider{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0 -16px;padding:0 16px;scrollbar-width:none}
.pg-slider::-webkit-scrollbar{display:none}
.pg-slide{flex:0 0 90%;scroll-snap-align:center;aspect-ratio:4/5;border-radius:18px;overflow:hidden;display:block;background:#e9edf2}
.pg-slide:only-child{flex-basis:100%}
.pg-slide img{width:100%;height:100%;object-fit:cover;display:block}
.pg-count{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.6);color:#fff;font-size:13px;font-weight:600;padding:4px 12px;border-radius:14px;pointer-events:none}
@media (max-width:767.98px){
  .profile_header .f-name{font-size:28px}
  .profile_header{margin-bottom:14px!important}
  .profile_contact_info .btn{font-size:14px;padding:9px 16px}
  .spec_pills{display:flex!important;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:0 -16px;padding:4px 16px;scrollbar-width:none}
  .spec_pills::-webkit-scrollbar{display:none}
  .spec_pills .btn{flex:0 0 auto;white-space:nowrap;margin:0!important;font-size:14px}
  .custom_tabs{flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding:0 16px}
  .custom_tabs::-webkit-scrollbar{display:none}
  .custom_tabs .nav-item{flex:0 0 auto;margin-right:0!important}
  .custom_tabs .nav-link{margin-right:24px!important;font-size:16px}
}

/* ===== Phase 3: home, listings, cards ===== */
/* filter / category pill rows scroll sideways on phones */
@media (max-width:767.98px){
  .count_pills{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:0 -14px;padding:4px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .count_pills::-webkit-scrollbar{display:none}
  .count_pills .btn{flex:0 0 auto;white-space:nowrap;margin:0!important;font-size:15px;padding:9px 16px!important}
  .sidebar .count_pills.location_pills{flex-wrap:wrap;overflow:visible;margin:0;padding:0}
  .sidebar .count_pills .btn{font-size:14px}
  .main_content{display:block!important}
  .left_content{width:100%}
  .left_content > .d-flex.mb-5{margin-bottom:14px!important}
  section.container.py-5{padding-top:14px!important;padding-bottom:24px!important}
  .sidebar{margin-top:24px}
  .sidebar .bg_light{padding:16px!important}

  /* home banner */
  .banner_section.sec_py{padding-top:24px;padding-bottom:24px}

  /* big, tappable round category images */
  .img_wrapper{width:84px;height:84px}
  .categories_slider img,.escorts_slider img{max-width:84px}

  /* square cards: image fills the card */
  .square_wrapper{width:100%}
  .square_img_wrapper{width:100%!important;height:auto!important;aspect-ratio:1/1;border-radius:18px}
  .square_img_wrapper img{width:100%;height:100%;object-fit:cover}

  /* listing grid cards */
  .escort_card .card_img_wrap{aspect-ratio:4/5}
  .escort_card .card_img_wrap img{width:100%;height:100%;object-fit:cover}
  .escort_card_body{padding:10px 12px!important}
  .escort_card_body .f-name{font-size:17px}
  .escort_card_body .font_14{font-size:13px}

  /* wide row cards */
  .bg_light_primary.br_20{padding:14px!important}
  .bg_light_primary .f_detail{padding:14px!important;font-size:15px}
  .bg_light_primary .f-name{font-size:19px}
}
@media (min-width:768px) and (max-width:1199.98px){
  .main_content{flex-wrap:wrap}
  .left_content{width:100%}
  .sidebar{margin-top:28px}
  .escort_card .card_img_wrap{aspect-ratio:4/5}
  .escort_card .card_img_wrap img{width:100%;height:100%;object-fit:cover}
}
@media (min-width:1200px){
  .escort_card .card_img_wrap{aspect-ratio:4/5}
  .escort_card .card_img_wrap img{width:100%;height:100%;object-fit:cover}
}
/* tighter vertical rhythm on desktop too */
@media (min-width:768px){ .sec_py{padding-top:56px;padding-bottom:56px} }

/* ===== Phase 3b: mobile profile = photo, then contact right under it ===== */
@media (max-width:767.98px){
  html,body{overflow-x:clip;overflow-y:auto;height:auto}
  .profile_header{display:block!important;margin-bottom:10px!important}
  .profile_header > [class*="col-"]{width:100%;max-width:100%;padding:0}
  .profile_header p.mb-0{font-size:13px;color:#6b7280}
  .profile_contact_info{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(52px,1fr));gap:10px;margin-top:12px!important;justify-content:stretch!important}
  .profile_contact_info > a.btn,.profile_contact_info > span{grid-column:1/-1;display:flex;align-items:center;justify-content:center;margin:0!important;padding:13px 16px;font-size:17px;font-weight:600;border-radius:14px;background:var(--primary-color,#00B3F6)!important;color:#fff!important}
  .profile_contact_info > a.rounded-circle{width:100%!important;height:52px!important;margin:0!important;border-radius:14px!important}
  .profile_contact_info > a.rounded-circle i{font-size:22px}
  .profile_contact_info > span.text-secondary,.profile_contact_info > span.btn{background:#eef1f5!important;color:#555!important}
  .pg-slide{aspect-ratio:3/4}
}
