/* ═══════════════════════════════════════════════════════
   Studio TM – components.css
   ═══════════════════════════════════════════════════════ */

/* ── SERVICES ───────────────────────────────────────── */
.stm-services {
  background: var(--stm-dark);
}

.stm-service-card {
  background: var(--stm-dark-2);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  border: 1px solid transparent;
}
.stm-service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--stm-gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.stm-service-card:hover { background: var(--stm-dark-3); }
.stm-service-card:hover::after { transform: scaleX(1); }

.stm-service-num {
  font-family: var(--stm-font-title);
  font-size: 4.5rem;
  color: rgba(255,255,0,0.05);
  position: absolute;
  top: 0.75rem; right: 1.25rem;
  line-height: 1;
  pointer-events: none;
}
.stm-service-title {
  font-size: 1.15rem;
  color: var(--stm-text);
  margin-bottom: 0.6rem;
}
.stm-service-desc {
  font-size: 0.88rem;
  color: var(--stm-text-dim);
  line-height: 1.6;
  margin: 0;
}
.stm-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.stm-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(255,255,0,0.2);
  color: #7a7268;
  border-radius: 1px;
}

/* ── PROCESS ────────────────────────────────────────── */
.stm-process-section {
  background: var(--stm-dark-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stm-process-row { position: relative; }

.stm-process-line {
  position: absolute;
  top: 28px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--stm-gold) 0%, rgba(255,255,0,0.15) 100%);
  z-index: 0;
}

.stm-step-circle {
  width: 56px;
  height: 56px;
  border: 2px solid var(--stm-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stm-dark-2);
  transition: background 0.3s;
  position: relative;
  z-index: 1;
}
.stm-process-step:hover .stm-step-circle {
  background: rgba(255,255,0,0.08);
}

.stm-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--stm-gold);
  color: var(--stm-dark);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--stm-font-body);
}
.stm-step-title {
  font-size: 1rem;
  color: var(--stm-text);
  margin-bottom: 0.5rem;
}
.stm-step-desc {
  font-size: 0.85rem;
  color: var(--stm-text-dim);
  line-height: 1.6;
  margin: 0;
}

/* ── PORTFOLIO ──────────────────────────────────────── */
.stm-portfolio-section {
  background: var(--stm-dark-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Szűrő gombok */
.stm-filter-btn {
  font-family: var(--stm-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--stm-text-dim);
  background: transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: all 0.2s;
}
.stm-filter-btn:hover,
.stm-filter-btn.active {
  border-color: var(--stm-gold);
  color: var(--stm-gold);
  background: rgba(255,255,0,0.06);
}

/* Alkategória szűrők */
.stm-sub-filters {
  padding-left: 1rem;
  border-left: 2px solid rgba(255,255,0,0.2);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}
.stm-sub-filter-btn {
  font-family: var(--stm-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.06);
  color: #4a4a46;
  background: transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: all 0.2s;
}
.stm-sub-filter-btn:hover,
.stm-sub-filter-btn.active {
  border-color: rgba(255,255,0,0.35);
  color: rgba(255,255,0,0.8);
  background: rgba(255,255,0,0.05);
}

/* Portfolio rács */
.stm-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.stm-portfolio-item {
  aspect-ratio: 1;
  background: var(--stm-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.stm-portfolio-item.stm-item-first {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}

.stm-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stm-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.stm-portfolio-item:hover .stm-portfolio-overlay { opacity: 1; }

/* Touch eszközök: mindig látszódjon */
@media (hover: none) {
  .stm-portfolio-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.55);
  }
}

.stm-overlay-cat {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stm-gold);
}
.stm-overlay-title {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stm-text);
  margin-top: 0.35rem;
  text-align: center;
}
.stm-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stm-gold);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.stm-gallery-link:hover { opacity: 1; color: var(--stm-gold); }

.stm-loading-text {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stm-text-dim2);
}

/* ── TEAM ───────────────────────────────────────────── */
/* ── TESTIMONIALS ───────────────────────────────────── */
.stm-testimonials-section {
  background: var(--stm-dark);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.stm-testimonial-card {
  background: var(--stm-dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s;
}
.stm-testimonial-card:hover { border-color: rgba(255,255,0,0.2); }
.stm-testimonial-card::before {
  content: '\201C';
  font-family: var(--stm-font-title);
  font-size: 5rem;
  color: rgba(255,255,0,0.08);
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  line-height: 1;
}
.stm-review-text {
  font-size: 0.9rem;
  color: #a09a8e;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}
.stm-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,0,0.1);
  border: 1px solid rgba(255,255,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--stm-font-title);
  font-size: 1rem;
  color: var(--stm-gold);
  flex-shrink: 0;
}
.stm-review-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--stm-text);
}
.stm-review-role {
  font-size: 0.75rem;
  color: var(--stm-text-dim);
  margin-top: 0.1rem;
}

