﻿:root {
  --red-main: #9f1233;
  --red-strong: #ef144f;
  --red-crest: #7f1026;
  --gold-crest: #d4a83a;
  --gold-bright: #f5d76a;
  --blue-main: #007bc2;
  --text-light: #ffffff;
  /* Szemkímélő, meleg háttér (nem hideg fehér/szürke) */
  --page-bg: #dcd4c6;
  --surface-warm: #ede6d9;
  --surface-card: #faf6ee;
  --shadow: 0 10px 22px rgba(45, 32, 24, 0.14);
  --hero-radius: clamp(18px, 2.2vw, 26px);
  --kosihovce-bg: url("img/Kosihovce_CBS_2019_DSC_8918.jpg");
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scrollbar-gutter: stable;
  background-color: #c9bfb0;
  background-image:
    linear-gradient(168deg, rgba(233, 227, 214, 0.82) 0%, rgba(217, 209, 195, 0.76) 42%, rgba(226, 220, 208, 0.8) 100%),
    radial-gradient(ellipse 90% 60% at 8% -8%, rgba(159, 18, 51, 0.16), transparent 55%),
    radial-gradient(ellipse 75% 55% at 96% 4%, rgba(212, 168, 58, 0.2), transparent 50%),
    var(--kosihovce-bg);
  background-size: auto, auto, auto, cover;
  background-position: 0 0, 0 0, 0 0, center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: transparent;
  color: var(--text-light);
  min-height: 100%;
  overflow-x: hidden;
  position: relative;
}

.page {
  /* calc: ne legyen vízszintes scroll a margin + vw miatt */
  position: relative;
  z-index: 1;
  width: min(1750px, calc(100vw - 32px));
  max-width: 100%;
  margin: 24px auto 10px;
  display: grid;
  gap: 4px;
}

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

