﻿/* ==========================================================================
   JoyDance — Main Stylesheet
   Tokens → Base → Typography → Buttons → Forms → Components → Sections
   ========================================================================== */

/* Google Fonts: a functions.php tölti be <link>-kel + preconnecttel (JOYDANCE_FONTS_URL) — nem @import,
   mert az egy plusz kört jelentett a fontok előtt. (A statikus prototype/ style.css-e még @import-ot használ.) */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* Colors — from JoyDance logo */
  --jd-red:          #E8222A;
  --jd-red-dark:     #C01820;
  --jd-red-pale:     #FDF0F0;
  --jd-gold:         #F5C327;
  --jd-gold-dark:    #D4A010;
  --jd-gold-pale:    #FEF9E7;
  --jd-gold-text:    #AA5E00;
  --jd-gold-hover:   #C09000;
  --jd-muted-strong: #514B44;
  --jd-bg:           #FCFBF8;
  --jd-warm-mid:     #F7F3EE;
  --jd-white:        #FFFFFF;
  --jd-ink:          #1A1A1A;
  --jd-muted:        #5C534A;
  --jd-border:       #E5DDD4;
  --jd-border-strong: #948F89;
  --jd-accent:       #2B4A6B;
  --jd-success:      #1E6B3A;
  --jd-success-bg:   #DCF0E4;

  /* Typography */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 22px; --s-6: 32px; --s-7: 44px; --s-8: 60px;
  --s-9: 80px; --s-10: 120px;

  /* Radii */
  --r-button: 8px;
  --r-card:   10px;
  --r-image:  12px;
  --r-pill:   100px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(60,20,30,.05);
  --shadow-2: 0 6px 20px rgba(60,20,30,.08);
  --shadow-3: 0 16px 40px rgba(60,20,30,.14);

  /* Motion */
  --ease-out: cubic-bezier(0.22,1,0.36,1);
  --dur-short: 220ms;
  --dur-medium: 360ms;

  /* Layout */
  --kit-w: 1200px;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

/* Skip-to-content — billentyűzetes navigáció */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 9999;
  background: var(--jd-ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-button);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-to-content:focus { left: 1rem; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--jd-gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.schedule-event-card:focus-visible,
.schedule-agenda-row:focus-visible,
.testimonials:focus-visible,
.table-scroll:focus-visible { outline: 2px solid var(--jd-gold); outline-offset: 2px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* A ragadós fejléc (72px, menu.css) ne takarja a Tab-bal fókuszba kerülő elemet, és a más oldalról
   érkező horgony-ugrásnál (pl. /tarsastanc/#trial) a cél a fejléc alá kerüljön — ugyanazzal a +16px-es
   ráhagyással, amivel a main.js oldalon belüli horgony-kattintása számol. */
html { scroll-padding-top: calc(72px + var(--s-4)); }
html, body {
  margin: 0; padding: 0;
  background: var(--jd-bg);
  color: var(--jd-ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
  overflow-x: clip;
}

h1,h2,h3,h4,h5,h6 { margin: 0; text-wrap: pretty; }
p { margin: 0; }
a { color: var(--jd-red); text-decoration: none; }
a:hover { color: var(--jd-red-dark); }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--jd-red); color: #fff; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.eyebrow {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--jd-red-dark);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--jd-ink);
}
.section-head .section-title {
  white-space: nowrap;
  max-width: none;
}
@media (max-width: 860px) {
  .section-title { font-size: clamp(26px, 6vw, 38px); }
  .section-head .section-title { white-space: normal; }
}
.section-title em { font-style: normal; color: var(--jd-red); font-weight: 800; }

.section-lead {
  color: var(--jd-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 60ch;
  font-weight: 400;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 22px;
  border-radius: var(--r-button);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out),
              background var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out);
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: btnRipple 0.55s linear forwards;
  pointer-events: none;
}
.btn-primary .btn-ripple { background: rgba(0,0,0,0.12); }
@keyframes btnRipple {
  to { transform: scale(90); opacity: 0; }
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--jd-gold); color: var(--jd-ink); }
.btn-primary:hover { background: var(--jd-gold-hover); color: #fff; }

.btn-red { background: var(--jd-red); color: #fff; }
.btn-red:hover { background: var(--jd-red-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--jd-red);
  border-color: var(--jd-red);
}
.btn-outline:hover { background: var(--jd-red); color: #fff; }

/* btn-primary: arany — csak sötét háttéren (hero, dark card) */

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.input, .select, .textarea {
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--jd-ink);
  background: var(--jd-white);
  border: 1px solid var(--jd-border-strong);
  border-radius: var(--r-button);
  padding: 13px 16px;
  width: 100%;
  transition: border-color var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
}
.input, .textarea {
  appearance: none;
  -webkit-appearance: none;
}
.textarea { resize: none; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--jd-red);
  box-shadow: 0 0 0 3px rgba(232,34,42,.15);
}
.input::placeholder, .textarea::placeholder { color: var(--jd-muted); opacity: .6; }
.label {
  display: block;
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--jd-ink);
  margin-bottom: 6px;
}

/* ==========================================================================
   TAGS & BADGES
   ========================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  background: var(--jd-warm-mid);
  color: var(--jd-ink);
  font-family: var(--font-text);
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}
.tag-red  { background: var(--jd-red-pale);  color: var(--jd-red-dark); font-weight: 600; }
.tag-gold { background: var(--jd-gold-pale); color: var(--jd-gold-text); font-weight: 600; }
.tag-blue { background: #E4EDF5; color: var(--jd-accent); }
.tag-dark { background: var(--jd-ink); color: var(--jd-gold); font-weight: 600; }

/* ==========================================================================
   SECTION WRAPPER
   ========================================================================== */
.section {
  padding: 112px 0;
  border-bottom: 1px solid rgba(229,221,212,.35);
}
.section:has(+ .section.dark) { border-bottom: none; }
.section.warm { background: var(--jd-warm-mid); }
.section.dark {
  background: var(--jd-ink);
  color: #fff;
  border-bottom: none;
  position: relative;
  z-index: 1;
}
.section.dark .section-title { color: #fff; }
.section.dark .section-title em { color: var(--jd-gold); }
.section.dark .section-lead { color: rgba(255,255,255,.8); }
.section.dark .eyebrow { color: var(--jd-gold); }

.section-head {
  text-align: left;
  max-width: 720px;
  margin-bottom: 48px;
}

/* ==========================================================================
   HERO — FŐOLDAL
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #1A0608 0%, var(--jd-red-dark) 55%, var(--jd-red) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  min-height: 788px;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -260px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: var(--jd-gold);
  opacity: .32;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -220px; left: -180px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: #FFB800;
  opacity: .18;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}
.hero .eyebrow { color: var(--jd-gold); margin-bottom: 22px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: #fff;
}
.hero h1 em { font-style: italic; color: var(--jd-gold); font-weight: 700; font-size: .7em; line-height: 1.2; display: inline-block; }
.hero-kinetic {
  display: inline-block;
  color: var(--jd-gold);
  font-size: 1.08em;
  transition: opacity 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
              transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.hero-kinetic.kx-out {
  opacity: 0;
  transform: translateY(-42px) scale(0.7);
  transition: opacity 0.2s ease-in, transform 0.2s ease-in;
}
.hero-kinetic.kx-in {
  opacity: 0;
  transform: translateY(52px) scale(1.18);
  transition: none;
}
@media (prefers-reduced-motion: reduce) { .hero-kinetic { transition: none; } }
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
  max-width: 580px;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-primary,
.sal-hero .btn-primary,
.tar-hero .btn-primary,
.vt-hero .btn-primary { padding: 16px 28px; font-size: 15px; font-weight: 700; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
  padding: 16px 28px;
  font-size: 15px;
}
.btn-outline-white:hover { background: #fff; color: var(--jd-red); }
.tar-hero .btn-outline-white:hover,
.vt-hero .btn-outline-white:hover { color: var(--jd-ink); }
.hero .tar-hero-stats { margin-top: 44px; position: relative; z-index: 6; }
/* Scroll cue — lebegő chevron hero alján */
.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.62);
  animation: scrollCuePulse 2.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 4;
}
.hero-scroll-cue svg { display: block; width: 34px; height: 34px; }
.hero-carousel .hero-scroll-cue { bottom: 74px; }
@keyframes scrollCuePulse {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .65; }
  50% { transform: translateX(-50%) translateY(9px); opacity: .95; }
}

/* Lebegő arany fényrészecskék — herók aljára */
.hero-glow-particles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}
.hero-glow-particles::before,
.hero-glow-particles::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -80px;
  height: calc(100% + 80px);
  background-repeat: repeat;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 88%);
          mask-image: linear-gradient(to top, #000 0%, transparent 88%);
}
.hero-glow-particles::before {
  background-image:
    radial-gradient(circle, rgba(245,195,39,.95) 0 1.7px, transparent 1.9px),
    radial-gradient(circle, rgba(245,195,39,.65) 0 1.1px, transparent 1.3px),
    radial-gradient(circle, rgba(245,195,39,.5) 0 .9px, transparent 1.1px);
  background-size: 53px 97px, 71px 131px, 37px 67px;
  background-position: 9px 20px, 52px 88px, 15px 50px;
  animation: particleDrift1 14s linear infinite;
  opacity: .85;
}
.hero-glow-particles::after {
  background-image:
    radial-gradient(circle, rgba(245,195,39,.8) 0 1.4px, transparent 1.6px),
    radial-gradient(circle, rgba(245,195,39,.55) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(245,195,39,.35) 0 .8px, transparent 1px);
  background-size: 89px 149px, 43px 79px, 61px 103px;
  background-position: 30px 70px, 8px 25px, 40px 10px;
  animation: particleDrift2 21s linear infinite;
  animation-delay: -7s;
  opacity: .7;
}
@keyframes particleDrift1 {
  0%   { background-position: 9px 20px, 52px 88px, 15px 50px; }
  25%  { background-position: 13px -70px, 47px -2px, 20px -30px; }
  50%  { background-position: 7px -160px, 55px -92px, 12px -110px; }
  75%  { background-position: 14px -250px, 49px -182px, 21px -190px; }
  100% { background-position: 9px -340px, 52px -272px, 15px -270px; }
}
@keyframes particleDrift2 {
  0%   { background-position: 30px 70px, 8px 25px, 40px 10px; }
  25%  { background-position: 24px -60px, 13px -65px, 35px -80px; }
  50%  { background-position: 33px -190px, 6px -155px, 42px -170px; }
  75%  { background-position: 22px -320px, 12px -245px, 34px -260px; }
  100% { background-position: 30px -450px, 8px -335px, 40px -350px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow-particles::before,
  .hero-glow-particles::after { animation: none; }
}

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */
.hero-carousel::before,
.hero-carousel::after { display: none; }

.carousel-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  will-change: opacity;
}
/* Az 1. (LCP) dia fotója közvetlenül CSS-ből, a JS-re várás nélkül — a JS (main.js) ugyanezt az
   értéket állítja be újra pár pillanattal később (inline style-lyal felülírva, ártalmatlan), de így a
   böngésző a kép megérkezése után azonnal kirajzolhatja, nem kell megvárnia a JS lefutását (2026-10-25,
   LCP render-delay javítás). A gradiens a fotó MÖGÖTT marad (fallback, ha a kép nem eshetne be). */
.carousel-slide:nth-child(1) { background-image: url('../images/hero-tarsastanc.webp'), linear-gradient(150deg, #1A0608 0%, #7A1218 60%, #C3181F 100%); background-position: right top, right top; }
.carousel-slide:nth-child(2) { background-image: linear-gradient(150deg, #0D0D0D 0%, #1C1200 55%, #3D2800 100%); background-position: center -15%; }
.carousel-slide:nth-child(3) { background-image: linear-gradient(150deg, #1A0608 0%, #8B0000 55%, var(--jd-red) 100%); }
.carousel-slide.active { opacity: 1; }

@media (max-width: 640px) {
  /* 1. kép: a hero-tarsastanc-mobile.webp már eleve álló (911×1726, ~0,53 arány), generatív
     kitöltéssel bővítve, így a mobil-doboz arányát (~0,48–0,55) "cover"-rel is alig vágja —
     mindkét táncos teljes alakban látszik, üres sáv nélkül. */
  .carousel-slide:nth-child(1) {
    background-image: url('../images/hero-tarsastanc-mobile.webp'), linear-gradient(150deg, #1A0608 0%, #7A1218 60%, #C3181F 100%);
    background-size: cover, cover;
    background-position: center, center;
  }
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.54) 48%, rgba(0,0,0,.24) 100%),
    linear-gradient(to top, rgba(0,0,0,.48) 0%, transparent 52%);
}

.hero-carousel .hero-inner { z-index: 2; }

.hero-carousel .hero-sub { min-height: 5.5em; }
/* A H1-ben a "kinetic" szó (felemel/éltet/összeköt) eltérő hossza miatt a cím néha 1, néha 2 sorra
   tört — ~44px-es ugrás, mérve CLS 0,25-ös rossz pontszámot okozott (2026-10-23 teljesítmény-mérés).
   A 2 soros eset magasságára méretezve, em-ben (a H1 breakpointonként eltérő betűméretéhez igazodik). */
.hero-carousel h1 { min-height: 4em; }
/* A 3. dia ("Joya Dance Fitness", 18 karakter) eyebrow-szövege jóval rövidebb, mint a másik kettőé
   ("Versenyzői csapat · 20+ verseny évente", 39 karakter) — keskeny mobilon az utóbbi 2 sorra tör,
   a rövid 1 sorra marad, emiatt zsugorodott a teljes hero-doboz dia-váltáskor. 2 sornyi hely fenntartva. */
.hero-carousel .eyebrow { min-height: 3.5em; }
.hero-carousel .eyebrow,
.hero-carousel .hero-sub {
  transition: opacity 380ms ease;
}
.hero-carousel.transitioning .eyebrow,
.hero-carousel.transitioning .hero-sub { opacity: 0; }

.carousel-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 6;
}
.carousel-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: none;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,.18);
  cursor: pointer;
  padding: 0;
  transition: background-color 260ms var(--ease-out), width 260ms var(--ease-out), border-radius 260ms var(--ease-out);
}
.carousel-dot::before {
  /* A szomszédos dot-ok hit-areája ne fedje egymást: inset -8px + 16px gap pont összeér,
     a DOM-sorrendben későbbi dot így nem "eszi meg" a középsőt (ez volt a mobil-hiba oka). */
  content: '';
  position: absolute;
  inset: -8px;
}
.carousel-dot.active {
  background: var(--jd-gold);
  width: 26px;
  border-radius: 4px;
}
.carousel-dot:hover:not(.active) { background: rgba(255,255,255,.72); }

.carousel-pause {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 10;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background var(--dur-short) var(--ease-out);
  padding: 0;
}
.carousel-pause:hover { background: rgba(0,0,0,.62); }
.carousel-pause:focus-visible { outline: 2px solid var(--jd-gold); outline-offset: 2px; }
.carousel-pause .icon-play { display: none; }
.carousel-pause[aria-pressed="true"] .icon-pause { display: none; }
.carousel-pause[aria-pressed="true"] .icon-play  { display: block; }

/* ==========================================================================
   HERO — KÖZÖS ALOLDALI STÍLUSOK
   ========================================================================== */

/* hero-inner: főoldal + aloldalak */
.hero-inner, .tar-hero-inner, .sal-hero-inner { position: relative; max-width: 820px; z-index: 3; }

/* Eyebrow — aloldali herókban */
.tar-eyebrow, .sal-eyebrow, .vt-eyebrow {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--jd-gold);
  margin-bottom: 22px;
}

/* Sub bekezdés */
.tar-sub, .sal-sub, .vt-sub { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 600px; margin: 0 0 36px; }

/* h1 em kiemelés */
.tar-hero h1 em, .sal-hero h1 em, .vt-hero h1 em { font-style: normal; color: var(--jd-gold); }

/* Stats rács */
.tar-hero-stats, .sal-hero-stats, .vt-hero-stats {
  display: grid;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(245,195,39,.25);
  max-width: 720px;
}
.tar-hero-stats, .sal-hero-stats { grid-template-columns: repeat(4,1fr); }
.vt-hero-stats { grid-template-columns: repeat(4, auto); justify-content: space-between; }
.tar-hero-stats > div, .sal-hero-stats > div, .vt-hero-stats > div { text-align: center; }
.tar-hero-stats .num, .sal-hero-stats .num, .vt-hero-stats .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--jd-gold);
  letter-spacing: -0.02em;
  min-height: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tar-hero-stats .lbl, .sal-hero-stats .lbl, .vt-hero-stats .lbl { font-family: var(--font-text); font-weight: 500; font-size: 12px; letter-spacing: 0.05em; color: rgba(255,255,255,.7); text-transform: uppercase; margin-top: 4px; }