/* ── CALCULATOR ─────────────────────────────────────── */
.stm-calc-info-title {
  font-size: 1.7rem;
  color: var(--stm-text);
  margin-bottom: 0.9rem;
}
.stm-calc-info-desc {
  font-size: 0.92rem;
  color: var(--stm-text-dim);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.stm-calc-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stm-calc-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
  color: #7a7268;
}
.stm-calc-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--stm-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.stm-calc-form {
  background: var(--stm-dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}

.stm-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stm-text-dim);
  margin-bottom: 0.5rem;
}
.stm-input,
.stm-select,
.stm-textarea {
  width: 100%;
  background: var(--stm-dark-3);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--stm-text);
  font-family: var(--stm-font-body);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 2px;
  appearance: none;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 110px;
}
.stm-input:focus,
.stm-select:focus,
.stm-textarea:focus {
  border-color: rgba(255,255,0,0.45);
  box-shadow: none;
}
.stm-select option { background: var(--stm-dark-3); }

.stm-calc-result {
  background: var(--stm-dark-3);
  border: 1px solid rgba(255,255,0,0.25);
  border-radius: 4px;
  padding: 1.75rem;
}
.stm-result-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stm-text-dim);
  margin-bottom: 0.4rem;
}
.stm-result-price {
  font-family: var(--stm-font-title);
  font-size: 3.2rem;
  color: var(--stm-gold);
  line-height: 1;
}
.stm-result-note {
  font-size: 0.75rem;
  color: var(--stm-text-dim2);
  margin-top: 0.4rem;
}