.page--enter {
  opacity: 0;
  transform: translateY(12px);
  animation: pageEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pageEnterZoomOut {
  from {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes pageEnterZoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes pageExitShrink {
  from {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
    filter: blur(10px);
  }
}

@keyframes pageExitGrow {
  from {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(10px);
  }
}

html[data-transition="fromRight"] .page--enter {
  transform: scale(1.08);
  filter: blur(10px);
  animation: pageEnterZoomOut 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html[data-transition="fromLeft"] .page--enter {
  transform: scale(0.92);
  filter: blur(10px);
  animation: pageEnterZoomIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page--exit-left {
  animation: pageExitShrink 0.42s cubic-bezier(0.55, 0, 0.65, 1) forwards;
  will-change: transform, opacity, filter;
  transform-origin: center center;
}

.page--exit-right {
  animation: pageExitGrow 0.42s cubic-bezier(0.55, 0, 0.65, 1) forwards;
  will-change: transform, opacity, filter;
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .page--enter,
  html[data-transition="fromRight"] .page--enter,
  html[data-transition="fromLeft"] .page--enter,
  .page--exit-left,
  .page--exit-right {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* =============================================================================
   Élmény („wow”) animációk — hero 3D belépő, arany fény-sweep, program dekor.
   A tényleges lejátszást a prefers-reduced-motion: no-preference blokk kapcsolja.
   ============================================================================= */

@keyframes wowHtmlBgPan {
  0% {
    background-position: 0% 0%, 5% 6%, 96% 4%, 46% 44%;
  }
  33% {
    background-position: 0% 0%, 12% -2%, 88% 14%, 58% 56%;
  }
  66% {
    background-position: 0% 0%, -1% 12%, 102% -2%, 40% 36%;
  }
  100% {
    background-position: 0% 0%, 5% 6%, 96% 4%, 46% 44%;
  }
}

@keyframes wowBodyAuroraDrift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.52;
  }
  50% {
    transform: translate(2.5vw, -1.8vh) rotate(3.5deg) scale(1.1);
    opacity: 0.72;
  }
  100% {
    transform: translate(-2vw, 2.2vh) rotate(-2.5deg) scale(1.05);
    opacity: 0.58;
  }
}

@keyframes wowHeroCardIn {
  0% {
    opacity: 0;
    transform: translateY(46px) rotateX(11deg) scale(0.92);
    filter: blur(12px) saturate(1.05);
  }
  62% {
    opacity: 1;
    filter: blur(0) saturate(1.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
    filter: blur(0) saturate(1);
  }
}

@keyframes wowShimmerCross {
  0% {
    transform: translateX(-135%) skewX(-16deg);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(165%) skewX(-16deg);
    opacity: 0;
  }
}

@keyframes wowPhotoKen {
  0% {
    transform: scale(1.03) translate(0, 0);
  }
  100% {
    transform: scale(1.09) translate(-1.4%, -1%);
  }
}

@keyframes wowLogoAura {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(253, 224, 71, 0),
      0 10px 24px rgba(0, 0, 0, 0.28);
  }
  45% {
    box-shadow:
      0 0 0 14px rgba(253, 224, 71, 0.22),
      0 0 48px rgba(251, 191, 36, 0.5),
      0 12px 28px rgba(0, 0, 0, 0.32);
  }
}

@keyframes wowH1Rise {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.93);
    filter: blur(8px);
    text-shadow: 0 0 0 transparent;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
  }
}

@keyframes wowH1Ambient {
  0%,
  100% {
    text-shadow:
      0 2px 28px rgba(0, 0, 0, 0.45),
      0 0 20px rgba(253, 224, 71, 0);
  }
  50% {
    text-shadow:
      0 2px 28px rgba(0, 0, 0, 0.45),
      0 0 38px rgba(253, 224, 71, 0.65),
      0 0 72px rgba(250, 204, 21, 0.38);
  }
}

@keyframes wowBrandMark {
  0% {
    opacity: 0;
    transform: scale(0.62) rotate(-14deg);
    filter: drop-shadow(0 0 0 transparent) blur(6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 6px 22px rgba(212, 168, 58, 0.55)) blur(0);
  }
}

@keyframes wowBrandText {
  0% {
    opacity: 0;
    transform: translateX(-22px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes wowFadeRise {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes wowSectionWarmPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.86;
  }
}

@keyframes wowDecorDash {
  to {
    stroke-dashoffset: -2600;
  }
}

@keyframes wowDecorSpark {
  0% {
    opacity: 0.38;
  }
  100% {
    opacity: 1;
  }
}

@keyframes wowLogoEntrance {
  0% {
    transform: scale(0.88) translateY(10px);
    filter: blur(3px);
  }
  100% {
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes wowNavLineGlow {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1) drop-shadow(0 0 0 transparent);
  }
  50% {
    opacity: 1;
    filter: brightness(1.4) drop-shadow(0 0 14px rgba(253, 224, 71, 0.65));
  }
}

@keyframes wowPromiseCardIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.93);
    filter: blur(6px);
    box-shadow:
      0 4px 14px rgba(45, 32, 24, 0.05),
      0 0 0 0 rgba(253, 224, 71, 0);
  }
  58% {
    filter: blur(0);
    box-shadow:
      0 12px 36px rgba(253, 224, 71, 0.22),
      0 8px 22px rgba(159, 18, 51, 0.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    box-shadow: 0 4px 14px rgba(45, 32, 24, 0.06);
  }
}

@keyframes wowTeamCardIn {
  0% {
    opacity: 0;
    transform: translateY(38px) scale(0.94) rotate(-1deg);
    filter: blur(5px);
    box-shadow: 0 6px 18px rgba(45, 32, 24, 0.05);
  }
  60% {
    filter: blur(0);
    box-shadow:
      0 14px 40px rgba(253, 224, 71, 0.18),
      0 8px 22px rgba(45, 32, 24, 0.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
    box-shadow: 0 6px 18px rgba(45, 32, 24, 0.07);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    background-size: auto, auto, auto, 120% 120%;
    animation: wowHtmlBgPan 96s ease-in-out infinite;
  }

  body::before {
    content: "";
    position: fixed;
    inset: -12vh -10vw;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse min(130vw, 1500px) min(95vh, 920px) at 14% 20%, rgba(253, 224, 71, 0.18), transparent 62%),
      radial-gradient(ellipse min(110vw, 1200px) min(80vh, 820px) at 86% 70%, rgba(159, 18, 51, 0.12), transparent 58%),
      radial-gradient(ellipse 110vw 55vh at 48% 118%, rgba(212, 168, 58, 0.1), transparent 56%);
    animation: wowBodyAuroraDrift 54s ease-in-out infinite alternate;
  }

  .hero {
    perspective: 1680px;
    perspective-origin: 50% 12%;
  }

  .hero-nav::after {
    animation: wowNavLineGlow 5.5s ease-in-out 0.6s infinite;
  }

  .hero .hero-brand-mark,
  .legal-hero .hero-brand-mark {
    animation: wowBrandMark 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
  }

  .hero .hero-brand-text,
  .legal-hero .hero-brand-text {
    animation: wowBrandText 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
  }

  .hero-col:first-of-type > .card {
    transform-origin: 50% 80%;
    animation: wowHeroCardIn 1.12s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
  }

  .hero-col:last-of-type > .card {
    transform-origin: 50% 85%;
    animation: wowHeroCardIn 1.12s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
  }

  .hero-image.card {
    position: relative;
  }

  .hero-image.card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
      108deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 38%,
      rgba(255, 255, 255, 0.72) 49%,
      rgba(253, 224, 71, 0.45) 52%,
      rgba(255, 255, 255, 0.12) 62%,
      transparent 100%
    );
    mix-blend-mode: soft-light;
    transform: translateX(-140%);
    animation: wowShimmerCross 1.45s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
  }

  .hero-content.card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
      108deg,
      transparent 0%,
      rgba(253, 224, 71, 0.12) 40%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(253, 224, 71, 0.2) 55%,
      transparent 100%
    );
    mix-blend-mode: screen;
    opacity: 0.85;
    transform: translateX(-140%);
    animation: wowShimmerCross 1.45s cubic-bezier(0.22, 1, 0.36, 1) 0.72s forwards;
  }

  .hero-content.card > * {
    position: relative;
    z-index: 2;
  }

  .hero-photo {
    transform-origin: 55% 42%;
    animation: wowPhotoKen 32s ease-in-out infinite alternate;
  }

  .hero-image .logo {
    animation:
      wowLogoAura 5.2s ease-in-out 1.4s infinite,
      wowLogoEntrance 0.88s cubic-bezier(0.34, 1.45, 0.64, 1) 0.88s forwards;
  }

  .hero .hero-content h1 {
    animation:
      wowH1Rise 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both,
      wowH1Ambient 7s ease-in-out 1.45s infinite;
  }

  .section-promises::before {
    animation: wowSectionWarmPulse 14s ease-in-out infinite;
  }

  .section-promises .promises-decor path {
    stroke-dasharray: 10 640;
    animation: wowDecorDash 42s linear infinite;
  }

  .section-promises .promises-decor path:nth-child(2) {
    animation-duration: 52s;
    animation-direction: reverse;
  }

  .section-promises .promises-decor path:nth-child(3) {
    animation-duration: 36s;
  }

  .section-promises .promises-decor path:nth-child(4) {
    animation-duration: 48s;
  }

  .section-promises .promises-decor path:nth-child(5) {
    animation-duration: 44s;
  }

  .section-promises .promises-decor path:nth-child(6) {
    animation-duration: 46s;
    animation-direction: reverse;
  }

  .section-promises .promises-decor circle {
    animation: wowDecorSpark 3.8s ease-in-out infinite alternate;
  }

  .section-promises .promises-decor circle:nth-of-type(1) {
    animation-delay: 0.15s;
  }

  .section-promises .promises-decor circle:nth-of-type(2) {
    animation-delay: 0.65s;
  }

  .section-promises .promises-decor circle:nth-of-type(3) {
    animation-delay: 0.35s;
  }

  .section-promises .promises-decor circle:nth-of-type(4) {
    animation-delay: 0.95s;
  }

  .section-promises .promises-header > .promises-eyebrow {
    animation: wowFadeRise 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
  }

  .section-promises .promises-header > h2 {
    animation: wowFadeRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
  }

  .section-promises .promises-header > .promises-subtitle {
    animation: wowFadeRise 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
  }

  .legal-hero .legal-decor path {
    stroke-dasharray: 10 520;
    animation: wowDecorDash 48s linear infinite;
  }

  .legal-hero .legal-decor path:nth-child(3) {
    animation-duration: 56s;
    animation-direction: reverse;
  }

  .legal-hero .legal-decor circle {
    animation: wowDecorSpark 4s ease-in-out infinite alternate;
  }

  .legal-hero .legal-decor circle:nth-of-type(2) {
    animation-delay: 0.5s;
  }

  .legal-hero .legal-decor circle:nth-of-type(3) {
    animation-delay: 0.9s;
  }

  .legal-hero .legal-decor circle:nth-of-type(4) {
    animation-delay: 0.25s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    animation: none !important;
    background-size: auto, auto, auto, cover !important;
    background-position: 0 0, 0 0, 0 0, center center !important;
  }

  body::before {
    content: none !important;
    display: none !important;
  }

  .hero {
    perspective: none;
  }

  .hero-nav::after {
    animation: none !important;
    filter: none !important;
  }

  .hero .hero-brand-mark,
  .legal-hero .hero-brand-mark,
  .hero .hero-brand-text,
  .legal-hero .hero-brand-text,
  .hero-col > .card,
  .hero-photo,
  .hero-image .logo,
  .hero .hero-content h1,
  .section-promises::before,
  .section-promises .promises-decor path,
  .section-promises .promises-decor circle,
  .section-promises .promises-header > *,
  .legal-hero .legal-decor path,
  .legal-hero .legal-decor circle {
    animation: none !important;
  }

  .hero-image.card::after,
  .hero-content.card::after {
    content: none !important;
  }

  .hero-col > .card,
  .hero-photo,
  .hero .hero-brand-mark,
  .legal-hero .hero-brand-mark,
  .hero .hero-brand-text,
  .legal-hero .hero-brand-text,
  .hero .hero-content h1 {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .section-promises .promises-header > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 0;
  row-gap: 0;
  align-items: stretch;
  min-height: calc(96vh - 80px);
}

