/* =========================================================
   WDTX XI — HERO „WITRAŻ SERCA”
   Prefix klas: wdtx-xi-
   ========================================================= */

:root{
  --wdtx-xi-blue-950:#071a30;
  --wdtx-xi-blue-900:#0c2746;
  --wdtx-xi-blue-700:#255f98;
  --wdtx-xi-cream:#fffdfa;
  --wdtx-xi-gold:#e2c68f;
  --wdtx-xi-orange:#ff9000;
  --wdtx-xi-coral:#ff512f;
  --wdtx-xi-bg:linear-gradient(120deg, #255f98 0%, #d9e5ed 46%, #f1e4cf 58%, #a84439 100%);
  --wdtx-xi-bg-img: url("https://wdobrymtonie.info/wp-content/uploads/2026/08/witraz_serca_bg.png");
}

.wdtx-xi-hero{
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:clamp(480px, 52vw, 620px);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:var(--wdt-radius-surface);
  padding:30px 18px;
  background-color:#d9e5ed;
  background-image:var(--wdtx-xi-bg-img);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

.wdtx-xi-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,248,226,.08) 0%, rgba(255,248,226,0) 30%),
    linear-gradient(90deg,
      rgba(7,26,48,.22) 0%,
      rgba(7,26,48,.06) 28%,
      rgba(255,255,255,0) 50%,
      rgba(92,24,21,.05) 72%,
      rgba(92,24,21,.18) 100%);
}

.wdtx-xi-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(0deg, rgba(7,26,48,.18) 0%, rgba(7,26,48,0) 30%);
}

.wdtx-xi-hero__content{
  position:relative;
  z-index:1;
  width:min(100%, 900px);
  margin:0 auto;
  padding:28px 30px 26px;
  text-align:center;
  border:1px solid rgba(255,255,255,.20);
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(18,55,88,.42) 0%, rgba(8,28,50,.66) 100%);
  box-shadow:
    0 24px 60px rgba(3,14,26,.28),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(14px) saturate(116%);
  -webkit-backdrop-filter:blur(14px) saturate(116%);
}

.wdtx-xi-hero__content::after{
  content:"";
  position:absolute;
  left:18%;
  right:18%;
  bottom:-1px;
  height:90px;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse at 50% 100%, rgba(255,114,64,.15) 0%, rgba(255,114,64,0) 70%);
}

.wdtx-xi-hero__eyebrow{
  margin:0 0 10px;
  color:rgba(255,247,231,.95);
  font-size:clamp(12px, 1.25vw, 16px);
  line-height:1.3;
  font-weight:800;
  letter-spacing:1.25px;
  text-transform:uppercase;
  text-shadow:0 2px 8px rgba(0,0,0,.22);
}

.wdtx-xi-hero__title{
  margin:0;
  color:var(--wdtx-xi-cream);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(44px, 6.2vw, 78px);
  line-height:.96;
  font-weight:700;
  letter-spacing:-.025em;
  text-wrap:balance;
  text-shadow:
    0 2px 0 rgba(18,44,75,.24),
    0 10px 30px rgba(0,0,0,.30);
}

.wdtx-xi-hero__divider{
  width:min(260px, 46vw);
  height:2px;
  margin:16px auto 18px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(226,198,143,0), rgba(226,198,143,.96), rgba(226,198,143,0));
  box-shadow:0 0 18px rgba(226,198,143,.22);
}

.wdtx-xi-hero__lead{
  max-width:720px;
  margin:0 auto 18px;
  color:rgba(255,249,241,.88);
  font-size:clamp(15px, 1.45vw, 18px);
  line-height:1.5;
  font-weight:600;
  text-shadow:0 2px 10px rgba(0,0,0,.18);
  text-wrap:balance;
}

.wdtx-xi-hero__info{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  max-width:680px;
  margin:0 auto 17px;
}