.sal-hero-stats .num.num-infinity { font-size: 64px; line-height: 0.7; transform: translateY(5px); }

/* Watermark — minden aloldali heron */
/* Joya Dance Fitness hero — a szöveges vízjel helyett a márka logó-emblémája, jól láthatóan */
.joya-hero-logo-mark {
  position: absolute;
  right: 100px; bottom: 90px;
  width: 220px;
  height: auto;
  z-index: 2;
}
/* Mobilon (900px alatt) a fehér vízjel eltűnik (lóg a stat-sorra) — helyette ez a színes logó jelenik meg
   a hero FÖLÖTT, saját (nem fotós) háttéren — így nem növeli a fotós hero doboz magasságát (kevesebb
   zoom kell a cover-hátérnek), és a kontraszt is garantált (2026-10-24). */
.joya-hero-logo-mobile-wrap { display: none; }
.joya-logo-mobile-tagline { display: none; }
/* 1250px alatt (tablet, szűk böngészőablak, "asztali webhely" mobilon ~980px) a fix right:100px pozíció
   átfedésbe kerülne a 820px széles tartalomoszloppal (stat-sor) — inkább rejtve, mint átfedésben. */
@media (max-width: 1250px) {
  .joya-hero-logo-mark { display: none; }
}
.joya-mi-az-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-7);
  max-width: none;
  margin-bottom: 48px;
}
.joya-mi-az-text { max-width: 640px; }
.joya-mi-az-text .section-head { margin-bottom: var(--s-6); }
/* Fix méret, nem dinamikusan a szöveghez igazított — a korábbi flex-stretch/aspect-ratio megoldás körkörös méretszámítást okozott és eltüntette a képet. */
.joya-mi-az-logo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.joya-mi-az-logo { width: 380px; height: 380px; display: block; }
.joya-tagline {
  font-family: 'Dancing Script', cursive;
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: var(--jd-red);
  text-align: center;
  white-space: nowrap;
  margin-top: -32px;
}
.joya-tagline--inline {
  text-align: left;
  white-space: normal;
  margin: 0 0 var(--s-4);
  font-size: 34px;
}
/* 1130px alatt (tablet, szűk böngészőablak, "asztali webhely" mobilon) a szöveg + fix 380px logó nem fér
   el egy sorban (a logó flex-shrink:0, nincs flex-wrap) — ezért kilógna jobbra. 700px felett még nincs
   saját hero-logó a lap elején, ezért itt NEM rejtjük el, csak egymás alá tesszük, kisebb méretben. */
@media (min-width: 701px) and (max-width: 1130px) {
  .joya-mi-az-head { flex-direction: column; align-items: flex-start; }
  .joya-mi-az-logo-wrap { align-self: center; margin-bottom: var(--s-7); }
  .joya-mi-az-logo { width: 260px; height: 260px; }
}
@media (max-width: 700px) {
  .joya-mi-az-head { flex-direction: column; align-items: flex-start; }
  .joya-mi-az-logo-wrap { display: none; }
  .joya-tagline { font-size: 19px; white-space: normal; }
  .joya-tagline--inline { font-size: 24px; }
}

/* ==========================================================================
   WALTZ SILHOUETTE STRIP
   ========================================================================== */
.waltz-strip {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--jd-bg);
}
.waltz-couple {
  height: 88%;
  width: auto;
  position: absolute;
  bottom: 0;
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: var(--jd-ink);
  opacity: 0.88;
  transform-origin: 50% 95%;
  animation:
    waltz-across 28s linear      infinite,
    waltz-dance   3s ease-in-out  infinite;
}
@keyframes waltz-across {
  from { left: -220px; }
  to   { left: 100%; }
}
@keyframes waltz-dance {
  0%   { transform: rotate(0deg)   translateY(0px);   }
  18%  { transform: rotate(-9deg)  translateY(-16px); }
  36%  { transform: rotate(-5deg)  translateY(-22px); }
  50%  { transform: rotate(0deg)   translateY(-18px); }
  68%  { transform: rotate(7deg)   translateY(-10px); }
  84%  { transform: rotate(9deg)   translateY(-4px);  }
  100% { transform: rotate(0deg)   translateY(0px);   }
}
@media (prefers-reduced-motion: reduce) {
  .waltz-couple { animation: none; left: 40%; }
}
@media (max-width: 768px) {
  .waltz-strip  { height: 140px; }
  .waltz-couple { animation-duration: 18s, 3s; }
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trustbar {
  background: var(--jd-warm-mid);
  border-bottom: 1px solid var(--jd-border);
}
.trustbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0;
}
.tb-cell {
  flex: 1;
  text-align: center;
  padding: 8px 24px;
  position: relative;
}
.tb-cell + .tb-cell::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--jd-border);
}
.tb-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--jd-ink);
  margin-bottom: 6px;
}
.tb-num span { color: var(--jd-red); }
.tb-lbl {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--jd-muted);
  text-transform: uppercase;
}
.tb-sublbl {
  font-family: var(--font-text);
  font-size: 11px;
  color: var(--jd-muted);
  opacity: 0.65;
  margin-top: 3px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   EREDMÉNYEINK
   ========================================================================== */
.eredmenyek-embed {
  min-height: 200px;
}
.eredmenyek-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-9) var(--s-6);
  background: var(--jd-warm-mid);
  border: 2px dashed var(--jd-border);
  border-radius: var(--r-card);
  text-align: center;
}
.eredmenyek-placeholder-icon { font-size: 40px; }
.eredmenyek-placeholder-text { color: var(--jd-muted); max-width: 48ch; margin: 0; }

/* ==========================================================================
   EREDMÉNYEINK / SIKEREINK
   ========================================================================== */
.eredmenyek-section { background: var(--jd-bg); }

/* Stat strip */
.eredmenyek-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}
@media (min-width: 768px) {
  .eredmenyek-stats { flex-wrap: nowrap; }
}
.eredmenyek-stat {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  flex: 0 1 auto;
}
.eredmenyek-stat-icon { display: flex; align-items: center; flex-shrink: 0; color: var(--jd-ink); }
.eredmenyek-stat-text {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--jd-ink);
  white-space: nowrap;
}

/* Feed grid (placeholder + WP feed wrapper) */
.eredmenyek-feed { margin-bottom: var(--s-6); }
.eredmenyek-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.eredmenyek-feed-card {
  background: #fff;
  border: 2px dashed var(--jd-border);
  border-radius: var(--r-card);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eredmenyek-feed-ph {
  font-size: 12px;
  color: var(--jd-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Valódi FB-poszt kártya (saját Graph API feed, ld. inc/facebook-feed.php) — a placeholder
   szaggatott kerete/középre-igazítása helyett rendes kártya-elrendezés. */
.eredmenyek-feed-card.has-post {
  border: 1px solid var(--jd-border);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  text-align: left;
}
.eredmenyek-post-img { aspect-ratio: 4/3; overflow: hidden; background: var(--jd-warm-mid); }
.eredmenyek-post-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.eredmenyek-post-body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.eredmenyek-post-date { font-size: 12px; color: var(--jd-muted); }
.eredmenyek-post-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--jd-muted-strong);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eredmenyek-post-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--jd-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 150ms;
}
.eredmenyek-post-link::after { content: '→'; }
.eredmenyek-post-link:hover { color: var(--jd-red-dark); gap: 10px; }

/* CTA sor */
.eredmenyek-more {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.eredmenyek-fb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--jd-red);
  transition: gap 150ms;
}
.eredmenyek-fb-link::after { content: '→'; }
.eredmenyek-fb-link:hover { color: var(--jd-red-dark); gap: 10px; }

@media (max-width: 600px) {
  .eredmenyek-feed-grid { grid-template-columns: 1fr; }
  .eredmenyek-stat-text { white-space: normal; }
}

/* ==========================================================================
   STYLE CARDS (Főoldal — Társastánc / Salsation)
   ========================================================================== */
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.style-card {
  position: relative;
  border-radius: 16px;
  padding: 44px 40px 40px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-medium) var(--ease-out),
              box-shadow var(--dur-medium) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.style-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
}
.style-card.tarsastanc {
  background: linear-gradient(140deg, #000 0%, var(--jd-ink) 60%, #2A2520 100%);
  color: #fff;
}
.style-card.tarsastanc::after { background: var(--jd-gold); opacity: .08; }
.style-card.tarsastanc .style-eyebrow { color: var(--jd-gold); }
.style-card.tarsastanc h3 { color: #fff; }
.style-card.tarsastanc h3 em { color: var(--jd-gold); }
.style-card.tarsastanc p { color: rgba(255,255,255,.85); }
.style-card.tarsastanc .style-meta-pill {
  background: rgba(245,195,39,.18);
  color: var(--jd-gold);
  border: 1px solid rgba(245,195,39,.35);
}
.style-card.tarsastanc .btn-primary, .style-card.salsation .btn-primary { background: var(--jd-gold); color: var(--jd-ink); border-color: var(--jd-gold); }
.style-card.tarsastanc .btn-primary:hover { background: #fff; border-color: #fff; }

.style-card.salsation {
  background: linear-gradient(140deg, var(--jd-red-dark) 0%, var(--jd-red) 100%);
  color: #fff;
}
.style-card.salsation::after { background: var(--jd-gold); opacity: .18; }
.style-card.salsation .style-eyebrow { color: var(--jd-gold); }
.style-card.salsation h3 { color: #fff; }
.style-card.salsation h3 em { color: var(--jd-gold); }
.style-card.salsation p { color: rgba(255,255,255,.92); }
.style-card.salsation .style-meta-pill {
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.style-card.salsation .btn-primary:hover { background: #fff; border-color: #fff; color: var(--jd-red); }

.style-eyebrow {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.style-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.style-card h3 em { font-style: normal; }
.style-card p {
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 36ch;
}
.style-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; margin-bottom: 24px; }
.style-meta-pill {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-family: var(--font-text);
  font-weight: 500;
}
.style-card .btn, .egyeb-card .btn { align-self: flex-start; }
.style-link {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 14px;
  color: var(--jd-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 180ms var(--ease-out);
}
.style-link::after { content: '→'; }
.style-link:hover { gap: 12px; color: #fff; }
.tar-teacher .style-link { color: var(--jd-red); }
.tar-teacher .style-link:hover { color: var(--jd-red-dark); }
.sal-about-text .style-link { color: var(--jd-muted); }
.sal-about-text .style-link:hover { color: var(--jd-ink); }
.sal-trainer .style-link { color: var(--jd-red); margin-top: var(--s-4); }
.sal-trainer .style-link:hover { color: var(--jd-red-dark); }
.event-detail-content .style-link { color: var(--jd-red); }
.event-detail-content .style-link:hover { color: var(--jd-red-dark); }

.egyeb-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 28px;
  color: var(--jd-muted);
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}
.egyeb-divider::before,
.egyeb-divider::after { content: ''; flex: 1; height: 1px; background: var(--jd-border); }
.egyeb-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.egyeb-card {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.egyeb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--jd-gold);
  border-radius: 16px 16px 0 0;
}
@media (hover: hover) and (pointer: fine) {
  .egyeb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.egyeb-card-img {
  margin: -36px -32px 20px;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.egyeb-card-img img, .local-video-wrap video, .okt-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.egyeb-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--jd-ink);
}
.egyeb-card p { font-size: 14.5px; color: var(--jd-muted-strong); margin: 0 0 16px; line-height: 1.6; flex: 1; }
@media (min-width: 641px) and (max-width: 1024px) {
  .egyeb-card p { font-size: 15.5px; }
}
.egyeb-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--jd-gold-text);
  text-decoration: none;
  transition: gap 150ms;
  margin-top: auto;
}
.egyeb-cta::after { content: '→'; }
.egyeb-cta:hover { gap: 10px; color: var(--jd-red); }


@media (max-width: 700px) {
  .egyeb-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MEGOSZTOTT KÁRTYA-RÁCS MINTÁK (több oldalon azonos komponens — ne írj újat, ha ide illik)
   ========================================================================== */
.location-grid,
.tar-group-grid,
.tar-teacher-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.tar-dance-grid,
.vt-group-grid,
.esk-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-5);
}

/* ==========================================================================
   LOCATIONS
   ========================================================================== */
.location {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: var(--r-card);
  overflow: hidden;
  padding: 36px;
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  .location:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.location-photo {
  height: 190px;
  margin: -28px -28px 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--jd-warm-mid) 0%, #e8e0d5 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: absolute; inset: 0;
}
.location-photo-ph {
  font-size: 12px;
  color: var(--jd-muted);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.location-photo:not(.no-img) .location-photo-ph { display: none; }
.location-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.location-addr { font-size: 13.5px; color: var(--jd-muted); margin-bottom: 18px; min-height: calc(2 * 1.5 * 13.5px); }
.location-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--jd-border);
  border-bottom: 1px solid var(--jd-border);
}
.location-stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--jd-red);
  font-weight: 800;
}
.location-stat-num.gold { color: var(--jd-gold-text); }
.location-stat-label {
  font-size: 11px;
  color: var(--jd-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}
.location-styles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.location-styles .tag { background: rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.15); color: var(--jd-ink); font-weight: 500; }
.location-cta {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  color: var(--jd-red);
  cursor: pointer;
  margin-top: 16px;
}
.location-cta::after { content: '→'; }
.location-cta:hover { color: var(--jd-red-dark); gap: 10px; }