/* ── CONTACT ────────────────────────────────────────── */
.stm-contact-section {
  background: var(--stm-dark-2);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.stm-contact-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--stm-text);
  margin-bottom: 0.9rem;
}
.stm-contact-desc {
  font-size: 0.92rem;
  color: var(--stm-text-dim);
  line-height: 1.7;
  max-width: 40ch;
}
.stm-contact-list { margin: 0; padding: 0; }
.stm-contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stm-contact-list li:last-child { border-bottom: none; }
.stm-contact-icon { flex-shrink: 0; margin-top: 2px; }
.stm-cd-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stm-text-dim2);
  margin-bottom: 0.15rem;
}
.stm-cd-value { font-size: 0.88rem; color: #a09a8e; }
.stm-contact-link {
  color: #a09a8e;
  transition: color 0.2s;
}
.stm-contact-link:hover { color: var(--stm-text); }
.stm-contact-link-gold { color: var(--stm-gold); transition: opacity 0.2s; }
.stm-contact-link-gold:hover { opacity: 0.8; color: var(--stm-gold); }

.stm-contact-form {
  background: var(--stm-dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}
.stm-form-title {
  font-size: 1.4rem;
  color: var(--stm-text);
}

.stm-alert-success {
  background: rgba(25,135,84,0.15);
  border: 1px solid rgba(25,135,84,0.4);
  color: #75b798;
  border-radius: 2px;
  font-size: 0.9rem;
}
.stm-alert-error {
  background: rgba(220,53,69,0.15);
  border: 1px solid rgba(220,53,69,0.4);
  color: #ea868f;
  border-radius: 2px;
  font-size: 0.9rem;
}

/* ── LIGHTBOX ───────────────────────────────────────── */
.stm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.stm-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.stm-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}
.stm-lb-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stm-lb-img-wrap {
  position: relative;
  background: var(--stm-dark-3);
  border: 1px solid rgba(255,255,0,0.15);
  border-radius: 4px;
  overflow: hidden;
  max-width: 80vw;
  max-height: 70vh;
  min-width: 280px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stm-lb-img-wrap img {
  max-width: 80vw;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}
.stm-lb-placeholder {
  width: 480px;
  height: 340px;
  max-width: 80vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--stm-dark-3);
}
.stm-lb-placeholder p {
  font-size: 0.78rem;
  color: var(--stm-text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.stm-lb-close {
  position: absolute;
  top: -1rem; right: -1rem;
  width: 36px; height: 36px;
  background: var(--stm-dark-2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--stm-text);
  font-size: 1.1rem;
  z-index: 2;
  line-height: 1;
}
.stm-lb-close:hover {
  background: var(--stm-gold);
  color: var(--stm-dark);
  border-color: var(--stm-gold);
}
.stm-lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--stm-text);
  z-index: 2;
}
.stm-lb-nav:hover {
  background: var(--stm-gold);
  color: var(--stm-dark);
  border-color: var(--stm-gold);
}
.stm-lb-prev { left: -56px; }
.stm-lb-next { right: -56px; }

.stm-lb-cat {
  font-size: 0.7rem;
  color: var(--stm-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.stm-lb-title {
  font-family: var(--stm-font-title);
  font-size: 1.6rem;
  color: var(--stm-text);
  letter-spacing: 0.06em;
}
.stm-lb-gallery-wrap { min-height: 36px; margin-top: 0.5rem; }
.stm-lb-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stm-gold);
  border: 1px solid rgba(255,255,0,0.3);
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.stm-lb-gallery-link:hover {
  background: rgba(255,255,0,0.08);
  border-color: var(--stm-gold);
  color: var(--stm-gold);
}
.stm-lb-counter {
  font-size: 0.72rem;
  color: var(--stm-text-dim);
  margin-top: 0.6rem;
  letter-spacing: 0.1em;
}

/* ── TESTIMONIALS CAROUSEL ──────────────────────────── */
.stm-testimonials-carousel { position: relative; }

/* Kártyák egyforma magassága slide-onként */
.stm-testimonials-carousel .carousel-item .row {
  align-items: stretch;
}

/* Indikátor pontok */
.stm-carousel-indicators {
  position: relative;
  bottom: auto;
  margin: 1.5rem 0 0;
  justify-content: center;
  gap: 0.4rem;
  /* Bootstrap felülírás */
  --bs-carousel-indicator-width: 8px;
  --bs-carousel-indicator-height: 8px;
  --bs-carousel-indicator-spacer: 4px;
  --bs-carousel-indicator-active-bg: #FFFF00;
}
.stm-carousel-indicators [data-bs-target],
.stm-carousel-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: rgba(255,255,255,0.2) !important;
  border-top: none !important;
  border-bottom: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 2px !important;
  opacity: 1 !important;
  transition: background-color 0.2s, transform 0.2s !important;
  flex-shrink: 0;
  box-sizing: border-box;
}
.stm-carousel-indicators [data-bs-target].active,
.stm-carousel-indicators button.active {
  background-color: var(--stm-gold) !important;
  transform: scale(1.3);
}

/* Prev/Next nyilak */
.stm-carousel-prev,
.stm-carousel-next {
  position: absolute;
  top: calc(50% - 24px);
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stm-text);
  opacity: 1;
  transition: all 0.2s;
  z-index: 10;
  cursor: pointer;
  right: -20px;
}
.stm-carousel-prev:hover,
.stm-carousel-next:hover {
  background: var(--stm-gold);
  color: var(--stm-dark);
  border-color: var(--stm-gold);
}
.stm-carousel-prev { left: -20px; }

/* Bootstrap carousel transition fix */
.stm-testimonials-carousel .carousel-item {
  transition: transform 0.5s ease-in-out;
}
/* Az active slide mindig látható */
.stm-testimonials-carousel .carousel-item.active {
  display: block;
}

@media (max-width: 991px) {
  .stm-carousel-prev { left: -10px; }
  .stm-carousel-next { right: -10px; }
  .stm-testimonials-carousel {
    padding: 0 2rem;
  }
}
@media (max-width: 575px) {
  .stm-carousel-prev,
  .stm-carousel-next { display: none; }
  .stm-testimonials-carousel { padding: 0; }
}

/* ── PORTFOLIO PAGINATION ───────────────────────────── */
.stm-pagination-wrap { margin-top: 2rem; }

.stm-pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.stm-page-btn {
  font-family: var(--stm-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  min-width: 36px;
  height: 36px;
  padding: 0 0.75rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--stm-text-dim);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stm-page-btn:hover:not(.disabled) {
  border-color: var(--stm-gold);
  color: var(--stm-gold);
  background: rgba(255,255,0,0.05);
}
.stm-page-btn.active {
  background: var(--stm-gold);
  border-color: var(--stm-gold);
  color: var(--stm-dark);
  font-weight: 700;
  cursor: default;
}
.stm-page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.stm-page-ellipsis {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--stm-text-dim2);
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════════════════
   GDPR COOKIE BANNER
   ══════════════════════════════════════════════════════ */

/* ── BANNER ─────────────────────────────────────────── */
.stm-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--stm-dark-2);
  border-top: 1px solid rgba(255,255,0,0.15);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.stm-cookie-banner.visible {
  transform: translateY(0);
}

