/*
Theme Name: SIDEA
Author: SIDEA / SMOKGP
Description: Lekki motyw z ofertą i realizacjami SIDEA.
Version: 1.1.0
Requires PHP: 8.1
Text Domain: sidea
*/
:root{--ink:#151a1e;--muted:#52606a;--yellow:#f4ce19;--paper:#fff;--line:#d8dee2;--soft:#f1f3f4;--max:1400px;color-scheme:light;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:16px}*{box-sizing:border-box}body{margin:0;line-height:1.65}a{color:inherit;text-underline-offset:.24em}img{display:block;width:100%;height:auto}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #1466d5;outline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.08;letter-spacing:-.045em}p+p{margin-top:1rem}.wrap{width:min(calc(100% - 96px),var(--max));margin-inline:auto}.skip{position:fixed;top:8px;left:8px;background:white;padding:12px;z-index:50;transform:translateY(-150%)}.skip:focus{transform:none}.header{height:98px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{text-decoration:none;display:flex;align-items:center;gap:14px}.wordmark{font-size:2rem;letter-spacing:.17em;font-weight:800;border-left:5px solid var(--yellow);padding-left:12px}.brand small{font-size:.75rem;letter-spacing:.035em;line-height:1.4;max-width:120px;color:var(--muted)}nav{display:flex;gap:30px;align-items:center}nav a{text-decoration:none;font-size:.9rem;font-weight:600}nav a:hover{text-decoration:underline}.nav-contact{border:1px solid var(--ink);padding:10px 20px}.mobile-menu{display:none}.hero{display:grid;grid-template-columns:46% 54%;min-height:650px;background:var(--yellow)}.hero-copy{padding:64px 50px 56px max(48px,calc((100vw - var(--max))/2));display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:24px}.hero h1{font-size:clamp(3.2rem,5.35vw,5.7rem);max-width:700px;font-weight:600}.hero .lead{font-size:1.1rem;max-width:440px;margin-top:30px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:50px;padding:13px 22px;text-decoration:none;font-weight:600;background:var(--ink);color:white;border:1px solid var(--ink)}.button:hover{background:#33414b}.text-link{font-weight:600;font-size:.95rem}.arrow{font-size:1.35em;font-weight:400}.hero-photo{position:relative;margin:0;overflow:hidden;min-height:600px}.hero-photo>img{height:100%;object-fit:cover;object-position:50% 65%}.hero-photo figcaption{position:absolute;bottom:22px;left:24px;right:24px;display:flex;justify-content:space-between;gap:16px;background:rgba(20,26,30,.89);padding:12px 16px;color:white;font-size:.8rem}.process-strip{background:var(--ink);color:white}.process-strip .wrap{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-block:25px;font-size:.85rem}.process-strip b{color:var(--yellow);font-size:.72rem;letter-spacing:.08em}.section{padding-block:100px;scroll-margin-top:25px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:44px}.section-head h2,.design h2,.contact h2{font-size:clamp(2.5rem,4vw,4rem);font-weight:500}.section-head p{max-width:430px;color:var(--muted)}.section .eyebrow{margin-bottom:18px;color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.service{padding:30px 24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.service .num{font-size:.85rem;color:var(--muted);display:block;margin-bottom:34px}.service h3{font-size:1.65rem;min-height:88px;font-weight:500}.service p{font-size:.95rem;color:var(--muted);margin-top:22px}.service>a{display:inline-block;margin-top:28px;font-size:.85rem;font-weight:700}.service:hover{background:#fafbf0}.projects{background:var(--soft)}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 25px}.project-card a{text-decoration:none;display:block}.project-card .photo{height:290px;overflow:hidden;background:#d8dde0}.project-card img{height:100%;object-fit:cover;transition:transform .25s}.project-card a:hover img{transform:scale(1.025)}.project-card .category{font-size:.73rem;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin:18px 0 8px}.project-card h3{font-size:1.4rem;font-weight:500;line-height:1.2}.project-card h3 span{float:right;padding-left:12px}.design{background:var(--ink);color:white}.design .wrap{display:grid;grid-template-columns:1fr 1fr;gap:80px}.design .eyebrow{color:var(--yellow)}.design .intro{font-size:1.13rem;max-width:540px;margin-top:27px;color:#dbe1e5}.design .text-link{display:inline-block;margin-top:28px;color:var(--yellow)}.steps{margin:0;padding:0;list-style:none}.steps li{display:grid;grid-template-columns:36px 1fr;gap:18px;padding:23px 0;border-top:1px solid #48515a}.steps li:last-child{border-bottom:1px solid #48515a}.steps .num{color:var(--yellow);font-size:.8rem}.steps h3{font-size:1.25rem;letter-spacing:-.02em;font-weight:500}.steps p{color:#c9d0d5;font-size:.93rem;margin-top:10px}.detail-section{border-bottom:1px solid var(--line)}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.detail-layout>img{max-height:460px;object-fit:cover}.detail-layout h2{font-size:2.5rem;font-weight:500;margin-bottom:24px}.detail-layout p{color:var(--muted)}.detail-layout ul{padding-left:20px;margin-top:24px}.detail-layout li{margin:8px 0}.contact{background:var(--yellow)}.contact .wrap{display:grid;grid-template-columns:1fr 1fr;gap:70px}.contact .eyebrow{color:var(--ink)}.contact p{max-width:520px;margin-top:25px}.contact-links{align-self:center;border-top:1px solid #a89027}.contact-links a{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 0;font-size:clamp(1.2rem,2vw,1.8rem);text-decoration:none;border-bottom:1px solid #a89027}.contact-links a:hover{text-decoration:underline}.footer{padding-block:32px;display:flex;gap:24px;justify-content:space-between;color:var(--muted);font-size:.82rem}.footer a{color:var(--ink)}.project-intro{padding:70px 0 45px}.project-intro h1{font-size:clamp(2.7rem,5vw,4.5rem);max-width:1000px}.project-intro p{max-width:750px;margin-top:26px;color:var(--muted);font-size:1.1rem}.project-gallery{display:grid;gap:28px;margin-bottom:80px}.project-gallery img{width:100%;max-height:800px;object-fit:contain;background:#eef0f2}.project-gallery figcaption{font-size:.9rem;color:var(--muted);margin-top:8px}.project-gallery figure{margin:0}.entry{max-width:1000px;margin:50px auto 80px}.entry h1{font-size:3rem;margin-bottom:30px}.entry h2{margin-top:35px;margin-bottom:15px;font-size:2rem}.entry p{margin-bottom:20px}.entry img{max-height:800px;object-fit:contain}.entry .wp-block-gallery{display:flex;flex-wrap:wrap;gap:20px}.entry .wp-block-gallery figure{flex:1 1 300px;margin:0}.preview-note{padding:8px 24px;background:#edf2fb;font-size:.8rem;text-align:center;border-bottom:1px solid #b6c7e1}.selection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.selection-card{border:1px solid var(--line);padding:18px}.selection-card img{height:270px;object-fit:contain;background:var(--soft)}.selection-card h2{font-size:1.3rem;line-height:1.25;margin-top:18px}.selection-card p{font-size:.9rem;margin-top:12px;color:var(--muted)}.selection-card .file{overflow-wrap:anywhere;font-size:.75rem}.filter-links{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:35px}.filter-links a{padding:8px 15px;border:1px solid var(--line);text-decoration:none}.pagination{padding-top:35px}.pagination a,.pagination span{padding:10px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
@media(min-width:1700px){.hero-copy{padding-right:70px}.hero{min-height:750px}}
@media(max-width:1100px){.wrap{width:calc(100% - 48px)}.header{gap:15px}nav{gap:18px}.brand small{display:none}.hero-copy{padding:45px 28px}.hero h1{font-size:4rem}.hero-photo{min-height:580px}.service-grid{grid-template-columns:repeat(2,1fr)}.service h3{min-height:0}.design .wrap{gap:40px}.project-card .photo{height:240px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.header{height:auto;min-height:83px;flex-wrap:wrap;padding-block:18px;gap:16px}.wordmark{font-size:1.7rem}nav{width:100%;justify-content:space-between;gap:12px;flex-wrap:wrap}nav a{font-size:.82rem}.nav-contact{padding:5px 10px}.hero{grid-template-columns:1fr}.hero-copy{padding:43px 23px}.hero h1{font-size:clamp(3.1rem,13vw,4.4rem)}.hero .lead{font-size:1rem}.hero-photo{min-height:0;height:430px}.hero-photo figcaption{left:15px;right:15px;bottom:15px}.process-strip .wrap{display:grid;grid-template-columns:1fr 1fr;font-size:.8rem;gap:15px}.section{padding-block:64px}.section-head{display:block;margin-bottom:30px}.section-head p{margin-top:22px}.section-head h2,.design h2,.contact h2{font-size:2.7rem}.service-grid{grid-template-columns:1fr}.service{padding:24px}.service .num{margin-bottom:16px}.service h3{font-size:1.7rem}.service p{margin-top:14px}.service>a{margin-top:18px}.project-grid,.selection-grid{grid-template-columns:1fr}.project-card .photo{height:330px}.design .wrap,.detail-layout,.contact .wrap{grid-template-columns:1fr;gap:38px}.detail-layout>img{max-height:340px}.footer{display:block}.footer p+p{margin-top:10px}.entry{margin-inline:18px}.entry h1{font-size:2.5rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Motyw punktów: dekoracja, nie zapis informacji alfabetem Braille’a. */
.hero-copy{position:relative}.dot-motif{display:grid;grid-template-columns:repeat(2,8px);grid-template-rows:repeat(3,8px);gap:6px;margin-bottom:23px}.dot-motif i{display:block;border-radius:50%;background:#333926;box-shadow:inset 1px 1px 1px #62653e,1px 1px 0 #ffe77e}.dot-motif i:nth-child(2),.dot-motif i:nth-child(5){opacity:.28}.hero-photo>img{object-position:50% 70%}.detail-layout>.product-photo{object-fit:contain;background:white}

.scope-title{font-size:1.4rem;letter-spacing:-.02em;margin-top:30px}.project-intro ul{max-width:750px;padding-left:22px}.project-intro li{margin:8px 0}

/* Galerie gotowych realizacji i strony usług. */
.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.project-gallery figure:first-child{grid-column:1/-1}
.project-gallery img{height:440px;object-fit:contain;background:#eef0f2}
.project-gallery figure:first-child img{height:auto;max-height:800px}
.project-gallery a{display:block;cursor:zoom-in}.project-gallery figcaption{padding:8px 0;line-height:1.5}
.service-links{display:flex;flex-wrap:wrap;gap:14px 28px;padding-block:32px;border-bottom:1px solid var(--line);font-size:.9rem}
.service-entry{max-width:900px}.service-entry>p{font-size:1.1rem}.service-entry h2{line-height:1.2;margin-top:40px}
.gallery-dialog{border:0;padding:20px;max-width:96vw;max-height:95vh;background:#fff;color:var(--ink)}
.gallery-dialog::backdrop{background:rgba(0,0,0,.86)}.gallery-dialog img{width:auto;max-width:90vw;max-height:73vh;object-fit:contain;margin:auto}
.gallery-dialog .gallery-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.gallery-dialog button{background:var(--ink);color:white;border:0;padding:10px 16px;cursor:pointer;min-height:44px}.gallery-dialog p{margin-top:12px;max-width:900px}
@media(max-width:760px){.project-gallery{grid-template-columns:1fr}.project-gallery img{height:auto;max-height:650px}.project-intro h1{font-size:2.5rem}.service-links{display:grid}.gallery-dialog{padding:12px}}

.product-title{margin-top:20px}.hero-slides{position:absolute;inset:0;overflow:hidden}.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 65%;opacity:0;transform:translateX(100%);transition:transform .65s ease,opacity .65s ease;pointer-events:none}.hero-slide.is-active{opacity:1;transform:translateX(0);z-index:1}.hero-slide.is-leaving{opacity:0;transform:translateX(-100%);z-index:0}.hero-photo figcaption{z-index:3}.hero-slider-controls{position:absolute;top:20px;right:20px;z-index:4;display:flex;align-items:center;gap:8px;background:#151a1ee8;color:white;padding:8px}.hero-slider-controls[hidden]{display:none}.hero-slider-controls button{min-width:44px;min-height:44px;border:1px solid #bfc4c8;background:transparent;color:white;padding:7px 12px;cursor:pointer}.hero-slider-controls button:hover{background:#394149}.hero-slider-controls span{min-width:42px;text-align:center;font-size:.85rem}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none;transform:none}.hero-slide.is-leaving{transform:none}}
