/*! dsch | "Proč nakupovat u nás" page (Figma "Why shop with us?" 1114-5778) | so-why.css v1.0.3 | scoped to .so-why */
.so-why{
  --so-ink:#000;--so-white:#fff;--so-grey:#6d7275;--so-line:#ececec;--so-soft:#f7f7f7;
  --so-head:Arpona,Georgia,serif;--so-body:Geist,system-ui,-apple-system,"Segoe UI",sans-serif;
  --so-gutter:var(--so-site-gutter,max(16px,calc((100vw - 1360px)/2)));
  box-sizing:border-box;width:100vw;max-width:none;margin:0 0 0 calc(50% - 50vw);
  font-family:var(--so-body);color:var(--so-ink);text-align:left
}
.so-why *,.so-why *::before,.so-why *::after{box-sizing:border-box}
.so-why img{display:block;max-width:100%;height:auto}
.so-why p{margin:0}
.so-why figure{margin:0!important;padding:0}
.so-why .so-why-in{padding:0 var(--so-gutter)}
body.in-proc-nakupovat-u-nas .pageArticleDetail>header h1{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}
body.in-proc-nakupovat-u-nas main.content,body.in-proc-nakupovat-u-nas .content-inner{margin-top:0!important;padding-top:0!important}

/* Titles + text (Figma: Arpona Light 32/40 uppercase, Geist 16/24) */
.so-why .so-why-title{font:300 32px/40px var(--so-head)!important;text-transform:uppercase;letter-spacing:0;color:var(--so-ink);margin:0!important;padding:0;border:0;text-align:left!important}
.so-why .so-why-text p{font:300 16px/24px var(--so-body)!important;color:var(--so-ink);margin:0!important;text-align:left!important}
.so-why .so-why-text p+p{margin-top:24px!important}
.so-why .so-why-lead{font:300 16px/24px var(--so-body)!important;max-width:720px;margin:16px 0 0!important}
.so-why a{color:inherit}

/* Buttons */
.so-why .so-why-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:11px 24px;font:400 16px/17px var(--so-head)!important;text-transform:uppercase;text-decoration:none!important;background:var(--so-ink);border:1px solid var(--so-ink);color:var(--so-white)!important;transition:background-color .2s,color .2s}
.so-why .so-why-btn:hover,.so-why .so-why-btn:focus-visible{background:var(--so-white);color:var(--so-ink)!important}

