:root{
  --brand:#2627ad;
  --brand-dark:#050623;
  --ink:#121745;
  --text:#172033;
  --line:#e7eaf1;
  --soft:#f7f9fc;
  --white:#fff;
  --radius:8px;
  --shadow:0 18px 42px rgba(8,18,58,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;font-size:16px;line-height:1.65;background:#fff;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
.container{width:min(100% - 48px,1280px);margin-inline:auto}
.site-skip-link{position:absolute;left:16px;top:-60px;z-index:20;background:var(--brand);color:#fff;padding:10px 14px;border-radius:4px}.site-skip-link:focus{top:16px}

.site-header{height:108px;background:#fff;border-bottom:1px solid #edf1f5;display:flex;align-items:center;position:sticky;top:0;z-index:15}
.site-header__inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px}
.brand-logo img{width:clamp(199px,21.7vw,325px);height:auto;max-height:65px;object-fit:contain}
.primary-nav{display:flex;align-items:center;justify-content:center;gap:52px;font-size:13px;font-weight:800;text-transform:uppercase;color:var(--ink)}
.primary-nav a:hover{opacity:.72}
.header-phone,.karta-telefon,.button-outline{transition:transform .2s ease,opacity .2s ease}
.header-phone:hover,.karta-telefon:hover,.button-outline:hover{transform:translateY(-1px)}
.header-phone{display:inline-flex;align-items:center;gap:12px;padding:18px 24px;background:linear-gradient(90deg,var(--brand-dark),var(--brand));color:#fff;border-radius:8px;white-space:nowrap;font-weight:900;letter-spacing:.02em;box-shadow:0 10px 24px rgba(18,23,69,.18)}
.header-phone svg{width:26px;height:26px;fill:currentColor}.karta-telefon svg{width:42px;height:42px;fill:currentColor;flex:0 0 42px;margin-left:-4px}
.header-phone strong{font-size:20px;line-height:1}
.header-phone:focus-visible,.karta-telefon:focus-visible,.button-outline:focus-visible{outline:3px solid #b4b4ff;outline-offset:3px}

.hero-section{position:relative;overflow:hidden;background:linear-gradient(90deg,#fff 0%,#fff 39%,#f4f6fa 72%,#fafbfd 100%)}
.uklad-glowny{min-height:640px;display:grid;grid-template-columns:minmax(360px,470px) 1fr;align-items:center;gap:30px;position:relative}
.hero-section__copy{position:relative;z-index:2;padding:62px 0}
.hero-section__copy h1{margin:0 0 24px;color:var(--ink);font-family:Georgia,Times,serif;font-size:clamp(48px,5.3vw,68px);line-height:1.08;font-weight:500;letter-spacing:-.05em}
.hero-section__copy p{max-width:410px;margin:0 0 32px;font-size:19px;line-height:1.75;color:#1c2542}
.hero-section__media{position:absolute;inset:0 0 0 31%;z-index:1;overflow:hidden}
.hero-section__media::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.94) 16%,rgba(255,255,255,.56) 37%,rgba(38,39,173,.07) 68%,rgba(38,39,173,.02) 100%);z-index:1}
.hero-section__media img{width:100%;height:100%;object-fit:cover;object-position:center right;filter:saturate(.96) brightness(.995);transform:scale(1.002)}
.karta-telefon{display:inline-flex;align-items:center;justify-content:flex-start;gap:22px;background:linear-gradient(90deg,var(--brand-dark),var(--brand));color:#fff;border-radius:14px;padding:18px 28px 18px 24px;min-width:380px;min-height:102px;box-shadow:0 18px 34px rgba(38,39,173,.18)}
.karta-telefon span{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;line-height:1}.karta-telefon strong{display:block;font-size:30px;line-height:1;font-weight:900}
.karta-telefon small{display:block;margin-top:9px;text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.03em}.karta-telefon em{display:block;margin-top:6px;color:#fff;font-style:normal;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;opacity:.92}

.content-section{padding:18px 0 78px}
.section-eyebrow{margin:0 0 10px;text-align:center;color:var(--ink);font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.16em}
.section-eyebrow--left{text-align:left}
.services-section h2,.pricing-section h2{margin:0;text-align:center;color:var(--ink);font-family:Georgia,Times,serif;font-size:clamp(34px,3.2vw,46px);line-height:1.15;font-weight:600;letter-spacing:-.03em}
.section-divider{position:relative;width:82px;height:1px;margin:18px auto 34px;background:#cfd6e2}
.section-divider::after{content:"✦";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:15px;background:#fff;color:#7b85a0;padding:0 7px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.service-card{position:relative;background:#fff;border:1px solid #dfe4ed;border-radius:var(--radius);overflow:hidden;box-shadow:0 10px 28px rgba(7,27,56,.06)}
.service-card img{width:100%;height:210px;object-fit:cover}
.service-card__icon{position:absolute;left:24px;top:176px;width:76px;height:76px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(180deg,var(--brand),#2e2289);color:#fff;border:4px solid #fff;box-shadow:0 10px 22px rgba(38,39,173,.18)}
.service-card__icon svg{width:36px;height:36px}
.service-card__content{padding:34px 24px 24px;text-align:center}
.service-card__content h3{margin:0 0 8px;color:var(--ink);font-size:25px;line-height:1.2;font-weight:800}
.service-card__content p{margin:0 auto;max-width:290px;color:#2b3550;font-size:16px;line-height:1.6}

.pricing-box{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 34px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(90deg,#fff 0%,#fbfbfe 100%);box-shadow:0 14px 30px rgba(17,23,69,.05)}
.pricing-section h2{text-align:left;font-size:38px}
.pricing-box p:last-of-type{margin:12px 0 0;color:#39445d}
.button-outline{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border:1px solid var(--brand);border-radius:8px;color:var(--ink);background:#fff;font-size:13px;text-transform:uppercase;letter-spacing:.06em;font-weight:900}


.local-seo-section{padding:0 0 38px;background:#fff}
.local-seo-section .container{width:min(100% - 24px,1320px);max-width:none}
.local-seo-content{padding:28px 34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.local-seo-content h2{max-width:none;width:100%;margin:0 0 14px;color:var(--ink);font-family:Georgia,Times,serif;font-size:clamp(28px,3vw,40px);line-height:1.16;font-weight:700;letter-spacing:-.03em}
.local-seo-content p:not(.section-eyebrow){max-width:none;width:100%;margin:0 0 12px;color:#27324d;font-size:16px;line-height:1.75}
.local-seo-content p:last-child{margin-bottom:0}

.site-footer{padding:46px 0 22px;border-top:1px solid var(--line);background:#fff}
.site-footer__grid{display:grid;grid-template-columns:1.7fr .85fr .85fr 1fr;gap:44px;align-items:start}
.site-footer__brand img{width:clamp(199px,23.5vw,307px);height:auto;max-height:65px;object-fit:contain}
.site-footer__about p{max-width:340px;margin:16px 0 0;color:#4b5365;line-height:1.65}
.site-footer__links h2,.site-footer__contact h2{margin:0 0 12px;color:var(--ink);font-size:13px;text-transform:uppercase;letter-spacing:.14em;font-weight:900}
.site-footer__links a,.site-footer__contact span{display:block;margin:6px 0;color:#26304a;font-size:15px}
.site-footer__contact{font-style:normal}
.site-footer__phone{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin:0 0 10px;padding:0 22px;border-radius:10px;background:linear-gradient(90deg,var(--brand-dark),var(--brand));color:#fff;font-size:20px;font-weight:900;letter-spacing:.02em;box-shadow:0 10px 28px rgba(38,39,173,.16)}.site-footer__phone svg{width:22px;height:22px;fill:currentColor;flex:0 0 22px}.site-footer__phone span{line-height:1;color:#fff}.site-footer__phone svg{color:#fff}
.site-footer__bottom{margin-top:32px;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;color:#5d6678;font-size:13px}
.site-footer__bottom a{color:#5d6678}

@media (max-width:1100px){
  .container{width:min(100% - 36px,980px)}
  .site-header{height:auto;padding:14px 0}
  .site-header__inner{grid-template-columns:1fr auto;grid-template-areas:"brand phone" "nav nav";gap:14px}
  .brand-logo{grid-area:brand}.header-phone{grid-area:phone}.primary-nav{grid-area:nav;justify-content:flex-start;gap:28px;overflow:auto;padding-bottom:2px}
  .uklad-glowny{min-height:560px;grid-template-columns:minmax(320px,430px) 1fr}
  .hero-section__media{inset:0 0 0 28%}
  .services-grid{gap:20px}
}
@media (max-width:860px){
  .container{width:min(100% - 28px,760px)}
  .brand-logo img{width:clamp(199px,21.7vw,325px);height:auto;max-height:65px;object-fit:contain}
  .header-phone{padding:14px 18px}.header-phone strong{font-size:18px}
  .hero-section{background:#fff}.uklad-glowny{display:flex;flex-direction:column;min-height:auto;gap:0}.hero-section__copy{padding:34px 0 24px;width:100%}.hero-section__copy h1{font-size:clamp(40px,10vw,58px)}.hero-section__copy p{font-size:17px}
  .hero-section__media{position:relative;inset:auto;order:-1;width:calc(100% + 28px);height:320px;margin-inline:-14px}.hero-section__media::before{background:linear-gradient(180deg,rgba(38,39,173,.05) 0%,rgba(255,255,255,.52) 100%)}
  .karta-telefon{min-width:0;width:100%;justify-content:center}
  .services-grid{grid-template-columns:1fr}.service-card img{height:240px}.service-card__icon{top:206px}
  .pricing-box{flex-direction:column;align-items:flex-start}.local-seo-content{padding:26px 0}
  .site-footer__grid{grid-template-columns:1fr 1fr;gap:28px}
}
@media (max-width:560px){
  body{font-size:15px}.container{width:min(100% - 24px,480px)}
  .site-header__inner{grid-template-columns:1fr auto}
  .brand-logo img{width:clamp(199px,21.7vw,325px);height:auto;max-height:65px;object-fit:contain}
  .primary-nav{gap:20px;font-size:12px}
  .header-phone{gap:10px;padding:12px 14px}.header-phone strong{font-size:0}.header-phone strong::after{content:"Zadzwoń";font-size:13px}
  .hero-section__copy h1{font-size:clamp(34px,12vw,46px)}
  .hero-section__copy p{font-size:16px;line-height:1.7}
  .karta-telefon{padding:16px 18px;gap:14px;border-radius:12px;min-height:96px}.karta-telefon svg{width:38px;height:38px;flex-basis:38px;margin-left:0}.karta-telefon strong{font-size:24px}.karta-telefon small{font-size:11px}
  .content-section{padding:16px 0 52px}.services-section h2,.pricing-section h2{font-size:30px}.service-card__content{padding:30px 20px 22px}.service-card__content h3{font-size:20px}.service-card__content p{font-size:15px}
  .service-card img{height:200px}.service-card__icon{left:20px;top:166px;width:68px;height:68px}
  .pricing-box{padding:22px 20px}.pricing-section h2{text-align:left;font-size:30px}.local-seo-section{padding-bottom:30px}.local-seo-content h2{font-size:28px}.local-seo-content p:not(.section-eyebrow){font-size:15px}
  .site-footer__brand img{width:clamp(199px,23.5vw,307px);height:auto;max-height:65px;object-fit:contain}.site-footer__grid{grid-template-columns:1fr;gap:24px}.site-footer__phone{width:100%;font-size:20px}.site-footer__bottom{flex-direction:column;align-items:flex-start}
}

.site-footer__contact .site-footer__phone,.site-footer__contact .site-footer__phone span,.site-footer__contact .site-footer__phone svg{color:#fff}



/* === Nowy hero inspirowany grafiką reklamową === */
.hero-section--grave-care{
  position:relative;
  min-height:620px;
  overflow:hidden;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.hero-section--grave-care .hero-section__media{
  position:absolute;
  inset:0 0 0 47%;
  z-index:0;
  overflow:hidden;
}
.hero-section--grave-care .hero-section__media::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 10%,rgba(255,255,255,.88) 25%,rgba(255,255,255,.38) 46%,rgba(255,255,255,0) 70%),
    linear-gradient(180deg,rgba(255,255,255,.03),rgba(16,24,69,.06));
}
.hero-section--grave-care .hero-section__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(.93) contrast(.98) brightness(1.01);
  transform:none;
}
.hero-section__content{
  position:relative;
  z-index:2;
  min-height:620px;
  display:flex;
  align-items:center;
}
.hero-section--grave-care .hero-section__copy{
  width:min(760px,62%);
  padding:52px 0 36px;
}
.hero-section__eyebrow{
  margin:0 0 10px!important;
  color:var(--brand)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.hero-section--grave-care .hero-section__copy h1{
  margin:0 0 28px;
  color:var(--ink);
  font-family:Inter,Segoe UI,Arial,sans-serif;
  letter-spacing:-.045em;
}
.hero-section--grave-care .hero-section__copy h1 span{
  display:block;
  font-size:clamp(30px,3vw,47px);
  line-height:1.05;
  font-weight:500;
}
.hero-section--grave-care .hero-section__copy h1 strong{
  display:block;
  font-size:clamp(50px,5.5vw,84px);
  line-height:.98;
  font-weight:900;
}
.hero-section--grave-care .hero-section__copy h1 em{
  display:block;
  width:max-content;
  max-width:100%;
  margin-top:8px;
  color:#1760ef;
  font-family:"Segoe Script","Brush Script MT",cursive;
  font-size:clamp(32px,4vw,58px);
  line-height:1.05;
  font-weight:400;
  letter-spacing:-.04em;
  transform:rotate(-1deg);
}
.hero-section--grave-care .hero-section__copy h1 em::after{
  content:"";
  display:block;
  width:100%;
  height:3px;
  margin-top:6px;
  background:#1760ef;
  border-radius:999px;
  transform:rotate(-1deg);
}
.hero-services{
  display:flex;
  align-items:center;
  gap:0;
  margin:8px 0 30px;
}
.hero-services__item{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:190px;
  padding:0 24px;
  border-right:1px solid #cfd7ea;
}
.hero-services__item:first-child{padding-left:0}
.hero-services__item:last-child{border-right:0}
.hero-services__item strong{
  color:var(--ink);
  font-size:15px;
  line-height:1.28;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.hero-services__icon{
  width:58px;
  height:58px;
  flex:0 0 58px;
  display:grid;
  place-items:center;
  border:2px solid #1760ef;
  border-radius:50%;
  color:var(--ink);
  background:#fff;
}
.hero-services__icon svg{
  width:30px;
  height:30px;
}
.hero-section__footer{
  display:flex;
  align-items:center;
  gap:34px;
  padding-top:24px;
  border-top:1px solid #d8dfed;
}
.hero-contact{
  display:inline-flex;
  align-items:center;
  gap:16px;
  color:var(--ink);
}
.hero-contact__icon{
  width:66px;
  height:66px;
  flex:0 0 66px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(145deg,#1760ef,#0f2dbe);
  box-shadow:0 12px 26px rgba(23,96,239,.22);
}
.hero-contact__icon svg{
  width:32px;
  height:32px;
  fill:currentColor;
}
.hero-contact small{
  display:block;
  margin-bottom:2px;
  color:#1760ef;
  font-size:14px;
  line-height:1.2;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.hero-contact strong{
  display:block;
  font-size:clamp(34px,3.7vw,52px);
  line-height:1;
  font-weight:900;
}
.hero-trust{
  display:flex;
  align-items:center;
  gap:28px;
}
.hero-trust span{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  font-size:12px;
  line-height:1.3;
  font-weight:800;
  text-transform:uppercase;
}
.hero-trust svg{
  width:42px;
  height:42px;
  flex:0 0 42px;
  color:#1760ef;
}

@media (max-width:1100px){
  .hero-section--grave-care .hero-section__media{inset:0 0 0 42%}
  .hero-section--grave-care .hero-section__copy{width:68%}
  .hero-services__item{min-width:0;padding:0 16px}
  .hero-services__item strong{font-size:13px}
  .hero-services__icon{width:52px;height:52px;flex-basis:52px}
  .hero-trust{gap:18px}
}
@media (max-width:860px){
  .hero-section--grave-care{min-height:auto}
  .hero-section__content{min-height:auto;display:block}
  .hero-section--grave-care .hero-section__media{
    position:relative;
    inset:auto;
    width:calc(100% + 28px);
    height:330px;
    margin-inline:-14px;
  }
  .hero-section--grave-care .hero-section__media::before{
    background:linear-gradient(180deg,rgba(255,255,255,0) 55%,#fff 100%);
  }
  .hero-section--grave-care .hero-section__copy{
    width:100%;
    padding:26px 0 34px;
  }
  .hero-section--grave-care .hero-section__copy h1 strong{font-size:clamp(46px,10vw,66px)}
  .hero-services{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
  }
  .hero-services__item{
    min-width:0;
    padding:0 10px;
    gap:8px;
  }
  .hero-services__item:first-child{padding-left:0}
  .hero-services__icon{width:48px;height:48px;flex-basis:48px}
  .hero-services__icon svg{width:25px;height:25px}
  .hero-section__footer{flex-direction:column;align-items:stretch;gap:20px}
  .hero-contact{width:100%}
  .hero-trust{justify-content:space-between}
}
@media (max-width:560px){
  .hero-section--grave-care .hero-section__media{
    width:calc(100% + 24px);
    height:245px;
    margin-inline:-12px;
  }
  .hero-section__eyebrow{font-size:11px!important}
  .hero-section--grave-care .hero-section__copy h1 span{font-size:28px}
  .hero-section--grave-care .hero-section__copy h1 strong{font-size:44px}
  .hero-section--grave-care .hero-section__copy h1 em{font-size:32px}
  .hero-services{
    grid-template-columns:1fr;
    gap:12px;
  }
  .hero-services__item{
    padding:0;
    border-right:0;
  }
  .hero-services__item strong br{display:none}
  .hero-section__footer{padding-top:20px}
  .hero-contact__icon{width:56px;height:56px;flex-basis:56px}
  .hero-contact strong{font-size:33px}
  .hero-trust{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .hero-trust span{font-size:10px}
  .hero-trust svg{width:34px;height:34px;flex-basis:34px}
}
