/* ============================================================
   Elevake – Modern Industrial Website
   ============================================================ */

/* ---------- Variables & Reset ---------- */
:root {
  --steel-dark:    #0e1117;
  --steel-mid:     #1a2030;
  --steel-panel:   #222c3c;
  --steel-light:   #2e3d52;
  --accent:        #4d9de0;
  --accent-warm:   #c07d3a;
  --text-primary:  #f0f4f8;
  --text-muted:    #8a9bb0;
  --white:         #ffffff;
  --light-bg:      #f4f6f8;
  --light-card:    #ffffff;
  --border:        #2e3d52;
  --font-sans:     'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-display:  'Space Grotesk', 'Inter', system-ui, sans-serif;
  --transition:    0.6s cubic-bezier(0.77, 0, 0.175, 1);
  --door-speed:    0.9s cubic-bezier(0.86, 0, 0.07, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--steel-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
p  { font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: var(--text-muted); line-height: 1.75; }

.accent   { color: var(--accent); }
.warm     { color: var(--accent-warm); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--steel-dark); }
::-webkit-scrollbar-thumb { background: var(--steel-panel); border-radius: 3px; }

/* ============================================================
   TOP BANNER (Széchenyi Terv)
   ============================================================ */
#szechenyi-banner {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-bottom: 3px solid var(--accent);
  position: relative;
  z-index: 200;
}
#szechenyi-banner a {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: opacity 0.3s;
}
#szechenyi-banner a:hover { opacity: 0.8; }
#szechenyi-banner img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
#szechenyi-banner span {
  font-size: 0.82rem;
  color: #1a2030;
  font-weight: 500;
  max-width: 440px;
  line-height: 1.4;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 max(24px, 5vw);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo img {
  height: 38px;
  width: auto;
  filter: brightness(1.1);
}
.header-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}
.header-logo .logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}
nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
nav a:hover { color: var(--white); }
nav a:hover::after { width: 100%; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ============================================================
   LIFT DOOR SECTION WRAPPER
   ============================================================ */
.lift-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Door panels – sit on top, slide away when section is active */
.door-left,
.door-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: var(--steel-panel);
  z-index: 10;
  transition: transform var(--door-speed);
  will-change: transform;
  /* subtle brushed-metal texture via gradient */
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 60px
    ),
    linear-gradient(180deg, #2e3d52 0%, #1e2c3e 40%, #222c3c 100%);
}
.door-left  { left: 0; transform: translateX(0); }
.door-right { right: 0; transform: translateX(0); }

/* Door gap line */
.door-left::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 3px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

/* Lift floor indicator strip */
.door-left::before,
.door-right::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, transparent, var(--accent) 50%, transparent);
  opacity: 0.18;
}
.door-left::before  { right: 12px; }
.door-right::before { left: 12px; }

/* Panel-indicator dots */
.door-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 11;
}
.door-left .door-indicator  { right: 28px; }
.door-right .door-indicator { left: 28px; }

.door-indicator span {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s 0.2s;
  box-shadow: 0 0 6px var(--accent);
}

/* Open state - doors slide apart */
.lift-section.doors-open .door-left  { transform: translateX(-100%); }
.lift-section.doors-open .door-right { transform: translateX(100%); }
.lift-section.doors-open .door-indicator span { opacity: 0.6; }

/* Content inside lift sections */
.lift-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Horizontal rule / floor-position indicator */
.floor-tag {
  position: absolute;
  top: 28px;
  right: max(24px, 5vw);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.6s 0.5s;
}
.floor-tag::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--text-muted);
}
.lift-section.doors-open .floor-tag { opacity: 1; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--steel-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(77,157,224,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(192,125,58,0.06) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px max(24px, 5vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-text .eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--accent);
}

.hero-text h1 {
  margin-bottom: 24px;
  color: var(--white);
}
.hero-text h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-text p {
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.service-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  transition: all 0.25s;
}
.service-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(77,157,224,0.06);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--white);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.hero-image-wrap img {
  width: 100%;
  max-width: 520px;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: -20px 20px 60px rgba(0,0,0,0.5);
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,17,23,0.3) 0%, transparent 60%);
  border-radius: 2px;
}
.hero-stat-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--steel-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  backdrop-filter: blur(8px);
}
.hero-stat-box .stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-box .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}
.scroll-cue svg { opacity: 0.5; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION: Light background (alternating)
   ============================================================ */
.section-light {
  background: var(--light-bg);
  color: var(--steel-dark);
}
.section-light h2, .section-light h3 { color: var(--steel-dark); }
.section-light p { color: #4a5568; }
.section-light .section-label { color: var(--accent); }
.section-light .door-left,
.section-light .door-right {
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.025) 0px,
      rgba(0,0,0,0.025) 1px,
      transparent 1px,
      transparent 60px
    ),
    linear-gradient(180deg, #dde4ea 0%, #c8d4de 40%, #d0dae2 100%);
}

/* ============================================================
   SECTION LAYOUT HELPERS
   ============================================================ */
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px max(24px, 5vw);
  width: 100%;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: currentColor;
}

/* ============================================================
   SECTION: TERVEZES
   ============================================================ */
