/*
Theme Name: Dome Dekor WP (from HTML)
Theme URI: https://www.domedekor.hu
Author: Attila_Jonas 
Author URI: https://www.domedekor.hu
Description: Custom WP theme converted from provided HTML/CSS/JS.
Version: 1.0.0
Requires at least: 6.1
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: dome-dekor-wp
*/

/* =========================================================
   Döme-Dekor – TELJES, LETISZTÍTOTT STYLESHEET
   ========================================================= */

/* --------- Alap változók és reset --------- */
:root {
  --bg: #fff;
  --text: #1b1b1b;
  --muted: #6b7280;
  --brand: #0ea5e9;
  --brand-strong: #0284c7;
  --alt: #f8fafc;
  --border: #e5e7eb;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.6 "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.4)
    ),
    url("pics/domeback1.png");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, center;
  background-size: auto, cover;
  background-attachment: scroll, fixed;

/* 2) Helyette pszeudo-elemre tedd a „fix” réteget */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("pics/domeback1.png") center/cover no-repeat;
  z-index: -1;
  pointer-events: none;
  opacity: 1; /* ugyanaz a vizuális hatás */
}
  /* 🔽 padding helyett ezt használd */
  padding-top: var(--headerH, 80px); /* JS frissíti */
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
  max-width: 100%;
}
.section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--headerH, 80px) + 8px);
}
@media (max-width: 700px) {
  .section {
    scroll-margin-top: calc(var(--headerH, 80px) + 12px);
  }
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(28px, 4vw, 44px);
}
h2 {
  font-size: clamp(22px, 3vw, 32px);
}
h3 {
  font-size: 20px;
}
p {
  margin: 0 0 12px;
  color: var(--text);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   HEADER / NAVIGÁCIÓ
   ========================================================= */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.65);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto; /* bal menü | brand | jobb menü */
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* Bal/jobb menük */
.lr {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 6px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--brand-strong);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Brand (KÖZÉPEN) – külső nem link, a logó az */
.brand-center {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
}
.brand-logo {
  display: block;
}
.logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}
.brand-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.logo-text {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.55);
  padding: 4px 10px;
  border-radius: 999px;
}
.brand-phone {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--brand-strong);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 4px 12px;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1) inset;
  transition: background 0.2s ease, transform 0.2s ease;
}
.brand-phone:hover {
  background: rgba(14, 165, 233, 0.15);
  transform: translateY(-1px);
}


/* Hamburger (csak mobilon) */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  font-size: 22px;
  padding: 8px;
  cursor: pointer;
  line-height: 1;
  height: 44px;
  min-width: 44px;
}

/* Hotline (nem kell, mert a szám a brandben van) */
.header-hotline {
  display: none;
}

/* ----- Mobil header (≤980px) ----- */
@media (max-width: 980px) {
  .nav-left,
  .nav-right,
  .lr {
    display: none;
  } /* menük rejtése */
  .nav-wrap {
    grid-template-columns: 1fr auto 44px;
    padding: 6px 0;
  }
  .brand-center {
    grid-column: 2;
    gap: 4px;
  }
  .logo-img {
    height: 44px;
  }
  .brand-text {
    flex-direction: column;
    gap: 4px;
  } /* szlogen + telefon egymás alatt */
  .hamburger {
    display: flex;
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }
}

/* ----- Desktop header (≥981px) ----- */
@media (min-width: 981px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
  }
  .brand-text {
    flex-direction: row;
  } /* szlogen + telefon EGY SORBAN */
  .hamburger {
    display: none;
  }
}

/* =========================================================
   MOBIL OVERLAY MENÜ
   ========================================================= */
.mobile-panel {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(15, 23, 42, 0.55);
  z-index: 999;
}
.mobile-panel.open {
  display: block;
}
.mobile-sheet {
  margin: 0 0 0 auto;
  margin-top: var(--headerH);
  height: calc(100% - var(--headerH));
  width: min(86vw, 360px);
  background: #fff;
  padding: 18px 16px;
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.25);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #fff;
  padding-top: 8px;
  margin-bottom: 6px;
}
.mobile-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: grid;
  gap: 10px;
}
.mobile-list a {
  display: block;
  padding: 12px 10px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.mobile-list a:active {
  transform: translateY(1px);
}
body.no-scroll {
  overflow: hidden;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(
      to bottom,
      rgba(14, 165, 233, 0.08),
      transparent 40%
    ),
    radial-gradient(
      800px 300px at 50% -50%,
      rgba(14, 165, 233, 0.18),
      transparent
    );
}
.hero-inner {
  text-align: center;
  padding: 40px 0 10px;
}
.hero p {
  color: var(--muted);
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}

/* Gombok */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: 0.15s;
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.25);
}
.btn.primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
}
.btn.ghost:hover {
  background: var(--alt);
}

/* Badge-k */
.badges {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
  flex-wrap: wrap;
}
.badges li {
  background: var(--alt);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
}

/* =========================================================
   PANELEK / SZEKCIÓ HEADER
   ========================================================= */