.hero:has(> .hero-tag-row) {
  row-gap: 0;
}

.hero > .hero-tag-row {
  grid-column: 1 / -1;
}

.hero > .hero-tag-row + .hero-col > .hero-image.card,
.hero > .hero-tag-row ~ .hero-col:last-of-type > .hero-content.card {
  margin-top: 0;
}

.hero > .hero-tag-row + .hero-col > .hero-image.card {
  border-top-left-radius: 0;
}

.hero > .hero-tag-row ~ .hero-col:last-of-type > .hero-content.card {
  border-top-right-radius: 0;
}

.hero-nav {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px clamp(4px, 1vw, 14px) 6px;
}

.hero-nav::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: clamp(180px, 22vw, 320px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(159, 18, 51, 0.55),
    rgba(212, 168, 58, 0.75),
    rgba(245, 215, 106, 0.65),
    rgba(159, 18, 51, 0.55),
    transparent
  );
  pointer-events: none;
}

.hero-nav .hero-brand {
  width: 100%;
  max-width: min(100%, 760px);
  justify-content: center;
  direction: ltr;
  unicode-bidi: isolate;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 2.4vw, 28px);
  text-align: left;
  width: fit-content;
  max-width: min(100%, 760px);
  margin-inline: auto;
  pointer-events: none;
}

.hero-brand--legal {
  margin-bottom: clamp(18px, 2.5vw, 26px);
  margin-inline: 0;
  align-self: stretch;
  justify-content: flex-start;
  max-width: 100%;
}

