/*
Theme Name: ТопКредити
Version: 0.6.5
Requires PHP: 8.0
Description: Теплий сервіс — структура з калькулятором і компактним каталогом.
*/
:root{--green:#165a46;--green-hover:#104735;--peach:#ffba8a;--bg:#f3eee6;--text:#242a27;--muted:#67716b;--border:#e4e3dc;--soft:#f7f9f7}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:18px}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input{font:inherit}a{color:var(--green);text-underline-offset:4px}a,button,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #b35c30;outline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{font-family:"Arial Rounded MT Bold",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#191f1b}.wrap{width:min(1200px,calc(100% - 48px));margin-inline:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:absolute;top:-70px;left:20px;z-index:20;background:white;padding:12px}.skip:focus{top:10px}.header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px;z-index:5}.brand{display:block;width:194px;flex-shrink:0;line-height:0}.brand img{width:100%;height:auto;display:block;mix-blend-mode:multiply}.desktop-nav{display:flex;gap:32px;align-items:center}.desktop-nav a{text-decoration:none;color:#303d34;font-size:14px}.search-link{display:grid;place-items:center;width:38px;height:38px;background:#fffaf3;border:1px solid #e5d8c9;border-radius:50%}.search-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.menu-toggle,.mobile-nav{display:none}.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr);gap:55px;align-items:center;background:#fff;border-radius:30px;padding:48px;box-shadow:0 8px 35px #5b493407}.hero-copy{min-width:0}.eyebrow{text-transform:uppercase;letter-spacing:1.3px;font-size:11px;font-weight:700;color:var(--green);margin:0 0 16px}.hero h1{font-size:58px;font-weight:850;letter-spacing:-2px;line-height:1.07;margin:0 0 24px}.lead{font-size:21px;line-height:1.6;color:#606b63;max-width:560px;margin:0}.benefits{display:flex;gap:12px;flex-wrap:wrap;list-style:none;padding:0;margin:30px 0 0}.benefits li{display:flex;gap:8px;align-items:center;background:#f2f8f3;border:1px solid #d5e9d9;color:#25533f;border-radius:22px;font-size:11px;font-weight:600;line-height:1.4;padding:8px 11px}.benefits br{display:none}.benefits li>span{width:21px;height:21px;display:grid;place-items:center;flex-shrink:0}.benefits svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}.benefits li:nth-child(2) svg,.benefits li:nth-child(3) svg{fill:currentColor;stroke:none}.calculator{background:white;border:1px solid #dce2dc;border-radius:24px;box-shadow:0 14px 35px #3c4d3f0a;padding:28px;min-width:0}.calc-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.calc-top label{text-transform:uppercase;letter-spacing:1px;font-size:11px;font-weight:700;color:#53675b}.calc-top>span{font-size:10px;line-height:1.4;background:#eef9f1;color:#146044;border:1px solid #b5dfc0;border-radius:20px;padding:4px 9px;white-space:nowrap;font-weight:700}#credit-amount-output{font-size:40px;font-weight:850;letter-spacing:-1.5px;color:#17211b;line-height:1.2;display:block;margin-top:17px}#credit-amount-output span{font-size:32px;color:var(--green)}#credit-amount{display:block;width:100%;height:6px;margin:22px 0 9px;appearance:none;-webkit-appearance:none;--range-fill:38.7755%;background:linear-gradient(to right,var(--green) 0 var(--range-fill),#dfe6df var(--range-fill) 100%);border:0;border-radius:8px;cursor:pointer}#credit-amount::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;background:var(--green);border:3px solid white;border-radius:50%;width:22px;height:22px;box-shadow:0 0 0 1px #dceadd,0 2px 8px #165a4630}#credit-amount::-moz-range-thumb{background:var(--green);border:3px solid white;border-radius:50%;width:18px;height:18px;box-shadow:0 2px 8px #165a4630}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:#82928a}.calc-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:20px}.calc-chips button{min-width:0;background:#f8faf8;border:1px solid #dfe6df;border-radius:9px;padding:7px 3px;color:#35483c;font-size:11px;font-weight:700;cursor:pointer}.calc-chips button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 9px #165a4625}.calc-info{border:1px solid #dfe6df;border-radius:11px;background:#f8faf8;padding:10px 12px;margin:18px 0;display:grid;gap:4px}.calc-info>div{display:flex;justify-content:space-between;gap:8px;font-size:11px}.calc-info dt{color:#62766a}.calc-info dd{margin:0;font-weight:700;text-align:right;white-space:nowrap}.button{display:flex;align-items:center;justify-content:center;gap:13px;background:var(--green);color:white;border:1px solid var(--green);border-radius:28px;min-height:48px;text-decoration:none;font-size:15px;font-weight:750;padding:10px 14px;line-height:1.3;cursor:pointer;white-space:nowrap}.button:hover{background:var(--green-hover);border-color:var(--green-hover)}.button>span:last-child:not(:first-child){font-size:23px;font-weight:500;line-height:1}.button:disabled{background:#e2e9e2;color:#68776b;border-color:#dce5dc;cursor:not-allowed}.calc-submit{box-shadow:0 5px 13px #165a4625;min-height:50px}.calc-trust,.calc-fine{text-align:center;color:#6e8275;font-size:10px;margin:14px 0 0}.calc-fine{font-size:9px;color:#8a9c90;margin-top:11px}.catalog{padding-top:38px;padding-bottom:30px}.section-heading{text-align:center;margin-bottom:22px}.section-heading .eyebrow{display:inline-block;font-size:10px;background:#e9f0e4;border-radius:20px;padding:4px 11px;margin-bottom:10px}.section-heading h2{font-size:29px;letter-spacing:-.8px;margin:0 0 8px;line-height:1.3}.section-heading>p:last-child{font-size:13px;color:#6c766d;margin:0 auto;max-width:760px}.view-tracker{display:flex;align-items:center;gap:22px;background:#fff;border:1px solid #e7e8e0;border-radius:16px;padding:15px 22px;margin-bottom:16px;box-shadow:0 4px 12px #5f493307}.view-tracker>span{font-size:13px;font-weight:600;white-space:nowrap}.view-tracker strong{color:var(--green)}.view-progress{display:flex;gap:6px;flex:1;max-width:340px}.view-progress i{display:block;height:6px;flex:1;background:#e3e8df;border-radius:8px}.view-progress i.complete{background:var(--green)}.view-tracker small{margin-left:auto;font-size:10px;color:#7c897e}.offers{display:grid;grid-template-columns:1fr;gap:16px}.offer{display:grid;grid-template-columns:250px minmax(0,1fr) 216px;gap:22px;align-items:center;min-height:126px;padding:23px 28px;background:white;border:1px solid #eae7df;border-radius:23px;box-shadow:0 5px 17px #5e4c3004;min-width:0}.offer-brand{display:flex;align-items:center;gap:13px;min-width:0}.offer-logo{display:block;max-width:135px;width:135px;height:44px;object-fit:contain;flex-shrink:1}.offer-badge{font-size:10px;line-height:1.3;color:#176349;background:#edfaf2;border:1px solid #b8e1c8;border-radius:18px;padding:5px 8px;white-space:nowrap;font-weight:700;order:2}.offer-badge:empty{display:none}.offer-brand h3{margin:0;font-size:19px}.terms{margin:0;padding:12px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f7f9f7;border:1px solid #dfe6df;border-radius:14px;align-items:center;min-height:70px;text-align:center}.terms>div{padding:0 9px;min-width:0}.terms>div+div{border-left:1px solid #dfe6df}.terms dt{text-transform:uppercase;letter-spacing:.7px;font-size:10px;line-height:1.2;color:#62766a;margin-bottom:6px}.terms dd{font-size:16px;font-weight:800;line-height:1.25;margin:0;color:#1d2620;white-space:nowrap}.terms .rate{color:#167049}.terms small{display:block;font-size:9px;font-weight:600;letter-spacing:0;margin-top:2px;line-height:1.1}.offer-action{min-width:0;display:grid;gap:8px;align-items:center}.offer-action .button{font-size:14px;min-height:47px;padding-inline:12px}.offer-legal{display:flex;align-items:center;justify-content:center;gap:10px;min-height:14px}.offer-legal a{color:#82968a;font-size:10px;text-decoration:none;white-space:nowrap}.offer-legal a+a:before{content:'•';padding-right:10px;color:#becbc0}.offer.opened .button{background:#eefaf2;border-color:#3ea978;color:#166044}.offer.opened .button>span:last-child:not(:first-child){display:none}.offer-action a:hover{filter:brightness(.96)}.empty{padding:35px;border:1px solid var(--border);border-radius:20px;background:white}.empty h3{margin-top:0}.repeat-section{margin-top:34px}.repeat-section>h2,.top-panel>h2{font-size:22px;margin:0 0 16px}.top-panel{padding:24px;background:#fff7e8;border:1px solid #e6dbca;border-radius:22px;margin-top:30px}.top-offers{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.top-offers .offer{grid-template-columns:1fr;padding:16px;gap:12px}.top-offers .offer-brand{justify-content:center;flex-wrap:wrap;gap:8px}.top-offers .offer-logo{width:110px;height:32px}.top-offers .offer-badge{font-size:9px}.top-offers .terms dd{font-size:13px}.top-offers .terms{min-height:62px}.top-offers .offer-action .button{min-height:41px;font-size:13px}.faq{display:grid;grid-template-columns:1fr 1.7fr;gap:70px;padding-block:25px 70px}.faq h2{font-size:31px;line-height:1.2;letter-spacing:-.6px;margin:0}.faq>div>p:not(.eyebrow){font-size:14px;color:var(--muted)}details{border-bottom:1px solid #dcded4}summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;cursor:pointer;font-weight:650;font-size:14px;padding:20px 0}summary::-webkit-details-marker{display:none}summary>span{font-size:24px;color:var(--green);font-weight:400}details[open] summary>span{transform:rotate(45deg)}details>p{font-size:14px;line-height:1.7;color:#46554a;margin:0 0 22px}.footer{background:#ece3d6;border-top:1px solid #e2d5c3;padding:30px 0}.footer nav{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:24px}.footer nav a,.pending-link{font-size:12px}.footer nav a{text-decoration:none}.pending-link{color:var(--muted)}.footer p{font-size:12px;color:#526157;max-width:970px}.footer .copyright{margin-top:22px}.article{padding:42px;max-width:880px;min-height:55vh;background:white;border-radius:25px;margin-bottom:50px}.article h1{font-size:44px;line-height:1.15;margin:28px 0 35px;letter-spacing:-1.4px}.prose h2{font-size:23px;margin:34px 0 14px;line-height:1.4}.prose p,.prose li{font-size:16px;line-height:1.8}.back{font-size:13px;text-decoration:none}.unavailable{padding:25px;background:#f7e9d8;border-radius:15px}.review-notes{background:#edf2f7;color:#354256;border-top:3px solid #60788e;margin-top:35px;padding:24px max(24px,calc((100vw - 1200px)/2));font-size:12px}.review-notes p{max-width:1000px;margin-bottom:0}.review-notes strong{text-transform:uppercase;font-size:11px;letter-spacing:1px}[hidden]{display:none!important}
@media(min-width:641px) and (max-width:1100px){.hero{padding:32px;gap:28px;grid-template-columns:1fr 1fr}.hero h1{font-size:46px}.lead{font-size:18px}.benefits{gap:8px;margin-top:22px}.benefits li{font-size:10px;padding:7px 9px}.calculator{padding:22px}.offer{grid-template-columns:170px minmax(0,1fr) 170px;gap:14px;padding:20px}.offer-brand{flex-wrap:wrap;justify-content:center;gap:7px}.offer-logo{width:115px;height:36px}.offer-badge{font-size:9px}.terms dd{font-size:13px}.terms dt{font-size:9px}.offer-action .button{font-size:12px}.offer-legal{gap:7px}.offer-legal a{font-size:8px}.offer-legal a+a:before{padding-right:7px}.calc-top{gap:6px}.calc-top label{font-size:10px}.calc-top>span{font-size:9px;padding:4px 7px}.calc-info{padding:9px}.calc-info>div{font-size:10px}.calc-chips button{font-size:10px}.calc-trust{font-size:9px}.calc-fine{font-size:8px}.top-offers .offer{display:grid;grid-template-columns:1fr;padding:12px;gap:10px}.top-offers .terms dd{font-size:11px}.top-offers .offer-action .button{font-size:12px}.view-tracker{gap:15px}.view-tracker small{font-size:9px}.desktop-nav{gap:22px}}
@media(max-width:640px){.wrap{width:calc(100% - 24px)}.header{height:59px;min-height:59px;padding:7px 13px;background:white;border:1px solid #ebe4d8;border-radius:30px;margin-top:12px;margin-bottom:14px;gap:10px}.brand{width:167px}.desktop-nav,.search-link{display:none}.menu-toggle{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;padding:7px;border:0;background:transparent;color:#172018;margin-right:-2px}.menu-toggle svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2}.mobile-nav:not([hidden]){display:flex;position:absolute;top:61px;right:0;left:0;flex-direction:column;gap:0;background:#fffaf2;border:1px solid #e1d7c9;border-radius:15px;box-shadow:0 10px 25px #55402715;padding:8px;z-index:10}.mobile-nav a{padding:12px;text-decoration:none;color:#172018}.hero{display:flex;flex-direction:column;gap:23px;padding:24px 15px 19px;border-radius:23px;align-items:stretch}.hero h1{font-size:34px;line-height:1.1;letter-spacing:-1px;margin-bottom:14px}.hero .eyebrow{font-size:9px;letter-spacing:.8px;margin-bottom:12px}.lead{font-size:14px;line-height:1.6;max-width:100%;margin:0}.benefits{gap:7px;margin-top:19px}.benefits li{font-size:9px;padding:6px 8px;gap:5px;line-height:1.3}.benefits li>span{width:17px;height:17px}.benefits svg{width:17px;height:17px}.calculator{padding:20px 17px;border-radius:20px;box-shadow:0 8px 20px #3c4d3f08}.calc-top label{font-size:10px}.calc-top>span{font-size:9px;padding:4px 7px}#credit-amount-output{font-size:35px;margin-top:17px}#credit-amount-output span{font-size:28px}#credit-amount{margin-top:20px}.range-labels{font-size:10px}.calc-chips{gap:6px;margin-top:18px}.calc-chips button{font-size:10px;padding:8px 2px;border-radius:8px}.calc-info{margin:17px 0;padding:10px}.calc-info>div{font-size:10px;gap:5px}.calc-submit{min-height:45px;font-size:14px}.calc-trust{font-size:9px;margin-top:13px}.calc-fine{font-size:8px;margin-top:10px}.catalog{padding-top:27px;padding-bottom:22px}.section-heading{margin-bottom:17px}.section-heading .eyebrow{font-size:9px;margin-bottom:8px;padding:4px 10px}.section-heading h2{font-size:22px;letter-spacing:-.6px;line-height:1.2}.section-heading>p:last-child{font-size:11px;line-height:1.6;max-width:340px}.view-tracker{display:grid;grid-template-columns:auto 1fr;gap:7px 12px;align-items:center;padding:11px 12px;border-radius:14px;margin-bottom:10px}.view-tracker>span{font-size:11px}.view-tracker small{font-size:8px;grid-column:1/-1;text-align:center;margin:0;line-height:1.4}.view-progress{max-width:none;gap:4px}.view-progress i{height:5px}.offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.offer{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-height:222px;padding:10px 9px;border-radius:17px;box-shadow:0 3px 12px #54452d06}.offer-brand{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;min-height:66px;flex-shrink:0}.offer-badge{order:0;font-size:8px;padding:3px 6px;min-height:18px;max-width:100%;text-overflow:ellipsis;overflow:hidden;line-height:1.25}.offer-logo{width:112px;max-width:100%;height:34px;flex-shrink:0}.offer-brand h3{font-size:16px;margin:0}.terms{grid-template-columns:1fr 1fr;grid-template-rows:auto auto;border-radius:9px;padding:8px 0 6px;min-height:64px;row-gap:7px;width:100%;flex-shrink:0}.terms>div{padding:0 3px;min-width:0}.terms>div:nth-child(2){border-left:1px solid #dfe6df}.terms>div:nth-child(3){grid-column:1/-1;border:0;border-top:1px solid #dfe6df;padding-top:5px;display:flex;align-items:baseline;justify-content:center;gap:4px}.terms dt{font-size:8px;letter-spacing:.5px;margin-bottom:4px;line-height:1.1}.terms dd{font-size:11px;line-height:1.15}.terms small{font-size:7px;line-height:1.1;margin-top:2px}.terms>div:nth-child(3) dt{margin:0;font-size:7px}.terms>div:nth-child(3) dd{font-size:9px}.offer-action{display:grid;gap:6px;margin-top:auto}.offer-action .button{font-size:11px;min-height:36px;padding:7px 6px;gap:6px;letter-spacing:-.2px}.offer-action .button>span:last-child:not(:first-child){font-size:18px}.offer-legal{gap:5px;min-height:11px;line-height:1.2}.offer-legal a{font-size:7px;letter-spacing:-.15px}.offer-legal a+a:before{padding-right:5px}.repeat-section{margin-top:27px}.repeat-section>h2,.top-panel>h2{font-size:19px;margin-bottom:14px;line-height:1.35}.top-panel{padding:14px 10px;margin-top:25px;border-radius:18px}.top-offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.top-offers .offer{display:flex;padding:9px 7px;gap:9px}.top-offers .offer-brand{gap:8px;flex-wrap:nowrap}.top-offers .offer-logo{width:105px;height:34px}.top-offers .offer-badge{font-size:8px}.top-offers .terms{min-height:64px}.top-offers .terms dd{font-size:10px}.top-offers .terms>div:last-child dd{font-size:9px}.top-offers .offer-action .button{min-height:36px;font-size:11px}.faq{grid-template-columns:1fr;gap:8px;padding-block:20px 45px}.faq h2{font-size:27px}.faq h2 br{display:none}.faq>div>p:not(.eyebrow){font-size:13px}.faq>div>p br{display:none}summary{font-size:14px;padding:18px 0}.footer{padding-block:25px}.footer nav{gap:12px 18px}.footer p{font-size:11px}.article{padding:25px 19px;margin-bottom:30px;border-radius:20px}.article h1{font-size:30px;letter-spacing:-1px}.prose h2{font-size:21px}.prose p,.prose li{font-size:15px}.review-notes{margin-top:30px;padding:20px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(max-width:640px){.terms dt{font-size:9px}.terms dd{font-size:12px}.offer-action .button,.top-offers .offer-action .button{font-size:12px}.offer-legal a{font-size:8px}.view-tracker small{font-size:9px}}