.panel {
  position: relative;
  background: rgba(226, 224, 225, 0.5);
  border: 0px solid rgba(229, 231, 235, 0.7);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1;
}
.panel::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    closest-side,
    rgba(14, 165, 233, 0.08),
    transparent 70%
  );
  transform: rotate(12deg);
  pointer-events: none;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sh-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.18),
    rgba(2, 132, 199, 0.08)
  );
  border: 1px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
  font-size: 18px;
}
.sh-sub {
  margin: 2px 0 0;
  color: #000; /* fekete */
  font-size: 14px;
}
.panel h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.panel h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
   background: linear-gradient(90deg,
    rgba(167, 139, 250, 0.28),  /* #a78bfa */
    rgba(124, 58, 237, 0.18)    /* #7c3aed */
  );
  border-radius: 6px;
  z-index: -1;
}

/* --- Árak szekció: biztosan ne vágjon le semmi --- */
#szolgaltatasok,
#szolgaltatasok .container,
#szolgaltatasok .panel.pricing-modern,
#szolgaltatasok .acc,
#szolgaltatasok .price-list {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

/* legyen hely alul a lenyílónak */
#szolgaltatasok .panel.pricing-modern {
  padding-bottom: 48px !important;
}

/* ha a következő szekció ráfekszik, tegyük feljebb ezt */
#szolgaltatasok {
  position: relative;
  z-index: 10;
  margin-bottom: 48px; /* eltoljuk a következő szekciótól */
}

/* az open <details> biztosan a felszínen legyen */
#szolgaltatasok details[open] {
  position: relative;
  z-index: 20;
}

/* a panelen most ne klippeljen semmi */
#szolgaltatasok .panel.pricing-modern { overflow: visible !important; }

/* ha a díszítő ::before belelógná az alját, picit feljebb húzzuk */
#szolgaltatasok .panel.pricing-modern::before {
  inset: auto -40px -16px auto;
}
/* --- Árak szekció: alszöveg balra igazítás --- */
#szolgaltatasok .pl-desc {
  text-align: left !important;
  margin-left: 0;
  margin-right: 0;
}
/* --- Árak szekció: minden leírás balra igazítva, mobilon is --- */
#szolgaltatasok .pl-desc {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* biztos ami biztos: semmi ne legyen sorkizárt a listákban */
#szolgaltatasok .price-list,
#szolgaltatasok .price-list li,
#szolgaltatasok .price-list p {
  text-align: left !important;
}


/* =========================================================
   GALÉRIA + LIGHTBOX
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.g-item {
  margin: 0;
}
.g-item img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid var(--border);
}
.g-item figcaption {
  font-size: 14px;
  color: #222;   /* fekete betű */
  margin-top: 6px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  z-index: 2000;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: 95vw;
  max-height: 75vh;
  border-radius: 12px;
}
.lightbox-caption {
  color: #fff;
  margin-top: 10px;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  background: transparent;
  color: #fff;
  border: 0;
  cursor: pointer;
}

/* ===== Hover kiemelkedés effekt ===== */
.g-item img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.g-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9);
  display: none; align-items: center; justify-content: center; flex-direction: column;
  padding: 20px; z-index: 2000; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 80vh; border-radius: 12px;
  opacity: 0; transition: opacity .25s ease; }
.lightbox-img.show { opacity: 1; }
.lightbox button { position: absolute; background: rgba(255,255,255,.2); color: #fff;
  border: 0; font-size: 2rem; cursor: pointer; padding: 10px 15px; border-radius: 8px;
  transition: background .3s ease; }
.lightbox button:hover { background: rgba(255,255,255,.35); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-caption { color: #fff; margin-top: 12px; font-size: .95rem; text-align: center; max-width: 90vw; }

/* (opció) mobilon kisebb gombok */
@media (max-width: 700px) {
  .lightbox button { font-size: 1.6rem; padding: 8px 10px; }
  .lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
}


/* Lightbox nyilak és interakció */
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background .25s ease, transform .1s ease;
  user-select: none;
}
.lightbox button:hover { background: rgba(255,255,255,.36); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close { top: 14px; right: 14px; font-size: 2rem; }

/* Finom „fade-in” a képre */
.lightbox-img { opacity: 0; transition: opacity .25s ease; }
.lightbox-img.show { opacity: 1; }

/* Test scroll tiltása lightbox nyitva */
body.no-scroll { overflow: hidden; }

@media (max-width: 700px) {
  .lightbox button { font-size: 1.6rem; padding: 8px 10px; }
  .lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
}

/* ==== EGYSÉGES BÉLYEGKÉP-MÉRET (kiegészítés) ==== */
.g-item img {
  aspect-ratio: 4 / 3;   /* minden kép ugyanakkora arányú */
  height: auto;
  object-fit: cover;     /* kitölti a keretet, nem torzul */
  display: block;
}


/* =========================================================
   ÁRAK / ACCORDION
   ========================================================= */
.acc {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  margin: 12px 0;
  box-shadow: var(--shadow);
}
.acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.85),
    rgba(248, 250, 252, 0.6)
  );
}
.acc > summary::-webkit-details-marker {
  display: none;
}
.acc > summary::after {
  content: "▾";
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.acc[open] > summary {
  border-bottom: 1px solid var(--border);
}
.acc[open] > summary::after {
  transform: rotate(180deg);
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 12px 14px 16px;
  display: grid;
  gap: 10px;
}
.price-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.price-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(2, 132, 199, 0.28);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.pl-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pl-name {
  font-weight: 700;
  position: relative;
}
.pl-price {
  font-weight: 800;
  color: var(--brand-strong);
  white-space: nowrap;
  margin-left: auto;
}
.pl-unit {
  font-weight: 600;
  color: var(--muted);
}
.pl-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
}
@media (max-width: 700px) {
  .acc > summary {
    padding: 14px;
  }
  .price-list {
    padding: 10px 12px 14px;
  }
}

