/*
Theme Name: Motoszpilki
Theme URI: https://motoszpilki.pl
Author: JM Art
Description: Autorski motyw WordPress dla marki Motoszpilki. Motoryzacja po Twojemu.
Version: 1.0.3
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: motoszpilki
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root{--ink:#102234;--navy:#09233b;--deep:#061b2d;--blue:#137cc2;--cyan:#32c8e6;--teal:#119aa5;--paper:#fffdf8;--mist:#eaf6f4;--line:rgba(16,34,52,.13)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:16px}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden;word-wrap:normal!important}.screen-reader-text:focus{background:#fff;clip:auto!important;color:#102234;display:block;font-size:14px;height:auto;left:5px;line-height:normal;padding:15px 23px;text-decoration:none;top:5px;width:auto;z-index:100000}
.ms-header{height:86px;max-width:1280px;margin:auto;padding:0 34px;display:flex;align-items:center;gap:30px;background:var(--paper);position:relative}.ms-brand{display:flex;align-items:center;gap:10px;line-height:.84;letter-spacing:-1.2px;min-width:max-content}.ms-brand-mark{width:35px;height:35px;background:linear-gradient(135deg,#30cbdc,#1972c2);display:grid;place-items:center;border-radius:11px;color:#fff;font-family:'Playfair Display',serif;font-size:22px;box-shadow:0 6px 16px rgba(18,120,188,.25)}.ms-brand b{color:#102234;font-family:'Playfair Display',serif;font-size:23px}.ms-brand strong{color:#1584c7;font-family:'Playfair Display',serif;font-size:23px}.ms-brand small{margin-left:3px;padding:3px 4px;border-radius:4px;background:#d9f4f7;color:#1376aa;font-weight:700;font-size:10px;letter-spacing:0;vertical-align:top}.ms-nav{margin-left:auto}.ms-nav ul{display:flex;gap:28px;margin:0;padding:0;list-style:none}.ms-nav a{font-size:14px;font-weight:600;color:#355062}.ms-nav a:hover,.ms-nav .current-menu-item>a{color:#0787c6}.ms-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:15px 20px;border-radius:8px;background:linear-gradient(105deg,#15bce1,#156fe5);color:#fff;font-size:14px;font-weight:700;border:0;cursor:pointer;box-shadow:0 11px 25px rgba(0,115,199,.25)}.ms-button span{font-size:20px;line-height:0}.ms-button-small{padding:11px 15px;font-size:13px;gap:9px;box-shadow:none}.ms-mobile-menu{display:none}.ms-mobile-menu summary{list-style:none;cursor:pointer;width:44px;height:44px;border:1px solid #d4e6e7;border-radius:9px;display:grid;place-content:center;gap:5px;background:#fff}.ms-mobile-menu summary::-webkit-details-marker{display:none}.ms-mobile-menu summary span{display:block;width:20px;height:2px;background:#12344a;border-radius:2px}.ms-mobile-panel{display:none}.ms-mobile-menu[open] .ms-mobile-panel{display:block;position:absolute;z-index:20;right:0;top:56px;width:min(310px,calc(100vw - 30px));padding:20px;border-radius:12px;background:#fffdf8;box-shadow:0 20px 45px rgba(5,28,45,.2);border:1px solid #dbe9e8}.ms-mobile-panel ul{margin:0 0 14px;padding:0;list-style:none}.ms-mobile-panel li{border-bottom:1px solid #e4eceb}.ms-mobile-panel li a{display:block;padding:15px 4px;font-weight:700;color:#15374c}.ms-mobile-panel .ms-button{width:100%}
.ms-hero{position:relative;min-height:670px;overflow:hidden;background:var(--deep)}.ms-hero>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center}.ms-hero-content{position:relative;z-index:1;width:min(620px,calc(100% - 68px));margin-left:max(34px,calc((100vw - 1212px)/2));padding-top:135px;color:#fff}.ms-eyebrow{letter-spacing:1.55px;font-weight:700;font-size:11px;margin:0 0 19px;color:#8be7f4}.ms-eyebrow-teal{color:#078f9d}.ms-hero h1,.ms-page-hero h1,.ms-section h2,.ms-entry h1,.ms-entry h2{font-family:'Playfair Display',Georgia,serif;letter-spacing:-1.55px;line-height:1.06;margin:0}.ms-hero h1{font-size:clamp(47px,5vw,76px)}.ms-hero h1 em{color:#8fe8ef;font-weight:600}.ms-hero-copy{width:91%;margin:27px 0;line-height:1.7;color:#d4e6ef;font-size:17px}.ms-hero-actions{display:flex;align-items:center;gap:29px}.ms-text-link{display:inline-flex;gap:10px;align-items:center;font-weight:700;font-size:14px}.ms-text-link span{font-size:21px;color:#058fc9}.ms-hero-note{position:absolute;z-index:2;bottom:32px;right:max(34px,calc((100vw - 1212px)/2));color:#dbeef0;border:1px solid rgba(255,255,255,.23);background:rgba(5,30,46,.44);backdrop-filter:blur(9px);padding:13px 18px;border-radius:30px;font-size:13px}.ms-hero-note span{color:#42d5de;padding-right:8px}
.ms-section{max-width:1212px;margin:0 auto;padding:114px 34px}.ms-section-heading{display:flex;align-items:end;justify-content:space-between;gap:50px}.ms-section-heading h2,.ms-how h2,.ms-article-copy h2{font-size:clamp(35px,4vw,55px);max-width:630px}.ms-section-heading p{max-width:350px;line-height:1.65;color:#5e6e79;margin:0 0 6px}.ms-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:48px}.ms-choice-card{min-height:385px;position:relative;overflow:hidden;border-radius:12px;background:#123;display:block;transition:transform .25s ease}.ms-choice-card:hover{transform:translateY(-5px)}.ms-choice-card>img{position:absolute;width:100%;height:100%;object-fit:cover}.ms-choice-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,23,36,.95),rgba(6,30,44,.04) 64%)}.ms-choice-content{position:absolute;inset:auto 24px 25px;color:#fff}.ms-choice-content>span{font-size:11px;font-weight:700;color:#8de8f3}.ms-choice-card h3{font-family:'Playfair Display',Georgia,serif;font-size:31px;line-height:1.1;margin:12px 0}.ms-choice-card p{font-size:14px;line-height:1.5;color:#e3eef2;min-height:63px}.ms-choice-card b{font-size:13px}.ms-choice-card i{font-size:20px;font-style:normal;margin-left:6px;color:#5de0ee}
.ms-trust-band{background:#eaf6f4;display:flex;justify-content:center;gap:min(9vw,135px);padding:32px}.ms-trust-band>div{display:flex;gap:13px;align-items:center}.ms-trust-icon{width:36px;height:36px;border:1px solid #61cfd1;border-radius:50%;display:grid;place-items:center;color:#008e9c;font-weight:700}.ms-trust-band p{margin:0;font-size:12px;color:#60717a;line-height:1.5}.ms-trust-band b{font-size:13px;color:#193747}.ms-how{padding-bottom:104px}.ms-how-top{display:flex;justify-content:space-between;gap:80px;align-items:end}.ms-how-top>p{max-width:400px;color:#5e6e79;line-height:1.68;margin:0}.ms-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:42px;margin-top:58px}.ms-steps article{border-top:1px solid var(--line);padding-top:21px}.ms-steps span{color:#0aa9bf;font-weight:700;font-size:12px}.ms-steps h3{font-family:'Playfair Display',Georgia,serif;font-size:25px;margin:14px 0 10px}.ms-steps p{font-size:14px;line-height:1.6;color:#64737c;max-width:320px}
.ms-article-promo{display:grid;grid-template-columns:1.08fr 1fr;gap:72px;align-items:center;padding:85px max(34px,calc((100vw - 1212px)/2));background:#f0f8f7}.ms-article-image{height:390px;border-radius:12px;overflow:hidden}.ms-article-image img{width:100%;height:100%;object-fit:cover}.ms-article-copy{max-width:520px}.ms-meta{font-size:12px;color:#698087;margin:-4px 0 15px}.ms-article-copy h2{font-size:44px}.ms-article-copy>p:not(.ms-eyebrow):not(.ms-meta){color:#5d707a;line-height:1.68;margin:21px 0}
.ms-consultation{background:var(--navy);padding:105px 34px}.ms-consultation-inner{max-width:1050px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:90px;color:#fff}.ms-consultation h2{font-size:52px}.ms-consultation-copy{line-height:1.7;color:#bfd1dc;max-width:420px}.ms-form{display:grid;gap:13px}.ms-form label{font-size:11px;letter-spacing:.6px;font-weight:700;color:#b6d9e3}.ms-form input,.ms-form select,.ms-form textarea{display:block;width:100%;margin-top:7px;padding:13px 14px;border-radius:6px;border:1px solid rgba(255,255,255,.23);background:rgba(255,255,255,.08);font:inherit;color:#fff;outline:0}.ms-form select option{color:#102234}.ms-form textarea{resize:vertical}.ms-form .ms-button{justify-self:start;margin-top:7px}.ms-form small{color:#90adba;font-size:10px;line-height:1.5}
.ms-footer{max-width:1212px;margin:auto;padding:43px 34px 30px;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px;align-items:start;color:#546570}.ms-footer p{margin:0;font-size:13px;line-height:1.65}.ms-footer-links{display:flex;gap:20px;font-size:12px;font-weight:700}.ms-footer>small{grid-column:1/-1;margin-top:28px;padding-top:17px;border-top:1px solid var(--line);font-size:11px}
.ms-page-hero{max-width:1212px;margin:0 auto;padding:70px 34px 88px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px}.ms-page-hero>div{max-width:540px}.ms-back-link{font-size:13px;font-weight:700;color:#4d7482;display:inline-block;margin-bottom:55px}.ms-page-hero h1{font-size:clamp(40px,4.5vw,65px)}.ms-page-hero>div>p:not(.ms-eyebrow){line-height:1.72;color:#5e6e79;margin:25px 0 29px;font-size:16px}.ms-page-hero img{width:100%;border-radius:12px;aspect-ratio:1/1;object-fit:cover}.ms-content{max-width:800px;margin:0 auto;padding:85px 34px 115px}.ms-entry h1{font-size:55px}.ms-entry h2{font-size:38px;margin:42px 0 16px}.ms-entry h3{font-family:'Playfair Display',Georgia,serif;font-size:28px}.ms-entry p,.ms-entry li{line-height:1.8;color:#52646e}.ms-entry a{color:#0c8fbb;text-decoration:underline}.ms-entry img{border-radius:10px}.ms-entry .wp-post-image{margin:26px 0}.ms-post-meta{font-size:13px;color:#698087;margin:13px 0 30px}.ms-empty{padding:120px 34px;text-align:center}.ms-empty h1{font-family:'Playfair Display',Georgia,serif;font-size:55px}
.ms-page-body{padding-top:78px}.ms-reading{max-width:660px}.ms-reading h2{font-size:45px}.ms-reading>p:not(.ms-eyebrow){font-size:17px;line-height:1.75;color:#5e6e79}.ms-detail-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:50px}.ms-detail-cards article{background:#edf7f6;padding:29px;border-radius:10px}.ms-detail-cards span{color:#0aa9bf;font-weight:700;font-size:12px}.ms-detail-cards h3{font-family:'Playfair Display',Georgia,serif;font-size:25px;margin:14px 0 10px}.ms-detail-cards p{font-size:14px;color:#596c75;line-height:1.65;margin:0}.ms-page-note{background:var(--navy);color:#dbeaf0;border-radius:10px;padding:28px 32px;margin-top:30px;display:flex;gap:17px;align-items:flex-start}.ms-page-note span{color:#52dce6;font-size:22px}.ms-page-note p{margin:0;line-height:1.65;font-size:14px}.ms-article-outro{max-width:680px;margin-top:56px}.ms-article-outro h2{font-size:38px}.ms-article-outro li{margin:11px 0;color:#5e6e79;line-height:1.5}
@media(max-width:800px){.ms-header{height:72px;padding:0 20px}.ms-nav,.ms-header>.ms-button{display:none}.ms-mobile-menu{display:block;margin-left:auto}.ms-brand b,.ms-brand strong{font-size:20px}.ms-hero{min-height:640px}.ms-hero>img{object-position:63% center;opacity:.62}.ms-hero-content{padding-top:95px;width:calc(100% - 40px);margin-left:20px}.ms-hero h1{font-size:48px}.ms-hero-copy{width:100%;font-size:15px}.ms-hero-actions{gap:18px;flex-wrap:wrap}.ms-hero-note{left:20px;right:auto;bottom:20px;font-size:11px}.ms-section{padding:75px 20px}.ms-section-heading,.ms-how-top{display:block}.ms-section-heading p,.ms-how-top>p{margin-top:20px}.ms-choice-grid,.ms-steps,.ms-detail-cards{grid-template-columns:1fr}.ms-choice-card{min-height:325px}.ms-trust-band{display:grid;grid-template-columns:1fr;gap:19px;padding:28px 24px}.ms-article-promo{grid-template-columns:1fr;gap:30px;padding:64px 20px}.ms-article-image{height:260px}.ms-article-copy h2{font-size:36px}.ms-consultation{padding:70px 20px}.ms-consultation-inner{grid-template-columns:1fr;gap:35px}.ms-consultation h2{font-size:43px}.ms-footer{grid-template-columns:1fr;padding:35px 20px}.ms-footer-links{margin-top:5px}.ms-page-hero{grid-template-columns:1fr;padding:35px 20px 65px;gap:35px}.ms-page-hero .ms-back-link{margin-bottom:35px}.ms-page-hero h1{font-size:43px}.ms-page-hero img{max-height:360px}.ms-page-body{padding-top:58px}.ms-reading h2{font-size:38px}.ms-detail-cards{margin-top:30px}.ms-page-note{padding:23px}.ms-article-outro h2{font-size:34px}.ms-content{padding:55px 20px}.ms-entry h1,.ms-empty h1{font-size:42px}}