.wdtx-xi-hero__item{
  min-height:76px;
  padding:13px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(255,255,255,.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 24px rgba(3,14,26,.12);
}

.wdtx-xi-hero__item-label{
  display:block;
  margin-bottom:5px;
  color:rgba(255,244,222,.76);
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.wdtx-xi-hero__item-value{
  display:block;
  color:var(--wdtx-xi-cream);
  font-size:clamp(15px, 1.55vw, 19px);
  line-height:1.3;
  font-weight:800;
  text-wrap:balance;
}

.wdtx-xi-hero__item-note{
  display:block;
  margin-top:5px;
  color:rgba(255,244,222,.72);
  font-size:12px;
  line-height:1.3;
  font-weight:600;
}

.wdtx-xi-hero__item-note-red {
  color: #000;
  font-size:14px;
}

.wdtx-xi-hero__location{
  max-width:720px;
  margin:0 auto 20px;
  color:rgba(255,249,241,.92);
  font-size:clamp(14px, 1.35vw, 18px);
  line-height:1.42;
  font-weight:650;
  text-shadow:0 3px 12px rgba(0,0,0,.18);
  text-wrap:balance;
}

.wdtx-xi-hero__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}

.wdtx-xi-hero__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:220px;
  min-height:56px;
  padding:14px 25px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  text-decoration:none !important;
  font-size:16px;
  line-height:1.2;
  font-weight:800;
  box-sizing:border-box;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.wdtx-xi-hero__btn:hover{
  transform:translateY(-2px);
}

.wdtx-xi-hero__btn--primary{
  color:#fff !important;
  background:linear-gradient(180deg, var(--wdtx-xi-orange) 0%, var(--wdtx-xi-coral) 100%);
  box-shadow:
    0 14px 28px rgba(9,28,50,.26),
    inset 0 1px 0 rgba(255,255,255,.17);
}

.wdtx-xi-hero__btn--primary:hover{
  box-shadow:
    0 18px 34px rgba(9,28,50,.34),
    inset 0 1px 0 rgba(255,255,255,.20);
}

.wdtx-xi-hero__btn--ghost{
  color:var(--wdtx-xi-cream) !important;
  border-color:rgba(255,255,255,.24);
  background:rgba(255,255,255,.10);
  box-shadow:
    0 12px 24px rgba(9,28,50,.14),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.wdtx-xi-hero__btn--ghost:hover{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.32);
}

@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){
  .wdtx-xi-hero__content{background:rgba(8,28,50,.82);}
  .wdtx-xi-hero__btn--ghost{background:rgba(255,255,255,.14);}
}

@media (max-width:900px){
  .wdtx-xi-hero{
    min-height:520px;
    padding:24px 16px;
    background-position:center center;
  }

  .wdtx-xi-hero__content{
    width:min(100%, 760px);
    padding:24px 20px 22px;
    border-radius:24px;
  }
}

@media (max-width:620px){
  .wdtx-xi-hero{
    min-height:auto;
    padding:22px 12px;
    background-position:center center;
  }

  .wdtx-xi-hero::before{
    background:
      linear-gradient(180deg, rgba(7,26,48,.10) 0%, rgba(7,26,48,.03) 45%, rgba(91,28,24,.08) 100%);
  }

  .wdtx-xi-hero__content{
    padding:22px 14px 20px;
    border-radius:20px;
    background:linear-gradient(180deg, rgba(18,55,88,.50) 0%, rgba(8,28,50,.76) 100%);
  }

  .wdtx-xi-hero__eyebrow{
    margin-bottom:9px;
    font-size:11px;
    letter-spacing:1px;
  }

  .wdtx-xi-hero__title{
    font-size:clamp(38px, 12vw, 54px);
    line-height:.98;
  }

  .wdtx-xi-hero__divider{
    width:120px;
    margin:14px auto 16px;
  }

  .wdtx-xi-hero__lead{
    font-size:14px;
    margin-bottom:16px;
  }

  .wdtx-xi-hero__info{
    grid-template-columns:1fr;
    gap:8px;
    max-width:520px;
    margin-bottom:16px;
  }

  .wdtx-xi-hero__item{
    min-height:0;
    padding:11px 13px;
    border-radius:16px;
  }

  .wdtx-xi-hero__item-value{
    font-size:15px;
  }

  .wdtx-xi-hero__location{
    margin-bottom:18px;
    font-size:14px;
  }

  .wdtx-xi-hero__actions{
    gap:9px;
  }

  .wdtx-xi-hero__btn{
    width:100%;
    min-width:0;
    min-height:52px;
    padding:13px 16px;
    font-size:15px;
  }
}