/* =========================================================
   FORMOK – Ajánlatkérés (modern)
   ========================================================= */
form {
  margin-top: 10px;
}
.form-modern .form-grid-modern {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.form-modern .form-grid-modern .full {
  grid-column: 1 / -1;
}

.i-field {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease;
}
.i-field:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
}
.i-field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12), var(--shadow);
}

.i-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(14, 165, 233, 0.1);
  color: var(--brand-strong);
  border: 1px solid rgba(14, 165, 233, 0.25);
  font-size: 20px;
}
.i-field label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  margin: 0;
}
.i-field input,
.i-field select,
.i-field textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 10px 12px;
  font: inherit;
  outline: none;
  box-shadow: none;
}
.i-field textarea {
  min-height: 160px;
  resize: vertical;
}
.i-field.stack {
  align-items: start;
}

.consent-modern {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: inset 0 0 0 2px rgba(14, 165, 233, 0.25);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
#formStatus {
  min-height: 1.4em;
  color: var(--muted);
}

@media (max-width: 700px) {
  .form-modern .form-grid-modern {
    grid-template-columns: 1fr;
  }
  .form-modern .i-ico {
    display: none;
  }
  .form-modern .i-field {
    grid-template-columns: 1fr;
    padding: 10px 12px;
  }
}

/* =========================================================
   ELÉRHETŐSÉG + TÉRKÉP
   ========================================================= */
.contact-modern .section-header {
  margin-bottom: 14px;
}
.contact-area {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 18px;
  align-items: start;
}
.contact-left {
  display: grid;
  gap: 12px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ci {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ci:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.08);
}
.ci-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--brand-strong);
  border: 1px solid rgba(14, 165, 233, 0.25);
}
.ci-title {
  font-weight: 700;
  margin-bottom: 2px;
}
.ci-link {
  color: var(--brand-strong);
  text-decoration: none;
}
.ci-link:hover {
  text-decoration: underline;
}
.ci-text {
  color: var(--text);
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-map {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.contact-map:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.08);
}
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 12px;
  display: block;
}

@media (max-width: 900px) {
  .contact-area {
    grid-template-columns: 1fr;
  }
  .contact-map iframe {
    height: 360px;
  }
}
@media (max-width: 600px) {
  .contact-map iframe {
    height: 300px;
  }
  #elerhetoseg .contact-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
  }
  #elerhetoseg .contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 320px;
    text-align: center;
  }
}

/* =========================================================
   ÉRTÉKELÉSEK (kompakt fejléccel)
   ========================================================= */
.reviews-compact {
  padding: 20px !important;
}
.reviews-compact .section-header {
  display: none;
}

.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.rc-left {
  display: grid;
  gap: 4px;
}
.rc-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rc-title h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}
.rc-ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--brand-strong);
  border: 1px solid rgba(14, 165, 233, 0.25);
  font-size: 14px;
}
.rc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.rvw-stars {
  font-size: 16px;
  letter-spacing: 2px;
  color: #f59e0b;
}
.rc-dot {
  opacity: 0.5;
}

/* csillagválasztó */
.rc-stars .stars-input {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  justify-content: flex-start;
}
.rc-stars input {
  display: none;
}
.rc-stars label {
  font-size: 30px;
  color: #cbd5e1;
  cursor: pointer;
  line-height: 1;
  position: relative;
  transition: color 0.15s ease, transform 0.08s ease, text-shadow 0.15s ease;
}
.rc-stars label:hover,
.rc-stars label:hover ~ label {
  color: #fbbf24;
  text-shadow: 0 2px 6px rgba(251, 191, 36, 0.35);
}
.rc-stars input:checked ~ label {
  color: #f59e0b;
  text-shadow: 0 1px 4px rgba(245, 158, 11, 0.25);
}

/* Űrlap mezők */
.rc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rc-full {
  grid-column: 1 / -1;
}
.rc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}
.rc-field input,
.rc-field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rc-field input:focus,
.rc-field textarea:focus {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 2px rgba(14, 165, 233, 0.18);
}
.rc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

/* Lista */
.rvw-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rvw-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.rvw-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.08);
}
.rvw-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.rvw-card .name {
  font-weight: 600;
}
.rvw-card .date {
  color: var(--muted);
  font-size: 12px;
}
.rvw-card .stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}
.rvw-card .text {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .rvw-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .rc-grid {
    grid-template-columns: 1fr;
  }
  .rvw-list {
    grid-template-columns: 1fr;
  }
  .rc-title h2 {
    font-size: 20px;
  }
}

/* Egyes értékelések (sorok) */
.rvw-item {
  display: flex;
  flex-direction: column; /* <<< ez a kulcs — hogy több sorban jelenhessen meg */
  align-items: flex-start;
  gap: 6px;
  padding: 12px 16px;
  border: 2px solid #0ea5e9;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  font-size: 14px;
  word-wrap: break-word;
  overflow: auto;
}

