/* =========================================================
   MODRÁ LÍŠKA — Generácie v pohybe
   Verzia s fotografiami projektu a responzívnymi obrazovými
   variantmi optimalizovanými pre web.
   ========================================================= */

.generations-page {
  background: #fff;
}

.generations-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(28, 175, 178, .46), transparent 32%),
    radial-gradient(circle at 14% 94%, rgba(232, 113, 47, .34), transparent 34%),
    linear-gradient(136deg, #155b91 0%, #10456e 52%, #092c4c 100%);
}
.generations-hero::before,
.generations-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}
.generations-hero::before {
  width: 510px;
  height: 510px;
  top: -300px;
  left: 42%;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 74px rgba(255,255,255,.025), 0 0 0 148px rgba(255,255,255,.018);
}
.generations-hero::after {
  width: 340px;
  height: 340px;
  right: -120px;
  bottom: -220px;
  background: rgba(13,117,128,.22);
  filter: blur(5px);
}
.generations-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%);
}
.generations-hero__grid {
  min-height: 700px;
  padding-block: 78px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
  align-items: center;
  gap: 72px;
}
.generations-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(58px, 7.2vw, 94px);
  line-height: .9;
  letter-spacing: -.066em;
  font-weight: 900;
  text-wrap: balance;
}
.generations-hero h1 em {
  display: inline-block;
  color: #7ce0df;
  font-style: normal;
  font-weight: 900;
}
.generations-hero__lead {
  max-width: 650px;
  margin: 27px 0 0;
  color: rgba(255,255,255,.91);
  font-size: clamp(18px, 1.75vw, 21px);
  line-height: 1.58;
  font-weight: 550;
}
.generations-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 33px;
}
.generations-hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.72);
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 650;
}
.generations-hero__note span {
  color: #ff9553;
  font-size: 11px;
  filter: drop-shadow(0 0 8px rgba(255,149,83,.58));
}
.generations-hero__visual {
  position: relative;
}
.generations-hero__art {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 21%, rgba(255,255,255,.20), transparent 18%),
    radial-gradient(circle at 28% 82%, rgba(255,148,80,.20), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.055));
  box-shadow: 0 30px 72px rgba(4,25,45,.30), inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(16px);
  transform: rotate(1.1deg);
}
.generations-hero__art::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 25px;
  pointer-events: none;
}
.generations-orbit {
  position: absolute;
  inset: 1% -3% auto auto;
  width: 108%;
  height: 108%;
  fill: none;
}
.generations-orbit__wide {
  stroke: rgba(124,224,223,.62);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-dasharray: 1 9;
}
.generations-orbit__fine {
  stroke: rgba(255,255,255,.26);
  stroke-width: 1.25;
  stroke-linecap: round;
}
.generation-node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(4,30,52,.24), inset 0 1px 0 rgba(255,255,255,.35);
  backdrop-filter: blur(12px);
}
.generation-node::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: inherit;
}
.generation-node__icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}
.generation-node__icon svg {
  width: 47%;
  height: 47%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.generation-node--one {
  width: 112px;
  height: 112px;
  left: 8%;
  top: 48%;
  background: linear-gradient(145deg, rgba(255,149,83,.94), rgba(173,70,23,.86));
}
.generation-node--one .generation-node__icon { width: 82px; height: 82px; }
.generation-node--two {
  width: 156px;
  height: 156px;
  left: 38%;
  top: 16%;
  background: linear-gradient(145deg, rgba(28,127,183,.98), rgba(14,63,104,.91));
}
.generation-node--two .generation-node__icon { width: 112px; height: 112px; }
.generation-node--three {
  width: 132px;
  height: 132px;
  right: 7%;
  top: 48%;
  background: linear-gradient(145deg, rgba(22,160,163,.98), rgba(5,83,94,.92));
}
.generation-node--three .generation-node__icon { width: 94px; height: 94px; }
.generations-hero__message {
  position: absolute;
  left: 9%;
  bottom: 9%;
  z-index: 2;
  max-width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 17px;
  background: rgba(7,39,66,.70);
  box-shadow: 0 18px 38px rgba(3,22,39,.22);
  backdrop-filter: blur(14px);
  transform: rotate(-1.1deg);
}
.generations-hero__message span,
.generations-hero__message strong { display: block; }
.generations-hero__message span {
  color: rgba(255,255,255,.65);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.generations-hero__message strong {
  margin-top: 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}
.generations-hero__badge {
  position: absolute;
  right: -18px;
  bottom: 70px;
  z-index: 3;
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 17px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 50px rgba(5,29,49,.27);
  color: #153b5c;
  transform: rotate(-1.1deg);
}
.generations-hero__badge-dot {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 9px solid #ffe2d2;
  border-radius: 50%;
  background: #c45c26;
}
.generations-hero__badge small,
.generations-hero__badge strong { display: block; }
.generations-hero__badge small {
  color: #7b8796;
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.generations-hero__badge strong {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.generations-facts {
  position: relative;
  z-index: 5;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #eef7fb 0%, #fff 100%);
}
.generations-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  transform: translateY(-30px);
  margin-bottom: -30px;
}
.generations-fact {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.generations-fact__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
}
.generations-fact:nth-child(2) .generations-fact__icon { background: linear-gradient(145deg, var(--orange-700), var(--orange-800)); }
.generations-fact:nth-child(3) .generations-fact__icon { background: linear-gradient(145deg, var(--teal-700), var(--teal-800)); }
.generations-fact__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.generations-fact strong {
  display: block;
  color: var(--blue-900);
  font-size: 18px;
  line-height: 1.12;
  font-weight: 900;
}
.generations-fact span:not(.generations-fact__icon) {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.generations-section--white { background: #fff; }
.generations-section--soft { background: linear-gradient(180deg, #f7fbfd 0%, #edf6fa 100%); }
.generations-about {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  align-items: center;
  gap: 76px;
}
.generations-about__copy p:not(.section-kicker) {
  max-width: 690px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}
.generations-principle {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid rgba(21,91,145,.14);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(43,201,201,.30), transparent 31%),
    radial-gradient(circle at 2% 98%, rgba(255,137,69,.24), transparent 35%),
    linear-gradient(140deg, #104f7b, #0b3457 62%, #07535e);
  box-shadow: var(--shadow-xl);
}
.generations-principle::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -110px;
  bottom: -120px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.02);
}
.generations-principle__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.generations-principle__label {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.64);
}
.generations-principle__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.09);
  color: #7ce0df;
  font-size: 20px;
  font-weight: 900;
}
.generations-principle__statement {
  position: relative;
  z-index: 1;
  margin-block: 40px;
}
.generations-principle__statement span,
.generations-principle__statement strong { display: block; }
.generations-principle__statement span {
  color: rgba(255,255,255,.72);
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1.2;
  font-weight: 700;
}
.generations-principle__statement strong {
  max-width: 430px;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(31px, 3.4vw, 45px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 900;
}
.generations-principle__path {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.generations-principle__path i {
  width: 15px;
  height: 15px;
  border: 4px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: #7ce0df;
}
.generations-principle__path i:first-child { background: #ff9553; }
.generations-principle__path i:last-child { background: #fff; }
.generations-principle__path span { height: 1px; background: rgba(255,255,255,.28); }

.generations-heading { align-items: end; }
.generations-senior-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, .92fr);
  align-items: stretch;
  gap: 54px;
}
.generations-senior-copy {
  align-self: center;
  padding-right: 10px;
}
.generations-senior-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.74;
  font-weight: 500;
}
.generations-senior-copy__lead {
  margin-top: 0 !important;
  color: #30445d !important;
  font-size: 21px !important;
  line-height: 1.58 !important;
  font-weight: 650 !important;
}
.generations-senior-copy strong { color: var(--blue-800); font-weight: 900; }
.generations-training-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 26px;
  border: 1px solid rgba(21,91,145,.16);
  border-radius: 30px;
  background:
    linear-gradient(rgba(21,91,145,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,91,145,.045) 1px, transparent 1px),
    linear-gradient(145deg, #fff, #e9f5f4);
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: var(--shadow-lg);
}
.generations-training-visual__header,
.generations-training-visual__footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.generations-training-visual__header span {
  color: var(--blue-900);
  font-size: 17px;
  font-weight: 900;
}
.generations-training-visual__header small {
  color: var(--teal-700);
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.generations-training-visual__stage { position: relative; min-height: 285px; }
.training-shape { position: absolute; }
.training-shape--ball {
  width: 92px;
  height: 92px;
  left: 7%;
  bottom: 17%;
  border: 20px solid rgba(255,255,255,.40);
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9b5b, #b74a18);
  box-shadow: 0 18px 34px rgba(150,66,25,.24);
}
.training-shape--ring {
  width: 128px;
  height: 128px;
  right: 8%;
  top: 12%;
  border: 17px solid #14929a;
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(8,108,115,.20), inset 0 0 0 2px rgba(255,255,255,.28);
  transform: rotate(12deg);
}
.training-shape--cone {
  width: 0;
  height: 0;
  right: 30%;
  bottom: 11%;
  border-left: 37px solid transparent;
  border-right: 37px solid transparent;
  border-bottom: 96px solid #2474aa;
  filter: drop-shadow(0 16px 16px rgba(25,91,140,.22));
  transform: rotate(-5deg);
}
.training-shape--cone::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 14px;
  left: -46px;
  top: 88px;
  border-radius: 999px;
  background: #155b91;
}
.training-shape--line {
  left: 31%;
  top: 20%;
  display: flex;
  gap: 10px;
  transform: rotate(-9deg);
}
.training-shape--line i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f08a4a;
  box-shadow: 0 0 0 5px rgba(240,138,74,.12);
}
.training-motion {
  position: absolute;
  inset: 2% 0 auto 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(21,91,145,.30);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 8;
}
.generations-training-visual__footer {
  padding-top: 18px;
  border-top: 1px solid rgba(21,91,145,.11);
  justify-content: flex-start;
}
.generations-training-visual__footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #52677a;
  font-family: "Manrope", sans-serif;
  font-size: 10.5px;
  font-weight: 750;
}
.generations-training-visual__footer i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-700);
}
.generations-training-visual__footer span:nth-child(2) i { background: var(--teal-700); }
.generations-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}
.generations-method-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.generations-method-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -72px;
  top: -72px;
  border-radius: 50%;
  background: rgba(21,91,145,.06);
}
.generations-method-card:nth-child(2)::after { background: rgba(185,83,28,.08); }
.generations-method-card:nth-child(3)::after { background: rgba(13,117,128,.08); }
.generations-method-card__number {
  display: block;
  margin-bottom: 42px;
  color: var(--orange-700);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}