.stm-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stm-cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  color: var(--stm-text-muted);
  line-height: 1.6;
}

.stm-cookie-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--stm-gold);
}

.stm-cookie-privacy-link {
  color: var(--stm-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: inherit;
  margin-left: 0.35rem;
  transition: opacity 0.2s;
}
.stm-cookie-privacy-link:hover { opacity: 0.75; color: var(--stm-gold); }

.stm-cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── BANNER GOMBOK ──────────────────────────────────── */
.stm-cookie-btn {
  font-family: var(--stm-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.stm-cookie-btn-settings {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: var(--stm-text-muted);
}
.stm-cookie-btn-settings:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--stm-text);
}

.stm-cookie-btn-necessary {
  background: transparent;
  border-color: rgba(255,255,0,0.3);
  color: var(--stm-gold);
}
.stm-cookie-btn-necessary:hover {
  background: rgba(255,255,0,0.06);
  border-color: var(--stm-gold);
}

.stm-cookie-btn-accept {
  background: var(--stm-gold);
  border-color: var(--stm-gold);
  color: var(--stm-dark);
}
.stm-cookie-btn-accept:hover {
  background: var(--stm-gold-l);
  border-color: var(--stm-gold-l);
}

/* ── MODAL ──────────────────────────────────────────── */
.stm-cookie-modal-dialog {
  max-width: 520px;
}

.stm-cookie-modal {
  background: var(--stm-dark-2);
  border: 1px solid rgba(255,255,0,0.15);
  border-radius: 6px;
  color: var(--stm-text);
}

.stm-cookie-modal-header {
  background: var(--stm-dark-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 1.5rem;
}

.stm-cookie-modal-title {
  font-family: var(--stm-font-title);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--stm-text);
  display: flex;
  align-items: center;
  margin: 0;
}

.stm-cookie-modal-body {
  padding: 1.5rem;
  background: var(--stm-dark-2);
}

.stm-cookie-modal-intro {
  font-size: 0.875rem;
  color: var(--stm-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* ── KATEGÓRIA SOROK ────────────────────────────────── */
.stm-cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stm-cookie-category:last-child { border-bottom: none; }

.stm-cookie-cat-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--stm-text);
  margin-bottom: 0.3rem;
}

.stm-cookie-cat-desc {
  font-size: 0.8rem;
  color: var(--stm-text-dim);
  line-height: 1.6;
  margin: 0;
}

/* ── BOOTSTRAP SWITCH OVERRIDE ──────────────────────── */
.stm-cookie-switch {
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}
.stm-cookie-switch .form-check-input {
  width: 2.5rem;
  height: 1.35rem;
  cursor: pointer;
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transition: background-color 0.2s;
}
.stm-cookie-switch .form-check-input:checked {
  background-color: var(--stm-gold);
  border-color: var(--stm-gold);
}
.stm-cookie-switch .form-check-input:disabled {
  opacity: 1;
  cursor: not-allowed;
  background-color: rgba(255,255,0,0.3);
}
.stm-cookie-switch .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(255,255,0,0.2);
}