.rvw-item:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.2);
}

/* Fejléc (név + csillagok) */
.rvw-item .rvw-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rvw-item .rvw-name {
  font-weight: 600;
  color: #1e293b;
}

.rvw-item .rvw-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Vélemény szöveg (több sor megengedett) */
.rvw-item .rvw-text {
  color: #374151;
  line-height: 1.4;
  white-space: normal; /* <<< ezzel engedjük meg a sortörést */
  word-break: break-word;
}

/* Dátum */
.rvw-item .rvw-meta {
  align-self: flex-end;
  color: var(--muted);
  font-size: 12px;
}



/* =========================================================
   KÁRTYÁK (ha később kellenek)
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.08);
  border-color: rgba(2, 132, 199, 0.35);
}
.card .price {
  margin-top: 10px;
  font-weight: 600;
  color: var(--brand-strong);
}
.hint {
  color: #000;
  margin-top: 10px;
}


/* =========================================================
   LÁBLÉC
   ========================================================= */
.site-footer {
  position: relative;
  background: rgba(226, 224, 225, 0.82);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: 18px;
  padding: 32px 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  color: var(--text);
  margin: 40px auto 0;
  width: min(1100px, 92%);
overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    closest-side,
    rgba(14, 165, 233, 0.08),
    transparent 70%
  );
  transform: rotate(12deg);
  pointer-events: none;
}
.site-footer a {
  color: var(--brand-strong);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* =========================================================
   Egyszerű anim/fx opciók (opcionálisak)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Grid reszponzív segédletek */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .panel {
    padding: 22px;
  }
}

/* ===== Reviews mobil fix (törés, kilógás megszüntetése) ===== */

/* 1) A fejlécelemek zsugorodhassanak */
.rc-head > * {
  min-width: 0;
}

/* 2) Alap: a fejléc engedjen sortörést */
.rc-head.rc-with-stars {
  flex-wrap: wrap;
}

/* 3) A csillagválasztó ne kényszerítse túl szélesre a sort */
.rc-head .rc-stars.inline {
  flex: 0 1 auto;
  max-width: 100%;
}

/* 4) A csillagok tartalma ne lógjon ki */
.rc-head .stars-input {
  flex-wrap: nowrap;
  overflow: hidden; /* extra védelem */
}

/* 5) Kisebb kijelzők — tegyük oszlopba: cím/meta FELÜL, csillagok ALUL, teljes szélességen */
@media (max-width: 480px) {
  .reviews-compact {
    padding: 14px !important;
  } /* kicsit kompaktabb kártyaszegély */
  .rc-head.rc-with-stars {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
    align-items: start;
    justify-items: start;
  }
  .rc-head .rc-left {
    width: 100%;
  } /* cím + átlag */
  .rc-head .rc-meta {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* csillagválasztó teljes szélességen, balra igazítva, kisebb csillaggal */
  .rc-head .rc-stars.inline {
    width: 100%;
    order: 2;
  }
  .rc-head .stars-input {
    justify-content: flex-start;
  }
  .rc-head .stars-input label {
    font-size: 22px;
  } /* volt 28–30px */
}

/* 6) Szűkebb mobilokhoz még egy lépés (nagyon kicsi kijelzők) */
@media (max-width: 360px) {
  .rc-head .stars-input label {
    font-size: 20px;
  }
}

/* 7) A lista és az űrlap rácsa is legyen 1 oszlop mobilon, hogy semmi ne menjen ki */
@media (max-width: 700px) {
  .rc-list {
    grid-template-columns: 1fr;
  }
  .rc-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Reviews űrlap mobil fix: ne lógjon ki semmi ===== */

/* a rács gyerekei zsugorodhassanak */
.rc-grid > * {
  min-width: 0;
}

/* 1 oszlop kis kijelzőn (biztos ami biztos) */
@media (max-width: 700px) {
  .rc-grid {
    grid-template-columns: 1fr;
  }
}

/* a címek törjenek bárhol, ne nyújtsák túl a kártyát */
.rc-field > span {
  white-space: normal; /* ne legyen nowrap */
  overflow-wrap: anywhere; /* hosszú szavak is törhetnek */
  word-break: break-word; /* régebbi böngészőknek */
}

/* input/textarea biztosan ne nőjön 100% fölé */
.rc-field input,
.rc-field textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box; /* padding+border beleszámolva */
}

/* a .rc-field kártya se tolja szét a szülőt árnyékkal/paddinggel */
.rc-field {
  min-width: 0;
  overflow: hidden; /* vizuális túllógás ellen (árnyék/placeholder) */
}

/* nagyon szűk mobilokon kicsit kisebb betű a címhez */
@media (max-width: 360px) {
  .rc-field > span {
    font-size: 14px;
  }
}
/* ===== HEADER – mobil layout: BAL logó | KÖZÉP szlogen+telefon (stack) | JOBB hamburger ===== */
@media (max-width: 980px) {
  /* a bal/jobb menük ne látszódjanak mobilon */
  .nav-left,
  .nav-right {
    display: none !important;
  }

  /* a fejléc rácsa: auto | 1fr | auto  => logó | közép | hamburger */
  .nav-wrap {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center;
    column-gap: 10px;
    padding: 8px 10px;
  }

  /* varázs: a .brand-center „eltűnik” mint doboz, a gyerekei a szülő rácsába kerülnek */
  .brand-center {
    display: contents !important;
  }

  /* BAL – logó */
  .brand-logo {
    grid-column: 1;
    justify-self: start;
  }
  .brand-logo img {
    height: 44px;
    width: auto;
    display: block;
  }

  /* KÖZÉP – szlogen + telefon egymás alatt, középre zárva */
  .brand-text {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
    gap: 4px;
    min-width: 0; /* hogy törhessen, ha nagyon szűk */
  }
  .logo-text {
    font-weight: 800;
    font-size: 16px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 10px;
    border-radius: 999px;
  }
  .brand-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 15px;
    color: var(--brand-strong);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 4px 12px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1) inset;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .brand-phone:hover {
    background: rgba(14, 165, 233, 0.15);
    transform: translateY(-1px);
  }

  /* JOBB – hamburger */
  .hamburger {
    grid-column: 3;
    justify-self: end;
    display: flex !important;
    font-size: 22px;
    height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
  }
}

