/* =========================================================
   IntegraDomy.pl — Oferta content v14
   Osobny plik JS. Content bez headera i footera.
   ========================================================= */

.id-offer-v14,
.id-offer-v14 * {
  box-sizing: border-box;
}

.id-offer-v14 {
  --red: #ed1c24;
  --red-dark: #c90f17;
  --navy: #07111f;
  --text: #344055;
  --muted: #647084;
  --line: rgba(17,24,39,.10);
  --soft: #f7f8fa;
  --shadow: 0 18px 52px rgba(15,23,42,.08);

  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: var(--navy);
  overflow: hidden;
}

.id-offer-v14 a {
  color: inherit;
}

/* HERO */

.id-offer-v14-hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(420px, .82fr) minmax(520px, 1fr);
  align-items: stretch;
  border-bottom: 1px solid rgba(17,24,39,.07);
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.id-offer-v14-hero__copy {
  position: relative;
  z-index: 3;
  width: min(100%, 620px);
  margin-left: max(48px, calc((100vw - 1240px) / 2));
  padding: 64px 34px 62px 0;
}

.id-offer-v14-kicker {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
 
}



.id-offer-v14-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4vw, 54px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.055em;
  padding: 0px 0px 0px 15px;
  border-left: 3px solid rgb(235, 9, 9);
}

.id-offer-v14-hero p {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.76;
}

.id-offer-v14-hero__image {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}

.id-offer-v14-hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.75) 14%, rgba(255,255,255,.16) 42%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.18));
}

.id-offer-v14-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* WRAP */

.id-offer-v14-wrap,
.id-offer-v14-contact {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

.id-offer-v14-complex {
  padding: 34px 0 24px;
}

.id-offer-v14-section-title {
  position: relative;
  margin: 0 0 18px;
  padding-left: 24px;
}

.id-offer-v14-section-title > span {
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 34px;
  border-radius: 99px;
  background: var(--red);
}

.id-offer-v14-section-title h2 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.id-offer-v14-section-title p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

/* STAGES */

.id-offer-v14-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  align-items: start;
  max-height: 900px;
  opacity: 1;
  transform: translateY(0) scale(1);
  overflow: visible;
  transition:
    max-height .45s cubic-bezier(.2,.8,.2,1),
    opacity .25s ease,
    transform .30s ease;
}

.id-offer-v14.is-complex-open .id-offer-v14-grid,
.id-offer-v14-grid.is-hidden-hard {
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-14px) scale(.985) !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.id-offer-v14-stage {
  position: relative;
  min-width: 0;
  height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.055);
  scroll-margin-top: 120px;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.id-offer-v14-stage:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 52px rgba(15,23,42,.09);
}

.id-offer-v14-stage input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.id-offer-v14-stage__preview {
  display: block;
  cursor: pointer;
}

.id-offer-v14-stage__head {
  height: 104px;
  display: grid;
  grid-template-columns: 56px 40px 1fr 28px;
  align-items: center;
  gap: 13px;
  padding: 18px 18px 12px;
}

.id-offer-v14-stage__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #4f5968;
  background: #f2f3f5;
  transition: background-color .24s ease, color .24s ease, box-shadow .24s ease;
}

.id-offer-v14-stage__icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.id-offer-v14-stage__number {
  color: #4b5565;
  font-size: 15px;
  font-weight: 800;
}

.id-offer-v14-stage__head strong {
  font-size: 18px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.id-offer-v14-stage__toggle {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.08);
  background: #f6f7f9;
  transition: transform .24s ease, background-color .24s ease, border-color .24s ease;
}

.id-offer-v14-stage__toggle::before,
.id-offer-v14-stage__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 2px;
  border-radius: 99px;
  background: var(--navy);
  transition: background-color .24s ease;
}

.id-offer-v14-stage__toggle::before {
  transform: translate(-75%, -50%) rotate(45deg);
}

.id-offer-v14-stage__toggle::after {
  transform: translate(-25%, -50%) rotate(-45deg);
}

.id-offer-v14-stage__image {
  display: block;
  height: 206px;
  overflow: hidden;
  background: #eef1f4;
  transition: height .34s cubic-bezier(.2,.8,.2,1);
}

.id-offer-v14-stage__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .42s ease;
}

.id-offer-v14-stage:hover .id-offer-v14-stage__image img {
  transform: scale(1.035);
}

.id-offer-v14-stage__panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: height .34s cubic-bezier(.2,.8,.2,1), opacity .20s ease, transform .20s ease;
}

.id-offer-v14-stage__scope {
  padding: 0 18px;
}

.id-offer-v14-stage__scope small {
  display: block;
  margin: 10px 0 9px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.id-offer-v14-stage__scope ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.id-offer-v14-stage__scope li {
  position: relative;
  padding-left: 21px;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.28;
}

.id-offer-v14-stage__scope li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.id-offer-v14-stage__button,
.id-offer-v14-stage__complex {
  position: relative;
  z-index: 30;
  width: calc(100% - 36px);
  height: 0;
  max-height: 0;
  margin: 0 18px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  border-radius: 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  transition:
    height .25s ease,
    max-height .25s ease,
    margin .25s ease,
    opacity .18s ease,
    visibility .18s ease,
    background-color .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.id-offer-v14-stage__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  box-shadow: 0 14px 32px rgba(237,28,36,.20);
}

.id-offer-v14-stage__button span {
  font-size: 19px;
  transition: transform .22s ease;
}

.id-offer-v14-stage__button:hover {
  background: var(--red-dark);
}

.id-offer-v14-stage__button:hover span {
  transform: translateX(4px);
}

.id-offer-v14-stage__complex {
  border: 1px solid rgba(17,24,39,.13);
  background: #f7f8fa;
  color: #263244;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 10.8px;
}

.id-offer-v14-stage__complex:hover {
  background: #fff;
  border-color: rgba(237,28,36,.28);
  color: var(--red);
}

/* ACTIVE STAGE */

.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__preview .id-offer-v14-stage__icon {
  color: var(--red);
  background: rgba(237,28,36,.09);
  box-shadow: 0 0 0 8px rgba(237,28,36,.035);
}

.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__preview .id-offer-v14-stage__number {
  color: var(--red);
}

.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__preview .id-offer-v14-stage__toggle {
  transform: rotate(180deg);
  background: var(--red);
  border-color: var(--red);
}

.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__preview .id-offer-v14-stage__toggle::before,
.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__preview .id-offer-v14-stage__toggle::after {
  background: #fff;
}

.id-offer-v14-stage:has(input:checked) {
  border-color: rgba(237,28,36,.92);
  box-shadow: 0 20px 58px rgba(237,28,36,.10);
}

.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__preview .id-offer-v14-stage__image {
  height: 68px;
}

.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__panel {
  height: 244px;
  opacity: 1;
  transform: translateY(0);
}

.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__panel .id-offer-v14-stage__button {
  height: 38px;
  max-height: 38px;
  margin: 11px 18px 0;
  opacity: 1;
  visibility: visible;
}

.id-offer-v14-stage input:checked ~ .id-offer-v14-stage__panel .id-offer-v14-stage__complex {
  height: 34px;
  max-height: 34px;
  margin: 7px 18px 0;
  opacity: 1;
  visibility: visible;
}

/* COMPLEX VIEW */

.id-offer-v14-complex-view {
  display: none;
  position: relative;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  margin: 0;
  padding: 0 38px;
  border: 1px solid rgba(237,28,36,.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(237,28,36,.13), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
  box-shadow: 0 26px 76px rgba(15,23,42,.11);
  scroll-margin-top: 120px;
  transition:
    max-height .54s cubic-bezier(.2,.8,.2,1),
    padding .34s ease,
    margin .34s ease,
    opacity .28s ease,
    transform .38s cubic-bezier(.2,.8,.2,1);
}

.id-offer-v14-complex-view::before {
  content: "";
  position: absolute;
  inset: auto -12% -62% 18%;
  height: 300px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(237,28,36,.16), transparent 68%);
}

.id-offer-v14.is-complex-open .id-offer-v14-complex-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  max-height: 920px;
  opacity: 1;
  transform: translateY(0) scale(1);
  margin: 4px 0 0;
  padding: 38px;
}

