/* Prodayavto consolidated styles (moved out of inline <style> blocks) */

/* --- fonts (from header.php) --- */
    @font-face{font-family:'Raleway';src:url('../fonts/Raleway-Medium.woff') format('woff');font-weight:500;font-style:normal;font-display:swap}

/* --- service pages (template-service.php) --- */
.page-section{padding:60px 0 70px;}
.page-section .page-title{font-size:40px;font-weight:700;color:#352E5F;margin-bottom:22px;line-height:1.2;}
.service-hero{float:right;width:48%;max-width:580px;margin:6px 0 18px 36px;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(53,46,95,.12);}
.service-hero img{display:block;width:100%;height:auto;max-height:400px;object-fit:cover;}
.page-section .page-body{font-size:17px;line-height:1.7;color:#333;}
.page-section .page-body p{margin:0 0 16px;}
.page-section .page-body h2{font-size:26px;color:#352E5F;margin:34px 0 14px;line-height:1.3;}
.page-section .page-body h3{font-size:20px;color:#352E5F;margin:26px 0 10px;}
.page-section .page-body ul{margin:0 0 18px;padding-left:22px;}
.page-section .page-body li{margin:0 0 8px;}
.page-section .page-body li::marker{color:#FF792E;}
.page-section .page-body a{color:#FF792E;}
.page-section .page-body a:hover{color:#ff8f4f;}
.service-cta{background:#F6F5FB;padding:56px 0 64px;}
.service-cta .container{max-width:820px;margin:0 auto;text-align:center;background:#fff;border-radius:24px;padding:46px 44px;box-shadow:0 16px 44px rgba(53,46,95,.10);box-sizing:border-box;}
.service-cta h2{color:#352E5F;font-size:30px;margin:0 0 12px;line-height:1.25;}
.service-cta .cta-sub{color:#5a5a6a;font-size:17px;margin:0 0 28px;}
.service-cta form{max-width:690px;margin:0 auto;display:flex;flex-wrap:wrap;gap:14px;}
.service-cta form label{flex:1 1 180px;margin:0;}
.service-cta form .label-submit{flex:1 1 100%;}
.service-cta input{width:100%;box-sizing:border-box;padding:15px 18px;border:1px solid #e2e0ee;border-radius:10px;font-size:15px;background:#fff;color:#333;}
.service-cta input[type="text"],.service-cta input[type="tel"]{font-size:15px;line-height:normal;}
.service-cta input::placeholder{color:#8a8a97;}
.service-cta .btn{width:100%;padding:16px;border:none;border-radius:10px;background:#FF792E;color:#fff;font-size:17px;font-weight:500;cursor:pointer;transition:.2s;}
.service-cta .btn:hover{background:#ff8f4f;}
.service-cta .wpcf7-not-valid-tip{color:#d63a1e;font-size:13px;text-align:left;}
.service-cta .wpcf7 form .wpcf7-response-output{color:#352E5F;border-color:#e2e0ee;}
@media(max-width:768px){.page-section{padding:36px 0 50px;}.page-section .page-title{font-size:27px;}.service-cta h2{font-size:23px;}.service-cta .container{padding:32px 20px;border-radius:18px;}}

/* --- single post (single.php) --- */
.post-single{padding:50px 0 20px;}
.post-single .container{}
.post-single .back-link{display:inline-block;color:#FF792E;text-decoration:none;font-weight:600;margin-bottom:16px;}
.post-single .back-link:hover{color:#ff8f4f;}
.post-single .post-title{color:#352E5F;font-size:36px;font-weight:700;line-height:1.2;margin:0 0 12px;}
.post-single .post-meta{color:#9a97ad;font-size:14px;margin-bottom:22px;}
.post-thumb{float:right;width:48%;max-width:580px;margin:6px 0 18px 36px;border-radius:18px;overflow:hidden;}
.post-thumb img{display:block;width:100%;height:auto;max-height:400px;object-fit:cover;}
.post-single .container::after,.page-section .container::after{content:"";display:block;clear:both;}
@media(max-width:768px){.post-thumb,.service-hero{float:none !important;width:100% !important;max-width:100% !important;margin:0 0 22px !important;}}
.post-thumb-ph{height:340px;border-radius:18px;margin-bottom:28px;background:linear-gradient(135deg,#352E5F,#4a4080);display:flex;align-items:center;justify-content:center;}
.post-thumb-ph img{width:220px;height:auto;opacity:.92;}
.post-body{font-size:17px;line-height:1.75;color:#333;}
.post-body a{color:#FF792E;}
.post-body a:hover{color:#ff8f4f;}
.post-body p{margin:0 0 16px;}
.post-body h2{font-size:25px;color:#352E5F;margin:32px 0 12px;line-height:1.3;}
.post-body h3{font-size:20px;color:#352E5F;margin:24px 0 10px;}
.post-body ul{margin:0 0 18px;padding-left:22px;} .post-body li{margin:0 0 8px;} .post-body li::marker{color:#FF792E;}
@media(max-width:768px){.post-single .post-title{font-size:26px;}.post-thumb-ph{height:200px;}}

/* --- blog archive (template-blog.php) --- */
.blog-archive{padding:56px 0 80px;}
.blog-archive .page-title{color:#352E5F;font-size:40px;font-weight:700;margin:0 0 32px;line-height:1.2;}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.blog-card{display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 26px rgba(53,46,95,.08);text-decoration:none;transition:transform .2s,box-shadow .2s;}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(53,46,95,.16);}
.blog-card-img{aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#352E5F,#4a4080);display:flex;align-items:center;justify-content:center;}
.blog-card-img img{width:100%;height:100%;object-fit:cover;}
.blog-card-img .ph{width:150px;height:auto;opacity:.9;}
.blog-card-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1;}
.blog-card-body h2{color:#352E5F;font-size:19px;line-height:1.3;margin:0 0 10px;}
.blog-card-body p{color:#5a5a6a;font-size:15px;line-height:1.55;margin:0 0 16px;flex:1;}
.blog-card-body .more{color:#FF792E;font-weight:700;font-size:15px;}
@media(max-width:900px){.blog-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.blog-grid{grid-template-columns:1fr;}.blog-archive .page-title{font-size:28px;}}

/* --- contacts page (template-contacts.php) --- */
.contacts-page{padding:60px 0 80px;background:#F6F5FB;}
.contacts-page .page-title{color:#352E5F;font-size:40px;font-weight:700;margin:0 0 10px;line-height:1.2;}
.contacts-page .contacts-lead{color:#5a5a6a;font-size:18px;max-width:660px;margin:0 0 38px;}
.contacts-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;}
.contact-card{display:flex;gap:16px;align-items:center;background:#fff;border-radius:16px;padding:18px 22px;box-shadow:0 8px 26px rgba(53,46,95,.08);margin-bottom:16px;}
.contact-card .ic{width:52px;height:52px;flex:none;border-radius:50%;background:#FFF1E9;display:flex;align-items:center;justify-content:center;}
.contact-card .ic img,.contact-card .ic svg{width:24px;height:24px;}
.contact-card .lbl{color:#9a97ad;font-size:12px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px;}
.contact-card .val,.contact-card a.val{color:#352E5F;font-size:20px;font-weight:700;text-decoration:none;line-height:1.25;}
.contact-card a.val:hover{color:#FF792E;}
.contact-card.small .val{font-size:16px;font-weight:600;}
.contacts-msgr{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;}
.contacts-msgr a{display:flex;align-items:center;gap:9px;padding:12px 20px;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(53,46,95,.08);color:#352E5F;font-weight:600;text-decoration:none;transition:.2s;}
.contacts-msgr a:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(53,46,95,.14);}
.contacts-msgr a img{width:26px;height:26px;}
.contacts-form-col{background:#fff;border-radius:20px;padding:34px 34px 38px;box-shadow:0 16px 44px rgba(53,46,95,.10);}
.contacts-form-col h2{color:#352E5F;font-size:25px;margin:0 0 8px;}
.contacts-form-col .sub{color:#5a5a6a;font-size:16px;margin:0 0 22px;}
.contacts-form-col form{display:flex;flex-direction:column;gap:14px;}
.contacts-form-col form label{margin:0;}
.contacts-form-col input{width:100%;box-sizing:border-box;padding:15px 18px;border:1px solid #e2e0ee;border-radius:10px;font-size:15px;background:#fff;color:#333;}
.contacts-form-col input::placeholder{color:#8a8a97;}
.contacts-form-col .btn{width:100%;padding:16px;border:none;border-radius:10px;background:#FF792E;color:#fff;font-size:17px;font-weight:700;cursor:pointer;transition:.2s;}
.contacts-form-col .btn:hover{background:#ff8f4f;}
.contacts-form-col .wpcf7-not-valid-tip{color:#d63a1e;font-size:13px;}
.contacts-form-col .wpcf7 form .wpcf7-response-output{color:#352E5F;border-color:#e2e0ee;margin:8px 0 0;}
.contacts-map{margin-top:34px;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px rgba(53,46,95,.12);}
.contacts-map iframe{display:block;width:100%;height:400px;border:0;}
@media(max-width:900px){.contacts-grid{grid-template-columns:1fr;}.contacts-page .page-title{font-size:29px;}}

/* --- homepage & global (was Customizer Additional CSS, post 550) --- */
@media(min-width:1351px){header .row .header-left{display:contents;}header .row .header-center{display:contents;}header .wrap-header-messangers{margin:0 !important;}}
header .header-logo{width:177px !important;height:72px !important;}
@media(max-width:768px){header .header-logo{width:140px !important;height:57px !important;}}
footer .footer-logo-wrap img{width:185px !important;height:auto !important;}
/* header messengers: more breathing room */
.wrap-header-messangers p{margin-bottom:12px !important;}
.header-messangers{gap:16px !important;}
.header-messangers a{margin:0 !important;}
.form-request form label{display:block;margin-bottom:16px;}
.form-request form label:last-of-type{margin-bottom:0;}
form input[type="text"].car{background-image:url(/wp-content/themes/Prodayavto/img/svg/input-car.svg);background-repeat:no-repeat;background-position-x:20px;background-position-y:50%;}
header .wrap-header-menu ul li:hover a::after{opacity:0 !important;transform:translateY(5px) !important;}
header .wrap-header-menu ul li a:hover{color:#FF792E !important;}
.wrap-header-menu .pa-has-sub{position:relative;}
.wrap-header-menu .pa-has-sub:hover > a{color:#FF792E !important;}
.wrap-header-menu .pa-has-sub::before{content:"";position:absolute;left:0;top:100%;width:290px;height:24px;background:transparent;}
.wrap-header-menu .pa-sub{display:block !important;position:absolute;top:calc(100% + 22px);left:0;background:#fff;box-shadow:0 12px 34px rgba(20,38,63,.14);border-radius:12px;padding:10px 0;min-width:290px;width:max-content;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;z-index:200;list-style:none;}
.wrap-header-menu .pa-has-sub:hover .pa-sub{opacity:1;visibility:visible;transform:translateY(0);}
.wrap-header-menu .pa-sub li{display:block !important;margin:0;width:100%;border:0 !important;}
.wrap-header-menu .pa-sub li a{display:block;padding:9px 22px;white-space:nowrap;font-size:15px;color:#352E5F;border:0 !important;box-shadow:none !important;}
.wrap-header-menu .pa-sub li a::before,.wrap-header-menu .pa-sub li a::after{content:none !important;display:none !important;background:none !important;border:0 !important;}
.wrap-header-menu .pa-sub li a:hover{background:#f6f6f6;color:#FF792E !important;}
.wrap-header-menu .pa-caret{display:inline-block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:6px;vertical-align:middle;}
@media(max-width:1024px){.header-right-mob .pa-sub{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;padding:2px 0 6px 16px;min-width:0;width:auto;}.header-right-mob .pa-caret{display:none;}.wrap-header-menu .pa-has-sub::before{display:none;}}

/* ==== auto-buyout homepage ==== */
/* step icons */
.stages .stage .wrap-img{display:flex;align-items:center;justify-content:center;}
.stages .stage .wrap-img img{width:64px;height:64px;object-fit:contain;}
/* advantages: real car photo replaces web-dev illustration */
@media(min-width:1025px){
  section.development .full-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:40px 60px;max-width:1360px;margin:0 auto;padding:0 30px;box-sizing:border-box;}
  section.development .development-bg{position:static !important;transform:none !important;flex:1 1 500px;width:auto !important;max-width:660px !important;height:auto !important;border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.40);}
  section.development .container{flex:1 1 460px;width:auto;max-width:620px;}
  section.development .wrap-development-info{margin:0 !important;max-width:100% !important;}
}
@media(max-width:1024px){
  section.development .development-bg{position:static !important;transform:none !important;width:100% !important;max-width:600px !important;height:auto !important;margin:0 auto 30px !important;display:block;border-radius:16px;}
}
/* bought-cars gallery — uniform card size (no height jump between slides) */
.results .swiper-slide.gallery-slide{height:auto;}
.results .gallery-card{position:relative;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.10);}
.results .gallery-card img{display:block;width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;border-radius:16px;}
/* form section decorative car illustration (replaces old corporate cube) */
section.form-request{position:relative;}
section.form-request .form-request-bg{position:absolute;top:50%;right:4%;left:auto;bottom:auto;transform:translateY(-50%);width:640px;max-width:640px;height:auto;background:#fff;padding:18px;border-radius:20px;box-shadow:0 18px 44px rgba(53,46,95,.16);box-sizing:border-box;}
@media(max-width:1024px){section.form-request .form-request-bg{display:none;}}
.results .gallery-name{position:absolute;left:14px;bottom:14px;background:rgba(20,20,20,.72);color:#fff;padding:6px 14px;border-radius:8px;font-size:15px;font-weight:600;letter-spacing:.2px;}
/* SEO text block before footer */
.seo-text{background:#fff;padding:40px 0 70px;}
.seo-text .container{margin:0 auto;padding:0 20px;box-sizing:border-box;}
.seo-text h2{color:#352E5F;font-size:26px;line-height:34px;margin:0 0 18px;}
.seo-text h3{color:#352E5F;font-size:19px;line-height:26px;margin:26px 0 10px;}
.seo-text p{color:#5a5a6a;font-size:15px;line-height:26px;margin:0 0 14px;}
.seo-text p:last-child{margin-bottom:0;}
.seo-text ul{margin:0 0 14px;padding-left:22px;}
.seo-text li{color:#5a5a6a;font-size:15px;line-height:25px;margin:0 0 7px;}
.seo-text li::marker{color:#FF792E;}
@media(max-width:767px){.seo-text{padding:20px 0 40px;}.seo-text h2{font-size:22px;line-height:29px;}.seo-text h3{font-size:18px;}}
/* footer: group columns tighter (desktop) */
@media(min-width:1025px){footer .top .row{justify-content:space-around;align-items:flex-start;gap:20px;}footer .top .row .footer-logo-wrap{margin-right:0;}footer .top .row .footer-contacts{margin-right:0;}footer .top .row .footer-logo-wrap{padding-top:6px;}}
/* footer services column */
footer .top .footer-services{max-width:280px;}
footer .top .footer-services p{font-weight:700;font-size:24px;line-height:33px;color:#fff;margin:0 0 22px;}
footer .top .footer-services a{display:block;color:#fff;font-size:15px;line-height:21px;margin-bottom:11px;text-decoration:none;opacity:.85;transition:color .2s,opacity .2s,padding-left .2s;}
footer .top .footer-services a:last-child{margin-bottom:0;}
footer .top .footer-services a:hover{color:#FF792E !important;opacity:1;padding-left:4px;}
@media(max-width:1024px){footer .top .footer-services{max-width:none;margin:0 auto 30px;text-align:center;}}
footer .bottom .row .footer-credit{margin:0;color:#fff;font-size:14px;line-height:23px;}
footer .bottom .row .footer-credit a{color:#FF792E;font-weight:600;}
footer .bottom .row .footer-credit a:hover{color:#FFB07E;}
/* fixed header opaque on inner pages (avoid content bleed-through) */
body:not(.home) header{background:#fff;border-bottom:1px solid #f7f7f7;}
/* pawn-promo (autolombard) section */
.pawn-promo{background:#F6F5FB;padding:56px 0;}
.pawn-promo .pawn-inner{background:linear-gradient(120deg,#352E5F,#4a4080);border-radius:20px;padding:44px 48px;box-shadow:0 16px 40px rgba(53,46,95,.18);}
.pawn-promo h2{font-size:28px;margin:0 0 10px;color:#fff;line-height:1.25;}
.pawn-promo p{font-size:17px;color:#D8D5E6;margin:0 0 22px;max-width:680px;}
.pawn-promo .pawn-btn{display:inline-block;background:#FF792E;color:#fff;text-decoration:none;font-weight:700;padding:15px 32px;border-radius:12px;transition:background .2s;}
.pawn-promo .pawn-btn:hover{background:#ff8f4f;}
@media(max-width:768px){.pawn-promo .pawn-inner{padding:30px 24px;}.pawn-promo h2{font-size:22px;}.pawn-promo p{font-size:15px;}}

