/* ============================================================
   SECTIONS — Disciplinas, Horarios, Profesor, Comunidad, Contacto
   ============================================================ */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 24px;
}

/* Barra táctica de sección: número rojo + línea roja de 1px */
.section__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.section__bar--pad { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding: 0 24px; }

.section__num {
  font-family: var(--font-title);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--red);
  line-height: 1;
  flex: none;
}

.section__rule {
  flex: 1;
  height: 1px;
  background: var(--red);
}

.section__head { margin-bottom: 48px; text-align: left; }

.section__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section__kicker::before { content: "— "; }

.section__title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------------- DISCIPLINAS ---------------- */
.disciplines { padding-top: 100px; }

.disciplines__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card military: borde izquierdo rojo sólido fijo, esquinas rectas,
   sin rotación ni desplazamiento. Hover: el borde crece a 6px y
   una línea roja crece de 0 a 100% en la parte superior. */
.disc-card {
  position: relative;
  background: #111;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  padding: 44px 40px;
  overflow: hidden;
  transition: border-left-width 0.3s ease-out, border-color 0.3s ease-out;
}

.disc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 0.3s ease-out;
}

.disc-card:hover { border-left-width: 6px; border-top-color: #333; }
.disc-card:hover::before { width: 100%; }

.disc-card__index {
  font-family: var(--font-title);
  font-size: 3rem;
  color: #2a2a2a;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.disc-card__title {
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.disc-card__text { color: var(--muted); margin-bottom: 24px; }

.disc-card__link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.disc-card__link:hover { color: var(--red); }

/* ---------------- HORARIOS ---------------- */
.schedule {
  background: var(--panel);
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Contener barra y cabecera dentro del ancho máximo, centradas */
.schedule .section__bar,
.schedule .section__head {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.schedule .section__head { text-align: center; }

/* Fight card / event schedule */
.fightcard {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 34px 30px;
}

.fightcard__day {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  margin-bottom: 18px;
}

.fightcard__rule { height: 1px; background: var(--line); }

.fightcard__list { padding: 6px 0; }

.fight {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 6px;
  border-bottom: 1px solid #1b1b1b;
}

.fight:last-child { border-bottom: none; }

.fight__time {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1;
  min-width: 128px;
  flex: none;
}

.fight__div {
  width: 1px;
  align-self: stretch;
  background: var(--line);
  flex: none;
}

.fight__name {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* La pelea destacada (MMA) en rojo */
.fight--main .fight__time,
.fight--main .fight__name { color: var(--red); }
.fight--main .fight__div { background: var(--red-dark); }

.schedule__note {
  max-width: 620px;
  margin: 44px auto 0;
  text-align: center;
  color: var(--muted);
}

.schedule__cta { text-align: center; margin-top: 28px; }

/* ---------------- PROFESOR ---------------- */
.teacher__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
}

.teacher__photo {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}

.teacher__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0) 55%, rgba(8,8,8,0.6) 100%);
}

.teacher__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.teacher__info .section__title { margin-bottom: 6px; }

.teacher__role {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}

.teacher__bio { color: var(--muted); margin-bottom: 28px; font-size: 1.02rem; }

.teacher__socials { display: flex; gap: 14px; }

.social-link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 20px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.social-link:hover { border-color: var(--red); color: var(--red); }

/* ---------------- COMUNIDAD ---------------- */
.community { max-width: none; padding-left: 0; padding-right: 0; }

.community__banner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto 64px;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: #000 url("../assets/portada.jpg") center/cover no-repeat;
  border: 1px solid var(--line);
  overflow: hidden;
}

.community__banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.4) 0%, rgba(8,8,8,0.9) 100%);
}

.community__banner-text {
  position: relative;
  z-index: 2;
  padding: 48px 40px;
}

.community__banner-text p { color: var(--muted); margin-top: 8px; }

.reviews {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  position: relative;
  background: #111;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-left-width 0.3s ease-out, border-color 0.3s ease-out;
}

.review::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 0;
  background: var(--red);
  transition: width 0.3s ease-out;
}

.review:hover { border-left-width: 6px; border-top-color: #333; }
.review:hover::before { width: 100%; }

.review__text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.review__author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.review__stars { color: var(--gold); font-size: 0.9rem; margin-top: 6px; letter-spacing: 2px; }

/* ---------------- CONTACTO ---------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.contact__info { display: flex; flex-direction: column; gap: 28px; }

.contact__item { border-left: 3px solid var(--red-dark); padding-left: 18px; }

.contact__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.contact__item p { color: var(--text); line-height: 1.6; }
.contact__item a:hover { color: var(--red); }

.contact__info .btn { align-self: flex-start; margin-top: 4px; }

.contact__map {
  min-height: 380px;
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(0.3) contrast(1.1);
}

.contact__map iframe { display: block; height: 100%; min-height: 380px; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .section { padding: 72px 24px; }
  .disciplines__grid { grid-template-columns: 1fr; }
  .teacher__grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .disc-card { padding: 36px 26px; }
  .community__banner-text { padding: 32px 26px; }
  .fightcard { padding: 26px 20px 22px; }
  .fight { gap: 14px; padding: 16px 2px; }
  .fight__time { min-width: 96px; }
}
