/*! Sparta registracija – trenerio puslapis */

/* Layout: tamsus „kovos plakato“ viršus → šviesus (svetainės kreminis) „Apie“ → tamsus tvarkaraštis → šviesūs kiti treneriai */
.spt {
  --o: #E1141E;
  --o2: #FF2A33;
  --ink: #0d0d0f;
  --ink2: #131316;
  --card: #17171b;
  --line: #2a2a30;
  --txt: #f4f4f2;
  --mut: #a3a3a0;
  --cream: #F6F6F4;
  --cream2: #EDEDEB;
  --paper-line: #E4E4E2;
  --dark-txt: #1b1a17;
  --dark-mut: #6a6a68;
  --head: Antonio, 'Oswald', 'Bebas Neue', Impact, sans-serif;
  --body: Exo, 'Segoe UI', Arial, sans-serif;
  font-family: var(--body);
  color: var(--dark-txt);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
.spt *, .spt *::before, .spt *::after { box-sizing: border-box; }
.spt h1, .spt h2, .spt h3, .spt p { margin: 0; padding: 0; border: 0; background: none; text-shadow: none; }
.spt a { text-decoration: none; box-shadow: none; }
.spt svg { display: block; flex: 0 0 auto; }
.spt img { max-width: 100%; }

.spt-wrap {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

@keyframes sptUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sptPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ============ VIRŠUS ============ */
.spt-hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(1000px 600px at 90% 0%, rgba(225, 20, 30, .28), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(225, 20, 30, .10), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 16px),
    var(--ink);
  color: var(--txt);
}
.spt-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  background: var(--cream);
  -webkit-clip-path: polygon(0 100%, 100% 0, 100% 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.spt-hero-bg {
  position: absolute;
  inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  overflow: hidden;
  pointer-events: none;
}
.spt-hero-bg span {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(140px, 24vw, 420px);
  line-height: .8;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  user-select: none;
}
.spt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.spt-hero-photo {
  position: relative;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  animation: sptUp .6s cubic-bezier(.2, .8, .2, 1) both;
}
.spt-hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translate(18px, 18px);
  border: 2px solid var(--o);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}
.spt-hero-photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
  filter: none;
}
.spt-hero-tag {
  position: absolute;
  left: -10px;
  bottom: 34px;
  padding: 8px 16px;
  color: #fff;
  font-family: var(--head);
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.spt-hero-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  background: var(--o);
  transform: skewX(-14deg);
}

