/* PatRol Gym Albertirsa, koncepcio-oldal. Motivum: a tatami-szog. */

@font-face {
  font-family: "Anybody";
  src: url("assets/fonts/anybody-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

@property --cutk {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --ink: #191A1C;
  --ink2: #212326;
  --ink3: #2A2D30;
  --concrete: #E5E6E4;
  --paper: #F2F2F0;
  --yellow: #E8D428;
  --dim-on-dark: #9AA0A0;
  --dim-on-light: #55595C;
  --line-dark: #3A3E41;
  --line-light: #C7C9C6;

  --cutmax: clamp(24px, 5.2vw, 74px);
  --cutk: 1;
  --cut: calc(var(--cutmax) * var(--cutk));

  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1180px;

  --display: "Anybody", "Arial Narrow", Arial, sans-serif;
  --body: "Onest", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--concrete);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.62;
  overflow-x: hidden;
  animation: tatami 1100ms cubic-bezier(.16,.84,.28,1) both;
}

@keyframes tatami {
  from { --cutk: 0; }
  to   { --cutk: 1; }
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.94;
  margin: 0;
}

p { margin: 0 0 1.05em; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---- a szignatura-motivum: ferde jel ---- */
.mark {
  display: inline-block;
  width: 26px;
  height: 9px;
  margin-right: 12px;
  background: var(--yellow);
  transform: skewX(-24deg);
  vertical-align: 1px;
}

/* ---- demo-sav ---- */
.demobar {
  margin: 0;
  padding: 9px var(--gut);
  background: var(--yellow);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

/* ---- fejlec ---- */
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(14px, 2.4vw, 28px);
  padding: 16px var(--gut);
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.wordmark {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-right: auto;
}
.wordmark__name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.wordmark__place {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-on-dark);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(12px, 1.8vw, 22px);
  order: 4;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--line-dark);
}
.topnav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim-on-dark);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.topnav a:hover, .topnav a:focus-visible { color: var(--concrete); border-bottom-color: var(--yellow); }

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 13px;
  color: var(--dim-on-dark);
}
.status__dot {
  width: 9px; height: 9px;
  background: var(--dim-on-dark);
  transform: skewX(-24deg);
  flex: none;
}
.status.is-open .status__dot { background: var(--yellow); }
.status.is-open .status__text { color: var(--concrete); }

.callbtn {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  color: var(--ink);
  background: var(--yellow);
  white-space: nowrap;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.callbtn:hover, .callbtn:focus-visible { background: var(--concrete); }

/* ---- hero ---- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 82vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  z-index: -2;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(76deg, rgba(25,26,28,.94) 0%, rgba(25,26,28,.82) 42%, rgba(25,26,28,.34) 78%, rgba(25,26,28,.18) 100%),
    linear-gradient(to top, rgba(25,26,28,.95) 0%, rgba(25,26,28,0) 46%);
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gut) calc(var(--cutmax) + 44px);
}
.kicker, .secnum {
  display: flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.7rem, 9vw, 5.4rem);
  max-width: 14ch;
  margin-bottom: 20px;
}
.hero__lead {
  font-size: clamp(17px, 1.9vw, 21px);
  max-width: 44ch;
  color: #D6D8D6;
  margin-bottom: 26px;
}
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__proof {
  margin: 0;
  font-size: 13.5px;
  color: var(--dim-on-dark);
  border-left: 3px solid var(--yellow);
  padding-left: 12px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn--solid { background: var(--yellow); color: var(--ink); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--concrete); }
.btn--ghost { background: rgba(229,230,228,.12); color: var(--concrete); box-shadow: inset 0 0 0 1px rgba(229,230,228,.5); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(229,230,228,.24); }

/* ---- ferde szekcio-elek ---- */
.slant {
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--cutmax));
  padding-top: calc(var(--cutmax) + clamp(52px, 7vw, 104px));
  padding-bottom: clamp(56px, 7vw, 108px);
  position: relative;
}

.slab--light { background: var(--concrete); color: var(--ink); }
.slab--dark  { background: var(--ink2); color: var(--concrete); }

.slab--light .secnum, .slab--light h2 { color: var(--ink); }
.slab--dark .secnum { color: var(--concrete); }

