:root {
  --sarga: #ffd400;
  --fekete: #0e0d0b;
  --kartya: #1e1c19;
  --kartya2: #2a2825;
  --szurke: #b8b4ac;
  --feher: #fff;
  --cim: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Bold", sans-serif;
  --szoveg: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--fekete); color: var(--feher); font: 17px/1.6 var(--szoveg); }
img { max-width: 100%; display: block; }
a { color: var(--sarga); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-family: var(--cim); font-weight: 400; font-size: clamp(30px, 5vw, 46px); color: var(--sarga); text-transform: uppercase; letter-spacing: .5px; }
h3 { font-size: 20px; color: var(--sarga); }
p { margin: 0 0 1em; }
.center { text-align: center; }
.muted { color: var(--szurke); }
.small { font-size: 15px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: #161512; }
.rounded { border-radius: 14px; }
.ico { font-size: 40px; display: block; line-height: 1; margin-bottom: 12px; }

/* fejléc */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: rgba(14, 13, 11, .88); backdrop-filter: blur(8px); }
.logo { font-family: var(--cim); font-size: 26px; color: var(--feher); text-decoration: none; letter-spacing: 1px; margin: 0; }
.logo span { color: var(--sarga); }
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--feher); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--sarga); }
.nav-cta { background: var(--sarga); color: var(--fekete) !important; padding: 8px 16px; border-radius: 30px; }
.menu-btn { display: none; background: none; border: 0; color: var(--sarga); font-size: 30px; cursor: pointer; }

/* gombok */
.btn { display: inline-block; padding: 14px 28px; border-radius: 40px; font-weight: 700; text-decoration: none; font-size: 18px; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sarga); color: var(--fekete); }
.btn-ghost { border: 2px solid var(--sarga); color: var(--sarga); }
.btn-fb { background: #1877f2; color: #fff; }
.btn-sm { padding: 10px 22px; font-size: 16px; }

/* nyitókép */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 30% 85%; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(14,13,11,.88) 0%, rgba(14,13,11,.55) 38%, rgba(14,13,11,0) 58%),
              linear-gradient(0deg, rgba(14,13,11,1) 0%, rgba(14,13,11,0) 30%); }
