*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:#12243d;background:#fff;line-height:1.5;font-size:14px}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.container{width:min(1240px,calc(100% - 48px));margin:auto}
.site-header{height:76px;background:#fff;border-bottom:1px solid #e5ebf2;position:sticky;top:0;z-index:50}.nav-bar{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:9px}.brand-logo{width:38px;height:38px}.brand-word{color:#0b4387}.brand-word b{display:block;font-size:18px;line-height:17px}.brand-word small{font-size:10px;letter-spacing:2px;color:#506176}.main-nav{display:flex;align-items:center;gap:30px;font-size:12px;font-weight:600}.main-nav a{padding:29px 0}.main-nav a.active{color:#0b55a8;border-bottom:2px solid #0b55a8}.nav-contact{background:#0b4f9b;color:#fff!important;padding:10px 14px!important;border-radius:5px!important;border:0!important}.mobile-menu{display:none;background:none;border:0;font-size:22px;color:#0b4f9b}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 15px;border-radius:5px;border:1px solid #0b55a8;font-size:11px;font-weight:700;white-space:nowrap}.btn-primary{background:#0b4f9b;color:#fff}.btn-outline{background:#fff;color:#0b4f9b}.btn-light-outline{background:transparent;color:#fff;border-color:#dce9f8}.btn-small{padding:7px 10px;font-size:10px}
.hero{background:linear-gradient(90deg,#062f65 0%,#0a4382 54%,#104f93 100%);color:#fff;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 78% 45%,rgba(56,137,231,.18),transparent 38%),linear-gradient(180deg,rgba(255,255,255,.025),transparent 45%);pointer-events:none}.hero-inner{min-height:360px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.hero-copy{max-width:650px;padding:45px 0}.eyebrow,.section-kicker{font-size:9px;letter-spacing:1.8px;font-weight:800;color:#0b55a8}.hero .eyebrow{color:#a9c8eb}.hero h1{font-size:40px;line-height:1.18;letter-spacing:-.7px;margin:9px 0 14px}.hero p{max-width:590px;font-size:14px;line-height:1.7;color:#e8f1fc;margin:0 0 22px}.hero-buttons{display:flex;gap:10px}.hero-book-stage{width:560px;height:360px;position:relative;margin-right:-10px;display:flex;align-items:center;justify-content:center;overflow:visible;background:transparent;filter:none}.hero-books-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 28px rgba(0,24,60,.22))}
.section{padding:34px 0}.soft-section{background:#f7fafd}.section-title-row{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.section-title-row h2{margin:4px 0 0;font-size:20px;color:#0b3f83}.see-all{font-size:11px;color:#0b55a8;font-weight:700}
.popular-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.square-cover{display:block;aspect-ratio:1/1;overflow:hidden;background:#edf2f7;border-radius:6px;border:1px solid #e1e7ee}.square-cover img{width:100%;height:100%;object-fit:cover}.cover-fallback{height:100%;display:grid;place-items:center;text-align:center;padding:18px;background:linear-gradient(145deg,#073b79,#1261b6);color:#fff;font-weight:800;font-size:14px}.popular-card h3{font-size:11px;line-height:1.35;margin:8px 0 3px}.book-meta-line{font-size:9px;color:#6b7a8d;min-height:24px}.book-price{display:block;color:#0b4f9b;font-size:11px;margin-top:4px}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.testimonial{background:#fff;border:1px solid #e0e7ef;border-radius:8px;padding:18px;min-height:150px}.quote{font-size:30px;color:#0b55a8;font-weight:800;line-height:.5}.testimonial p{font-size:11px;line-height:1.55;margin:0 0 15px}.testimonial-person{display:flex;gap:10px;align-items:center}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#e7f0fa;color:#0b4f9b;font-weight:800}.testimonial-person b,.testimonial-person small{display:block}.testimonial-person b{font-size:10px}.testimonial-person small{font-size:9px;color:#69798b}
.slider-controls{display:flex;gap:5px}.slider-btn{width:29px;height:29px;background:#fff;border:1px solid #d8e3ee;border-radius:5px;color:#0b4f9b;font-size:18px;cursor:pointer}.partner-slider{overflow:hidden}.partner-track{display:flex;gap:18px;transition:transform .55s ease}.partner-card{flex:0 0 calc((100% - 54px)/4);min-width:180px;display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e2e9f1;border-radius:8px;background:#fff}.partner-logo{width:78px;height:78px;flex:0 0 78px;border-radius:50%;background:#f1f6fb;display:grid;place-items:center;overflow:hidden;color:#0b4f9b;font-size:10px;font-weight:800}.partner-logo img{width:100%;height:100%;object-fit:contain;padding:7px}.partner-card span:last-child{font-size:11px;line-height:1.3;color:#21476f;font-weight:700}
.procedure-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:45px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 12px;margin-top:18px}.step{text-align:center}.step-number{width:42px;height:42px;border-radius:50%;background:#edf4fb;color:#0b4f9b;display:grid;place-items:center;margin:0 auto 8px;font-weight:800}.step b{font-size:9px;display:block}.step small{font-size:8px;line-height:1.4;color:#65758a;display:block;margin-top:3px}.faq-list{margin:12px 0 12px}.faq{border-bottom:1px solid #e0e7ef;padding:11px 0;cursor:pointer}.faq>div{font-size:11px;font-weight:700;display:flex;justify-content:space-between}.faq p{display:none;font-size:10px;color:#66768a;margin:8px 0 0}.faq.open p{display:block}
.page-head{padding:30px 0 16px;border-bottom:1px solid #e2e8ef}.page-head h1{font-size:30px;color:#0b3f83;margin:5px 0}.breadcrumb{font-size:10px;color:#69788c}.catalog-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;padding:20px 0 40px}.catalog-filter h3{font-size:12px;margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid #e1e7ee}.catalog-filter a,.catalog-filter label{display:block;font-size:10px;padding:5px 0;color:#34465b}.catalog-filter a.selected,.catalog-filter .filter-all{color:#0b55a8;font-weight:700}.filter-title{margin-top:18px!important}.catalog-toolbar{display:flex;justify-content:flex-end;gap:8px;margin-bottom:14px}.search,.sort{height:34px;border:1px solid #d8e2ed;border-radius:5px;padding:7px 10px;font-size:10px;background:#fff}.search{width:280px}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.catalog-card{border:1px solid #dfe7ef;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 3px 10px #12395b08}.catalog-card .square-cover{border:0;border-radius:0}.catalog-body{padding:10px}.catalog-body h2{font-size:12px;line-height:1.35;color:#18324e;margin:0 0 7px}.identity{display:flex;flex-direction:column;gap:2px;font-size:8.5px;color:#66768a}.identity b{color:#29425f}.catalog-body p{font-size:9px;line-height:1.5;color:#5f7084;min-height:55px;margin:8px 0}.catalog-bottom{font-size:13px;color:#0b4f9b;margin-bottom:8px}.catalog-buttons{display:flex;gap:5px}.catalog-buttons .btn{flex:1}
.detail-page{padding:28px 0 50px}.detail-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:42px;margin-top:20px}.detail-cover{max-width:360px}.detail-content h1{font-size:31px;color:#0b3f83;line-height:1.2;margin:5px 0 18px}.detail-identity{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:14px;background:#f5f8fb;border:1px solid #e1e8ef;border-radius:7px}.detail-identity div{display:flex;flex-direction:column;gap:2px}.detail-identity span{font-size:9px;color:#708095}.detail-identity b{font-size:10px;color:#213b57}.detail-price{font-size:23px;color:#0b4f9b;font-weight:800;margin:18px 0}.detail-content h2{font-size:16px;color:#0b3f83}.detail-synopsis{font-size:12px;line-height:1.75;color:#506278}.detail-actions{display:flex;gap:8px;margin-top:18px}
.site-footer{background:#073f80;color:#dbe8f6;margin-top:25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;padding:38px 0}.footer-logo{width:140px}.footer-grid h4{font-size:12px;color:#fff;margin:0 0 10px}.footer-grid p,.footer-grid a{font-size:10px;color:#bdd0e5;line-height:1.65}.footer-grid a{display:block;margin:5px 0}.footer-bottom{text-align:center;border-top:1px solid #2b5a8d;padding:13px;font-size:9px;color:#9fb8d2}
.admin-page{background:#f4f7fb;min-height:100vh}.admin-top{height:60px;background:#063f80;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 20px}.admin-brand{display:flex;align-items:center;gap:8px}.admin-brand img{width:30px}.admin-brand span{font-weight:400}.admin-user{font-size:10px}.admin-user a{color:#fff}.admin-wrap{display:flex;min-height:calc(100vh - 60px)}.sidebar{width:215px;flex:0 0 215px;background:#073f82;padding:15px 10px}.sidebar a{display:block;color:#dce8f7;font-size:11px;padding:9px 12px;border-radius:5px}.sidebar a:hover{background:#155ca5;color:#fff}.admin-main{flex:1;min-width:0;padding:22px}.admin-main h1{font-size:20px;color:#173f70}.admin-card{background:#fff;border:1px solid #e1e8ef;border-radius:7px;padding:16px;margin-top:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:#fff;border:1px solid #e1e8ef;border-radius:7px;padding:14px}.stat small{font-size:9px;color:#697a8e}.stat strong{display:block;font-size:22px;color:#0b4f9b}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-group{margin-bottom:10px}.form-group.full{grid-column:1/-1}.form-group label{display:block;font-size:10px;font-weight:700;margin-bottom:4px}.form-control{width:100%;border:1px solid #d6e0ea;border-radius:5px;padding:9px;font-size:11px}.textarea{min-height:120px}.table{width:100%;border-collapse:collapse;font-size:10px}.table th,.table td{padding:8px;border-bottom:1px solid #e5ebf1;text-align:left}.cover-mini{width:45px;height:45px;object-fit:cover;border-radius:4px}.flash{position:fixed;right:20px;top:75px;background:#0b6a34;color:#fff;padding:10px 14px;border-radius:5px;font-size:10px;z-index:100}.flash.error{background:#b42318}
.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#062e64,#0b62bb)}.login-box{width:min(390px,calc(100% - 30px));background:#fff;padding:28px;border-radius:10px;box-shadow:0 20px 50px #001f4830}.login-box h1{font-size:22px;color:#0b4285}.login-box .btn{width:100%}
@media(max-width:1050px){.popular-grid{grid-template-columns:repeat(3,1fr)}.catalog-grid{grid-template-columns:repeat(3,1fr)}.partner-card{flex-basis:calc((100% - 36px)/3)}.main-nav{gap:18px}}
@media(max-width:800px){.main-nav{display:none}.main-nav.open{position:absolute;top:76px;left:0;right:0;background:#fff;display:flex;flex-direction:column;gap:0;padding:12px 20px;box-shadow:0 10px 20px #12395b15}.main-nav.open a{padding:10px}.mobile-menu{display:block}.hero-inner{min-height:300px}.hero-book-stage{display:none}.testimonial-grid,.procedure-grid{grid-template-columns:1fr}.catalog-layout{grid-template-columns:160px 1fr}.footer-grid{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:280px 1fr}}
@media(max-width:620px){.container{width:calc(100% - 26px)}.hero h1{font-size:28px}.popular-grid,.catalog-grid{grid-template-columns:repeat(2,1fr)}.catalog-layout{grid-template-columns:1fr}.catalog-toolbar{justify-content:stretch}.search{width:auto;flex:1}.partner-card{flex-basis:calc((100% - 18px)/2);min-width:calc((100% - 18px)/2)}.partner-logo{width:68px;height:68px;flex-basis:68px}.detail-grid{grid-template-columns:1fr}.detail-cover{max-width:360px}.detail-identity{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.sidebar{display:none}.admin-main{padding:12px}.form-grid{grid-template-columns:1fr}}

@media(max-width:700px){.info-grid,.pricing-grid,.journal-grid,.contact-grid{grid-template-columns:1fr}.contact-list{grid-template-columns:1fr}.detail-cover{max-width:100%}}

/* FINAL V3: BOOK COVER = PORTRAIT 15:23, ADMIN UI LARGER */
.book-cover-frame,.square-cover{aspect-ratio:15 / 23!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
.book-cover-frame img,.square-cover img{width:100%!important;height:100%!important;object-fit:cover!important}
.detail-cover{width:100%!important;max-width:360px!important;aspect-ratio:15 / 23!important;height:auto!important}
.detail-cover img{width:100%!important;height:100%!important;object-fit:cover!important}
.admin-top{height:68px}
.admin-brand{font-size:15px}
.admin-brand img{width:38px;height:38px}
.admin-user{font-size:12px}
.sidebar{width:235px;flex-basis:235px;padding:18px 12px}
.sidebar a{font-size:13px;padding:11px 13px;margin-bottom:3px}
.admin-main{padding:28px}
.admin-main h1{font-size:25px;margin:0 0 20px}
.stats{gap:16px}
.stat{padding:19px}
.stat small{font-size:11px}
.stat strong{font-size:30px;line-height:1.2;margin:5px 0}
.admin-card{padding:20px;margin-top:18px}
.admin-card h2{font-size:20px}
.admin-card p{font-size:13px}
.form-group label{font-size:12px}
.form-control{font-size:13px;padding:11px}
.table{font-size:12px}
.table th,.table td{padding:10px}
.cover-mini{width:60px;height:92px;object-fit:cover;border-radius:4px}
.cover-preview{width:120px;aspect-ratio:15/23;border:1px solid #dbe4ed;border-radius:6px;overflow:hidden;background:#eef3f8;margin-top:8px}
.cover-preview img{width:100%;height:100%;object-fit:cover}
.upload-note{font-size:11px;color:#6d7d90;margin-top:5px}
.upload-error{background:#fff2f2;border:1px solid #efb5b5;color:#a32121;border-radius:6px;padding:9px 11px;font-size:11px;margin:10px 0}
@media(max-width:800px){.admin-main{padding:18px}.sidebar{width:210px;flex-basis:210px}.sidebar a{font-size:12px}.stat strong{font-size:26px}}

/* ADMIN FINAL SIZE OVERRIDE — intentionally after all media queries */
body.admin-page .admin-top{height:76px!important}
body.admin-page .admin-brand{font-size:18px!important;gap:10px!important}
body.admin-page .admin-brand img{width:42px!important;height:42px!important}
body.admin-page .admin-user{font-size:13px!important}
body.admin-page .sidebar{width:245px!important;flex:0 0 245px!important;padding:20px 14px!important}
body.admin-page .sidebar a{font-size:15px!important;line-height:1.3!important;padding:12px 14px!important;margin:3px 0!important;border-radius:7px!important}
body.admin-page .sidebar .admin-icon{display:inline-flex!important;width:25px!important;justify-content:center!important;font-size:18px!important;vertical-align:-2px!important;margin-right:5px!important}
body.admin-page .admin-main{padding:32px!important}
body.admin-page .admin-main h1{font-size:28px!important}
body.admin-page .stats{gap:18px!important}
body.admin-page .stat{padding:22px!important}
body.admin-page .stat small{font-size:12px!important}
body.admin-page .stat strong{font-size:34px!important}
body.admin-page .admin-card{padding:22px!important}
body.admin-page .admin-card h2{font-size:21px!important}
body.admin-page .admin-card p{font-size:14px!important}
body.admin-page .form-group label{font-size:13px!important}
body.admin-page .form-control{font-size:14px!important;padding:12px!important}
body.admin-page .table{font-size:13px!important}
body.admin-page .table th,body.admin-page .table td{padding:12px!important}
body.admin-page .flash{font-size:12px!important;padding:12px 16px!important}
@media(max-width:800px){
  body.admin-page .admin-wrap{min-width:0}
  body.admin-page .sidebar{width:225px!important;flex-basis:225px!important}
  body.admin-page .sidebar a{font-size:14px!important}
  body.admin-page .admin-main{padding:24px!important}
  body.admin-page .admin-main h1{font-size:25px!important}
}
@media(max-width:620px){
  body.admin-page .sidebar{display:block!important;width:205px!important;flex-basis:205px!important}
  body.admin-page .sidebar a{font-size:13px!important}
  body.admin-page .admin-main{padding:18px!important}
}

/* FINAL CATALOG COVER OVERRIDE — portrait 15:23 */
.catalog-card .book-cover-frame,
.catalog-card .book-cover-frame:link,
.catalog-card .book-cover-frame:visited,
.catalog-card .book-cover-frame img{
    display:block;
}
.catalog-card .book-cover-frame{
    width:100%!important;
    aspect-ratio:15 / 23!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:hidden!important;
    background:#eef3f8;
    border:0;
    border-radius:8px 8px 0 0;
}
.catalog-card .book-cover-frame img{
    width:100%!important;
    height:100%!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    object-position:center!important;
}
.catalog-card .book-cover-frame .cover-fallback{
    width:100%;
    height:100%;
    min-height:0;
}
.popular-card .book-cover-frame{
    width:100%!important;
    aspect-ratio:15 / 23!important;
    height:auto!important;
    overflow:hidden!important;
}
.popular-card .book-cover-frame img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.detail-cover{
    width:min(100%,360px)!important;
    aspect-ratio:15 / 23!important;
    height:auto!important;
    overflow:hidden!important;
}
.detail-cover img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
@media(max-width:700px){
    .catalog-card .book-cover-frame{aspect-ratio:15 / 23!important}
    .popular-card .book-cover-frame{aspect-ratio:15 / 23!important}
}

.testimonial-slider{position:relative}
.testimonial-viewport{overflow:hidden;width:100%}
.testimonial-track{display:flex;gap:22px;transition:transform .5s ease;will-change:transform}
.testimonial-track .testimonial{flex:0 0 calc((100% - 44px)/3);box-sizing:border-box;min-height:205px;padding:24px;border:1px solid #d6e1ec;border-radius:12px;box-shadow:0 5px 18px rgba(22,54,87,.06);display:flex;flex-direction:column;background:#fff}
.testimonial-track .testimonial p{font-size:13px;line-height:1.65;margin:12px 0 22px;flex:1}
.testimonial-track .testimonial-person{margin-top:auto}
.testimonial-track .testimonial-person b{font-size:12px}
.testimonial-track .testimonial-person small{font-size:11px;color:#6b7b8f;margin-top:3px}
.testimonial-track .quote{font-size:38px;line-height:.65}
.testimonial-slider-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px}
.slider-dots{display:flex;gap:6px;align-items:center}
.slider-dot{width:7px;height:7px;border:0;border-radius:50%;background:#cbd8e5;padding:0;cursor:pointer}
.slider-dot.active{width:20px;border-radius:10px;background:#0b55a8}
.testimonial-slider .slider-controls{display:flex;gap:7px}
.testimonial-slider .slider-btn{width:34px;height:34px;border-radius:7px;background:#fff;border:1px solid #cfdbe7;color:#0b55a8;font-size:22px;line-height:1;cursor:pointer}
.testimonial-slider .slider-btn:hover{background:#0b55a8;color:#fff}
@media(max-width:1050px){
  .testimonial-track .testimonial{flex-basis:calc((100% - 22px)/2)}
}
@media(max-width:650px){
  .testimonial-track .testimonial{flex-basis:100%;min-height:190px}
}

/* HOME V4.1 — restore previous home scale; keep portrait covers and testimonial slider */
@media(min-width:1100px){
  body:not(.admin-page) .container{width:min(1240px,calc(100% - 48px))}
  body:not(.admin-page) .section{padding:34px 0}
  body:not(.admin-page) .section-title-row{margin-bottom:18px}
  body:not(.admin-page) .section-title-row h2{font-size:20px}
  body:not(.admin-page) .section-kicker{font-size:9px}
  body:not(.admin-page) .popular-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
  body:not(.admin-page) .popular-card{background:#fff;border:1px solid #e0e7ef;border-radius:8px;overflow:hidden;padding-bottom:9px;box-shadow:0 2px 8px rgba(20,52,84,.035)}
  body:not(.admin-page) .popular-card .book-cover-frame{border-radius:7px 7px 0 0;border-bottom:1px solid #e1e8f0}
  body:not(.admin-page) .popular-card h3{font-size:11px;line-height:1.35;margin:8px 9px 3px}
  body:not(.admin-page) .popular-card .book-meta-line{font-size:9px;line-height:1.4;margin:0 9px;min-height:24px}
  body:not(.admin-page) .popular-card .book-price{font-size:11px;margin:4px 9px 0}
  body:not(.admin-page) .hero-inner{min-height:350px}
  body:not(.admin-page) .hero-copy{max-width:650px;padding:45px 0}
  body:not(.admin-page) .hero h1{font-size:40px}
  body:not(.admin-page) .hero p{font-size:14px;max-width:590px}
  body:not(.admin-page) .hero-book-stage{width:560px;height:360px}
}

/* HOME HERO V8.6 — integrated Alifba book composition */
@media(min-width:1100px){body:not(.admin-page) .hero-inner{min-height:360px}body:not(.admin-page) .hero-copy{padding:42px 0}body:not(.admin-page) .hero-book-stage{width:560px;height:360px;margin-right:-4px;background:transparent}}
@media(max-width:1050px){body:not(.admin-page) .hero-book-stage{width:48%;height:320px}}
@media(max-width:800px){body:not(.admin-page) .hero-book-stage{display:none}}


/* HERO V8.8 — clean two-column layout; book artwork is a real transparent cutout */
@media(min-width:801px){
  body:not(.admin-page) .hero-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 560px!important;
    gap:18px!important;
    align-items:center!important;
    min-height:360px!important;
  }
  body:not(.admin-page) .hero-copy{
    position:relative!important;
    z-index:3!important;
    max-width:650px!important;
    padding:42px 0!important;
  }
  body:not(.admin-page) .hero h1{
    font-size:40px!important;
    line-height:1.18!important;
    margin:9px 0 14px!important;
  }
  body:not(.admin-page) .hero p{
    font-size:14px!important;
    max-width:590px!important;
  }
  body:not(.admin-page) .hero-book-stage{
    width:560px!important;
    height:360px!important;
    margin:0!important;
    padding:0!important;
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    background:transparent!important;
    filter:none!important;
    z-index:2!important;
  }
  body:not(.admin-page) .hero-books-image{
    width:620px!important;
    max-width:none!important;
    height:360px!important;
    object-fit:contain!important;
    object-position:center center!important;
    display:block!important;
    filter:drop-shadow(0 18px 24px rgba(0,24,60,.22))!important;
  }
}
@media(max-width:1100px) and (min-width:801px){
  body:not(.admin-page) .hero-inner{grid-template-columns:minmax(0,1fr) 46%!important;gap:8px!important}
  body:not(.admin-page) .hero-book-stage{width:100%!important;height:320px!important}
  body:not(.admin-page) .hero-books-image{width:120%!important;height:320px!important}
  body:not(.admin-page) .hero h1{font-size:34px!important}
}
@media(max-width:800px){
  body:not(.admin-page) .hero-inner{display:block!important;min-height:300px!important}
  body:not(.admin-page) .hero-copy{padding:36px 0!important}
  body:not(.admin-page) .hero-book-stage{display:none!important}
}

/* HOME HERO — clean Alifba batik edition */
.hero{
  background:linear-gradient(115deg,#062f68 0%,#0a3f80 52%,#124f96 100%)!important;
  min-height:0!important;
  position:relative!important;
  overflow:hidden!important;
}
.hero:before,
.hero:after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-image:url('../img/batik-ornament.svg');
  background-repeat:no-repeat;
  background-size:100% 100%;
  opacity:.72;
  z-index:0;
}
.hero:before{
  width:430px;
  height:430px;
  left:-150px;
  top:-185px;
  transform:rotate(-8deg);
}
.hero:after{
  width:560px;
  height:560px;
  right:-205px;
  bottom:-305px;
  transform:rotate(178deg);
  opacity:.58;
}
.hero-inner{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  min-height:360px!important;
}
.hero-copy{
  max-width:670px!important;
  padding:46px 0!important;
  position:relative!important;
  z-index:3!important;
}
.hero .eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  gap:18px!important;
  color:#b8d2ee!important;
  font-size:10px!important;
  letter-spacing:2px!important;
  margin-bottom:2px!important;
}
.hero .eyebrow:after{
  content:"";
  width:42px;
  height:2px;
  background:#d8a92b;
  display:inline-block;
}
.hero h1{
  font-size:40px!important;
  line-height:1.16!important;
  letter-spacing:-.8px!important;
  margin:10px 0 16px!important;
  max-width:650px!important;
}
.hero p{
  max-width:610px!important;
  font-size:14px!important;
  line-height:1.7!important;
  color:#edf5ff!important;
  margin:0 0 24px!important;
}
.hero-buttons{gap:12px!important}
.hero .btn{padding:10px 16px!important;font-size:11px!important;border-radius:6px!important}
.hero .btn-primary{background:#0b68c7!important;border-color:#0b68c7!important}
.hero .btn-light-outline{background:transparent!important;border-color:#d8e6f6!important;color:#fff!important}
.hero-book-stage{display:none!important}

@media(min-width:1100px){
  body:not(.admin-page) .hero-inner{min-height:360px!important}
}
@media(max-width:800px){
  body:not(.admin-page) .hero-inner{min-height:330px!important;display:flex!important}
  body:not(.admin-page) .hero-copy{padding:38px 0!important}
  body:not(.admin-page) .hero h1{font-size:31px!important}
  .hero:before{width:300px;height:300px;left:-135px;top:-115px}
  .hero:after{width:390px;height:390px;right:-180px;bottom:-225px}
}


/* HOME BOOK COVERS — SAME PROPORTION AS CATALOG (15:23) */
@media (min-width: 1051px){
  body:not(.admin-page) .popular-grid{
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:18px !important;
  }
}
body:not(.admin-page) .popular-card{
  min-width:0;
}
body:not(.admin-page) .popular-card .book-cover-frame{
  display:block !important;
  width:100% !important;
  aspect-ratio:15 / 23 !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:hidden !important;
  background:#eef3f8 !important;
  border:1px solid #dfe7ef !important;
  border-radius:8px 8px 0 0 !important;
}
body:not(.admin-page) .popular-card .book-cover-frame img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:auto !important;
  object-fit:cover !important;
  object-position:center !important;
}
body:not(.admin-page) .popular-card .book-cover-frame .cover-fallback{
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
}
@media (max-width:1050px) and (min-width:651px){
  body:not(.admin-page) .popular-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px !important;
  }
}
@media (max-width:650px){
  body:not(.admin-page) .popular-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }
}


/* HOME FONT SIZE — DIPERBESAR TANPA MENGUBAH STRUKTUR */
.popular-card h3{font-size:15px!important;line-height:1.4!important;margin:10px 12px 5px!important}
.popular-card .book-meta-line{font-size:12px!important;line-height:1.5!important;min-height:30px!important;margin:0 12px!important}
.popular-card .book-price{font-size:15px!important;margin:7px 12px 0!important}
.section-title-row h2{font-size:25px!important;line-height:1.25!important}
.section-kicker{font-size:10px!important;letter-spacing:1.8px!important}
.see-all{font-size:12px!important}
@media (max-width:700px){
  .popular-card h3{font-size:14px!important}
  .popular-card .book-meta-line{font-size:11px!important}
  .popular-card .book-price{font-size:14px!important}
  .section-title-row h2{font-size:22px!important}
}


/* =========================================================
   HOME FINAL — FONT 1 TINGKAT LEBIH BESAR + LOGO MITRA
   ========================================================= */

/* Mitra: logo diperbesar */
body:not(.admin-page) .partner-card{
  padding:14px 16px !important;
  min-height:82px !important;
}

body:not(.admin-page) .partner-logo{
  width:64px !important;
  height:64px !important;
  flex:0 0 64px !important;
}

body:not(.admin-page) .partner-logo img{
  width:100% !important;
  height:100% !important;
  padding:6px !important;
  object-fit:contain !important;
}

body:not(.admin-page) .partner-card span:last-child{
  font-size:12px !important;
  line-height:1.35 !important;
}

/* Font Home: naik satu tingkat lagi */
body:not(.admin-page) .popular-card h3{
  font-size:16px !important;
  line-height:1.4 !important;
}

body:not(.admin-page) .popular-card .book-meta-line{
  font-size:13px !important;
  line-height:1.5 !important;
  min-height:32px !important;
}

body:not(.admin-page) .popular-card .book-price{
  font-size:16px !important;
}

body:not(.admin-page) .section-title-row h2{
  font-size:27px !important;
}

body:not(.admin-page) .section-kicker{
  font-size:11px !important;
}

body:not(.admin-page) .see-all{
  font-size:13px !important;
}

/* Testimoni Home */
body:not(.admin-page) .testimonial-track .testimonial p{
  font-size:14px !important;
}

body:not(.admin-page) .testimonial-track .testimonial-person b{
  font-size:13px !important;
}

body:not(.admin-page) .testimonial-track .testimonial-person small{
  font-size:12px !important;
}

/* Tetap nyaman di layar kecil */
@media(max-width:700px){
  body:not(.admin-page) .partner-logo{
    width:58px !important;
    height:58px !important;
    flex-basis:58px !important;
  }

  body:not(.admin-page) .partner-card span:last-child{
    font-size:11px !important;
  }

  body:not(.admin-page) .popular-card h3{
    font-size:15px !important;
  }

  body:not(.admin-page) .popular-card .book-meta-line{
    font-size:12px !important;
  }

  body:not(.admin-page) .popular-card .book-price{
    font-size:15px !important;
  }

  body:not(.admin-page) .section-title-row h2{
    font-size:23px !important;
  }
}

/* Home refinements: 4 partner cards per slide + 6-step procedure */
.procedure-grid .steps .step{min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
@media(max-width:800px){
  .procedure-grid .steps{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:520px){
  .procedure-grid .steps{grid-template-columns:repeat(2,1fr)}
}


/* =========================================================
   MITRA KAMI — layout sesuai desain referensi
   Logo di tengah, nama mitra di bawah logo
   ========================================================= */
body:not(.admin-page) .partner-card{
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:center !important;
  gap:12px !important;
  padding:16px 12px 18px !important;
  min-height:148px !important;
  box-sizing:border-box !important;
}

body:not(.admin-page) .partner-logo{
  width:82px !important;
  height:82px !important;
  flex:0 0 82px !important;
  margin:0 auto !important;
}

body:not(.admin-page) .partner-logo img{
  width:100% !important;
  height:100% !important;
  padding:7px !important;
  object-fit:contain !important;
}

body:not(.admin-page) .partner-card span:last-child{
  display:block !important;
  width:100% !important;
  font-size:12px !important;
  line-height:1.35 !important;
  text-align:center !important;
}

@media(max-width:800px){
  body:not(.admin-page) .partner-card{
    min-height:140px !important;
  }
  body:not(.admin-page) .partner-logo{
    width:74px !important;
    height:74px !important;
    flex-basis:74px !important;
  }
}

@media(max-width:620px){
  body:not(.admin-page) .partner-card{
    min-height:132px !important;
    padding:14px 8px !important;
  }
  body:not(.admin-page) .partner-logo{
    width:68px !important;
    height:68px !important;
    flex-basis:68px !important;
  }
  body:not(.admin-page) .partner-card span:last-child{
    font-size:11px !important;
  }
}


/* ============================================================
   ALIFBA MEDIA — HOME REVISION v15
   Mengikuti gambar referensi yang diberikan pengguna.
   Semua aturan berikut hanya berlaku pada halaman Beranda.
   ============================================================ */

/* Header / navigasi */
body.page-home .site-header{
  height:86px;
}
body.page-home .nav-bar{
  height:86px;
}
body.page-home .brand{
  gap:12px;
}
body.page-home .brand-logo{
  width:52px;
  height:52px;
}
body.page-home .brand-word b{
  font-size:23px;
  line-height:22px;
}
body.page-home .brand-word small{
  font-size:12px;
}
body.page-home .main-nav{
  gap:38px;
  font-size:16px;
}
body.page-home .main-nav a{
  padding:32px 0;
}
body.page-home .nav-contact{
  padding:13px 19px !important;
  border-radius:7px !important;
}

/* Section heading */
body.page-home .section{
  padding:38px 0;
}
body.page-home .section-title-row{
  margin-bottom:20px;
}
body.page-home .section-title-row h2{
  font-size:32px;
  line-height:1.15;
  margin-top:6px;
}
body.page-home .section-kicker{
  font-size:13px;
  letter-spacing:2.4px;
}

/* Mitra: 4 kartu, logo di tengah, nama di bawah */
body.page-home .partner-track{
  gap:24px;
}
body.page-home .partner-card{
  flex:0 0 calc((100% - 72px)/4) !important;
  min-width:0 !important;
  min-height:245px !important;
  height:245px;
  padding:16px 14px 22px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:16px !important;
  text-align:center !important;
  border-radius:10px;
}
body.page-home .partner-logo{
  width:150px !important;
  height:150px !important;
  flex:0 0 150px !important;
  margin:0 auto !important;
  border-radius:50%;
  font-size:15px;
}
body.page-home .partner-logo img{
  width:100%;
  height:100%;
  padding:10px !important;
  object-fit:contain;
}
body.page-home .partner-card span:last-child{
  display:block !important;
  width:100% !important;
  font-size:20px !important;
  line-height:1.25 !important;
  color:#0b2f63 !important;
  font-weight:800 !important;
  text-align:center !important;
}
body.page-home .slider-controls{
  gap:8px;
}
body.page-home .slider-btn{
  width:42px;
  height:42px;
  font-size:25px;
  border-radius:7px;
}

/* Prosedur + FAQ */
body.page-home .procedure-grid{
  grid-template-columns:1.05fr .95fr;
  gap:54px;
}
body.page-home .procedure-grid > div > h2{
  font-size:32px;
  line-height:1.15;
  margin:6px 0 0;
}
body.page-home .steps{
  grid-template-columns:repeat(3,1fr);
  gap:14px 16px;
  margin-top:20px;
}
body.page-home .step{
  position:relative;
  min-height:190px;
  padding:10px 10px 16px;
  border:1px solid #dce6f0;
  border-radius:10px;
  background:#fff;
  text-align:center;
}
body.page-home .step-number{
  position:absolute;
  top:10px;
  left:10px;
  width:40px;
  height:40px;
  margin:0;
  border-radius:50%;
  background:#0b55a8;
  color:#fff;
  font-size:18px;
}
body.page-home .step-icon{
  width:92px;
  height:92px;
  margin:0 auto 12px;
  border-radius:50%;
  background:#eaf3fd;
  color:#0b55a8;
  display:grid;
  place-items:center;
}
body.page-home .step-icon svg{
  width:58px;
  height:58px;
  fill:none;
  stroke:currentColor;
  stroke-width:3.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.page-home .step b{
  display:block;
  font-size:18px;
  line-height:1.25;
  color:#102f5a;
}
body.page-home .step small{
  display:block;
  font-size:14px;
  line-height:1.4;
  color:#31557d;
  margin-top:5px;
}

/* FAQ */
body.page-home .faq-list{
  margin:15px 0 14px;
  border:1px solid #dce6f0;
  border-radius:9px;
  overflow:hidden;
  background:#fff;
}
body.page-home .faq{
  padding:16px 18px;
  border-bottom:1px solid #dce6f0;
}
body.page-home .faq:last-child{
  border-bottom:0;
}
body.page-home .faq > div{
  font-size:16px;
  line-height:1.35;
}
body.page-home .faq > div span{
  font-size:20px;
}
body.page-home .faq p{
  font-size:14px;
  line-height:1.55;
}
body.page-home .btn-small{
  padding:11px 16px;
  font-size:14px;
  border-radius:7px;
}

/* Footer */
body.page-home .site-footer{
  margin-top:0;
}
body.page-home .footer-grid{
  gap:48px;
  padding:42px 0;
}
body.page-home .footer-logo{
  width:170px;
}
body.page-home .footer-grid h4{
  font-size:17px;
  margin-bottom:12px;
}
body.page-home .footer-grid p,
body.page-home .footer-grid a{
  font-size:14px;
  line-height:1.7;
}
body.page-home .footer-grid a{
  margin:6px 0;
}
body.page-home .footer-bottom{
  padding:15px;
  font-size:13px;
}

/* Judul dan teks section lain di home juga diperbesar */
body.page-home .popular-card h3{font-size:16px}
body.page-home .book-meta-line{font-size:13px}
body.page-home .book-price{font-size:16px}
body.page-home .testimonial p{font-size:15px}
body.page-home .testimonial-person b{font-size:14px}
body.page-home .testimonial-person small{font-size:13px}

/* Responsif */
@media(max-width:1050px){
  body.page-home .main-nav{gap:20px;font-size:14px}
  body.page-home .partner-card{
    flex-basis:calc((100% - 48px)/3) !important;
  }
  body.page-home .partner-logo{
    width:125px !important;
    height:125px !important;
    flex-basis:125px !important;
  }
  body.page-home .partner-card span:last-child{font-size:18px !important}
}

@media(max-width:800px){
  body.page-home .site-header,
  body.page-home .nav-bar{height:76px}
  body.page-home .brand-logo{width:45px;height:45px}
  body.page-home .main-nav.open{top:76px}
  body.page-home .main-nav{font-size:14px}
  body.page-home .section-title-row h2,
  body.page-home .procedure-grid > div > h2{font-size:27px}
  body.page-home .procedure-grid{grid-template-columns:1fr;gap:32px}
  body.page-home .partner-card{
    flex-basis:calc((100% - 24px)/2) !important;
    min-height:215px !important;
    height:215px;
  }
  body.page-home .partner-logo{
    width:115px !important;
    height:115px !important;
    flex-basis:115px !important;
  }
  body.page-home .partner-card span:last-child{font-size:16px !important}
}

@media(max-width:620px){
  body.page-home .section{padding:28px 0}
  body.page-home .section-title-row h2,
  body.page-home .procedure-grid > div > h2{font-size:24px}
  body.page-home .section-kicker{font-size:11px}
  body.page-home .partner-card{
    flex-basis:calc((100% - 14px)/2) !important;
    min-height:190px !important;
    height:190px;
    padding:10px 7px 15px !important;
    gap:10px !important;
  }
  body.page-home .partner-logo{
    width:95px !important;
    height:95px !important;
    flex-basis:95px !important;
  }
  body.page-home .partner-card span:last-child{font-size:14px !important}
  body.page-home .steps{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }
  body.page-home .step{min-height:170px}
  body.page-home .step-icon{
    width:76px;height:76px;
  }
  body.page-home .step-icon svg{
    width:48px;height:48px;
  }
  body.page-home .step b{font-size:15px}
  body.page-home .step small{font-size:12px}
  body.page-home .step-number{
    width:34px;height:34px;font-size:15px;
  }
  body.page-home .faq > div{font-size:14px}
  body.page-home .faq p{font-size:12px}
}


/* ============================================================
   PROSEDUR PENERBITAN — diperkecil 2x dari revisi sebelumnya
   ============================================================ */
body.page-home .procedure-grid > div > h2{
  font-size:24px;
  margin-top:4px;
}

body.page-home .steps{
  gap:10px 12px;
  margin-top:14px;
}

body.page-home .step{
  min-height:148px;
  padding:8px 8px 12px;
  border-radius:8px;
}

body.page-home .step-number{
  top:7px;
  left:7px;
  width:30px;
  height:30px;
  font-size:14px;
}

body.page-home .step-icon{
  width:58px;
  height:58px;
  margin:0 auto 7px;
}

body.page-home .step-icon svg{
  width:36px;
  height:36px;
  stroke-width:3;
}

body.page-home .step b{
  font-size:14px;
  line-height:1.2;
}

body.page-home .step small{
  font-size:11px;
  line-height:1.3;
  margin-top:3px;
}

@media(max-width:800px){
  body.page-home .procedure-grid > div > h2{
    font-size:22px;
  }
  body.page-home .step{
    min-height:140px;
  }
  body.page-home .step-icon{
    width:54px;
    height:54px;
  }
  body.page-home .step-icon svg{
    width:34px;
    height:34px;
  }
}

@media(max-width:620px){
  body.page-home .step{
    min-height:135px;
  }
  body.page-home .step-icon{
    width:50px;
    height:50px;
  }
  body.page-home .step-icon svg{
    width:31px;
    height:31px;
  }
  body.page-home .step b{
    font-size:13px;
  }
  body.page-home .step small{
    font-size:10px;
  }
}


/* ============================================================
   HEADER GLOBAL — ukuran menu sama di semua halaman
   Mengikuti ukuran menu pada Beranda
   ============================================================ */
.main-nav{
  gap:38px;
  font-size:16px;
}

.main-nav a{
  font-size:16px;
  font-weight:700;
}

.nav-contact{
  font-size:16px !important;
  font-weight:700 !important;
}

@media(max-width:1050px){
  .main-nav{
    gap:20px;
    font-size:14px;
  }
  .main-nav a{
    font-size:14px;
  }
  .nav-contact{
    font-size:14px !important;
  }
}

@media(max-width:800px){
  .main-nav{
    font-size:14px;
  }
  .main-nav a{
    font-size:14px;
  }
  .nav-contact{
    font-size:14px !important;
  }
}


/* ============================================================
   HEADER GLOBAL — logo + nama Alifba mengikuti ukuran Beranda
   ============================================================ */
.site-header,
.nav-bar{
  min-height:86px;
  height:86px;
}

.brand{
  gap:12px;
}

.brand-logo{
  width:52px !important;
  height:52px !important;
  flex:0 0 52px !important;
}

.brand-word b{
  font-size:23px !important;
  line-height:22px !important;
}

.brand-word small{
  font-size:12px !important;
  letter-spacing:1.5px;
}

@media(max-width:800px){
  .site-header,
  .nav-bar{
    min-height:76px;
    height:76px;
  }

  .brand-logo{
    width:45px !important;
    height:45px !important;
    flex-basis:45px !important;
  }

  .brand-word b{
    font-size:20px !important;
    line-height:20px !important;
  }

  .brand-word small{
    font-size:11px !important;
  }
}

@media(max-width:520px){
  .brand-logo{
    width:42px !important;
    height:42px !important;
    flex-basis:42px !important;
  }

  .brand-word b{
    font-size:18px !important;
  }
}


/* ============================================================
   HERO BATIK — motif dibuat merata di seluruh area header/hero
   ============================================================ */
.hero:before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  width:auto !important;
  height:auto !important;
  left:0 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  background-image:url('../img/batik-ornament.svg') !important;
  background-repeat:repeat !important;
  background-size:360px 360px !important;
  background-position:center center !important;
  opacity:.20 !important;
  transform:none !important;
  z-index:0 !important;
  pointer-events:none !important;
}

.hero:after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  width:auto !important;
  height:auto !important;
  left:0 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  background:
    radial-gradient(circle at 78% 45%,rgba(56,137,231,.14),transparent 38%),
    linear-gradient(180deg,rgba(255,255,255,.018),transparent 55%) !important;
  opacity:1 !important;
  transform:none !important;
  z-index:1 !important;
  pointer-events:none !important;
}

.hero-inner{
  position:relative !important;
  z-index:2 !important;
}

@media(max-width:800px){
  .hero:before{
    background-size:300px 300px !important;
    opacity:.17 !important;
  }
}

/* =========================================================
   FINAL FIX — LOGO MITRA
   Jangan menggeser logo secara vertikal.
   ========================================================= */

body.page-home .partner-logo {
  width: 150px !important;
  height: 150px !important;
  flex: 0 0 150px !important;
  margin: 0 auto !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.page-home .partner-logo img {
  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;
  padding: 10px !important;

  display: block !important;

  object-fit: contain !important;
  object-position: center center !important;

  transform: none !important;

  /* Membuat area putih pada gambar menyatu
     dengan background lingkaran */
  mix-blend-mode: multiply;
}