/* ===== Lábléc stílus ===== */
.site-footer {
  background: var(--alt, #f8fafc);
  border-top: 1px solid var(--border, #e5e7eb);
  padding: 2rem 1rem;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: var(--muted, #6b7280);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text, #1b1b1b);
}

.legal-links {
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-links a {
  color: var(--muted, #6b7280);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--brand, #0ea5e9);
}

.legal-links .sep {
  color: var(--border, #d1d5db);
}

/* Mobilbarát elrendezés */
@media (max-width: 600px) {
  .footer-inner {
    gap: 0.5rem;
  }
  .footer-copy {
    font-size: 0.9rem;
  }
}

/* ===== Bemutatkozás: "Mire számíthat" blokk (lokális) ===== */
#bemutatkozas .expect {
  margin-top: 16px;
}
#bemutatkozas .expect-title {
  margin: 8px 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
}
#bemutatkozas .expect-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 820px) {
  #bemutatkozas .expect-grid {
    grid-template-columns: 1fr 1fr;
  }
}
#bemutatkozas .expect-col {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
}
#bemutatkozas .expect-col h4 {
  margin: 2px 0 8px;
  font-weight: 700;
  font-size: 1rem;
}
#bemutatkozas .expect-col ul {
  margin: 0;
  padding-left: 18px; /* a globál listastílushoz illeszkedve */
}
#bemutatkozas .expect-no h4 {
  color: #dc2626;
} /* piros: nincs */
#bemutatkozas .expect-yes h4 {
  color: #16a34a;
} /* zöld: van  */

/* ===== HERO: kép <img>-gel, vágás nélkül ===== */
.hero-panel {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Kép konténer */
.hero-media {
  width: 100%;
  position: relative;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

/* A kép mindig teljesben látszik (nincs vágás), arányt tart */
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px 18px 0 0;
}

/* Finom sötét fedés, hogy a kép feliratai jobban olvashatók legyenek */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.12) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

/* Gombok külön sávban, nem lógnak a képbe */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1rem 1.75rem;
  backdrop-filter: saturate(130%) blur(6px);
  border-radius: 0 0 18px 18px;
}

/* Mobil: kényelmesebb arányok, oszlopos gombok */
@media (max-width: 700px) {
  .hero-cta {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* ===== Felső logó szekció (tökéletes középre igazítás) ===== */
.logo-section {
  display: flex;
  justify-content: center; /* vízszintesen középre */
  align-items: center; /* függőlegesen középre (ha lenne fix magasság) */
  padding: 6px 0 6px;
  width: 100%;
  text-align: center;
  scroll-margin-top: calc(var(--headerH, 80px) + 8px);
}

.top-logo {
  width: 200px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover (opcionális) */
.top-logo:hover {
  transform: scale(1.04);
  opacity: 1;
}

/* Mobil */
@media (max-width: 700px) {
  .logo-section {
    padding: 24px 0 8px;
  }
  .top-logo {
    width: 150px;
  }
}
.logo-section {
  padding: 20px 0 6px;
}
#hero.section {
  padding-top: 0;
}


/* ===== Bemutatkozás H1 – mindig középre igazítva ===== */
#bemutatkozas h1 {
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.4;
  margin: 20px auto;
  max-width: 800px;
  font-weight: 600;
}

/* ===== Mobil optimalizálás (600px alatt) ===== */
@media (max-width: 600px) {
  #bemutatkozas h1 {
    font-size: 1.4rem;
    padding: 0 15px; /* hogy ne lógjon ki a széleken */
  }
}


/* ===== Elérhetőség szekció gombok és Facebook ikon ===== */

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent; /* nincs háttér, csak az ikon */
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.social-fb:hover {
  transform: scale(1.1);
}

/* ===== Facebook ikon stílus ===== */

