:root{
    --bg: #14110f;
    --bg-alt: #1b1613;
    --bg-alt2: #100d0b;
    --red: #9c2c1e;
    --red-bright: #c33a22;
    --gold: #c69a42;
    --gold-soft: #e7c874;
    --cream: #f3eee3;
    --muted: #a89b8b;
    --line: #33291f;
    --maxw: 1180px;
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  body{
    margin:0;
    background: var(--bg);
    color: var(--cream);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1,h2,h3{
    font-family: 'Oswald', sans-serif;
    margin: 0;
    letter-spacing: 0.01em;
    color: var(--cream);
  }
  p{ margin: 0; }
  a{ color: inherit; text-decoration: none; }
  img{ max-width: 100%; display:block; }
  .wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

  /* focus visibility */
  a:focus-visible, button:focus-visible{
    outline: 2px solid var(--gold-soft);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; }
  }

  /* ---------- Scroll-reveal & active states ---------- */
  .js .reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible{ opacity:1; transform:none; }
  .pillar.reveal:nth-child(1){ transition-delay: 0s; }
  .pillar.reveal:nth-child(2){ transition-delay: .12s; }
  .pillar.reveal:nth-child(3){ transition-delay: .24s; }

  header{ transition: background-color .25s ease, box-shadow .25s ease; }
  header.scrolled{ box-shadow: 0 10px 30px rgba(0,0,0,0.38); background: rgba(16,13,11,0.97); }

  nav.links a.active{ color: var(--cream); }
  nav.links a.active::after{ transform: scaleX(1); }

  .ring-wrap svg{ animation: ringspin 60s linear infinite; transform-origin: 50% 50%; }
  @media (prefers-reduced-motion: reduce){ .ring-wrap svg{ animation: none; } }
  @keyframes ringspin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }

  /* ---------- Header ---------- */
  header{
    position: sticky; top:0; z-index: 50;
    background: rgba(20,17,15,0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding: 12px 28px;
    max-width: var(--maxw); margin:0 auto;
  }
  .brand{ display:flex; align-items:center; gap:10px; flex:none; }
  .brand-badge{
    background: linear-gradient(160deg,#f6ead0,var(--gold-soft) 60%,var(--gold));
    border-radius: 10px;
    padding: 6px 8px 4px;
    line-height: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  }
  .brand-badge img{ height: 34px; width:auto; }
  .brand-name{
    font-family:'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--cream);
    line-height:1.15;
    white-space: nowrap;
  }
  .brand-name span{ display:block; font-size:10px; color: var(--gold-soft); letter-spacing:0.12em; white-space:nowrap; }

  nav.links{ display:flex; align-items:center; gap: 18px; flex-wrap:nowrap; }
  nav.links a{
    font-size: 13.5px; color: var(--muted); position:relative; padding: 4px 0;
    transition: color .15s ease; white-space:nowrap;
  }
  nav.links a:hover{ color: var(--cream); }
  nav.links a::after{
    content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
    background: var(--red-bright); transform: scaleX(0); transform-origin:left;
    transition: transform .2s ease;
  }
  nav.links a:hover::after{ transform: scaleX(1); }

  .nav-dropdown{ position:relative; }
  .nav-dropdown-toggle{
    display:inline-flex; align-items:center; gap:5px;
    background:none; border:none; padding:4px 0; margin:0;
    font-family:'Work Sans', sans-serif; font-size:13.5px; color:var(--muted);
    cursor:pointer; transition:color .15s ease; white-space:nowrap;
  }
  .nav-dropdown-toggle:hover{ color:var(--cream); }
  .nav-dropdown-toggle .chev{ transition: transform .2s ease; }
  .nav-dropdown.is-open .nav-dropdown-toggle .chev{ transform: rotate(180deg); }
  .nav-dropdown.is-open .nav-dropdown-toggle,
  .nav-dropdown:hover .nav-dropdown-toggle{ color:var(--cream); }
  .nav-dropdown:hover .nav-dropdown-toggle .chev{ transform: rotate(180deg); }

  /* Láthatatlan híd a gomb és a lenyíló panel közötti résben, hogy a kurzor
     átmozgatásakor (lefelé) ne szakadjon meg a hover és ne záródjon be idő előtt. */
  .nav-dropdown::after{
    content:""; position:absolute; top:100%; left:50%; transform:translateX(-50%);
    width:260px; height:14px;
  }

  .nav-dropdown-menu{
    position:absolute; top:calc(100% + 14px); left:50%; transform:translate(-50%, 6px);
    min-width:260px; background:var(--bg-alt2); border:1px solid var(--line); border-radius:4px;
    padding:8px; box-shadow:0 16px 40px rgba(0,0,0,0.4);
    opacity:0; visibility:hidden; pointer-events:none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index:60;
  }
  .nav-dropdown.is-open .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu{
    opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%, 0);
  }
  .nav-dropdown-menu a{
    display:block; padding:10px 12px; font-size:14px; color:var(--muted);
    border-radius:3px; white-space:normal; line-height:1.4;
  }
  .nav-dropdown-menu a:hover{ background:rgba(198,154,66,0.1); color:var(--cream); }
  .nav-dropdown-menu a::after{ display:none; content:none; }

  .nav-cta{
    display:inline-flex; align-items:center; gap:8px;
    background: var(--red); color:#fff; padding: 9px 14px;
    border-radius: 3px; font-size:13px; font-weight:600;
    border:1px solid var(--red-bright); white-space:nowrap;
    transition: background .15s ease;
  }
  .nav-cta:hover{ background: var(--red-bright); }

  .social-group{ display:flex; align-items:center; gap:10px; flex:none; }
  .icon-btn{
    width:36px; height:36px; border-radius:50%;
    border:1px solid var(--line); color: var(--cream);
    display:flex; align-items:center; justify-content:center;
    transition: border-color .15s ease, color .15s ease, transform .15s ease;
    flex: none;
  }
  .icon-btn:hover{ border-color: var(--gold); color: var(--gold-soft); transform: translateY(-1px); }
  .icon-btn svg{ width:18px; height:18px; display:block; }

  .menu-toggle{ display:none; background:none; border:1px solid var(--line); color:var(--cream); padding:8px 10px; border-radius:4px; font-size: 20px; line-height:1;}

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    overflow:hidden;
    border-bottom: 1px solid var(--line);
    background:
      radial-gradient(ellipse 900px 500px at 82% -10%, rgba(156,44,30,0.28), transparent 60%),
      var(--bg);
  }
  .hero-grid{
    max-width: var(--maxw); margin: 0 auto; padding: 96px 28px 84px;
    display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items:center;
  }
  .kicker{
    font-size: 13.5px; color: var(--gold-soft); font-weight:600;
    letter-spacing: 0.04em; margin-bottom: 18px;
  }
  .hero h1{
    font-size: clamp(44px, 6vw, 74px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.98;
    color: var(--cream);
    overflow-wrap: break-word;
  }
  .hero h1 em{
    font-style: normal; color: var(--red-bright);
  }
  .hero-sub{
    margin-top: 26px; font-size: 18px; color: var(--muted); max-width: 46ch;
  }
  .hero-actions{ margin-top: 38px; display:flex; gap:16px; flex-wrap:wrap; }
  .btn{
    display:inline-flex; align-items:center; gap:10px;
    padding: 14px 26px; font-size: 15px; font-weight:600; border-radius:3px;
    border:1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
    background:none; font-family:'Work Sans', sans-serif; cursor:pointer;
    -webkit-appearance:none; appearance:none;
  }
  .btn-primary{ background: var(--red); color:#fff; border-color: var(--red-bright); }
  .btn-primary:hover{ background: var(--red-bright); transform: translateY(-1px); }
  .btn-ghost{ border-color: var(--line); color: var(--cream); }
  .btn-ghost:hover{ border-color: var(--gold); color: var(--gold-soft); transform: translateY(-1px); }

  .hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; }
  .ring-wrap{ position:relative; width: min(380px, 100%); aspect-ratio:1/1; }
  .ring-wrap svg{ width:100%; height:100%; display:block; }

  /* ---------- Pillars ---------- */
  .pillars{
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt2);
  }
  .pillars .wrap{
    display:grid; grid-template-columns: repeat(3,1fr); gap: 0;
  }
  .pillar{
    padding: 34px 28px; border-left: 1px solid var(--line);
    display:flex; gap:16px; align-items:flex-start;
  }
  .pillar:first-child{ border-left:none; padding-left:0; }
  .pillar-num{
    font-family:'Oswald',sans-serif; font-size:13px; color: var(--gold-soft);
    border:1px solid var(--line); border-radius:50%; width:34px; height:34px;
    display:flex; align-items:center; justify-content:center; flex:none;
  }
  .pillar h3{ font-size:17px; text-transform:uppercase; letter-spacing:0.03em; margin-bottom:6px;}
  .pillar p{ font-size:14.5px; color:var(--muted); }

  /* ---------- Section generic ---------- */
  section{ padding: 92px 0; border-bottom: 1px solid var(--line); }
  section.alt{ background: var(--bg-alt); }
  .section-head{ max-width: 640px; margin-bottom: 52px; }
  .section-head h2{
    font-size: clamp(28px, 3.6vw, 38px); font-weight:600; line-height:1.15;
  }
  .section-head p{ margin-top:16px; color: var(--muted); font-size:16.5px; max-width: 54ch;}

  /* ---------- About ---------- */
  .about-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:start; }
  .about-copy p{ color: var(--muted); font-size: 16.5px; margin-bottom: 18px; max-width: 52ch; }
  .about-copy p:last-child{ margin-bottom:0; }
  .quote-block{
    border-left: 3px solid var(--red); padding: 4px 0 4px 26px;
  }
  .quote-block p{
    font-family:'Oswald',sans-serif; font-size: 22px; color: var(--cream); font-weight:500; line-height:1.35;
  }
  .quote-block span{ display:block; margin-top:14px; font-family:'Work Sans',sans-serif; font-size:13.5px; color:var(--muted); text-transform:uppercase; letter-spacing:0.06em; }

  /* ---------- Training / schedule ---------- */
  .schedule-card{
    background: var(--bg-alt2);
    border: 1px solid var(--line);
    border-radius: 4px;
    display:grid; grid-template-columns: 1fr 1.3fr;
  }
  .schedule-loc{ padding: 40px; border-right: 1px solid var(--line); }
  .schedule-loc .tag{ font-size:12.5px; color:var(--gold-soft); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:12px; display:block;}
  .schedule-loc h3{ font-size: 23px; font-weight:600; margin-bottom: 10px; }
  .schedule-loc address{ font-style:normal; color: var(--muted); font-size:15px; line-height:1.7; }
  .schedule-days{ padding: 40px; display:flex; gap: 22px; flex-wrap:wrap; }
  .day-card{
    flex:1; min-width:160px;
    background: var(--bg);
    border:1px solid var(--line);
    border-radius:4px;
    padding: 24px 22px;
    text-align:center;
  }
  .day-card .day-name{ font-family:'Oswald',sans-serif; font-size:20px; letter-spacing:0.04em; color:var(--cream); text-transform:uppercase;}
  .day-card .day-time{ margin-top:10px; font-size:22px; font-weight:600; color: var(--red-bright); font-family:'Oswald',sans-serif;}
  .day-card .day-note{ margin-top:8px; font-size:12.5px; color:var(--muted); }
  .schedule-foot{
    grid-column: 1 / -1; border-top:1px solid var(--line);
    padding: 22px 40px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  }
  .schedule-foot p{ color:var(--muted); font-size:14px; }

  /* ---------- Versenyeink ---------- */
  .comp-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; }
  .comp-card{
    background: var(--bg-alt2); border:1px solid var(--line); border-radius:4px;
    padding: 28px 24px; scroll-margin-top: 110px;
    transition: border-color .15s ease, transform .15s ease;
  }
  .comp-card:hover{ border-color: var(--gold); transform: translateY(-2px); }
  .comp-tag{
    display:inline-block; font-size:11.5px; letter-spacing:0.05em; text-transform:uppercase;
    color: var(--gold-soft); border:1px solid var(--line); border-radius:2px;
    padding:3px 8px; margin-bottom:14px;
  }
  .comp-card h3{ font-size:19px; font-weight:600; line-height:1.3; }

  /* ---------- Signup form ---------- */
  .hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
  .form-grid{
    display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px 20px;
  }
  .field{ display:flex; flex-direction:column; gap:8px; grid-column: span 2; }
  .field-sm{ grid-column: span 1; }
  .field-wide{ grid-column: 1 / -1; }
  .field label{ font-size:13.5px; color: var(--muted); }
  .field input, .field select, .field textarea{
    background: var(--bg-alt2);
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--cream);
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    padding: 12px 14px;
    width: 100%;
  }
  .field textarea{ resize: vertical; min-height: 96px; }
  .field input:focus, .field select:focus, .field textarea:focus{
    outline: none; border-color: var(--gold);
  }
  .field select{ appearance:none; -webkit-appearance:none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c69a42' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat:no-repeat; background-position: right 14px center;
  }
  .consent{
    display:flex; align-items:flex-start; gap:12px; margin-top: 30px; cursor:pointer;
  }
  .consent input{ margin-top:4px; flex:none; width:16px; height:16px; accent-color: var(--red-bright); }
  .consent span{ font-size:14px; color:var(--muted); line-height:1.55; }
  .form-foot{ margin-top: 30px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
  .form-status{ font-size:14.5px; }
  .form-status.ok{ color: #8bb987; }
  .form-status.err{ color: #d9776a; }
  #submitBtn[disabled]{ opacity:0.6; cursor:default; }

  /* ---------- Coach ---------- */
  .coach-grid{ display:grid; grid-template-columns: 220px 1fr; gap: 48px; align-items:center; }
  .coach-avatar{
    width: 190px; height:190px; border-radius:50%;
    background: radial-gradient(circle at 32% 28%, #2a221a, var(--bg-alt2) 70%);
    border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    position:relative;
  }
  .coach-avatar::before{
    content:""; position:absolute; inset:14px; border-radius:50%; border:1px solid var(--gold);
    opacity:0.5;
  }
  .coach-avatar span{
    font-family:'Oswald',sans-serif; font-size:52px; color:var(--gold-soft); font-weight:600;
  }
  .coach-info h3{ font-size:26px; font-weight:600; }
  .coach-info .role{ color: var(--red-bright); font-size:14.5px; letter-spacing:0.04em; text-transform:uppercase; margin-top:6px; display:block; font-weight:600;}
  .coach-info p.desc{ margin-top:18px; color:var(--muted); font-size:16px; max-width:56ch; }
  .coach-contact{ margin-top:24px; display:flex; gap:14px; flex-wrap:wrap; }

  /* ---------- Gallery ---------- */
  .gallery-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
  .gallery-item{
    position:relative; aspect-ratio:4/3; overflow:hidden; border-radius:3px;
    border:1px solid var(--line); background:var(--bg-alt2); padding:0; cursor:pointer;
    font:inherit;
  }
  .gallery-item img{
    width:100%; height:100%; object-fit:cover; display:block;
    transition: transform .35s ease, filter .35s ease; filter:saturate(0.92);
  }
  .gallery-item:hover img{ transform:scale(1.045); filter:saturate(1); }
  .gallery-item .gallery-cap{
    position:absolute; left:0; right:0; bottom:0; padding:11px 13px 9px;
    font-size:12.5px; color:var(--cream); text-align:left; line-height:1.35;
    background:linear-gradient(0deg, rgba(10,8,7,0.82), transparent 90%);
  }
  .gallery-item.is-preview::before{
    content:"Előnézet"; position:absolute; top:8px; right:8px; z-index:2;
    background:var(--gold); color:#14110f; font-size:10.5px; font-weight:700;
    letter-spacing:.04em; padding:3px 8px; border-radius:2px;
  }
  .gallery-item .remove-btn{
    position:absolute; top:6px; left:6px; z-index:2; width:24px; height:24px; border-radius:50%;
    background:rgba(16,13,11,0.82); border:1px solid var(--line); color:#fff;
    display:flex; align-items:center; justify-content:center; font-size:14px; line-height:1;
  }
  .gallery-item .remove-btn:hover{ border-color: var(--red-bright); color: var(--red-bright); }

  .gallery-admin{ margin-top: 30px; padding-top: 26px; border-top:1px solid var(--line); }
  .gallery-note{ margin-top:12px; font-size:13px; color:var(--muted); max-width:64ch; line-height:1.6; }
  .gallery-note a{ color: var(--gold-soft); }

  .lightbox{
    position:fixed; inset:0; background:rgba(9,7,6,0.94); z-index:200;
    display:none; align-items:center; justify-content:center; flex-direction:column; padding:60px 90px;
  }
  .lightbox.is-open{ display:flex; }
  .lightbox img{ max-width:min(920px,84vw); max-height:68vh; border-radius:4px; box-shadow:0 25px 70px rgba(0,0,0,0.55); }
  .lightbox-caption{ color:var(--muted); margin-top:18px; font-size:14px; text-align:center; max-width:70ch; }
  .lightbox-close{
    position:absolute; top:22px; right:26px; background:none; border:1px solid var(--line);
    color:#fff; width:40px; height:40px; border-radius:50%; font-size:20px; line-height:1; cursor:pointer;
  }
  .lightbox-close:hover{ border-color:var(--gold); color:var(--gold-soft); }
  .lightbox-nav{
    position:absolute; top:50%; transform:translateY(-50%); background:none; border:1px solid var(--line);
    color:#fff; width:46px; height:46px; border-radius:50%; font-size:24px; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
  }
  .lightbox-nav.prev{ left:26px; } .lightbox-nav.next{ right:26px; }
  .lightbox-nav:hover{ border-color:var(--gold); color:var(--gold-soft); }

  /* ---------- Location / map ---------- */
  .loc-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items:stretch; }
  .loc-info .addr-line{ display:flex; gap:14px; margin-bottom:22px; align-items:flex-start; }
  .loc-info .addr-line svg{ flex:none; margin-top:3px; }
  .loc-info h4{ font-family:'Oswald',sans-serif; font-size:15px; text-transform:uppercase; letter-spacing:0.04em; color:var(--cream); margin-bottom:4px;}
  .loc-info p{ color:var(--muted); font-size:15px; }
  .map-frame{
    border-radius:4px; overflow:hidden; border:1px solid var(--line); min-height:340px;
    filter: grayscale(0.25) contrast(1.05);
  }
  .map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }

  /* ---------- Contact / footer ---------- */
  footer{ padding: 70px 0 40px; background: var(--bg-alt2); }
  .footer-grid{
    display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom:46px;
    border-bottom:1px solid var(--line);
  }
  .footer-brand{ display:flex; align-items:flex-start; gap:14px; }
  .footer-brand .brand-badge img{ height:40px; }
  .footer-brand p{ margin-top:14px; color:var(--muted); font-size:14.5px; max-width:32ch; }
  .footer-col h4{ font-family:'Oswald',sans-serif; font-size:14px; text-transform:uppercase; letter-spacing:0.05em; color:var(--gold-soft); margin-bottom:18px;}
  .footer-col a, .footer-col p{ display:block; color:var(--muted); font-size:14.5px; margin-bottom:10px; }
  .footer-col a:hover{ color:var(--cream); }
  .foot-bottom{ padding-top: 28px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
  .foot-bottom p{ color:#6f6357; font-size:13px; }

  /* ---------- Legal page (süti tájékoztató) ---------- */
  .legal-page{ padding: 90px 0 110px; }
  .legal-wrap{ max-width: 760px; }
  .legal-back a{ color: var(--gold-soft); font-size:14px; }
  .legal-back a:hover{ color: var(--cream); }
  .legal-page h2{ margin-top:18px; font-size: clamp(28px,3.4vw,36px); font-weight:600; }
  .legal-updated{ color: var(--muted); font-size:13px; margin-top:8px; }
  .legal-page h3{ font-size:18px; font-weight:600; color:var(--cream); margin-top:38px; margin-bottom:12px; }
  .legal-page p{ color: var(--muted); font-size:15.5px; line-height:1.75; margin-top:14px; }
  .legal-page p:first-of-type{ margin-top:22px; }
  .legal-page ul{ margin:14px 0 0; padding-left:20px; color:var(--muted); font-size:15.5px; line-height:1.75; }
  .legal-page li{ margin-bottom:10px; }
  .legal-page a{ color: var(--gold-soft); }
  .legal-page a:hover{ color: var(--cream); }
  .legal-page strong{ color: var(--cream); font-weight:600; }

  /* ---------- Cookie consent banner ---------- */
  .cookie-banner{
    position:fixed; left:18px; right:18px; bottom:18px; z-index:150;
    max-width: 760px; margin:0 auto;
    background: var(--bg-alt2); border:1px solid var(--line); border-radius:6px;
    padding: 18px 22px; box-shadow: 0 16px 44px rgba(0,0,0,0.45);
    display:flex; align-items:center; gap:20px; flex-wrap:wrap;
    transform: translateY(140%); transition: transform .45s ease;
  }
  .cookie-banner.is-visible{ transform: translateY(0); }
  .cookie-banner p{ flex:1 1 320px; margin:0; font-size:14px; color: var(--muted); line-height:1.6; }
  .cookie-banner a{ color: var(--gold-soft); }
  .cookie-banner a:hover{ color: var(--cream); }
  .cookie-banner .btn{ flex:none; padding:11px 22px; }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px){
    .hero-grid{ grid-template-columns:1fr; padding-top:60px; }
    .hero-visual{ order:-1; margin-bottom: 10px; }
    .ring-wrap{ width:220px; }
    .pillars .wrap{ grid-template-columns:1fr; }
    .pillar{ border-left:none; border-top:1px solid var(--line); padding: 26px 0; }
    .pillar:first-child{ border-top:none; }
    .about-grid, .coach-grid, .loc-grid{ grid-template-columns:1fr; }
    .comp-grid{ grid-template-columns:1fr 1fr; }
    .form-grid{ grid-template-columns: 1fr 1fr; }
    .field-sm{ grid-column: span 1; }
    .coach-grid{ text-align:left; }
    .schedule-card{ grid-template-columns:1fr; }
    .schedule-loc{ border-right:none; border-bottom:1px solid var(--line); }
    .footer-grid{ grid-template-columns:1fr; gap:36px; }
    nav.links{ display:none; }
    .menu-toggle{ display:inline-flex; align-items:center; justify-content:center; }
    .nav-cta{ display:none; }
  }
  @media (max-width:900px){
    header.open nav.links{
      display:flex; position:absolute; top:100%; left:0; right:0;
      background: var(--bg-alt2); flex-direction:column; gap:0;
      border-bottom:1px solid var(--line);
    }
    header.open nav.links a{ padding:16px 28px; border-top:1px solid var(--line); width:100%; }
    header.open .nav-cta{ display:none; }

    /* Mobilon a "Versenyeink" almenü mindig nyitva van, nincs külön kattintás */
    header.open .nav-dropdown{ border-top:1px solid var(--line); width:100%; }
    header.open .nav-dropdown-toggle{ width:100%; padding:16px 28px; justify-content:space-between; }
    header.open .nav-dropdown-toggle .chev{ display:none; }
    header.open .nav-dropdown-menu{
      position:static; display:block; opacity:1; visibility:visible; pointer-events:auto;
      transform:none; box-shadow:none; border:none; border-radius:0; background:rgba(0,0,0,0.18);
      padding:0 0 8px; min-width:0;
    }
    header.open .nav-dropdown-menu a{ padding:12px 28px 12px 42px; }
  }
  @media (max-width:520px){
    .schedule-loc, .schedule-days, .schedule-foot{ padding: 26px; }
    .coach-grid{ justify-items:center; text-align:center; }
    .coach-contact{ justify-content:center; }
    .hero h1{ font-size: 38px; }
    .comp-grid{ grid-template-columns:1fr; }
    .form-grid{ grid-template-columns: 1fr; }
    .field, .field-sm, .field-wide{ grid-column: 1 / -1; }
    .lightbox{ padding: 24px; }
    .lightbox-nav{ width:38px; height:38px; font-size:19px; }
    .lightbox-nav.prev{ left:10px; } .lightbox-nav.next{ right:10px; }
    .lightbox-close{ top:14px; right:14px; }
    .gallery-grid{ grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap:12px; }
    .cookie-banner{ left:12px; right:12px; bottom:12px; padding:16px 18px; flex-direction:column; align-items:stretch; text-align:left; }
    .cookie-banner p{ flex:none; }
    .cookie-banner .btn{ width:100%; justify-content:center; }
  }
