html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
/* Egyedi scrollbar */
:root { scrollbar-color: #43A047 #e5e7eb; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 5px; }
::-webkit-scrollbar-thumb { background: #43A047; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #388E3C; }
/* Szövegkijelölés – professzionális megjelenés */
::selection {
  background: rgba(67, 160, 71, 0.4);
  color: #0f172a;
}
::-moz-selection {
  background: rgba(67, 160, 71, 0.4);
  color: #0f172a;
}
/* Badge Egyéni Vállalkozó */
.badge-ev {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1.5px solid #43A047;
  color: #43A047;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Scroll animációk – kezdeti állapot */
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.animate-in.animate-in-visible { opacity: 1; transform: translateY(0); }
.animate-in-delay-1 { transition-delay: 0.1s; }
.animate-in-delay-2 { transition-delay: 0.2s; }
.animate-in-delay-3 { transition-delay: 0.3s; }
.hero-bg {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.65) 100%),
    url('img/galeria/bg.jfif'), url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#hero {
  padding-top: calc(var(--top-nav-offset, 88px) + 1.1rem);
}
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.5rem;
}
.hero-review-marquee-shell {
  background: transparent;
  border-radius: 1rem;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}
.hero-review-marquee-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%);
}
.hero-review-marquee-viewport::before,
.hero-review-marquee-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  z-index: 2;
  pointer-events: none;
}
.hero-review-marquee-viewport::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(6, 22, 19, 0.78) 0%,
    rgba(6, 22, 19, 0.48) 38%,
    rgba(6, 22, 19, 0.14) 72%,
    rgba(6, 22, 19, 0) 100%
  );
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}
.hero-review-marquee-viewport::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(6, 22, 19, 0.78) 0%,
    rgba(6, 22, 19, 0.48) 38%,
    rgba(6, 22, 19, 0.14) 72%,
    rgba(6, 22, 19, 0) 100%
  );
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}
.hero-review-marquee-track {
  --hero-marquee-duration: 36s;
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  width: max-content;
  animation: hero-review-marquee var(--hero-marquee-duration) linear infinite;
  will-change: transform;
  padding: 0.2rem 0.9rem 0.3rem;
}
.hero-review-marquee-shell:hover .hero-review-marquee-track {
  animation-play-state: paused;
}
.hero-review-chip {
  min-width: 250px;
  max-width: 330px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 0.72rem 0.8rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.hero-review-chip-text {
  color: #1f2937;
  font-size: 0.84rem;
  line-height: 1.45;
}
.hero-review-chip-meta {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem 0.65rem;
  flex-wrap: wrap;
}
.hero-review-chip-name {
  color: #111827;
  font-size: 0.76rem;
  font-weight: 600;
}
.hero-review-chip-stars {
  color: #f59e0b;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.hero-review-chip-date {
  color: #6b7280;
  font-size: 0.72rem;
}
@keyframes hero-review-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-review-marquee-track {
    animation: none;
  }
}
.hero-accent {
  width: 4rem;
  height: 4px;
  border-radius: 2px;
  background: #43A047;
}
.section-accent {
  width: 4rem;
  height: 4px;
  border-radius: 2px;
  background: #43A047;
}
.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: #43A047;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-card {
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.section-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.btn-primary {
  background: #43A047;
  color: white;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(67, 160, 71, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: #388E3C;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
}
.btn-primary:active { transform: scale(0.98); }
.btn-outline {
  border: 2px solid #43A047;
  color: #43A047;
  border-radius: 0.75rem;
  font-weight: 600;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn-outline:hover {
  background: rgba(67, 160, 71, 0.12);
  transform: scale(1.05);
  border-color: #388E3C;
  color: #2E7D32;
}
.btn-outline:active { transform: scale(0.98); }
a[href]:not(.btn-primary):not(.btn-outline) { transition: color 0.2s ease, opacity 0.2s ease; }
#map-megyek { background: #f5f6f8; }
#map-megyek .leaflet-interactive { cursor: pointer; }
.map-zoom-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.map-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.map-zoom-hint.show,
.map-zoom-overlay.show {
  opacity: 1;
  visibility: visible;
}
.county-label { background: none !important; border: none !important; }
.county-label-inner {
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 52px;
  line-height: 1.1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.county-label-text {
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: #1f2937;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 1px 1px rgba(255,255,255,0.9);
  pointer-events: none;
  user-select: none;
  display: inline-block;
}
.county-label-text.long-name { font-size: 8px; max-width: 50px; }
.county-label-text.very-long { font-size: 7px; max-width: 46px; }
.card-img-wrap { aspect-ratio: 4/3; }
.card-img-wrap img { transition: transform 0.4s ease; }
.group:hover .card-img-wrap img { transform: scale(1.05); }
.gallery-item { overflow: hidden; transition: transform 0.25s ease; }
.gallery-item img,
.gallery-item video { transition: transform 0.4s ease; }
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.08); }
/* Galéria álló képek: egész kép látszik, responsív */
.gallery-portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  aspect-ratio: 3/4;
  background: #f3f4f6;
}
.gallery-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.35s ease, transform 0.4s ease;
}
.gallery-portrait video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #111827;
}
.gallery-item[data-gallery-type="video"] .gallery-portrait {
  position: relative;
  overflow: hidden;
}
.gallery-item[data-gallery-type="video"] .gallery-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.2) 100%);
  transition: background 0.25s ease;
}
.gallery-item[data-gallery-type="video"] .gallery-portrait::after {
  content: '\25B6';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  border: 2px solid rgba(255,255,255,0.75);
  background: rgba(17, 24, 39, 0.52);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}