.id-offer-v14-complex-view__logo-draw,
.id-offer-v14-complex-view__copy,
.id-offer-v14-complex-view__steps,
.id-offer-v14-complex-view__actions {
  position: relative;
  z-index: 2;
}

.id-offer-v14-complex-view__logo-draw {
  grid-column: 1 / -1;
  width: min(100%, 520px);
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 18px 40px rgba(15,23,42,.065);
}

.id-offer-v14-complex-view__logo-draw svg {
  width: 100%;
  height: auto;
  display: block;
}

.id-offer-v14-complex-view__logo-draw .draw {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
}

.id-offer-v14-complex-view__logo-draw .dark { stroke: #07111f; }
.id-offer-v14-complex-view__logo-draw .red { stroke: var(--red); }

.id-offer-v14-complex-view__logo-draw .text-black,
.id-offer-v14-complex-view__logo-draw .text-red,
.id-offer-v14-complex-view__logo-draw .claim {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  opacity: 0;
  transform: translateY(7px);
}

.id-offer-v14-complex-view__logo-draw .text-black { fill: #07111f; font-size: 35px; }
.id-offer-v14-complex-view__logo-draw .text-red { fill: var(--red); font-size: 35px; }
.id-offer-v14-complex-view__logo-draw .text-small { font-size: 20px; }
.id-offer-v14-complex-view__logo-draw .claim { fill: #07111f; font-size: 8px; letter-spacing: .12em; }

.id-offer-v14.is-logo-drawing .id-offer-v14-complex-view__logo-draw .draw {
  animation: idOfferV10DrawLine .95s ease forwards;
}

.id-offer-v14.is-logo-drawing .id-offer-v14-complex-view__logo-draw .mini {
  animation-duration: .55s;
  animation-delay: .58s;
}

.id-offer-v14.is-logo-drawing .id-offer-v14-complex-view__logo-draw text {
  animation: idOfferV10LogoText .44s ease .78s forwards;
}

.id-offer-v14-complex-view__copy > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.id-offer-v14-complex-view__copy h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(31px, 3vw, 48px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.id-offer-v14-complex-view__copy p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.68;
}

.id-offer-v14-complex-view__steps {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.id-offer-v14-complex-view__steps span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  color: #273244;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.id-offer-v14-complex-view__actions {
  display: grid;
  gap: 10px;
}

.id-offer-v14-complex-view__phone,
.id-offer-v14-complex-view__quote,
.id-offer-v14-complex-view__back {
  min-height: 56px;
  border-radius: 9px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.id-offer-v14-complex-view__phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 44px rgba(237,28,36,.24);
}

.id-offer-v14-complex-view__phone small {
  margin-top: 5px;
  font-size: 12px;
  opacity: .82;
}

.id-offer-v14-complex-view__quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(237,28,36,.24);
  background: #fff;
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.id-offer-v14-complex-view__quote span {
  font-size: 18px;
}

.id-offer-v14-complex-view__back {
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.55);
  color: #344055;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

/* Individual */

.id-offer-v14-individual {
  padding: 8px 0 24px;
}

.id-offer-v14-workrail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 18px;
}

.id-offer-v14-work {
  min-height: 70px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15,23,42,.045);
  transition: border-color .24s ease, transform .24s ease, box-shadow .24s ease;
}

.id-offer-v14-work:hover {
  transform: translateY(-3px);
  border-color: rgba(237,28,36,.28);
  box-shadow: 0 18px 46px rgba(15,23,42,.085);
}

.id-offer-v14-work span {
  width: 34px;
  height: 34px;
  color: var(--red);
}

.id-offer-v14-work svg,
.id-offer-v14-contact svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.id-offer-v14-work strong {
  font-size: 13px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Contact */

.id-offer-v14-contact {
  min-height: 82px;
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto 210px;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}

.id-offer-v14-contact__main,
.id-offer-v14-contact__phone,
.id-offer-v14-contact__email {
  display: flex;
  align-items: center;
  gap: 14px;
}

.id-offer-v14-contact__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
}

.id-offer-v14-contact__icon svg,
.id-offer-v14-contact__phone svg,
.id-offer-v14-contact__email svg {
  width: 25px;
  height: 25px;
}

.id-offer-v14-contact h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.id-offer-v14-contact p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.id-offer-v14-contact__phone,
.id-offer-v14-contact__email {
  padding-left: 22px;
  border-left: 1px solid rgba(17,24,39,.10);
  color: var(--navy);
  text-decoration: none;
}

.id-offer-v14-contact__phone > span,
.id-offer-v14-contact__email > span {
  width: 32px;
  height: 32px;
}

.id-offer-v14-contact strong,
.id-offer-v14-contact small {
  display: block;
  white-space: nowrap;
}

.id-offer-v14-contact strong {
  font-size: 14px;
  font-weight: 850;
}

.id-offer-v14-contact small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.id-offer-v14-contact__button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .05em;
  box-shadow: 0 15px 32px rgba(237,28,36,.20);
  transition: transform .22s ease, background-color .22s ease;
}

