 /* Organizations show page */

 @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

 /* ═══ BANNER ═══ */
 .spd-hero--desktop {
     display: block;
 }

 .spd-hero--tablet {
     display: none;
 }

 @media (min-width: 768px) and (max-width: 1199px) {
     .spd-hero--desktop {
         display: none;
     }

     .spd-hero--tablet {
         display: block;
     }
 }

 @media (max-width: 767px) {

     .spd-hero--desktop,
     .spd-hero--tablet {
         display: none !important;
     }
 }

 /* ═══ MOBILE LOGO TOP ═══ */
 .spd-mobile-logo-top {
     display: none;
 }

 @media (max-width: 767px) {
     .spd-mobile-logo-top {
         display: flex;
         justify-content: center;
         align-items: center;
         padding: 28px 20px 0;
     }

     .spd-mobile-logo-img {
         width: 110px;
         height: 110px;
         object-fit: contain;
         border-radius: 20px;
         border: 3px solid #fff;
         box-shadow: 0 8px 28px rgba(15, 23, 42, .10);
         background: #fff;
     }

     .spd-mobile-logo-fallback {
         width: 110px;
         height: 110px;
         border-radius: 20px;
         background: #f1f5f9;
         display: flex;
         align-items: center;
         justify-content: center;
         color: #cbd5e1;
         box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
     }

     .avatar-container {
         display: none !important;
     }
 }

 /* ═══ BASE ═══ */
 .school-premium-detail {
     font-family: 'Outfit', sans-serif;
     background: #f8fafc;
     min-height: 100vh;
     padding: 130px 20px 100px;
     overflow: unset;
 }

 .spd-container {
     max-width: 1280px;
     margin: 0 auto;
 }

 .back-link-wrapper {
     margin-bottom: 24px;
 }

 .premium-back-btn {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: #fff;
     border: 1px solid #e2e8f0;
     padding: 8px 16px 8px 12px;
     border-radius: 12px;
     color: #10b981;
     font-weight: 600;
     font-size: 14px;
     text-decoration: none;
     transition: all .2s;
     box-shadow: 0 4px 6px rgba(15, 23, 42, .02);
 }

 .premium-back-btn:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px rgba(27, 109, 30, .06);
     border-color: #00c479;
     background: rgba(0, 184, 124, .1);
 }

 .premium-back-btn i {
     font-size: 18px;
 }

 .spd-card {
     background: #fff;
     border-radius: 32px;
     position: relative;
     box-shadow: 0 20px 60px rgba(15, 23, 42, .04);
     border: 1px solid rgba(226, 232, 240, .8);
     overflow: visible;
 }

 .spd-hero {
     height: 280px;
     position: relative;
     border-radius: 32px 32px 0 0;
     overflow: hidden;
 }

 .hero-gradient-bottom {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     height: 120px;
     background: linear-gradient(to top, #fff, transparent);
 }

 /* ═══ HEADER ═══ */
 .spd-header {
     padding: 0 25px 20px;
     display: flex;
     gap: 32px;
     align-items: flex-start;
     margin-top: -90px;
     position: relative;
     z-index: 5;
     border-bottom: 1px solid #f1f5f9;
 }

 .avatar-container {
     flex-shrink: 0;
 }

 .spd-avatar,
 .spd-avatar-fallback {
     width: 160px;
     height: 160px;
     border-radius: 24px;
     background: #fff;
     object-fit: contain;
     box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
 }

 .spd-avatar-fallback {
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 64px;
     color: #cbd5e1;
 }

 .spd-title-area {
     flex: 1;
     margin-top: 100px;
     padding-bottom: 12px;
 }

 @media (max-width: 993px) {
     .spd-title-area {
         margin-top: 0;
     }
 }

 .name-row {
     display: flex;
     align-items: center;
     gap: 8px;
     flex-wrap: wrap;
 }

 .h-school-name {
     font-weight: 800;
     color: #0f172a;
     margin: 0;
     letter-spacing: -.8px;
     line-height: 1.25;
 }

 .verified-icon {
     font-size: 22px;
     color: #2563eb;
     flex-shrink: 0;
     line-height: 1;
     margin-top: 2px;
 }

 .address-badge-wrapper {
     margin-top: 10px;
     margin-bottom: 24px;
 }

 .address-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: rgba(56, 189, 248, .08);
     border: 1px solid rgba(56, 189, 248, .2);
     padding: 6px 14px;
     border-radius: 100px;
     color: #0369a1;
     font-size: 13.5px;
     font-weight: 500;
 }

 .address-badge i {
     font-size: 16px;
     color: #0ea5e9;
 }

 .header-info-row {
     display: flex;
     gap: 40px;
     flex-wrap: wrap;
     margin-top: 8px;
 }

 .header-info-item {
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .header-info-item i {
     font-size: 22px;
     color: #64748b;
     background: #f8fafc;
     width: 42px;
     height: 42px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 12px;
     border: 1px solid #f1f5f9;
 }

 .hi-details {
     display: flex;
     flex-direction: column;
 }

 .hi-label {
     font-size: 11px;
     color: #94a3b8;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: .5px;
     margin-bottom: 2px;
 }

 .hi-value {
     font-size: 15px;
     color: #1e293b;
     font-weight: 700;
 }

 .hi-value.text-green {
     color: #10b981;
 }

 /* ═══ BODY ═══ */
 .spd-body {
     padding: 40px 24px 56px;
 }

 .spd-grid {
     display: grid;
     grid-template-columns: 1fr 340px;
     gap: 0;
     position: relative;
     align-items: start;
 }

 @media (min-width: 993px) {
     .main-col {
         padding-right: 15px;
         border-right: 1px solid #f1f5f9;
     }

     .side-col {
         padding-left: 20px;
         position: sticky;
         top: 100px;
         align-self: start;
         z-index: 10;
     }
 }

 .data-group {
     margin-bottom: 48px;
 }

 .group-title {
     font-size: 18px;
     font-weight: 700;
     color: #0f172a;
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 20px;
 }

 .group-title i {
     color: #475569;
     background: #f1f5f9;
     padding: 6px;
     border-radius: 8px;
 }

 .marketing-text-box {
     background: #fff;
     border-radius: 24px;
     padding: 10px;
     color: #475569;
     font-size: 16px;
     line-height: 1.8;
 }

 .marketing-text-box p {
     margin-bottom: 20px;
 }

 .marketing-text-box p:last-child {
     margin-bottom: 0;
 }

 .advantages-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
     gap: 20px;
 }

 .adv-card {
     background: #fff;
     border: 1px solid #f1f5f9;
     padding: 30px 24px;
     border-radius: 24px;
     transition: all .3s ease;
     text-align: center;
 }

 .adv-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px rgba(27, 109, 30, .06);
     border-color: #00c479;
     background: rgba(0, 184, 124, .1);
 }

 .adv-card i {
     font-size: 40px;
     color: #00c479;
     margin-bottom: 20px;
     display: inline-block;
 }

 .adv-card h4 {
     font-size: 18px;
     font-weight: 700;
     color: #0f172a;
     margin-bottom: 12px;
 }

 .adv-card p {
     font-size: 14px;
     color: #64748b;
     line-height: 1.6;
     margin: 0;
 }

 /* ═══ GALLERY ═══ */
 .spd-gallery {
     display: grid;
     gap: 10px;
     border-radius: 20px;
     overflow: hidden;
 }

 .spd-gallery--4 {
     grid-template-columns: 1.55fr 1fr;
     grid-template-rows: 200px 200px;
 }

 .spd-gallery--4 .sg-item--0 {
     grid-row: 1 / 3;
 }

 .spd-gallery--3 {
     grid-template-columns: 1.4fr 1fr;
     grid-template-rows: 200px 200px;
 }

 .spd-gallery--3 .sg-item--0 {
     grid-row: 1 / 3;
 }

 .spd-gallery--2 {
     grid-template-columns: 1fr 1fr;
     grid-template-rows: 260px;
 }

 .spd-gallery--1 {
     grid-template-columns: 1fr;
     grid-template-rows: 340px;
 }

 .sg-item {
     position: relative;
     overflow: hidden;
     cursor: zoom-in;
     background: #f1f5f9;
 }

 .sg-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform .5s cubic-bezier(.4, 0, .2, 1);
 }

 .sg-overlay {
     position: absolute;
     inset: 0;
     background: rgba(15, 23, 42, 0);
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background .3s;
 }

 .sg-overlay i {
     font-size: 28px;
     color: #fff;
     opacity: 0;
     transform: scale(.7);
     transition: opacity .3s, transform .3s;
 }

 .sg-item:hover img {
     transform: scale(1.06);
 }

 .sg-item:hover .sg-overlay {
     background: rgba(15, 23, 42, .38);
 }

 .sg-item:hover .sg-overlay i {
     opacity: 1;
     transform: scale(1);
 }

 .sg-more-badge {
     position: absolute;
     inset: 0;
     background: rgba(15, 23, 42, .55);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 28px;
     font-weight: 800;
     color: #fff;
     letter-spacing: -.02em;
     backdrop-filter: blur(2px);
 }

 /* ═══ LITSENZIYA ═══ */
 .lic-section {
     margin-top: 60px;
     padding-top: 30px;
     border-top: 1px dashed #e2e8f0;
 }

 .lic-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
     gap: 0;
     overflow: hidden;
     margin-bottom: 20px;
 }

 .lic-item {
     padding: 16px 20px;
     border-right: 1px solid #f1f5f9;
 }

 .lic-item:nth-last-child(-n+2) {}

 .lic-item--full {
     grid-column: 1 / -1;
     border-right: none;
 }

 .lic-label {
     display: block;
     font-size: 11px;
     color: #94a3b8;
     text-transform: uppercase;
     font-weight: 600;
     letter-spacing: .5px;
     margin-bottom: 5px;
 }

 .lic-value {
     font-size: 14px;
     color: #1e293b;
     font-weight: 600;
     line-height: 1.5;
 }

 /* ═══ OPEN SOURCE NOTICE ═══ */
 .open-source-notice {
     display: flex;
     align-items: flex-start;
     gap: 10px;
     background: #f8fafc;
     border: 1px dashed #cbd5e1;
     border-radius: 14px;
     padding: 14px 18px;
     color: #64748b;
     font-size: 13px;
     line-height: 1.6;
 }

 .open-source-notice i {
     font-size: 18px;
     color: #94a3b8;
     flex-shrink: 0;
     margin-top: 1px;
 }

 .open-source-notice strong {
     color: #475569;
 }

 /* ═══ CONTACT WIDGET ═══ */
 .contact-widget {
     background: #fff;
     margin-bottom: 24px;
 }

 .w-title {
     font-size: 16px;
     font-weight: 700;
     color: #0f172a;
     margin: 0 0 16px;
 }

 .w-contact-btn {
     display: flex;
     align-items: center;
     gap: 12px;
     background: #f8fafc;
     border: 1px solid #f1f5f9;
     border-radius: 12px;
     padding: 14px 16px;
     margin-bottom: 12px;
     text-decoration: none;
     color: #0f172a;
     font-weight: 600;
     font-size: 15px;
     transition: all .2s;
 }

 .w-contact-btn:last-child {
     margin-bottom: 0;
 }

 .w-icon {
     width: 36px;
     height: 36px;
     background: #fff;
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #00b87c;
     font-size: 18px;
     box-shadow: 0 4px 6px rgba(15, 23, 42, .04);
 }

 .w-contact-btn:hover {
     background: #fff;
     border-color: #00b87c;
     box-shadow: 0 8px 16px rgba(0, 184, 124, .1);
     transform: translateY(-2px);
 }

 /* ═══ LIGHTBOX ═══ */
 .spd-lightbox {
     position: fixed;
     inset: 0;
     z-index: 9999;
     background: rgba(10, 16, 28, .92);
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     visibility: hidden;
     transition: opacity .3s, visibility .3s;
     backdrop-filter: blur(6px);
 }

 .spd-lightbox.active {
     opacity: 1;
     visibility: visible;
 }

 .slb-inner {
     position: relative;
     max-width: 88vw;
     max-height: 86vh;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 12px;
 }

 .slb-inner img {
     max-width: 88vw;
     max-height: 80vh;
     object-fit: contain;
     border-radius: 16px;
     box-shadow: 0 32px 80px rgba(0, 0, 0, .5);
     transition: opacity .2s;
 }

 .slb-counter {
     color: rgba(255, 255, 255, .7);
     font-size: 13px;
     font-family: 'Outfit', sans-serif;
     font-weight: 500;
     letter-spacing: .04em;
 }

 .slb-close {
     position: fixed;
     top: 20px;
     right: 24px;
     width: 44px;
     height: 44px;
     border-radius: 50%;
     background: rgba(255, 255, 255, .12);
     border: 1px solid rgba(255, 255, 255, .2);
     color: #fff;
     font-size: 22px;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background .2s;
     z-index: 10000;
 }

 .slb-close:hover {
     background: rgba(255, 255, 255, .22);
 }

 .slb-nav {
     position: fixed;
     top: 50%;
     transform: translateY(-50%);
     width: 48px;
     height: 48px;
     border-radius: 50%;
     background: rgba(255, 255, 255, .12);
     border: 1px solid rgba(255, 255, 255, .2);
     color: #fff;
     font-size: 24px;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background .2s;
     z-index: 10000;
 }

 .slb-nav:hover {
     background: rgba(255, 255, 255, .22);
 }

 .slb-prev {
     left: 20px;
 }

 .slb-next {
     right: 20px;
 }

 /* ═══ RESPONSIVE ═══ */
 @media (max-width: 992px) {
     .spd-header {
         flex-direction: column;
         align-items: center;
         text-align: center;
         padding: 0 24px 32px;
         gap: 16px;
     }

     .spd-header .name-row,
     .spd-header .header-info-row {
         justify-content: center;
     }

     .spd-header .address-badge-wrapper {
         display: flex;
         justify-content: center;
     }

     .spd-grid {
         grid-template-columns: 1fr;
         gap: 32px;
     }

     .spd-body {
         padding: 32px 24px 48px;
     }
 }

 @media (max-width: 767px) {
     .school-premium-detail {
         padding: 90px 16px 60px;
     }

     .spd-header {
         flex-direction: column;
         align-items: flex-start;
         padding: 16px 20px 24px;
         margin-top: 0;
     }

     .spd-title-area {
         margin-top: 0;
         width: 100%;
         text-align: left;
     }

     .name-row {
         justify-content: center;
     }

     .h-school-name {
         font-size: 22px;
         letter-spacing: -.5px;
         line-height: 1.3;
     }

     .verified-icon {
         font-size: 20px;
     }

     .address-badge-wrapper {
         display: flex;
         justify-content: flex-start;
         margin-bottom: 20px;
     }

     .address-badge {
         font-size: 12px;
         padding: 5px 12px;
     }

     .header-info-row {
         flex-direction: column;
         gap: 12px;
         align-items: flex-start;
         width: 100%;
     }

     .header-info-item {
         justify-content: flex-start;
         width: 100%;
         border-bottom: 1px solid #f1f5f9;
         padding-bottom: 8px;
     }

     .header-info-item:last-child {
         border-bottom: none;
     }

     .header-info-item i {
         width: 36px;
         height: 36px;
         font-size: 16px;
         flex-shrink: 0;
     }

     .hi-value {
         font-size: 14px;
     }

     .spd-body {
         padding: 24px 16px 40px;
     }

     .advantages-grid {
         grid-template-columns: 1fr;
     }

     .marketing-text-box {
         padding: 20px;
         font-size: 15px;
     }

     .spd-gallery--4,
     .spd-gallery--3 {
         grid-template-columns: 1fr 1fr;
         grid-template-rows: 150px 150px;
     }

     .spd-gallery--4 .sg-item--0,
     .spd-gallery--3 .sg-item--0 {
         grid-row: auto;
     }

     .spd-gallery--2 {
         grid-template-rows: 160px;
     }

     .spd-gallery--1 {
         grid-template-rows: 220px;
     }

     .lic-grid {
         grid-template-columns: 1fr;
     }

     .lic-item {
         border-right: none;
     }

     .slb-prev {
         left: 8px;
     }

     .slb-next {
         right: 8px;
     }
 }


 /* Index page  */

 /* ── Page ── */
 .schools-premium-section {
     font-family: 'Outfit', sans-serif;
     background: #f8fafc;
     min-height: 100vh;
     padding: 160px 20px 100px;
     position: relative;
 }

 .schools-premium-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 600px;
     background: radial-gradient(circle at 50% 0%, rgba(0, 184, 124, .07) 0%, transparent 60%);
     pointer-events: none;
     z-index: 0;
 }

 .schools-container {
     max-width: 1280px;
     margin: 0 auto;
     position: relative;
     z-index: 1;
 }

 .header-content {
     text-align: center;
     margin-bottom: 32px;
 }

 .page-title {
     font-size: 52px;
     font-weight: 800;
     color: #0f172a;
     margin: 0;
     letter-spacing: -1.5px;
 }

 /* ── Filter Bar ── */
 .filter-bar {
     display: flex;
     align-items: center;
     background: #fff;
     border: 1.5px solid #e2e8f0;
     border-radius: 18px;
     height: 56px;
     padding: 0;
     box-shadow: 0 4px 20px rgba(15, 23, 42, .05);
     margin-bottom: 28px;
     position: relative;
     z-index: 50;
     overflow: visible;
 }

 .fb-sep {
     width: 1px;
     height: 26px;
     background: #e8edf5;
     flex-shrink: 0;
 }

 .fb-item {
     display: flex;
     align-items: center;
     gap: 8px;
     padding: 0 14px;
     height: 100%;
     flex: 1;
     min-width: 0;
     position: relative;
 }

 .fb-search {
     flex: 1.6;
 }

 .fb-director {
     flex: 1.1;
 }

 .fb-region-wrap {
     flex: 1.0;
     cursor: pointer;
 }

 .fb-icon {
     font-size: 17px;
     color: #94a3b8;
     flex-shrink: 0;
     pointer-events: none;
 }

 .fb-input {
     flex: 1;
     border: none;
     outline: none;
     background: transparent;
     font-family: 'Outfit', sans-serif;
     font-size: 14px;
     font-weight: 500;
     color: #0f172a;
     min-width: 0;
 }

 .fb-input::placeholder {
     color: #94a3b8;
     font-weight: 400;
 }

 .fb-clear {
     background: #f1f5f9;
     border: none;
     border-radius: 50%;
     width: 22px;
     height: 22px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     color: #64748b;
     font-size: 14px;
     flex-shrink: 0;
     transition: background .15s;
 }

 .fb-clear:hover {
     background: #e2e8f0;
 }

 .fb-dd-btn {
     display: flex;
     align-items: center;
     gap: 5px;
     background: none;
     border: none;
     cursor: pointer;
     font-family: 'Outfit', sans-serif;
     font-size: 14px;
     font-weight: 500;
     color: #475569;
     padding: 0;
     width: 100%;
     min-width: 0;
     text-align: left;
 }

 .fb-dd-btn span {
     flex: 1;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
 }

 .fb-arrow {
     font-size: 15px;
     color: #94a3b8;
     flex-shrink: 0;
     transition: transform .2s;
 }

 .fb-region-wrap.open .fb-arrow {
     transform: rotate(180deg);
 }

 .fb-region-wrap.active-filter .fb-dd-btn {
     color: #00b87c;
 }

 .fb-region-wrap.active-filter .fb-icon {
     color: #00b87c;
 }

 .fb-dd-panel {
     position: absolute;
     top: calc(100% + 10px);
     left: -14px;
     min-width: 240px;
     background: #fff;
     border: 1px solid #e2e8f0;
     border-radius: 16px;
     box-shadow: 0 16px 40px rgba(15, 23, 42, .11);
     z-index: 200;
     overflow: hidden;
     opacity: 0;
     transform: translateY(-6px) scale(.97);
     pointer-events: none;
     transition: opacity .16s, transform .16s;
 }

 .fb-dd-panel.open {
     opacity: 1;
     transform: translateY(0) scale(1);
     pointer-events: all;
 }

 .fb-dd-scroll {
     padding: 6px;
     max-height: 260px;
     overflow-y: auto;
 }

 .fb-dd-scroll::-webkit-scrollbar {
     width: 3px;
 }

 .fb-dd-scroll::-webkit-scrollbar-thumb {
     background: #e2e8f0;
     border-radius: 3px;
 }

 .fb-opt {
     display: flex;
     align-items: center;
     width: 100%;
     padding: 8px 12px;
     border: none;
     background: transparent;
     border-radius: 10px;
     font-family: 'Outfit', sans-serif;
     font-size: 13.5px;
     font-weight: 500;
     color: #475569;
     cursor: pointer;
     text-align: left;
     transition: background .12s, color .12s;
     white-space: nowrap;
 }

 .fb-opt:hover {
     background: #f1f5f9;
     color: #0f172a;
 }

 .fb-opt.active {
     background: #e8f7f2;
     color: #00b87c;
     font-weight: 700;
 }

 .fb-broom-btn {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 36px;
     margin: 0 8px 0 4px;
     flex-shrink: 0;
     background: #f8fafc;
     border: 1.5px solid #e2e8f0;
     border-radius: 12px;
     cursor: pointer;
     transition: background .2s, border-color .2s;
     padding: 0;
 }

 .fb-broom-icon {
     width: 20px;
     height: 20px;
     object-fit: contain;
     display: block;
     transition: transform .3s;
 }

 .fb-broom-btn:hover .fb-broom-icon {
     transform: rotate(-15deg);
 }

 /* ── Grid ── */
 .premium-horizontal-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 16px;
 }

 .horizontal-card-wrapper {
     display: flex;
 }

 .horizontal-card {
     background: #fff;
     border-radius: 24px;
     text-decoration: none !important;
     color: inherit !important;
     display: flex;
     flex-direction: column;
     border: 1px solid rgba(226, 232, 240, .8);
     box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
     transition: all .3s cubic-bezier(.16, 1, .3, 1);
     width: 100%;
     overflow: hidden;
 }

 .horizontal-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 16px 36px rgba(0, 184, 124, .09);
     border-color: rgba(0, 184, 124, .25);
 }

 .card-main-content {
     padding: 20px;
     display: flex;
     flex-direction: column;
     flex: 1;
 }

 .card-top-header {
     display: flex;
     gap: 14px;
     align-items: flex-start;
 }

 .card-logo-box {
     width: 80px;
     height: 80px;
     flex-shrink: 0;
     background: #f8fafc;
     border: 1px solid #f1f5f9;
     border-radius: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
 }

 .h-logo {
     width: 100%;
     height: 100%;
     object-fit: contain;
 }

 .h-logo-placeholder {
     font-size: 30px;
     color: #cbd5e1;
 }

 .card-body-info {
     flex: 1;
     display: flex;
     flex-direction: column;
     min-width: 0;
 }

 .name-row {
     display: flex;
     align-items: flex-start;
     gap: 6px;
     margin-bottom: 8px;
 }

 /* ── NAME LIMIT: 2 qator, keyin "..." ── */
 .h-school-name {
     font-size: 14px;
     font-weight: 800;
     color: #0f172a;
     margin: 0;
     text-transform: uppercase;
     letter-spacing: -.2px;
     line-height: 1.35;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     word-break: break-word;
 }

 .verified-icon {
     color: #3B82F6;
     font-size: 16px;
     flex-shrink: 0;
     margin-top: 1px;
 }

 .top-meta {
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .meta-item {
     display: inline-flex;
     align-items: center;
     gap: 4px;
     border-radius: 6px;
     font-size: 11.5px;
     font-weight: 500;
     width: fit-content;
     max-width: 100%;
 }

 .location-badge {
     background: #dbeafe;
     color: #1d4ed8;
     padding: 3px 9px;
 }

 .location-badge i {
     font-size: 11px;
     flex-shrink: 0;
 }

 .location-badge span {
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     max-width: 180px;
 }

 .license-badge {
     background: rgba(0, 184, 124, .1);
     color: #067a53;
     padding: 3px 8px;
     font-size: 11px;
 }

 .card-description-area {
     margin-top: 10px;
     flex: 1;
 }

 .h-description {
     font-size: 13px;
     color: #64748b;
     line-height: 1.6;
     margin: 0;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .card-footer-info {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 12px 20px;
     border-top: 1px solid #f1f5f9;
     transition: background .2s;
 }

 .price-box {
     display: flex;
     align-items: center;
     gap: 6px;
     color: #00b87c;
     font-size: 13px;
     font-weight: 600;
 }

 .price-box i {
     font-size: 16px;
     opacity: .85;
 }

 .go-detail-icon {
     width: 30px;
     height: 30px;
     background: rgba(0, 184, 124, .1);
     color: #00b87c;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 18px;
     transition: all .3s cubic-bezier(.16, 1, .3, 1);
 }

 .horizontal-card:hover .go-detail-icon {
     background: #00b87c;
     color: #fff;
     transform: translateX(3px);
     box-shadow: 0 4px 12px rgba(0, 184, 124, .3);
 }

 .horizontal-card:hover .card-footer-info {
     background: #f0fdf8;
 }

 /* ── No results ── */
 .no-results-box {
     text-align: center;
     padding: 80px 20px;
     background: #fff;
     border-radius: 24px;
     border: 1.5px dashed #e2e8f0;
     margin-top: 8px;
 }

 .nrb-icon {
     font-size: 64px;
     color: #cbd5e1;
     margin-bottom: 16px;
     line-height: 1;
 }

 .no-results-box h3 {
     font-size: 20px;
     font-weight: 700;
     color: #0f172a;
     margin: 0 0 8px;
 }

 .no-results-box p {
     font-size: 14px;
     color: #94a3b8;
     margin: 0 0 24px;
 }

 .nrb-btn {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: #00b87c;
     color: #fff;
     border: none;
     border-radius: 50px;
     padding: 12px 28px;
     font-family: 'Outfit', sans-serif;
     font-size: 15px;
     font-weight: 600;
     cursor: pointer;
     transition: all .2s;
 }

 .nrb-btn:hover {
     background: #00a06c;
     transform: translateY(-2px);
 }

 /* ── Spinner ── */
 .spd-spinner {
     width: 44px;
     height: 44px;
     margin: 0 auto;
     border: 3px solid #e2e8f0;
     border-top-color: #00b87c;
     border-radius: 50%;
     animation: spdSpin .7s linear infinite;
 }

 @keyframes spdSpin {
     to {
         transform: rotate(360deg);
     }
 }

 /* ── Pagination — DUMALOQ ── */
 .spd-pagination {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 6px;
     margin-top: 40px;
     flex-wrap: wrap;
 }

 .spd-page-btn {
     width: 40px;
     height: 40px;
     border: 1.5px solid #e2e8f0;
     border-radius: 50%;
     /* ← dumaloq */
     background: #fff;
     color: #475569;
     font-family: 'Outfit', sans-serif;
     font-size: 14px;
     font-weight: 600;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all .2s;
     padding: 0;
     flex-shrink: 0;
 }

 .spd-page-btn:hover:not(:disabled) {
     border-color: #00b87c;
     color: #00b87c;
     background: #f0fdf8;
 }

 .spd-page-btn.active {
     background: #00b87c;
     color: #fff;
     border-color: #00b87c;
     box-shadow: 0 4px 14px rgba(0, 184, 124, .3);
 }

 .spd-page-btn:disabled {
     opacity: .35;
     cursor: default;
 }

 .spd-page-dots {
     color: #94a3b8;
     font-size: 16px;
     font-weight: 700;
     width: 40px;
     text-align: center;
     line-height: 40px;
 }

 .spd-page-info {
     font-size: 13px;
     color: #94a3b8;
     font-family: 'Outfit', sans-serif;
     font-weight: 500;
     margin-left: 6px;
     white-space: nowrap;
 }

 /* ── Responsive ── */
 @media (max-width: 1199px) {
     .premium-horizontal-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 @media (max-width: 900px) {
     .page-title {
         font-size: 40px;
     }

     .premium-horizontal-grid {
         grid-template-columns: 1fr;
     }

     .filter-bar {
         flex-wrap: wrap;
         height: auto;
         padding: 8px 12px;
         border-radius: 20px;
         gap: 0;
     }

     .fb-search {
         flex: 1 1 calc(50% - 1px);
         height: 44px;
         border-bottom: 1px solid #f1f5f9;
         padding: 0 10px;
     }

     .fb-sep:nth-child(2) {
         height: 26px;
         align-self: center;
     }

     .fb-director {
         flex: 1 1 calc(50% - 1px);
         height: 44px;
         border-bottom: 1px solid #f1f5f9;
         padding: 0 10px;
     }

     .fb-sep:nth-child(4) {
         flex-basis: 100%;
         width: 100%;
         height: 0;
         margin: 0;
     }

     .fb-region-wrap {
         flex: 1 1 calc(100% - 58px);
         height: 44px;
         padding: 0 10px;
     }

     .fb-broom-btn {
         flex-basis: auto;
         margin: 0 8px 0 4px;
     }

     .fb-dd-panel {
         left: 0;
         min-width: 220px;
     }
 }

 @media (max-width: 640px) {
     .schools-premium-section {
         padding: 100px 12px 60px;
     }

     .page-title {
         font-size: 28px;
         letter-spacing: -1px;
     }

     .premium-horizontal-grid {
         grid-template-columns: 1fr;
         gap: 10px;
     }

     .card-logo-box {
         width: 68px;
         height: 68px;
         border-radius: 14px;
     }

     .card-main-content {
         padding: 14px;
     }

     .h-school-name {
         font-size: 13px;
     }

     .h-description {
         font-size: 12px;
         -webkit-line-clamp: 2;
     }

     .location-badge {
         font-size: 10.5px;
         padding: 3px 7px;
     }

     .card-footer-info {
         padding: 10px 14px;
     }

     .filter-bar {
         flex-direction: column;
         height: auto;
         padding: 0;
         border-radius: 16px;
     }

     .fb-sep {
         width: 100% !important;
         height: 1px !important;
         margin: 0 !important;
         align-self: auto !important;
     }

     .fb-item,
     .fb-region-wrap {
         width: 100%;
         flex: none !important;
         height: 44px;
         padding: 0 14px;
         border-bottom: none !important;
     }

     .fb-broom-btn {
         width: 100%;
         margin: 0;
         border: none;
         border-top: 1px solid #f1f5f9;
         border-radius: 0 0 14px 14px;
         background: #f8fafc;
         padding: 10px 0;
         height: 44px;
     }

     .fb-dd-panel {
         left: 0;
         right: 0;
         min-width: unset;
         width: 100%;
     }

     .spd-page-btn {
         width: 36px;
         height: 36px;
         font-size: 13px;
     }
 }

 @media (max-width: 380px) {
     .card-logo-box {
         width: 60px;
         height: 60px;
     }

     .h-school-name {
         font-size: 12px;
     }
 }


 .empty-state {
     font-family: 'Onest', sans-serif;
     min-height: 85vh;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     overflow: hidden;
     padding: 140px 20px 100px;
     background: #f4f9f7;
 }

 .es-bg {
     position: absolute;
     inset: 0;
     pointer-events: none;
     overflow: hidden;
 }

 .es-blob {
     position: absolute;
     border-radius: 50%;
     filter: blur(120px);
     opacity: 0.15;
 }

 .es-blob--1 {
     width: 380px;
     height: 380px;
     background: radial-gradient(circle, #00c48c 0%, #00b87c 60%, transparent 100%);
     top: -60px;
     right: -80px;
     animation: blobDrift 12s ease-in-out infinite alternate;
 }

 .es-blob--2 {
     width: 300px;
     height: 300px;
     background: radial-gradient(circle, #b2f0dc 0%, transparent 70%);
     bottom: -60px;
     left: -60px;
     animation: blobDrift 16s ease-in-out infinite alternate-reverse;
 }

 @keyframes blobDrift {
     0% {
         transform: translate(0, 0) scale(1);
     }

     100% {
         transform: translate(30px, 30px) scale(1.08);
     }
 }

 .es-container {
     position: relative;
     z-index: 1;
     width: 100%;
     max-width: 85%;
     margin: 0 auto;
 }

 .es-card {
     text-align: center;

     padding: 25px 20px;

     background: #fff;

     border-radius: 24px;

     border: 1px dashed #e2e8f0;

     margin-top: 8px;


 }

 @keyframes cardIn {
     from {
         opacity: 0;
         transform: translateY(24px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .es-icon-wrapper {
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 10px;
 }

 .es-title {
     font-size: 20px;
     font-weight: 600;
     color: #0f2419;
     margin: 0 0 10px;
     letter-spacing: -0.02em;
     line-height: 1.35;
 }

 .es-subtitle {
     font-size: 14.5px;
     color: #6b8c7a;
     margin: 0 0 36px;
     line-height: 1.6;
     font-weight: 400;
 }

 .es-btn {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: #00b87c;
     color: #fff;
     text-decoration: none;
     padding: 14px 28px;
     border-radius: 50px;
     font-size: 15px;
     font-weight: 600;
     letter-spacing: -0.01em;
     transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
     box-shadow: 0 4px 16px rgba(0, 184, 124, 0.25);
 }

 .es-btn:hover {
     background: #00a36e;
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(0, 184, 124, 0.32);
     color: #fff;
     text-decoration: none;
 }

 .es-btn:active {
     transform: translateY(0);
     box-shadow: 0 2px 8px rgba(0, 184, 124, 0.2);
 }

 @media (max-width: 768px) {
     .es-card {
         padding: 44px 28px 40px;
         border-radius: 22px;
     }

     .es-blob--1 {
         width: 280px;
         height: 280px;
     }

     .es-blob--2 {
         width: 200px;
         height: 200px;
     }
 }

 @media (max-width: 480px) {
     .es-card {
         padding: 36px 20px 32px;
         border-radius: 18px;
     }

     .es-title {
         font-size: 18px;
     }

     .es-subtitle {
         font-size: 13.5px;
     }

     .es-btn {
         padding: 13px 24px;
         font-size: 14.5px;
     }
 }

 /* map page show */
 /* ─── View tab buttons (filter ichida) ──────── */
 .fb-view-tabs {
     display: flex;
     align-items: center;
     gap: 4px;
     flex-shrink: 0;
     margin-right: 12px;
 }

 .fvt-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 38px;
     height: 38px;
     border-radius: 10px;
     color: #777;
     background: transparent;
     text-decoration: none;
     border: 1.5px solid transparent;
     transition: all 0.18s;
     font-size: 19px;
 }

 .fvt-btn:hover {
     background: #e6f4ef;
     color: #1a7a5e;
 }

 .fvt-btn.active {
     background: #fff;
     border-color: #1a7a5e;
     color: #1a7a5e;
 }

 /* ─── Map layout ─────────────────────────────── */
 .map-page-layout {
     display: flex;
     gap: 20px;
     height: 640px;
     margin-bottom: 40px;
 }

 /* ─── Sidebar ────────────────────────────────── */
 .map-sidebar {
     width: 340px;
     flex-shrink: 0;
     background: #fff;
     border-radius: 16px;
     box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
     display: flex;
     flex-direction: column;
     overflow: hidden;
     border: 1px solid #e8e8e8;
 }

 .msb-header {
     padding: 14px 18px;
     border-bottom: 1px solid #f0f0f0;
     background: #fafafa;
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .msb-count {
     font-size: 13px;
     font-weight: 600;
     color: #444;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .msb-count i {
     color: #1a7a5e;
     font-size: 16px;
 }

 .msb-loading {
     display: flex;
     align-items: center;
 }

 .msb-spinner {
     width: 18px;
     height: 18px;
     border: 2px solid #e0e0e0;
     border-top-color: #1a7a5e;
     border-radius: 50%;
     animation: spin 0.7s linear infinite;
 }

 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }

 .msb-list {
     flex: 1;
     overflow-y: auto;
     padding: 8px;
 }

 .msb-list::-webkit-scrollbar {
     width: 4px;
 }

 .msb-list::-webkit-scrollbar-track {
     background: #f1f1f1;
 }

 .msb-list::-webkit-scrollbar-thumb {
     background: #ccc;
     border-radius: 4px;
 }

 .msb-item {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 10px;
     border-radius: 12px;
     cursor: pointer;
     transition: background 0.15s, border-color 0.15s;
     margin-bottom: 4px;
     border: 1.5px solid transparent;
 }

 .msb-item:hover {
     background: #f0faf6;
 }

 .msb-item.active {
     background: #f0faf6;
     border-color: #1a7a5e;
 }

 .msb-logo {
     width: 44px;
     height: 44px;
     flex-shrink: 0;
     border-radius: 10px;
     overflow: hidden;
     background: #f4f4f4;
     display: flex;
     align-items: center;
     justify-content: center;
     border: 1px solid #eee;
 }

 .msb-logo img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .msb-logo-ph {
     font-size: 22px;
     color: #bbb;
 }

 .msb-info {
     flex: 1;
     min-width: 0;
 }

 .msb-name {
     font-size: 13px;
     font-weight: 600;
     color: #1a202c;
     margin: 0 0 3px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     line-height: 1.4;
 }

 .msb-addr {
     font-size: 11px;
     color: #888;
     margin: 0;
     display: flex;
     align-items: center;
     gap: 3px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .msb-addr i {
     font-size: 12px;
     color: #1a7a5e;
     flex-shrink: 0;
 }

 .msb-link {
     color: #1a7a5e;
     font-size: 22px;
     flex-shrink: 0;
     display: flex;
     align-items: center;
     opacity: 0.7;
     transition: opacity 0.15s, transform 0.15s;
 }

 .msb-link:hover {
     opacity: 1;
     transform: translateX(2px);
 }

 .msb-empty {
     text-align: center;
     padding: 50px 20px;
     color: #aaa;
 }

 .msb-empty i {
     font-size: 44px;
     display: block;
     margin-bottom: 10px;
     color: #ddd;
 }

 .msb-empty p {
     font-size: 13px;
     line-height: 1.5;
 }

 .msb-load-more {
     padding: 12px;
     padding-top: 4px;
     text-align: center;
     background: #fafafa;
     border-top: 1px solid #f0f0f0;
 }

 .msb-more-btn {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: #fff;
     border: 1.5px solid #e2e8f0;
     color: #1a7a5e;
     cursor: pointer;
     transition: all 0.2s;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto;
     font-size: 20px;
     padding: 0;
 }

 .msb-more-btn:hover {
     border-color: #1a7a5e;
     background: #f0faf6;
     transform: scale(1.08);
     color: #1a7a5e;
     box-shadow: 0 4px 12px rgba(26, 122, 94, 0.15);
 }

 .msb-more-btn:active {
     transform: scale(0.95);
 }

 /* ─── Map area ───────────────────────────────── */
 .map-main {
     flex: 1;
     border-radius: 16px;
     overflow: hidden;
     box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
     border: 1px solid #e8e8e8;
     background: #f1f5f9;
     position: relative;
 }

 /* ─── Mobile floating tabs ───────────────────── */
 .mobile-float-tabs {
     display: none;
 }

 /* ─── Tablet (max 1024px) ────────────────────── */
 @media (max-width: 1024px) {
     .map-page-layout {
         flex-direction: column-reverse;
         height: auto;
     }

     .map-sidebar {
         width: 100%;
         height: 55vh;
         min-height: 380px;
     }

     .map-main {
         height: 400px;
         min-height: 400px;
         width: 100%;
         margin-bottom: 20px;
     }

     /* Yandex map inner div needs explicit height too */
     .map-main #yandexMap {
         height: 400px !important;
         min-height: 400px !important;
         width: 100% !important;
     }

     /* Filter ichidagi tabni yashir — float tab ko'rsatiladi */
     .fb-view-tabs {
         display: none !important;
     }

     /* Mobile float tabs ko'rsatish */
     .mobile-float-tabs {
         display: flex;
         position: fixed;
         bottom: 24px;
         right: 20px;
         z-index: 999;
         gap: 8px;
         flex-direction: column;
         align-items: flex-end;
     }

     .mft-btn {
         display: flex;
         align-items: center;
         gap: 7px;
         padding: 10px 16px;
         border-radius: 50px;
         background: #fff;
         border: 2px solid #e0e0e0;
         color: #555;
         font-size: 13px;
         font-weight: 500;
         text-decoration: none;
         box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
         transition: all 0.2s;
         white-space: nowrap;
     }

     .mft-btn i {
         font-size: 18px;
     }

     .mft-btn:hover {
         background: #e6f4ef;
         color: #1a7a5e;
         border-color: #1a7a5e;
     }

     .mft-btn.active {
         background: #1a7a5e;
         border-color: #1a7a5e;
         color: #fff;
     }
 }

 /* ─── Mobile (max 640px) ─────────────────────── */
 @media (max-width: 640px) {
     .map-sidebar {
         height: 60vh;
         min-height: 480px;
     }

     .map-main {
         height: 320px;
         min-height: 320px;
     }

     .map-main #yandexMap {
         height: 320px !important;
         min-height: 320px !important;
     }

     .mobile-float-tabs {
         bottom: 20px;
         right: 16px;
     }

     .mft-btn span {
         display: none;
     }

     .mft-btn {
         width: 48px;
         height: 48px;
         padding: 0;
         justify-content: center;
         border-radius: 50%;
     }
 }

 .geo-locate-btn {
     position: absolute;
     bottom: 16px;
     right: 16px;
     z-index: 500;
     width: 42px;
     height: 42px;
     border-radius: 50%;
     background: #fff;
     border: 2px solid #e0e0e0;
     box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
     color: #1a7a5e;
     font-size: 20px;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.2s;
 }

 .geo-locate-btn:hover {
     background: #1a7a5e;
     color: #fff;
     border-color: #1a7a5e;
 }

 /* Cluster badge */
 .cluster-badge {
     background: #1a7a5e;
     color: #fff;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 700;
     font-size: 13px;
     border: 3px solid #fff;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
 }

 /* Custom marker */
 .school-marker {
     width: 32px;
     height: 32px;
     background: #1a7a5e;
     border-radius: 50% 50% 50% 0;
     transform: rotate(-45deg);
     border: 3px solid #fff;
     box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
     cursor: pointer;
 }

 .school-marker::after {
     content: '';
     position: absolute;
     width: 10px;
     height: 10px;
     background: #fff;
     border-radius: 50%;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
 }

 /* Sidebar active item */
 .msb-item.map-active {
     background: #f0faf6;
     border-left: 3px solid #1a7a5e;
 }

 /* Balloon style override */
 .ya-balloon {
     font-family: 'Inter', sans-serif;
     min-width: 200px;
 }

 .ya-balloon h4 {
     font-size: 13px;
     font-weight: 700;
     margin: 0 0 4px;
     color: #0f172a;
 }

 .ya-balloon p {
     font-size: 11px;
     color: #64748b;
     margin: 0 0 8px;
 }

 .ya-balloon a {
     display: inline-block;
     background: #1a7a5e;
     color: #fff;
     border-radius: 6px;
     padding: 5px 12px;
     font-size: 12px;
     text-decoration: none;
     font-weight: 600;
 }