/* KONTENEROLOGIA HOMEPAGE HERO EPIC FULLBG HOTFIX 4.4 */

.hdp-page{
  background:
    radial-gradient(circle at 80% 7%,rgba(43,93,168,.12),transparent 34rem),
    #0B1220;
  color:#C7D3E6;
}
.hdp-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto}
.hdp-kicker{font-family:var(--font-mono);font-size:.66rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:#5F718B}
.hdp-section{padding:96px 0;border-top:1px solid #1A263A}
.hdp-section-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.58fr);gap:64px;align-items:end;margin-bottom:38px}
.hdp-section-head h2{margin:10px 0 0;max-width:780px;color:#fff;font-family:var(--font-heading);font-weight:400;font-size:clamp(2.35rem,4.3vw,4.15rem);line-height:1;letter-spacing:-.045em}
.hdp-section-head h2 em{color:#4C7FD4;font-style:italic}
.hdp-section-head>p{margin:0;color:#8290A8;line-height:1.72;font-size:.88rem}

.hdp-hero{
  position:relative;
  overflow:hidden;
  min-height:820px;
  padding:0;
  background:#07101D;
}
.hdp-hero:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:180px;
  background:linear-gradient(180deg, rgba(7,16,29,0) 0%, rgba(7,16,29,.68) 58%, #07101D 100%);
  z-index:4;
  pointer-events:none;
}

.hdp-hero-fullbg .hdp-hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  background:#07101D;
}
.hdp-hero-fullbg .hdp-hero-bg img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:62% 52%;
  filter:saturate(.96) contrast(1.03) brightness(.93);
}
.hdp-hero-fullbg .hdp-hero-bg:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,
      rgba(6,12,23,.94) 0%,
      rgba(6,12,23,.92) 11%,
      rgba(6,12,23,.84) 24%,
      rgba(6,12,23,.68) 38%,
      rgba(6,12,23,.42) 54%,
      rgba(6,12,23,.16) 68%,
      rgba(6,12,23,.10) 100%),
    radial-gradient(circle at 19% 46%, rgba(76,127,212,.16) 0%, rgba(76,127,212,.08) 22%, rgba(76,127,212,0) 54%),
    linear-gradient(180deg, rgba(6,12,23,.18) 0%, rgba(6,12,23,.02) 28%, rgba(6,12,23,.26) 100%);
}
.hdp-hero-fullbg .hdp-hero-bg:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background-image:
    linear-gradient(rgba(76,127,212,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,127,212,.022) 1px, transparent 1px);
  background-size:72px 72px;
  opacity:.55;
  mix-blend-mode:screen;
}