.location-rental {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--jd-gold-dark);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--jd-ink);
  text-decoration: none;
  transition: background-color 150ms, color 150ms;
}
.location-rental::after { content: '→'; }
.location-rental:hover { background: var(--jd-gold-dark); color: var(--jd-ink); gap: 10px; }

/* ==========================================================================
   PAGE HERO (kompakt belső oldalakhoz)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #1A0608 0%, var(--jd-red-dark) 55%, var(--jd-red) 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
  min-height: 294px;
}
.page-hero .eyebrow { color: var(--jd-gold); margin-bottom: 16px; }

/* Fekete-arany variáns (társastánc galéria) */
.page-hero.page-hero--ink {
  background: linear-gradient(135deg, #0A0A0A 0%, #141414 50%, #1C1409 100%);
}
.page-hero.page-hero--ink .eyebrow { color: var(--jd-gold); }
.page-hero.page-hero--ink h1 em    { color: var(--jd-gold); }

/* Fotós hero variánsok */
.page-hero.page-hero--oktatoink {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-oktatoink.webp') center / cover no-repeat;
  background-position: 0% 0%, center 11%;
}
.page-hero.page-hero--galeria {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-galeria.webp') center / cover no-repeat;
}
.page-hero.page-hero--galeria.is-cat-helyszin {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-galeria-helyszin.webp') center / cover no-repeat;
}
.page-hero.page-hero--galeria.is-cat-tarsastanc {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-galeria-tarsastanc.webp') center / cover no-repeat;
  background-position: 0% 0%, center top;
}
.page-hero.page-hero--galeria.is-cat-verseny {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-galeria-versenytanc.webp') center / cover no-repeat;
  background-position: 0% 0%, center top;
}
.page-hero.page-hero--galeria.is-cat-salsation {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-galeria-salsation.webp') center / cover no-repeat;
}
.page-hero.page-hero--galeria-salsation {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-galeria-salsation.webp') center / cover no-repeat;
}
.page-hero.page-hero--galeria-tarsastanc {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-galeria-tarsastanc.webp') center / cover no-repeat;
  background-position: 0% 0%, center top;
}
.page-hero.page-hero--galeria-versenytanc {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-galeria-versenytanc.webp') center / cover no-repeat;
  background-position: 0% 0%, center top;
}
/* Egyetlen kép, cover, külön mobil-verzió/pozíció-trükk nélkül — ugyanaz az egyszerű minta, mint az
   esemenyek-banner-nél (hero-esemenyek.webp), ami bevált: a kép maga eleve sötét/hangulatos, nincs éles
   perem a táncospár és a háttér közt, ezért a cover-vágás minden méreten jól néz ki (2026-10-24). */
.page-hero.page-hero--kapcsolat {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-kapcsolat.webp') center / cover no-repeat;
}
@media (max-width: 700px) {
  /* Mobilon külön, középre komponált, lábnál levágott kép (bevált, 2026-10-24 "most jó") — a desktop
     jobbra-komponált verziója itt, keskeny dobozban rossz pozícióba vágná a párost. */
  .page-hero.page-hero--kapcsolat {
    background-image:
      linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
      url('../images/hero-kapcsolat-mobile.webp');
    background-position: 0% 0%, 68% 50%;
  }
}
.page-hero.page-hero--helyszin-bp17 {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-helyszin-bp17.webp') center / cover no-repeat;
}
.page-hero.page-hero--helyszin-gyomro {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-helyszin-gyomro.webp') center / cover no-repeat;
  background-position: 0% 0%, center 29%;
}
.page-hero.page-hero--helyszin-cegled {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-helyszin-cegled.webp') center / cover no-repeat;
}
.page-hero.page-hero--teremberles {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-teremberles.webp') center / cover no-repeat;
}
.page-hero.page-hero--jogi {
  background:
    linear-gradient(rgba(20,3,5,.68) 0%, rgba(8,0,0,.52) 100%),
    url('../images/hero-jogi.webp') center / cover no-repeat;
}
.esemenyek-banner.esemenyek-banner--photo {
  background:
    linear-gradient(rgba(15,2,4,.72) 0%, rgba(8,0,0,.56) 100%),
    url('../images/hero-esemenyek.webp') center / cover no-repeat;
  color: #fff;
  padding: 64px 0 72px;
  min-height: 294px;
}
.esemenyek-banner.esemenyek-banner--photo .eyebrow  { color: var(--jd-gold); }
.esemenyek-banner.esemenyek-banner--photo .section-title { color: #fff; }
.esemenyek-banner.esemenyek-banner--photo .section-lead  { color: rgba(255,255,255,.82); }
.esemenyek-banner.esemenyek-banner--photo .section-head { margin-bottom: 0; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}
.page-hero h1 em { font-style: normal; color: var(--jd-gold); font-weight: 800; }
.page-hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0;
}

/* ==========================================================================
   KAPCSOLAT
   ========================================================================== */
.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

/* Info blokk */
.contact-info-group { margin-bottom: 36px; }
.contact-info-group-title {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jd-muted);
  margin-bottom: 18px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-info-icon, .cookie-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--jd-red-pale);
  color: var(--jd-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon--gold { background: var(--jd-gold-pale); color: var(--jd-gold-text); }
.contact-info-icon--muted { background: var(--jd-warm-mid); color: var(--jd-muted); }
.contact-info-text { padding-top: 9px; }
.contact-info-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jd-muted);
  margin-bottom: 3px;
}
.contact-info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--jd-ink);
  line-height: 1.5;
}
.contact-info-value a { color: var(--jd-ink); }
.contact-info-value a:hover { color: var(--jd-red); }

/* Social */
.contact-social { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1.5px solid var(--jd-border);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--jd-ink);
  text-decoration: none;
  transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.contact-social-link:hover {
  border-color: var(--jd-red);
  color: var(--jd-red);
  background: var(--jd-red-pale);
}

/* Form kártya */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: var(--r-card);
  padding: 52px;
  box-shadow: var(--shadow-2);
}
.contact-form-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--jd-ink);
}
.field-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.field-label-row .label { margin-bottom: 0; }
.field:has(input[required]) .label::after,
.field:has(select[required]) .label::after,
.field:has(textarea[required]) .label::after,
.gdpr input[required] ~ span::after { content: "\00a0*"; color: var(--jd-red); font-weight: 700; }
.form-required-note { font-size: 13px; font-weight: 600; color: var(--jd-muted-strong); margin-bottom: var(--s-4); text-align: right; }
.form-required-note span { color: var(--jd-red); font-weight: 700; }
.field-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--jd-gold-pale);
  color: var(--jd-gold-text);
  font-family: var(--font-text);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(212,160,16,.25);
}
.field-hint {
  font-size: 12px;
  color: var(--jd-muted);
  margin: 4px 0 0;
  line-height: 1.45;
}
.contact-form-card .form-sub {
  font-size: 13.5px;
  color: var(--jd-muted);
  margin-bottom: 28px;
}
.contact-form-card .field { margin-bottom: 20px; }
.contact-form-card .textarea { resize: none; min-height: 120px; }

/* Térkép — 3 helyszín kártyák */
.contact-maps { background: var(--jd-warm-mid); padding: 80px 0; border-top: 1px solid var(--jd-border); }
.contact-maps .section-title { margin-bottom: var(--s-7); }
.contact-map-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.contact-map-card { background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-1); }
.contact-map-embed { height: 220px; }
.contact-map-embed iframe, .local-video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-map-card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.contact-map-card-address { font-size: 15px; color: var(--jd-ink); line-height: 1.5; padding-bottom: 10px; }
.contact-map-card-address small { display: block; font-size: 12px; color: var(--jd-muted); margin-top: 2px; }
.contact-form-card .submit { width: 100%; justify-content: center; margin-top: 12px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map-cards { grid-template-columns: 1fr; }
  .contact-form-card { padding: 36px 24px; }
}

/* ==========================================================================
   ESEMÉNY FORM OLDAL
   ========================================================================== */
.event-form-section {
  padding: 64px 0 80px;
  background: var(--jd-bg);
}
.event-form-container {
  max-width: 640px;
}
.event-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--jd-gold-pale);
  border: 1px solid rgba(212,160,16,.25);
  color: var(--jd-gold-text);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.event-form-card { margin-bottom: 24px; }
/* Tábor típus toggle */
.tabor-toggle-group { border: none; padding: 0; margin: 0 0 24px; }
.tabor-toggle-legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--jd-ink);
  margin-bottom: 12px;
  display: block;
}
.tabor-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tabor-toggle-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--jd-border);
  border-radius: var(--r-card);
  cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
  background: #fff;
}
.tabor-toggle-option:has(input:checked) {
  border-color: var(--jd-red);
  background: var(--jd-red-pale);
}
.tabor-toggle-option input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--jd-red);
  flex-shrink: 0;
}
.tabor-toggle-icon { font-size: 22px; line-height: 1; }
.tabor-toggle-option strong { display: block; font-size: 13.5px; color: var(--jd-ink); }
.tabor-toggle-option small { display: block; font-size: 11.5px; color: var(--jd-muted); margin-top: 1px; }
.tabor-toggle-option:has(input:checked) strong { color: var(--jd-red-dark); }

.tabor-child-fields { transition: opacity var(--dur-short) var(--ease-out); }
.tabor-child-fields.hidden { display: none; }

/* Jelentkezési feltételek blokk */
.tabor-terms {
  background: var(--jd-warm-mid);
  border-left: 3px solid var(--jd-gold);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  padding: 16px 18px;
  margin: 20px 0 20px;
}
.tabor-terms-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jd-gold-dark);
  margin-bottom: 10px;
}
.tabor-terms-list, .tar-dance-list, .vt-group ul, .esk-service ul, .esk-price ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tabor-terms-list li {
  font-size: 13px;
  color: var(--jd-ink);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.tabor-terms-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--jd-gold-dark);
  font-weight: 700;
}
.tabor-terms-list a { color: var(--jd-red); }

/* Árak a feltételek blokkban */
.tabor-pricing {
  border: 1px solid var(--jd-border);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
}
.tabor-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--jd-border);
}
.tabor-price-row:last-child { border-bottom: none; }
.tabor-price-early { background: var(--jd-gold-pale); }
.tabor-price-label { display: flex; align-items: center; gap: 8px; color: var(--jd-ink); }
.tabor-price-badge {
  background: var(--jd-gold);
  color: var(--jd-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-pill);
}
.tabor-price-amount {
  font-weight: 700;
  color: var(--jd-ink);
}
.tabor-price-deadline {
  font-size: 11px;
  font-weight: 600;
  color: var(--jd-gold-text);
  background: rgba(212,160,16,.15);
  padding: 1px 7px;
  border-radius: var(--r-pill);
}
.tabor-price-amount em {
  font-style: normal;
  color: var(--jd-muted);
  font-weight: 400;
  font-size: 12px;
}

.tabor-form-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jd-muted);
  margin: 22px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--jd-border);
}
.tabor-form-section-label:first-child { margin-top: 0; }
.label-optional {
  font-weight: 400;
  color: var(--jd-muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.ef-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--jd-muted);
  text-decoration: none;
  transition: color var(--dur-short) var(--ease-out);
}
.ef-back-link:hover { color: var(--jd-red); }

/* ==========================================================================
   SCHEDULE
   ========================================================================== */
