/* ZMARŁYM.pl — clean production stylesheet after audit */
:root{
  --brand-dark:#050d70;
  --brand:#0718bb;
  --brand-bright:#2341ff;
  --brand-soft:#eef2ff;
  --ink:#101827;
  --text:#42556f;
  --muted:#6e7e93;
  --line:#dce4ef;
  --soft:#f7f9fc;
  --white:#fff;
  --shadow:0 12px 28px rgba(8,32,92,.08);
  --container:1440px;
  --serif:Georgia,"Times New Roman",serif;
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
img,svg{display:block;max-width:100%}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.shell{width:min(calc(100% - 72px),var(--container));margin-inline:auto}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:absolute;left:14px;top:-60px;z-index:999;background:var(--brand);color:#fff;padding:10px 14px;border-radius:8px}.skip-link:focus{top:12px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.topbar{background:linear-gradient(90deg,var(--brand-dark),var(--brand) 52%,var(--brand-bright));color:#fff;font-size:11px}
.topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar i{font-style:normal;margin-right:7px;color:#fff}
.nav-row{min-height:82px;display:flex;align-items:center;gap:24px}
.brand.brand-image{display:flex;align-items:center;flex:0 0 auto;width:290px}.brand.brand-image img{width:100%;height:auto}
.main-nav{display:flex;align-items:center;justify-content:center;gap:30px;margin-left:auto}.main-nav a{color:#1d2737;font-size:13px;font-weight:700;padding:8px 0;position:relative}.main-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:1px;height:2px;background:linear-gradient(90deg,var(--brand),var(--brand-bright));transition:right .2s}.main-nav a:hover::after{right:0}.main-nav a:hover{color:var(--brand)}
.header-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.icon-btn,.menu-toggle{border:0;background:none;color:#172237;padding:8px;cursor:pointer}.icon-btn svg{width:21px;height:21px}.icon-btn:hover{color:var(--brand)}
.memory-btn{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 18px;border-radius:14px;background:linear-gradient(90deg,var(--brand-dark),var(--brand),var(--brand-bright));color:#fff;font-size:13px;font-weight:750;box-shadow:0 10px 22px rgba(7,24,187,.16)}.memory-btn svg{width:20px;height:20px}
.menu-toggle{display:none}.menu-toggle>span:not(.sr-only){display:block;width:25px;height:2px;background:var(--brand);margin:5px 0}

/* Hero */
.hero{background:#fff;padding:20px 0 0;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:26px;align-items:center;min-height:330px}
.hero-copy{padding:20px 0 34px 8px}.eyebrow{display:inline-flex;align-items:center;min-height:30px;padding:0 13px;border-radius:999px;border:1px solid #c9d5ff;background:#f8f9ff;color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.08em}
.hero h1{margin:15px 0 14px;color:var(--ink);font:600 clamp(52px,5.3vw,70px)/.97 var(--serif);letter-spacing:-.04em}.hero p{max-width:520px;margin:0;color:#536984;font-size:16px;line-height:1.52}
.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px;margin-bottom:12px;position:relative;z-index:3}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 18px 0 20px;border-radius:14px;font-size:13px;font-weight:780;transition:.18s}.btn svg{width:28px;height:28px;padding:6px;border-radius:50%}.btn-primary{color:#fff;background:linear-gradient(90deg,var(--brand-dark),var(--brand),var(--brand-bright));box-shadow:0 12px 24px rgba(7,24,187,.18)}.btn-primary svg{background:rgba(255,255,255,.13)}.btn-outline{color:#14294a;background:#fff;border:1px solid #bfcce0;box-shadow:0 8px 18px rgba(8,45,96,.06)}.btn-outline svg{color:var(--brand);background:var(--brand-soft);border-radius:10px}.btn:hover{transform:translateY(-2px)}
.hero-visual{display:flex;justify-content:flex-end;align-items:flex-end;min-width:0}.hero-visual img{width:100%;height:auto;max-height:360px;object-fit:contain;object-position:right bottom}

/* Topic tiles */
.topics-strip{padding:26px 0 0}.topics-grid{display:grid;grid-template-columns:repeat(8,1fr);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);background:#fff}.topic-card{min-height:150px;padding:17px 12px 14px;display:flex;flex-direction:column;align-items:center;text-align:center;border-right:1px solid var(--line);transition:.18s}.topic-card:last-child{border-right:0}.topic-card:hover{background:#f9fbff}.topic-icon{width:42px;height:42px;display:grid;place-items:center;color:var(--brand);margin-bottom:9px}.topic-icon svg{width:31px;height:31px}.topic-card b{color:#17263f;font-size:14px;line-height:1.18}.topic-card p{margin:6px auto 0;max-width:145px;color:#667992;font-size:10.5px;line-height:1.4}.topic-arrow{margin-top:auto;padding-top:7px;color:var(--brand);font-size:14px;font-weight:800}.topic-card.warm{background:#fafbff}

/* Articles */
.articles-and-city{padding:30px 0 0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.section-title h2{margin:0;color:#152a48;font:600 28px/1.15 var(--serif);letter-spacing:-.02em}.section-title .title-icon{display:inline-block;margin-right:7px;color:var(--brand);font-size:22px}.section-title>a{color:var(--brand);font-size:12px;font-weight:750}
.content-grid{display:block}.articles-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.article-card{position:relative;height:225px;overflow:hidden;border-radius:15px;background:#092854;box-shadow:0 10px 24px rgba(10,26,74,.09)}.article-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.article-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,19,39,.02) 18%,rgba(4,24,52,.95) 100%)}.article-copy{position:absolute;z-index:2;inset:auto 0 0;padding:14px;color:#fff}.pill{display:inline-flex;align-items:center;min-height:21px;padding:0 7px;border-radius:6px;background:rgba(255,255,255,.95);color:var(--brand);font-size:8px;font-weight:850;letter-spacing:.07em}.article-copy h3{margin:8px 0 5px;color:#fff;font-size:17px;line-height:1.17;letter-spacing:-.015em}.article-copy p{margin:0;color:#e3eaf4;font-size:11px;line-height:1.35}.article-copy small{display:block;margin-top:7px;color:#c8d4e5;font-size:9.5px}

/* Cities */
.cities-section{padding:38px 0 12px;background:#fff}.cities-heading{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:end;margin-bottom:18px}.cities-kicker{display:block;margin-bottom:7px;color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.13em}.cities-heading h2{margin:0;color:#142a49;font:600 34px/1.08 var(--serif);letter-spacing:-.025em}.cities-heading p{margin:0 0 3px;color:#60758e;font-size:14px;line-height:1.5}.cities-grid{display:grid;grid-template-columns:1.45fr repeat(2,1fr);grid-template-rows:repeat(2,205px);gap:14px}.local-city{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#edf3f8;box-shadow:0 9px 22px rgba(8,43,92,.06);transition:.18s}.local-city:hover{transform:translateY(-3px);box-shadow:0 15px 28px rgba(8,43,92,.1)}.local-city.featured-city{grid-row:1/3}.local-city>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.local-city:not(.featured-city)>img{opacity:.76}.city-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,14,103,.95),rgba(7,24,187,.55) 55%,rgba(7,24,187,.07))}.local-city-copy{position:absolute;z-index:3;inset:auto 0 0;padding:18px 20px;background:linear-gradient(180deg,transparent,rgba(5,13,73,.92));color:#fff}.featured-city .local-city-copy{inset:0 auto 0 0;width:65%;padding:28px;background:linear-gradient(90deg,rgba(5,13,73,.96),rgba(7,24,187,.58),transparent);display:flex;flex-direction:column;justify-content:flex-end}.city-label{color:#dfe6ff;font-size:8.5px;font-weight:850;letter-spacing:.13em}.local-city h3{margin:5px 0;color:#fff!important;font:600 29px/1 var(--serif);text-shadow:0 1px 5px rgba(0,0,0,.2)}.featured-city h3{font-size:42px}.local-city p{margin:0;max-width:350px;color:#f0f4ff;font-size:11px;line-height:1.4}.local-city b{display:inline-flex;align-items:center;gap:8px;margin-top:12px;color:#fff;font-size:10px;font-weight:800}.local-city b i{font-style:normal;font-size:15px}

/* Trust/newsletter */
.feature-row{padding:22px 0 0}.feature-grid{display:grid;grid-template-columns:repeat(4,.8fr) 2.2fr;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 7px 20px rgba(8,43,92,.05)}.feature-box,.newsletter-box{min-height:96px;padding:16px 17px;border-right:1px solid var(--line)}.feature-box{display:flex;gap:12px;align-items:flex-start}.feature-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;color:var(--brand);background:var(--brand-soft);border-radius:12px}.feature-icon svg{width:23px;height:23px}.feature-box b,.newsletter-box b{display:block;color:#172844;font-size:12px}.feature-box p,.newsletter-box p{margin:5px 0 0;color:#687b92;font-size:10px;line-height:1.4}.newsletter-box{display:grid;grid-template-columns:auto 1.1fr 1.35fr;gap:12px;align-items:center;border-right:0}.newsletter-form{display:grid;grid-template-columns:1fr 88px;gap:8px}.newsletter-form input{min-width:0;min-height:39px;border:1px solid #cad6e4;border-radius:12px;padding:0 12px;outline:none;color:#27384e}.newsletter-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(35,65,255,.10)}.newsletter-form button{min-height:39px;border:0;border-radius:12px;background:linear-gradient(90deg,var(--brand-dark),var(--brand),var(--brand-bright));color:#fff;font-size:10px;font-weight:800;cursor:pointer}

/* Footer — corrected structure and contrast */
.site-footer{margin-top:28px;background:linear-gradient(100deg,#050d70 0%,#0718bb 52%,#1736ec 100%);color:#fff;padding:30px 0 0}.footer-grid{display:grid;grid-template-columns:1.35fr repeat(5,.72fr) 1.15fr;gap:24px;align-items:start}.footer-brand{min-width:0}.footer-logo-image{display:block;width:230px;padding:7px;background:#fff;border-radius:10px;box-shadow:0 8px 22px rgba(0,0,0,.18)}.footer-logo-image img{width:100%;height:auto}.footer-brand p{max-width:245px;margin:14px 0;color:#edf1ff;font-size:11px;line-height:1.5}.socials{display:flex;gap:8px}.socials a{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.35);border-radius:50%;color:#fff;font-size:10px;font-weight:700}.socials a:hover{background:#fff;color:var(--brand)}.footer-col{display:flex;flex-direction:column;gap:7px}.footer-col h3,.footer-cta h3{margin:3px 0 8px;color:#fff;font-size:12px;font-weight:800}.footer-col a{color:#eef2ff;font-size:10.5px;line-height:1.35}.footer-col a:hover{color:#fff;text-decoration:underline}.footer-cta{padding:15px;border:1px solid rgba(255,255,255,.28);border-radius:16px;background:rgba(255,255,255,.08)}.cta-icon{width:42px;height:42px;display:grid;place-items:center;margin-bottom:9px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff}.cta-icon svg{width:24px;height:24px}.footer-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;margin-top:3px;border-radius:10px;background:#fff;color:#101c74;font-size:9.5px;font-weight:850}.footer-bottom{min-height:62px;margin-top:24px;border-top:1px solid rgba(255,255,255,.2);display:grid;grid-template-columns:1fr auto 40px;gap:24px;align-items:center;color:#eef2ff;font-size:10px}.bottom-links{display:flex;gap:26px}.bottom-links a{color:#eef2ff}.bottom-links a:hover{color:#fff;text-decoration:underline}.to-top{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--brand)!important;font-size:16px;font-weight:900}

/* Responsive */
@media(max-width:1260px){
  .shell{width:min(calc(100% - 44px),var(--container))}
  .brand.brand-image{width:245px}.main-nav{gap:20px}.main-nav a{font-size:12px}
  .topics-grid{grid-template-columns:repeat(4,1fr)}.topic-card{border-bottom:1px solid var(--line)}
  .articles-grid{grid-template-columns:repeat(2,1fr)}
  .feature-grid{grid-template-columns:repeat(2,1fr)}.newsletter-box{grid-column:1/3;border-top:1px solid var(--line)}
  .footer-grid{grid-template-columns:1.4fr repeat(3,1fr)}.footer-cta{grid-column:4}.footer-col:nth-of-type(4),.footer-col:nth-of-type(5){display:none}
}
@media(max-width:980px){
  .topbar-inner span:last-child{display:none}.nav-row{min-height:76px}.menu-toggle{display:block;margin-left:auto}.header-actions{display:none}
  .main-nav{display:none;position:absolute;left:22px;right:22px;top:110px;z-index:55;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:0}.main-nav.is-open{display:flex}.main-nav a{padding:12px}
  .hero-grid{grid-template-columns:1fr}.hero-copy{padding-bottom:18px}.hero-visual{justify-content:center}.hero-visual img{max-height:430px}
  .cities-heading{grid-template-columns:1fr;gap:10px}.cities-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}.local-city,.local-city.featured-city{min-height:230px;grid-row:auto}.featured-city .local-city-copy{width:80%}
  .footer-grid{grid-template-columns:1.35fr 1fr 1fr}.footer-cta{grid-column:auto}.footer-col:nth-of-type(3){display:none}.footer-bottom{grid-template-columns:1fr auto}.to-top{display:none}
}
@media(max-width:680px){
  .shell{width:min(calc(100% - 26px),var(--container))}.topbar{font-size:10px}.brand.brand-image{width:205px}.hero h1{font-size:46px}.hero p{font-size:15px}.hero-actions{flex-direction:column;align-items:stretch}.btn{width:100%;justify-content:space-between}.topics-grid{grid-template-columns:repeat(2,1fr)}.topic-card{min-height:160px}.articles-grid{grid-template-columns:1fr}.article-card{height:250px}.cities-grid{grid-template-columns:1fr}.local-city,.local-city.featured-city{min-height:240px}.featured-city .local-city-copy{width:88%}.cities-heading h2{font-size:29px}.feature-grid{grid-template-columns:1fr}.newsletter-box{grid-column:auto;grid-template-columns:auto 1fr}.newsletter-form{grid-column:1/3;grid-template-columns:1fr;margin-top:7px}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/3}.footer-col:nth-of-type(3){display:flex}.footer-cta{grid-column:1/3}.footer-bottom{grid-template-columns:1fr;gap:10px;padding:14px 0}.bottom-links{flex-wrap:wrap;gap:14px}.footer-logo-image{width:210px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


/* =========================================================
   REAL IMAGERY V1 — dopasowanie wygenerowanych grafik
   ========================================================= */
.hero-visual img{
  object-fit:cover;
  object-position:center center;
}
.article-card img{
  object-fit:cover;
  object-position:center;
  filter:saturate(.92) contrast(1.02);
}
.article-card::after{
  background:linear-gradient(180deg,rgba(2,18,38,.02) 12%,rgba(4,26,55,.35) 48%,rgba(4,24,52,.96) 100%);
}
.local-city.featured-city>img{
  filter:saturate(.92) contrast(1.03);
}
.featured-city .city-overlay{
  background:linear-gradient(90deg,rgba(3,20,72,.96) 0%,rgba(4,25,88,.66) 50%,rgba(4,25,88,.06) 100%);
}


/* =========================================================
   CITY IMAGES UPDATE — prawdziwe grafiki miast
   ========================================================= */
.local-city > img{
  object-fit: cover;
  object-position: center center;
}

.local-city:not(.featured-city) > img{
  opacity: 1;
  filter: saturate(.95) contrast(1.03) brightness(.92);
}

.local-city.featured-city > img{
  filter: saturate(.95) contrast(1.03);
}

.local-city .local-city-copy{
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.local-city:not(.featured-city) .local-city-copy{
  background: linear-gradient(180deg, rgba(4,17,93,.04) 0%, rgba(4,17,93,.32) 40%, rgba(4,17,93,.94) 100%);
}

.local-city .city-label{
  color: rgba(255,255,255,.92);
}

.local-city h3,
.local-city p,
.local-city b{
  color:#fff !important;
}


/* =========================================================
   HERO V2 — dłonie, świeca i lilia
   Pełna kompozycja inspirowana referencją użytkownika
   ========================================================= */

.hero{
  position:relative;
  padding:18px 0 0;
  overflow:hidden;
  background:#fff;
}

.hero-grid{
  position:relative;
  display:block;
  min-height:365px;
  border-radius:0;
  overflow:hidden;
}

.hero-visual{
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  width:100%;
  height:100%;
}

.hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 24%,
      rgba(255,255,255,.87) 38%,
      rgba(255,255,255,.38) 50%,
      rgba(255,255,255,0) 64%);
  pointer-events:none;
}

.hero-visual img{
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center center;
}

.hero-copy{
  position:relative;
  z-index:2;
  width:52%;
  min-height:365px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px 30px 40px 8px;
}

.hero h1{
  max-width:650px;
}

.hero p{
  max-width:500px;
}

.hero-actions{
  margin-bottom:0;
}

/* subtelna linia łukowa jak w inspiracji */
.hero-grid::after{
  content:"";
  position:absolute;
  z-index:1;
  left:-90px;
  bottom:-112px;
  width:430px;
  height:220px;
  border:1.5px solid rgba(35,65,255,.34);
  border-radius:50%;
  pointer-events:none;
}

/* większy oddech przed kafelkami */
.topics-strip{
  padding-top:34px;
}

@media(max-width:980px){
  .hero{
    padding-top:14px;
  }

  .hero-grid{
    min-height:0;
    overflow:visible;
  }

  .hero-copy{
    width:100%;
    min-height:0;
    padding:28px 0 28px;
  }

  .hero-visual{
    position:relative;
    inset:auto;
    height:290px;
    border-radius:18px;
    overflow:hidden;
  }

  .hero-visual::after{
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0) 30%);
  }

  .hero-visual img{
    object-position:66% center;
  }

  .hero-grid::after{
    display:none;
  }

  .topics-strip{
    padding-top:28px;
  }
}

@media(max-width:680px){
  .hero-copy{
    padding:22px 0 22px;
  }

  .hero h1{
    font-size:43px;
  }

  .hero-visual{
    height:220px;
    border-radius:15px;
  }

  .hero-visual img{
    object-position:69% center;
  }

  .topics-strip{
    padding-top:24px;
  }
}