.hdp-hero-fullbg-inner{
  position:relative;
  z-index:3;
  min-height:820px;
  display:flex;
  align-items:center;
}
.hdp-hero-fullbg-copy{
  width:min(50%, 640px);
  max-width:640px;
  padding:132px 0 118px;
}
.hdp-hero-kicker{
  margin:0 0 22px;
  color:#4C7FD4;
  font:600 .7rem/1 var(--font-mono);
  letter-spacing:.24em;
}
.hdp-hero-fullbg-copy h1{
  margin:0;
  max-width:none;
  color:#fff;
  font-family:var(--font-heading);
  font-weight:400;
  font-size:inherit;
  line-height:1;
  letter-spacing:-.05em;
}
.hdp-hero-title{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
}
.hdp-hero-line-top{
  font-size:clamp(4rem, 5.25vw, 5.85rem);
  line-height:.92;
}
.hdp-hero-line-bottom{
  margin-top:.02em;
  font-size:clamp(3.95rem, 5.05vw, 5.5rem);
  line-height:.92;
}
.hdp-hero-line{
  display:block;
  white-space:nowrap;
}
.hdp-hero-fullbg-copy h1 em{
  display:inline;
  margin-top:0;
  color:#4C7FD4;
  font-style:italic;
  font-weight:400;
  white-space:nowrap;
}
.hdp-hero-fullbg-lead{
  max-width:565px;
  margin:30px 0 0;
  color:#D0D8E6;
  font-size:1rem;
  line-height:1.78;
}
.hdp-hero-fullbg-copy .hdp-actions{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:34px;
}
.hdp-hero-fullbg-copy .hdp-btn{
  position:relative;
  min-width:220px;
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 66px 0 20px;
  overflow:hidden;
  border-radius:7px;
  color:#EAF1FF;
  font-size:.84rem;
  font-weight:600;
  letter-spacing:.002em;
  text-align:left;
  box-shadow:0 10px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.025);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.hdp-hero-fullbg-copy .hdp-btn:before{
  content:"";
  position:absolute;
  inset:0 46px 0 0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.026),rgba(255,255,255,0) 48%);
}
.hdp-hero-fullbg-copy .hdp-btn:after{
  content:"›";
  position:absolute;
  top:0;
  right:0;
  width:52px;
  height:100%;
  display:grid;
  place-items:center;
  padding-left:7px;
  color:#fff;
  font-size:1.8rem;
  font-weight:300;
  line-height:1;
  clip-path:polygon(25% 0,100% 0,100% 100%,25% 100%,0 50%);
  transition:filter .18s ease, transform .18s ease, background .18s ease;
}
.hdp-hero-fullbg-copy .hdp-btn-primary{
  border:1px solid rgba(76,127,212,.82);
  background:linear-gradient(90deg,rgba(10,24,45,.95),rgba(12,31,59,.92));
}
.hdp-hero-fullbg-copy .hdp-btn-primary:after{
  background:linear-gradient(180deg,#4C8AF2 0%,#2F67C7 100%);
  box-shadow:-8px 0 18px rgba(43,93,168,.18);
}
.hdp-hero-fullbg-copy .hdp-btn-primary:hover{
  transform:translateY(-1px);
  border-color:#6F9DE9;
  background:linear-gradient(90deg,rgba(12,29,55,.98),rgba(15,37,69,.96));
  box-shadow:0 14px 34px rgba(0,0,0,.24),0 0 0 1px rgba(76,127,212,.08);
}
.hdp-hero-fullbg-copy .hdp-btn-primary:hover:after{
  filter:brightness(1.08);
}
.hdp-hero-fullbg-copy .hdp-btn-secondary{
  border:1px solid rgba(111,136,177,.48);
  background:linear-gradient(90deg,rgba(9,20,37,.94),rgba(12,25,45,.91));
}
.hdp-hero-fullbg-copy .hdp-btn-secondary:after{
  background:linear-gradient(180deg,#405673 0%,#27394F 100%);
  box-shadow:-8px 0 18px rgba(25,43,70,.18);
}
.hdp-hero-fullbg-copy .hdp-btn-secondary:hover{
  transform:translateY(-1px);
  color:#fff;
  border-color:rgba(129,157,202,.68);
  background:linear-gradient(90deg,rgba(12,26,47,.98),rgba(15,31,55,.96));
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}
.hdp-hero-fullbg-copy .hdp-btn-secondary:hover:after{
  filter:brightness(1.1);
}

@media(max-width:1260px){
  .hdp-hero,
  .hdp-hero-fullbg-inner{
    min-height:760px;
  }
  .hdp-hero-fullbg .hdp-hero-bg img{
    object-position:64% 52%;
  }
  .hdp-hero-fullbg-copy{
    width:min(54%, 620px);
    padding:112px 0 102px;
  }
  .hdp-hero-line-top{
    font-size:clamp(3.7rem, 5.2vw, 5rem);
  }
  .hdp-hero-line-bottom{
    font-size:clamp(3.65rem, 4.95vw, 4.8rem);
  }
}

@media(max-width:1024px){
  .hdp-hero,
  .hdp-hero-fullbg-inner{
    min-height:700px;
  }
  .hdp-hero-fullbg .hdp-hero-bg img{
    object-position:69% 50%;
  }
  .hdp-hero-fullbg .hdp-hero-bg:before{
    background:
      linear-gradient(90deg,
        rgba(6,12,23,.95) 0%,
        rgba(6,12,23,.9) 16%,
        rgba(6,12,23,.8) 34%,
        rgba(6,12,23,.58) 50%,
        rgba(6,12,23,.26) 68%,
        rgba(6,12,23,.12) 100%),
      radial-gradient(circle at 22% 44%, rgba(76,127,212,.14) 0%, rgba(76,127,212,.06) 26%, rgba(76,127,212,0) 54%),
      linear-gradient(180deg, rgba(6,12,23,.18) 0%, rgba(6,12,23,.02) 28%, rgba(6,12,23,.28) 100%);
  }
  .hdp-hero-fullbg-copy{
    width:min(58%, 590px);
    padding:104px 0 94px;
  }
  .hdp-hero-line-top{
    font-size:clamp(3.35rem, 6vw, 4.4rem);
  }
  .hdp-hero-line-bottom{
    font-size:clamp(3.2rem, 5.65vw, 4.2rem);
  }
  .hdp-hero-fullbg-lead{
    max-width:500px;
    font-size:.96rem;
  }
}

@media(max-width:760px){
  .hdp-hero,
  .hdp-hero-fullbg-inner{
    min-height:690px;
  }
  .hdp-hero-fullbg .hdp-hero-bg img{
    object-position:76% 50%;
  }
  .hdp-hero-fullbg .hdp-hero-bg:before{
    background:
      linear-gradient(180deg, rgba(6,12,23,.82) 0%, rgba(6,12,23,.62) 32%, rgba(6,12,23,.38) 70%, rgba(6,12,23,.30) 100%),
      linear-gradient(90deg, rgba(6,12,23,.92) 0%, rgba(6,12,23,.72) 42%, rgba(6,12,23,.34) 100%);
  }
  .hdp-hero-fullbg-copy{
    width:100%;
    max-width:560px;
    padding:86px 0 84px;
  }
  .hdp-hero-kicker{
    margin-bottom:16px;
    font-size:.62rem;
  }
  .hdp-hero-line-top{
    font-size:clamp(2.9rem, 11.8vw, 4rem);
    white-space:nowrap;
  }
  .hdp-hero-line-bottom{
    font-size:clamp(2.75rem, 10.9vw, 3.7rem);
    white-space:nowrap;
  }
  .hdp-hero-fullbg-copy h1{
    max-width:none;
    font-size:clamp(2.9rem, 10.4vw, 4.3rem);
    line-height:.94;
  }
  .hdp-hero-fullbg-lead{
    margin-top:22px;
    font-size:.93rem;
    line-height:1.68;
    max-width:92%;
  }
  .hdp-hero-fullbg-copy .hdp-actions{
    margin-top:26px;
  }
}

@media(max-width:520px){
  .hdp-hero,
  .hdp-hero-fullbg-inner{
    min-height:640px;
  }
  .hdp-hero-fullbg-copy{
    padding:74px 0 72px;
  }
  .hdp-hero-fullbg-copy h1{
    max-width:none;
    font-size:clamp(2.45rem, 13.4vw, 3.5rem);
  }
  .hdp-hero-fullbg-lead{
    max-width:100%;
    font-size:.9rem;
  }
  .hdp-hero-fullbg-copy .hdp-actions{
    display:grid;
  }
  .hdp-hero-fullbg-copy .hdp-btn{
    width:100%;
  }
}
.hdp-tools{background:#09111D}.hdp-tool-grid{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid #23314A;border-top:1px solid #23314A}
.hdp-tool{min-height:220px;display:flex;flex-direction:column;padding:21px;border-right:1px solid #23314A;border-bottom:1px solid #23314A;background:rgba(17,26,43,.35);transition:.17s ease}
.hdp-tool:hover{background:#111A2B;box-shadow:inset 0 2px 0 #4C7FD4}
.hdp-tool-top{display:flex;justify-content:space-between;color:#53627B;font:600 .6rem var(--font-mono);letter-spacing:.07em}.hdp-tool-top b{font-size:.85rem;color:#53627B}.hdp-tool:hover .hdp-tool-top b{color:#4C7FD4}
.hdp-tool h3{margin:42px 0 8px;color:#fff;font-family:var(--font-heading);font-size:1.65rem;font-weight:400}.hdp-tool p{margin:0;color:#8290A8;font-size:.8rem;line-height:1.55}.hdp-tool small{margin-top:auto;padding-top:24px;color:#60728D;font:500 .61rem var(--font-mono)}
.hdp-tools-footer{display:flex;justify-content:space-between;gap:20px;margin-top:15px;color:#60718A;font-size:.7rem}.hdp-tools-footer a{color:#4C7FD4}

.hdp-incident-list{border-top:1px solid #23314A}
.hdp-incident-list article{display:grid;grid-template-columns:125px minmax(0,1fr) 320px;gap:28px;align-items:center;padding:24px 0;border-bottom:1px solid #23314A}
.hdp-incident-id{color:#4C7FD4;font:600 .62rem var(--font-mono);letter-spacing:.08em}.hdp-incident-list h3{margin:0;color:#fff;font-family:var(--font-heading);font-size:1.5rem;font-weight:400}.hdp-incident-list p{margin:7px 0 0;color:#8290A8;font-size:.8rem;line-height:1.58}
.hdp-incident-list dl{display:grid;grid-template-columns:repeat(3,1fr);margin:0;border:1px solid #23314A}.hdp-incident-list dl div{padding:10px;border-right:1px solid #23314A}.hdp-incident-list dl div:last-child{border-right:0}.hdp-incident-list dt{color:#53627B;font:600 .55rem var(--font-mono)}.hdp-incident-list dd{margin:5px 0 0;color:#D7A34A;font:600 .61rem var(--font-mono)}

.hdp-knowledge{background:#0D1726}.hdp-knowledge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hdp-knowledge-card{min-height:245px;display:flex;flex-direction:column;padding:22px;border:1px solid #23314A;background:#0B1422}.hdp-knowledge-card:hover{border-color:#4C7FD4}.hdp-knowledge-card>span{color:#53627B;font:600 .6rem var(--font-mono)}.hdp-knowledge-card h3{margin:38px 0 10px;color:#fff;font-family:var(--font-heading);font-size:1.55rem;font-weight:400}.hdp-knowledge-card p{margin:0;color:#8290A8;font-size:.79rem;line-height:1.62}.hdp-knowledge-card strong{margin-top:auto;padding-top:20px;color:#4C7FD4;font-size:.72rem}
.hdp-featured-article{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:22px;align-items:center;margin-top:12px;padding:18px 20px;border:1px solid #23314A;background:#08101C}.hdp-featured-article>span{color:#D7A34A;font:600 .59rem var(--font-mono)}.hdp-featured-article strong{display:block;color:#EAF1FF}.hdp-featured-article p{margin:5px 0 0;color:#71819A;font-size:.72rem}.hdp-featured-article>b{color:#4C7FD4;font-size:.72rem}

.hdp-work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hdp-work-grid article{min-height:330px;display:flex;flex-direction:column;padding:24px;border:1px solid #23314A;background:#0D1726}.hdp-work-grid article.is-accent{border-color:#2B5DA8;background:linear-gradient(180deg,#112342,#0D1726)}.hdp-work-grid article>span{color:#607694;font:600 .6rem var(--font-mono)}.hdp-work-grid h3{margin:46px 0 12px;color:#fff;font-family:var(--font-heading);font-size:1.8rem;font-weight:400}.hdp-work-grid p{margin:0;color:#8290A8;line-height:1.65;font-size:.8rem}.hdp-work-grid article>div{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-top:auto;padding-top:28px;border-top:1px solid #23314A}.hdp-work-grid article>div strong{color:#EAF1FF;font-size:.76rem}.hdp-work-grid article>div a{color:#4C7FD4;font-size:.7rem}
.hdp-fit-strip{display:grid;grid-template-columns:1fr 1fr;margin-top:13px;border:1px solid #23314A}.hdp-fit-strip>div{padding:17px 19px}.hdp-fit-strip>div+div{border-left:1px solid #23314A}.hdp-fit-strip span{display:block;color:#53627B;font:600 .58rem var(--font-mono);letter-spacing:.06em}.hdp-fit-strip strong{display:block;margin-top:7px;color:#AFC0D8;font-size:.77rem;line-height:1.45}

.hdp-about{background:#09111D}.hdp-about-grid{display:grid;grid-template-columns:380px minmax(0,1fr);gap:70px;align-items:center}
.hdp-about figure{position:relative;margin:0}.hdp-about figure img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border:1px solid #23314A}.hdp-about figcaption{position:absolute;left:-12px;bottom:22px;display:flex;gap:10px;align-items:center;padding:12px 15px;background:#0B1220;border:1px solid #2B5DA8}.hdp-about figcaption strong{color:#4C7FD4;font-family:var(--font-heading);font-size:2rem;font-weight:400}.hdp-about figcaption span{color:#8290A8;font:600 .57rem var(--font-mono);line-height:1.3}
.hdp-about h2{margin:11px 0 24px;color:#fff;font-family:var(--font-heading);font-weight:400;font-size:clamp(2.4rem,4vw,4rem);line-height:1}.hdp-about h2 em{color:#4C7FD4;font-style:italic}.hdp-about p{max-width:720px;color:#8290A8;line-height:1.72;font-size:.86rem}.hdp-about blockquote{margin:27px 0 0;padding:18px 0 18px 20px;border-left:2px solid #4C7FD4;color:#D5E0EF;font-family:var(--font-heading);font-size:1.16rem;line-height:1.45}
.hdp-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:22px}.hdp-tags span{padding:7px 9px;border:1px solid #23314A;color:#657790;font-size:.63rem}

.hdp-process-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #23314A;border-left:1px solid #23314A}.hdp-process-grid article{min-height:220px;padding:22px;border-right:1px solid #23314A;border-bottom:1px solid #23314A}.hdp-process-grid article>span{color:#4C7FD4;font:600 .62rem var(--font-mono)}.hdp-process-grid h3{margin:46px 0 10px;color:#fff;font-family:var(--font-heading);font-size:1.55rem;font-weight:400}.hdp-process-grid p{margin:0;color:#8290A8;font-size:.8rem;line-height:1.6}

.hdp-content-world{background:#0D1726}.hdp-world-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hdp-world-grid>a{min-height:260px;display:flex;flex-direction:column;padding:22px;border:1px solid #23314A;background:#0A1423}.hdp-world-grid>a:hover{border-color:#4C7FD4}.hdp-world-grid span{color:#53627B;font:600 .6rem var(--font-mono)}.hdp-world-grid h3{margin:42px 0 10px;color:#fff;font-family:var(--font-heading);font-size:1.65rem;font-weight:400}.hdp-world-grid p{margin:0;color:#8290A8;font-size:.8rem;line-height:1.58}.hdp-world-grid strong{margin-top:auto;padding-top:20px;color:#4C7FD4;font-size:.72rem}
.hdp-blog-row{display:grid;grid-template-columns:repeat(3,1fr);margin-top:12px;border-top:1px solid #23314A;border-left:1px solid #23314A}.hdp-blog-row>a{min-height:155px;padding:17px;border-right:1px solid #23314A;border-bottom:1px solid #23314A}.hdp-blog-row span{color:#53627B;font:600 .57rem var(--font-mono)}.hdp-blog-row h3{margin:21px 0 14px;color:#DDE7F5;font-size:.84rem;line-height:1.45}.hdp-blog-row strong{color:#4C7FD4;font-size:.66rem}

.hdp-checklist-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:45px;align-items:center;padding:30px;border:1px solid #23314A;border-left:3px solid #4C7FD4;background:#0D1726}.hdp-checklist h2{margin:7px 0 8px;color:#fff;font-family:var(--font-heading);font-size:2.1rem;font-weight:400}.hdp-checklist h2 em{color:#4C7FD4;font-style:italic}.hdp-checklist p{margin:0;max-width:700px;color:#8290A8;font-size:.82rem}

.hdp-contact{padding-bottom:110px}.hdp-contact-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:60px;align-items:center;padding:36px;border:1px solid #2A3A56;background:linear-gradient(135deg,#111A2B,#08101C)}.hdp-contact h2{margin:8px 0 12px;color:#fff;font-family:var(--font-heading);font-size:clamp(2rem,3.8vw,3.5rem);font-weight:400}.hdp-contact h2 em{color:#4C7FD4;font-style:italic}.hdp-contact p{max-width:720px;margin:0;color:#8290A8;line-height:1.62}.hdp-contact-actions{display:grid;gap:10px;text-align:center}.hdp-contact-actions span{color:#65758E;font-size:.66rem}

@media(max-width:1000px){
  .hdp-hero-top,.hdp-about-grid{grid-template-columns:1fr}
  .hdp-hero-top{gap:34px}.hdp-hero-side{max-width:760px;padding-left:0;padding-top:20px;border-left:0;border-top:1px solid #2A3A56}
  .hdp-tool-grid,.hdp-knowledge-grid,.hdp-work-grid,.hdp-world-grid,.hdp-blog-row{grid-template-columns:repeat(2,1fr)}
  .hdp-incident-list article{grid-template-columns:105px minmax(0,1fr)}
  .hdp-incident-list dl{grid-column:2}
  .hdp-about-grid{gap:38px}.hdp-about figure{max-width:430px}
}
@media(max-width:760px){
  .hdp-wrap{width:min(100% - 30px,1180px)}
  .hdp-section{padding:68px 0}
  .hdp-section-head{grid-template-columns:1fr;gap:18px}
  .hdp-hero{padding:54px 0 58px}.hdp-hero-top{gap:28px}
  .hdp-hero-copy h1{font-size:clamp(3.2rem,14vw,5.25rem)}
  .hdp-hero-line{font-size:1rem}.hdp-hero-side{padding-top:18px}
  .hdp-journey{margin-top:38px;overflow:hidden}.hdp-journey-head{grid-template-columns:1fr;gap:6px}
  .hdp-journey-axis{grid-template-columns:repeat(6,138px);overflow-x:auto;padding:38px 18px 28px}
  .hdp-journey-line{left:42px;right:auto;top:53px;width:720px}
  .hdp-journey-bottom{grid-template-columns:1fr 1fr}.hdp-journey-bottom>div:nth-child(2){border-right:0}.hdp-journey-bottom>div:nth-child(-n+2){border-bottom:1px solid #23314A}
  .hdp-hero-facts{grid-template-columns:1fr}
  .hdp-tool-grid,.hdp-knowledge-grid,.hdp-work-grid,.hdp-world-grid,.hdp-blog-row,.hdp-process-grid{grid-template-columns:1fr}
  .hdp-incident-list article{grid-template-columns:1fr;gap:12px}.hdp-incident-list dl{grid-column:auto}
  .hdp-fit-strip{grid-template-columns:1fr}.hdp-fit-strip>div+div{border-left:0;border-top:1px solid #23314A}
  .hdp-about-grid{grid-template-columns:1fr}
  .hdp-checklist-grid,.hdp-contact-box{grid-template-columns:1fr}
  .hdp-featured-article{grid-template-columns:1fr}.hdp-featured-article>b{justify-self:start}
}






/* HOTFIX 4.1 — epic full background hero */
body.hdp-page .hdp-hero-fullbg .hdp-hero-fullbg-copy h1,
body.hdp-page .hdp-hero-fullbg .hdp-hero-fullbg-copy h1 em{font-family:var(--font-heading)!important;font-weight:400!important;}
body.hdp-page .hdp-hero-fullbg .hdp-hero-fullbg-copy h1 em{font-style:italic!important;}





/* HOTFIX 4.5 — split-chevron hero CTA */
@media(max-width:760px){
  .hdp-hero-fullbg-copy .hdp-btn{min-width:unset;flex:1 1 220px;}
}

/* Production cutover additions */
html{scroll-behavior:smooth}
#uslugi,#o-mnie,#jak-dzialamy,#narzedzia,#baza-wiedzy,#checklista,#kontakt{scroll-margin-top:92px}
.hdp-checklist-form{min-width:min(100%,430px);padding:20px;border:1px solid #2A3B56;border-radius:6px;background:rgba(8,16,28,.7)}
.hdp-checklist-form>label:first-of-type{display:block;margin-bottom:8px;color:#8290A8;font-size:.72rem}
.hdp-inline-form{display:flex;gap:8px}
.hdp-inline-form input{min-width:0;flex:1;height:46px;padding:0 13px;border:1px solid #2A3B56;border-radius:4px;background:#08101C;color:#EAF1FF;font:inherit;outline:none}
.hdp-inline-form input:focus{border-color:#4C7FD4;box-shadow:0 0 0 3px rgba(76,127,212,.08)}
.hdp-inline-form button{height:46px;padding:0 16px;border:1px solid #4C7FD4;border-radius:4px;background:linear-gradient(180deg,#356EC5,#2B5DA8);color:#fff;font:650 .75rem var(--font-body);cursor:pointer}
.hdp-inline-form button:hover{filter:brightness(1.07)}
.hdp-inline-form button:disabled{opacity:.6;cursor:wait}
.hdp-consent{display:flex;gap:9px;align-items:flex-start;margin-top:12px;color:#71819A;font-size:.68rem;line-height:1.45}
.hdp-consent input{margin-top:2px}
.hdp-form-status{min-height:18px;margin-top:10px;color:#8290A8;font-size:.7rem}
.hdp-form-status.is-success{color:#70B7A5}.hdp-form-status.is-error{color:#E16E6E}
.hdp-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:760px){.hdp-inline-form{display:grid}.hdp-inline-form button{width:100%}.hdp-checklist-form{min-width:0;width:100%}}


/* HOMEPAGE CONTACT FORM HOTFIX 4.6 */
.hdp-contact-box--form{
  grid-template-columns:minmax(0,.86fr) minmax(460px,1.14fr);
  gap:64px;
  align-items:start;
}
.hdp-contact-copy{padding:8px 0 0}
.hdp-contact-meta{
  display:grid;
  gap:8px;
  margin-top:26px;
  padding-top:20px;
  border-top:1px solid #23314A;
}
.hdp-contact-meta a,
.hdp-contact-meta span{
  color:#72839D;
  font-size:.72rem;
  line-height:1.45;
}
.hdp-contact-meta a{color:#8FB1EA}
.hdp-contact-meta a:hover{color:#B8CEFF}

.hdp-contact-form{
  position:relative;
  display:grid;
  gap:15px;
  padding:24px;
  border:1px solid #2B3C58;
  border-radius:8px;
  background:linear-gradient(180deg,rgba(13,23,38,.94),rgba(8,16,28,.94));
  box-shadow:0 24px 60px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}
.hdp-contact-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.hdp-contact-form label:not(.hdp-contact-consent){display:grid;gap:7px}
.hdp-contact-form label>span{
  color:#A7B6CB;
  font-size:.7rem;
  font-weight:600;
}
.hdp-contact-form label>span small{color:#60728D;font-weight:500}
.hdp-contact-form input[type="text"],
.hdp-contact-form input[type="email"],
.hdp-contact-form input[type="tel"],
.hdp-contact-form textarea{
  width:100%;
  border:1px solid #293A55;
  border-radius:5px;
  background:#08111F;
  color:#EAF1FF;
  font:inherit;
  font-size:.82rem;
  outline:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.hdp-contact-form input[type="text"],
.hdp-contact-form input[type="email"],
.hdp-contact-form input[type="tel"]{height:47px;padding:0 13px}
.hdp-contact-form textarea{min-height:145px;padding:12px 13px;resize:vertical;line-height:1.55}
.hdp-contact-form input::placeholder,
.hdp-contact-form textarea::placeholder{color:#53627B}
.hdp-contact-form input:focus,
.hdp-contact-form textarea:focus{
  border-color:#4C7FD4;
  background:#0A1424;
  box-shadow:0 0 0 3px rgba(76,127,212,.08);
}
.hdp-contact-consent{
  display:flex;
  align-items:flex-start;
  gap:9px;
  color:#6F8099;
  font-size:.68rem;
  line-height:1.48;
}
.hdp-contact-consent input{margin:2px 0 0;accent-color:#4C7FD4}
.hdp-contact-consent span{color:#6F8099!important;font-weight:400!important}
.hdp-contact-submit{
  min-height:48px;
  width:100%;
  border:1px solid #4C7FD4;
  border-radius:5px;
  background:linear-gradient(180deg,#356EC5 0%,#2B5DA8 100%);
  color:#fff;
  font:700 .76rem var(--font-body);
  cursor:pointer;
  box-shadow:0 12px 28px rgba(43,93,168,.15);
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;
}
.hdp-contact-submit:hover{transform:translateY(-1px);filter:brightness(1.07);box-shadow:0 16px 34px rgba(43,93,168,.22)}
.hdp-contact-submit:disabled{opacity:.6;cursor:wait;transform:none}

@media(max-width:1000px){
  .hdp-contact-box--form{grid-template-columns:1fr;gap:34px}
  .hdp-contact-form{max-width:720px;width:100%}
}
@media(max-width:620px){
  .hdp-contact-form{padding:18px}
  .hdp-contact-form-row{grid-template-columns:1fr}
}


/* ==========================================================
   HOMEPAGE MOBILE HERO HOTFIX 4.7
   Final overrides — keep desktop unchanged.
   ========================================================== */

@media (max-width: 760px){
  body.hdp-page .hdp-hero{
    padding:0 !important;
    min-height:calc(100svh - 72px) !important;
    max-height:none !important;
  }

  body.hdp-page .hdp-hero-fullbg-inner{
    min-height:calc(100svh - 72px) !important;
    align-items:flex-start !important;
    padding-top:clamp(64px, 10vh, 92px);
    padding-bottom:64px;
  }

  body.hdp-page .hdp-hero-fullbg-copy{
    width:100% !important;
    max-width:100% !important;
    padding:0 !important;
  }

  body.hdp-page .hdp-hero-kicker{
    margin:0 0 20px !important;
    font-size:.66rem !important;
    letter-spacing:.22em !important;
  }

  /* Fix the regression from the old generic .hdp-hero-line rule */
  body.hdp-page .hdp-hero-title{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:0 !important;
    width:100%;
    max-width:100%;
  }

  body.hdp-page .hdp-hero-line{
    display:block !important;
    white-space:nowrap !important;
    width:auto !important;
  }

  body.hdp-page .hdp-hero-line-top{
    font-size:clamp(2.65rem, 11.5vw, 3.45rem) !important;
    line-height:.94 !important;
    letter-spacing:-.045em !important;
  }

  body.hdp-page .hdp-hero-line-bottom{
    margin-top:4px !important;
    font-size:clamp(2.7rem, 11.7vw, 3.55rem) !important;
    line-height:.94 !important;
    letter-spacing:-.045em !important;
  }

  body.hdp-page .hdp-hero-fullbg-copy h1 em{
    white-space:nowrap !important;
  }

  body.hdp-page .hdp-hero-fullbg-lead{
    max-width:33ch !important;
    margin-top:27px !important;
    font-size:.96rem !important;
    line-height:1.65 !important;
    color:#D6DFEC !important;
  }

  body.hdp-page .hdp-hero-fullbg-copy .hdp-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
    margin-top:30px !important;
    width:min(100%, 420px);
  }

  body.hdp-page .hdp-hero-fullbg-copy .hdp-btn{
    width:100% !important;
    min-width:0 !important;
    min-height:56px !important;
    flex:none !important;
    padding-left:20px !important;
    font-size:.9rem !important;
  }

  /* On mobile the image is atmosphere, not the main content */
  body.hdp-page .hdp-hero-fullbg .hdp-hero-bg img{
    object-position:80% center !important;
    filter:saturate(.9) contrast(1.02) brightness(.72) !important;
  }

  body.hdp-page .hdp-hero-fullbg .hdp-hero-bg:before{
    background:
      linear-gradient(180deg,
        rgba(6,12,23,.86) 0%,
        rgba(6,12,23,.73) 34%,
        rgba(6,12,23,.58) 68%,
        rgba(6,12,23,.72) 100%),
      linear-gradient(90deg,
        rgba(6,12,23,.96) 0%,
        rgba(6,12,23,.88) 42%,
        rgba(6,12,23,.54) 72%,
        rgba(6,12,23,.34) 100%) !important;
  }

  body.hdp-page .hdp-hero:after{
    height:120px !important;
  }
}

@media (max-width: 430px){
  body.hdp-page .hdp-wrap{
    width:min(100% - 36px, 1180px);
  }

  body.hdp-page .hdp-hero-fullbg-inner{
    padding-top:clamp(56px, 8.5vh, 74px);
    padding-bottom:54px;
  }

  body.hdp-page .hdp-hero-line-top{
    font-size:clamp(2.42rem, 11.1vw, 2.95rem) !important;
  }

  body.hdp-page .hdp-hero-line-bottom{
    font-size:clamp(2.48rem, 11.3vw, 3rem) !important;
  }

  body.hdp-page .hdp-hero-fullbg-lead{
    max-width:31ch !important;
    font-size:.93rem !important;
  }

  body.hdp-page .hdp-hero-fullbg-copy .hdp-actions{
    width:100%;
    max-width:100%;
  }

  body.hdp-page .hdp-hero-fullbg .hdp-hero-bg img{
    object-position:82% center !important;
  }
}

@media (min-width: 761px) and (max-width: 1024px){
  body.hdp-page .hdp-hero-fullbg-copy{
    width:min(58%, 590px) !important;
  }

  body.hdp-page .hdp-hero-line-top{
    font-size:clamp(3.2rem, 5.6vw, 4.2rem) !important;
  }

  body.hdp-page .hdp-hero-line-bottom{
    font-size:clamp(3.05rem, 5.35vw, 4rem) !important;
  }
}