.hero-brand-mark {
  height: clamp(56px, 7.5vw, 92px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 12px rgba(45, 32, 24, 0.22));
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.hero-brand-name {
  font-size: clamp(1.28rem, 2.35vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #0f172a;
}

.hero-brand-role {
  font-size: clamp(0.76rem, 1.1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-main);
}

@media (max-width: 520px) {
  .hero-brand {
    flex-direction: column;
    text-align: center;
  }

  .hero-brand-text {
    text-align: center;
    align-items: center;
  }

  .hero-brand--legal {
    justify-content: center;
    align-self: center;
    width: fit-content;
    max-width: 100%;
  }
}

.hero-col {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: clamp(40px, 4vw, 52px);
}

.hero-col > .card {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  border-radius: var(--hero-radius);
  position: relative;
  z-index: 2;
}

.hero-tag {
  --tag-cap: clamp(40px, 4vw, 52px);
  --tag-extension: clamp(28px, 3vw, 42px);
  position: absolute;
  top: 0;
  height: calc(var(--tag-cap) + var(--tag-extension));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(22px, 2.4vw, 32px) var(--tag-extension);
  min-width: clamp(110px, 12vw, 150px);
  background: linear-gradient(180deg, #b50d40 0%, #960831 100%);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.84rem, 1vw, 1rem);
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  border: none;
  border-radius: var(--hero-radius) var(--hero-radius) 0 0;
  box-shadow: 0 -8px 26px rgba(181, 13, 64, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  isolation: isolate;
  opacity: 1;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease;
}

.hero-col:first-of-type .hero-tag {
  left: 0;
}

.hero-col:last-of-type .hero-tag {
  right: 0;
}

.hero-tag-text {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  text-align: center;
}

.hero-tag:hover {
  background: linear-gradient(180deg, #c91347 0%, #a40a37 100%);
  transform: translateY(-2px);
}

.hero-tag:focus-visible {
  outline: 2px solid rgba(253, 224, 71, 0.7);
  outline-offset: 2px;
}

.hero-tag--active {
  background: linear-gradient(180deg, #db1851 0%, #ad0b3c 100%);
  pointer-events: none;
  cursor: default;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  box-shadow:
    0 -8px 26px rgba(181, 13, 64, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -3px 0 rgba(255, 255, 255, 0.95);
}

/* Kandidatúra + Informácie o mne — oszlopokkal egy vonalban, a kártyák tetején */
.hero-tag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  z-index: 4;
  margin: 0;
  width: 100%;
  min-height: 0;
  padding-top: clamp(6px, 1vw, 14px);
}

.hero:has(> .hero-tag-row) .hero-col {
  padding-top: 0;
}

.hero > .hero-tag-row .hero-tag {
  --tag-extension: 0px;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  flex: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  min-height: clamp(50px, 5.8vw, 64px);
  padding: clamp(15px, 1.75vw, 20px) clamp(16px, 2.2vw, 28px);
  font-size: clamp(0.9rem, 1.12vw, 1.08rem);
  box-sizing: border-box;
}

.hero > .hero-tag-row .hero-tag + .hero-tag {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-static {
  margin-top: clamp(6px, 1vw, 14px);
  max-width: min(52ch, 100%);
}

.hero-static-text {
  margin: 0 0 1rem;
  font-size: clamp(0.94rem, 1.25vw, 1.05rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.92);
}

.hero-static-text:last-child {
  margin-bottom: 0;
}

.hero-content .hero-headline--static {
  max-width: 22ch;
}

@media (prefers-reduced-motion: reduce) {
  .hero-tag {
    transition: none;
  }
  .hero-tag:hover {
    transform: none;
  }
}

.hero-image {
  position: relative;
  min-height: 100%;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: calc(96vh - 260px);
  object-fit: cover;
  display: block;
}

/* Főoldal (IMG_0924): négyzetes keret, mint a régi 512×512 portfolio.png; felülről vágva */
.hero-photo--home {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: 50% 44%;
  transform-origin: 50% 44%;
}

.hero-image.card:has(.hero-photo--home) {
  flex: 0 1 auto;
  align-self: stretch;
  min-height: 0;
}

.logo {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red-strong);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 26px 16px;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.hero-content {
  background: linear-gradient(165deg, #8a102c 0%, var(--red-main) 36%, #7a0e28 100%);
  padding: 10px 48px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  height: 100%;
  box-shadow: inset 0 4px 0 0 rgba(212, 168, 58, 0.55);
}

.hero-slider {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin: 16px 0 0;
  min-height: 0;
}

.hero-slider-viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
  -webkit-overflow-scrolling: touch;
}

.hero-slider-track {
  display: flex;
  width: 200%;
  transition: transform 0.38s ease;
  will-change: transform;
  align-items: stretch;
}

.hero-slide {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 18px 20px 22px;
  display: flex;
  align-items: flex-start;
}

.hero-slide-text {
  margin: 0;
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
  line-height: 1.62;
  font-weight: 500;
  opacity: 0.98;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 16px;
}

.hero-slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hero-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero-slider-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-slider-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider-dot--active {
  background: #fff;
  transform: scale(1.28);
}

.hero-slider-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-content .lang-btn {
  background: rgba(0, 0, 0, 0.18);
  opacity: 0.88;
}

.hero-content .lang-btn--active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.hero-content .lang-btn img {
  opacity: 1;
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin-top: 2px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  box-sizing: border-box;
  width: 52px;
  height: 36px;
  padding: 3px;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0.45;
  box-shadow: 0 0 0 0 transparent;
  transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn:hover {
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.14);
}

.lang-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lang-btn--active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.lang-btn--active:hover {
  opacity: 1;
}

.lang-btn img {
  display: block;
  width: 44px;
  height: 28px;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
}

h1 {
  margin: 24px 0 18px;
  font-size: clamp(3rem, 4.8vw, 5.05rem);
  line-height: 0.98;
  font-weight: 800;
  max-width: 500px;
}

.hero-headline--why,
.hero-headline--team {
  line-height: 1.06;
  max-width: 100%;
  font-size: clamp(2.75rem, 5.2vw, 4.35rem);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 3vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  margin: 24px 0 12px;
  font-size: clamp(2.2rem, 2.8vw, 3.2rem);
}

p {
  margin: 0 0 15px;
  font-size: 0.96rem;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 10px;
  background: var(--red-strong);
  color: #fff;
  text-decoration: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-small {
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 9px;
}

.section {
  padding: 50px 52px;
}

.section-blue {
  background: var(--blue-main);
}

.section-red {
  background: var(--red-strong);
}

/* ===== Promises section (modern, light, yellow abstract lines) ===== */
.section-promises {
  position: relative;
  background: var(--surface-warm);
  color: #0f172a;
  padding: 88px 60px 96px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(159, 18, 51, 0.08);
}

.promises-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.section-promises::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(253, 224, 71, 0.28), transparent 58%),
    radial-gradient(900px 520px at 100% 100%, rgba(250, 204, 21, 0.24), transparent 58%),
    radial-gradient(700px 480px at 85% 12%, rgba(159, 18, 51, 0.09), transparent 55%);
  z-index: 0;
  pointer-events: none;
}

.section-promises::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--red-crest) 0%,
    var(--red-main) 28%,
    var(--gold-crest) 62%,
    var(--gold-bright) 100%
  );
  z-index: 2;
  pointer-events: none;
  border-radius: 18px 18px 0 0;
}

.promises-content {
  position: relative;
  z-index: 1;
}

.promises-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.promises-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b45309;
  background: rgba(250, 204, 21, 0.22);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-promises h2 {
  color: #0f172a;
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.promises-subtitle {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 560px;
}

.promises-layout {
  display: grid;
  /* Stredové video je v DOM skryté (.section-promises .promises-video-wrap); dva stĺpce pre až 6 programov */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 42px);
  align-items: start;
  max-width: 1180px;
  margin-inline: auto;
}

.section-promises:not(.section-about-intro) .promises-video-wrap {
  display: none;
}

.promises-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

/* ===== About page (rolam): text — video — text ===== */
.section-about-intro .promises-header {
  margin-bottom: clamp(40px, 5vw, 56px);
}

.about-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
}

.about-intro-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-intro-card {
  flex: 1 1 auto;
  background: var(--surface-card);
  border: 1px solid rgba(159, 18, 51, 0.12);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(45, 32, 24, 0.06);
  height: 100%;
}

.about-intro-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: #475569;
}

.about-intro-text + .about-intro-text {
  margin-top: 14px;
}

.about-intro-video-wrap .promises-video {
  margin-inline: auto;
}

.promise-card {
  opacity: 0;
  transform: translateY(28px);
  background: var(--surface-card);
  border: 1px solid rgba(159, 18, 51, 0.12);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 14px rgba(45, 32, 24, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.promise-card.in-view {
  animation: wowPromiseCardIn 0.92s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 120ms);
}

.promise-card.in-view:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(45, 32, 24, 0.1);
  border-color: rgba(212, 168, 58, 0.55);
}

.promise-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
}