.schedule-card {
  background: #fff;
  border: 3px solid var(--jd-border);
  border-radius: 16px;
  padding: 32px;
}
.schedule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-end;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--jd-border);
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group + .filter-group {
  padding-left: 22px;
  border-left: 1px solid var(--jd-border);
}
@media (max-width: 860px) {
  .schedule-filters { flex-direction: column; align-items: stretch; gap: 18px; }
  .filter-group + .filter-group {
    padding-left: 0;
    border-left: none;
    padding-top: 18px;
    border-top: 1px solid var(--jd-border);
  }
  .filter-pills { flex-wrap: wrap; gap: 5px; }
  .filter-pill {
    padding: 11px 8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 calc(50% - 3px);
    font-size: 12.5px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    background: transparent;
    border-color: var(--jd-border);
  }
  .filter-pill.active { font-weight: 600; }
  .filter-pills--style { flex-wrap: wrap; }
  .filter-pills--style .filter-pill { flex: 1 1 calc(50% - 3px); }
}
.filter-label {
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jd-muted);
  font-weight: 700;
}
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill {
  padding: 10px 11px;
  border-radius: var(--r-pill);
  background: #F3EDE4;
  border: 1px solid transparent;
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 120ms var(--ease-out), color 120ms var(--ease-out), border-color 120ms var(--ease-out);
  color: var(--jd-ink);
}
.filter-pill:hover { background: var(--jd-bg); border-color: var(--jd-border); }
.filter-pill[data-value="tarsastanc"]:hover { background: var(--jd-gold-dark); color: #fff; border-color: var(--jd-gold-dark); }
.filter-pill[data-value="salsation"]:hover { background: var(--jd-red); color: #fff; border-color: var(--jd-red); }
.filter-pill[data-value="versenyzo"]:hover { background: var(--jd-ink); color: #fff; border-color: var(--jd-ink); }
.filter-pill.active { background: var(--jd-ink); color: #fff; }
.filter-pill.active.red { background: var(--jd-red); }
.filter-pill.active.gold { background: var(--jd-gold-dark); color: #fff; }

.schedule-scroll { overflow-x: auto; }

/* Desktop: nap-oszlopos rács */
.schedule-days {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  min-width: 580px;
}
.schedule-day {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 10px;
  border-right: 1px solid var(--jd-border);
}
.schedule-day:last-child { border-right: none; }
.schedule-day.day-hidden { display: none; }
.schedule-day-label {
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 9px 4px;
  border-radius: 10px;
  background: var(--jd-bg);
  border: 1px solid var(--jd-border);
  color: var(--jd-ink);
  margin-bottom: 2px;
}
.schedule-day-label.today { color: var(--jd-red); border-color: var(--jd-red); }

.schedule-event-card {
  border: 1px solid var(--jd-border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .schedule-event-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
}
.schedule-event-card.hidden { display: none; }
.schedule-event-card.schedule-double-start,
.schedule-agenda-row.schedule-double-start {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
  margin-bottom: -10px;
}
.schedule-event-card.schedule-double-end,
.schedule-agenda-row.schedule-double-end {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 1px dashed var(--jd-border);
}
.schedule-event-time {
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--jd-ink);
  font-variant-numeric: tabular-nums;
}
.schedule-event-name { font-weight: 700; font-size: 14px; line-height: 1.25; margin-top: 2px; }
.schedule-event-meta { font-size: 12.5px; color: var(--jd-ink); opacity: .72; margin-top: 1px; }
.schedule-event-card.tarsastanc .schedule-event-name { color: var(--jd-gold-text); }
.schedule-event-card.salsation .schedule-event-name { color: var(--jd-red); }
.schedule-event-card.versenyzo .schedule-event-name { color: #3A3A3A; }

/* Mobil: nap-fülek + lista */
.schedule-mobile-hint { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--jd-muted); margin-bottom: 8px; }
.schedule-legend { font-size: 15px; font-weight: 600; color: var(--jd-ink); margin: 20px 0 0; text-align: left; }
.schedule-daytabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.schedule-daytab {
  padding: 0 4px;
  width: 46px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: #F3EDE4;
  border: 1px solid transparent;
  font-family: var(--font-text);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--jd-ink);
  transition: background-color 120ms var(--ease-out), color 120ms var(--ease-out);
}
.schedule-daytab:hover { background: var(--jd-bg); }
.schedule-daytab.active { background: var(--jd-ink); color: #fff; }
.schedule-daytab.today:not(.active) { color: var(--jd-red); }
.schedule-daytab .full { display: none; }
.schedule-daytab .abbr { display: inline; }
@media (min-width: 480px) {
  .schedule-daytab { width: auto; padding: 0 20px; }
  .schedule-daytab .full { display: inline; }
  .schedule-daytab .abbr { display: none; }
}

.schedule-day-list { display: none; flex-direction: column; gap: 10px; }
.schedule-day-list.active { display: flex; }

.schedule-agenda-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
}
.schedule-agenda-row.hidden { display: none; }
.schedule-agenda-time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--jd-ink);
  font-variant-numeric: tabular-nums;
}
.schedule-agenda-name { font-weight: 700; font-size: 15.5px; margin-bottom: 2px; }
.schedule-agenda-meta { font-size: 13.5px; color: var(--jd-ink); opacity: .72; }
.schedule-agenda-row.tarsastanc .schedule-agenda-name { color: var(--jd-gold-text); }
.schedule-agenda-row.salsation .schedule-agenda-name { color: var(--jd-red); }
.schedule-agenda-row.versenyzo .schedule-agenda-name { color: #3A3A3A; }

.schedule-day-empty { text-align: center; color: var(--jd-muted); font-size: 13.5px; padding: 24px 0; display: none; }
.schedule-day-empty.visible { display: block; }

@media (min-width: 768px) {
  .schedule-days { display: grid; }
  .schedule-mobile { display: none; }
}

.schedule-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--jd-muted);
  display: none;
}
.schedule-empty.visible { display: block; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-carousel { position: relative; }
.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--jd-border);
  background: #fff;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--jd-ink);
  transition: box-shadow .2s, background .2s;
  line-height: 1;
}
@media (hover: hover) and (pointer: fine) {
  .testi-arrow:hover { box-shadow: var(--shadow-2); background: var(--jd-warm-mid); }
}
.testi-prev { left: -20px; }
.testi-next { right: -20px; }
.testi-progress {
  height: 3px;
  background: var(--jd-warm-mid);
  border-radius: 100px;
  margin-top: 20px;
  overflow: hidden;
}
.testi-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--jd-border);
  border-radius: 100px;
  transition: width 100ms linear;
}
.testimonials {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  cursor: grab;
  scrollbar-width: none;
}
.testimonials:active { cursor: grabbing; }
.testimonials::-webkit-scrollbar { display: none; }
.testi {
  flex: 0 0 clamp(260px, 29vw, 330px);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: var(--r-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.testi .stars { color: var(--jd-gold-dark); margin-bottom: 12px; font-size: 16px; letter-spacing: 2px; }
.testi q {
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--jd-ink);
  display: block;
  flex: 1;
  margin-bottom: 16px;
  quotes: '„' '"';
}
.testi q::before { content: open-quote; }
.testi q::after  { content: close-quote; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jd-red), var(--jd-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.testi-name { font-size: 13.5px; font-weight: 700; }
.testi-meta { font-size: 12px; color: var(--jd-muted); }

/* ==========================================================================
   TRIAL FORM SECTION
   ========================================================================== */
.trial-section {
  background: linear-gradient(135deg, var(--jd-red-dark) 0%, var(--jd-red) 60%, #A01018 100%);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.trial-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: var(--jd-gold);
  opacity: .22;
  filter: blur(40px);
}
.trial-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.trial-grid h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 50px;
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.trial-grid h2 em { font-style: normal; color: var(--jd-gold); }
.trial-grid > div > p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.95);
  max-width: 44ch;
  margin: 0 0 24px;
}
.eyebrow--gold { color: var(--jd-gold); margin-bottom: 18px; }
.trial-bullets {
  padding: 0;
  margin: 28px 0 var(--s-7);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trial-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}
.trial-bullets li::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--jd-gold);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%234A4A4A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}
.trial-form-card {
  background: #fff;
  color: var(--jd-ink);
  border-radius: 16px;
  padding: 44px;
  box-shadow: var(--shadow-3);
  position: relative;
  z-index: 1;
}
.trial-form-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  margin: var(--s-2) 0 22px;
}
.trial-form-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--jd-ink);
}
.trial-form-card .trial-form-title { margin-bottom: var(--s-5); }
.trial-form-head .form-required-note { margin: 0; white-space: nowrap; }
.trial-form-head .form-sub { margin: 0; }
.trial-form-card .form-sub { color: var(--jd-muted); font-size: 13.5px; margin: 0 0 22px; }
@media (max-width: 480px) {
  .trial-form-card .trial-form-title { margin-bottom: var(--s-3); }
  .trial-form-head { margin-top: 0; }
}
.trial-form-card .field { margin-bottom: 18px; }
.trial-form-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trial-form-card .gdpr,
.contact-form-card .gdpr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--jd-muted);
  margin: 12px 0 18px;
  line-height: 1.5;
}
.trial-form-card .gdpr { font-size: 12px; }
.contact-form-card .gdpr { font-size: 13px; }
.trial-form-card .gdpr a,
.contact-form-card .gdpr a { color: var(--jd-red); }
.gdpr a { text-decoration: underline; text-underline-offset: 2px; }
.trial-form-card .gdpr input,
.contact-form-card .gdpr input { margin-top: 2px; flex-shrink: 0; }
/* GDPR hibástátusz */
.gdpr--error {
  background: var(--jd-red-pale);
  border-left: 3px solid var(--jd-red);
  border-radius: 0 6px 6px 0;
  padding: 8px 12px 8px 14px;
  margin-left: -14px;
  animation: gdpr-shake 380ms var(--ease-out);
}
@keyframes gdpr-shake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(5px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}
.gdpr-error {
  font-size: 12.5px;
  color: var(--jd-red);
  font-weight: 600;
  margin: 6px 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  animation: gdpr-fadein 200ms ease;
}
@keyframes gdpr-fadein {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.trial-form-card .submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
}
.submit.is-success { background: var(--jd-success); color: #fff; }
.event-form .submit,
.tabor-form .submit { width: 100%; justify-content: center; margin-top: 8px; }

/* ==========================================================================
   VIDEO SECTION
   ========================================================================== */
.videosec {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(60,20,30,.25);
  background: var(--jd-ink);
}
.videosec-poster {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-tarsastanc-oldal.webp'); /* valós JoyDance-felvétel, amíg nincs saját videó-poszter */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.videosec-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%),
    radial-gradient(circle at center, rgba(232,34,42,.18) 0%, transparent 60%);
  z-index: 1;
}
.videosec-play {
  position: relative;
  z-index: 2;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--jd-red);
  color: #fff;
  border: 4px solid var(--jd-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  box-shadow: 0 12px 36px rgba(232,34,42,.45);
  transition: transform var(--dur-short) var(--ease-out);
  animation: pulse-play 2.4s ease-in-out infinite;
}
.videosec-play svg { width: 36px; height: 36px; fill: #fff; }
@media (hover: hover) and (pointer: fine) {
  .videosec-play:hover { transform: scale(1.08); background: var(--jd-red-dark); animation-play-state: paused; }
}
@keyframes pulse-play {
  0%,100% { box-shadow: 0 12px 36px rgba(232,34,42,.45), 0 0 0 0 rgba(245,195,39,.55); }
  50%      { box-shadow: 0 12px 36px rgba(232,34,42,.45), 0 0 0 18px rgba(245,195,39,0); }
}
.videosec-corner {
  position: absolute;
  z-index: 2;
  left: 32px; bottom: 28px;
  color: #fff;
}
.videosec-corner-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--jd-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.videosec-corner-lbl {
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.videosec-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}
.videosec.playing .videosec-poster { display: none; }
.videosec.playing .videosec-iframe { display: block; }
/* "Hamarosan" réteg, amíg nincs feltöltött videó (2026-10-24) — ld. template-parts/section-video.php,
   page-tarsastanc.php, page-joya-dance-fitness.php. A meglévő posztert/háttérfotót nem takarja el
   teljesen, csak elsötétíti, hogy ne tűnjön máris lejátszhatónak. */
.videosec-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.8) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}
.videosec-soon-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--jd-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--jd-gold);
  border-radius: var(--r-pill);
  padding: 10px 28px;
}
.videosec-soon-text {
  color: rgba(255,255,255,.9);
  font-size: 15px;
  line-height: 1.5;
  max-width: 420px;
  margin: 0;
}
/* A helyi MP4-es videó-dobozoknak (tarsastanc/Joya) nincs saját poszter-UI-juk, mint a főoldalinak —
   itt egy meglévő valós fotót adunk háttérnek a "Hamarosan" réteg alá. */
.videosec-soon-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(60,20,30,.25);
  background-size: cover;
  background-position: center;
}

/* Local MP4 video player */
.local-video-wrap {
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  background: #000;
  aspect-ratio: 16 / 9;
}
.sal-oktato-video-lead {
  margin-top: var(--s-7);
  margin-bottom: var(--s-4);
  font-size: 16px;
  color: var(--jd-ink);
  font-weight: 600;
}

/* ==========================================================================
   TÁRSASTÁNC ALOLDAL
   ========================================================================== */

/* Hero */
/* Nagy fotós hero-k (tar/vt/sal) közös alapja — ha csak EGY hero-t kell módosítani (háttérkép, pozíció, padding, isolation), NE itt keresd: azok a saját .tar-hero/.vt-hero/.sal-hero blokkjukban vannak lejjebb, ez a szabály csak a ma mindháromban azonos tulajdonságokat fogja össze. */
.tar-hero, .vt-hero, .sal-hero {
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 788px;
}
.tar-hero {
  background-image: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(10,10,10,.58) 60%, rgba(20,16,8,.48) 100%), url('../images/hero-tarsastanc-oldal.webp');
  background-position: center, center;
  padding: 97px 0 105px;
  isolation: isolate;
}
@media (max-width: 700px) {
  /* Dedikált, AI-val álló formátumra kiegészített (outpainted) mobil-kép — a fekvő desktop-fotó
     mobilon, magas dobozban felismerhetetlenségig zoomolt volna rá (2026-10-24). */
  .tar-hero {
    background-image: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(10,10,10,.58) 60%, rgba(20,16,8,.48) 100%), url('../images/hero-tarsastanc-oldal-mobile.webp');
    background-position: center, center;
  }
}
.tar-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -240px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: var(--jd-gold);
  opacity: .18;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.tar-hero::after {
  content: '';
  position: absolute;
  bottom: -260px; left: -180px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: var(--jd-gold-dark);
  opacity: .10;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}
.tar-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 74px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: #fff;
}
.tar-hero-ctas, .vt-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