.generations-method-card:nth-child(2) .generations-method-card__number { color: var(--teal-700); }
.generations-method-card:nth-child(3) .generations-method-card__number { color: var(--blue-700); }
.generations-method-card h3 {
  margin: 0 0 8px;
  color: var(--blue-800);
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 900;
}
.generations-method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.56;
  font-weight: 500;
}

.generations-benefits {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 87% 4%, rgba(30,183,185,.42), transparent 27%),
    radial-gradient(circle at 8% 98%, rgba(222,106,43,.27), transparent 32%),
    linear-gradient(136deg, #155b91 0%, #0c3b61 54%, #092d4d 100%);
}
.generations-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.generations-heading--light { position: relative; z-index: 1; }
.generations-heading--light h2 { color: #fff; }
.generations-heading--light > p { color: rgba(255,255,255,.78); }
.generations-benefit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.generations-benefit-card {
  min-height: 256px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 22px;
  background: rgba(255,255,255,.095);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 38px rgba(4,25,43,.12);
  backdrop-filter: blur(12px);
}
.generations-benefit-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 35px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #1a789f, #10466f);
}
.generations-benefit-card:nth-child(2) .generations-benefit-card__icon,
.generations-benefit-card:nth-child(5) .generations-benefit-card__icon { background: linear-gradient(145deg, #11939a, #09616b); }
.generations-benefit-card:nth-child(3) .generations-benefit-card__icon,
.generations-benefit-card:nth-child(6) .generations-benefit-card__icon { background: linear-gradient(145deg, #d56c31, #9e431b); }
.generations-benefit-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.generations-benefit-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -.028em;
  font-weight: 900;
}
.generations-benefit-card p {
  margin: 0;
  color: rgba(255,255,255,.79);
  font-size: 14.5px;
  line-height: 1.62;
  font-weight: 550;
}

.generations-future {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  align-items: center;
  gap: 60px;
  padding: 50px;
  border: 1px solid rgba(21,91,145,.15);
  border-radius: 30px;
  background: linear-gradient(135deg, #f8fbfd 0%, #eaf6f5 100%);
  box-shadow: var(--shadow-lg);
}
.generations-future::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -210px;
  bottom: -230px;
  border: 1px solid rgba(13,117,128,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(13,117,128,.035), 0 0 0 136px rgba(13,117,128,.02);
}
.generations-future__copy { position: relative; z-index: 1; }
.generations-future h2 { font-size: clamp(38px, 4.3vw, 55px); }
.generations-future__copy > p:not(.section-kicker) {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 500;
}
.generations-future__steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}
.generations-future__steps span {
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 15px;
  padding: 12px 17px;
  border: 1px solid rgba(21,91,145,.13);
  border-radius: 17px;
  color: #708093;
  background: rgba(255,255,255,.72);
}
.generations-future__steps i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #8191a1;
  background: #edf3f6;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
}
.generations-future__steps b { font-size: 14px; font-weight: 850; }
.generations-future__steps .is-current {
  border-color: rgba(13,117,128,.22);
  color: var(--teal-800);
  background: #fff;
  box-shadow: 0 12px 28px rgba(11,47,80,.07);
}
.generations-future__steps .is-current i {
  color: #fff;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-800));
}

.generations-contact {
  padding-block: 82px;
  color: #fff;
  background: linear-gradient(100deg, var(--orange-800), var(--orange-700));
}
.generations-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
}
.generations-contact h2 {
  max-width: 800px;
  color: #fff;
  font-size: clamp(34px, 4vw, 51px);
}
.generations-contact p:not(.section-kicker) {
  max-width: 700px;
  margin: 15px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  font-weight: 600;
}
.generations-contact__actions {
  min-width: 245px;
  display: grid;
  gap: 11px;
}
.generations-contact__actions .button { width: 100%; }


/* =========================================================
   FOTOGRAFIE PROJEKTU — v2
   ========================================================= */

.generations-hero-photo,
.generations-training-photo,
.generations-detail-feature__media {
  margin: 0;
}

.generations-hero-photo {
  position: relative;
  height: clamp(540px, 43vw, 610px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 34px;
  background: #0b395b;
  box-shadow: 0 30px 72px rgba(4,25,45,.34), inset 0 1px 0 rgba(255,255,255,.2);
  transform: rotate(1.1deg);
}
.generations-hero-photo picture,
.generations-hero-photo img,
.generations-training-photo picture,
.generations-training-photo img,
.generations-detail-feature__media picture,
.generations-detail-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
}
.generations-hero-photo picture,
.generations-training-photo picture {
  position: absolute;
  inset: 0;
}
.generations-hero-photo img {
  object-fit: cover;
  object-position: 50% 48%;
}
.generations-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,31,53,.18) 0%, transparent 38%, rgba(5,31,53,.08) 62%, rgba(4,28,49,.55) 100%),
    linear-gradient(90deg, rgba(5,33,55,.12), transparent 46%);
}
.generations-hero-photo::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 25px;
  pointer-events: none;
}
.generations-hero-photo__eyebrow {
  position: absolute;
  top: 23px;
  left: 23px;
  z-index: 3;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  color: #fff;
  background: rgba(5,38,64,.76);
  box-shadow: 0 12px 28px rgba(3,25,43,.18);
  backdrop-filter: blur(12px);
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.generations-hero-photo__caption {
  position: absolute;
  right: 23px;
  bottom: 23px;
  z-index: 3;
  min-width: 248px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 17px;
  color: #153b5c;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 50px rgba(5,29,49,.28);
  backdrop-filter: blur(14px);
}
.generations-hero-photo__caption-dot {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 9px solid #ffe2d2;
  border-radius: 50%;
  background: #c45c26;
}
.generations-hero-photo__caption small,
.generations-hero-photo__caption strong {
  display: block;
}
.generations-hero-photo__caption small {
  color: #718092;
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.generations-hero-photo__caption strong {
  margin-top: 2px;
  color: #153b5c;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.generations-training-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(21,91,145,.17);
  border-radius: 30px;
  background: #dcebee;
  box-shadow: var(--shadow-lg);
}
.generations-training-photo img {
  object-fit: cover;
  object-position: 50% 50%;
}
.generations-training-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(5,34,57,.14) 68%, rgba(4,28,49,.82) 100%);
}
.generations-training-photo::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 21px;
  pointer-events: none;
}
.generations-training-photo__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 21px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 17px;
  color: #fff;
  background: rgba(5,39,66,.76);
  box-shadow: 0 16px 34px rgba(4,25,43,.2);
  backdrop-filter: blur(13px);
}
.generations-training-photo__caption small,
.generations-training-photo__caption strong {
  display: block;
}
.generations-training-photo__caption small {
  color: #84e5e2;
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.generations-training-photo__caption strong {
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
}
.generations-training-photo__caption > span {
  flex: 0 0 auto;
  color: rgba(255,255,255,.76);
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.generations-detail-feature {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  margin-top: 54px;
  border: 1px solid rgba(21,91,145,.15);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.generations-detail-feature::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -145px;
  bottom: -155px;
  border: 1px solid rgba(13,117,128,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(13,117,128,.035), 0 0 0 108px rgba(13,117,128,.018);
  pointer-events: none;
}
.generations-detail-feature__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #dce8ef;
}
.generations-detail-feature__media img {
  object-fit: cover;
  object-position: center;
}
.generations-detail-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset -1px 0 0 rgba(21,91,145,.12);
}
.generations-detail-feature__copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(34px, 4.4vw, 58px);
}
.generations-detail-feature__copy h3 {
  max-width: 620px;
  margin: 0;
  color: var(--blue-800);
  font-size: clamp(32px, 3.5vw, 49px);
  line-height: .98;
  letter-spacing: -.048em;
  font-weight: 900;
  text-wrap: balance;
}
.generations-detail-feature__copy > p:not(.section-kicker) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 500;
}
.generations-detail-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.generations-detail-feature__tags span {
  padding: 9px 12px;
  border: 1px solid rgba(21,91,145,.13);
  border-radius: 999px;
  color: var(--blue-700);
  background: #f1f7fa;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}

@media (max-width: 1080px) {
  .generations-hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 72px 82px;
  }
  .generations-hero__copy { max-width: 780px; }
  .generations-hero__visual { max-width: 700px; }
  .generations-training-photo { max-width: 760px; }
  .generations-about,
  .generations-senior-layout { grid-template-columns: 1fr; }
  .generations-principle,
  .generations-training-visual { max-width: 760px; }
  .generations-method-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .generations-benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .generations-future { grid-template-columns: 1fr; }
  .generations-future__steps { max-width: 640px; }
  .generations-contact__panel { grid-template-columns: 1fr; }
  .generations-contact__actions { min-width: 0; max-width: 380px; }
}