.hero-text { position: relative; z-index: 2; padding: 0 5vw 12vh 20px; max-width: min(640px, 47vw); box-sizing: content-box; margin-left: auto; }
.kicker { text-transform: uppercase; letter-spacing: 3px; font-weight: 700; color: var(--sarga); font-size: 15px; }
.hero h1 { font-family: var(--cim); font-weight: 400; font-size: clamp(46px, 6.6vw, 96px); text-transform: uppercase; color: var(--feher);
  text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.hero h1 span { color: var(--sarga); }
.hero-sub { font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
/* magasságjelző vonal a robot mellett (helyét a js/main.js számolja ki) */
.height-ruler { position: absolute; z-index: 3; width: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.height-ruler.ready { opacity: 1; }
.hr-line { position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; background: var(--sarga);
  box-shadow: 0 0 10px rgba(0,0,0,.7); transform-origin: bottom; }
.hr-line::before { content: ""; position: absolute; left: -7px; width: 17px; top: 0; bottom: 0;
  background-image: linear-gradient(to bottom, var(--sarga) 2px, transparent 2px); background-size: 100% 10%; }
.hr-line::after { content: ""; position: absolute; left: -4px; width: 11px; top: 5%; bottom: 0;
  background-image: linear-gradient(to bottom, rgba(255,212,0,.7) 1px, transparent 1px); background-size: 100% 10.526%; }
.hr-guide { position: absolute; left: -14px; height: 0; border-top: 2px dashed rgba(255,212,0,.8); }
.hr-guide::before { content: ""; position: absolute; left: 0; top: -2px; width: 28px; height: 2px; background: var(--sarga); }
.hr-top { top: 0; }
.hr-bottom { bottom: 0; }
.hr-label { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); white-space: nowrap;
  font-family: var(--cim); font-size: clamp(22px, 2.6vw, 36px); line-height: 1; color: var(--sarga);
  background: rgba(14,13,11,.92); border: 2px solid var(--sarga); border-radius: 6px; padding: 6px 10px 5px;
  box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.height-ruler.ready .hr-line { animation: hr-grow 1.1s cubic-bezier(.3,.8,.3,1) both; }
.height-ruler.ready .hr-guide { animation: hr-fade .4s ease-out both; }
.height-ruler.ready .hr-top { animation-delay: 1s; }
.height-ruler.ready .hr-label { animation: hr-fade .5s ease-out 1.1s both; }
@keyframes hr-grow { from { transform: scaleY(0); } }
@keyframes hr-fade { from { opacity: 0; } }

/* rólunk */
.two-col { display: grid; grid-template-columns: 2fr 3fr; gap: 50px; align-items: center; }
.two-col img { max-height: 560px; width: 100%; object-fit: cover; }
.lead { font-size: 20px; font-weight: 600; }

/* műsor */
.show-photo { margin: 30px 0 10px; position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 50px rgba(0,0,0,.6); }
.show-photo img { width: 100%; aspect-ratio: 1408 / 628; object-fit: cover; }
.show-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; text-align: center; font-weight: 700;
  background: linear-gradient(0deg, rgba(14,13,11,.9), rgba(14,13,11,0)); }
.steps { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: lepes; }
.steps::before { content: ""; position: absolute; top: 45px; left: 10%; right: 10%; height: 4px; background: var(--sarga); }
.steps li { position: relative; text-align: center; counter-increment: lepes; }
.steps .ico { width: 90px; height: 90px; margin: 0 auto 14px; border-radius: 50%; background: var(--sarga); display: grid; place-items: center; font-size: 40px; }
.steps b { display: block; color: var(--sarga); font-size: 19px; }
.steps b::before { content: counter(lepes) ". "; }
.steps li > span:last-child { color: var(--szurke); font-size: 15px; }
.photo-point { display: grid; grid-template-columns: 2fr 3fr; gap: 30px; align-items: center; background: var(--kartya); border-radius: 16px; padding: 20px; margin: 0 0 30px; border-left: 4px solid var(--sarga); }
.photo-point img { border-radius: 10px; }
.photo-point p { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts div { background: var(--kartya); border-radius: 12px; padding: 18px; text-align: center; }
.facts b { display: block; font-family: var(--cim); font-weight: 400; font-size: 38px; color: var(--sarga); }
.facts span { color: var(--szurke); font-size: 14px; }

/* kártyák */
.card { background: var(--kartya); border-radius: 14px; padding: 26px; border-top: 4px solid var(--sarga); }
.card p:last-child { margin-bottom: 0; }
.events { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; }
.events .card { text-align: center; }
.events p { color: var(--szurke); font-size: 15px; }

/* robotok */
.robots { display: grid; gap: 30px; margin-top: 30px; }
.robot { display: grid; grid-template-columns: 2fr 3fr; gap: 0; background: var(--kartya); border-radius: 16px; overflow: hidden; }
.robot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.robot-body { padding: 36px; }
.robot-body h3 { font-family: var(--cim); font-weight: 400; font-size: 44px; text-transform: uppercase; margin-bottom: 4px; }
.robot-sub { color: var(--szurke); font-weight: 600; }
.robot ul { list-style: none; padding: 0; margin: 20px 0 0; }
.robot li { padding: 8px 0 8px 34px; position: relative; border-bottom: 1px solid var(--kartya2); }
.robot li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--sarga); color: var(--fekete);
  font-weight: 900; font-size: 14px; display: grid; place-items: center; }

/* galéria */
.video-box { max-width: 380px; margin: 30px auto 40px; }
.video-box video { width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; display: block; margin-bottom: 10px; box-shadow: 0 10px 40px rgba(255,212,0,.15); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 30px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 54px; cursor: pointer; padding: 10px 18px; }
.lb-close { top: 6px; right: 10px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: var(--szurke); }

/* feltételek */
.warning { display: flex; gap: 20px; align-items: flex-start; background: #3a2f05; border: 2px solid var(--sarga); border-radius: 14px; padding: 26px; margin: 30px 0; }
.warning .ico { margin: 0; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; margin-top: 50px; }
.area-map { position: relative; width: 260px; height: 260px; }
.ring { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.r3 { width: 260px; height: 260px; background: #26231e; }
.r2 { width: 175px; height: 175px; background: #3a331c; }
.r1 { width: 90px; height: 90px; background: #6b5810; }
.dot { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--sarga); box-shadow: 0 0 0 0 rgba(255,212,0,.7); animation: pulzus 2s infinite; }
.city { position: absolute; left: 0; right: 0; top: 56%; text-align: center; font-family: var(--cim); font-size: 18px; letter-spacing: 1px; }
@keyframes pulzus { 70% { box-shadow: 0 0 0 22px rgba(255,212,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,212,0,0); } }

/* kapcsolat */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.person { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.person h3 { color: var(--feher); margin: 0; }
.phone { font-family: var(--cim); font-size: 32px; color: var(--sarga); text-decoration: none; letter-spacing: .5px; }
.mail { color: var(--feher); word-break: break-all; text-decoration: none; font-weight: 600; }
.mail:hover { color: var(--sarga); }

.person .avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid var(--sarga); margin-bottom: 6px; }
.avatar-icon { display: grid; place-items: center; font-size: 48px; background: var(--kartya2); }
.quote-cta { margin-top: 30px; text-align: center; background: linear-gradient(135deg, #3a2f05, var(--kartya)); border: 2px solid var(--sarga); border-radius: 16px; padding: 34px 20px; }
.quote-cta h3 { font-family: var(--cim); font-weight: 400; font-size: clamp(26px, 4vw, 38px); text-transform: uppercase; }
.quote-cta button { border: 0; cursor: pointer; font-family: inherit; }

/* ajánlatkérő ablak */
.modal { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: 100%; max-width: 620px; background: var(--kartya); border-top: 5px solid var(--sarga); border-radius: 16px; padding: 30px; animation: modal-in .25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px); } }
.modal-box h2 { margin-bottom: 6px; }
.modal-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: var(--feher); font-size: 38px; cursor: pointer; line-height: 1; }
.quote-form { display: grid; gap: 14px; margin-top: 16px; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-weight: 400; color: var(--feher); background: var(--fekete); border: 1px solid #4a4741; border-radius: 10px; padding: 11px 12px; width: 100%; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--sarga); border-color: transparent; }
.quote-form input[type="date"] { color-scheme: dark; }
.quote-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.quote-form .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--sarga); }
.quote-form button { border: 0; cursor: pointer; font-family: inherit; justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hidden-field { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 700; }
.form-status.ok { color: #7ee07e; }
.form-status.err { color: #ff8a7a; }

/* lábléc */
.footer { background: #080807; padding: 50px 0 90px; font-size: 15px; }
.footer p { margin: 0 0 4px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.copy { text-align: center; color: #6d6a64; margin-top: 30px !important; }

.call-bar { display: none; }

/* megjelenés görgetéskor */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .height-ruler * { animation: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } .dot { animation: none; } }

/* tablet */
@media (max-width: 980px) {
  .events { grid-template-columns: repeat(2, 1fr); }
  .events .card:last-child { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .steps::before { left: 44px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; }
  .steps li { display: grid; grid-template-columns: 90px 1fr; column-gap: 18px; text-align: left; align-items: center; }
  .steps .ico { grid-row: span 2; margin: 0; }
  .cols3, .contacts { grid-template-columns: 1fr; }
}

/* telefon */
@media (max-width: 760px) {
  .form-row { grid-template-columns: 1fr; }
  .modal-box { padding: 24px 18px; }
  .modal { place-items: start center; }
  .photo-point { grid-template-columns: 1fr; gap: 16px; }
  .show-photo img { aspect-ratio: 4 / 3; object-position: 54% 40%; }
  .show-photo figcaption { position: static; background: var(--kartya); padding: 12px 16px; font-size: 15px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section { padding: 60px 0; }
  .menu-btn { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--fekete); border-top: 1px solid var(--kartya2); }
  nav.open { display: flex; }
  nav a { padding: 14px 20px; width: 100%; border-bottom: 1px solid var(--kartya2); font-size: 17px; }
  .nav-cta { border-radius: 0; }
  .hero { display: block; min-height: 0; }
  .hero picture { position: relative; display: block; height: 68vh; height: 68svh; }
  .hero::after { top: 0; bottom: auto; height: 68svh; background: linear-gradient(0deg, rgba(14,13,11,1) 0%, rgba(14,13,11,0) 30%); }
  .hero-text { padding: 0 20px 40px; margin: -6px 0 0; max-width: none; box-sizing: border-box; }
  .hero-img { object-position: 50% 30%; }
  .two-col, .robot { grid-template-columns: 1fr; gap: 30px; }
  .robot { gap: 0; }
  .robot img { max-height: 600px; object-position: 50% 0; }
  .robot-body { padding: 26px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .events { grid-template-columns: 1fr; }
  .events .card:last-child { grid-column: auto; }
  .area { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .warning { flex-direction: column; gap: 10px; }
  .call-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--sarga); color: var(--fekete);
    text-align: center; font-weight: 800; font-size: 18px; padding: 15px; text-decoration: none; box-shadow: 0 -4px 20px rgba(0,0,0,.5); }
}

/* tablet: keskenyebb nyitószöveg, hogy ne lógjon a robotra */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-text { max-width: 40vw; padding-right: 4vw; }
  .hero h1 { font-size: 5.8vw; }
  .hero-sub { font-size: 17px; }
  .kicker { font-size: 13px; letter-spacing: 2px; }
}

/* álló tablet: a kép fölül, a szöveg alatta, mint telefonon */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero { display: block; min-height: 0; }
  .hero picture { position: relative; display: block; height: 62vh; }
  .hero::after { top: 0; bottom: auto; height: 62vh; background: linear-gradient(0deg, rgba(14,13,11,1) 0%, rgba(14,13,11,0) 30%); }
  .hero-img { object-position: 38% 30%; }
  .hero-text { max-width: none; margin: -50px 0 0; padding: 0 6vw 60px; box-sizing: border-box; }
  .hero h1 { font-size: 9vw; }
}