/* Csoportok */
/* .tar-group-grid rács: ld. "MEGOSZTOTT KÁRTYA-RÁCS MINTÁK" a LOCATIONS előtt */
.tar-group {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tar-group:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.tar-group.featured {
  background: linear-gradient(140deg, var(--jd-ink) 0%, #2A2520 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-3);
}
.tar-group.featured::after {
  content: 'Legnépszerűbb';
  position: absolute;
  top: -12px; right: 18px;
  background: var(--jd-gold);
  color: var(--jd-ink);
  padding: 4px 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  font-family: var(--font-text);
}
.tar-group-age {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--jd-red);
  margin-bottom: 8px;
}
.tar-group.featured .tar-group-age { color: var(--jd-gold); }
.tar-group.gold .tar-group-age { color: var(--jd-gold-text); }
.tar-group h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  color: var(--jd-ink);
}
.tar-group.featured h3 { color: #fff; }
.tar-group-level { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.level-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jd-border); }
.level-dot.on { background: var(--jd-red); }
.tar-group.featured .level-dot { background: rgba(255,255,255,.2); }
.tar-group.featured .level-dot.on { background: var(--jd-gold); }
.tar-group.gold .level-dot.on { background: var(--jd-gold-dark); }
.tar-group-level-label {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-muted);
  margin-left: 6px;
}
.tar-group.featured .tar-group-level-label { color: rgba(255,255,255,.7); }
.tar-group p { font-size: 14.5px; line-height: 1.6; color: var(--jd-muted-strong); margin: 0 0 18px; }
@media (min-width: 641px) and (max-width: 1024px) {
  .tar-group p { font-size: 15.5px; }
}
.tar-group.featured p { color: rgba(255,255,255,.82); }
.tar-group-bullets { padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 6px; }
.tar-group-bullets li {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  color: var(--jd-ink);
  padding-left: 16px;
  position: relative;
}
.tar-group-bullets li::before { content: '✓'; position: absolute; left: 0; top: 1px; font-size: 12px; font-weight: 700; color: var(--jd-red); }
.tar-group.featured .tar-group-bullets li { color: rgba(255,255,255,.9); }
.tar-group.featured .tar-group-bullets li::before { color: var(--jd-gold); }
.tar-group.gold .tar-group-bullets li::before { color: var(--jd-gold-dark); }
.tar-group-cta {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 700;
  color: var(--jd-red);
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}
.tar-group-cta::after { content: '→'; }
.tar-group-cta:hover { color: var(--jd-red-dark); gap: 10px; }
.tar-group.featured .tar-group-cta { color: var(--jd-gold); }
.tar-group.gold .tar-group-cta { color: var(--jd-gold-text); }

/* Táncfajták */
/* .tar-dance-grid rács: ld. "MEGOSZTOTT KÁRTYA-RÁCS MINTÁK" a LOCATIONS előtt */
.tar-dance-col {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(245,195,39,.22);
  border-radius: var(--r-card);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  color: #fff;
  transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tar-dance-col:hover { box-shadow: 0 8px 32px rgba(0,0,0,.45); transform: translateY(-4px); }
}
.tar-dance-col-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tar-dance-col-num {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(245,195,39,.15);
  color: var(--jd-gold);
  width: fit-content;
}
.tar-dance-col h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 0; color: var(--jd-gold); }
.tar-dance-col p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.68); margin: 0; }
.tar-dance-list li {
  font-size: 13.5px;
  color: rgba(255,255,255,.82);
  padding-left: 16px;
  position: relative;
}
.tar-dance-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; font-size: 12px; color: var(--jd-gold); font-weight: 700; }
.dance-bullet { display: none; }

/* Tanárok */
/* .tar-teacher-grid rács: ld. "MEGOSZTOTT KÁRTYA-RÁCS MINTÁK" a LOCATIONS előtt */
.tar-teacher {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: 16px;
  padding: 36px;
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tar-teacher:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.tar-teacher-photo {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(140deg, var(--jd-ink) 0%, #2A2520 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--jd-gold);
  overflow: hidden;
}
.tar-teacher-photo picture { display: contents; } /* a <picture> wrapper ne törje meg az img width/height:100%-ot (ua. mint .okt-photo-wrap) */
.tar-teacher-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.tar-teacher-photo .ph-initial { font-family: var(--font-display); font-weight: 900; font-size: 48px; letter-spacing: -0.02em; }
.tar-teacher-photo .ph-label { font-family: var(--font-text); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,195,39,.55); margin-top: 8px; }
.tar-teacher-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: var(--jd-ink); margin-bottom: 4px; }
.tar-teacher-role { font-family: var(--font-text); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--jd-gold-text); margin-bottom: 14px; }
.tar-teacher-role + .tar-teacher-role { margin-top: -12px; }
.tar-teacher p { font-size: 14px; line-height: 1.6; color: var(--jd-muted); margin: 0; }

/* Helyszínek */
.tar-loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tar-loc {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: 14px;
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.tar-loc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  color: var(--jd-red);
  text-decoration: none;
}
.tar-loc-cta::after { content: '→'; }
.tar-loc-cta:hover { color: var(--jd-red-dark); gap: 10px; }
.tar-loc.primary .tar-loc-cta { color: var(--jd-gold); }
.tar-loc.primary .tar-loc-cta:hover { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .tar-loc:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.tar-loc.primary {
  background: linear-gradient(140deg, var(--jd-ink) 0%, #2A2520 100%);
  color: #fff;
  border-color: transparent;
}
.tar-loc-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--jd-gold);
  color: var(--jd-ink);
  padding: 4px 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  font-family: var(--font-text);
  margin-bottom: 16px;
}
.tar-loc h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 4px; color: var(--jd-ink); }
.tar-loc.primary h3 { color: #fff; }
.tar-loc .addr { font-family: var(--font-text); font-size: 13px; color: var(--jd-muted); margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--jd-border); }
.tar-loc.primary .addr { color: rgba(255,255,255,.6); border-color: rgba(245,195,39,.2); }
.tar-loc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tar-loc ul li { font-family: var(--font-text); font-size: 14px; color: var(--jd-ink); padding-left: 18px; position: relative; line-height: 1.5; }
.tar-loc ul li::before { content: '✓'; position: absolute; left: 0; top: 2px; font-size: 12px; color: var(--jd-red); font-weight: 700; }
.tar-loc.primary ul li { color: rgba(255,255,255,.92); }
.tar-loc.primary ul li::before { color: var(--jd-gold); }
.tar-loc ul li.muted { color: var(--jd-muted); font-style: italic; }
.tar-loc ul li.muted::before { content: '·'; color: var(--jd-muted); }

/* GYIK — Társastánc */
.tar-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.tar-faq-item { background: #fff; border: 1px solid var(--jd-border); border-radius: 12px; overflow: hidden; transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.tar-faq-item.open { border-color: var(--jd-gold); box-shadow: var(--shadow-1); }
.tar-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--jd-ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.tar-faq-q:hover { color: var(--jd-red); }
.tar-faq-icon { font-family: var(--font-text); font-size: 26px; font-weight: 300; color: var(--jd-gold-dark); margin-left: 18px; flex-shrink: 0; transition: transform 200ms var(--ease-out); }
.tar-faq-item.open .tar-faq-icon { color: var(--jd-red); }
.tar-faq-a { padding: 0 24px 24px; font-size: 15.5px; line-height: 1.7; color: var(--jd-muted); max-width: 70ch; display: none; }
.tar-faq-item.open .tar-faq-a { display: block; }

/* ==========================================================================
   SALSATION ALOLDAL
   ========================================================================== */

/* Hero */
.sal-hero {
  background-image: linear-gradient(135deg, rgba(42,8,8,.84) 0%, rgba(192,24,32,.72) 45%, rgba(232,34,42,.6) 100%), url('../images/hero-salsation-oldal.webp');
  background-position: center, center;
  padding: 110px 0 120px;
}
@media (max-width: 700px) {
  /* Dedikált, AI-val álló formátumra kiegészített (outpainted) mobil-kép — a fekvő desktop-fotó
     mobilon, magas dobozban felismerhetetlenségig zoomolt volna rá (2026-10-24). */
  .sal-hero {
    background-image: linear-gradient(135deg, rgba(42,8,8,.84) 0%, rgba(192,24,32,.72) 45%, rgba(232,34,42,.6) 100%), url('../images/hero-salsation-oldal-mobile.webp');
    background-position: center, center;
  }
}
.sal-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -200px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: var(--jd-gold);
  opacity: .22;
  filter: blur(80px);
  pointer-events: none;
}
.sal-hero::after {
  content: '';
  position: absolute;
  bottom: -240px; left: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: #FFB800;
  opacity: .14;
  filter: blur(100px);
  pointer-events: none;
}
.sal-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 74px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: #fff;
}
.sal-hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }
.sal-hero-logo {
  position: absolute;
  top: 48px;
  right: 40px;
  height: 96px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
  z-index: 2;
}

/* Egy óra anatómiája szekció: section-lead kissé halványabb mint az általános .section.dark szabály */
#egy-ora .section-lead { color: rgba(255,255,255,.75); }

/* Mi az? — hosszabb leíró szöveg a pont-kártyák felett */
#mi-az .section-head { margin-bottom: 16px; }
#mi-az .section-lead { color: var(--jd-ink); }
.sal-about-text { max-width: 68ch; margin-bottom: 48px; }
.sal-about-text p {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.7;
  color: var(--jd-ink);
  margin: 0 0 16px;
}
.sal-about-text strong { color: var(--jd-red); }
.sal-about-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--jd-ink);
  margin: 32px 0 12px;
}

/* Mi az? — Pontok */
.sal-points { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.sal-point {
  background: linear-gradient(135deg, var(--jd-red) 0%, var(--jd-red-dark) 100%);
  border-radius: 20px;
  padding: 32px 26px 30px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
@media (hover: hover) and (pointer: fine) {
  .sal-point:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(195,24,31,.25); }
}
.sal-point h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0 0 10px; color: var(--jd-gold); }
.sal-point p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.85); margin: 0; }

/* Egy óra menete */
.sal-timeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.sal-phase {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 26px 22px 28px;
  transition: background-color .2s, border-color .2s;
}
.sal-phase:hover { background: rgba(255,255,255,.07); border-color: var(--jd-gold); }
.sal-phase-time { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--jd-gold); margin-bottom: 4px; }
.sal-phase-time span { font-family: var(--font-text); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; color: rgba(255,255,255,.55); text-transform: uppercase; margin-left: 4px; }
.sal-phase-bar { height: 6px; background: rgba(255,255,255,.08); border-radius: var(--r-pill); margin: 16px 0 18px; overflow: hidden; }
.sal-phase-fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--jd-gold) 0%, var(--jd-red) 100%); }
.sal-phase.heart-low  .sal-phase-fill { width: 30%; }
.sal-phase.heart-mid  .sal-phase-fill { width: 65%; }
.sal-phase.heart-high .sal-phase-fill { width: 100%; }
.sal-phase h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.2; margin: 0 0 8px; color: #fff; }
.sal-phase p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72); margin: 0; }

/* Oktató */
.sal-trainer { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.sal-trainer-photo {
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--jd-red) 0%, var(--jd-red-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--jd-gold);
  position: relative;
  overflow: hidden;
}
.sal-trainer-photo picture { display: contents; } /* a <picture> wrapper ne törje meg az img width/height:100%-ot (ua. mint .okt-photo-wrap) */
.sal-trainer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.sal-trainer-photo .ph-initial { font-family: var(--font-display); font-weight: 900; font-size: 92px; letter-spacing: -0.02em; color: var(--jd-gold); position: relative; z-index: 1; }
.sal-trainer-photo .ph-label { font-family: var(--font-text); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 16px; position: relative; z-index: 1; }
.sal-trainer-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.01em; margin: 0 0 18px; color: var(--jd-ink); }
.sal-trainer-body p { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--jd-ink); margin: 0 0 20px; max-width: 620px; }
@media (min-width: 901px) {
  .sal-trainer-body p { font-size: 19px; }
}
.sal-trainer-body .sal-trainer-meta { font-family: var(--font-text); font-style: normal; font-size: 15px; color: var(--jd-muted); padding-top: 20px; border-top: 1px solid var(--jd-border); }
.sal-trainer-body .sal-trainer-meta p { font-family: var(--font-text); font-style: normal; font-size: 15px; color: var(--jd-muted); margin: 0 0 8px; max-width: none; }

/* Salsation Órarend */
.sal-schedule { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.sal-slot {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: 18px;
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
@media (hover: hover) and (pointer: fine) {
  .sal-slot:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
}
.sal-slot.hot { border-color: var(--jd-gold); background: linear-gradient(180deg, #FFFBF2 0%, #fff 60%); }
.sal-slot.full { opacity: .7; }
.sal-slot-day { font-family: var(--font-text); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jd-red); }
.sal-slot-time { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; color: var(--jd-ink); }
.sal-slot-meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px dashed var(--jd-border); border-bottom: 1px dashed var(--jd-border); }
.sal-slot-loc { font-family: var(--font-text); font-weight: 600; font-size: 14px; color: var(--jd-ink); }
.sal-slot-dur { font-family: var(--font-text); font-size: 12px; color: var(--jd-muted); }
.sal-slot-spots { font-family: var(--font-text); font-weight: 600; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--jd-muted); }
.sal-slot-spots.hot { color: var(--jd-gold-text); }
.sal-slot-spots.full { color: var(--jd-red-dark); }
.sal-slot-cta { font-family: var(--font-text); font-weight: 700; font-size: 13px; color: var(--jd-red); text-decoration: none; margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; }
.sal-slot-cta::after { content: '→'; }
.sal-slot-cta:hover { color: var(--jd-red-dark); gap: 10px; }
.sal-slot.full .sal-slot-cta { color: var(--jd-muted); }
.sal-schedule-note {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--jd-warm-mid);
  border-left: 3px solid var(--jd-gold);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.5;
  color: var(--jd-ink);
}

/* Árak */
.sal-prices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
/* Joya Dance Fitness: csak 3 árkártya van (nem 4, mint tarsastanc.html-en) — a megosztott fix
   4-oszlopos .sal-prices-t itt felülírjuk, hogy a 3 kártya egyenletesen töltse ki a helyet, ne
   tűnjön szűkebbnek/üres hellyel (2026-10-24, konzisztencia-audit 2. pont). */
