/* BJJ page — additional styles */

/* Hero tweaks */
.hero--bjj::before {
  border-color: rgba(245, 184, 46, .12);
}

.hero__visual--wide {
  width: min(100%, 480px);
}

.hero__visual--wide .hero__image-wrap {
  height: min(58vh, 470px);
  min-height: 380px;
}

.hero__visual--wide .hero__image-wrap img {
  object-position: center 42%;
}

/* Strela brand */
.brand__mark--strela,
.brand--footer .brand__mark--strela {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
}

.brand__mark--strela img {
  filter: invert(1);
}

/* Coach */
.team {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.team__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.team__head h2 {
  margin-top: 15px;
  font-family: "Unbounded", "Arial Black", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.team__slogan {
  color: var(--ink);
  font-family: "Unbounded", "Arial Black", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-align: right;
}

.team__slogan span {
  color: var(--muted);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coach {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 38px);
}

.coach__photo {
  grid-row: span 2;
}

.coach__photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.coach__photo img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(.8) contrast(1.08);
}

.coach__photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coach__main {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.coach__main h3 {
  margin-top: 14px;
  font-family: "Unbounded", "Arial Black", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.25;
}

.coach__main p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.coach__main .button {
  margin-top: 26px;
}

.team__blocks--coach {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
}

.team__blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.team-block {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.team-block h3 {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.team-block ul {
  display: grid;
  gap: 11px;
  margin-top: 18px;
  list-style: none;
}

.team-block li {
  color: var(--muted);
  font-size: 14px;
}

.team-block li b {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.team-block--accent {
  background: var(--ink);
}

.team-block--accent h3 {
  color: var(--yellow);
}

.team-block--accent p {
  margin-top: 16px;
  color: rgba(255, 253, 249, .68);
  font-size: 13px;
  line-height: 1.75;
}

.team__links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* About */
.bjj-about {
  background: var(--paper);
}

.bjj-about__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
}

.bjj-about .section-intro > p:not(.kicker) {
  max-width: 480px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.bjj-about .section-intro .text-link {
  margin-top: 30px;
}

.bjj-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bjj-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

.bjj-card:hover {
  border-color: rgba(227, 6, 19, .35);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.bjj-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: rgba(227, 6, 19, .09);
  color: var(--red);
  font-size: 20px;
}

.bjj-card h3 {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.bjj-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Schedule */
.bjj-schedule {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-light);
}

.bjj-schedule__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}

.bjj-schedule__day b,
.bjj-schedule__day span {
  display: block;
}

.bjj-schedule__day b {
  font-family: "Unbounded", "Arial Black", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.bjj-schedule__day span {
  margin-top: 4px;
  color: var(--yellow);
  font-size: 15px;
  font-weight: 800;
}

.bjj-schedule__groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.bjj-schedule__groups span {
  padding: 9px 16px;
  border: 1px solid rgba(255, 253, 249, .32);
  border-radius: 999px;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.bjj-schedule__note {
  margin-top: 20px;
  color: rgba(255, 253, 249, .5);
  font-size: 12px;
  line-height: 1.7;
}

.bjj-schedule__note b {
  color: var(--yellow);
  font-weight: 700;
}

/* First class */
.bjj-first__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.bjj-first__content h2 {
  margin-top: 15px;
  font-family: "Unbounded", "Arial Black", sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.bjj-first__content h2 span {
  color: var(--red);
}

.bjj-checklist {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  list-style: none;
}

.bjj-checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
}

.bjj-checklist li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(227, 6, 19, .12);
  color: var(--red);
  content: "✓";
  font-size: 11px;
  font-weight: 800;
}

.bjj-first__content .button {
  margin-top: 34px;
}

.bjj-first__card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.bjj-first__card h3 {
  margin-top: 16px;
  font-family: "Unbounded", "Arial Black", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.05em;
}

.bjj-first__card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.bjj-first__meta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.bjj-first__meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bjj-first__meta b {
  color: var(--red);
  font-family: "Unbounded", "Arial Black", sans-serif;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 960px) {
  .bjj-about__grid,
  .bjj-first__grid,
  .team__blocks,
  .coach {
    grid-template-columns: 1fr;
  }

  .coach__photo {
    grid-row: auto;
  }

  .coach__photo img {
    height: 380px;
  }

  .team__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .team__slogan {
    text-align: left;
  }
}

@media (max-width: 850px) {
  .hero__visual--wide {
    margin-left: 8%;
  }
}

@media (max-width: 620px) {
  .hero__visual--wide {
    width: calc(100% - 20px);
    margin-left: 10px;
  }

  .hero__visual--wide .hero__image-wrap {
    height: 380px;
    min-height: 0;
  }

  .bjj-cards {
    grid-template-columns: 1fr;
  }

  .team__blocks {
    gap: 14px;
  }

  .coach__main {
    padding: 24px 20px;
  }

  .bjj-card {
    padding: 22px 20px;
  }

  .bjj-schedule__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 22px 0;
  }

  .bjj-schedule__groups {
    justify-content: flex-start;
  }

  .bjj-first__card {
    padding: 24px 20px;
  }
}
