/* University of Jiu-Jitsu — estilo base */
:root {
  --black: #0d0d0d;
  --near-black: #161616;
  --white: #ffffff;
  --off-white: #f4f4f2;
  --gray: #6b6b6b;
  --light-gray: #e4e3e0;
  --accent: #2c7a63; /* verde petróleo */
  --accent-dark: #1f5c4a;
  --accent-tint: #a9d9cb; /* tono claro para texto de acento sobre fondo oscuro */
  --radius: 4px;
  --max-width: 1180px;
  --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 42px;
  font-size: 1.02rem;
}

section { padding: 88px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .section-sub { color: #b9b9b9; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-dark {
  border-color: var(--black);
  color: var(--black);
}
.btn-dark:hover { background: var(--black); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; filter: invert(0); }
.brand span {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-head);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.header-cta { display: flex; align-items: center; }
.nav-check { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 30px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.92) 100%),
              url('../img/02-equipo-completo-integracion.jpg') center/cover no-repeat;
}
.hero-content { max-width: 680px; padding-top: 76px; }
.hero-content .eyebrow { color: var(--accent-tint); }
.hero-content h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  margin-bottom: 22px;
}
.hero-content p {
  font-size: 1.12rem;
  color: #e7e7e5;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 28px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--white);
}
.hero-stats div span {
  font-size: 0.78rem;
  color: #c9c9c9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Instructor ---------- */
.instructor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.instructor-photo { position: relative; }
.instructor-photo img { border-radius: var(--radius); }
.instructor-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}
.instructor-badge strong { display: block; font-size: 1rem; }
.instructor-text h3 { font-size: 1.6rem; margin-bottom: 6px; }
.instructor-role { color: var(--accent); font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 20px; display: block; }
.instructor-text p { margin-bottom: 18px; color: #333; }
.instructor-points { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.instructor-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.instructor-points li::before {
  content: "";
  min-width: 8px; height: 8px; margin-top: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Clases ---------- */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.class-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.class-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,0.08); }
.class-card .num { font-family: var(--font-head); color: var(--light-gray); font-size: 2.2rem; margin-bottom: 10px; }
.class-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.class-card p { font-size: 0.92rem; color: var(--gray); }

.schedule-note {
  margin-top: 46px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.schedule-note .times { display: flex; gap: 34px; flex-wrap: wrap; }
.schedule-note .times div strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.schedule-note .times div span { font-size: 0.82rem; color: var(--gray); }

/* ---------- Horario semanal ---------- */
.schedule-wrap {
  margin-top: 46px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 8px;
  overflow-x: auto;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.schedule-table th, .schedule-table td {
  padding: 16px 18px;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--light-gray);
  white-space: nowrap;
}
.schedule-table thead th {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
  color: var(--white);
  background: var(--black);
}
.schedule-table thead th:first-child { border-top-left-radius: 3px; }
.schedule-table thead th:last-child { border-top-right-radius: 3px; }
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover td { background: var(--off-white); }
.schedule-table .time-col {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--near-black);
  background: var(--off-white);
}
.schedule-foot {
  padding: 18px 24px 10px;
  font-size: 0.88rem;
  color: var(--gray);
}
.schedule-foot a { color: var(--accent); font-weight: 600; }

/* ---------- Galería ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* ---------- Precios ---------- */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: stretch;
}
.price-card {
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.price-card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: var(--accent);
  opacity: 0.15;
  border-radius: 50%;
  top: -100px; right: -100px;
}
.price-card .plan-name { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: #cfcfcf; font-size: 0.88rem; }
.price-amount { font-family: var(--font-head); font-size: 3.4rem; margin: 14px 0 6px; }
.price-amount span { font-size: 1.1rem; color: #b9b9b9; }
.price-card ul { list-style: none; margin: 26px 0 30px; display: grid; gap: 12px; }
.price-card ul li { display: flex; gap: 10px; font-size: 0.95rem; color: #e6e6e6; }
.price-card ul li::before { content: "✓"; color: var(--accent); font-weight: 700; }

.pricing-side { display: grid; gap: 20px; }
.pricing-side .info-card {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.pricing-side .info-card h4 { font-size: 1rem; margin-bottom: 10px; }
.pricing-side .info-card p { color: var(--gray); font-size: 0.94rem; }

/* ---------- Comunidad / diferenciadores ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.diff-card { text-align: left; }
.diff-card .icon {
  width: 48px; height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 1.1rem;
}
.diff-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.diff-card p { color: #c7c7c7; font-size: 0.94rem; }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-list { display: grid; gap: 22px; margin: 28px 0 32px; }
.contact-list .item { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .item .label { font-family: var(--font-head); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 1px; color: var(--accent); display: block; margin-bottom: 4px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--light-gray); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #b3b3b3;
  padding: 46px 0 26px;
  font-size: 0.86rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 30px; }
.footer-links { display: flex; gap: 22px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25D366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
  z-index: 90;
  font-size: 1.6rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .instructor-grid, .contact-grid, .pricing-wrap { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }

  .site-header .container { height: 68px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13,13,13,0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links a {
    padding: 16px 24px;
    opacity: 1;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-check:checked ~ .nav-links { max-height: 400px; }
  .nav-check:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-check:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-check:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-cta .btn { padding: 11px 18px; font-size: 0.78rem; }
  .brand span { display: none; }

  .instructor-badge { left: 0; bottom: -14px; padding: 12px 16px; }

  .price-card { padding: 34px 28px; }
  .price-amount { font-size: 2.7rem; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .classes-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .hero-stats { gap: 24px; }
  .hero-content { padding-top: 68px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .schedule-note { flex-direction: column; align-items: stretch; text-align: center; }
  .price-amount { font-size: 2.3rem; }
  .price-card { padding: 28px 22px; }
  .wa-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}