.id-offer-v14-contact__button span {
  font-size: 19px;
  transition: transform .22s ease;
}

.id-offer-v14-contact__button:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
}

.id-offer-v14-contact__button:hover span {
  transform: translateX(4px);
}

@keyframes idOfferV10DrawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes idOfferV10LogoText {
  to { opacity: 1; transform: translateY(0); }
}

/* Tablet */

@media (max-width: 1120px) {
  .id-offer-v14-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .id-offer-v14.is-complex-open .id-offer-v14-complex-view {
    grid-template-columns: 1fr;
  }

  .id-offer-v14-workrail {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .id-offer-v14-contact {
    grid-template-columns: 1fr 1fr;
  }

  .id-offer-v14-contact__button {
    grid-column: 1 / -1;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .id-offer-v14-hero {
    display: block;
    min-height: 0;
    border-bottom: 0;
  }

  .id-offer-v14-hero__copy {
    width: min(calc(100% - 28px), 640px);
    margin-inline: auto;
    padding: 34px 0 16px;
  }

  .id-offer-v14-kicker {
    padding-left: 0;
    margin-bottom: 10px;
    font-size: 10.5px;
  }

  .id-offer-v14-kicker::before {
    display: none;
  }

  .id-offer-v14-hero h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .id-offer-v14-hero p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .id-offer-v14-hero__image {
    display: none;
  }

  .id-offer-v14-wrap,
  .id-offer-v14-contact {
    width: min(calc(100% - 18px), 1240px);
  }

  .id-offer-v14-complex {
    padding: 0 0 22px;
  }

  .id-offer-v14-section-title {
    padding-left: 14px;
    margin-bottom: 12px;
  }

  .id-offer-v14-section-title > span {
    top: 3px;
    height: 25px;
  }

  .id-offer-v14-section-title h2 {
    font-size: 18px;
    letter-spacing: -0.025em;
  }

  .id-offer-v14-section-title p {
    font-size: 12.5px;
  }

  .id-offer-v14-grid {
    display: block;
    max-height: 980px;
  }

  .id-offer-v14-stage {
    height: auto;
    min-height: 0;
    margin-bottom: 8px;
    border-radius: 8px;
    box-shadow: 0 7px 21px rgba(15,23,42,.055);
  }

  .id-offer-v14-stage:hover {
    transform: none;
  }

  .id-offer-v14-stage__head {
    height: 52px;
    min-height: 52px;
    grid-template-columns: 32px 34px 1fr 26px;
    gap: 8px;
    padding: 9px 11px;
  }

  .id-offer-v14-stage__icon {
    width: 30px;
    height: 30px;
  }

  .id-offer-v14-stage__icon svg {
    width: 19px;
    height: 19px;
  }

  .id-offer-v14-stage__number {
    font-size: 13px;
  }

  .id-offer-v14-stage__head strong {
    font-size: 13px;
    line-height: 1.18;
  }

  .id-offer-v14-stage__toggle {
    width: 24px;
    height: 24px;
  }

  .id-offer-v14-stage__image {
    display: none !important;
  }

  .id-offer-v14-stage__panel {
    height: 0;
    opacity: 0;
    transform: translateY(-4px);
  }

  .id-offer-v14-stage__scope {
    padding: 0 18px;
  }

  .id-offer-v14-stage__scope small {
    margin: 14px 0 10px;
    font-size: 12px;
  }

  .id-offer-v14-stage__scope ul {
    gap: 9px;
  }

  .id-offer-v14-stage__scope li {
    font-size: 12.8px;
    line-height: 1.32;
  }

  .id-offer-v14-stage input:checked ~ .id-offer-v14-stage__panel {
    height: 306px;
    opacity: 1;
    transform: translateY(0);
  }

  .id-offer-v14-stage input:checked ~ .id-offer-v14-stage__panel .id-offer-v14-stage__button {
    height: 44px;
    max-height: 44px;
    margin: 16px 18px 0;
    font-size: 12px;
  }

  .id-offer-v14-stage input:checked ~ .id-offer-v14-stage__panel .id-offer-v14-stage__complex {
    height: 38px;
    max-height: 38px;
    margin: 8px 18px 14px;
    font-size: 10.2px;
  }

  .id-offer-v14-stage:has(input:checked) {
    border-color: rgba(237,28,36,.95);
    box-shadow: 0 13px 32px rgba(237,28,36,.10);
  }

  .id-offer-v14.is-complex-open .id-offer-v14-complex-view {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: 14px;
    max-height: 1050px;
  }

  .id-offer-v14-complex-view__logo-draw {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .id-offer-v14-complex-view__copy h3 {
    font-size: 27px;
  }

  .id-offer-v14-complex-view__copy p {
    font-size: 13.5px;
  }

  .id-offer-v14-complex-view__steps {
    gap: 7px;
  }

  .id-offer-v14-complex-view__steps span {
    min-height: 29px;
    padding: 0 10px;
    font-size: 11px;
  }

  .id-offer-v14-complex-view__phone,
  .id-offer-v14-complex-view__quote,
  .id-offer-v14-complex-view__back {
    width: 100%;
    min-height: 52px;
  }

  .id-offer-v14-individual {
    padding-top: 4px;
  }

  .id-offer-v14-workrail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 9px;
    margin-inline: -9px;
    padding: 0 9px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .id-offer-v14-workrail::-webkit-scrollbar {
    display: none;
  }

  .id-offer-v14-work {
    flex: 0 0 31%;
    min-height: 76px;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 6px;
    padding: 9px 7px;
    border-radius: 8px;
  }

  .id-offer-v14-work:hover {
    transform: none;
  }

  .id-offer-v14-work span {
    width: 27px;
    height: 27px;
  }

  .id-offer-v14-work strong {
    font-size: 10.8px;
    line-height: 1.15;
  }

  .id-offer-v14-contact {
    margin-top: 10px;
    margin-bottom: 36px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
  }

  .id-offer-v14-contact__main {
    align-items: flex-start;
  }

  .id-offer-v14-contact__icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .id-offer-v14-contact h2 {
    font-size: 16px;
  }

  .id-offer-v14-contact p {
    font-size: 12px;
  }

  .id-offer-v14-contact__phone,
  .id-offer-v14-contact__email {
    padding-left: 0;
    padding-top: 9px;
    border-left: 0;
    border-top: 1px solid rgba(17,24,39,.08);
  }

  .id-offer-v14-contact__button {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 390px) {
  .id-offer-v14-work {
    flex-basis: 34%;
  }

  .id-offer-v14-stage input:checked ~ .id-offer-v14-stage__panel {
    height: 322px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .id-offer-v14 *,
  .id-offer-v14 *::before,
  .id-offer-v14 *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================================================
   v14 — efekt premium: kredka rysuje dokładne logo z pliku PNG
   ========================================================= */

.id-offer-v14-complex-view {
  display: none;
  position: relative;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(237,28,36,.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 10%, rgba(237,28,36,.13), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
  box-shadow: 0 30px 86px rgba(15,23,42,.12);
  scroll-margin-top: 120px;
  transition:
    max-height .54s cubic-bezier(.2,.8,.2,1),
    padding .34s ease,
    margin .34s ease,
    opacity .28s ease,
    transform .38s cubic-bezier(.2,.8,.2,1);
}

.id-offer-v14.is-complex-open .id-offer-v14-complex-view {
  display: block;
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0) scale(1);
  margin: 4px 0 0;
  padding: 38px;
}

.id-offer-v14-complex-view::before {
  content: "";
  position: absolute;
  inset: auto -15% -55% 18%;
  height: 340px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(237,28,36,.17), transparent 68%);
}

.id-offer-v14-complex-view__stage,
.id-offer-v14-complex-view__content {
  position: relative;
  z-index: 2;
}

.id-offer-v14-complex-view__stage {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 20px;
  transition: max-height .55s ease, opacity .35s ease, transform .4s ease, margin .45s ease;
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__stage {
  max-height: 0;
  min-height: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-16px) scale(.98);
  overflow: hidden;
}

.id-offer-v14-complex-view__canvas {
  position: relative;
  width: min(720px, 100%);
  min-height: 230px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.58)),
    radial-gradient(circle at 50% 40%, rgba(237,28,36,.08), transparent 58%);
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 22px 60px rgba(15,23,42,.08);
}

.id-offer-v14-complex-view__logo-mask {
  position: relative;
  width: min(520px, 84%);
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  filter: drop-shadow(0 12px 18px rgba(15,23,42,.08));
}

.id-offer-v14-complex-view__logo-mask img {
  display: block;
  width: 100%;
  height: auto;
}

.id-offer-v14.is-drawing .id-offer-v14-complex-view__logo-mask {
  animation: idOfferV11RevealLogo 5s cubic-bezier(.16,.84,.2,1) forwards;
}

.id-offer-v14-pencil {
  position: absolute;
  left: calc(50% - min(520px, 84%) / 2 - 18px);
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%) rotate(-12deg);
  opacity: 0;
  filter: drop-shadow(0 14px 18px rgba(15,23,42,.18));
  z-index: 5;
}

.id-offer-v14-pencil::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  width: 34px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111827 0 16%, #ed1c24 16% 76%, #f3c76a 76% 100%);
}

.id-offer-v14-pencil::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15px;
  width: 0;
  height: 0;
  border-left: 13px solid #d4a152;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.id-offer-v14-pencil span {
  position: absolute;
  right: -4px;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #07111f;
}

