/* =========================================================
   CV Jiu Jitsu — Minimal (Apple tone)
   Palette: white / black / gray
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --line-2: #e8e8ed;

  --radius: 980px;
  --radius-card: 18px;

  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
          "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

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

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.muted { color: var(--ink-2); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-2);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__links a {
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav__cta:hover { opacity: .88; }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
  will-change: transform;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: clamp(80px, 14vw, 160px) 0 clamp(80px, 12vw, 140px);
  text-align: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--ink-2);
  margin: 0 0 24px;
  font-weight: 500;
}

.hero__title {
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 auto 28px;
  max-width: 14ch;
}

.hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto 40px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__foot {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  letter-spacing: 0;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid var(--line-2);
}

.section--alt {
  background: var(--bg-alt);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
  margin: 0 0 16px;
}

.section__title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 64px;
  max-width: 22ch;
}

/* =========================================================
   GRID / CARDS
   ========================================================= */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.section--alt .card { background: #fff; }
.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.card__num {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.card h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.card p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   PROGRAMAS
   ========================================================= */
.program {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  padding: 36px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.program:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.program h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.program__desc {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 20px;
  line-height: 1.55;
}
.program__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
  font-size: 14px;
  color: var(--ink-3);
}
.program__meta li {
  padding: 4px 0;
}
.program__meta li::before {
  content: "—";
  margin-right: 10px;
  color: var(--ink-3);
}

/* =========================================================
   STEPS
   ========================================================= */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  background: #fff;
  transition: border-color .25s var(--ease);
}
.step:hover { border-color: var(--ink); }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.step p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   INSTRUCTOR
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: -16px 0 72px;
  padding: 40px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; gap: 36px; }
}
.stat__num {
  font-size: clamp(56px, 9vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__num span {
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 2px;
}
.stat__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  margin-top: 14px;
  font-weight: 500;
}

.bio {
  max-width: 720px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
}
.bio p { margin: 0 0 20px; }
.bio__lead {
  font-size: clamp(19px, 2vw, 23px) !important;
  color: var(--ink) !important;
  line-height: 1.5 !important;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 24px !important;
}

.achievements {
  list-style: none;
  padding: 8px 0;
  margin: 8px 0 28px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.achievements li {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.achievements li:last-child { border-bottom: 0; }
.achievements__pos {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 600;
}
.achievements sup { font-size: 0.7em; top: -0.4em; }

@media (max-width: 600px) {
  .achievements li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.bio__quote {
  border-left: 2px solid var(--ink);
  padding: 4px 0 4px 20px;
  font-size: clamp(17px, 1.8vw, 20px) !important;
  color: var(--ink) !important;
  line-height: 1.5 !important;
  margin-top: 32px !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* =========================================================
   SCHEDULE
   ========================================================= */
.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .schedule { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .schedule { grid-template-columns: 1fr; }
}

.day {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.day:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.day__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.day__classes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.class {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.class:last-child { border-bottom: 0; padding-bottom: 0; }
.class:first-child { padding-top: 0; }
.class__time {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  min-width: 52px;
  line-height: 1.4;
}
.class__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.class__level {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}
.class__level sup {
  font-size: 10px;
  color: var(--ink-3);
  margin-left: 1px;
  top: -0.4em;
}
.class__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.class__mod {
  color: var(--ink-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.class__tatami {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--ink);
  padding: 2px 7px;
  border-radius: var(--radius);
  line-height: 1.4;
}
.class__tatami--2 {
  color: var(--ink-2);
  background: var(--line-2);
}

.schedule__legend {
  margin-top: 32px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.schedule__legend p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
}
.schedule__legend span {
  color: var(--ink);
  font-weight: 600;
  margin-right: 6px;
}

.schedule__note {
  font-size: 13px;
  color: var(--ink-3);
  margin: 20px 0 0;
  text-align: center;
}

/* =========================================================
   UBICACIÓN
   ========================================================= */
.location {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .location { grid-template-columns: 1fr; }
}
.location__info h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 8px;
  font-weight: 500;
}
.location__info p {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 28px;
  line-height: 1.55;
}
.location__info p .muted {
  font-size: 15px;
  color: var(--ink-3);
}
.location__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.location__map {
  min-height: 340px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-alt);
}
.location__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 340px;
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}
.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line-2);
}
.faq__item {
  border-bottom: 1px solid var(--line-2);
  background: transparent;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 56px 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: #000; }
.faq__item summary > span:first-child { flex: 1; }

.faq__icon {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  left: 50%;
  top: 50%;
}
.faq__icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__body {
  padding: 0 4px 28px;
  max-width: 700px;
  animation: faqOpen .35s var(--ease);
}
.faq__body p {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
}
.faq__body p:last-child { margin-bottom: 0; }
.faq__body strong { color: var(--ink); font-weight: 600; }
.faq__cta {
  display: inline-block;
  margin-top: 6px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity .2s var(--ease);
}
.faq__cta:hover { opacity: .7; }

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq__after {
  text-align: center;
  margin-top: 56px;
}
.faq__after p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 18px;
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta {
  background: var(--ink);
  color: #fff;
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
}
.cta__inner { max-width: 780px; }
.cta__title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 20px;
}
.cta .muted { color: #a1a1a6; }
.cta__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: #a1a1a6;
  margin: 0 0 36px;
}
.cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn--primary {
  background: #fff;
  color: var(--ink);
}
.cta .btn--primary:hover { background: #f5f5f7; }
.cta .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.cta .btn--ghost:hover { border-color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line-2);
  padding: 40px 0;
  background: #fff;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
}
.footer__brand img {
  height: 48px;
  width: auto;
  display: block;
}
.footer__links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer__links a:hover { color: var(--ink); }
.footer__legal {
  font-size: 12px;
  color: var(--ink-3);
}

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  z-index: 40;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.wa-fab:hover {
  transform: translateY(-2px);
  background: #000;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .card:hover, .program:hover, .step:hover { transform: none; }
}