h2 {
  font-size: clamp(1.9rem, 4.3vw, 3.1rem);
  max-width: 20ch;
  margin-bottom: 24px;
}
h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.lead { font-size: clamp(16.5px, 1.6vw, 19px); }
.lead--narrow { max-width: 62ch; }
.slab--light .lead { color: #33383B; }
.slab--dark .lead { color: #D2D5D3; }

/* ---- ketthasabos szekcio ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
}
.split--rev .split__text { order: 2; }
.split--rev .split__fig { order: 1; }
.split__fig { margin: 0; }
.split__fig img {
  width: 100%;
  height: clamp(300px, 46vw, 540px);
  object-fit: cover;
  clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 calc(100% - var(--cut)));
}
.split__fig figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--dim-on-light);
}
.slab--dark .split__fig figcaption { color: var(--dim-on-dark); }

.plainlist {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line-light);
}
.slab--dark .plainlist { border-top-color: var(--line-dark); }
.plainlist li {
  padding: 11px 0 11px 40px;
  border-bottom: 1px solid var(--line-light);
  font-weight: 500;
  position: relative;
}
.slab--dark .plainlist li { border-bottom-color: var(--line-dark); }
.plainlist li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05em;
  width: 22px; height: 7px;
  background: var(--yellow);
  transform: skewX(-24deg);
}

.note { font-size: 14px; color: var(--dim-on-light); }
.note--dark, .slab--dark .note { color: var(--dim-on-dark); }
.note a { color: inherit; }

.acts { margin: 6px 0 26px; }

/* ---- KITOLTENDO doboz ---- */
.fillbox {
  border: 1px dashed var(--line-light);
  border-left: 4px solid var(--yellow);
  padding: 18px 20px;
  background: rgba(255,255,255,.42);
}
.fillbox p:last-child { margin-bottom: 0; }
.fillbox__label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.fillbox--dark { border-color: var(--line-dark); border-left-color: var(--yellow); background: rgba(0,0,0,.24); }
.fillbox p { font-size: 14.5px; }
.slab--light .fillbox p:not(.fillbox__label) { color: #33383B; }
.slab--dark .fillbox p:not(.fillbox__label) { color: #D2D5D3; }

/* ---- pult mikro-sav ---- */
.pult {
  background: var(--paper);
  color: var(--ink);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--cutmax));
  padding-top: calc(var(--cutmax) + clamp(46px, 5.4vw, 78px));
  padding-bottom: clamp(46px, 5.4vw, 78px);
}
.pult h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); max-width: 26ch; }
.pult__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 44px);
  margin-top: 30px;
}
.pult__item { border-top: 3px solid var(--ink); padding-top: 16px; }
.pult__item p { font-size: 15px; color: #33383B; }
.pult__item img {
  width: 100%;
  height: clamp(150px, 22vw, 240px);
  object-fit: cover;
  clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 calc(100% - var(--cut)));
}

/* ---- orarend tabla ---- */
.tablewrap { overflow-x: auto; margin: 26px 0 6px; -webkit-overflow-scrolling: touch; }
.scrollhint { display: none; font-size: 12.5px; color: var(--dim-on-dark); margin: 0 0 16px; }
@media (max-width: 700px) { .scrollhint { display: block; } }
.sched {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}
.sched caption {
  text-align: left;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-on-dark);
  padding-bottom: 12px;
}
.sched th, .sched td {
  text-align: left;
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}
.sched thead th {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--yellow);
  padding: 11px 16px 11px 12px;
  border-bottom: none;
}
.sched tbody th {
  font-weight: 700;
  white-space: nowrap;
  padding-left: 12px;
  border-left: 3px solid transparent;
}
.sched tbody tr.is-today th { border-left-color: var(--yellow); }
.sched tbody tr.is-today { background: rgba(232,212,40,.09); }
.todo {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--dim-on-dark);
}

/* ---- arak ---- */
.prices { margin: 30px 0 18px; max-width: 760px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
}
.price dt {
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 19px);
  flex: 1 1 auto;
  min-width: 0;
}
.price dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(19px, 2.4vw, 28px);
  white-space: nowrap;
  flex: none;
}
.price__sub {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--dim-on-light);
  letter-spacing: 0;
  text-transform: none;
}
.price--todo dd.todo {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  color: var(--dim-on-light);
}

/* ---- kapcsolat ---- */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: clamp(22px, 3vw, 40px);
  margin: 30px 0 34px;
}
.contact__block h3 {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--dim-on-dark);
  margin-bottom: 10px;
}
.contact__block p { margin: 0; }
.contact__block a { text-decoration: none; border-bottom: 2px solid var(--yellow); }
.contact__block a:hover, .contact__block a:focus-visible { color: var(--yellow); }
.big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.fb { display: inline-flex; align-items: center; gap: 9px; }

/* ---- lablec ---- */
.foot {
  background: var(--ink);
  color: var(--dim-on-dark);
  padding: clamp(40px, 5vw, 64px) 0 46px;
  font-size: 13.5px;
  border-top: 3px solid var(--yellow);
}
.foot__name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--concrete);
  margin-bottom: 6px;
}
.foot__addr { color: var(--concrete); }
.foot__credit { max-width: 68ch; }
.foot__demo { margin: 0; }

/* ---- finom feluszas ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---- reszponziv ---- */
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--rev .split__text { order: 1; }
  .split--rev .split__fig { order: 2; }
  .pult__grid { grid-template-columns: minmax(0, 1fr); }
  h1 { max-width: 18ch; }
}

@media (max-width: 560px) {
  .topbar { gap: 10px 14px; }
  .callbtn { order: 3; }
  .status { order: 2; width: auto; }
  .wordmark { width: auto; }
  .hero { min-height: 74vh; padding-top: clamp(48px, 16vw, 90px); }
  .split__fig img { height: clamp(260px, 62vw, 340px); }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