.sal-prices--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sal-price {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: 22px;
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
@media (hover: hover) and (pointer: fine) {
  .sal-price:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.sal-price.featured {
  background: linear-gradient(180deg, #1A0606 0%, var(--jd-red-dark) 100%);
  border-color: var(--jd-gold);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 24px 48px rgba(195,24,31,.25);
}
@media (hover: hover) and (pointer: fine) {
  .sal-price.featured:hover { transform: scale(1.04) translateY(-4px); }
}
.sal-price-tag {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--jd-gold);
  color: var(--jd-ink);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.sal-price-name { font-family: var(--font-text); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jd-muted); margin-bottom: 14px; }
.sal-price.featured .sal-price-name { color: var(--jd-gold); }
.sal-price-amt { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.sal-price-num { font-family: var(--font-display); font-weight: 900; font-size: 48px; line-height: 1; letter-spacing: -0.02em; color: var(--jd-ink); }
.sal-price.featured .sal-price-num { color: #fff; }
.sal-price-unit { font-family: var(--font-text); font-weight: 600; font-size: 13px; color: var(--jd-muted); white-space: nowrap; }
.sal-price.featured .sal-price-unit { color: rgba(255,255,255,.7); }
.sal-price p { font-size: 14px; line-height: 1.55; color: var(--jd-muted); margin: 0 0 24px; flex: 1; }
.sal-price.featured p { color: rgba(255,255,255,.85); }
.sal-price-cta { font-family: var(--font-text); font-weight: 700; font-size: 14px; color: var(--jd-red); text-decoration: none; padding-top: 16px; border-top: 1px solid var(--jd-border); display: inline-flex; align-items: center; gap: 6px; }
.sal-price-cta::after { content: '→'; }
.sal-price-cta:hover { color: var(--jd-red-dark); gap: 10px; }
.sal-price.featured .sal-price-cta { color: var(--jd-gold); border-top-color: rgba(255,255,255,.18); }
.sal-price.featured .sal-price-cta:hover { color: var(--jd-gold-dark); }
.sal-prices-note { margin-top: 16px; text-align: center; font-size: 13px; color: var(--jd-muted); }
.section.dark .sal-prices-note { color: rgba(255,255,255,.55); }
.pricing-conditions {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--jd-gold-pale);
  border: 1px solid var(--jd-gold);
  border-radius: var(--r-card);
  padding: 16px 20px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--jd-ink);
}
.pricing-conditions svg { flex-shrink: 0; margin-top: 2px; color: var(--jd-gold-dark); }
.sal-price-tag--dark { background: var(--jd-ink); color: #fff; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .sal-prices { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 62px; } .tar-hero h1, .sal-hero h1, .vt-hero h1 { font-size: 60px; }
  .section-title { font-size: 36px; }
  .trial-grid h2 { font-size: 38px; }
  .sal-timeline { grid-template-columns: 1fr 1fr; }
  .sal-schedule { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .style-grid,
  .location-grid,
  .trial-grid,
  .tar-group-grid,
  .tar-teacher-grid,
  .tar-dance-grid,
  .tar-loc-grid,
  .sal-points,
  .sal-prices { grid-template-columns: 1fr; }
  .hero h1 { font-size: 52px; }
  .tar-hero h1, .sal-hero h1, .vt-hero h1 { font-size: 50px; }
  .tar-hero-stats { grid-template-columns: repeat(2,1fr); }
  .sal-hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sal-trainer { grid-template-columns: 1fr; gap: 32px; }
  .sal-price.featured { transform: none; }
  .sal-hero-watermark { font-size: 160px; }
  .sal-hero-logo { height: 72px; top: 32px; right: 24px; }
  .joya-hero-logo-mobile-wrap {
    display: block;
    background: var(--jd-bg);
    padding: var(--s-6) 0;
    border-bottom: 1px solid rgba(229,221,212,.35);
  }
  .joya-logo-mobile-tagline {
    display: block;
    text-align: center;
    white-space: normal;
    margin: var(--s-4) 0 0;
    font-size: 32px;
  }
  .joya-tagline--inline { display: none; }
  .joya-hero-logo-mobile { width: 280px; height: auto; margin: 0 auto; }
  .sal-hero { min-height: 380px; }
  .section { padding: 64px 0; }
  .hero, .tar-hero, .sal-hero, .vt-hero { padding: 56px 0 64px; min-height: 480px; }
  .hero-scroll-cue { display: none; }
  .tar-eyebrow, .sal-eyebrow, .vt-eyebrow { margin-bottom: 14px; }
  .tar-sub, .sal-sub, .vt-sub { margin-bottom: 24px; }
  .tar-hero-ctas, .vt-hero-ctas, .sal-hero-ctas { margin-bottom: 28px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 42px; } .tar-hero h1, .sal-hero h1, .vt-hero h1 { font-size: 38px; }
  .section-title { font-size: 28px; }
  .trial-grid { gap: 40px; }
  .trial-form-card { padding: 28px 18px; }
  .sal-timeline,
  .sal-schedule { grid-template-columns: 1fr; }
  .sal-slot-loc { font-size: 15px; }
  .sal-slot-dur,
  .sal-slot-spots { font-size: 13px; }
  .tar-group-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .testi-prev { left: -8px; }
  .testi-next { right: -8px; }
  .trustbar-inner { flex-direction: column; gap: 24px; padding: 28px 0; }
  .tb-cell + .tb-cell::before { display: none; }
  .vt-eredmeny-stats { flex-direction: column; gap: 24px; }
  .vt-eredmeny-stats .tb-num { font-size: 36px; }
  .sal-hero-logo { height: 48px; top: 20px; right: 16px; }
  .sal-hero { min-height: 320px; padding: 56px 0 64px; }
}

@media (max-width: 400px) {
  .trial-form-card { padding: 24px 12px; }
}

/* ==========================================================================
   SOCIAL MEDIA SECTION
   ========================================================================== */
.social-section { background: var(--jd-warm-mid); }

.social-feed-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Legutóbbi Facebook-posztok doboza (saját Graph API feed — ld. section-social.php) */
.social-feed-embed {
  background: #fff;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-posts { list-style: none; margin: 0; padding: 0; width: 100%; align-self: stretch; }
.social-post {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s-4);
  padding: var(--s-5);
  border-bottom: 1px solid var(--jd-border);
}
.social-post:last-child { border-bottom: 0; }
.social-post.no-img { grid-template-columns: 1fr; }
.social-post-img { aspect-ratio: 1; border-radius: var(--r-image); overflow: hidden; background: var(--jd-warm-mid); }
.social-post-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.social-post-body { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }

/* Fallback when plugin not yet configured */
.social-feed-placeholder {
  padding: 48px 32px;
  text-align: center;
  color: var(--jd-muted);
}
.social-feed-placeholder .sfp-icon {
  width: 48px; height: 48px;
  background: #1877F2;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.social-feed-placeholder p { font-size: 14px; margin: 8px 0 20px; }
.social-feed-placeholder a { color: var(--jd-red); font-weight: 600; text-decoration: none; }

/* Social account cards */
.social-cards { display: flex; flex-direction: column; gap: 16px; }

.social-card {
  background: #fff;
  border-radius: var(--r-card);
  padding: 22px 24px;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--jd-border);
  transition: box-shadow .2s, transform .2s;
}
@media (hover: hover) and (pointer: fine) {
  .social-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
}

.social-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.social-card-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.social-card-icon.fb  { background: #1877F2; color: #fff; }
.social-card-icon.ig  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.social-card-icon svg { width: 18px; height: 18px; }

.social-card-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--jd-ink); }
.social-card-handle { font-size: 12px; color: var(--jd-muted); }
.social-card p { font-size: 13px; color: var(--jd-muted); margin: 0 0 14px; line-height: 1.5; }
.social-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--jd-red);
  text-decoration: none;
  transition: gap .15s;
}
.social-card-link:hover { gap: 10px; }
.social-card-link::after { content: '→'; }

.social-card.muted { opacity: .65; }
@media (hover: hover) and (pointer: fine) {
  .social-card.muted:hover { transform: none; box-shadow: var(--shadow-1); }
}
.social-coming-soon {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--jd-warm-mid);
  color: var(--jd-muted);
  padding: 2px 8px; border-radius: var(--r-pill);
  margin-left: 6px;
  vertical-align: middle;
}

@media (max-width: 960px) {
  .social-feed-grid { grid-template-columns: 1fr; }
  .social-cards { flex-direction: row; flex-wrap: wrap; }
  .social-card { flex: 1 1 240px; }
}
@media (max-width: 600px) {
  .social-post { grid-template-columns: 88px 1fr; padding: var(--s-4); }
  .social-post.no-img { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .social-cards { flex-direction: column; }
}

/* ==========================================================================
   ESEMÉNYEK SZEKCIÓ
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.event-card[hidden] { display: none; }
.event-card {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: 16px;
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  overflow: hidden;
}

/* Kép terület */
.event-card-img {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: var(--jd-warm-mid);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.event-card-img--square {
  height: auto;
  aspect-ratio: 1 / 1;
}
.event-card-img picture,
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .event-card:hover .event-card-img img { transform: scale(1.04); }
}
.event-card-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--jd-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-card-img-ph svg { opacity: .4; }

/* Szöveg rész paddingje */
.event-card-body {
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (hover: hover) and (pointer: fine) {
  .event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--jd-red);
  border-radius: 16px 16px 0 0;
}
.event-card.gold::before { background: var(--jd-gold); }
.event-card.accent::before { background: var(--jd-accent); }

.event-type {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jd-red);
  margin-bottom: 14px;
}
.event-card.gold .event-type  { color: var(--jd-gold-text); }
.event-card.accent .event-type { color: var(--jd-accent); }

.event-date {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--jd-ink);
  line-height: 1;
  margin-bottom: 4px;
}
.event-date-sub {
  font-size: 12px;
  color: var(--jd-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.event-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--jd-ink);
  margin-bottom: 8px;
}

.event-desc {
  font-size: 13.5px;
  color: var(--jd-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.event-meta-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--jd-warm-mid);
  color: var(--jd-muted);
}

.event-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--jd-red);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 150ms;
  margin-top: auto;
}
.event-cta::after { content: '→'; }
.event-cta:hover { gap: 10px; color: var(--jd-red-dark); }

.events-cta-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.events-cta-note {
  font-size: 13.5px;
  color: var(--jd-muted);
}

@media (max-width: 900px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   VERSENYTÁNC OLDAL
   ========================================================================== */

.vt-hero {
  background-image: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(13,13,13,.58) 100%), url('../images/hero-versenytanc-oldal.webp');
  background-position: center, center top;
  padding: 110px 0 120px;
}
.vt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(245,195,39,.08) 0%, transparent 70%);
  pointer-events: none;
}
.vt-hero-inner { max-width: var(--kit-w); margin: 0 auto; padding: 0 var(--s-6); position: relative; }
.vt-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 74px; line-height: 1.06; letter-spacing: -0.02em; color: #fff; margin: 0 0 22px; }
@media (max-width: 900px) { .vt-hero h1 { font-size: 60px; } }
@media (max-width: 640px) { .vt-hero h1 { font-size: 38px; } }
.br-tablet { display: none; }
@media (max-width: 900px) { .br-tablet { display: inline; } }

/* .vt-group-grid rács: ld. "MEGOSZTOTT KÁRTYA-RÁCS MINTÁK" a LOCATIONS előtt */
.vt-group-grid { margin-top: var(--s-7); }
.vt-group { background: #fff; border: 1.5px solid var(--jd-border); border-radius: var(--r-card); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); transition: box-shadow .2s, transform .2s; }
@media (hover: hover) and (pointer: fine) {
  .vt-group:hover { box-shadow: var(--shadow-3); transform: translateY(-4px); }
}
.vt-group.featured { border-color: var(--jd-gold); background: #0D0D0D; color: #fff; }
.vt-group.featured p, .vt-group.featured li { color: rgba(255,255,255,.75); }
.vt-group.featured h3 { color: var(--jd-gold); }
.vt-group-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: var(--jd-gold-pale); color: var(--jd-gold-text); width: fit-content; }
.vt-group.featured .vt-group-tag { background: rgba(245,195,39,.15); color: var(--jd-gold); }
.vt-group h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 0; }
.vt-group p { font-size: 14px; line-height: 1.7; color: var(--jd-muted-strong); margin: 0; }
@media (min-width: 641px) and (max-width: 1024px) {
  .vt-group p { font-size: 15px; }
}
.vt-group li { font-size: 13.5px; color: var(--jd-ink); padding-left: 16px; position: relative; }
.vt-group li::before { content: '✓'; position: absolute; left: 0; top: 1px; font-size: 12px; color: var(--jd-gold-dark); font-weight: 700; }
.vt-group.featured li { color: rgba(255,255,255,.8); }
.vt-group.featured li::before { color: var(--jd-gold); }
.vt-group-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--jd-gold-text); text-decoration: none; margin-top: auto; }
.vt-group-cta::after { content: '→'; }
.vt-group-cta:hover { color: var(--jd-red); gap: 10px; }
.vt-group.featured .vt-group-cta { color: var(--jd-gold); }

.vt-eredmeny-stats { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: var(--s-7); flex-wrap: wrap; }
.vt-eredmeny-stats .tb-num { color: var(--jd-gold); }
.vt-eredmeny-stats .tb-num span { color: var(--jd-gold); }
.vt-eredmeny-stats .tb-lbl, .vt-eredmeny-stats .tb-sublbl { color: rgba(255,255,255,.7); }
.vt-eredmeny-stats .tb-cell + .tb-cell::before { background: rgba(255,255,255,.18); }

.vt-teacher { display: flex; flex-direction: column; gap: var(--s-4); }
.vt-teacher-photo { width: 100%; aspect-ratio: 3/2; background: linear-gradient(140deg, var(--jd-ink) 0%, #2A2520 100%); border-radius: var(--r-image); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.vt-teacher-photo .ph-initial { font-family: var(--font-display); font-weight: 900; font-size: 48px; color: var(--jd-gold); }
.vt-teacher-photo .ph-label { font-size: 12px; color: rgba(245,195,39,.55); letter-spacing: 0.2em; text-transform: uppercase; }
.vt-teacher-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--jd-ink); }
.vt-teacher-role { font-size: 11px; color: #7A5A00; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.vt-teacher-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: var(--jd-gold-pale); color: #7A5A00; width: fit-content; }
.vt-teacher p { font-size: 14px; line-height: 1.75; color: var(--jd-muted); margin: 0; }
.vt-teacher.primary .vt-teacher-name { color: var(--jd-ink); }

@media (max-width: 640px) {
  /* Dedikált, AI-val álló formátumra kiegészített (outpainted) mobil-kép — a fekvő desktop-fotó
     mobilon, magas dobozban felismerhetetlenségig zoomolt volna rá (2026-10-24). */
  .vt-hero {
    padding: 80px 0 70px;
    background-image: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(13,13,13,.58) 100%), url('../images/hero-versenytanc-oldal-mobile.webp');
    background-position: center, center;
  }
  .vt-hero-stats { grid-template-columns: repeat(2,1fr); gap: var(--s-5); }
}

