:root{
  --primary:#0b6bcb;
  --primary-2:#0757aa;
  --primary-soft:#eaf4ff;
  --accent:#14b8a6;
  --ink:#111827;
  --ink-2:#334155;
  --muted:#6b7280;
  --line:#e7ebf0;
  --surface:#ffffff;
  --soft:#f5f7fa;
  --soft-2:#eef3f8;
  --success:#16a34a;
  --warning:#f59e0b;
  --danger:#dc2626;
  --radius-sm:12px;
  --radius:20px;
  --radius-lg:28px;
  --shadow:0 12px 36px rgba(15,23,42,.07);
  --shadow-lg:0 24px 60px rgba(15,23,42,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%}
::selection{background:#dcebff;color:#0f172a}
.text-primary{color:var(--primary)!important}
.text-secondary{color:var(--muted)!important}
.bg-light-subtle{background:#f7f9fc!important}
.btn{font-weight:700;letter-spacing:-.01em;box-shadow:none!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{--bs-btn-bg:var(--primary);--bs-btn-border-color:var(--primary);--bs-btn-hover-bg:var(--primary-2);--bs-btn-hover-border-color:var(--primary-2);--bs-btn-active-bg:var(--primary-2);--bs-btn-active-border-color:var(--primary-2)}
.btn-dark{--bs-btn-bg:#0f172a;--bs-btn-border-color:#0f172a;--bs-btn-hover-bg:#1e293b;--bs-btn-hover-border-color:#1e293b}
.form-control,.form-select{border-color:#dce2e8;border-radius:14px;min-height:46px;background:#fff;box-shadow:inset 0 1px 2px rgba(15,23,42,.02);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.form-control:focus,.form-select:focus{border-color:#8db9ea;box-shadow:0 0 0 .22rem rgba(11,107,203,.10);background:#fff}
textarea.form-control{min-height:auto}
.form-label{font-weight:700;color:#334155}
.card{border-color:var(--line)}
.shadow-sm{box-shadow:var(--shadow)!important}
.shadow-lg{box-shadow:var(--shadow-lg)!important}
.rounded-4{border-radius:var(--radius)!important}
.eyebrow{font-size:.72rem;letter-spacing:.15em;font-weight:800;color:var(--primary);text-transform:uppercase}
.brand-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#0b6bcb,#36a3ff);margin-right:8px;box-shadow:0 0 0 5px rgba(11,107,203,.08);vertical-align:2px}
.brand-info{color:#FFD800}

/* Public navigation */
.site-navbar{background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(231,235,240,.9);box-shadow:0 4px 18px rgba(15,23,42,.035)}
.site-navbar .navbar-brand{letter-spacing:-.03em;font-size:1.03rem}
.site-navbar .nav-link{font-weight:650;color:#64748b;border-radius:10px;padding:.6rem .78rem!important}
.site-navbar .nav-link:hover,.site-navbar .nav-link.active{color:#0f172a;background:#f6f8fb}
.site-navbar .navbar-toggler{border:0;padding:.45rem .55rem;border-radius:12px;background:#f4f7fa}
.site-navbar .navbar-toggler:focus{box-shadow:none}
.nav-user-pill{display:flex;align-items:center;gap:9px;padding:.34rem .44rem .34rem .6rem;background:#f5f7fa;border:1px solid #e8edf2;border-radius:999px}
.nav-user-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e4f0ff;color:var(--primary);font-weight:800;font-size:.8rem}
.nav-portal-btn{border-radius:999px!important;padding-inline:1rem!important}

/* Hero */
.hero{position:relative;overflow:hidden;padding:78px 0 64px;background:
 radial-gradient(circle at 10% 15%,rgba(11,107,203,.10),transparent 28%),
 radial-gradient(circle at 95% 0%,rgba(20,184,166,.10),transparent 24%),
 linear-gradient(180deg,#fbfdff 0,#f5f8fb 100%)}
.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.45) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.45) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 75%);pointer-events:none}
.hero-copy{position:relative;z-index:1}
.hero h1{max-width:740px;letter-spacing:-.045em;line-height:1.02;font-weight:850;font-size:clamp(2.8rem,6vw,5.1rem)}
.hero-highlight{color:#FFD800}
.hero-lead{max-width:680px;color:#64748b;font-size:1.05rem}
.hero-points{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.hero-point{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.75);border:1px solid #e4eaf0;border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:700;color:#475569}
.hero-point i{color:var(--primary)}
.location-box{display:flex;align-items:center;gap:10px;max-width:840px;padding:9px;background:#fff;border:1px solid #e1e7ed;border-radius:20px;box-shadow:0 16px 44px rgba(15,23,42,.09)}
.location-box-points{flex:1;min-width:0;margin:0;gap:7px;padding:2px 2px}
.location-box-points .hero-point{padding:8px 10px;font-size:.78rem;white-space:nowrap}
.hero-find-isp-btn{background:#FFD800!important;border-color:#FFD800!important;color:#111827!important;font-weight:800}
.hero-find-isp-btn:hover,.hero-find-isp-btn:focus{background:#FFD800!important;border-color:#FFD800!important;color:#111827!important;box-shadow:0 8px 18px rgba(255,216,0,.22)!important}
.hero-card{width:100%;aspect-ratio:1.1 / 1;height:auto;border-radius:30px;position:relative;overflow:hidden;background:#dfe8f2;box-shadow:var(--shadow-lg);border:1px solid rgba(255,255,255,.85)}
.hero-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.03) 10%,rgba(15,23,42,.12) 58%,rgba(15,23,42,.55) 100%);pointer-events:none}
.hero-ad-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .55s ease,visibility .55s ease;z-index:1}
.hero-ad-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.hero-ad-link{position:absolute;inset:0;z-index:2;display:block}
.hero-floating{position:absolute}
.hero-ad-floating{z-index:4;left:20px;right:20px;bottom:20px;max-width:calc(100% - 40px);padding:0;background:transparent;box-shadow:none;backdrop-filter:none;text-shadow:0 3px 16px rgba(0,0,0,.55);pointer-events:none}
.hero-ad-isp-name{font-size:.85rem;font-weight:800;line-height:1.2;color:#fff;margin-bottom:5px;letter-spacing:.01em}
.hero-ad-title{font-size:1.24rem;font-weight:900;line-height:1.18;color:#fff;max-width:92%}
.hero-ad-isp-link{display:flex;align-items:center;gap:7px;margin-top:8px;color:#64748b;font-size:.9rem}
.hero-ad-isp-link strong{color:var(--primary)}
.hero-ad-dots{position:absolute;z-index:6;right:18px;top:18px;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;background:rgba(15,23,42,.28);backdrop-filter:blur(8px)}
.hero-ad-dot{width:8px;height:8px;padding:0;border:1px solid rgba(255,255,255,.75);border-radius:999px;background:rgba(255,255,255,.78);transition:width .25s ease,background .25s ease,transform .25s ease}
.hero-ad-dot.is-active{width:24px;background:#fff}
.hero-ad-dot:hover{transform:scale(1.12)}
.hero-ad-empty{position:absolute;inset:0;z-index:1}
.mini-map{position:absolute;inset:22px;border-radius:24px;opacity:.35;background-image:linear-gradient(45deg,rgba(255,255,255,.75) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.75) 50%,rgba(255,255,255,.75) 75%,transparent 75%);background-size:46px 46px;transform:rotate(-3deg);filter:blur(.2px);display:none}
.hero-empty-copy{z-index:5;left:20px;bottom:20px;right:20px}

/* Section system */
.section{padding:76px 0}
.section-tight{padding:54px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-kicker{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.section-title{font-size:clamp(1.8rem,4vw,2.55rem);font-weight:850;letter-spacing:-.035em;margin:.55rem 0 0;line-height:1.08}
.section-desc{max-width:680px;color:#64748b;margin:.65rem 0 0}
.section-link{font-weight:800;color:var(--primary);text-decoration:none;display:inline-flex;align-items:center;gap:7px}
.section-link:hover{color:var(--primary-2)}

/* Location cards */
.location-card{display:flex;align-items:center;gap:14px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:18px;color:inherit;text-decoration:none;height:100%;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.location-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#d9e2eb}
.location-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:14px;background:var(--primary-soft);color:var(--primary);font-size:1.1rem}
.location-meta{font-size:.76rem;color:#94a3b8;margin-top:2px}

/* ISP cards */
.isp-card{display:flex;flex-direction:column;height:100%;padding:22px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 28px rgba(15,23,42,.04);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;overflow:hidden}
.isp-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#dce4ec}
.isp-card-top{display:flex;align-items:flex-start;gap:14px}
.isp-logo{width:62px;height:62px;flex:0 0 62px;border-radius:17px;object-fit:cover;background:#f7f9fb;border:1px solid #e7ebf0}
.isp-name{font-size:1.05rem;font-weight:850;letter-spacing:-.02em}
.isp-verified{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;background:#ecfdf3;color:#15803d;font-size:.67rem;font-weight:800;border:1px solid #d1fae5}
.isp-verified-icon{width:23px;height:23px;padding:0;justify-content:center;border-radius:50%;font-size:.72rem;line-height:1}
.isp-card-desc{min-height:49px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#64748b;font-size:.86rem;margin:16px 0 14px}
.isp-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto}
.soft-chip{display:flex;align-items:center;gap:7px;min-height:38px;padding:8px 10px;border:1px solid #e9edf2;border-radius:12px;background:#f9fafb;color:#475569;font-size:.78rem;font-weight:650}
.soft-chip i{color:var(--primary)}
.isp-card-actions{display:flex;gap:9px;margin-top:14px}
.isp-card-actions .btn{min-height:42px}

/* Ratings */
.stars{color:#f59e0b;letter-spacing:1px;font-size:.92rem}
.rating-inline{display:inline-flex;align-items:center;gap:7px}
.rating-number{font-weight:800;color:#334155}

/* How it works / CTA */
.how-card,.cta-card{height:100%;border-radius:28px;padding:30px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 32px rgba(15,23,42,.05)}
.step-num{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#0f172a;color:#fff;font-weight:850;box-shadow:0 8px 18px rgba(15,23,42,.12);margin-bottom:15px}
.step-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-size:1.2rem;margin-bottom:12px}
.cta-card{background:linear-gradient(145deg,#0f172a,#17324f);color:#fff;border-color:#17324f;position:relative;overflow:hidden}
.cta-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-80px;top:-90px;background:rgba(255,255,255,.06)}
.cta-card p{color:#b7c3d0!important}

/* Search */
.search-page{background:linear-gradient(180deg,#fbfcfe 0,#f5f7fa 100%);min-height:100vh;padding:30px 0 70px}
.search-hero{position:relative;background:#fff;border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:var(--shadow);overflow:hidden}
.search-hero:after{content:"";position:absolute;width:220px;height:220px;right:-80px;top:-95px;border-radius:50%;background:rgba(11,107,203,.05);pointer-events:none}
.search-query{border-radius:15px!important;min-height:54px}
.search-filter-card{position:sticky;top:92px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.filter-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:850}
.filter-section{padding:14px 0;border-top:1px solid #eef1f4}
.filter-section:first-of-type{border-top:0;padding-top:4px}
.result-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 10px}
.search-result-count{font-size:.9rem;color:#475569}
.search-result-count strong{color:#0f172a}
.search-location-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;background:#fff;border:1px solid var(--line);border-radius:999px;font-size:.76rem;color:#475569}

/* Public profile */
.profile-cover{min-height:390px;background-size:cover;background-position:center;position:relative;overflow:hidden}
.profile-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(15,23,42,.92) 0%,rgba(15,23,42,.58) 55%,rgba(15,23,42,.15) 100%)}
.profile-cover:after{content:"";position:absolute;inset:auto 0 0;height:140px;background:linear-gradient(0deg,rgba(15,23,42,.45),transparent);pointer-events:none}
.profile-cover>.container{position:relative;z-index:1;min-height:390px;display:flex;align-items:end;padding-bottom:40px}
.profile-top{display:flex;align-items:center;gap:20px;max-width:920px}
.profile-logo{width:112px;height:112px;border-radius:30px;border:5px solid rgba(255,255,255,.95);object-fit:cover;background:#fff;box-shadow:0 20px 45px rgba(0,0,0,.18)}
.profile-title{font-weight:900;letter-spacing:-.04em;font-size:clamp(2rem,5vw,3.4rem);line-height:1}
.profile-nav{position:sticky;top:70px;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.profile-nav a{display:inline-flex;align-items:center;gap:8px;padding:13px 2px;margin-right:24px;font-size:.84rem;font-weight:800;color:#64748b;text-decoration:none;border-bottom:2px solid transparent}
.profile-nav a:hover{color:#0f172a;border-color:#cbd5e1}
.profile-page-anchor,.profile-panel[id],#overview,#contact{scroll-margin-top:136px}
.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px}
.profile-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 8px 26px rgba(15,23,42,.045)}
.profile-panel + .profile-panel{margin-top:18px}
.profile-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.profile-stat{padding:15px 16px;border:1px solid #e9edf2;border-radius:15px;background:#fafbfd}
.profile-stat strong{display:block;font-size:1.2rem;font-weight:850}
.profile-stat span{font-size:.74rem;color:#7b8491}
.rating-stat-line{display:flex;align-items:center;gap:4px;white-space:nowrap;min-width:0}.rating-stat-line strong{display:inline;font-size:1.2rem;font-weight:850}.rating-star{font-size:1.12rem!important;line-height:1;color:#f59e0b}.rating-review-count{font-size:.76rem!important;color:#7b8491;white-space:nowrap}.profile-stat-line{display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap}.profile-stat-line strong{display:inline;font-size:1.2rem;font-weight:850;line-height:1}.profile-stat-line span{display:inline;font-size:.76rem;color:#7b8491;line-height:1.2;overflow:hidden;text-overflow:ellipsis}
.rating-summary{display:flex;align-items:center;gap:26px}
.rating-big{font-size:3.55rem;line-height:.9;font-weight:900;letter-spacing:-.05em}
.rating-bar{display:flex;align-items:center;gap:8px;font-size:.74rem;color:#64748b;margin-top:4px}
.rating-bar span{width:42px}
.rating-bar .progress{flex:1}
.profile-package{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid #edf0f3}
.profile-package:first-child{border-top:0;padding-top:0}
.profile-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.profile-package-card{display:flex;flex-direction:column;min-width:0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 24px rgba(15,23,42,.04);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.profile-package-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#dce4ec}
.profile-package-card .package-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.profile-package-card .package-name{font-weight:850;line-height:1.25}
.profile-package-card .package-speed{font-size:2rem;font-weight:900;letter-spacing:-.045em;line-height:1}
.profile-package-card .package-price{font-size:1.35rem;font-weight:900;letter-spacing:-.03em}
.profile-package-card .package-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.profile-package-card .package-meta .soft-chip{min-height:34px;font-size:.73rem}
.profile-package-card .package-action{margin-top:auto;padding-top:16px}
.package-speed{font-size:1.45rem;font-weight:900;letter-spacing:-.03em}
.price{font-size:1.38rem;font-weight:900;letter-spacing:-.03em}
.price small{font-size:.72rem;color:#94a3b8;font-weight:700}
.coverage-group{border-top:1px solid #edf0f3;padding:14px 0}
.coverage-group:first-child{border-top:0;padding-top:0}
.coverage-thana{font-weight:800}
.coverage-area-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.coverage-area-pill{padding:7px 10px;border:1px solid #e8edf2;border-radius:999px;background:#fafbfd;font-size:.76rem;color:#475569}
.contact-card{position:static;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 8px 26px rgba(15,23,42,.045)}
.contact-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #edf0f3}
.contact-row:last-child{border-bottom:0}
.contact-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eff7ff;color:var(--primary);flex:0 0 38px}
.branch-card{padding:14px 0;border-bottom:1px solid #edf0f3}
.branch-card:last-child{border-bottom:0}
.map-box{height:340px;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:0 8px 26px rgba(15,23,42,.05)}
.review-row{display:flex;gap:13px;padding:17px 0;border-top:1px solid #edf0f3}
.review-row:first-child{border-top:0;padding-top:0}
.avatar{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:#e9f3ff;color:#0b6bcb;font-weight:850}

/* Ads */
.ad-card{overflow:hidden;height:100%;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.ad-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#dbe4ed}
.ad-media{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:#edf1f5}
.ad-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.ad-card:hover .ad-media img{transform:scale(1.03)}
.ad-badge{position:absolute;left:14px;top:14px;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(15,23,42,.82);color:#fff;font-size:.71rem;font-weight:800;backdrop-filter:blur(8px)}
.ad-card h5{line-height:1.3}
.offer-detail-card,.offer-side-card{background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
.offer-detail-media{position:relative;aspect-ratio:16/9;background:#edf1f5}
.offer-detail-media img{width:100%;height:100%;object-fit:cover}
.offer-detail-square{aspect-ratio:1/1}.offer-other-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.offer-other-item{display:block;color:inherit;text-decoration:none;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.offer-other-item:hover{color:inherit;border-color:#dbe4ed;box-shadow:0 8px 22px rgba(15,23,42,.08)}.offer-other-media{aspect-ratio:1/1;background:#edf1f5;overflow:hidden}.offer-other-media img{width:100%;height:100%;object-fit:cover;display:block}.offer-other-title{padding:10px 11px 12px;font-weight:800;font-size:.82rem;line-height:1.25}
.offer-side-card{padding:24px}

/* Auth */
.auth-page{min-height:calc(100vh - 74px);padding:54px 0 70px;background:linear-gradient(180deg,#fbfcfe 0,#f5f7fb 100%)}
.auth-shell{max-width:1050px;margin:0 auto}
.auth-card{overflow:hidden;border:1px solid var(--line);border-radius:30px;background:#fff;box-shadow:var(--shadow-lg)}
.auth-side{min-height:560px;padding:48px;background:linear-gradient(145deg,#0a67c8,#0b4f91);color:#fff;position:relative;overflow:hidden}
.auth-side:after{content:"";position:absolute;width:320px;height:320px;right:-100px;bottom:-130px;border-radius:50%;background:rgba(255,255,255,.06)}
.auth-side-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:40px 40px;mask-image:linear-gradient(to bottom,transparent,#000 15%,#000 85%,transparent)}
.auth-content{padding:42px}
.auth-brand-row{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:-.02em}
.auth-side h1{font-weight:900;letter-spacing:-.04em;position:relative;z-index:1}
.auth-side p,.auth-side .auth-list{position:relative;z-index:1}
.auth-list{padding:0;margin:26px 0 0;list-style:none;display:grid;gap:11px}
.auth-list li{display:flex;align-items:flex-start;gap:10px;color:rgba(255,255,255,.84)}
.auth-list i{color:#8fd1ff;margin-top:2px}
.auth-title{font-weight:900;letter-spacing:-.035em}
.role-tabs{display:flex;max-width:360px;padding:4px;background:#f3f5f8;border:1px solid #e9edf2;border-radius:14px}
.role-tabs a{flex:1;text-align:center;padding:10px 12px;border-radius:10px;text-decoration:none;color:#64748b;font-weight:750}
.role-tabs a.active{background:#fff;color:#0f172a;box-shadow:0 3px 12px rgba(15,23,42,.08)}

/* Footer */
.footer{margin-top:0;background:#0c1624;color:#cbd5e1;border-top:1px solid #162234}
.footer-brand{color:#fff;font-weight:900;letter-spacing:-.03em}
.footer a{display:block;text-decoration:none;color:#9aa8ba;margin:.55rem 0;font-size:.88rem}
.footer a:hover{color:#fff}
.footer h6{color:#fff;font-weight:800;margin-bottom:12px}
.footer-copy{border-top:1px solid rgba(255,255,255,.08);padding-top:18px;font-size:.78rem;color:#7f8ea1}

/* Portal shell */
.portal{min-height:100vh;background:#f4f7fb;color:var(--ink)}
.portal-frame{display:flex;min-height:100vh}
.portal-sidebar{position:fixed;inset:0 auto 0 0;width:274px;height:100vh;background:linear-gradient(180deg,#0d1726 0,#0b1420 100%);color:#fff;padding:20px 15px;display:flex;flex-direction:column;z-index:1050;box-shadow:12px 0 40px rgba(15,23,42,.10)}
.portal-brand{display:flex;align-items:center;gap:9px;padding:9px 10px 18px;border-bottom:1px solid rgba(255,255,255,.08);text-decoration:none;color:#fff;font-weight:900;letter-spacing:-.025em}
.portal-brand small{display:block;font-size:.67rem;color:#7f8ea1;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-top:1px}
.portal-nav{padding-top:14px;overflow-y:auto;min-height:0}
.portal-link{display:flex;align-items:center;gap:11px;min-height:44px;padding:10px 12px;border-radius:13px;color:#aebbd0;text-decoration:none;margin-bottom:4px;font-size:.86rem;font-weight:700;transition:background .18s ease,color .18s ease,transform .18s ease}
.portal-link i{font-size:1.05rem;opacity:.88}
.portal-link:hover{background:rgba(255,255,255,.06);color:#fff;transform:translateX(1px)}
.portal-link.active{background:linear-gradient(135deg,rgba(51,137,222,.26),rgba(11,107,203,.14));color:#fff;box-shadow:inset 3px 0 0 #54a9ff}
.portal-link .nav-label{flex:1}
.portal-link .nav-count{min-width:23px;height:21px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#ef4444;color:#fff;font-size:.67rem;font-weight:850}
.portal-user-card{margin-top:auto;padding:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:17px}
.portal-user-avatar{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.10);color:#fff;font-weight:850}
.portal-main-wrap{margin-left:274px;min-width:0;width:calc(100% - 274px)}
.portal-topbar{position:sticky;top:0;z-index:1000;height:72px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px}
.portal-topbar-title{font-weight:850;letter-spacing:-.02em}
.portal-topbar-meta{font-size:.73rem;color:#7b8491}
.portal-content{padding:26px 26px 44px}
.portal-shell{width:min(100%,1260px);margin:0 auto}
.portal-inner{padding:0}
.portal-page-title{font-size:2rem;font-weight:900;letter-spacing:-.045em;line-height:1.05}
.portal-page-subtitle{color:var(--muted);margin:0}
.portal-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 9px 30px rgba(15,23,42,.045)}
.portal-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:8px 12px;font-size:.75rem;font-weight:800;background:#f6f8fa;border:1px solid #e8edf2;color:#475569}
.portal-simple{width:min(100%,1260px);margin:0 auto;padding-top:0!important}
.stat-card{position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;min-height:128px;display:flex;flex-direction:column;gap:5px;box-shadow:0 9px 28px rgba(15,23,42,.045)}
.stat-card:after{content:"";position:absolute;width:96px;height:96px;right:-36px;bottom:-36px;border-radius:50%;background:rgba(11,107,203,.045)}
.stat-card span{font-size:.78rem;color:#7b8491;font-weight:700}
.stat-card strong{font-size:2rem;font-weight:900;letter-spacing:-.04em}
.stat-card small{color:#94a3b8}
.quick-action{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid var(--line);border-radius:15px;text-decoration:none;color:#0f172a;font-weight:750;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;background:#fff}
.quick-action:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#dbe3eb}
.quick-action i{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--primary-soft);color:var(--primary)}
.progress{height:7px;background:#e9eef3;border-radius:999px;overflow:hidden}
.progress-bar{background:linear-gradient(90deg,var(--primary),#31a2ff)}
.account-avatar,.security-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-size:1.1rem;flex:0 0 46px}
.security-note{background:#f8fafc;border:1px solid #e9edf2;border-radius:17px;padding:15px}
.portal-save{min-height:46px;padding:0 18px;font-weight:800;border-radius:13px}
.portal .table-responsive{border:1px solid #edf1f4;border-radius:16px}
.portal table{margin-bottom:0}
.portal .table>thead>tr>th{font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:#788596;background:#fbfcfd;white-space:nowrap;border-bottom:1px solid #edf1f4;padding:13px 14px}
.portal .table>tbody>tr>td{padding:14px;border-color:#eef1f4;vertical-align:middle}
.admin-table .btn,.location-admin-table .btn{font-size:.76rem;font-weight:750}
.location-accordion .accordion-item{border:1px solid var(--line)!important}
.location-accordion .accordion-button{padding:19px 20px;background:#fff;box-shadow:none;font-weight:800}
.location-accordion .accordion-button:not(.collapsed){color:#0f172a;background:#f8fbff}
.location-accordion .accordion-button:focus{box-shadow:none}
.sub-location{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;text-decoration:none;background:#fff;font-weight:700}
.sub-location:hover{background:#f7fbff;border-color:#cfe0f2;color:var(--primary)}
.location-action-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-size:1.15rem}
.location-edit-card{background:#fbfdff}
.location-admin-table thead th{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#7b8491;background:#fbfcfe;white-space:nowrap}
.location-admin-table .table-active{--bs-table-bg:#eef6ff}
.ad-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.admin-ad-thumb{width:92px;height:56px;object-fit:cover;border-radius:11px;border:1px solid var(--line);background:#f4f6f8}
.admin-ad-detail-media{aspect-ratio:16/9;background:#f4f6f8;overflow:hidden}
.admin-ad-detail-media img{width:100%;height:100%;object-fit:cover;display:block}
.brand-preview-card{background:#fbfcfe;border:1px solid var(--line);border-radius:18px;padding:14px}
.brand-logo-preview{height:140px;border-radius:16px;background:#f3f5f8;display:grid;place-items:center;overflow:hidden;border:1px solid #e9edf2}
.brand-logo-preview img{width:126px;height:126px;object-fit:contain}
.brand-cover-preview{height:150px;border-radius:16px;background:#f3f5f8;overflow:hidden;border:1px solid #e9edf2}
.brand-cover-preview img{width:100%;height:100%;object-fit:cover}
.coverage-tree-district{border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:12px;background:#fbfcfe}
.coverage-tree-head{display:flex;align-items:center;gap:10px;font-weight:850}
.coverage-tree-head .bi-folder2-open{color:var(--primary)}
.coverage-tree-thana{margin:12px 0 0 18px;border-left:2px solid #e9eef5;padding-left:14px}
.coverage-tree-thana-head{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:0;border-radius:12px;background:#f4f7fa;color:inherit;text-align:left;cursor:pointer;font-weight:800}
.coverage-tree-thana-head:hover{background:#eef4f9}
.coverage-tree-thana-head .coverage-chevron{transition:transform .2s ease}
.coverage-tree-thana-head:not(.collapsed) .coverage-chevron{transform:rotate(90deg)}
.coverage-tree-areas{margin:6px 0 0 12px}
.coverage-tree-area{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-bottom:1px dashed #e4e8ed}
.coverage-tree-area:last-child{border-bottom:0}
.branch-modern-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid #eef1f4}
.branch-modern-row:last-child{border-bottom:0}
.branch-modern-main{min-width:0}
.review-modern-row{display:flex;gap:13px;padding:18px 0;border-top:1px solid #eef1f4}
.ad-manage-card{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.04)}
.ad-manage-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#f4f6f8}
.message-thread-head{display:flex;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #eef1f4}
.message-list{padding:18px 0;max-height:560px;overflow:auto}
.message-bubble-row{display:flex;margin:9px 0}
.message-bubble-row.mine{justify-content:flex-end}
.message-bubble{max-width:min(78%,620px);padding:11px 14px;border-radius:18px;background:#f2f5f8;border:1px solid #ebeff3}
.message-bubble-row.mine .message-bubble{background:#eaf4ff;border-color:#d8eaff}
.message-meta{font-size:.7rem;color:#7b8491;margin-top:6px}
.message-compose{border-top:1px solid #eef1f4;padding-top:14px}
.message-isp-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border-radius:14px;text-decoration:none;color:inherit;margin:3px 0}
.message-isp-item:hover,.message-isp-item.active{background:#eef6ff;color:#111827}
.message-isp-item.active{box-shadow:inset 3px 0 0 var(--primary)}

/* Mobile portal navigation */
.portal-mobilebar{display:none}
.portal-overlay{display:none}

/* Utility */
.empty-card{border:1px dashed #cfd7df;border-radius:20px;background:#fff}
.badge-soft-success{background:#ecfdf3!important;color:#15803d!important;border:1px solid #d1fae5}
.badge-soft-warning{background:#fff7ed!important;color:#c2410c!important;border:1px solid #fed7aa}
.badge-soft-danger{background:#fef2f2!important;color:#b91c1c!important;border:1px solid #fecaca}
.divider{border-top:1px solid #edf0f3}

@media (max-width:1199.98px){
  .profile-grid{grid-template-columns:minmax(0,1fr) 320px}
  .portal-sidebar{width:252px}
  .portal-main-wrap{margin-left:252px;width:calc(100% - 252px)}
}
@media (max-width:991.98px){
  .hero{padding:56px 0 48px}
  .hero h1{font-size:3.5rem}
  .hero-card{aspect-ratio:1.1 / 1}
  .section{padding:60px 0}
  .profile-grid{display:block}
  .contact-card{position:static;margin-top:18px}
  .profile-nav{top:70px;overflow-x:auto;white-space:nowrap}
  .portal-mobilebar{position:sticky;top:0;z-index:1100;display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 16px;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
  .portal-sidebar{transform:translateX(-105%);transition:transform .25s ease;box-shadow:18px 0 45px rgba(15,23,42,.2)}
  .portal-sidebar.is-open{transform:translateX(0)}
  .portal-overlay{display:block;position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:1040;opacity:0;visibility:hidden;transition:.2s ease}
  .portal-overlay.is-open{opacity:1;visibility:visible}
  .portal-main-wrap{margin-left:0;width:100%}
  .portal-topbar{display:none}
  .portal-content{padding:20px 16px 36px}
  .portal-simple{width:100%}
}
@media (max-width:767.98px){
  .site-navbar .navbar-brand{font-size:.96rem}
  .hero{padding:44px 0 38px}
  .hero h1{font-size:2.65rem}
  .hero-lead{font-size:.96rem}
  .location-box{flex-wrap:wrap;border-radius:17px}
  .location-box-points{width:100%;padding:0}
  .location-box-points .hero-point{flex:1;justify-content:center;white-space:normal;min-width:0}
  .location-box .btn{flex:1;min-width:0}
  .hero-card{aspect-ratio:1.1 / 1;border-radius:23px}
  .hero-ad-floating{left:15px;right:15px;bottom:15px;max-width:calc(100% - 30px)}
  .section{padding:48px 0}
  .section-head{align-items:flex-start;flex-direction:column}
  .section-title{font-size:1.95rem}
  .location-card{padding:13px}
  .isp-card{padding:18px}
  .isp-card-actions{flex-direction:column}
  .profile-cover,.profile-cover>.container{min-height:330px}
  .profile-cover>.container{padding-bottom:28px}
  .profile-top{align-items:flex-end;gap:13px}
  .profile-logo{width:82px;height:82px;border-radius:22px}
  .profile-title{font-size:2rem}
  .profile-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rating-summary{align-items:flex-start;flex-direction:column;gap:15px}
  .profile-panel{padding:19px}
  .profile-package{align-items:flex-start;flex-direction:column}
  .profile-package .text-end{text-align:left!important}
  .profile-package-grid{grid-template-columns:1fr}
  .auth-page{padding:28px 0 44px}
  .auth-card{border-radius:22px}
  .auth-side{min-height:300px;padding:30px}
  .auth-content{padding:28px 22px}
  .portal-content{padding:16px 12px 30px}
  .portal-page-title{font-size:1.65rem}
  .portal-card{border-radius:18px}
  .stat-card{min-height:112px}
  .table{font-size:.84rem}
  .message-bubble{max-width:90%}
  .branch-modern-row{flex-direction:column;align-items:flex-start}
  .search-hero{padding:22px;border-radius:22px}
  .search-filter-card{position:static}
  .profile-nav a{margin-right:18px}
}
.portal-toast-wrap{position:fixed;right:22px;top:84px;z-index:1200;max-width:min(420px,calc(100vw - 32px))}
.portal-toast-wrap .alert{padding:13px 16px}
.fw-black{font-weight:900}
.site-nav .btn-link{min-height:40px}
.modal-content{box-shadow:0 28px 70px rgba(15,23,42,.20)}
@media(max-width:767.98px){.portal-toast-wrap{top:74px;right:12px;left:12px;max-width:none}.portal-toast-wrap .alert{font-size:.84rem}}

/* Search price controls */
.filter-divider{height:1px;background:#edf0f3;margin:17px 0 14px}
.price-quick{display:flex;flex-wrap:wrap;gap:6px}
.price-quick-btn{appearance:none;border:1px solid #e4e9ee;background:#fff;color:#526173;border-radius:999px;padding:6px 9px;font-size:.68rem;font-weight:750;cursor:pointer;transition:.18s ease}
.price-quick-btn:hover{border-color:#b9d5ef;background:#f6fbff;color:var(--primary)}
.profile-side-card{position:static}
.profile-offer-list .ad-card{box-shadow:none;border-color:#e8edf2}
.profile-offer-list .ad-card:hover{box-shadow:var(--shadow)}
.profile-offer-list .ad-media{aspect-ratio:16/9}
.last-child-reset:last-child{margin-bottom:0!important}
.map-box iframe{display:block}

/* Global scrollbar/privacy UI helpers */
html, body { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
*, *::before, *::after { scrollbar-width: none; }
*::-webkit-scrollbar { width: 0; height: 0; display: none; }

.portal-pending-strip{display:flex;align-items:center;gap:8px;padding:10px 26px;background:#f8fafc;border-bottom:1px solid #edf1f4;overflow-x:auto}
.portal-pending-title{font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em;color:#64748b;white-space:nowrap;margin-right:3px}
.portal-pending-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e6ebf0;border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-size:.73rem;font-weight:750;white-space:nowrap}
.portal-pending-chip:hover{border-color:#cbd5e1;color:#0f172a;transform:translateY(-1px)}
.portal-pending-chip strong{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#eef2f7;color:#0f172a;font-size:.67rem}
.pending-stat-card{display:flex;flex-direction:column;gap:4px;min-height:150px;padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff;text-decoration:none;color:#0f172a;box-shadow:0 9px 28px rgba(15,23,42,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.pending-stat-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(15,23,42,.08);border-color:#d6e2ee}
.pending-stat-card span{font-size:.78rem;color:#64748b;font-weight:800}
.pending-stat-card span i{margin-right:6px;color:var(--primary)}
.pending-stat-card strong{font-size:2.25rem;line-height:1;font-weight:900;letter-spacing:-.04em;margin-top:auto}
.pending-stat-card small{color:#94a3b8}

/* ISP profile refinements */
#overview,#packages,#offers,#coverage,#branches,#about,#contact,#reviews{scroll-margin-top:126px}
.profile-offer-list{display:flex;flex-direction:column;gap:14px}
.profile-offer-item{display:block;text-decoration:none;color:inherit;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.profile-offer-item:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#dbe4ed;color:inherit}
.profile-offer-media{aspect-ratio:1/1;width:100%;overflow:hidden;background:#edf1f5}
.profile-offer-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.profile-offer-item:hover .profile-offer-media img{transform:scale(1.025)}
.profile-offer-title{padding:13px 15px 15px;font-weight:850;line-height:1.28;letter-spacing:-.012em}
.review-summary{min-width:220px}
.review-summary .rating-inline{margin-bottom:0}
@media (max-width: 767.98px){
  #overview,#packages,#offers,#coverage,#branches,#about,#contact,#reviews{scroll-margin-top:112px}
  .review-summary{width:100%;text-align:left!important}
  .review-summary .rating-inline{justify-content:flex-start!important}
  .review-summary .btn{width:100%}
}


/* ISP profile final refinements */
.review-action-spacer{margin-top:12px}
.branch-map-btn{display:inline-flex;align-items:center;gap:7px}
.branch-map-icon{width:18px;height:18px;display:block;object-fit:contain}
@media(max-width:767.98px){.review-summary{text-align:left!important}.rating-inline{justify-content:flex-start!important}.review-action-spacer{margin-top:10px}}

@media(max-width:767.98px){.profile-stat-line{gap:5px}.profile-stat-line strong{font-size:1.08rem}.profile-stat-line span{font-size:.72rem}}

@media(max-width:575.98px){.offer-other-list{grid-template-columns:1fr 1fr}}

/* Offers directory */
.offers-grid-card{display:block;height:100%;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.offers-grid-card:hover{color:inherit;transform:translateY(-4px);box-shadow:var(--shadow);border-color:#dbe4ed}
.offers-grid-media{aspect-ratio:1/1;background:#edf1f5;overflow:hidden}
.offers-grid-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.offers-grid-card:hover .offers-grid-media img{transform:scale(1.025)}
.offers-grid-body{padding:16px 17px 18px}
.offers-grid-isp{font-size:.77rem;font-weight:850;color:var(--primary);margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.offers-grid-title{font-size:1rem;line-height:1.3;font-weight:850;letter-spacing:-.015em;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

/* ================================================================
   ISPinfo.BD PUBLIC WEBSITE — MOBILE / TABLET RESPONSIVE LAYER
   Public-facing components only. Desktop rules above remain unchanged.
   ================================================================ */

/* Large tablets / small laptops */
@media (max-width: 991.98px){
  .site-navbar .navbar-collapse{
    padding-top:10px;
    margin-top:8px;
    border-top:1px solid #edf0f3;
  }
  .site-navbar .navbar-nav{
    padding-top:4px;
    padding-bottom:8px;
  }
  .site-navbar .navbar-nav .nav-link{
    padding:.72rem .85rem!important;
  }
  .site-navbar .navbar-collapse > .d-flex{
    width:100%;
  }
  .site-navbar .navbar-collapse > .d-flex .btn,
  .site-navbar .navbar-collapse > .d-flex .nav-user-pill{
    width:100%;
    justify-content:center;
  }

  .hero .row{
    --bs-gutter-y:2.25rem;
  }
  .hero-copy{
    max-width:760px;
  }
  .hero h1{
    max-width:760px;
    font-size:clamp(2.8rem,6vw,3.75rem);
  }
  .hero-card{
    max-width:620px;
    margin-inline:auto;
  }

  .search-hero .search-query{
    min-width:0;
  }

  .profile-cover>.container{
    padding-left:18px;
    padding-right:18px;
  }
  .profile-nav .container{
    overflow-x:auto!important;
    overflow-y:hidden;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
  }
  .profile-nav a{
    flex:0 0 auto;
  }

  .offer-detail-media{
    max-width:720px;
    margin-inline:auto;
  }
  .offer-side-card{
    position:static!important;
  }
}

/* Phones */
@media (max-width: 767.98px){
  .site-navbar .container{
    padding-left:12px;
    padding-right:12px;
  }
  .site-navbar .navbar-brand{
    min-width:0;
    white-space:nowrap;
  }
  .site-navbar .navbar-brand > span:last-child{
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .site-navbar .navbar-toggler{
    flex:0 0 auto;
  }

  .hero{
    padding:38px 0 34px;
  }
  .hero h1{
    font-size:clamp(2.2rem,9.4vw,3rem);
    line-height:1.04;
    letter-spacing:-.04em;
    margin-top:1rem!important;
  }
  .hero-lead{
    font-size:.94rem;
    line-height:1.55;
    margin-top:1rem!important;
  }

  /* Keep the existing location-box design, but make its contents touch-friendly. */
  .location-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:8px;
    border-radius:17px;
  }
  .location-box-points{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    width:100%;
  }
  .location-box-points .hero-point{
    min-width:0;
    width:100%;
    justify-content:center;
    text-align:center;
    line-height:1.25;
    padding:8px 7px;
    white-space:normal;
  }
  .location-box > .btn,
  .location-box > a.btn{
    width:100%;
    min-height:46px;
    justify-content:center;
    margin:0;
    padding-left:.65rem!important;
    padding-right:.65rem!important;
  }

  .hero-card{
    width:100%;
    max-width:480px;
    aspect-ratio:1.1 / 1;
    border-radius:23px;
  }
  .hero-ad-floating{
    left:14px;
    right:14px;
    bottom:14px;
    max-width:calc(100% - 28px);
  }
  .hero-ad-isp-name{
    font-size:.8rem;
  }
  .hero-ad-title{
    font-size:1.05rem;
    line-height:1.2;
    max-width:100%;
  }
  .hero-ad-dots{
    right:12px;
    top:12px;
    gap:5px;
    padding:5px 7px;
  }

  .section,
  .section-tight{
    padding-top:44px;
    padding-bottom:44px;
  }
  .section-head{
    gap:12px;
    margin-bottom:18px;
  }
  .section-title{
    font-size:clamp(1.65rem,7vw,2rem);
  }
  .section-desc{
    font-size:.92rem;
    line-height:1.5;
  }
  .section-head .section-link{
    align-self:flex-start;
  }

  .location-card{
    min-height:72px;
    padding:12px;
    gap:10px;
    border-radius:16px;
  }
  .location-icon{
    width:40px;
    height:40px;
    flex-basis:40px;
    border-radius:12px;
    font-size:1rem;
  }
  .location-card strong{
    font-size:.9rem;
  }
  .location-meta{
    font-size:.7rem;
  }

  .isp-card{
    padding:16px;
    border-radius:19px;
  }
  .isp-card-top{
    gap:11px;
  }
  .isp-logo{
    width:56px;
    height:56px;
    flex-basis:56px;
    border-radius:15px;
  }
  .isp-name{
    font-size:1rem;
  }
  .isp-card-desc{
    min-height:0;
    margin:13px 0 12px;
    font-size:.83rem;
    -webkit-line-clamp:4;
  }
  .isp-card-meta{
    gap:7px;
  }
  .isp-card-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .isp-card-actions .btn{
    width:100%;
    min-height:44px;
    padding-left:.65rem;
    padding-right:.65rem;
  }

  /* Search page */
  .search-page{
    padding:20px 0 50px;
  }
  .search-hero{
    padding:18px;
    border-radius:20px;
    margin-bottom:18px!important;
  }
  .search-hero .section-title{
    margin-top:.45rem!important;
  }
  .search-hero form.input-group{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  .search-hero form.input-group > .search-query,
  .search-hero form.input-group > button{
    width:100%!important;
    min-width:0;
    border-radius:13px!important;
  }
  .search-query{
    min-height:50px;
  }
  .search-filter-card{
    padding:16px;
    border-radius:18px;
  }
  .result-toolbar{
    flex-direction:column;
    align-items:flex-start;
    padding-bottom:8px;
  }
  .search-location-pill{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .price-quick{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .price-quick-btn{
    width:100%;
    min-height:36px;
  }

  /* Public ISP profile */
  .profile-cover{
    min-height:300px;
  }
  .profile-cover>.container{
    min-height:300px;
    padding:0 16px 24px;
    align-items:flex-end;
  }
  .profile-top{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .profile-logo{
    width:78px;
    height:78px;
    border-radius:21px;
    border-width:4px;
  }
  .profile-title{
    font-size:clamp(1.75rem,8vw,2.25rem);
    line-height:1.02;
  }
  .profile-title + .text-white-50{
    font-size:.9rem!important;
    line-height:1.45;
  }
  .profile-nav{
    top:56px;
  }
  .profile-nav .container{
    padding-left:14px;
    padding-right:14px;
  }
  .profile-nav a{
    padding:12px 1px;
    margin-right:18px;
    font-size:.78rem;
  }
  .profile-grid{
    display:block;
  }
  .profile-grid > aside{
    margin-top:18px;
  }
  .profile-panel,
  .contact-card{
    border-radius:18px;
    padding:17px;
  }
  .profile-stat-strip{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .profile-stat{
    min-width:0;
    padding:12px 11px;
    border-radius:13px;
  }
  .profile-stat-line{
    gap:4px;
  }
  .profile-stat-line strong,
  .rating-stat-line strong{
    font-size:1.02rem;
  }
  .profile-stat-line span,
  .rating-review-count{
    font-size:.69rem!important;
  }
  .rating-stat-line{
    gap:4px;
  }
  .rating-star{
    font-size:1rem!important;
  }
  .profile-package-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .profile-package-card{
    padding:16px;
    border-radius:17px;
  }
  .profile-package-card .package-speed{
    font-size:1.75rem;
  }
  .profile-package-card .package-price{
    font-size:1.18rem;
  }
  .profile-package-card .package-meta{
    gap:6px;
  }
  .coverage-area-list{
    gap:6px;
  }
  .coverage-area-pill{
    padding:6px 9px;
    font-size:.72rem;
  }
  .branch-card{
    padding:13px 0;
  }
  .branch-card > .d-flex{
    align-items:flex-start!important;
  }
  .branch-map-btn{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .contact-row{
    align-items:flex-start;
    gap:8px;
  }
  .contact-row > .d-flex:last-child{
    flex:0 0 auto;
  }
  .contact-icon{
    width:34px;
    height:34px;
    flex-basis:34px;
    border-radius:10px;
  }
  .map-box{
    height:250px;
    border-radius:17px;
  }
  .profile-offer-list{
    gap:10px;
  }
  .profile-offer-item{
    border-radius:17px;
  }
  .profile-offer-title{
    padding:11px 13px 13px;
    font-size:.9rem;
  }
  .review-row{
    gap:10px;
    padding:14px 0;
  }
  .avatar{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
  .review-row > .flex-grow-1 > .d-flex{
    align-items:flex-start!important;
  }
  .review-summary{
    min-width:0;
  }
  .review-summary .rating-inline{
    flex-wrap:wrap;
    row-gap:2px;
  }
  .review-action-spacer .btn{
    width:auto!important;
    min-height:42px;
  }

  /* Offers directory / offer details */
  .offers-grid-card{
    border-radius:18px;
  }
  .offers-grid-body{
    padding:13px 14px 15px;
  }
  .offers-grid-title{
    font-size:.93rem;
  }
  .offers-grid-isp{
    font-size:.71rem;
  }
  .offer-detail-card,
  .offer-side-card{
    border-radius:19px;
  }
  .offer-detail-card .p-4,
  .offer-detail-card .p-lg-5{
    padding:18px!important;
  }
  .offer-detail-media{
    width:100%;
    max-width:100%;
  }
  .offer-other-list{
    grid-template-columns:1fr 1fr;
    gap:9px;
  }
  .offer-other-item{
    border-radius:14px;
  }

  /* Authentication / public account */
  .auth-page{
    min-height:calc(100vh - 62px);
    padding:22px 0 42px;
  }
  .auth-shell{
    width:100%;
  }
  .auth-card{
    border-radius:20px;
  }
  .auth-side{
    min-height:235px;
    padding:25px 22px;
  }
  .auth-side h1{
    font-size:1.7rem!important;
    line-height:1.1;
  }
  .auth-side .auth-list{
    margin-top:18px;
  }
  .auth-content{
    padding:22px 18px;
  }
  .auth-title{
    font-size:1.65rem;
  }
  .role-tabs{
    width:100%;
  }
  .role-tabs a{
    flex:1 1 50%;
    text-align:center;
  }

  /* Footer */
  .footer{
    margin-top:0!important;
    padding-top:38px!important;
  }
  .footer-copy{
    flex-direction:column;
    align-items:flex-start!important;
    gap:7px!important;
    line-height:1.45;
  }
}

/* Narrow phones */
@media (max-width: 575.98px){
  .hero h1{
    font-size:clamp(2.08rem,9.8vw,2.55rem);
  }
  .location-box-points{
    grid-template-columns:1fr 1fr;
  }
  .location-box-points .hero-point{
    font-size:.71rem;
    min-height:42px;
  }
  .location-box > .btn,
  .location-box > a.btn{
    font-size:.82rem;
    min-height:44px;
  }
  .hero-ad-title{
    font-size:1rem;
  }

  .section-head .section-link{
    width:auto;
  }

  .location-card{
    min-height:68px;
  }

  .isp-card-actions{
    grid-template-columns:1fr;
  }

  .search-filter-card .row.g-2 > [class*="col-"]{
    width:100%;
  }
  .price-quick{
    grid-template-columns:1fr 1fr;
  }

  .profile-cover,
  .profile-cover>.container{
    min-height:275px;
  }
  .profile-cover>.container{
    padding-bottom:20px;
  }
  .profile-logo{
    width:70px;
    height:70px;
    border-radius:19px;
  }
  .profile-title{
    font-size:1.7rem;
  }
  .profile-stat-strip{
    gap:7px;
  }
  .profile-stat{
    padding:11px 9px;
  }
  .profile-stat-line strong,
  .rating-stat-line strong{
    font-size:.98rem;
  }
  .profile-stat-line span,
  .rating-review-count{
    font-size:.66rem!important;
  }
  .rating-star{
    font-size:.95rem!important;
  }
  .profile-panel,
  .contact-card{
    padding:15px;
  }
  .profile-panel .d-flex.justify-content-between.align-items-end{
    align-items:flex-start!important;
  }
  .profile-package-card{
    padding:14px;
  }
  .profile-package-card .package-speed{
    font-size:1.62rem;
  }
  .map-box{
    height:220px;
  }
  .offer-other-list{
    grid-template-columns:1fr 1fr;
  }

  .auth-side{
    min-height:210px;
    padding:22px 18px;
  }
  .auth-content{
    padding:20px 16px;
  }
}

/* Very narrow phones: prevent horizontal crowding without changing desktop/tablet design. */
@media (max-width: 379.98px){
  .location-box{
    grid-template-columns:1fr;
  }
  .location-box-points{
    grid-column:1;
    grid-template-columns:1fr;
  }
  .profile-stat-strip{
    grid-template-columns:1fr 1fr;
  }
  .profile-stat-line,
  .rating-stat-line{
    gap:3px;
  }
  .profile-stat-line span,
  .rating-review-count{
    font-size:.63rem!important;
  }
  .profile-title{
    font-size:1.58rem;
  }
  .profile-nav a{
    margin-right:14px;
    font-size:.75rem;
  }
  .offer-other-list{
    grid-template-columns:1fr;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-ad-slide,
  .btn,
  .isp-card,
  .location-card,
  .offers-grid-card,
  .profile-package-card{
    transition:none!important;
  }
}