.id-offer-v14.is-drawing .id-offer-v14-pencil {
  opacity: 1;
  animation: idOfferV11PencilMove 5s cubic-bezier(.16,.84,.2,1) forwards;
}

.id-offer-v14-draw-line {
  position: absolute;
  left: calc(50% - min(520px, 84%) / 2);
  top: calc(50% + 72px);
  width: min(520px, 84%);
  height: 2px;
  overflow: hidden;
  opacity: .55;
}

.id-offer-v14-draw-line::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(237,28,36,.55), transparent);
}

.id-offer-v14.is-drawing .id-offer-v14-draw-line::before {
  animation: idOfferV11Line 5s cubic-bezier(.16,.84,.2,1) forwards;
}

.id-offer-v14-complex-view__loading {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #657085;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.id-offer-v14-complex-view__loading strong {
  color: var(--red);
  font-size: 13px;
}

.id-offer-v14-complex-view__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  max-height: 0;
  overflow: hidden;
  transition: max-height .7s cubic-bezier(.2,.8,.2,1), opacity .5s ease, transform .55s ease;
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__content {
  max-height: 720px;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
}

.id-offer-v14-complex-view__copy > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.id-offer-v14-complex-view__copy h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(31px, 3vw, 48px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.id-offer-v14-complex-view__copy p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.68;
}

.id-offer-v14-complex-view__steps {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.id-offer-v14-complex-view__steps span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  color: #273244;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.id-offer-v14-complex-view__actions {
  display: grid;
  gap: 10px;
}

.id-offer-v14-complex-view__phone,
.id-offer-v14-complex-view__quote,
.id-offer-v14-complex-view__back {
  min-height: 56px;
  border-radius: 9px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.id-offer-v14-complex-view__phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 44px rgba(237,28,36,.24);
}

.id-offer-v14-complex-view__phone small {
  margin-top: 5px;
  font-size: 12px;
  opacity: .82;
}

.id-offer-v14-complex-view__quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(237,28,36,.24);
  background: #fff;
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.id-offer-v14-complex-view__quote span {
  font-size: 18px;
}

.id-offer-v14-complex-view__back {
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.55);
  color: #344055;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