/* Esküvői hero — saját kép felülírja a tar-hero általánost */
.tar-hero.esk-hero-bg {
  background-image: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(10,10,10,.58) 60%, rgba(20,16,8,.48) 100%), url('../images/hero-eskuvoi.webp');
  background-size: auto, cover;
  background-position: center, center top;
  background-repeat: no-repeat, no-repeat;
}
/* Hosszabb tar-sub szöveg (4 sor) miatt kisebb padding kell, hogy a hero ugyanolyan 788px magas maradjon, mint a többi tar-hero oldal — csak desktopon, a mobil breakpoint padding-ját nem írja felül */
@media (min-width: 641px) {
  .tar-hero.esk-hero-bg { padding: 82px 0 90px; }
}
@media (max-width: 700px) {
  /* Dedikált, AI-val álló formátumra kiegészített (outpainted) mobil-kép, a teljes pár (dress+smoke
     alul, csillár+fények felül) jól látható, nincs túlzoomolás (2026-10-24). */
  .tar-hero.esk-hero-bg {
    background-image: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(10,10,10,.58) 60%, rgba(20,16,8,.48) 100%), url('../images/hero-eskuvoi-mobile.webp');
    background-position: center, center;
  }
}

/* ==========================================================================
   ESKÜVŐI OLDAL
   ========================================================================== */

.esk-services-grid { margin-top: var(--s-7); }
.esk-service { background: #fff; border: 1.5px solid var(--jd-border); border-radius: var(--r-card); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); transition: box-shadow .2s, transform .2s; }
@media (hover: hover) and (pointer: fine) {
  .esk-service:hover { box-shadow: var(--shadow-3); transform: translateY(-4px); }
}
.esk-service.featured { border-color: var(--jd-gold); background: #0D0D0D; }
.esk-service h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--jd-ink); margin: 0; }
.esk-service.featured h3 { color: var(--jd-gold); }
.esk-service p { font-size: 14px; line-height: 1.75; color: var(--jd-muted-strong); margin: 0; }
@media (min-width: 641px) and (max-width: 1024px) {
  .esk-service p { font-size: 15px; }
}
.esk-service.featured p { color: rgba(255,255,255,.7); }
.esk-service li { font-size: 13.5px; color: var(--jd-ink); padding-left: 18px; position: relative; }
.esk-service li::before { content: '✓'; position: absolute; left: 0; color: var(--jd-gold-dark); font-weight: 700; font-size: 12px; top: 1px; }
.esk-service.featured li { color: rgba(255,255,255,.8); }
.esk-service.featured li::before { color: var(--jd-gold); }
.esk-service-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); background: var(--jd-gold-pale); color: var(--jd-gold-text); width: fit-content; }
.esk-service.featured .esk-service-tag { background: rgba(245,195,39,.18); color: var(--jd-gold); }
.esk-service-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--jd-gold-text); text-decoration: none; margin-top: auto; }
.esk-service-cta::after { content: '→'; }
.esk-service-cta:hover { color: var(--jd-red); gap: 10px; }
.esk-service.featured .esk-service-cta { color: var(--jd-gold); }

.esk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-top: var(--s-7); position: relative; }
.esk-steps::before { content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 1px; background: var(--jd-border); z-index: 0; }
.esk-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-3); padding: 0 var(--s-4); position: relative; z-index: 1; }
.esk-step-bubble { width: 56px; height: 56px; border-radius: 50%; background: var(--jd-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 18px; color: #0D0D0D; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--jd-border); }
.esk-step h3 { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--jd-ink); margin: var(--s-3) 0 0; }
.esk-step p { font-size: 13px; line-height: 1.65; color: var(--jd-muted); margin: 0; }

#esk-oktatok .tar-teacher-grid { margin-top: var(--s-7); }

.esk-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.esk-price { background: #fff; border: 1.5px solid var(--jd-border); border-radius: var(--r-card); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); }
.esk-price.featured { border-color: var(--jd-gold); position: relative; }
.esk-price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--jd-gold); color: #0D0D0D; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.esk-price h3 { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--jd-ink); margin: 0; }
.esk-price-amount { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--jd-ink); line-height: 1; }
.esk-price-amount span { font-size: 14px; font-weight: 500; color: var(--jd-muted); }
.esk-price p { font-size: 13px; color: var(--jd-muted); line-height: 1.65; margin: 0; }
.esk-price li { font-size: 13px; color: var(--jd-ink); padding-left: 18px; position: relative; }
.esk-price li::before { content: '✓'; position: absolute; left: 0; color: var(--jd-gold-dark); font-weight: 700; font-size: 11px; top: 1px; }
.esk-price-note { font-size: 12px; color: var(--jd-muted); font-style: italic; margin-top: var(--s-3); }
.esk-price-grid + .esk-price-note { text-align: center; margin-top: var(--s-6); }
.esk-price .btn { margin-top: var(--s-6); justify-content: center; align-self: stretch; }

/* Trial szekció — közvetlen elérhetőség blokk (esküvői oldal) */
.trial-contact { margin-top: var(--s-7); font-size: 14px; color: rgba(255,255,255,.75); }
.trial-contact strong { color: #fff; }
.trial-contact a { color: var(--jd-gold); }
.trial-contact-icon { display: inline-flex; margin-right: 4px; position: relative; top: 2px; color: #fff; }

@media (max-width: 860px) {
  .esk-steps::before { display: none; }
  .esk-step { padding: var(--s-4) 0; }
}
@media (min-width: 641px) and (max-width: 880px) {
  .esk-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ── Footer legal nav ── */
.footer-credit { color: rgba(255,255,255,.5); font-size: 12px; text-decoration: none; }
.footer-credit:hover { color: rgba(255,255,255,.85); }
.footer-credit strong { color: rgba(255,255,255,.75); font-weight: 600; }
.br-mobile-only { display: inline; }
@media (min-width: 641px) { .br-mobile-only { display: none; } }
.footer-legal-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-link { color: rgba(255,255,255,.65); font-size: 12px; text-decoration: none; }
.footer-legal-link:hover { color: #fff; }

/* ── Breadcrumb ── */
.breadcrumb-nav { background: var(--jd-bg); border-bottom: 1px solid var(--jd-border); padding: 10px 0; }
.breadcrumb { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--jd-muted); }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: '/'; margin: 0 8px; color: var(--jd-border); }
.breadcrumb a { color: var(--jd-muted); text-decoration: none; transition: color 200ms; }
.breadcrumb a:hover { color: var(--jd-red); }
.breadcrumb li:last-child span { color: var(--jd-ink); font-weight: 500; }

/* ── Kapcsolat info elválasztó ── */
.contact-info-sep { height: 1px; background: var(--jd-border); margin: 16px 0 20px; }

/* ── Footer logó sor (CSS class az inline style kiváltásához) ── */
.footer-logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-logo-row img { height: 52px; width: auto; flex-shrink: 0; }
.footer-logo-row .footer-brand-wm { margin-bottom: 0; }

/* ── Jogi oldalak (legal-wrap) ── */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 60px 32px 100px; }
.legal-wrap h1, .legal-wrap h2.legal-title { font-family: var(--font-display); font-weight: 800; font-size: 36px; margin: 0 0 8px; }
/* Bevezetős oldalon (hazirend) a szövegoszlop címe h2 — a fejléc-szekció h1-e mellett —, de a h1-gyel azonos kinézetű:
   a .legal-wrap h2 szakaszcím-keretét nem örökli. */
.legal-wrap h2.legal-title { border-bottom: 0; padding-bottom: 0; }
.legal-wrap .legal-meta { font-size: 13px; color: var(--jd-muted); margin-bottom: 48px; }
.legal-wrap h2 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 40px 0 12px; color: var(--jd-ink); border-bottom: 1px solid var(--jd-border); padding-bottom: 8px; }
.legal-wrap h3 { font-family: var(--font-text); font-weight: 700; font-size: 15px; margin: 24px 0 8px; }
.legal-wrap p, .legal-wrap li { font-size: 14.5px; line-height: 1.75; color: var(--jd-ink); margin-bottom: 10px; }
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; margin-bottom: 14px; }
.legal-wrap li { margin-bottom: 6px; }
.legal-highlight { background: var(--jd-gold-pale); border-left: 3px solid var(--jd-gold-dark); padding: 14px 18px; border-radius: 0 6px 6px 0; margin: 20px 0; }
.legal-highlight p { margin: 0; font-size: 14px; }
.legal-wrap .legal-list-plain { padding-left: 0; list-style: none; }
.legal-wrap strong { color: var(--jd-ink); }
.legal-todo { background: #fff3cd; border: 1px solid #ffc107; border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: #856404; display: inline; }
.table-scroll { overflow-x: auto; margin: 16px 0 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 0; }
.data-table th { background: var(--jd-warm-mid); padding: 10px 14px; text-align: left; font-weight: 700; border: 1px solid var(--jd-border); white-space: nowrap; }
.data-table td { padding: 9px 14px; border: 1px solid var(--jd-border); vertical-align: top; line-height: 1.5; min-width: 160px; }
.data-table tr:nth-child(even) td { background: #fafaf8; }
@media (max-width: 640px) {
  .legal-wrap { padding: 40px 20px 60px; }
  .legal-wrap h1, .legal-wrap h2.legal-title { font-size: 26px; }
  .data-table { font-size: 12px; }
}

/* ── Impresszum oldal ── */
.impresszum-footer-note { margin-top: 48px; font-size: 13px; color: var(--jd-muted); }

/* ── H2 scroll reveal — blur + fade-up (2026) ── */
h2.h2-anim {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
h2.h2-anim.h2-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* em — késleltetett slide-in + arany sweep aláhúzás */
h2.h2-anim em {
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease-out) 0.22s,
              transform 0.4s var(--ease-out) 0.22s;
}
h2.h2-anim em::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 112%;
  height: 1.5px;
  background: linear-gradient(to right, #fffde7 0%, #FFD700 12%, rgba(255,215,0,0.18) 55%, transparent 88%);
  clip-path: inset(0 100% 0 0 round 1px 0 0 1px);
  transform-origin: left center;
  transform: rotate(-0.6deg);
}
h2.h2-anim.h2-visible em {
  opacity: 1;
  transform: translateY(0);
}
h2.h2-anim.h2-visible em::after {
  animation: emSweep 1.2s var(--ease-out) 0.38s forwards;
}
@keyframes emSweep {
  0%   { clip-path: inset(0 100% 0 0 round 1px 0 0 1px); }
  48%  { clip-path: inset(0 0%   0 0 round 1px 0 0 1px); }
  100% { clip-path: inset(0 0%   0 100% round 1px 0 0 1px); }
}

@media (prefers-reduced-motion: reduce) {
  h2.h2-anim { opacity: 1; transform: none; filter: none; transition: none; }
  h2.h2-anim em { opacity: 1; transform: none; transition: none; }
  h2.h2-anim em::after { display: none; }
  .hero-scroll-cue { animation: none; }
  .videosec-play { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Cookie banner (Cookie Yes stílus — bottom bar) ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #fff;
  border-top: 1.5px solid var(--jd-border);
  box-shadow: 0 -4px 28px rgba(0,0,0,.09);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.cookie-banner.cookie-visible { transform: translateY(0); }
.cookie-banner-inner { max-width: var(--kit-w); margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; gap: 28px; }
.cookie-banner-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.cookie-banner-content { flex: 1; min-width: 0; }
.cookie-banner-title { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--jd-ink); margin-bottom: 3px; }
.cookie-banner-text { font-size: 12px; color: var(--jd-muted); line-height: 1.55; margin: 0; }
.cookie-banner-link { color: var(--jd-red); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-link:hover { color: var(--jd-red-dark); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { font-family: var(--font-text); font-weight: 600; font-size: 13px; padding: 10px 22px; border-radius: var(--r-button); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.cookie-btn-primary { background: var(--jd-red); color: #fff; }
.cookie-btn-primary:hover { background: var(--jd-red-dark); }
.cookie-btn-secondary { background: transparent; color: var(--jd-ink); border-color: var(--jd-border); }
.cookie-btn-secondary:hover { background: var(--jd-warm-mid); }
@media (max-width: 700px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 20px; }
  .cookie-banner-actions { width: 100%; flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; }
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, var(--jd-gold) 0%, var(--jd-red) 100%);
  z-index: 10000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── Scroll to top gomb ── */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8999;
  width: 48px;
  height: 48px;
  background: var(--jd-ink);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.22), 0 0 0 2px rgba(255,255,255,.45);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.2s;
  pointer-events: none;
}
.scroll-top-btn.stt-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top-btn:hover { background: var(--jd-red); }
@media (max-width: 480px) {
  .scroll-top-btn { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

/* ── Események oldal ── */
.esemenyek-banner { background: var(--jd-warm-mid); }

.event-filter-bar { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-7); }
.event-filter-pill {
  padding: var(--s-2) var(--s-4);
  border: 1.5px solid var(--jd-border);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--jd-muted);
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.event-filter-pill:hover { border-color: var(--jd-red); color: var(--jd-red); background: var(--jd-red-pale); }
.event-filter-pill.active { border-color: var(--jd-red); background: var(--jd-red); color: #fff; }

.events-empty {
  text-align: left;
  padding: var(--s-8) var(--s-4);
  color: var(--jd-muted);
}
.events-empty svg { opacity: .35; margin-bottom: var(--s-4); }
.events-empty p { max-width: 480px; margin: 0; }

/* ── Trial szekció arany variáns — tarsastanc.html ── */
.trial-section--gold {
  background: linear-gradient(135deg, #C49210 0%, var(--jd-gold) 55%, #F5D060 100%);
  color: var(--jd-ink);
}
.trial-section--gold::before { opacity: .06; }
.trial-section--gold .eyebrow--gold { color: rgba(26,26,26,.75); }
.trial-section--gold .trial-grid h2 { color: var(--jd-ink); }
.trial-section--gold .trial-grid h2 em { color: #fff; }
.trial-section--gold h2.h2-anim em::after { background: #fff; }
.trial-section--gold .trial-grid > div > p { color: rgba(26,26,26,.78); }
.trial-section--gold .trial-bullets li { color: var(--jd-ink); }
.trial-section--gold .trial-bullets li::before {
  background: var(--jd-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C%2Fsvg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}
.trial-section--gold .pricing-conditions { color: rgba(26,26,26,.62); }
.trial-section--gold .pricing-conditions svg { color: var(--jd-ink); }

/* ── Helyszín oldalak ── */
.section-cta-row { margin-top: var(--s-7); text-align: center; }
.loc-contact-cta { margin-top: var(--s-5); }
.loc-contact-cta .submit { margin-top: var(--s-4); }

/* ── Terembérlés oldal ── */
.page-hero-ctas { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-6); }

.tb-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.tb-spec-card {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: var(--r-card);
  padding: var(--s-6);
  text-align: center;
  box-shadow: var(--shadow-1);
}
.tb-spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--jd-red-pale);
  border-radius: 50%;
  margin: 0 auto var(--s-4);
  color: var(--jd-red);
}
.tb-spec-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jd-muted); margin-bottom: var(--s-2); }
.tb-spec-value { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--jd-ink); margin-bottom: var(--s-1); }
.tb-spec-note { font-size: 13px; color: var(--jd-muted); }

.tb-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--jd-border);
}
.tb-feature {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 15px;
  color: var(--jd-ink);
}
.tb-feature-check { flex-shrink: 0; }
.tb-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: var(--s-8); max-width: 1600px; margin-left: auto; margin-right: auto; padding: 0 18px; }
.tb-photo-item { box-shadow: 0 3px 10px rgba(60,20,30,.22); }
.tb-photo-grid picture { display: block; overflow: hidden; height: 380px; }
.tb-photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms var(--ease-out); }
.tb-photo-item:hover img { transform: scale(1.06); }
@media (max-width: 860px) {
  .tb-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-photo-grid picture { height: 280px; }
  .tb-photo-grid picture:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .tb-photo-grid { grid-template-columns: 1fr; }
  .tb-photo-grid picture { height: 240px; }
  .tb-photo-grid picture:nth-child(3) { display: block; }
}