.promise-expand-icon {
  flex: 0 0 auto;
  margin-left: auto;
  padding-top: 2px;
  color: #92400e;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.promise-expand-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.promise-summary:focus-visible {
  outline: 2px solid rgba(212, 168, 58, 0.85);
  outline-offset: 2px;
  border-radius: 12px;
}

.promise-summary-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.promise-summary-main .promise-title {
  flex: none;
  padding-top: 0;
}

.promise-summary-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  max-width: 100%;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 400;
  color: #64748b;
  text-align: left;
}

.promise-expand-icon.promise-expand-icon--after-preview {
  align-self: center;
  margin-left: 0;
  margin-top: 2px;
  padding-top: 0;
  flex: 0 0 auto;
  opacity: 0.88;
}

.promise-detail-dialog:not([open]) {
  display: none;
}

.promise-detail-dialog[open] {
  display: block;
  perspective: 1400px;
}

.promise-detail-dialog {
  border: none;
  border-radius: 26px;
  padding: 0;
  max-width: min(92vw, 520px);
  width: 100%;
  margin: auto;
  overflow: visible;
  background: transparent;
  color: #0f172a;
  box-shadow: none;
}

.promise-detail-dialog::backdrop {
  background:
    radial-gradient(ellipse 85% 55% at 50% 35%, rgba(250, 204, 21, 0.18), transparent 58%),
    radial-gradient(ellipse 70% 50% at 80% 90%, rgba(159, 18, 51, 0.12), transparent 50%),
    rgba(10, 8, 16, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 1;
}

.promise-detail-dialog-shell {
  position: relative;
  padding: 34px 32px 30px;
  max-height: min(78vh, 640px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 24px;
  transform-origin: 50% 55%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(165deg, rgba(254, 249, 231, 0.95) 0%, rgba(250, 246, 238, 0.98) 38%, rgba(255, 252, 245, 0.99) 100%),
    radial-gradient(ellipse 100% 90% at 0% 0%, rgba(253, 224, 71, 0.35), transparent 52%),
    radial-gradient(ellipse 80% 70% at 100% 100%, rgba(159, 18, 51, 0.1), transparent 50%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 2px 0 rgba(255, 255, 255, 0.55) inset,
    0 -24px 48px rgba(250, 204, 21, 0.12) inset,
    0 40px 80px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(212, 168, 58, 0.45),
    0 0 100px rgba(250, 204, 21, 0.22);
  opacity: 1;
  transform: none;
  filter: none;
}

.promise-detail-dialog-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(253, 224, 71, 0.2) 15%,
    #fde047 35%,
    #f59e0b 50%,
    #fde047 65%,
    rgba(253, 224, 71, 0.2) 85%,
    transparent 100%
  );
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.55);
  transform: scaleX(1);
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

.promise-detail-dialog-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 85% at 100% -5%, rgba(253, 224, 71, 0.16), transparent 45%),
    radial-gradient(95% 70% at -5% 105%, rgba(159, 18, 51, 0.07), transparent 48%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.promise-detail-dialog-shell > * {
  position: relative;
  z-index: 3;
}

.promise-detail-dialog-title {
  margin: 0 44px 18px 0;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #0c1222;
  opacity: 1;
  transform: none;
}

.promise-detail-dialog-title::after {
  content: "";
  display: block;
  margin-top: 12px;
  width: 7.25rem;
  max-width: 140px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #facc15, #f59e0b, #ea580c);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.45);
  opacity: 1;
}

.promise-detail-dialog-body {
  font-size: 0.97rem;
  line-height: 1.72;
  color: #334155;
  opacity: 1;
  transform: none;
}

.promise-detail-dialog-body p {
  margin: 0;
}

.promise-detail-dialog-body p + p {
  margin-top: 0.85em;
}

.promise-detail-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(248, 250, 252, 0.65));
  color: #0f172a;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.08),
    0 6px 18px rgba(15, 23, 42, 0.1);
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.promise-detail-dialog-close:hover {
  background: linear-gradient(145deg, rgba(254, 243, 199, 0.95), rgba(254, 215, 170, 0.75));
  color: #9f1233;
  box-shadow:
    0 0 0 1px rgba(159, 18, 51, 0.15),
    0 10px 26px rgba(159, 18, 51, 0.15);
  transform: scale(1.06);
}