@keyframes idOfferV11RevealLogo {
  0% { clip-path: inset(0 100% 0 0); }
  12% { clip-path: inset(0 86% 0 0); }
  30% { clip-path: inset(0 63% 0 0); }
  52% { clip-path: inset(0 38% 0 0); }
  75% { clip-path: inset(0 14% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@keyframes idOfferV11PencilMove {
  0% { transform: translate(0, -50%) rotate(-12deg); opacity: 0; }
  5% { opacity: 1; }
  18% { transform: translate(calc(min(520px, 84vw) * .14), calc(-50% - 36px)) rotate(8deg); }
  34% { transform: translate(calc(min(520px, 84vw) * .34), calc(-50% + 16px)) rotate(-5deg); }
  56% { transform: translate(calc(min(520px, 84vw) * .58), calc(-50% - 18px)) rotate(5deg); }
  78% { transform: translate(calc(min(520px, 84vw) * .82), calc(-50% + 20px)) rotate(-4deg); }
  96% { opacity: 1; }
  100% { transform: translate(calc(min(520px, 84vw) * .96), calc(-50% - 4px)) rotate(2deg); opacity: 0; }
}

@keyframes idOfferV11Line {
  to { transform: translateX(100%); }
}

@media (max-width: 1120px) {
  .id-offer-v14.logo-finished .id-offer-v14-complex-view__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .id-offer-v14.is-complex-open .id-offer-v14-complex-view {
    padding: 20px;
    border-radius: 14px;
  }

  .id-offer-v14-complex-view__stage {
    min-height: 300px;
  }

  .id-offer-v14-complex-view__canvas {
    min-height: 190px;
    border-radius: 18px;
  }

  .id-offer-v14-complex-view__logo-mask {
    width: 92%;
  }

  .id-offer-v14-pencil {
    width: 40px;
    height: 40px;
  }

  .id-offer-v14-complex-view__loading {
    text-align: center;
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }

  .id-offer-v14-complex-view__copy h3 {
    font-size: 27px;
  }

  .id-offer-v14-complex-view__copy p {
    font-size: 13.5px;
  }

  .id-offer-v14-complex-view__steps {
    gap: 7px;
  }

  .id-offer-v14-complex-view__steps span {
    min-height: 29px;
    padding: 0 10px;
    font-size: 11px;
  }

  .id-offer-v14-complex-view__phone,
  .id-offer-v14-complex-view__quote,
  .id-offer-v14-complex-view__back {
    width: 100%;
    min-height: 52px;
  }
}


/* =========================================================
   v14 — prawdziwe rysowanie przesłanego SVG przez 5 sekund
   ========================================================= */

.id-offer-v14-complex-view__stage {
  min-height: 430px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  transition: max-height .75s cubic-bezier(.2,.8,.2,1), opacity .45s ease, transform .48s ease, margin .55s ease;
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__stage {
  max-height: 0;
  min-height: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-18px) scale(.985);
  overflow: hidden;
}

.id-offer-v14-complex-view__logo-draw {
  width: min(820px, 100%);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.id-offer-v14-logo-board {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 26% 24%, rgba(237, 28, 36, .10), transparent 32%),
    radial-gradient(circle at 80% 58%, rgba(7, 17, 31, .07), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,255,255,.68));
  border: 1px solid rgba(17,24,39,.08);
  box-shadow:
    0 32px 90px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.id-offer-v14-logo-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(237,28,36,.08);
  pointer-events: none;
}

.id-offer-v14-logo-board::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.42) 50%, transparent 65%);
  transform: translateX(-70%);
  opacity: 0;
}

.id-offer-v14.is-drawing .id-offer-v14-logo-board::after {
  animation: idOfferV12BoardSheen 5s ease forwards;
}

.id-offer-v14-logo-lines {
  position: relative;
  z-index: 2;
  width: min(560px, 82%);
  filter: drop-shadow(0 18px 22px rgba(15,23,42,.10));
}

.id-offer-v14-logo-lines svg {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

.id-offer-v14-logo-lines svg path,
.id-offer-v14-logo-lines svg line,
.id-offer-v14-logo-lines svg polyline,
.id-offer-v14-logo-lines svg polygon,
.id-offer-v14-logo-lines svg rect,
.id-offer-v14-logo-lines svg circle,
.id-offer-v14-logo-lines svg ellipse {
  vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--id-dash, 1200) !important;
  stroke-dashoffset: var(--id-dash, 1200) !important;
  opacity: 1;
}

.id-offer-v14-logo-lines svg text,
.id-offer-v14-logo-lines svg g text {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}

.id-offer-v14.is-drawing .id-offer-v14-logo-lines svg path,
.id-offer-v14.is-drawing .id-offer-v14-logo-lines svg line,
.id-offer-v14.is-drawing .id-offer-v14-logo-lines svg polyline,
.id-offer-v14.is-drawing .id-offer-v14-logo-lines svg polygon,
.id-offer-v14.is-drawing .id-offer-v14-logo-lines svg rect,
.id-offer-v14.is-drawing .id-offer-v14-logo-lines svg circle,
.id-offer-v14.is-drawing .id-offer-v14-logo-lines svg ellipse {
  animation: idOfferV12DrawSvg 5s cubic-bezier(.15,.78,.19,1) forwards;
  animation-delay: var(--id-delay, 0ms);
}

.id-offer-v14.logo-finished .id-offer-v14-logo-lines svg text,
.id-offer-v14.logo-finished .id-offer-v14-logo-lines svg g text {
  opacity: 1;
  transform: translateY(0);
}

.id-offer-v14-pencil {
  position: absolute;
  z-index: 5;
  left: calc(50% - 330px);
  top: 50%;
  width: 54px;
  height: 54px;
  opacity: 0;
  transform: translateY(-50%) rotate(-13deg);
  filter: drop-shadow(0 16px 18px rgba(15,23,42,.18));
  pointer-events: none;
}

.id-offer-v14-pencil::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  width: 41px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111827 0 14%, #ed1c24 14% 76%, #f0be5a 76% 100%);
}

.id-offer-v14-pencil::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 18px;
  width: 0;
  height: 0;
  border-left: 15px solid #d5a156;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.id-offer-v14-pencil span {
  position: absolute;
  right: -7px;
  top: 23px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #07111f;
  box-shadow: 0 0 0 5px rgba(237,28,36,.08);
}

.id-offer-v14.is-drawing .id-offer-v14-pencil {
  opacity: 1;
  animation: idOfferV12Pencil 5s cubic-bezier(.15,.78,.19,1) forwards;
}

.id-offer-v14-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.id-offer-v14-sparkles i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  opacity: 0;
  filter: blur(.1px);
}

.id-offer-v14-sparkles i:nth-child(1) { left: 20%; top: 34%; }
.id-offer-v14-sparkles i:nth-child(2) { left: 36%; top: 62%; }
.id-offer-v14-sparkles i:nth-child(3) { left: 54%; top: 30%; }
.id-offer-v14-sparkles i:nth-child(4) { left: 72%; top: 58%; }
.id-offer-v14-sparkles i:nth-child(5) { left: 84%; top: 38%; }

.id-offer-v14.is-drawing .id-offer-v14-sparkles i {
  animation: idOfferV12Spark 1.25s ease forwards;
}