.tb-textarea { resize: none; min-height: 80px; }
.tb-arak-cta { margin-top: var(--s-7); }
.tb-arak-features-lead { font-size: 15px; font-weight: 400; color: var(--jd-muted); margin-top: var(--s-6); margin-bottom: var(--s-4); }

@media (max-width: 900px) {
  .tb-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-features-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tb-specs-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .tb-spec-card { padding: var(--s-4); }
  .page-hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* ── Oktatóink oldal ── */
.okt-profile {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--s-9);
  align-items: start;
}
.okt-profile--reverse { direction: rtl; }
.okt-profile--reverse > * { direction: ltr; }

.okt-photo-wrap {
  position: relative;
  border-radius: var(--r-image);
  overflow: hidden;
  aspect-ratio: 6/7;
  background: var(--jd-warm-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.okt-photo-wrap picture { display: contents; } /* a flex-oszlopban a <picture> ne váljon flex-elemmé, különben az img height:100%-a elvész */
.okt-photo-wrap .ph-initial { font-family: var(--font-display); font-weight: 900; font-size: 96px; letter-spacing: -0.02em; color: var(--jd-gold-dark); }
.okt-photo-wrap .ph-label { font-family: var(--font-text); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--jd-muted); margin-top: 12px; }
.okt-photo-badge {
  position: absolute;
  bottom: var(--s-4);
  left: var(--s-4);
}

.okt-name {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: var(--s-2) 0 var(--s-2);
  color: var(--jd-ink);
}
.okt-title-line {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jd-gold-text);
  margin-bottom: var(--s-5);
}
.okt-bio {
  font-size: 16px;
  line-height: 1.72;
  color: var(--jd-ink);
  margin-bottom: var(--s-4);
  max-width: 56ch;
}

.okt-credentials {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin: var(--s-5) 0;
  padding: var(--s-5) 0;
  border-top: 1px solid var(--jd-border);
  border-bottom: 1px solid var(--jd-border);
}
.okt-credential {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 14px;
  font-weight: 500;
  color: var(--jd-ink);
}
.okt-credential-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--jd-red-pale);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--jd-red);
}

.okt-teaches { margin-bottom: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--jd-border); }
.okt-teaches-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jd-muted); margin-bottom: var(--s-2); }
.okt-teaches-tags { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.okt-teaches-tags .tag { background: none; padding: 0; border-radius: 0; font-size: 13px; text-decoration: none; transition: opacity .15s; }
.okt-teaches-tags .tag:hover { opacity: .7; }

.okt-social { display: flex; flex-direction: column; gap: var(--s-3); }
.okt-social-link {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--jd-red);
  text-decoration: none;
  transition: color .15s;
}
.okt-social-link:hover { color: var(--jd-red-dark); }

@media (max-width: 1024px) {
  .okt-profile { grid-template-columns: 340px 1fr; gap: var(--s-7); }
  .okt-name { font-size: 42px; }
}
@media (max-width: 860px) {
  .okt-profile { grid-template-columns: 1fr; gap: var(--s-6); }
  .okt-profile--reverse { direction: ltr; }
  .okt-photo-wrap { aspect-ratio: 3/4; max-height: 380px; }
  .okt-name { font-size: 36px; }
}

/* ── Galéria oldal ── */
.gallery-filter-wrap {
  position: sticky;
  top: 72px;
  z-index: 10;
  background: rgba(252, 251, 248, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--jd-border);
  padding: var(--s-4) 0;
}
.gallery-filter-inner {
  max-width: var(--kit-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.gallery-filter-bar { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.gfb {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: var(--jd-muted);
  background: transparent;
  border: 1px solid var(--jd-border);
  border-radius: var(--r-pill);
  padding: 6px var(--s-4);
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}
.gfb:hover { color: var(--jd-ink); border-color: var(--jd-ink); }
.gfb.is-active { color: #fff; background: var(--jd-red); border-color: var(--jd-red); }
.gallery-section { padding: var(--s-7) 0 var(--s-9); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.gallery-item {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--jd-warm-mid);
  cursor: pointer;
  margin: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-item:focus-visible { outline: 2px solid var(--jd-red); outline-offset: 2px; }

.gallery-item--ph {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item--ph::after {
  content: attr(data-ph);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--jd-muted);
  opacity: .5;
}
.gallery-item--ph[data-ph="verseny"]    { background: #EDE9E0; }
.gallery-item--ph[data-ph="tarsastanc"] { background: #EDE9E0; }
.gallery-item--ph[data-ph="salsation"]  { background: #FAEAE9; }
.gallery-item--ph[data-ph="helyszin"]   { background: #E8EDF3; }

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--s-9) 0;
  color: var(--jd-muted);
  font-size: 16px;
}

/* Lightbox */
.jd-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s-6) var(--s-4);
}
.jd-lb.is-open { display: flex; }
.jd-lb-bd {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.jd-lb-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  max-width: min(90vw, 1100px);
  width: 100%;
}
.jd-lb-imgwrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.jd-lb-img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--r-image);
  object-fit: contain;
  transition: opacity .2s, transform .2s ease-out;
  display: block;
}
/* Kattintás/húzás-zoom csak egérrel (desktop) — touch-elsődleges eszközön kikapcsolva (gallery.js),
   itt is csak ott: touch-action ne tiltsa a natív pinch-zoomot mobilon/tableten. */
@media (pointer: fine) {
  .jd-lb-img { cursor: zoom-in; touch-action: none; }
  .jd-lb-imgwrap.is-zoomed .jd-lb-img { cursor: zoom-out; }
  .jd-lb-imgwrap.is-zoomed .jd-lb-img.is-dragging { cursor: grabbing; transition: opacity .2s; }
}
.jd-lb-imgwrap.is-zoomed { overflow: hidden; }
.jd-lb-spinner {
  display: none;
  position: absolute;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: jd-spin .7s linear infinite;
}
.jd-lb-spinner.is-visible { display: block; }
@keyframes jd-spin { to { transform: rotate(360deg); } }

.jd-lb-close {
  position: absolute;
  top: -50px; right: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 2;
}
.jd-lb-close:hover { background: rgba(255,255,255,.24); }
.jd-lb-nav {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.jd-lb-nav:hover:not(:disabled) { background: rgba(255,255,255,.22); }
.jd-lb-nav:disabled { opacity: .3; cursor: default; }
.jd-lb-meta {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.jd-lb-ctr { font-size: 12px; color: rgba(255,255,255,.45); }
body.lb-open { overflow: hidden; }

/* Kategória galéria oldalak (galeria-tarsastanc/salsation/versenytanc) */
.gallery-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
}
.gallery-back-link {
  font-size: 14px;
  color: var(--jd-muted);
  text-decoration: none;
  transition: color .15s;
}
.gallery-back-link:hover { color: var(--jd-red); }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-filter-inner { flex-direction: column; align-items: flex-start; }
  .jd-lb-shell { gap: var(--s-2); }
  .jd-lb-nav { width: 36px; height: 36px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 3/2; }
  .jd-lb-img { max-height: 72vh; }
}

/* ── Űrlapok: spam-csapda (honeypot) ── */
/* Képernyőn kívül (nem display:none — azt a botok felismerik); a WP űrlapkezelő a kitöltött mezőt botnak veszi. */
.jd-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { max-width: 100%; margin-top: 10px; }

/* ── GEstilo oldal (gestilo.html) ── */
/* Önálló, sötét „hamarosan” oldal a készítő (GEstilo) saját arculatával — nincs JoyDance header/footer.
   A színek a GEstilo-arculat értékei (nem --jd-* tokenek, szándékosan); minden szabály a body.gestilo-page alá
   szűkítve, hogy a JoyDance-oldalakat ne érintse, és felülírja a BASE szakasz html/body alapértékeit. */
html:has(> body.gestilo-page) { background: #0f0f0f; scroll-padding-top: 0; }
body.gestilo-page {
  font-family: var(--font-text);
  background: #0f0f0f;
  color: #f0ede8;
  line-height: normal;
  text-rendering: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.gestilo-page .card { max-width: 520px; width: 100%; text-align: center; }
.gestilo-page .logo { display: inline-block; line-height: 1; margin-bottom: 56px; }
.gestilo-page .logo img { width: 260px; max-width: 60vw; height: auto; display: block; }
.gestilo-page .coming-soon,
.gestilo-page .contact-name { font-family: var(--font-display); font-weight: 800; }
.gestilo-page .coming-soon { font-size: 28px; letter-spacing: -0.01em; margin-bottom: 10px; }
.gestilo-page .contact-name { font-size: 18px; letter-spacing: 0.01em; margin-bottom: 18px; }
.gestilo-page .subtitle { font-size: 15px; color: rgba(240,237,232,.55); margin-bottom: 48px; line-height: 1.6; }
.gestilo-page .divider { width: 40px; height: 2px; background: #c8a96e; margin: 0 auto 40px; border-radius: 2px; }
.gestilo-page .contact-list { display: flex; flex-direction: column; gap: 10px; }
.gestilo-page .contact-list a { color: rgba(240,237,232,.75); font-size: 15px; transition: color 0.2s; }
.gestilo-page .contact-list a:hover { color: #c8a96e; }
.gestilo-page .trust-text { font-size: 15px; color: rgba(240,237,232,.7); line-height: 1.7; margin-bottom: 22px; }
.gestilo-page .service-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 40px; }
.gestilo-page .service-list li {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,237,232,.4);
  padding: 4px 12px;
  border: 1px solid rgba(200,169,110,.25);
  border-radius: var(--r-pill);
}
.gestilo-page .back {
  margin-top: 80px;
  display: block;
  font-size: 12px;
  color: rgba(240,237,232,.3);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.gestilo-page .back:hover { color: rgba(240,237,232,.65); }

/* ── Keresési eredmények oldal (search.php) ── */
.search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 720px;
}
.search-result {
  padding: var(--s-5) var(--s-6);
  background: var(--jd-warm-mid);
  border: 1px solid var(--jd-border);
  border-radius: var(--r-card);
}
.search-result-type { margin-bottom: var(--s-2); }
.search-result-title { margin: 0 0 var(--s-2); font-size: 20px; font-weight: 700; }
.search-result-title a { color: var(--jd-ink); text-decoration: none; }
.search-result-title a:hover { color: var(--jd-red); }
.search-result-excerpt { margin: 0; color: var(--jd-muted-strong); font-size: 15px; line-height: 1.6; }

.search-pagination { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-7); }
.search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--s-3);
  border: 1px solid var(--jd-border);
  border-radius: var(--r-button);
  color: var(--jd-ink);
  text-decoration: none;
  font-size: 14px;
  transition: border-color .15s, color .15s, background .15s;
}
.search-pagination .page-numbers:hover { border-color: var(--jd-red); color: var(--jd-red); }
.search-pagination .page-numbers.current { background: var(--jd-red); border-color: var(--jd-red); color: #fff; }
.search-pagination .page-numbers.dots { border: none; }

/* ── Esemény aloldal (single-joydance_esemeny.php) ── */
.event-detail-header .event-meta { margin-top: var(--s-4); }
.event-detail-closed { color: var(--jd-red-dark); font-weight: 600; }
/* A .section 112px alsó paddingje + a kép saját margója együtt eltúlzott, 156px-es rést adott a kép és a
   leírás között — a header-szekció alsó paddingjét lenullázzuk, a kép alsó margója adja az egyetlen,
   ésszerű méretű rést (2026-10-24). */
.event-detail-header { padding-bottom: 0; }
.event-detail-img {
  max-width: 720px;
  margin: var(--s-7) 0;
  border-radius: var(--r-image);
  overflow: hidden;
}
.event-detail-img img { display: block; width: 100%; height: auto; }
.event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
