:root { --hero-display-font: "Arial Black", "Roboto Black", "sans-serif-black", Arial, Helvetica, sans-serif; }

.hero-section { position: relative; width: min(100% - 16px, 1120px); min-height: 430px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(220px, .68fr) minmax(280px, 1fr); gap: 26px; padding: 22px 0 10px; border-bottom: 2px solid var(--line); }
.hero-copy { padding: 0; }
.hero-copy h1 { margin: 0 0 20px; color: var(--ink); font-family: var(--hero-display-font); font-size: clamp(58px, 6.7vw, 88px); font-weight: 900; font-synthesis: weight; -webkit-text-stroke: .65px currentColor; line-height: .94; letter-spacing: -.075em; }
.hero-copy h1 .hero-title-accent { color: var(--blue); }
.hero-title-mobile { display: none; }
.hero-title-mobile--overlap { display: none; }
.hero-copy p { max-width: 500px; margin: 0 0 22px; font-size: 17px; line-height: 1.13; }
.hero-button { min-width: 210px; height: 54px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--blue); color: #fff; font-size: 18px; line-height: 1.08; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hero-button span { font-size: 23px; line-height: 1; }
.hero-stats { min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 22px 0 0 26px; border-left: 1px solid #8f989f; }
.hero-stat { min-height: 92px; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; border-bottom: 1px solid #8f989f; }
.hero-stat:last-child { border-bottom: 0; }
.hero-stat strong { font-family: var(--hero-display-font); font-size: 70px; font-weight: 900; line-height: .76; letter-spacing: -.08em; }
.hero-stat b { display: block; font-size: 19px; line-height: 1; }
.hero-stat span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.05; }
.hero-visual { position: relative; min-height: 320px; margin-top: -22px; margin-bottom: -10px; overflow: hidden; background: #aeb7bb; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; background-position: center; background-size: cover; filter: grayscale(1) contrast(.9); transition: opacity .75s ease, filter .4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(215,222,224,.3), rgba(35,48,56,.62)); }
@media (hover: hover) {
  .hero-visual:hover .hero-slide.is-active { filter: grayscale(0) contrast(1); }
}
.slide-kecskemet { background-image: url("assets/hero/kecskemet.jpg"); background-position: 52% center; }
.slide-debrecen { background-image: url("assets/hero/debrecen.jpg"); background-position: 50% center; }
.slide-szeged { background-image: url("assets/hero/szeged.jpg"); background-position: 50% center; }
.slide-pecs { background-image: url("assets/hero/pecs.jpg"); background-position: 50% center; }
.slide-miskolc { background-image: url("assets/hero/miskolc.jpg"); background-position: 50% center; }
.slide-veszprem { background-image: url("assets/hero/veszprem.jpg"); background-position: 50% center; }
.slide-nyiregyhaza { background-image: url("assets/hero/nyiregyhaza.jpg"); background-position: 50% center; }
.slide-szolnok { background-image: url("assets/hero/szolnok.jpg"); background-position: 50% center; }
.hero-label { position: absolute; right: 18px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; color: #fff; font-size: 20px; font-weight: 700; line-height: .93; white-space: nowrap; }
.hero-label span { display: table; padding: 3px 6px 2px; background: var(--blue); }
@media (max-width: 800px) {
  .hero-section { width: 100%; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 12px 16px 0; }
  .hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; min-width: 0; padding: 3px 0 0; }
  .hero-title-desktop { display: none; }
  .hero-title-mobile { display: block; max-width: 100%; white-space: normal; overflow-wrap: normal; }
  .hero-copy h1 { position: relative; margin-bottom: 14px; font-size: clamp(34px, 10.5vw, 44px); font-synthesis: weight; -webkit-text-stroke: 1.4px currentColor; text-shadow: .25px 0 currentColor, -.25px 0 currentColor; line-height: .88; letter-spacing: -.06em; }
  .hero-title-mobile--overlap { position: absolute; top: 0; left: 0; display: block; width: 100%; color: #fff; white-space: normal; overflow-wrap: normal; clip-path: inset(0 0 0 calc(50vw - 16px)); pointer-events: none; }
  .hero-copy p { margin-bottom: 16px; font-size: 14px; line-height: 1.13; }
  .hero-button { min-width: 160px; width: 100%; height: 48px; gap: 10px; padding: 0 12px; font-size: 16px; line-height: 1.05; white-space: normal; }
  .hero-button span { font-size: 23px; }
  .hero-visual { position: relative; z-index: 1; grid-column: 2; grid-row: 1; width: 100%; height: auto; min-height: 0; margin: 0; align-self: stretch; justify-self: end; }
  .hero-label { left: auto; right: 10px; bottom: 12px; font-size: 16px; }
  .hero-label span { padding: 2px 5px 1px; }
  .hero-stats { grid-column: 1 / -1; grid-row: 2; min-height: 0; display: grid; grid-template-columns: repeat(2, 1fr); padding: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-stat { min-height: 82px; display: block; padding: 10px 8px 0; text-align: center; border-right: 1px solid #8f989f; border-bottom: 1px solid #8f989f; }
  .hero-stat:nth-child(2n) { border-right: 0; }
  .hero-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-stat strong { display: block; margin-bottom: 4px; font-size: 42px; }
  .hero-stat--reach { grid-template-columns: none; }
  .hero-stat--reach strong { font-size: 42px; }
  .hero-stat b { font-size: 12px; }
  .hero-stat span { margin-top: 4px; font-size: 9px; }
  .desktop-only { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