.fb-icon {
  width: 24px;
  height: 24px;
  color: #111; /* sötétszürke alap – jól látszik világos háttéren */
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-fb:hover .fb-icon {
  transform: scale(1.15);
  color: #1877f2; /* Facebook-kék hover */
}


/* ===== Header Facebook ikon (külön elem) ===== */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 10px;
  border-radius: 10px;
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

/* Finom kiemelés hoverre */
.social-link:hover {
  transform: scale(1.08);
}

/* SVG méret és alap szín */
.fb-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* A SZÍNT KÖZVETLENÜL A PATH-ON ÁLLÍTJUK: */
.fb-icon path {
  fill: #111;              /* sötétszürke alap */
  transition: fill 0.2s ease, transform 0.2s ease;
}

/* Hoverkor kékre vált és picit „kiemelkedik” */
.social-link:hover .fb-icon path {
  fill: #1877f2;           /* Facebook-kék hover */
}

.social-link:hover .fb-icon {
  transform: scale(1.15);
}

/* Ha van globális ikon-szabályod máshol (.fb-icon { color: ... }), 
   az felülírhatja – ez a selector erősebb, de ha kell, tegyél a fill után !important-et. */


/* ===== Elérhetőség szekció – Facebook ikon színváltás ===== */
.contact-modern .social-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;           /* ha kéket szeretnél hátérnek: #e5e7eb; */
  transition: transform .2s ease;
  text-decoration: none;
}

.contact-modern .social-fb:hover {
  transform: scale(1.08);
}

/* SVG méret */
.contact-modern .social-fb .fb-icon {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform .2s ease;
}

/* ALAP SZÍN – közvetlenül a path-on, így nem írja felül semmi "color" szabály */
.contact-modern .social-fb .fb-icon path {
  fill: #111;                        /* sötétszürke alap */
  transition: fill .2s ease;
}

/* HOVER SZÍN */
.contact-modern .social-fb:hover .fb-icon path {
  fill: #1877f2;                     /* Facebook-kék hover */
}

/* Picit nagyítson hoverkor */
.contact-modern .social-fb:hover .fb-icon {
  transform: scale(1.15);
}


@media (max-width: 768px) {
  /* A teljes brand-text sor mobilon */
  .brand-center .brand-text {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;     /* ne törjön új sorba */
  }

  /* Ha kell a szlogen is, ez maradjon külön sorban felül:
     -> kommentezd ki az alábbi sort, ha nem kell felülre tenni */
  /* .brand-center .brand-text .logo-text { flex: 0 0 100% !important; } */

  /* Ha NEM kell a szlogen mobilon, rejtsd el (így biztosan elfér a tel+ikon) */
  .brand-center .brand-text .logo-text {
    display: none !important;
  }

  /* Telefon link: ne törjön ketté, inline-flex, kicsit kisebb betű */
  .brand-center .brand-text .brand-phone {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  /* FB ikon: ne legyen fix 44x44, mert attól könnyen törik a sor */
  .brand-center .brand-text .social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    padding: 2px !important;
    margin-left: 6px !important;
    border-radius: 6px !important;
  }

  .brand-center .brand-text .fb-icon {
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
}


@media (max-width: 768px) {
  /* A fenti banner/kép konténerének alap margóit kinullázzuk */
  .top-banner,
  .top-banner * {
    margin: 0 !important;
  }

  /* Ha a banner nem .top-banner-ben van, akkor globálisan nullázd a
     szekciók közti függőleges távolságot mobilon */
  section { 
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* A HERO szekció alsó „párnáját” csökkentsd le */
  .hero,
  #hero {
    padding-bottom: 12px !important;
    margin-bottom: 0 !important;
  }

  /* A hero UTÁNI első szekció ne tolja le magát feleslegesen */
  #hero + .section,
  #hero + section,
  .hero + .section,
  .hero + section {
    margin-top: 8px !important;
    padding-top: 12px !important;
  }

  /* Ha a képet közvetlenül raktad be <img>-ként: ne legyen inline-gépelt „rés” */
  img {
    display: block;
  }

  /* Ha a szekcióidnak nagy a paddingje, mobilon húzd lejjebb */
  .section {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}


/* === Elérhetőség – két oszlop, fix rés, nem csúszik össze === */
.contact-area {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

/* Nagyon fontos: min-width:0, különben az iframe túlcsordul és kitolja a rácsot */
.contact-left,
.contact-map {
  min-width: 0;
}

/* Térkép biztosan ne lógjon ki, és ne hagyjon inline rést */
.contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;      /* igény szerint */
  border: 0;
  border-radius: 8px;
}

/* Panel ne „nyomja össze” a belső tartalmat overflow miatt */
.contact-modern {
  overflow: visible;
}

/* Tablet/mobil: egyoszloposra váltás, korrekt sorközzel */
@media (max-width: 900px) {
  .contact-area {
    grid-template-columns: 1fr;
  }
  .contact-map iframe {
    height: 300px;
  }
}


/* ===== GYIK – details/summary verzió (CSS animációval) ===== */
.faq-section {
  padding-top: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
  background: rgba(255,255,255,0.6);
  transition: background 0.3s ease;
}

.faq-question::-webkit-details-marker {
  display: none; /* iOS/Safari marker off */
}

.faq-question::after {
  content: "▼";
  font-size: 0.9rem;
  color: #555;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-item[open] .faq-question {
  background: rgba(204, 153, 255, 0.2); /* halvány lila árnyalat nyitáskor */
}

.faq-answer {
  padding: 0 20px 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease,
    opacity 0.4s ease;
}

.faq-item[open] .faq-answer {
  padding: 0 20px 16px;
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding: 12px 0 0;
  color: #333;
  line-height: 1.5;
}

.faq-question:hover {
  background: rgba(0,0,0,0.05);
}

@media (max-width:768px){
  .faq-question {
    font-size: 0.95rem;
    padding: 14px 16px;
  }
  .faq-answer p {
    font-size: 0.95rem;
  }
}

@media (max-width: 700px) {
  .brand-center .custom-logo,
  .brand-center .logo-img {
    height: 60px !important;  /* teszthez; ha működik, vedd le az !important-ot */
    width: auto;
  }
}

/* ===== HERO vékony szövegsáv (árnyékkal és mobilra optimalizálva) ===== */
.hero-bar {
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid var(--brand-strong);
  border-bottom: 1px solid var(--brand-strong);
  text-align: center;
  padding: 3px 0;
  margin: 0 auto 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(3px);
}

.hero-text {
  font-size: clamp(1.5rem, 3vw, 2.4rem); /* mobilon kisebb, desktopon nagyobb */
  font-weight: 700;
  color: var(--brand-strong);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 900px;
  padding: 1rem 0;
}

/* ===== Mobil nézet ===== */
@media (max-width: 700px) {
  .hero-text {
    font-size: 0.85rem; /* kisebb betű mobilon */
    letter-spacing: 0.3px;
  }

  .hero-bar {
    padding: 2px 0; /* még laposabb sáv mobilon */
  }
}



/* ===== BEMUTATKOZÁS – kép + szöveg ===== */
.trust-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap; /* mindig egymás mellett marad */
  margin-bottom: 40px;
}

.trust-wrap.reverse {
  flex-direction: row; /* kép balra, szöveg jobbra */
}

.trust-image {
  flex: 0 0 45%; /* fixen kb. a fele helyet kap */
  display: flex;
  justify-content: center;
}

.trust-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.trust-text {
  flex: 1 1 50%;
}

.trust-text h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--brand-strong);
  margin-bottom: 12px;
}