.gallery-item[data-gallery-type="video"]:hover .gallery-portrait::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.12) 100%);
}
.gallery-item[data-gallery-type="video"]:hover .gallery-portrait::after {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(67, 160, 71, 0.92);
  border-color: #e8f5e9;
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.45);
}
.skeleton-media {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
}
.skeleton-media img.skeleton-image {
  opacity: 0;
  position: relative;
  z-index: 0;
  transition: opacity 0.4s ease;
}
.skeleton-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
  overflow: hidden;
  pointer-events: none;
  animation: skeleton-pulse 1.6s ease-in-out infinite;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.skeleton-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 80%);
  transform: translateX(-120%);
  animation: skeleton-shimmer 1.4s linear infinite;
}
.skeleton-preview {
  position: relative;
  z-index: 1;
  height: 54%;
  min-height: 130px;
  border-radius: 12px;
  background: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skeleton-preview svg {
  width: 38px;
  height: 38px;
  color: #9ca3af;
}
.skeleton-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}
.skeleton-line {
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
}
.skeleton-line.w-100 { width: 100%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-media.is-loaded img.skeleton-image { opacity: 1; }
.skeleton-media.is-loaded .skeleton-overlay {
  opacity: 0;
  visibility: hidden;
  animation: none;
}
@keyframes skeleton-shimmer {
  100% { transform: translateX(120%); }
}
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}
@media (min-width: 640px) {
  .gallery-portrait { min-height: 320px; }
}
@media (min-width: 1024px) {
  .gallery-portrait { min-height: 380px; }
}
.img-cover { object-fit: cover; object-position: center; }
.contact-bg {
  background-image: linear-gradient(135deg, rgba(67, 160, 71, 0.92) 0%, rgba(56, 142, 60, 0.92) 100%),
    url('img/galeria/images/Kep4.webp'), url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 639px) {
  body { padding-bottom: 0; }
}
/* Back to top: alapból rejtett, csak görgetés után jelenik meg */
#back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 28px rgba(67, 160, 71, 0.45); }
#back-to-top:active { transform: translateY(0) scale(0.98); }
/* Nav linkek: hover aláhúzás + aktív szekció aláhúzva */
.nav-link {
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #43A047;
  transition: width 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover { color: #43A047; }
.nav-link.active { color: #43A047; }
.mobile-nav-link.active { color: #43A047; text-decoration: underline; text-underline-offset: 4px; }
/* Lightbox galéria */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#lightbox.show { opacity: 1; visibility: visible; }
#lightbox .lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox .lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
#lightbox .lightbox-video {
  width: min(92vw, 1100px);
  max-height: 84vh;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}
#lightbox .lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(17,24,39,0.75);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10010;
  transition: background 0.2s ease, transform 0.2s ease;
}
#lightbox .lightbox-close:hover { background: rgba(255,255,255,0.35); transform: scale(1.05); }
#lightbox .lightbox-prev,
#lightbox .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
#lightbox .lightbox-prev { left: -56px; }
#lightbox .lightbox-next { right: -56px; }
@media (max-width: 640px) {
  #lightbox .lightbox-prev { left: 8px; }
  #lightbox .lightbox-next { right: 8px; }
  #lightbox .lightbox-close { top: 8px; right: 8px; }
}
#lightbox .lightbox-prev:hover,
#lightbox .lightbox-next:hover { background: rgba(255,255,255,0.35); transform: translateY(-50%) scale(1.08); }
#lightbox .lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}
.gallery-clickable { cursor: pointer; }
.gallery-clickable:hover { opacity: 0.92; }
.hero-card .bg-transparent.border-2 { transition: background 0.2s ease, transform 0.2s ease; }
.hero-card .bg-transparent.border-2:hover { transform: scale(1.05); }
.contact-copy-btn { transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.contact-copy-btn:hover { transform: translateY(-1px) scale(1.02); }
.contact-copy-btn:active { transform: translateY(0) scale(0.98); }
.contact-priority-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.1rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.contact-call-hero {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.95rem;
}
.contact-email-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.9rem;
}
.contact-main-cta {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.contact-secondary-cta {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.44);
}
.contact-secondary-cta:hover { background: rgba(255, 255, 255, 0.26); }
nav a[href] { transition: color 0.2s ease, opacity 0.2s ease; }
#bottom-nav a, #mobile-menu a { transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
#bottom-nav a:active, #mobile-menu a:active { transform: scale(0.97); }
#bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9500;
  padding: 0.5rem 0.55rem calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#bottom-nav .bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  align-items: stretch;
  max-width: 560px;
  margin: 0 auto;
}
#bottom-nav a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  min-height: 52px;
  border-radius: 0.8rem;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.67rem;
  line-height: 1.1;
  text-align: center;
  padding: 0.3rem 0.2rem;
  text-decoration: none;
}
#bottom-nav a.active {
  color: #166534;
  background: #e8f5e9;
}
#bottom-nav .bottom-nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.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; }
.sr-only:focus { position: fixed; top: 0; left: 0; z-index: 100; width: auto; height: auto; padding: 0.75rem 1rem; margin: 0; clip: auto; background: #43A047; color: #fff; font-weight: 600; border-radius: 0 0 0.25rem 0; }

/* Loading screen – letisztult */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8faf8;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  font-family: 'Poppins', sans-serif;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(67, 160, 71, 0.2);
  border-top-color: #43A047;
  border-radius: 50%;
  animation: loader-spin 0.8s linear infinite;
}
.loader-label {
  margin-top: 1.25rem;
  color: #37474f;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
@keyframes loader-spin {
  to { transform: rotate(360deg); }
}
#kapcsolat .select-all { user-select: all; -webkit-user-select: all; cursor: text; }

/* Ertekelesek */
.review-input {
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.review-input:focus {
  outline: none;
  border-color: #43A047;
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.18);
}
.review-input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}
.review-label-icon {
  width: 16px;
  height: 16px;
  color: #6b7280;
}
.review-stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 0.65rem;
  padding: 0.12rem 0.2rem;
  margin-top: 0.15rem;
}
.review-stars.is-invalid {
  outline: 2px solid rgba(220, 38, 38, 0.55);
  outline-offset: 2px;
}
.review-star {
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.review-star:hover {
  transform: translateY(-1px) scale(1.06);
}
.review-star:hover,
.review-star:focus-visible {
  color: #f59e0b;
}
.review-star.is-active {
  color: #f59e0b;
}
.review-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.95rem;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.review-card-ident {
  min-width: 0;
}
.review-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.review-rating {
  font-size: 0.8rem;
  color: #f59e0b;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.48rem;
  border: 1px solid #f3e4b2;
  background: #fffdf5;
  border-radius: 999px;
  flex-shrink: 0;
}
.review-text {
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.58;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}
.review-required {
  color: #dc2626;
  font-weight: 700;
}
.review-date {
  color: #6b7280;
  font-size: 0.78rem;
}
.review-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.review-consent-row.is-invalid {
  color: #b91c1c;
}
.review-consent-checkbox {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: #43A047;
  flex-shrink: 0;
}
.review-privacy-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.review-field-error {
  min-height: 1.1rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.25;
  color: #dc2626;
}
.review-counter {
  margin-top: 0.35rem;
  font-size: 0.77rem;
  color: #6b7280;
}
.review-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.review-list-scroll {
  height: 520px;
  overflow-y: auto;
  padding-right: 0.35rem;
  align-content: start;
}
.review-list-scroll.is-empty {
  height: auto;
  overflow: visible;
  padding-right: 0;
}
.review-list-scroll::-webkit-scrollbar {
  width: 8px;
}
.review-list-scroll::-webkit-scrollbar-track {
  background: #f3f4f6;
}
.review-list-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.review-empty-state {
  margin-top: 0.65rem;
  border: 1px dashed #d5deea;
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  font-size: 0.9rem;
  color: #4b5563;
  background: linear-gradient(180deg, #fbfcfd 0%, #f6f8fb 100%);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.review-empty-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.review-empty-icon {
  width: 17px;
  height: 17px;
  color: #9ca3af;
  flex-shrink: 0;
}
.review-submit-btn {
  min-width: 210px;
  background: linear-gradient(135deg, #43A047 0%, #2E7D32 100%);
  box-shadow: 0 10px 24px rgba(67, 160, 71, 0.32);
}
.review-submit-btn:hover {
  background: linear-gradient(135deg, #4caf50 0%, #2f7f35 100%);
}
.privacy-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.privacy-modal.open {
  opacity: 1;
  visibility: visible;
}
.privacy-modal-panel {
  width: min(680px, 100%);
  max-height: 88vh;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.24);
  opacity: 0;
  transform: scale(0.96);
  transition: transform 0.22s ease, opacity 0.22s ease;
  display: flex;
  flex-direction: column;
}
.privacy-modal.open .privacy-modal-panel {
  opacity: 1;
  transform: scale(1);
}
.privacy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid #e5e7eb;
}
.privacy-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}
.privacy-modal-close {
  border: none;
  background: #f3f4f6;
  color: #374151;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.privacy-modal-body {
  overflow-y: auto;
  padding: 1rem;
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.55;
}
.privacy-modal-body p + p {
  margin-top: 0.6rem;
}
.privacy-modal-foot {
  border-top: 1px solid #e5e7eb;
  padding: 0.85rem 1rem 1rem;
  display: flex;
  justify-content: flex-end;
}
.app-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 13000;
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.app-toast-inner {
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.78rem 0.95rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: min(92vw, 560px);
}
.app-toast.success .app-toast-icon {
  color: #4ade80;
}
.app-toast.error .app-toast-icon {
  color: #f87171;
}
.app-toast-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* Mobil-first responsive finomhangolas */
@media (max-width: 1023px) {
  #main {
    padding-bottom: 5.8rem;
  }

  body {
    overflow-x: clip;
  }

  #hero {
    padding-top: calc(var(--top-nav-offset, 96px) + 0.8rem);
    align-items: flex-start;
    min-height: auto;
  }

  #hero > div {
    width: 100%;
    max-width: 100%;
  }

  #hero-cim {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
    line-height: 1.14;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .top-contact-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    width: 100%;
  }

  .top-contact-link {
    min-width: 0;
    width: auto;
    flex: 1 1 0;
  }

  .top-contact-label {
    display: inline-block;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    overflow-wrap: normal;
    font-size: 0.73rem;
    line-height: 1.1;
  }

  .top-contact-email {
    justify-content: flex-end;
  }

  .top-contact-phone {
    justify-content: flex-start;
  }

  .hero-card {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 1.15rem 0.92rem 1rem;
    border-radius: 1.1rem;
    overflow: hidden;
    margin-inline: auto;
  }

  #hero .btn-primary,
  #hero .bg-transparent.border-2 {
    width: 100%;
  }

  .hero-review-marquee-shell {
    margin-top: 0.95rem;
  }

  .hero-review-marquee-viewport {
    border-radius: 0.8rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }

  .hero-review-marquee-viewport::before,
  .hero-review-marquee-viewport::after {
    width: 22px;
  }

  .hero-review-chip {
    min-width: 72vw;
    max-width: 74vw;
    padding: 0.62rem 0.68rem;
  }

  .hero-review-chip-text {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-review-chip-meta {
    gap: 0.3rem 0.45rem;
    margin-top: 0.28rem;
  }

  .hero-review-chip-name,
  .hero-review-chip-stars,
  .hero-review-chip-date {
    font-size: 0.69rem;
  }

  .review-submit-btn {
    width: 100%;
    min-width: 0;
  }

  .review-card {
    padding: 0.82rem 0.85rem;
  }

  .review-list-scroll {
    height: 420px;
  }

  .privacy-modal-panel {
    width: min(680px, 100%);
    max-height: 92vh;
    border-radius: 1rem;
  }

  .app-toast {
    left: 10px;
    right: 10px;
    bottom: 12px;
    transform: translateX(0) translateY(12px);
  }

  .app-toast.show {
    transform: translateX(0) translateY(0);
  }

  .app-toast-inner {
    width: 100%;
  }

  .review-card-head {
    gap: 0.5rem;
  }

  .review-rating {
    font-size: 0.78rem;
    padding: 0.18rem 0.42rem;
  }

  .review-list-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  #bottom-nav a {
    font-size: 10px;
    line-height: 1.05;
    text-align: center;
  }
}

@media (max-width: 410px) {
  .top-contact-label {
    font-size: 0.68rem;
  }

  #hero .text-white\/80 {
    font-size: 0.92rem;
    line-height: 1.42;
  }
}