@media (max-width: 760px) {
  .generations-hero__grid { padding-block: 58px 68px; gap: 40px; }
  .generations-hero h1 { font-size: clamp(51px, 15vw, 70px); }
  .generations-hero-photo { height: 520px; border-radius: 25px; transform: none; }
  .generations-hero-photo::after { inset: 14px; border-radius: 18px; }
  .generations-hero-photo__eyebrow { top: 17px; left: 17px; }
  .generations-hero-photo__caption { right: 17px; bottom: 17px; }
  .generations-training-photo { min-height: 420px; border-radius: 24px; }
  .generations-training-photo::after { inset: 13px; border-radius: 17px; }
  .generations-detail-feature { grid-template-columns: 1fr; border-radius: 25px; }
  .generations-detail-feature__media { min-height: 0; aspect-ratio: 1 / 1; }
  .generations-detail-feature__media::after { box-shadow: inset 0 -1px 0 rgba(21,91,145,.12); }
  .generations-detail-feature__copy { padding: 34px 25px 38px; }
  .generations-hero__actions { flex-direction: column; }
  .generations-hero__actions .button { width: 100%; }
  .generations-hero__art { min-height: 485px; border-radius: 25px; transform: none; }
  .generation-node--one { width: 92px; height: 92px; left: 6%; top: 50%; }
  .generation-node--two { width: 130px; height: 130px; left: 34%; top: 17%; }
  .generation-node--three { width: 108px; height: 108px; right: 5%; top: 50%; }
  .generation-node--one .generation-node__icon { width: 68px; height: 68px; }
  .generation-node--two .generation-node__icon { width: 92px; height: 92px; }
  .generation-node--three .generation-node__icon { width: 78px; height: 78px; }
  .generations-hero__badge { right: 14px; bottom: 27px; min-width: 225px; transform: none; }
  .generations-hero__message { left: 14px; bottom: 112px; transform: none; }
  .generations-facts__grid,
  .generations-method-grid,
  .generations-benefit-grid { grid-template-columns: 1fr; }
  .generations-about { gap: 40px; }
  .generations-principle { min-height: 350px; padding: 28px; }
  .generations-training-visual { min-height: 400px; padding: 22px; }
  .generations-heading { align-items: flex-start; }
  .generations-future { padding: 32px 25px; }
  .generations-contact { padding-block: 68px; }
}