.trust-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* ===== Mobil optimalizálás (mellé, de arányosan kisebb kép) ===== */
@media (max-width: 768px) {
  .trust-wrap {
    gap: 16px;
  }

  .trust-image {
    flex: 0 0 35%; /* kisebb képarány */
  }

  .trust-image img {
    max-width: 100%;
    border-radius: 8px;
  }

  .trust-text {
    flex: 1 1 65%;
  }

  .trust-text h1 {
    font-size: 1.1rem;
  }

  .trust-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 500px) {
  .trust-image {
    flex: 0 0 30%; /* még kisebb kép */
  }
  .trust-text {
    flex: 1 1 70%;
  }
  .trust-text h1 {
    font-size: 1rem;
  }
}


/* ===== BEMUTATKOZÁS – rugalmas grid ===== */
.trust-wrap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "img title"
    "img body";
  gap: 28px 40px;
  align-items: center;
  margin-bottom: 40px;
}

.trust-title { 
  grid-area: title;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
color: #000;
  margin: 0;
text-align: justify;        /* sorkizárt igazítás */
  text-align-last: center;    /* az utolsó sor középre igazítva */

}

.trust-image { 
  grid-area: img; 
  display: flex; 
  justify-content: center; 
}

.trust-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.trust-body { 
  grid-area: body;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  font-weight: 600;          /* félkövér */
  text-align: justify;       /* sorkizárt szöveg */
  text-align-last: center;   /* az utolsó sor középre igazítva */
  justify-self: center;      /* középre igazítás a gridben */
}

/* ===== Mobil: sorrend = cím → kép → szöveg, és kisebb kép, hogy elférjen ===== */
@media (max-width: 768px) {
  .trust-wrap-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "img"
      "body";
    gap: 16px;
    text-align: left; /* ha középre szeretnéd: center */
  }

  .trust-image img {
    max-width: 70vw;      /* elég kicsi, hogy „mellé is elférjen” érzetet adjon */
    border-radius: 10px;
  }

  .trust-title { font-size: 1.15rem; }
  .trust-body  { font-size: 0.95rem; }
}

/* Extra szűk mobilokra finomítás */
@media (max-width: 480px) {
  .trust-image img { max-width: 68vw; }
  .trust-title { font-size: 1.05rem; }
}

/* ===== CONTACT MAP a BEMUTATKOZÁSBAN ===== */
.contact-map {
  margin: 40px 0 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}