/* ── MODAL FOOTER ───────────────────────────────────── */
.stm-cookie-modal-footer {
  background: var(--stm-dark-3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 1.5rem;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 767px) {
  .stm-cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .stm-cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .stm-cookie-btn { font-size: 0.73rem; padding: 0.45rem 0.9rem; }
  /* Banner felett a WA gomb */
  .stm-cookie-banner.visible ~ .stm-wa-btn,
  body:has(.stm-cookie-banner.visible) .stm-wa-btn {
    bottom: calc(var(--cookie-banner-h, 140px) + 1rem);
  }
}

@media (max-width: 400px) {
  .stm-cookie-actions { flex-direction: column; }
  .stm-cookie-btn { width: 100%; text-align: center; }
}

/* ── PRIVACY PAGE ───────────────────────────────────── */
.stm-privacy-page {
  background: var(--stm-dark);
  min-height: 80vh;
}
.stm-privacy-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--stm-text);
  margin-bottom: 0.4rem;
}
.stm-privacy-updated {
  font-size: 0.82rem;
  color: var(--stm-text-dim2);
  margin-bottom: 2.5rem;
}
.stm-privacy-content h2 {
  font-size: 1.15rem;
  color: var(--stm-gold);
  margin: 2rem 0 0.6rem;
  font-family: var(--stm-font-body);
  font-weight: 600;
  letter-spacing: 0;
}
.stm-privacy-content p,
.stm-privacy-content li {
  font-size: 0.9rem;
  color: var(--stm-text-muted);
  line-height: 1.75;
}
.stm-privacy-content ul {
  padding-left: 1.25rem;
}
.stm-privacy-content code {
  background: var(--stm-dark-3);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  font-size: 0.83rem;
  color: var(--stm-gold);
}
.stm-privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1rem 0;
}
.stm-privacy-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  background: var(--stm-dark-3);
  color: var(--stm-text);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stm-privacy-table td {
  padding: 0.55rem 0.75rem;
  color: var(--stm-text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
}
.stm-privacy-table td:first-child { font-family: monospace; font-size: 0.8rem; color: var(--stm-gold); }

/* Breadcrumb */
.stm-breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
}
.stm-breadcrumb .breadcrumb-item a {
  color: var(--stm-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.stm-breadcrumb .breadcrumb-item a:hover { color: var(--stm-gold); }
.stm-breadcrumb .breadcrumb-item.active { color: var(--stm-text-dim2); }
.stm-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--stm-text-dim2);
}

/* Cookie settings gomb a footerben */
.stm-cookie-settings-btn {
  font-family: var(--stm-font-body);
  font-size: 0.75rem;
  color: var(--stm-text-dim2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.stm-cookie-settings-btn:hover { color: var(--stm-gold); }

/* ══════════════════════════════════════════════════════
   NEWSLETTER POPUP
   ══════════════════════════════════════════════════════ */

.stm-nl-dialog { max-width: 500px; }

.stm-nl-modal {
  background: var(--stm-dark-2);
  border: 1px solid rgba(255,255,0,0.2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

/* X bezárás gomb */
.stm-nl-close-x {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--stm-text-muted);
  transition: all 0.2s;
}
.stm-nl-close-x:hover { background: var(--stm-gold); color: var(--stm-dark); border-color: var(--stm-gold); }

/* Vizuális sáv */
.stm-nl-visual {
  background: linear-gradient(135deg, #0a0a00 0%, #111100 100%);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  border-bottom: 1px solid rgba(255,255,0,0.1);
}

.stm-nl-camera-icon {
  position: relative;
  z-index: 1;
  animation: nl-pulse 2.5s ease-in-out infinite;
}

@keyframes nl-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.85; }
}

.stm-nl-decorlines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.stm-nl-decorlines span {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,0,0.15), transparent);
  left: 0; right: 0;
}
.stm-nl-decorlines span:nth-child(1) { top: 30%; animation: nl-line 3s ease-in-out infinite; }
.stm-nl-decorlines span:nth-child(2) { top: 55%; animation: nl-line 3s ease-in-out infinite 1s; }
.stm-nl-decorlines span:nth-child(3) { top: 75%; animation: nl-line 3s ease-in-out infinite 2s; }

@keyframes nl-line {
  0%, 100% { opacity: 0; transform: scaleX(0.3); }
  50%       { opacity: 1; transform: scaleX(1); }
}

/* Tartalom */
.stm-nl-body {
  padding: 1.75rem 1.75rem 1.5rem;
}

