/* Final client copy v3.21: photographs above text, manual slides, local September update. */
body.home:has(#hero.hero-v321) .iqg-logo-main,
body.home:has(#hero.hero-v321) .iqg-logo-rest,
body.home:has(#hero.hero-v321) .iqg-desktop-nav a,
body.home:has(#hero.hero-v321) .iqg-desktop-nav button { color: #1a3a1a; text-shadow: none; }
body.home:has(#hero.hero-v321) .iqg-logo-i { color: #2d6a2d; text-shadow: none; }
body.home:has(#hero.hero-v321) .iqg-logo-sub { color: #52604e; text-shadow: none; }
#hero.hero-v321 { padding: 100px 0 0; margin: 0; background: #fff; color: #183c29; overflow: hidden; }
#hero .v321-visuals { position: relative; height: clamp(360px, 39vw, 600px); background: #e9eee6; }
#hero .iqg-hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
#hero .iqg-hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
#hero .iqg-hero-slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 65%; border-radius: 0; }
#hero .v321-private img { object-position: center 80%; }
#hero .iqg-hero-slide figcaption { position: absolute; bottom: 12px; left: max(24px, calc((100% - 1280px) / 2)); max-width: calc(100% - 48px); padding: 7px 12px; background: #fffffff2; color: #183c29; font-size: 12px; line-height: 1.5; border-radius: 3px; }
#hero .v321-hero-inner { width: min(1280px, calc(100% - 48px)); margin: auto; padding: 20px 0 42px; }
#hero .v321-controls { display: flex; gap: 12px; margin-bottom: 24px; }
#hero .iqg-hero-dot { display: inline-flex; align-items: center; gap: 10px; width: auto; min-height: 44px; padding: 8px 14px; background: transparent; border: 1px solid #cbd6c6; border-radius: 4px; color: #38513d; font: inherit; font-size: 13px; cursor: pointer; }
#hero .iqg-hero-dot::before, #hero .iqg-hero-dot::after { content: none; }
#hero .iqg-hero-dot.is-active { background: #183c29; border-color: #183c29; color: white; }
#hero .iqg-hero-dot:focus-visible, #hero a:focus-visible { outline: 3px solid #649545; outline-offset: 4px; }
#hero .v321-panels { display: grid; }
#hero .v321-panel { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: clamp(28px, 5vw, 80px); visibility: hidden; opacity: 0; }
#hero .v321-panel.is-active { visibility: visible; opacity: 1; }
#hero .v321-panel h1, #hero .v321-panel h2 { margin: 0; color: #183c29; font-family: var(--sans); font-size: clamp(28px, 2.9vw, 42px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; text-shadow: none; }
#hero .v321-panel p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
#hero .v321-panel .eyebrow { margin-bottom: 14px; font-size: 11px; }
#hero .v321-panel .v321-lead { font-size: 20px; line-height: 1.4; }
#hero .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
#hero .btn { min-height: 46px; font-size: 13px; text-align: center; }
#hero .v321-proof { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #dfe5da; color: #52604e; font-size: 13px; line-height: 1.6; max-width: none; }
#prywatnosc.privacy-v321 { padding: 80px 0; }
#prywatnosc .v321-section-heading { max-width: 880px; margin-bottom: 32px; }
#prywatnosc .v321-section-heading h2 { margin-bottom: 20px; font-family: var(--sans); font-size: clamp(32px, 3.5vw, 48px); line-height: 1.12; }
#prywatnosc .v321-lead { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.5; }
#prywatnosc .v321-seasonal { margin: 0 0 44px; }
#prywatnosc .v321-seasonal img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 8px; }
#prywatnosc figcaption { margin-top: 10px; color: #52604e; font-size: 12px; line-height: 1.5; }
#prywatnosc .v321-manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin: 0 0 64px; }
#prywatnosc .v321-manifesto p { margin-top: 0; }
#prywatnosc .v321-own-world { display: grid; grid-template-columns: .715fr 1.385fr; align-items: center; gap: clamp(28px, 4vw, 64px); }
#prywatnosc .v321-own-world figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
#prywatnosc .v321-own-world img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: right center; transform: scale(2.05); transform-origin: 50% 54%; }
#prywatnosc .v321-own-world h3 { font-family: var(--sans); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin-bottom: 20px; }
#prywatnosc .v321-world-close { max-width: 880px; margin: 36px auto 60px; }
#prywatnosc p.v321-world-close { text-align: center; }
#prywatnosc .v321-uses-heading { font-family: var(--sans); font-size: 30px; margin: 0 0 24px; }
#prywatnosc .privacy-uses { margin-top: 0; align-items: stretch; }
#prywatnosc .privacy-use-media { width: 100%; height: 230px; object-fit: cover; }
#prywatnosc .v321-gate { display: flex; align-items: flex-start; align-self: start; background: #e4ebdd; }
#prywatnosc .v321-gate .body { padding: 30px; }
#prywatnosc .v321-consultation { max-width: 850px; margin-top: 30px; }
@media (max-width: 800px) {
  #hero.hero-v321 { padding-top: 90px; }
  #hero .v321-visuals { height: clamp(340px, 60vw, 460px); }
  #hero .v321-panel { grid-template-columns: 1fr; gap: 20px; }
  #hero .v321-panel h1, #hero .v321-panel h2 { max-width: 650px; font-size: clamp(29px, 5vw, 38px); }
  #prywatnosc .v321-manifesto, #prywatnosc .v321-own-world { grid-template-columns: 1fr; gap: 20px; }
  #prywatnosc .privacy-uses { grid-template-columns: 1fr; }
  #prywatnosc .privacy-use-media { height: auto; max-height: 350px; }
  #prywatnosc .v321-own-world { gap: 28px; }
  #prywatnosc .v321-own-world figure { width: 65%; justify-self: center; }
}
@media (max-width: 560px) {
  #hero.hero-v321 { padding-top: 82px; }
  #hero .v321-hero-inner { width: calc(100% - 32px); padding-top: 16px; padding-bottom: 32px; }
  #hero .v321-visuals { height: 360px; }
  #hero .v321-rotunda img { object-position: 67% center; }
  #hero .v321-private img { object-position: 38% center; }
  #hero .iqg-hero-slide figcaption { left: 16px; max-width: calc(100% - 32px); bottom: 10px; font-size: 10px; }
  #hero .v321-controls { gap: 8px; margin-bottom: 24px; }
  #hero .iqg-hero-dot { padding: 8px 12px; font-size: 12px; }
  #hero .v321-panel h1, #hero .v321-panel h2 { font-size: 29px; }
  #hero .v321-panel .v321-lead { font-size: 19px; }
  #hero .btns { display: grid; grid-template-columns: 1fr; margin-top: 20px; }
  #hero .btn { width: 100%; white-space: normal; }
  #prywatnosc.privacy-v321 { padding: 52px 0; }
  #prywatnosc .v321-seasonal img { height: 280px; object-position: center; }
  #prywatnosc .v321-manifesto { margin-bottom: 36px; }
  #prywatnosc .v321-world-close { margin: 28px 0 40px; }
  #prywatnosc .v321-section-heading h2 { font-size: 32px; }
  #prywatnosc .v321-uses-heading { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  #hero .iqg-hero-slide { transition: none; }
}
#liderzy figure > figcaption {
  padding: 10px 4px 4px;
  color: #52604e;
  font-size: 12px;
  line-height: 1.5;
}