#tervezes .lift-content {
  background: var(--steel-mid);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.text-block h2 { margin-bottom: 24px; }
.text-block p  { margin-bottom: 18px; }

.feature-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: rgba(77,157,224,0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%234d9de0' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.section-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.section-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.section-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77,157,224,0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================================================
   SECTION: FEJLESZTES / GYARTAS
   ============================================================ */
#fejlesztes .lift-content {
  background: var(--steel-dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--steel-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 24px;
}
.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--white);
}
.card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   SECTION: IoT / VEZÉRLES
   ============================================================ */
#vezerlés .lift-content {
  background: var(--steel-panel);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  margin-top: 48px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.stat-cell {
  background: var(--steel-mid);
  padding: 36px 28px;
  text-align: center;
  transition: background 0.3s;
}
.stat-cell:hover { background: var(--steel-panel); }
.stat-cell .big {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-cell .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.iot-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.iot-feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s;
}
.iot-feature:hover { border-color: var(--accent); }
.iot-feature .icon {
  width: 44px; height: 44px;
  background: rgba(77,157,224,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.4rem;
}
.iot-feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--white);
}
.iot-feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Light-section overrides — dark theme variables are unreadable on #f4f6f8 */
.section-light .iot-feature {
  background: var(--white);
  border-color: #cdd5df;
}
.section-light .iot-feature h3 { color: #1a2030; }
.section-light .iot-feature p  { color: #4a5568; }
.section-light .iot-spec-list li { border-color: #cdd5df; }
.section-light .iot-spec-list li:first-child { border-color: #cdd5df; }
.section-light .iot-spec-list .spec-key { color: #6b7280; }
.section-light .iot-spec-list .spec-val { color: #1a2030; }

/* ============================================================
   SECTION: TÖMEGKÖZLEKEDÉS
   ============================================================ */
#tomegkozlekedes .lift-content {
  background: var(--steel-dark);
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.reference-item {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}
.reference-item:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(77,157,224,0.05);
}
.reference-item::before {
  content: '▸';
  color: var(--accent);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ============================================================
   SECTION: CONTACT
   ============================================================ */
#kapcsolat .lift-content {
  background: var(--steel-mid);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--steel-panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.contact-card .country {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-card .address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-card .email {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.2s;
}
.contact-card .email:hover { opacity: 0.75; }

/* ============================================================
   SECTION: HIRDETÉS (Digital Advertising)
   ============================================================ */
#hirdetes .lift-content {
  background: var(--steel-dark);
  position: relative;
  overflow: hidden;
}
#hirdetes .lift-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 85% 50%, rgba(192,125,58,0.09) 0%, transparent 68%),
    radial-gradient(ellipse 50% 45% at 8%  80%, rgba(77,157,224,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Stats row */
.ad-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.ad-stat {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.ad-stat:last-child { border-right: none; }
.ad-stat:hover { background: rgba(192,125,58,0.07); }
.ad-stat-num {
  display: block;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--accent-warm);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ad-stat-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.45;
}

/* Feature grid */
.ad-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.ad-feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.ad-feature::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-warm), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.ad-feature:hover {
  border-color: var(--accent-warm);
  transform: translateY(-3px);
}
.ad-feature:hover::after { opacity: 1; }
.ad-feature-icon {
  width: 44px; height: 44px;
  background: rgba(192,125,58,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.ad-feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--white);
}
.ad-feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA block */
.ad-cta-block {
  margin-top: 64px;
  padding: 40px 48px;
  background: linear-gradient(135deg, rgba(192,125,58,0.10) 0%, rgba(77,157,224,0.05) 100%);
  border: 1px solid rgba(192,125,58,0.28);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ad-cta-eyebrow {
  font-size: 0.72rem !important;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-warm) !important;
  margin-bottom: 8px;
}
.ad-cta-headline {
  font-size: clamp(1rem, 2vw, 1.22rem) !important;
  font-weight: 600;
  color: var(--white) !important;
  max-width: 480px;
  line-height: 1.45;
}
.btn-warm {
  background: var(--accent-warm) !important;
  border-color: var(--accent-warm) !important;
  color: #fff !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-warm:hover {
  background: transparent !important;
  color: var(--accent-warm) !important;
}

@media (max-width: 600px) {
  .ad-stat-row { grid-template-columns: 1fr 1fr; }
  .ad-stat { border-bottom: 1px solid var(--border); }
  .ad-stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .ad-stat:nth-child(even) { border-right: none; }
  .ad-cta-block { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #070c12;
  border-top: 1px solid var(--border);
  padding: 48px max(24px, 5vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ============================================================
   PALYAZATOK PAGE
   ============================================================ */
.page-hero {
  min-height: 40vh;
  background: var(--steel-mid);
  display: flex;
  align-items: center;
  padding: 80px max(24px, 5vw);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: var(--text-muted); font-size: 1.1rem; }

.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px max(24px, 5vw);
}
.page-content h2 { color: var(--white); margin-bottom: 20px; margin-top: 48px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin-bottom: 16px; }

.szechenyi-logo-large {
  display: block;
  max-width: 460px;
  margin: 36px auto 48px;
}

.info-box {
  background: var(--steel-mid);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  padding: 24px 28px;
  margin: 32px 0;
}
.info-box p { color: var(--text-muted); }

/* ============================================================
   LIFT SHAFT POSITION INDICATOR (right side)
   ============================================================ */
.lift-shaft-indicator {
  position: fixed;
  right: max(16px, 2vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.shaft-track {
  width: 2px;
  height: 180px;
  background: var(--border);
  border-radius: 1px;
  position: relative;
}
.shaft-cab {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 14px;
  background: var(--accent);
  border-radius: 1px;
  transition: top 0.6s cubic-bezier(0.77,0,0.175,1);
  box-shadow: 0 0 8px var(--accent);
}
.shaft-floors {
  position: absolute;
  right: 14px;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.shaft-floor-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
  cursor: pointer;
}
.shaft-floor-dot.active { background: var(--accent); }

/* ============================================================
   ANIMATIONS (content fade-in)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s 0.45s, transform 0.7s 0.45s;
}
.lift-section.doors-open .reveal {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.55s, 0.55s; }
.reveal-delay-2 { transition-delay: 0.7s, 0.7s; }
.reveal-delay-3 { transition-delay: 0.85s, 0.85s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { justify-content: center; }
  .hero-image-wrap img { height: 320px; }
  .hero-stat-box { bottom: -10px; left: 10px; }
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: var(--steel-mid);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 18px;
  }
  .nav-toggle { display: flex; background-color: var(--steel-dark);}
  .lift-shaft-indicator { display: none; }
}

@media (max-width: 540px) {
  #szechenyi-banner span { display: none; }
  .hero-services { display: none; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* Visible focus ring for keyboard navigation */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Suppress default outline when focus-visible not triggered */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Active nav link */
nav a.nav-active {
  color: var(--white);
}
nav a.nav-active::after {
  width: 100%;
}

/* Header scrolled state */
#site-header.scrolled {
  background: rgba(14, 17, 23, 0.98);
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .door-left, .door-right {
    display: none !important;
  }
  .lift-content { min-height: auto; }
}

/* ============================================================
   IoT SECTION REDESIGN  (no stats grid)
   ============================================================ */
.iot-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .iot-intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

.iot-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.iot-spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.iot-spec-list li:first-child { border-top: 1px solid var(--border); }
.iot-spec-list .spec-key {
  flex: 0 0 54%;
  color: var(--text-muted);
  padding-right: 16px;
}
.iot-spec-list .spec-val {
  flex: 1;
  color: var(--text-primary);
  font-weight: 500;
}

/* PALYAZATOK PAGE REDESIGN */
.pal-hero {
  background: var(--steel-mid);
  padding: 72px max(24px, 5vw) 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.pal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.pal-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.pal-hero-text { flex: 1; min-width: 260px; }
.pal-hero-text .pal-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pal-hero-text .pal-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
}
.pal-hero-text h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}
.pal-hero-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
}
.pal-eu-badge {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pal-eu-badge img {
  width: auto;
}
.pal-eu-badge span {
  font-size: 0.72rem;
  color: #1a2030;
  line-height: 1.5;
}

/* Project card */
.project-card {
  background: var(--steel-mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s;
  max-width: 900px;
  margin: 0 auto;
}
.project-card:hover { border-color: var(--accent); }

.project-card-header {
  padding: 28px 36px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.project-card-header .proj-badge {
  flex: 0 0 auto;
  padding: 4px 12px;
  background: rgba(77,157,224,0.12);
  border: 1px solid rgba(77,157,224,0.3);
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  margin-top: 4px;
}
.project-card-header h2 {
  flex: 1;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  border-bottom: none;
  padding-bottom: 0;
  margin: 0;
}

.project-card-body {
  padding: 28px 36px;
}

.proj-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 600px) {
  .proj-meta-grid { grid-template-columns: 1fr; }
  .project-card-header { padding: 20px; }
  .project-card-body  { padding: 20px; }
}
.proj-meta-item { display: flex; flex-direction: column; gap: 3px; }
.proj-meta-item .meta-key {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.proj-meta-item .meta-val {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.proj-body-text h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  margin-top: 24px;
}
.proj-body-text h3:first-child { margin-top: 0; }
.proj-body-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.proj-body-text p:last-child { margin-bottom: 0; }

.proj-sub-section {
  margin-top: 20px;
  padding: 20px;
  background: var(--steel-panel);
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}
.proj-sub-section p { margin-bottom: 10px; }
.proj-sub-section p:last-child { margin-bottom: 0; }

.proj-eu-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(77,157,224,0.06);
  border: 1px solid rgba(77,157,224,0.2);
  border-radius: 4px;
  padding: 18px 20px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
}
.proj-eu-notice::before {
  content: '★';
  color: var(--accent);
  font-style: normal;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pal-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px max(24px, 5vw) 80px;
}
.pal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 32px;
  transition: color 0.25s;
}
.pal-back-link:hover { color: var(--accent); }
.pal-back-link:focus-visible { outline: 3px solid var(--accent); border-radius: 2px; }