/* ===== KÖZÉPRE IGAZÍTOTT, TISZTA TÉRKÉP BLOKK ===== */
.center-map {
  display: flex;
  justify-content: center;
  margin: 40px auto 50px;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.center-map iframe {
  width: 50%;
  min-width: 400px;
  max-width: 600px;
  height: 300px;
  border: none !important;          /* nincs border */
  border-radius: 0 !important;      /* nincs lekerekítés */
  box-shadow: none !important;      /* nincs árnyék */
  background: transparent !important;
}

/* ===== Mobil optimalizálás ===== */
@media (max-width: 768px) {
  .center-map iframe {
    width: 100%;
    min-width: unset;
    height: 260px;
  }
}

/* ===== ELÉRHETŐSÉG – gombok középre ===== */
.contact-actions {
  display: flex;
  justify-content: center;   /* középre igazítás vízszintesen */
  align-items: center;       /* középre függőlegesen is */
  gap: 12px;                 /* távolság a gombok között */
  flex-wrap: wrap;           /* ha mobilon nem fér el, új sorba törik */
  margin-top: 20px;
}

.contact-actions .btn,
.contact-actions .social-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* hogy a Facebook ikon méretben illeszkedjen */
.contact-actions .fb-icon {
  width: 22px;
  height: 22px;
  color: var(--brand-strong);
  transition: color 0.3s ease;
}

.contact-actions .fb-icon:hover {
  color: #3b5998;
}

/* ===== TÉRKÉP KÉPES VERZIÓ ===== */
.center-map {
  display: flex;
  justify-content: center;
  margin: 40px auto 50px;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.center-map .map-image {
  width: 40%;          /* ← korábban 50%, most kisebb */
  min-width: 320px;    /* hogy ne legyen túl kicsi */
  max-width: 520px;    /* felső korlát asztalin */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
  .center-map .map-image {
    width: 90%;
    min-width: unset;
  }
}


/* ===== TÉRKÉP BLOKK – SZÖVEG + KÉP ===== */
.center-map {
  display: flex;
  flex-direction: column;   /* hogy a szöveg a kép fölött legyen */
  align-items: center;
  text-align: center;
  margin: 40px auto 50px;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.map-text {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 12px;
  max-width: 600px;
  line-height: 1.5;
}

.center-map .map-image {
  width: 40%;
  min-width: 320px;
  max-width: 520px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
  .center-map .map-image {
    width: 85%;
    min-width: unset;
  }

  .map-text {
    font-size: 1rem;
    max-width: 90%;
  }
}


/* HERO alszöveg + ikon */
.hero-sub {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: .6rem;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  font-size: 1.2rem;
}

.hero-sub .discount-icon {
  display: inline-flex;
  line-height: 0;
}

.hero-sub .discount-icon svg {
  width: 40px;
  height: 28px;
  color: #6f3cc6; /* lila ikon */
}

/* Facebook link stílus */
.fb-link {
  color: #0000EE;
  text-decoration: none;
  font-weight: 700;
}

.fb-link:hover {
  text-decoration: underline;
}

/* ===== Mobil nézet ===== */
@media (max-width: 700px) {
  .hero-sub {
    font-size: 0.95rem;
    gap: .4rem;
  }

  .hero-sub .discount-icon svg {
    width: 32px;
    height: 24px;
  }
}


.fake-h2 {
  font-size: clamp(22px, 3vw, 32px); /* ugyanaz, mint a h2 */
  font-weight: 700;
  line-height: 1;
  margin: 0 0 16px;
  color: #000;
}


/* ===== ÁRAK – új stílus, egységes a GYIK szekcióval ===== */
.acc {
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  margin: 12px 0;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}
.acc:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.acc > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
  background: rgba(255,255,255,0.6);
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(229,231,235,0.6);
}

.acc > summary::-webkit-details-marker { display: none; }

.acc > summary::after {
  content: "▼";
  font-size: 0.9rem;
  color: #555;
  transition: transform 0.3s ease;
}

.acc[open] > summary {
  background: rgba(204, 153, 255, 0.2); /* halvány lila árnyalat nyitáskor */
}

.acc[open] > summary::after {
  transform: rotate(180deg);
}

.acc .price-list {
  padding: 0 20px 16px;
  max-height: 500px;
  overflow: hidden;
  opacity: 1;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease,
    opacity 0.4s ease;
}

.acc .price-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 6px 0;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.acc .price-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(2,132,199,0.3);
  box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

#referenciak-teruletek p {
  color: #000;
  font-weight: 400;
}


#szolgaltatasok {
  text-align: center;
}

#szolgaltatasok .section-header {
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.service-card h3 {
  color: var(--brand-strong, #5e4b9e);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #111;
  font-size: 0.95rem;
  line-height: 1.5;
}



/* ===== Local SEO block (ls-*) ===== */
.local-seo .sh-sub { color: var(--muted, #6b7280); }

.ls-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px;
}
.ls-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(99,102,241,.08); /* finom lilás */
  border: 1px solid rgba(99,102,241,.18);
  font-size: 14px; line-height: 1.2;
  white-space: nowrap;
}

.ls-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, minmax(0,1fr));
}
.ls-card {
  grid-column: span 12;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
@media (min-width: 820px) {
  .ls-card { grid-column: span 4; }
}

.ls-card-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.ls-card-head svg {
  width: 22px; height: 22px; color: #6366f1;
}
.ls-card h3 { margin: 0; font-size: 18px; }

.ls-list { margin: 8px 0 0 0; padding-left: 0; list-style: none; }
.ls-list li {
  position: relative; padding-left: 22px; margin: 8px 0;
}
.ls-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: #10b981; /* zöld pipa */
  font-weight: 700;
}

.ls-link { color: #111827; text-decoration: underline; text-underline-offset: 3px; }

.ls-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.18);
  border-radius: 12px;
  font-size: 15px;
}