@media (max-width: 520px) {
  .generations-hero__lead { font-size: 17px; }
  .generations-hero__note { align-items: flex-start; }
  .generations-hero-photo { height: 455px; }
  .generations-hero-photo__eyebrow { top: 13px; left: 13px; padding: 8px 10px; font-size: 8px; }
  .generations-hero-photo__caption { left: 13px; right: 13px; bottom: 13px; min-width: 0; padding: 12px 13px; }
  .generations-hero-photo__caption-dot { width: 34px; height: 34px; flex-basis: 34px; border-width: 8px; }
  .generations-training-photo { min-height: 380px; }
  .generations-training-photo__caption { left: 14px; right: 14px; bottom: 14px; align-items: flex-start; flex-direction: column; gap: 7px; padding: 13px 14px; }
  .generations-training-photo__caption > span { white-space: normal; }
  .generations-detail-feature { margin-top: 42px; }
  .generations-detail-feature__copy h3 { font-size: 33px; }
  .generations-hero__art { min-height: 435px; }
  .generation-node--one { width: 78px; height: 78px; left: 4%; top: 49%; }
  .generation-node--two { width: 112px; height: 112px; left: 34%; top: 15%; }
  .generation-node--three { width: 90px; height: 90px; right: 3%; top: 48%; }
  .generation-node--one .generation-node__icon { width: 56px; height: 56px; }
  .generation-node--two .generation-node__icon { width: 80px; height: 80px; }
  .generation-node--three .generation-node__icon { width: 64px; height: 64px; }
  .generations-hero__message { max-width: 175px; padding: 13px 14px; bottom: 104px; }
  .generations-hero__message strong { font-size: 17px; }
  .generations-hero__badge { left: 14px; right: 14px; bottom: 18px; min-width: 0; }
  .generations-fact { min-height: 104px; padding: 18px; }
  .generations-principle__statement span { font-size: 20px; }
  .generations-principle__statement strong { font-size: 31px; }
  .generations-senior-copy__lead { font-size: 19px !important; }
  .generations-training-visual__header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .training-shape--ring { width: 102px; height: 102px; border-width: 14px; right: 2%; }
  .training-shape--ball { width: 74px; height: 74px; border-width: 16px; left: 2%; }
  .training-shape--cone { right: 28%; }
  .generations-training-visual__footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .generations-method-card { min-height: 190px; }
  .generations-benefit-card { min-height: 230px; }
  .generations-future__steps span { grid-template-columns: 44px 1fr; }
}