.promise-detail-dialog-close:active {
  transform: scale(0.96);
}

.promise-detail-dialog-close:focus-visible {
  outline: 2px solid rgba(212, 168, 58, 0.95);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .promise-card,
  .promise-card.in-view {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .promise-expand-icon {
    transition: none;
  }

  .promise-detail-dialog::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none !important;
    opacity: 1 !important;
  }

  .promise-detail-dialog-shell {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .promise-detail-dialog-shell::before {
    animation: none !important;
    opacity: 1 !important;
    transform: scaleX(1);
  }

  .promise-detail-dialog-shell::after {
    animation: none !important;
    opacity: 1 !important;
  }

  .promise-detail-dialog-title {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .promise-detail-dialog-title::after {
    animation: none !important;
    width: 7.25rem;
  }

  .promise-detail-dialog-body {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .promise-detail-dialog-close {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  .team-detail-dialog-media:not(:empty) {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.promise-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.promise-icon svg {
  width: 22px;
  height: 22px;
}

.promise-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-top: 2px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.promises-video-wrap {
  display: flex;
  justify-content: center;
}

.promises-video {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 0 0 6px rgba(250, 204, 21, 0.18);
}

.promises-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  color: #0f172a;
  transition: background 0.3s ease;
}

.vc-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.promises-video:hover .vc-overlay::after,
.promises-video:focus-within .vc-overlay::after,
.promises-video:not(.is-playing) .vc-overlay::after {
  opacity: 1;
}

.promises-video:not(.is-playing) .vc-overlay {
  background: rgba(0, 0, 0, 0.22);
}

.vc-overlay-circle {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, opacity 0.25s ease;
}

.vc-overlay:hover .vc-overlay-circle {
  transform: scale(1.06);
}

.vc-overlay-circle .vc-icon {
  width: 30px;
  height: 30px;
  color: #0f172a;
  margin-left: 2px;
}

.vc-overlay-circle .vc-icon-pause {
  margin-left: 0;
}

.promises-video.is-playing .vc-overlay-circle {
  opacity: 0;
  transform: scale(0.9);
}

.promises-video.is-playing .vc-overlay .vc-icon-play { display: none; }
.promises-video:not(.is-playing) .vc-overlay .vc-icon-pause { display: none; }

.vc-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.promises-video:hover .vc-bar,
.promises-video:focus-within .vc-bar,
.promises-video:not(.is-playing) .vc-bar {
  opacity: 1;
  transform: translateY(0);
}

.vc-btn {
  border: 0;
  background: transparent;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
  transition: background 0.2s ease;
}

.vc-btn:hover { background: rgba(255, 255, 255, 0.18); }
.vc-btn:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

.vc-btn .vc-icon { width: 18px; height: 18px; }

.promises-video.is-playing .vc-bar .vc-icon-play { display: none; }
.promises-video:not(.is-playing) .vc-bar .vc-icon-pause { display: none; }

.promises-video.is-muted .vc-icon-vol { display: none; }
.promises-video:not(.is-muted) .vc-icon-mute { display: none; }

.vc-progress {
  flex: 1 1 auto;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.vc-progress:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 3px;
}

.vc-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #facc15, #fde047);
  transition: width 0.1s linear;
}

.promises-video:fullscreen {
  max-width: none;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}

.promises-video:fullscreen video {
  object-fit: contain;
  background: #000;
}

@media (max-width: 1100px) {
  .promises-layout {
    gap: 20px;
  }
  .promise-summary { padding: 16px 18px; }
  .promise-title { font-size: 0.96rem; }
  .promise-detail-dialog-body { font-size: 0.88rem; }
  .about-intro-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px) minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .about-intro-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-intro-video-wrap {
    order: -1;
    max-width: 360px;
    margin-inline: auto;
    width: 100%;
  }
}

/* ===== Team section (clean white with diagonal stripe accents) ===== */
.section-team {
  position: relative;
  background: var(--surface-warm);
  color: #0f172a;
  padding: 88px 60px 96px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(159, 18, 51, 0.08);
}

.section-team::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(820px 500px at 100% 0%, rgba(253, 224, 71, 0.22), transparent 55%),
    radial-gradient(700px 420px at 0% 100%, rgba(239, 68, 68, 0.1), transparent 58%);
  z-index: 0;
  pointer-events: none;
}

.section-team::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--gold-bright) 0%,
    var(--gold-crest) 35%,
    var(--red-main) 72%,
    var(--red-crest) 100%
  );
  z-index: 2;
  pointer-events: none;
  border-radius: 18px 18px 0 0;
}

.team-stripes {
  position: absolute;
  width: 620px;
  height: 620px;
  pointer-events: none;
  z-index: 0;
}