.stm-nl-title {
  font-family: var(--stm-font-title);
  font-size: 1.7rem;
  color: var(--stm-text);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.stm-nl-text {
  font-size: 0.88rem;
  color: var(--stm-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.stm-nl-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stm-text-dim);
  margin-bottom: 0.5rem;
}

.stm-nl-input-row {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.stm-nl-input-row:focus-within { border-color: rgba(255,255,0,0.5); }

.stm-nl-input {
  flex: 1;
  background: var(--stm-dark-3);
  border: none;
  color: var(--stm-text);
  font-family: var(--stm-font-body);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  outline: none;
  min-width: 0;
}
.stm-nl-input::placeholder { color: var(--stm-text-dim2); }

.stm-nl-submit {
  background: var(--stm-gold);
  color: var(--stm-dark);
  font-family: var(--stm-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.stm-nl-submit:hover { background: var(--stm-gold-l); }
.stm-nl-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Visszajelzés */
.stm-nl-feedback {
  display: none;
  font-size: 0.82rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0;
}
.stm-nl-feedback--success { color: #75b798; }
.stm-nl-feedback--error   { color: #ea868f; }
.stm-nl-feedback--info    { color: var(--stm-gold); }

/* GDPR szöveg */
.stm-nl-gdpr {
  font-size: 0.73rem;
  color: var(--stm-text-dim2);
  line-height: 1.5;
  margin: 0.75rem 0 0;
}

/* Skip gomb */
.stm-nl-skip {
  display: block;
  margin: 0.85rem auto 0;
  background: none;
  border: none;
  color: var(--stm-text-dim2);
  font-family: var(--stm-font-body);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.stm-nl-skip:hover { color: var(--stm-text-muted); }

/* ── NEWSLETTER FOOTER WIDGET ───────────────────────── */
.stm-nl-footer-widget {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 1rem;
}

.stm-nl-fw-title {
  font-family: var(--stm-font-title);
  font-size: 1.1rem;
  color: var(--stm-text);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.stm-nl-fw-text {
  font-size: 0.8rem;
  color: var(--stm-text-dim);
  margin-bottom: 0.75rem;
}

.stm-nl-fw-row {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s;
  max-width: 360px;
}
.stm-nl-fw-row:focus-within { border-color: rgba(255,255,0,0.4); }

.stm-nl-fw-input {
  flex: 1;
  background: var(--stm-dark-3);
  border: none;
  color: var(--stm-text);
  font-family: var(--stm-font-body);
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  outline: none;
  min-width: 0;
}
.stm-nl-fw-input::placeholder { color: var(--stm-text-dim2); }

.stm-nl-fw-btn {
  background: var(--stm-gold);
  color: var(--stm-dark);
  font-family: var(--stm-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.stm-nl-fw-btn:hover { background: var(--stm-gold-l); }
.stm-nl-fw-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.stm-nl-fw-feedback {
  display: none;
  font-size: 0.78rem;
  margin-top: 0.4rem;
}
.stm-nl-fw-feedback.stm-nl-feedback--success { display: block; color: #75b798; }
.stm-nl-fw-feedback.stm-nl-feedback--error   { display: block; color: #ea868f; }
.stm-nl-fw-feedback.stm-nl-feedback--info    { display: block; color: var(--stm-gold); }

/* Responsive */
@media (max-width: 400px) {
  .stm-nl-input-row { flex-direction: column; }
  .stm-nl-submit { width: 100%; padding: 0.75rem; }
  .stm-nl-fw-row { flex-direction: column; }
  .stm-nl-fw-btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════
   TEAM KÁRTYA – kör fotó + tags frissítés
   ══════════════════════════════════════════════════════ */

.stm-team-card {
  background: var(--stm-dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s;
  text-align: center;
}
.stm-team-card:hover { border-color: rgba(255,255,0,0.25); }

/* Kör fotó wrapper */
.stm-team-photo-wrap {
  padding: 2rem 2rem 0;
  display: flex;
  justify-content: center;
}

/* Kör avatar sárga körvonallal */
.stm-team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--stm-gold);
  overflow: hidden;
  background: var(--stm-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(255,255,0,0.08);
}
.stm-team-avatar--empty {
  opacity: 0.5;
}
.stm-team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Info középre igazítva */
.stm-team-info {
  text-align: center;
}
.stm-team-social {
  justify-content: center;
}

/* Team tag – sárga háttér sötét szöveg */
.stm-tag--team {
  background: var(--stm-gold);
  color: #111;
  border-color: var(--stm-gold);
  font-weight: 600;
}
.stm-tag--team:hover { background: var(--stm-gold-l); }

/* Social mini – nagyobb méret */
.stm-social-mini--lg {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.stm-social-mini--lg:hover {
  border-color: var(--stm-gold);
  background: rgba(255,255,0,0.06);
}

/* ── PORTFOLIO FILTER AREA ──────────────────────────── */
.stm-filter-area {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

/* Biztosítjuk hogy a subfilter a főfilter UTÁN jelenik meg */
#subFilters {
  order: 2;
  width: 100%;
}

/* Portfolio placeholder */
.stm-portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stm-dark-3);
}

/* ── PLACEHOLDER AVATAR – átlátszóbb mint a valódi fotó ─ */
.stm-team-avatar--placeholder {
  border-color: rgba(255,255,0,0.2);
  box-shadow: none;
}
.stm-team-avatar--placeholder .stm-team-avatar-img {
  opacity: 0.7;
}