/* 1 · Hero (full width, 1440 × 568) */
.so-why-hero{position:relative;isolation:isolate;min-height:clamp(420px,39.45vw,568px);display:flex;align-items:center;overflow:hidden;background:#8a9aa6}
.so-why-hero picture,.so-why-hero img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important}
.so-why-hero picture{z-index:0}
.so-why-hero img{object-fit:cover;object-position:50% 40%;z-index:0}
.so-why-hero .so-why-in{position:relative;z-index:2}
.so-why-hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.38) 0%,rgba(0,0,0,.18) 38%,rgba(0,0,0,0) 62%)}
.so-why-hero .so-why-in{width:100%;padding-top:48px;padding-bottom:64px}
.so-why .so-why-hero-title{font:500 40px/48px var(--so-head)!important;text-transform:uppercase;color:#fff;margin:0 0 16px!important;max-width:468px}
.so-why .so-why-hero-sub{font:300 16px/24px var(--so-body)!important;color:#fff;max-width:420px;margin:0 0 56px!important}

/* 2 + 4 · Text and photo side by side (672 + 16 + 672) */
.so-why-split{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;margin-top:72px}
.so-why-split+.so-why-split,.so-why-reasons+.so-why-split{margin-top:80px}
.so-why-split .so-why-text{max-width:560px}
.so-why-split .so-why-title{margin-bottom:40px!important;max-width:440px}
.so-why-split .so-why-media{aspect-ratio:673/685;overflow:hidden;background:var(--so-soft)}
.so-why-split .so-why-media img{width:100%!important;height:100%!important;object-fit:cover}
.so-why-split--rev .so-why-media{order:-1}
.so-why-split--rev .so-why-text{padding-left:106px;max-width:none}
.so-why-split--rev .so-why-text>*{max-width:566px}

/* 3 · Reasons grid (3 × 2, 1px lines) */
.so-why-reasons{margin-top:80px}
.so-why-grid{display:grid;grid-template-columns:repeat(3,1fr);margin:32px 0 0!important;padding:0!important;list-style:none!important;border-top:1px solid var(--so-line);border-left:1px solid var(--so-line)}
.so-why-grid>li{margin:0!important;padding:40px!important;list-style:none!important;border-right:1px solid var(--so-line);border-bottom:1px solid var(--so-line);min-height:270px}
.so-why-grid>li::before{display:none!important}
.so-why-grid img{width:52px!important;height:48px!important;object-fit:contain;margin:0 0 36px}
.so-why .so-why-grid h3{font:400 16px/24px var(--so-body)!important;text-transform:uppercase;letter-spacing:0;color:var(--so-ink);margin:0 0 12px!important;padding:0;border:0}
.so-why .so-why-grid p{font:300 16px/24px var(--so-body)!important;color:var(--so-ink);margin:0!important;max-width:372px}

/* 5 · Care areas (3 photo cards with a button) */
.so-why-areas{margin-top:80px;padding-bottom:120px}
.so-why-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:40px 0 0!important;padding:0!important;list-style:none!important}
.so-why-cards>li{margin:0!important;padding:0!important;list-style:none!important}
.so-why-cards>li::before{display:none!important}
.so-why-card{position:relative;display:block;aspect-ratio:443/592;overflow:hidden;background:var(--so-soft);text-decoration:none!important}
.so-why-card img{width:100%!important;height:100%!important;object-fit:cover;transition:transform .6s ease}
.so-why-card:hover img{transform:scale(1.03)}
.so-why-card .so-why-btn{position:absolute;left:50%;bottom:40px;transform:translateX(-50%);white-space:nowrap;padding:11px 32px}
.so-why-card:hover .so-why-btn{background:var(--so-white);color:var(--so-ink)!important}

/* Dark mode of the site (dmartini inverts the page): keep photos natural */
body.dark-mode .so-why-hero,body.dark-mode .so-why-media,body.dark-mode .so-why-card{filter:invert(1) hue-rotate(180deg)}

/* Tablet */
@media (max-width:1199px){
  .so-why-split--rev .so-why-text{padding-left:48px}
  .so-why-grid>li{padding:32px!important}
}
@media (max-width:1023px){
  .so-why-grid{grid-template-columns:1fr 1fr}
  .so-why-split{gap:32px}
  .so-why-split--rev .so-why-text{padding-left:0}
}
/* Mobile (Figma 375) */
@media (max-width:767px){
  .so-why{--so-gutter:12px}
  .so-why-hero{display:block;min-height:0;aspect-ratio:375/600;background:#9fb3c4}
  .so-why-hero img{object-position:50% 0%}
  .so-why-hero::after{background:linear-gradient(180deg,rgba(0,0,0,.30) 0%,rgba(0,0,0,.12) 40%,rgba(0,0,0,0) 60%)}
  .so-why-hero .so-why-in{padding-top:24px;padding-bottom:24px}
  .so-why .so-why-hero-title{font-size:32px!important;line-height:40px!important;margin-bottom:12px!important}
  .so-why .so-why-hero-sub{margin-bottom:24px!important}
  .so-why-hero .so-why-btn{display:flex;width:100%}
  .so-why .so-why-title{font-size:24px!important;line-height:32px!important}
  .so-why-split{grid-template-columns:1fr;gap:32px;margin-top:40px}
  .so-why-split+.so-why-split,.so-why-reasons+.so-why-split{margin-top:56px}
  .so-why-split .so-why-media{order:-1;aspect-ratio:351/440}
  .so-why-split .so-why-title{margin-bottom:24px!important}
  .so-why-split--rev .so-why-text{padding-left:0}
  .so-why-reasons,.so-why-areas{margin-top:56px}
  .so-why-grid{grid-template-columns:1fr;margin-top:24px!important}
  .so-why-grid>li{padding:24px 16px!important;min-height:0}
  .so-why-grid img{margin-bottom:24px}
  .so-why-cards{grid-template-columns:1fr;gap:8px;margin-top:24px!important}
  .so-why-card{aspect-ratio:351/440}
  .so-why-card .so-why-btn{bottom:24px}
  .so-why-areas{padding-bottom:64px}
}