.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(1) { animation-delay: .7s; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(2) { animation-delay: 1.55s; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(3) { animation-delay: 2.35s; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(4) { animation-delay: 3.35s; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(5) { animation-delay: 4.15s; }

.id-offer-v14-complex-view__loading {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #657085;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.id-offer-v14-complex-view__loading strong {
  color: var(--red);
  font-size: 13px;
}

.id-offer-v14-complex-view__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  opacity: 0;
  transform: translateY(28px) scale(.985);
  max-height: 0;
  overflow: hidden;
  transition:
    max-height .85s cubic-bezier(.2,.8,.2,1),
    opacity .65s ease,
    transform .7s cubic-bezier(.2,.8,.2,1);
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__content {
  max-height: 760px;
  opacity: 1;
  transform: translateY(0) scale(1);
  overflow: visible;
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__copy {
  animation: idOfferV12ContentReveal .8s cubic-bezier(.2,.8,.2,1) both;
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__steps span {
  animation: idOfferV12StepReveal .56s cubic-bezier(.2,.8,.2,1) both;
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__steps span:nth-child(1) { animation-delay: .08s; }
.id-offer-v14.logo-finished .id-offer-v14-complex-view__steps span:nth-child(2) { animation-delay: .14s; }
.id-offer-v14.logo-finished .id-offer-v14-complex-view__steps span:nth-child(3) { animation-delay: .20s; }
.id-offer-v14.logo-finished .id-offer-v14-complex-view__steps span:nth-child(4) { animation-delay: .26s; }
.id-offer-v14.logo-finished .id-offer-v14-complex-view__steps span:nth-child(5) { animation-delay: .32s; }
.id-offer-v14.logo-finished .id-offer-v14-complex-view__steps span:nth-child(6) { animation-delay: .38s; }

.id-offer-v14.logo-finished .id-offer-v14-complex-view__actions {
  animation: idOfferV12ActionsReveal .75s cubic-bezier(.2,.8,.2,1) .22s both; color: #fff; text-align: center;
}

@keyframes idOfferV12DrawSvg {
  to { stroke-dashoffset: 0; }
}

@keyframes idOfferV12Pencil {
  0% { transform: translate(0, -50%) rotate(-13deg); opacity: 0; }
  4% { opacity: 1; }
  13% { transform: translate(72px, calc(-50% - 48px)) rotate(8deg); }
  24% { transform: translate(150px, calc(-50% + 18px)) rotate(-6deg); }
  38% { transform: translate(245px, calc(-50% - 36px)) rotate(6deg); }
  52% { transform: translate(338px, calc(-50% + 18px)) rotate(-4deg); }
  68% { transform: translate(455px, calc(-50% - 26px)) rotate(4deg); }
  84% { transform: translate(590px, calc(-50% + 16px)) rotate(-5deg); }
  96% { opacity: 1; }
  100% { transform: translate(675px, calc(-50% - 8px)) rotate(2deg); opacity: 0; }
}

@keyframes idOfferV12Spark {
  0% { opacity: 0; transform: scale(.3) translateY(0); }
  32% { opacity: .85; transform: scale(1.15) translateY(-8px); }
  100% { opacity: 0; transform: scale(.2) translateY(-22px); }
}

@keyframes idOfferV12Line {
  to { transform: translateX(100%); }
}

@keyframes idOfferV12BoardSheen {
  0% { opacity: 0; transform: translateX(-70%); }
  14% { opacity: .9; }
  100% { opacity: 0; transform: translateX(70%); }
}

@keyframes idOfferV12ContentReveal {
  from { opacity: 0; transform: translateY(18px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes idOfferV12StepReveal {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes idOfferV12ActionsReveal {
  from { opacity: 0; transform: translateX(22px); filter: blur(4px); }
  to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@media (max-width: 1120px) {
  .id-offer-v14.logo-finished .id-offer-v14-complex-view__content {
    grid-template-columns: 1fr;
  }

  .id-offer-v14-pencil {
    left: 9%;
  }
}

@media (max-width: 760px) {
  .id-offer-v14.is-complex-open .id-offer-v14-complex-view {
    padding: 20px;
    border-radius: 14px;
  }

  .id-offer-v14-complex-view__stage {
    min-height: 340px;
  }

  .id-offer-v14-logo-board {
    min-height: 210px;
    border-radius: 18px;
  }

  .id-offer-v14-logo-lines {
    width: 92%;
  }

  .id-offer-v14-pencil {
    left: 2%;
    width: 40px;
    height: 40px;
  }

  .id-offer-v14-pencil::before {
    width: 31px;
    height: 9px;
    top: 17px;
  }

  .id-offer-v14-pencil::after {
    top: 14px;
    border-left-width: 12px;
    border-top-width: 7px;
    border-bottom-width: 7px;
  }

  .id-offer-v14-pencil span {
    top: 18px;
  }

  .id-offer-v14-complex-view__loading {
    text-align: center;
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }
}


/* =========================================================
   v14 FIX — niezawodne rysowanie pliku SVG jako obrazu
   Nie animujemy ścieżek SVG. Rysowanie odbywa się maską + kredką.
   Dzięki temu działa także z plikami z Corela / Inkscape, gdzie logo jest fill-path.
   ========================================================= */

.id-offer-v14-complex-view__stage {
  min-height: 430px !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  gap: 22px !important;
  transition: max-height .75s cubic-bezier(.2,.8,.2,1), opacity .45s ease, transform .48s ease, margin .55s ease !important;
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__stage {
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  transform: translateY(-18px) scale(.985) !important;
  overflow: hidden !important;
}

.id-offer-v14-logo-board {
  position: relative !important;
  width: min(820px, 100%) !important;
  min-height: 280px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 26% 24%, rgba(237, 28, 36, .10), transparent 32%),
    radial-gradient(circle at 80% 58%, rgba(7, 17, 31, .07), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.72)) !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  box-shadow:
    0 32px 90px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.92) !important;
}

.id-offer-v14-logo-board::before {
  content: "" !important;
  position: absolute !important;
  inset: 18px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(237,28,36,.08) !important;
  pointer-events: none !important;
}

.id-offer-v14-logo-board::after {
  content: "" !important;
  position: absolute !important;
  inset: -40% -20% !important;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.46) 50%, transparent 65%) !important;
  transform: translateX(-70%) !important;
  opacity: 0 !important;
}

.id-offer-v14.is-drawing .id-offer-v14-logo-board::after {
  animation: idOfferV13BoardSheen 5s ease forwards !important;
}

.id-offer-v14-logo-reveal,
.id-offer-v14-logo-ghost {
  position: absolute !important;
  z-index: 2 !important;
  width: min(560px, 82%) !important;
  filter: drop-shadow(0 18px 22px rgba(15,23,42,.10)) !important;
}

.id-offer-v14-logo-reveal {
  clip-path: inset(0 100% 0 0) !important;
}

.id-offer-v14.is-drawing .id-offer-v14-logo-reveal,
.id-offer-v14.logo-finished .id-offer-v14-logo-reveal {
  animation: idOfferV13RevealLogo 5s cubic-bezier(.16,.84,.2,1) forwards !important;
}

.id-offer-v14-logo-reveal img,
.id-offer-v14-logo-ghost img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.id-offer-v14-logo-ghost {
  opacity: .055 !important;
  filter: grayscale(1) blur(.15px) !important;
}

.id-offer-v14-pencil {
  position: absolute !important;
  z-index: 7 !important;
  left: calc(50% - min(560px, 82%) / 2 - 22px) !important;
  top: 50% !important;
  width: 54px !important;
  height: 54px !important;
  opacity: 0 !important;
  transform: translateY(-50%) rotate(-13deg) !important;
  filter: drop-shadow(0 16px 18px rgba(15,23,42,.20)) !important;
  pointer-events: none !important;
}

.id-offer-v14-pencil::before {
  content: "" !important;
  position: absolute !important;
  left: 7px !important;
  top: 22px !important;
  width: 41px !important;
  height: 11px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #111827 0 14%, #ed1c24 14% 76%, #f0be5a 76% 100%) !important;
}

.id-offer-v14-pencil::after {
  content: "" !important;
  position: absolute !important;
  right: -2px !important;
  top: 18px !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 15px solid #d5a156 !important;
  border-top: 9px solid transparent !important;
  border-bottom: 9px solid transparent !important;
}

.id-offer-v14-pencil span {
  position: absolute !important;
  right: -7px !important;
  top: 23px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #07111f !important;
  box-shadow: 0 0 0 5px rgba(237,28,36,.08) !important;
}

.id-offer-v14.is-drawing .id-offer-v14-pencil {
  opacity: 1 !important;
  animation: idOfferV13Pencil 5s cubic-bezier(.16,.84,.2,1) forwards !important;
}

.id-offer-v14-draw-light {
  position: absolute !important;
  z-index: 4 !important;
  left: calc(50% - min(560px, 82%) / 2) !important;
  top: calc(50% + 82px) !important;
  width: min(560px, 82%) !important;
  height: 2px !important;
  overflow: hidden !important;
  opacity: .55 !important;
}

.id-offer-v14-draw-light::before {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  transform: translateX(-100%) !important;
  background: linear-gradient(90deg, transparent, rgba(237,28,36,.62), transparent) !important;
}

.id-offer-v14.is-drawing .id-offer-v14-draw-light::before {
  animation: idOfferV13Line 5s cubic-bezier(.16,.84,.2,1) forwards !important;
}

.id-offer-v14-sparkles {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 6 !important;
}

.id-offer-v14-sparkles i {
  position: absolute !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: var(--red) !important;
  opacity: 0 !important;
  filter: blur(.1px) !important;
}

.id-offer-v14-sparkles i:nth-child(1) { left: 18%; top: 34%; }
.id-offer-v14-sparkles i:nth-child(2) { left: 32%; top: 60%; }
.id-offer-v14-sparkles i:nth-child(3) { left: 48%; top: 31%; }
.id-offer-v14-sparkles i:nth-child(4) { left: 64%; top: 58%; }
.id-offer-v14-sparkles i:nth-child(5) { left: 78%; top: 39%; }
.id-offer-v14-sparkles i:nth-child(6) { left: 86%; top: 55%; }

.id-offer-v14.is-drawing .id-offer-v14-sparkles i {
  animation: idOfferV13Spark 1.25s ease forwards !important;
}

.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(1) { animation-delay: .7s !important; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(2) { animation-delay: 1.45s !important; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(3) { animation-delay: 2.25s !important; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(4) { animation-delay: 3.15s !important; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(5) { animation-delay: 4.05s !important; }
.id-offer-v14.is-drawing .id-offer-v14-sparkles i:nth-child(6) { animation-delay: 4.45s !important; }

@keyframes idOfferV13RevealLogo {
  0% { clip-path: inset(0 100% 0 0); }
  10% { clip-path: inset(0 88% 0 0); }
  25% { clip-path: inset(0 68% 0 0); }
  42% { clip-path: inset(0 47% 0 0); }
  62% { clip-path: inset(0 28% 0 0); }
  82% { clip-path: inset(0 10% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@keyframes idOfferV13Pencil {
  0% { transform: translate(0, -50%) rotate(-13deg); opacity: 0; }
  4% { opacity: 1; }
  13% { transform: translate(76px, calc(-50% - 48px)) rotate(8deg); }
  24% { transform: translate(155px, calc(-50% + 18px)) rotate(-6deg); }
  38% { transform: translate(255px, calc(-50% - 36px)) rotate(6deg); }
  52% { transform: translate(355px, calc(-50% + 18px)) rotate(-4deg); }
  68% { transform: translate(475px, calc(-50% - 26px)) rotate(4deg); }
  84% { transform: translate(610px, calc(-50% + 16px)) rotate(-5deg); }
  96% { opacity: 1; }
  100% { transform: translate(700px, calc(-50% - 8px)) rotate(2deg); opacity: 0; }
}

@keyframes idOfferV13Spark {
  0% { opacity: 0; transform: scale(.3) translateY(0); }
  32% { opacity: .88; transform: scale(1.15) translateY(-8px); }
  100% { opacity: 0; transform: scale(.2) translateY(-22px); }
}

@keyframes idOfferV13Line {
  to { transform: translateX(100%); }
}

@keyframes idOfferV13BoardSheen {
  0% { opacity: 0; transform: translateX(-70%); }
  14% { opacity: .95; }
  100% { opacity: 0; transform: translateX(70%); }
}

@media (max-width: 760px) {
  .id-offer-v14-logo-board {
    min-height: 210px !important;
    border-radius: 18px !important;
  }

  .id-offer-v14-logo-reveal,
  .id-offer-v14-logo-ghost {
    width: 92% !important;
  }

  .id-offer-v14-pencil {
    left: 2% !important;
    width: 40px !important;
    height: 40px !important;
  }

  .id-offer-v14-pencil::before {
    width: 31px !important;
    height: 9px !important;
    top: 17px !important;
  }

  .id-offer-v14-pencil::after {
    top: 14px !important;
    border-left-width: 12px !important;
    border-top-width: 7px !important;
    border-bottom-width: 7px !important;
  }

  .id-offer-v14-pencil span {
    top: 18px !important;
  }
}


/* =========================================================
   v14 — canvas drawing like hand-written logo animation
   ========================================================= */

.id-offer-v14-complex-view__stage {
  min-height: 430px !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  gap: 22px !important;
  transition: max-height .75s cubic-bezier(.2,.8,.2,1), opacity .45s ease, transform .48s ease, margin .55s ease !important;
}

.id-offer-v14.logo-finished .id-offer-v14-complex-view__stage {
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  transform: translateY(-18px) scale(.985) !important;
  overflow: hidden !important;
}

.id-offer-v14-logo-board {
  position: relative !important;
  width: min(860px, 100%) !important;
  min-height: 292px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 26% 24%, rgba(237, 28, 36, .10), transparent 32%),
    radial-gradient(circle at 80% 58%, rgba(7, 17, 31, .07), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.72)) !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  box-shadow:
    0 32px 90px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.92) !important;
}

.id-offer-v14-logo-board::before {
  content: "" !important;
  position: absolute !important;
  inset: 18px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(237,28,36,.08) !important;
  pointer-events: none !important;
}

.id-offer-v14-logo-board::after {
  content: "" !important;
  position: absolute !important;
  inset: -40% -20% !important;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.50) 50%, transparent 65%) !important;
  transform: translateX(-70%) !important;
  opacity: 0 !important;
}

.id-offer-v14.is-logo-drawing .id-offer-v14-logo-board::after {
  animation: idOfferV14BoardSheen 5s ease forwards !important;
}

.id-offer-v14-canvas-wrap {
  position: relative !important;
  z-index: 2 !important;
  width: min(620px, 86%) !important;
  height: 230px !important;
}

.id-offer-v14-logo-canvas,
.id-offer-v14-logo-ghost-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.id-offer-v14-logo-canvas {
  z-index: 3 !important;
  filter: drop-shadow(0 18px 22px rgba(15,23,42,.11)) !important;
}

.id-offer-v14-logo-ghost-img {
  z-index: 1 !important;
  opacity: .045 !important;
  filter: grayscale(1) blur(.15px) !important;
}

.id-offer-v14-pencil {
  position: absolute !important;
  z-index: 8 !important;
  left: 12% !important;
  top: 50% !important;
  width: 54px !important;
  height: 54px !important;
  opacity: 0 !important;
  transform: translate(-12px, -50%) rotate(-13deg) !important;
  filter: drop-shadow(0 16px 18px rgba(15,23,42,.20)) !important;
  pointer-events: none !important;
  transition: opacity .16s ease !important;
}

.id-offer-v14-pencil::before {
  content: "" !important;
  position: absolute !important;
  left: 7px !important;
  top: 22px !important;
  width: 41px !important;
  height: 11px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #111827 0 14%, #ed1c24 14% 76%, #f0be5a 76% 100%) !important;
}

.id-offer-v14-pencil::after {
  content: "" !important;
  position: absolute !important;
  right: -2px !important;
  top: 18px !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 15px solid #d5a156 !important;
  border-top: 9px solid transparent !important;
  border-bottom: 9px solid transparent !important;
}

.id-offer-v14-pencil span {
  position: absolute !important;
  right: -7px !important;
  top: 23px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #07111f !important;
  box-shadow: 0 0 0 5px rgba(237,28,36,.08) !important;
}

.id-offer-v14-ink-glow {
  position: absolute !important;
  z-index: 7 !important;
  width: 44px !important;
  height: 44px !important;
  margin-left: -22px !important;
  margin-top: -22px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle, rgba(237,28,36,.24), rgba(237,28,36,0) 68%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.id-offer-v14-sparkles {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 6 !important;
}

.id-offer-v14-sparkles i {
  position: absolute !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: var(--red) !important;
  opacity: 0 !important;
  filter: blur(.1px) !important;
}

.id-offer-v14-sparkles i:nth-child(1) { left: 18%; top: 34%; }
.id-offer-v14-sparkles i:nth-child(2) { left: 32%; top: 60%; }
.id-offer-v14-sparkles i:nth-child(3) { left: 48%; top: 31%; }
.id-offer-v14-sparkles i:nth-child(4) { left: 64%; top: 58%; }
.id-offer-v14-sparkles i:nth-child(5) { left: 78%; top: 39%; }
.id-offer-v14-sparkles i:nth-child(6) { left: 86%; top: 55%; }

.id-offer-v14.is-logo-drawing .id-offer-v14-sparkles i {
  animation: idOfferV14Spark 1.25s ease forwards !important;
}

.id-offer-v14.is-logo-drawing .id-offer-v14-sparkles i:nth-child(1) { animation-delay: .7s !important; }
.id-offer-v14.is-logo-drawing .id-offer-v14-sparkles i:nth-child(2) { animation-delay: 1.45s !important; }
.id-offer-v14.is-logo-drawing .id-offer-v14-sparkles i:nth-child(3) { animation-delay: 2.25s !important; }
.id-offer-v14.is-logo-drawing .id-offer-v14-sparkles i:nth-child(4) { animation-delay: 3.15s !important; }
.id-offer-v14.is-logo-drawing .id-offer-v14-sparkles i:nth-child(5) { animation-delay: 4.05s !important; }
.id-offer-v14.is-logo-drawing .id-offer-v14-sparkles i:nth-child(6) { animation-delay: 4.45s !important; }

@keyframes idOfferV14Spark {
  0% { opacity: 0; transform: scale(.3) translateY(0); }
  32% { opacity: .88; transform: scale(1.15) translateY(-8px); }
  100% { opacity: 0; transform: scale(.2) translateY(-22px); }
}

@keyframes idOfferV14BoardSheen {
  0% { opacity: 0; transform: translateX(-70%); }
  14% { opacity: .95; }
  100% { opacity: 0; transform: translateX(70%); }
}

@media (max-width: 760px) {
  .id-offer-v14-logo-board {
    min-height: 230px !important;
    border-radius: 18px !important;
  }

  .id-offer-v14-canvas-wrap {
    width: 94% !important;
    height: 168px !important;
  }

  .id-offer-v14-pencil {
    width: 40px !important;
    height: 40px !important;
  }

  .id-offer-v14-pencil::before {
    width: 31px !important;
    height: 9px !important;
    top: 17px !important;
  }

  .id-offer-v14-complex-view {
  scroll-margin-top: 92px !important;
}

.id-offer-v14-complex-anchor {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  min-height: 34px;
  scroll-margin-top: 92px;
}

.id-offer-v14-complex-anchor span {
  width: 3px;
  height: 34px;
  display: block;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(237,28,36,.045);
}

.id-offer-v14-complex-anchor strong {
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.id-offer-v14,
.id-offer-v14 * {
  overflow-anchor: none;
}

  .id-offer-v14-pencil::after {
    top: 14px !important;
    border-left-width: 12px !important;
    border-top-width: 7px !important;
    border-bottom-width: 7px !important;
  }

  .id-offer-v14-pencil span {
    top: 18px !important;
  }
}