.team-stripes--yellow {
  top: -160px;
  left: -160px;
  background-image: repeating-linear-gradient(
    45deg,
    #facc15 0,
    #facc15 5px,
    transparent 5px,
    transparent 18px
  );
  -webkit-mask-image: radial-gradient(closest-side at top left, #000 0%, transparent 80%);
  mask-image: radial-gradient(closest-side at top left, #000 0%, transparent 80%);
  opacity: 0.72;
}

.team-stripes--red {
  bottom: -160px;
  right: -160px;
  background-image: repeating-linear-gradient(
    -45deg,
    #c91644 0,
    #c91644 5px,
    transparent 5px,
    transparent 18px
  );
  -webkit-mask-image: radial-gradient(closest-side at bottom right, #000 0%, transparent 80%);
  mask-image: radial-gradient(closest-side at bottom right, #000 0%, transparent 80%);
  opacity: 0.52;
}

.team-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.team-content {
  position: relative;
  z-index: 1;
}

.team-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.team-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.14);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-team h2 {
  color: #0f172a;
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.team-subtitle {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 560px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  background: var(--surface-card);
  border: 1px solid rgba(159, 18, 51, 0.11);
  border-radius: 18px;
  padding: 0;
  text-align: center;
  box-shadow: 0 6px 18px rgba(45, 32, 24, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(28px);
  position: relative;
}

.team-card-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 26px 18px 22px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  box-sizing: border-box;
}

.team-card-summary:focus-visible {
  outline: 2px solid rgba(212, 168, 58, 0.85);
  outline-offset: 3px;
}

.team-card-summary .team-name {
  margin: 0 0 6px;
  width: 100%;
}

.team-card-summary .promise-expand-icon.promise-expand-icon--after-preview {
  margin-left: 0;
  margin-top: 4px;
  align-self: center;
  color: #b45309;
  opacity: 0.9;
}

.team-card-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 400;
  color: #475569;
  text-align: center;
}

.team-card.in-view {
  animation: wowTeamCardIn 0.92s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 120ms);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(45, 32, 24, 0.12);
  border-color: rgba(212, 168, 58, 0.5);
}

.team-card:hover .team-card-summary .team-photo {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.28), 0 10px 22px rgba(0, 0, 0, 0.12);
  transform: scale(1.04);
}

.team-photo {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18), 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-name {
  display: block;
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.team-quote {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #334155;
}

.team-detail-dialog-media:empty {
  display: none;
}

.team-detail-dialog-media:not(:empty) {
  position: relative;
  z-index: 3;
  margin: 0 auto 12px;
  max-width: 228px;
  width: min(58vw, 228px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 4px rgba(239, 68, 68, 0.22),
    0 0 0 9px rgba(253, 224, 71, 0.26),
    0 20px 44px rgba(15, 23, 42, 0.24);
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  opacity: 1;
  transform: none;
}

.team-detail-dialog-media .team-detail-dialog-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-card.in-view {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 1180px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .section-team {
    padding: 60px 26px 72px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 460px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: min(320px, 100%);
    margin: 0 auto;
  }
}

/* ===== Legal page (Impresum) ===== */
.legal-hero {
  position: relative;
  background: var(--surface-warm);
  color: #0f172a;
  padding: 56px 60px 64px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  box-shadow: inset 0 0 0 1px rgba(159, 18, 51, 0.08);
}

.legal-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--red-crest) 0%,
    var(--red-main) 30%,
    var(--gold-crest) 65%,
    var(--gold-bright) 100%
  );
  z-index: 2;
  pointer-events: none;
  border-radius: 18px 18px 0 0;
}

.legal-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.legal-stripes {
  position: absolute;
  width: 480px;
  height: 480px;
  pointer-events: none;
  z-index: 0;
}