.spt-hero-txt { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; animation: sptUp .6s .08s cubic-bezier(.2, .8, .2, 1) both; }
.spt-crumb {
  align-self: flex-start;
  color: var(--mut) !important;
  font-family: var(--head);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.spt-crumb:hover { color: var(--o) !important; }
.spt-eyebrow {
  color: var(--o);
  font-family: var(--head);
  font-size: 16px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.spt .spt-name {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: var(--head);
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: 0;
}
.spt .spt-name span { font-weight: 400; font-size: clamp(38px, 5.4vw, 76px); letter-spacing: .04em; color: var(--txt); }
.spt .spt-name b { font-weight: 700; font-size: clamp(60px, 9.4vw, 136px); color: #fff; padding-top: .12em; }

.spt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spt-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 28px 16px 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.spt-stats > div:last-child { border-right: 0; margin-right: 0; }
.spt-stats b { color: #fff; font-family: var(--head); font-weight: 700; font-size: 40px; line-height: 1; }
.spt-stats span { color: var(--mut); font-size: 13px; letter-spacing: .04em; }

.spt-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.spt .spt-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 28px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.spt .spt-btn svg { width: 20px; height: 20px; transition: transform .25s ease; }
.spt .spt-btn--main {
  color: #fff !important;
  background: var(--o);
  -webkit-clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding: 0 38px;
}
.spt .spt-btn--main:hover { background: #e86c1f; }
.spt .spt-btn--main:hover svg { transform: translateX(5px); }
.spt .spt-btn--ghost {
  color: var(--txt) !important;
  border: 1px solid #3a3a42;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .06em;
}
.spt .spt-btn--ghost svg { width: 18px; height: 18px; color: var(--o); }
.spt .spt-btn--ghost:hover { border-color: var(--o); color: #fff !important; }
.spt .spt-btn--icon {
  width: 58px;
  padding: 0;
  color: var(--txt) !important;
  border: 1px solid #3a3a42;
}
.spt .spt-btn--icon svg { width: 22px; height: 22px; }
.spt .spt-btn--icon:hover { border-color: var(--o); color: var(--o) !important; }

/* ============ SKYRIŲ ANTRAŠTĖS ============ */
.spt-sechead { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(26px, 4vw, 44px); max-width: 760px; }
.spt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--o);
  font-family: var(--head);
  font-size: 15px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.spt-kicker::before { content: ''; width: 28px; height: 2px; background: var(--o); }
.spt .spt-sechead h2 {
  color: var(--dark-txt);
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: .95;
  text-transform: uppercase;
  text-wrap: balance;
}
.spt .spt-sechead h2 em { font-style: normal; color: var(--o); }
.spt-sechead p { max-width: 62ch; color: var(--dark-mut); font-size: 16px; line-height: 1.6; }
.spt-sechead--light h2 { color: #fff !important; }
.spt-sechead--light p { color: var(--mut); }

/* ============ APIE ============ */
.spt-bio { padding-block: clamp(48px, 7vw, 96px); background: var(--cream); }
.spt-bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
}
.spt-bio-card {
  position: relative;
  padding: 26px 26px 24px;
  background: #fff;
  border: 1px solid var(--paper-line);
  animation: sptUp .5s both;
}
.spt-bio-card::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 44px;
  height: 44px;
  background: linear-gradient(225deg, var(--o) 0 50%, transparent 50%);
}
.spt .spt-bio-card h3 {
  margin-bottom: 14px;
  padding-right: 34px;
  color: var(--dark-txt);
  font-family: var(--head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.spt-bio-txt { color: #3d3a33; font-size: 15px; line-height: 1.6; }
.spt-bio-txt p { margin: 0 0 10px; }
.spt-bio-txt p:last-child { margin-bottom: 0; }

/* ============ TVARKARAŠTIS ============ */
.spt-sched {
  position: relative;
  padding-block: clamp(56px, 8vw, 110px);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(225, 20, 30, .18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 16px),
    var(--ink2);
  color: var(--txt);
}
.spt-sched::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 60px;
  background: var(--cream);
  -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Savaitės tinklelis */
.spt-weekgrid-wrap {
  margin: 0 0 clamp(32px, 5vw, 56px);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
  padding-bottom: 6px;
}
.spt-weekgrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(136px, 1fr));
  gap: 8px;
  min-width: 980px;
}
.spt-wcol { display: flex; flex-direction: column; gap: 8px; }
.spt-wday {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 12px 10px;
  border-bottom: 2px solid var(--o);
  background: rgba(255, 255, 255, .03);
}
.spt-wday b { color: #fff; font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1; text-transform: uppercase; }
.spt-wday span { color: var(--mut); font-size: 12px; letter-spacing: .04em; }
.spt-wcol.is-empty .spt-wday { border-bottom-color: #3a3a40; }
.spt .spt-wslot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  color: var(--txt) !important;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.spt .spt-wslot:hover { border-color: var(--o); transform: translateY(-2px); background: #1c1c21; }
.spt-wslot b { color: #fff; font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1; }
.spt-wslot span { color: var(--txt); font-family: var(--head); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.spt-wslot i { font-style: normal; color: var(--o2); font-size: 12px; }
.spt .spt-wslot.is-full b { color: #8d8a82; }
.spt .spt-wslot.is-full i { color: var(--mut); }
.spt-wrest { padding: 12px; color: #55545a; font-family: var(--head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Grupių kortelės */
.spt-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.spt-gcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 20px 26px;
  background: linear-gradient(160deg, #1c1c21, var(--card));
  border: 1px solid var(--line);
  animation: sptUp .5s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 50ms);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.spt-gcard::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 5px; background: var(--o); }
.spt-gcard:hover { transform: translateY(-4px); border-color: rgba(225, 20, 30, .7); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.spt-gcard header { display: flex; flex-direction: column; gap: 6px; }
.spt .spt-gcard h3 { color: #fff; font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.spt-place { display: inline-flex; align-items: center; gap: 5px; color: var(--mut); font-size: 13px; }
.spt-place svg { width: 13px; height: 13px; color: var(--o); }
.spt-gtime { color: var(--cream); font-family: var(--head); font-weight: 700; font-size: 58px; line-height: .9; }
.spt-gcard > p { color: var(--mut); font-size: 15px; line-height: 1.55; flex: 1 1 auto; }

.spt-week { display: flex; flex-wrap: wrap; gap: 4px; }
.spt-week i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  color: #5c5b60;
  font-style: normal;
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid #2c2c32;
}
.spt-week i.on { color: #fff; background: var(--o); border-color: var(--o); }

.spt-gcard footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #2f2f35;
}
.spt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  color: var(--txt);
  font-family: var(--head);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(255, 255, 255, .05);
}
.spt-pill svg { width: 14px; height: 14px; }
.spt-pill.is-hot { color: #fff; background: rgba(225, 20, 30, .22); }
.spt-pill.is-hot svg { color: var(--o2); animation: sptPulse 1.2s ease-in-out infinite; }
.spt-pill.is-full { color: var(--mut); }
.spt-pill.is-ghost { color: var(--o); background: transparent; border: 1px solid rgba(225, 20, 30, .5); }

.spt .spt-gbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  color: #fff !important;
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--o);
  -webkit-clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .2s ease;
}
.spt .spt-gbtn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.spt .spt-gbtn:hover { background: #e86c1f; }
.spt .spt-gbtn:hover svg { transform: translateX(4px); }
.spt-gcard.is-full::before { background: #4a4a50; }
.spt-gcard.is-full .spt-gtime { color: #8d8a82; }
.spt-gcard.is-full .spt-week i.on { background: #3a3a40; border-color: #3a3a40; }
.spt .spt-gcard.is-full .spt-gbtn { background: #2a2a30; }
.spt .spt-gcard.is-full .spt-gbtn:hover { background: #3a3a42; }
.spt-gcard--personal {
  background: repeating-linear-gradient(135deg, rgba(225, 20, 30, .06) 0 10px, transparent 10px 20px), var(--card);
  border-style: dashed;
  border-color: rgba(225, 20, 30, .45);
}

.spt-nogroups {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 620px;
  padding: 28px;
  border: 1px dashed rgba(225, 20, 30, .45);
}
.spt-nogroups p { color: var(--txt); font-size: 16px; line-height: 1.6; }

/* ============ KITI TRENERIAI ============ */
.spt-others { padding-block: clamp(48px, 7vw, 96px); background: var(--cream); }
.spt-others-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 210px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.spt .spt-ocard {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  overflow: hidden;
  background: #222;
  scroll-snap-align: start;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.spt-ocard-img {
  position: absolute;
  inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #222 center top / cover no-repeat;
  filter: brightness(.94);
  transition: filter .4s ease, transform .5s ease;
}
.spt .spt-ocard::after {
  content: '';
  position: absolute;
  inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, .92), rgba(8, 8, 10, 0) 55%);
}
.spt .spt-ocard:hover .spt-ocard-img { filter: brightness(1.06); transform: scale(1.05); }
.spt-ocard-txt {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: var(--head);
  text-transform: uppercase;
  line-height: 1;
}
.spt-ocard-txt span { font-size: 15px; letter-spacing: .06em; opacity: .85; }
.spt-ocard-txt b { font-size: 22px; font-weight: 700; margin-top: 5px; line-height: 1.05; }

/* ============ TELEFONAS ============ */
@media (max-width: 900px) {
  .spt-hero-grid { grid-template-columns: 1fr; }
  .spt-hero-photo { max-width: 360px; }
  .spt-hero-txt { align-items: flex-start; }
}
@media (max-width: 600px) {
  .spt-hero { padding-top: 28px; }
  .spt-hero-photo { max-width: 78%; }
  .spt-hero-photo::before { transform: translate(10px, 10px); }
  .spt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .spt-stats > div { padding: 12px 10px 12px 0; margin-right: 12px; min-width: 0; }
  .spt-stats > div + div { padding-left: 0; }
  .spt-stats b { font-size: 30px; }
  .spt-stats span { font-size: 12px; line-height: 1.3; }
  .spt-cta-row { width: 100%; }
  .spt .spt-btn--main { flex: 1 1 100%; }
  .spt .spt-btn--ghost { flex: 1 1 auto; }
  .spt-groups { grid-template-columns: 1fr; }
  .spt-gtime { font-size: 48px; }
  .spt-bio-card { padding: 22px 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .spt *, .spt *::before, .spt *::after { animation: none !important; transition: none !important; }
}

/* Telefone „Kiti treneriai“ nuotraukos spalvotos ir paspaudus nesididina */
@media (hover: none), (max-width: 720px) {
  .spt-ocard-img,
  .spt .spt-ocard:hover .spt-ocard-img { filter: brightness(.92); transform: none; }
}

/* Treniruotės pabaigos laikas */
.spt-gtime small, .spt-wslot b small { font-size: .5em; opacity: .6; margin-left: 3px; font-weight: 600; letter-spacing: .02em; }

/* Salė savaitės tvarkaraštyje */
.spt-wslot .spt-wplace { display: block; margin-top: 3px; font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.spt-wslot:hover .spt-wplace { color: rgba(255, 255, 255, .85); }
