/* Rankauto Home 2.0 / Automotive Signature — isolated homepage overrides */
body.rankauto-home{--home-ink:#172234;--home-muted:#697589;--home-red:#e92d47;--home-line:#e5e9ef;background:#f5f7fa}
.rankauto-home .site-header{z-index:200;box-shadow:0 8px 26px rgba(9,19,34,.08)}
.rankauto-home .home-hero{position:relative;isolation:isolate;padding:96px 0 100px;background:#081323;min-height:650px;display:flex;align-items:center}
.rankauto-home .home-hero-backdrop{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#081323 0%,rgba(8,19,35,.94) 36%,rgba(8,19,35,.45) 100%),url('/hero-6.webp') center 45%/cover no-repeat;opacity:.68}
.rankauto-home .home-hero-grid{grid-template-columns:1.03fr .97fr;gap:35px}
.rankauto-home .home-hero-copy{padding:30px 0}
.rankauto-home .home-eyebrow{color:#cbd6e6;font-size:11px;letter-spacing:.21em}
.rankauto-home .home-hero h1{color:#fff;font-size:clamp(49px,5.8vw,86px);letter-spacing:-.068em;line-height:1.02;max-width:730px;text-wrap:balance}
.rankauto-home .home-hero h1 span{color:#f15b6b}
.rankauto-home .home-hero-copy>p{color:#c2cddd;max-width:580px;font-size:17px;line-height:1.8}
.rankauto-home .home-hero-trust{color:#e1e8f0;gap:12px}
.rankauto-home .home-hero-trust span{border:1px solid rgba(255,255,255,.19);background:rgba(255,255,255,.06);padding:9px 12px;border-radius:30px}
.rankauto-home .home-hero .home-text-link{color:#fff}
.rankauto-home .home-hero-art{height:465px;border:1px solid rgba(255,255,255,.18);border-radius:23px;background:linear-gradient(0deg,rgba(3,12,24,.8),transparent 50%),url('/hero-6.webp') center/cover no-repeat;box-shadow:0 35px 90px rgba(0,0,0,.35)}
.rankauto-home .home-art-road{display:none}
.rankauto-home .home-art-label{top:30px;left:30px;font-size:11px;text-shadow:0 2px 8px #000}
.rankauto-home .home-art-label strong{font-size:22px}
.rankauto-home .home-art-badge{background:rgba(8,19,35,.86);border:1px solid rgba(255,255,255,.23);color:white;backdrop-filter:blur(10px);bottom:20px;right:20px}
.rankauto-home .home-quick{background:#fff}
.rankauto-home .home-section{padding:100px 0}
.rankauto-home .home-categories{background:#f5f7fa}
.rankauto-home .home-section-heading h2,.rankauto-home .home-benefits h2,.rankauto-home .home-finance h2,.rankauto-home .home-contact-strip h2{font-size:clamp(35px,4.2vw,58px);letter-spacing:-.055em}
.rankauto-home .home-category-grid{gap:19px}
.rankauto-home .home-category-card{min-height:310px;border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:29px;color:white;box-shadow:0 15px 36px rgba(15,25,45,.12);background-color:#122036;background-size:cover;background-position:center;transition:transform .25s,box-shadow .25s}
.rankauto-home .home-category-card:nth-child(4),.rankauto-home .home-category-card:nth-child(5){min-height:280px}
.rankauto-home .home-category-card:before{content:'';position:absolute;inset:0;top:0;right:0;width:auto;height:auto;border-radius:0;background:linear-gradient(0deg,rgba(3,10,22,.95) 0%,rgba(3,10,22,.12) 75%);opacity:1}
.rankauto-home .home-category-card--personal{background-image:url('/kredyt-6.webp')}
.rankauto-home .home-category-card--van{background-image:url('/wynajem-6.webp')}
.rankauto-home .home-category-card--premium{background-image:url('/leasing-6.webp')}
.rankauto-home .home-category-card--electric{background-image:linear-gradient(125deg,rgba(26,27,76,.28),rgba(34,12,52,.16)),url('/kredyt-6.webp')}
.rankauto-home .home-category-card--china{background-image:linear-gradient(125deg,rgba(65,14,18,.25),rgba(23,19,32,.25)),url('/hero-6.webp')}
.rankauto-home .home-category-number,.rankauto-home .home-category-symbol{color:rgba(255,255,255,.84)}
.rankauto-home .home-category-card h3{color:#fff;font-size:clamp(21px,2vw,29px);text-shadow:0 1px 8px rgba(0,0,0,.2)}
.rankauto-home .home-category-card p{color:#e2e7f0}
.rankauto-home .home-category-link{color:#fff;font-weight:800}
.rankauto-home .home-category-card:hover{transform:translateY(-7px);box-shadow:0 24px 55px rgba(15,25,45,.2)}
.rankauto-home .home-visual-note{font-size:11px;color:#7b8795;text-align:right;padding:0 0 10px}
.rankauto-home .home-latest{background:#fff}
.rankauto-home .home-benefits{background:#0b1829}
.rankauto-home .home-benefits h2,.rankauto-home .home-benefits h2 span{color:#fff}
.rankauto-home .home-benefits p{color:#c0ccda}
.rankauto-home .home-benefits-list>div{border-color:rgba(255,255,255,.17)}
.rankauto-home .home-benefits-list h3{color:#fff}
.rankauto-home .home-benefits-list p{color:#bdc9d8}
.rankauto-home .home-finance{background:#eef2f6}
.rankauto-home .home-finance-panel{background:#0b192b;border-radius:25px;box-shadow:0 28px 70px rgba(9,23,42,.18);overflow:hidden}
.rankauto-home .home-finance-panel h2{color:white}
.rankauto-home .home-finance-panel p{color:#d0d9e5}
.rankauto-home .home-finance-visual{background:linear-gradient(0deg,rgba(5,12,22,.82),rgba(5,12,22,.06)),url('/hero-6.webp') center/cover no-repeat;border-radius:18px;color:#fff}
.rankauto-home .home-finance-visual strong{color:#ff5169}
.rankauto-home .home-finance .home-text-link{color:#fff}
.rankauto-home .home-contact-strip{background:#fff}
body.rankauto-home.theme-dark{background:#091422;--home-ink:#f0f4fa;--home-muted:#b5c1d1;--home-line:#24344a}
body.rankauto-home.theme-dark .home-quick,body.rankauto-home.theme-dark .home-categories,body.rankauto-home.theme-dark .home-latest,body.rankauto-home.theme-dark .home-contact-strip{background:#0d1b2d}
body.rankauto-home.theme-dark .home-quick strong,body.rankauto-home.theme-dark .home-section-heading h2,body.rankauto-home.theme-dark .home-contact-strip h2{color:#f2f6fb}
body.rankauto-home.theme-dark .home-quick span,body.rankauto-home.theme-dark .home-section-heading>p,body.rankauto-home.theme-dark .home-contact-strip p{color:#b6c3d3}
body.rankauto-home.theme-dark .home-finance{background:#111f31}
body.rankauto-home.theme-dark .home-visual-note{color:#acb8c7}
@media(max-width:900px){.rankauto-home .home-hero{padding:45px 0 65px}.rankauto-home .home-hero-grid{grid-template-columns:1fr}.rankauto-home .home-hero-art{height:340px}.rankauto-home .home-hero-backdrop{opacity:.5}.rankauto-home .home-section{padding:70px 0}}
@media(max-width:650px){.rankauto-home .home-hero{padding:24px 0 50px}.rankauto-home .home-hero h1{font-size:clamp(42px,11vw,60px)}.rankauto-home .home-hero-copy>p{font-size:15px}.rankauto-home .home-hero-art{height:260px}.rankauto-home .home-category-grid{display:grid;grid-template-columns:1fr}.rankauto-home .home-category-card,.rankauto-home .home-category-card:nth-child(4),.rankauto-home .home-category-card:nth-child(5){grid-column:1;min-height:265px}.rankauto-home .home-section{padding:60px 0}.rankauto-home .home-art-label strong{font-size:18px}.rankauto-home .home-art-badge{font-size:8px}}
@media(prefers-reduced-motion:reduce){.rankauto-home .home-category-card{transition:none}}


/* Home 2.1: readability, cleaner hero, finance and responsive polish */
.rankauto-home .home-contact-strip{background:#fff;color:#172234}
.rankauto-home .home-contact-strip h2{color:#172234!important;opacity:1!important;visibility:visible!important}
.rankauto-home .home-contact-strip p{color:#5d6b7f!important;opacity:1!important}
.rankauto-home .home-contact-actions>a:not(.btn){color:#172234!important;font-weight:750}
.rankauto-home .home-benefits p,.rankauto-home .home-benefits-list p{color:#d3deea!important}
.rankauto-home .home-finance-visual{background:radial-gradient(circle at 85% 30%,rgba(239,77,84,.24),transparent 45%),linear-gradient(140deg,#182c46,#0a1424 72%);border:1px solid rgba(255,255,255,.22);display:flex;flex-direction:column;justify-content:space-between;padding:32px;min-height:290px;box-shadow:inset 0 0 45px rgba(255,255,255,.025)}
.rankauto-home .home-finance-visual .home-finance-visual-top{font-size:11px;letter-spacing:.19em;color:#bdcde1;font-weight:800}
.rankauto-home .home-finance-visual .home-finance-visual-title{font-size:clamp(30px,3vw,46px);line-height:1.12;font-weight:850;letter-spacing:-.055em;color:#fff}
.rankauto-home .home-finance-visual .home-finance-plus{color:#fa6473}
.rankauto-home .home-finance-visual .home-finance-visual-bottom{font-size:14px;color:#d6e1ee;border-top:1px solid rgba(255,255,255,.2);padding-top:18px;display:flex;justify-content:space-between;gap:12px}
.rankauto-home .home-finance-visual .home-finance-visual-bottom span{color:#ff6677;font-size:20px}
.rankauto-home .home-hero-art{background-position:center 56%}
.rankauto-home .home-hero-backdrop{opacity:.73}
.rankauto-home .home-category-card--personal{background-position:52% center}
.rankauto-home .home-category-card--van{background-position:55% center}
.rankauto-home .home-category-card--premium{background-position:57% center}
.rankauto-home .home-category-card--electric{background-position:62% center}
.rankauto-home .home-category-card--china{background-position:63% center}
.rankauto-home .home-category-card:focus-visible{outline:3px solid #ff9d37;outline-offset:4px}
body.rankauto-home.theme-dark .home-contact-strip{background:#0d1b2d;color:#f2f6fb}
body.rankauto-home.theme-dark .home-contact-strip h2{color:#f2f6fb!important}
body.rankauto-home.theme-dark .home-contact-strip p{color:#b6c3d3!important}
body.rankauto-home.theme-dark .home-contact-actions>a:not(.btn){color:#f2f6fb!important}
@media(max-width:900px){
 .rankauto-home .home-hero{min-height:0;padding:42px 0 58px}
 .rankauto-home .home-hero-copy{padding:0}
 .rankauto-home .home-hero-art{height:265px}
 .rankauto-home .home-hero h1{max-width:700px}
}
@media(max-width:650px){
 .rankauto-home .site-header .logo img{max-width:min(57vw,235px);height:auto}
 .rankauto-home .home-hero{padding:42px 0 42px}
 .rankauto-home .home-hero-grid{gap:18px}
 .rankauto-home .home-hero h1{font-size:clamp(39px,10vw,52px);line-height:1.04;letter-spacing:-.058em}
 .rankauto-home .home-hero-copy>p{line-height:1.6;font-size:15px}
 .rankauto-home .home-hero-trust{gap:7px}
 .rankauto-home .home-hero-trust span{font-size:10px;padding:7px 9px}
 .rankauto-home .home-hero-art{height:180px;border-radius:16px;background-position:center 55%}
 .rankauto-home .home-art-label{top:16px;left:16px;font-size:9px}
 .rankauto-home .home-art-label strong{font-size:16px}
 .rankauto-home .home-art-badge{bottom:10px;right:10px;left:10px;padding:8px;font-size:8px;text-align:center}
 .rankauto-home .home-category-card,.rankauto-home .home-category-card:nth-child(4),.rankauto-home .home-category-card:nth-child(5){min-height:230px}
 .rankauto-home .home-category-card{padding:23px}
 .rankauto-home .home-section{padding:52px 0}
 .rankauto-home .home-finance-visual{min-height:210px;padding:22px}
 .rankauto-home .home-finance-visual .home-finance-visual-title{font-size:34px}
 .rankauto-home .home-contact-strip h2{font-size:clamp(30px,8vw,44px)}
}