.legal-stripes--yellow {
  top: -140px;
  left: -140px;
  background-image: repeating-linear-gradient(
    45deg,
    #facc15 0,
    #facc15 5px,
    transparent 5px,
    transparent 18px
  );
  -webkit-mask-image: radial-gradient(closest-side at top left, #000 0%, transparent 80%);
  mask-image: radial-gradient(closest-side at top left, #000 0%, transparent 80%);
  opacity: 0.68;
}

.legal-stripes--red {
  bottom: -140px;
  right: -140px;
  background-image: repeating-linear-gradient(
    -45deg,
    #c91644 0,
    #c91644 5px,
    transparent 5px,
    transparent 18px
  );
  -webkit-mask-image: radial-gradient(closest-side at bottom right, #000 0%, transparent 80%);
  mask-image: radial-gradient(closest-side at bottom right, #000 0%, transparent 80%);
  opacity: 0.5;
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  transition: background 0.2s ease, transform 0.2s ease;
}

.legal-back-link:hover {
  background: rgba(250, 204, 21, 0.25);
  transform: translateX(-3px);
}

.legal-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b45309;
  background: rgba(250, 204, 21, 0.22);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.legal-h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  max-width: 100%;
}

.legal-intro {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: #475569;
  max-width: 640px;
}

.legal-body {
  background: var(--surface-card);
  color: #0f172a;
  padding: 70px 60px 80px;
  border-radius: 18px;
  display: grid;
  gap: 36px;
  box-shadow: inset 0 0 0 1px rgba(212, 168, 58, 0.15);
}

.legal-section {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #facc15;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding-top: 6px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-section-text {
  min-width: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.legal-section p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
}

.legal-meta {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 18px;
  margin: 18px 0 0;
  font-size: 0.95rem;
}

.legal-meta dt {
  font-weight: 700;
  color: #0f172a;
}

.legal-meta dd {
  margin: 0;
  color: #475569;
}

.legal-meta a {
  color: #b45309;
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 83, 9, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-meta a:hover {
  color: #92400e;
  border-bottom-color: #92400e;
}

.legal-updated {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
  font-style: italic;
  text-align: right;
}

@media (max-width: 880px) {
  .legal-hero {
    padding: 40px 26px 52px;
  }
  .legal-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .legal-hero .lang-switch {
    position: static;
    align-self: flex-end;
    z-index: 5;
    margin: 0;
    padding: 5px;
    gap: 8px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  }
  .legal-hero .lang-switch .lang-btn {
    width: 44px;
    height: 30px;
  }
  .legal-body {
    padding: 52px 26px 60px;
    gap: 28px;
  }
  .legal-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 28px;
  }
  .legal-number {
    font-size: 1.3rem;
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .page {
    width: calc(100vw - 16px);
    margin: 14px auto 8px;
  }

  .promises-col {
    max-width: 100%;
  }

  .section-promises h2 {
    font-size: clamp(1.5rem, 6.5vw, 2.15rem);
  }

  .promises-subtitle {
    font-size: 0.95rem;
  }

  .promise-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .promise-icon svg {
    width: 19px;
    height: 19px;
  }

  .promise-summary {
    gap: 10px;
    padding: 14px 14px;
  }

  .promise-title {
    font-size: 0.9rem;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.check-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin-bottom: 6px;
  padding-left: 24px;
  position: relative;
  font-weight: 600;
  font-size: 0.93rem;
}

.check-list li::before {
  content: "â‘";
  position: absolute;
  left: 0;
}

.video-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
  min-height: 335px;
  object-fit: cover;
}

.video-card {
  position: relative;
}

.play-btn {
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: #ff2f55;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.join-form {
  margin-top: 22px;
}

.join-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.join-form input[type="email"] {
  width: 100%;
  height: 40px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  padding: 0 12px;
  margin-bottom: 14px;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.checkbox-row input {
  margin-top: 5px;
}

.checkbox-row span {
  font-size: 0.9rem;
  line-height: 1.4;
}

.btn-submit {
  min-width: 140px;
  padding: 10px 22px;
  font-size: 0.95rem;
  background: #d71143;
}

.form-message {
  margin-top: 10px;
  min-height: 24px;
  font-weight: 600;
}

.download-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
}

.footer {
  background: linear-gradient(135deg, #5f0c1c 0%, #7b1026 42%, #69122a 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  gap: 20px;
  box-shadow: inset 0 3px 0 0 rgba(245, 215, 106, 0.35);
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, font-weight 0.22s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background-color: #facc15;
  border-color: #facc15;
  color: #0f172a;
  font-weight: 700;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(250, 204, 21, 0.4);
  outline: none;
}

.footer-links a:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(250, 204, 21, 0.35);
}

@media (max-width: 980px) {
  .hero,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    row-gap: 14px;
  }

  .hero-nav {
    padding: 14px 12px 16px;
  }

  .hero-brand-mark {
    height: clamp(68px, 20vw, 104px);
  }

  .hero-col {
    position: relative;
    padding-top: 0;
  }

  .hero > .hero-tag-row + .hero-col > .hero-image.card,
  .hero > .hero-tag-row ~ .hero-col:last-of-type > .hero-content.card {
    margin-top: 0;
    border-top-left-radius: var(--hero-radius);
    border-top-right-radius: var(--hero-radius);
  }

  .hero-tag-row {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(8px, 2.5vw, 16px) 4px 0;
    box-sizing: border-box;
    min-height: 0;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
  }

  .hero-tag-row .hero-tag {
    --tag-cap: 0px;
    --tag-extension: 0px;
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    flex: 1 1 calc(50% - 6px);
    min-width: min(140px, 46%);
    width: auto;
    max-width: calc(50% - 4px);
    min-height: 54px;
    height: auto;
    padding: 12px 10px;
    font-size: clamp(0.78rem, 3.4vw, 0.94rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    hyphens: auto;
    -webkit-hyphens: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(181, 13, 64, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 5;
    /* Ne üssön át a mozgó háttér / blend; teljes fedő gradiens */
    isolation: isolate;
    background: linear-gradient(180deg, #b50d40 0%, #960831 100%) !important;
    background-color: #960831;
    color: #fff !important;
    opacity: 1;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-tag-row .hero-tag--active {
    background: linear-gradient(180deg, #db1851 0%, #ad0b3c 100%) !important;
    background-color: #ad0b3c;
    color: #fff !important;
    opacity: 1;
    box-shadow:
      0 12px 28px rgba(181, 13, 64, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -3px 0 rgba(255, 255, 255, 0.95);
  }

  /* Név a kép alatt: ne takarja a portré nagy részét mobilon */
  .hero-image.card {
    display: flex;
    flex-direction: column;
    min-height: min(52vh, 380px);
  }

  .hero-image {
    min-height: 0;
  }

  .hero-photo {
    flex: 1 1 auto;
    min-height: min(36vh, 280px);
    width: 100%;
    object-fit: cover;
  }

  .hero-photo--home {
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
    width: 100%;
    min-height: 0;
    max-height: min(88vw, 360px);
    height: auto;
    object-position: 50% 44%;
    transform-origin: 50% 44%;
  }

  .hero-image.card:has(.hero-photo--home) {
    min-height: 0;
  }

  .hero-image .logo {
    position: static;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom, 0px));
    font-size: clamp(1.35rem, 5.2vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    border-radius: 0 0 var(--hero-radius) var(--hero-radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .section-promises {
    padding: 52px 20px 64px;
  }

  .promises-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: min(560px, 100%);
  }

  .promises-col {
    gap: 14px;
  }

  .promise-summary {
    padding: 16px 16px;
    gap: 12px;
  }

  .promise-title {
    font-size: 0.96rem;
  }

  .hero-content,
  .section {
    padding: 24px 16px;
  }

  .hero-content h1 {
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 6.8vw, 2.55rem);
    line-height: 1.08;
    max-width: 100%;
  }

  .hero-content .hero-headline--static {
    max-width: 100%;
  }

  .hero-static {
    max-width: 100%;
  }

  .hero-static-text {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .play-btn {
    top: 42%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-col > .hero-content {
    position: relative;
  }

  .hero-content .top-nav {
    position: static;
    align-self: flex-end;
    z-index: 2;
    margin: 0 0 4px;
    padding: 5px;
    gap: 8px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  }

  .hero-content .top-nav .lang-btn {
    width: 44px;
    height: 30px;
  }

  .promise-detail-dialog {
    max-width: min(94vw, 520px);
    width: calc(100vw - 20px);
  }

  .promise-detail-dialog-shell {
    padding: 26px 18px max(22px, env(safe-area-inset-bottom, 0px));
    max-height: min(82dvh, 620px);
  }

  .promise-detail-dialog-close {
    top: 10px;
    right: 10px;
  }
}
