:root {
  --bg: #f7f3ec;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #b7791f;
  --accent-dark: #8a5a14;
  --dark: #111827;
  --line: #e5e7eb;
  --soft: #fff7ed;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,231,235,0.75);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.logo { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.logo span { color: var(--accent); }
.main-nav { display: flex; gap: 22px; align-items: center; font-weight: 700; color: var(--muted); font-size: 15px; }
.main-nav a:hover { color: var(--accent); }
.menu-toggle { display: none; border: 0; background: var(--card); border-radius: 12px; padding: 8px 12px; font-size: 24px; }

.hero { padding: 78px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 900; font-size: 13px; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.1; margin: 0; color: var(--dark); letter-spacing: -0.045em; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 24px; }
.hero-text, .section-text { color: var(--muted); font-size: 18px; max-width: 720px; margin: 24px 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 900; }
.btn.primary { background: var(--accent); color: white; box-shadow: 0 14px 30px rgba(183,121,31,.27); }
.btn.primary:hover { background: var(--accent-dark); }
.btn.secondary { background: white; border: 1px solid var(--line); }
.notice-card { display: inline-block; padding: 14px 18px; border-radius: 18px; background: var(--soft); border: 1px solid #fed7aa; color: #7c2d12; }

.hero-card { background: var(--card); border-radius: 34px; padding: 18px; box-shadow: var(--shadow); border: 1px solid rgba(229,231,235,0.9); }
.image-placeholder { min-height: 360px; border-radius: 26px; background: radial-gradient(circle at top left, #facc15, transparent 35%), linear-gradient(135deg, #78350f, #d97706 52%, #111827); display: grid; place-items: center; align-content: center; color: white; text-align: center; padding: 30px; }
.image-placeholder span { font-size: 34px; font-weight: 900; display: block; }
.image-placeholder small { display: block; margin-top: 12px; color: #fde68a; font-weight: 700; }
.quick-info { display: grid; gap: 10px; margin-top: 14px; }
.quick-info div { background: #f8fafc; border: 1px solid var(--line); padding: 16px; border-radius: 18px; }
.quick-info strong, .quick-info span { display: block; }
.quick-info span { color: var(--muted); font-size: 14px; }

.section { padding: 82px 0; }
.section.alt { background: #fffaf2; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.intro-grid, .location-grid, .contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 32px; align-items: center; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-list div, .location-points span { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 16px; font-weight: 800; box-shadow: 0 10px 28px rgba(15,23,42,.05); }
.location-points { display: grid; gap: 12px; margin-top: 24px; }
.tabs { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn { border: 1px solid var(--line); background: white; padding: 14px 22px; border-radius: 999px; cursor: pointer; font-weight: 900; color: var(--muted); }
.tab-btn.active { background: var(--dark); color: white; border-color: var(--dark); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.building-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: stretch; }
.building-card, .price-box, .status-card, .feature-card, .contact-card, .photo-card, .map-card { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 28px; box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06); }
.building-card.highlight { border-color: #fdba74; }
.lead { color: var(--muted); font-size: 18px; margin: 14px 0 20px; }
.check-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.photo-card, .status-card { display: flex; flex-direction: column; justify-content: center; background: var(--dark); color: white; }
.photo-card span, .status-card span { color: #fbbf24; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
.photo-card p, .status-card p { color: #cbd5e1; margin-bottom: 0; }
.status-card strong { font-size: 42px; line-height: 1; margin: 10px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-box { display: flex; flex-direction: column; justify-content: center; min-height: 250px; }
.price-box span { color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
.price-box strong { font-size: clamp(32px, 4vw, 46px); line-height: 1; margin: 14px 0 8px; color: var(--dark); }
.price-box p { color: var(--muted); margin: 0 0 12px; font-weight: 800; }
.price-box small { color: var(--muted); }
.price-box.featured { background: var(--dark); color: white; }
.price-box.featured strong { color: white; }
.price-box.featured p, .price-box.featured small { color: #cbd5e1; }
.muted-box { background: #f8fafc; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.map-card { padding: 0; overflow: hidden; min-height: 360px; }
.map-card iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.contact-card { display: grid; gap: 14px; }
.contact-card a, .contact-card p { display: block; padding: 16px; background: #f8fafc; border-radius: 16px; margin: 0; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent); }
.site-footer { padding: 30px 0; background: var(--dark); color: white; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-wrap p { margin: 0; color: #cbd5e1; }
.footer-wrap a { color: #fbbf24; font-weight: 800; }

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 74px; background: white; border: 1px solid var(--line); border-radius: 20px; padding: 18px; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .hero-grid, .building-grid, .feature-grid, .contact-grid, .intro-grid, .location-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .image-placeholder { min-height: 260px; }
  .section { padding: 58px 0; }
  .benefit-list { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}

.apply-section {
  background: linear-gradient(135deg, #111827 0%, #78350f 100%);
  color: white;
}
.apply-section h2,
.apply-section h3 { color: white; }
.apply-section .section-text { color: #e5e7eb; }
.apply-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}
.apply-highlights { display: grid; gap: 12px; margin-top: 24px; }
.apply-highlights span {
  display: block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 16px;
  font-weight: 900;
}
.apply-form {
  background: white;
  color: var(--text);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.apply-form h3 { color: var(--dark); margin-bottom: 4px; }
.apply-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #f8fafc;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: 3px solid rgba(183,121,31,0.18);
  border-color: var(--accent);
}
.apply-button { width: 100%; border: 0; cursor: pointer; margin-top: 4px; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.website-field { display: none; }
@media (max-width: 940px) {
  .apply-grid { grid-template-columns: 1fr; }
}

/* V6 jelentkezési blokk javítás */
.apply-section {
  background: linear-gradient(135deg, #111827 0%, #78350f 100%) !important;
  color: white !important;
}
.apply-section .apply-copy h2,
.apply-section .apply-copy .eyebrow { color: white; }
.apply-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr) !important;
  gap: 34px !important;
  align-items: center !important;
}
.apply-form {
  background: #ffffff !important;
  color: var(--text) !important;
  border-radius: 34px !important;
  padding: 30px !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.28) !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  border: 1px solid rgba(255,255,255,.35) !important;
}
.form-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.form-header span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--soft);
  font-size: 24px;
}
.apply-form h3 { color: var(--dark) !important; margin: 0 !important; }
.form-header p { margin: 3px 0 0; color: var(--muted); font-weight: 700; }
.apply-form label {
  display: grid !important;
  gap: 7px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}
.apply-form label:nth-of-type(3),
.apply-form label:nth-of-type(4),
.apply-form label:nth-of-type(6) { grid-column: 1 / -1; }
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100% !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 15px !important;
  padding: 14px 15px !important;
  font: inherit !important;
  color: var(--text) !important;
  background: #f8fafc !important;
  min-height: 50px !important;
}
.apply-form textarea { min-height: 110px !important; resize: vertical; }
.apply-button {
  grid-column: 1 / -1;
  width: 100% !important;
  border: 0 !important;
  cursor: pointer !important;
  min-height: 56px !important;
  font-size: 16px !important;
}
.form-note { grid-column: 1 / -1; }
.website-field { display: none !important; }
@media (max-width: 940px) {
  .apply-grid { grid-template-columns: 1fr !important; }
  .apply-form { grid-template-columns: 1fr !important; padding: 22px !important; }
  .apply-form label { grid-column: 1 / -1 !important; }
}


/* V7 - dizájnos szekció elválasztók */
.section {
  position: relative;
  scroll-margin-top: 92px;
}
.section:not(.apply-section)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183,121,31,.32), rgba(17,24,39,.14), rgba(183,121,31,.32), transparent);
}
.section:not(.apply-section)::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(183,121,31,.09);
}
.hero + .section::before,
.hero + .section::after {
  display: none;
}
.section.alt {
  border-top: 1px solid rgba(183,121,31,.1);
  border-bottom: 1px solid rgba(183,121,31,.1);
}
.apply-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fbbf24, #ffffff, #fbbf24, transparent);
  opacity: .8;
}
@media (max-width: 940px) {
  .section:not(.apply-section)::after { display: none; }
  .section:not(.apply-section)::before { width: calc(100% - 32px); }
}

/* V8 - language switch */
.lang-link {
  color: var(--accent) !important;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
}
.lang-link:hover {
  background: var(--accent);
  color: #ffffff !important;
}
@media (max-width: 940px) {
  .lang-link { margin-top: 4px; }
}

/* V9 - logó és Facebook beépítés */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.04em;
}
.brand-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
}
.brand-logo span {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: #0b3f78;
  font-size: 19px;
}
.brand-logo strong { color: var(--accent); }
.social-link {
  color: #0b3f78 !important;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
}
.social-link:hover {
  background: #0b3f78;
  color: #ffffff !important;
}
.logo-hero {
  background: #ffffff;
  min-height: 380px;
  padding: 18px;
  border: 1px solid rgba(15,23,42,.08);
}
.logo-hero img {
  width: min(100%, 440px);
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(15,23,42,.12));
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a { color: #fbbf24; font-weight: 800; }
@media (max-width: 940px) {
  .brand-logo img { width: 46px; height: 46px; }
  .brand-logo span { font-size: 17px; }
  .logo-hero { min-height: 260px; }
  .logo-hero img { max-height: 235px; }
}


/* V10 - jogi oldalak és adatkezelési hozzájárulás */
.privacy-consent {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 14px 16px;
  color: #7c2d12;
  font-size: 13px !important;
  line-height: 1.45;
}
.privacy-consent input {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin-top: 2px;
  accent-color: var(--accent);
}
.privacy-consent a {
  color: var(--accent-dark);
  text-decoration: underline;
  font-weight: 900;
}
.legal-main { padding: 54px 0 82px; }
.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
  padding: clamp(24px, 4vw, 46px);
}
.legal-card h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 18px; }
.legal-card h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 34px; margin-bottom: 12px; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 17px; }
.legal-card strong { color: var(--dark); }
.legal-table { display: grid; gap: 12px; margin: 24px 0; }
.legal-row { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 14px 16px; border-radius: 16px; background: #f8fafc; border: 1px solid var(--line); }
.legal-row span:first-child { font-weight: 900; color: var(--dark); }
.legal-note { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 18px; padding: 16px; color: #7c2d12 !important; }
.footer-links { align-items: center; }
@media (max-width: 720px) { .legal-row { grid-template-columns: 1fr; gap: 4px; } }


/* V11 - marketing blokkok, FAQ, WhatsApp, kiemelt adatok */
.top-banner {
  background: linear-gradient(90deg, #14532d, #16a34a, #14532d);
  color: #ffffff;
  font-weight: 900;
  text-align: center;
  padding: 12px 0;
  box-shadow: 0 12px 28px rgba(20,83,45,.18);
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 680px;
}
.stat-strip div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 12px;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}
.stat-strip strong,
.stat-strip span { display: block; }
.stat-strip strong { color: var(--accent); font-size: 26px; line-height: 1; }
.stat-strip span { color: var(--muted); font-weight: 800; font-size: 13px; margin-top: 6px; }
.status-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}
.status-pill.available { background: #dcfce7; color: #166534; }
.status-pill.renovating { background: #fef3c7; color: #92400e; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-grid article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
}
.why-grid article span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--soft);
  font-size: 24px;
  margin-bottom: 14px;
}
.why-grid strong { display: block; color: var(--dark); font-size: 18px; line-height: 1.2; }
.why-grid p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.faq-list { display: grid; gap: 14px; max-width: 940px; }
.faq-list details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--dark);
  font-weight: 900;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; float: right; color: var(--accent); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(34,197,94,.34);
}
.floating-whatsapp:hover { background: #16a34a; color: #ffffff; transform: translateY(-1px); }
@media (max-width: 940px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .floating-whatsapp { right: 14px; bottom: 14px; min-height: 50px; padding: 0 15px; }
}
@media (max-width: 620px) {
  .stat-strip, .why-grid { grid-template-columns: 1fr; }
}

/* V12 - átlátszó logó javítás */
.brand-logo img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.logo-hero {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(15,23,42,.06) !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.10) !important;
}
.logo-hero img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* V14 - bővített blokkok */
.process-grid,
.requirements-grid,
.transport-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-grid article,
.requirements-grid article,
.transport-grid article,
.document-disabled {
  background: #fff;
  border: 1px solid rgba(20, 30, 50, .08);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(20, 30, 50, .06);
}

.process-grid article span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #c07c18;
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

.requirements-grid,
.transport-grid {
  grid-template-columns: repeat(3, 1fr);
}

.transport-grid article span,
.requirements-grid article span,
.document-disabled span {
  display: block;
  font-size: 30px;
  margin-bottom: 12px;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-grid span {
  background: #fff;
  border: 1px solid rgba(20, 30, 50, .1);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(20, 30, 50, .05);
}

.document-grid {
  grid-template-columns: repeat(3, 1fr);
}

.document-disabled {
  opacity: .72;
  cursor: not-allowed;
}

.document-disabled strong,
.document-disabled small {
  display: block;
}

.document-disabled small {
  margin-top: 8px;
  color: #7a8494;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.faq-list details {
  background: #fff;
  border: 1px solid rgba(20, 30, 50, .08);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 10px 28px rgba(20, 30, 50, .05);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  color: #667085;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .process-grid,
  .requirements-grid,
  .transport-grid,
  .document-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process-grid,
  .requirements-grid,
  .transport-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }
}


/* V15 navigation dropdown */
.nav-wrap {
  gap: 18px;
}

.brand-logo img {
  max-height: 58px;
  width: auto;
}

.main-nav {
  gap: 14px;
}

.main-nav > a,
.nav-dropdown-btn {
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 10px 4px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: #fff;
  border: 1px solid rgba(20, 30, 50, .10);
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(20, 30, 50, .16);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
  z-index: 99;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
}

.nav-dropdown-menu a:hover {
  background: rgba(192, 124, 24, .10);
}

@media (max-width: 1100px) {
  .brand-logo span {
    display: none;
  }

  .main-nav {
    gap: 10px;
    font-size: 14px;
  }

  .social-link,
  .lang-link {
    padding-inline: 12px;
  }
}

@media (max-width: 860px) {
  .brand-logo span {
    display: inline;
  }

  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .nav-dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 12px 0;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 14px;
    margin: 4px 0 8px;
    min-width: 0;
    background: rgba(192, 124, 24, .07);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    transform: none;
  }
}

/* FINAL CLICK mobile dropdown fix
   Mobilon az Informaciok almenü ALAPBOL ZARVA van.
   Csak kattintasra nyilik, nem hoverre, es nem absolute pozicioban jelenik meg. */
@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .site-header,
  .nav-wrap,
  .main-nav {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .main-nav {
    overflow-x: hidden !important;
  }

  .main-nav .nav-dropdown {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  .main-nav .nav-dropdown::before,
  .main-nav .nav-dropdown::after {
    display: none !important;
    content: none !important;
  }

  .main-nav .nav-dropdown-btn {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    transform: none !important;
  }

  /* Fontos: mobilon az almenü zárva legyen */
  .main-nav .nav-dropdown-menu {
    display: none !important;
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    translate: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 16px 0 !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: hidden !important;
  }

  /* Csak kattintas utan nyiljon ki */
  .main-nav .nav-dropdown.mobile-open .nav-dropdown-menu {
    display: block !important;
  }

  /* Mobilon a hover/focus ne nyissa ki automatikusan */
  .main-nav .nav-dropdown:hover .nav-dropdown-menu,
  .main-nav .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none !important;
  }

  .main-nav .nav-dropdown.mobile-open:hover .nav-dropdown-menu,
  .main-nav .nav-dropdown.mobile-open:focus-within .nav-dropdown-menu {
    display: block !important;
  }

  .main-nav .nav-dropdown-menu a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  .main-nav a,
  .main-nav .social-link,
  .main-nav .lang-link {
    max-width: 100% !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
}

