:root {
  --ink: #0b0c0e;
  --ink-soft: #15171b;
  --panel: #1c1f24;
  --paper: #f3f0e9;
  --muted: #a7a9ad;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #e2342b;
  --accent-bright: #ff4c40;
  --gold: #e2c46c;
  --max: 1180px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.eyebrow { margin: 0 0 18px; color: var(--accent-bright); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.04em; }
h1, h2 { font-weight: 700; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.3rem, 8vw, 7.3rem); }
h2 { margin-bottom: 22px; font-size: clamp(2.6rem, 5vw, 5rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); }
em { color: var(--accent-bright); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.05em; }
.section-pad { padding: 120px 0; }
.section-pad--tight { padding-top: 92px; padding-bottom: 92px; }
.section-pad--dark { background: var(--ink-soft); }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-heading--row > * { max-width: 680px; }
.section-heading__aside { max-width: 330px !important; margin: 0 0 6px; color: var(--muted); }
.section-heading--light h2, .section-heading--light .section-heading__aside { color: var(--paper); }
.section-heading--light .section-heading__aside { color: #b8bbc0; }
.lead-copy { color: var(--paper); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.35; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; background: linear-gradient(to bottom, rgba(11, 12, 14, 0.92), rgba(11, 12, 14, 0.4), transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-weight: 900; letter-spacing: 0.11em; text-decoration: none; text-transform: uppercase; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { font-size: 0.88rem; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.54rem; letter-spacing: 0.22em; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 0.82rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:not(.nav-cta) { color: #cfd0d2; }
.nav-links a:not(.nav-cta):hover { color: var(--paper); }
.nav-cta { padding: 11px 15px; color: var(--ink); background: var(--paper); border-radius: 999px; }
.nav-cta:hover { background: var(--accent-bright); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); background: transparent; padding: 10px 14px; font: inherit; }
.menu-toggle__icon { display: inline-flex; flex-direction: column; gap: 4px; margin-left: 8px; vertical-align: middle; }
.menu-toggle__icon i { display: block; width: 15px; height: 1px; background: currentColor; }

.hero { position: relative; min-height: 860px; display: flex; align-items: center; overflow: hidden; background: #101114; }
.hero__backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 12, 14, 0.96) 10%, rgba(11, 12, 14, 0.62) 48%, rgba(11, 12, 14, 0.35) 100%), linear-gradient(0deg, rgba(11, 12, 14, 0.65), transparent 40%), url("assets/header.jpeg") center 36% / cover; filter: saturate(0.8); }
.hero::after { position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--ink)); content: ""; }
.hero__content { position: relative; z-index: 1; padding-top: 100px; }
.hero__lead { max-width: 610px; margin-bottom: 34px; color: #d5d6d8; font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 19px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--paper); background: var(--accent); }
.button--primary:hover { background: var(--accent-bright); }
.button--ghost { color: var(--paper); border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
.button--ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.12); }
.button--dark { color: var(--paper); background: var(--ink); }
.button--dark:hover { background: var(--accent); }
.button--outline { color: var(--paper); border-color: rgba(255, 255, 255, 0.32); }
.button--outline:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 76px; color: #bfc1c5; font-size: 0.82rem; }
.hero__proof span { display: flex; flex-direction: column; gap: 2px; padding-right: 28px; border-right: 1px solid var(--line); }
.hero__proof span:last-child { border-right: 0; }
.hero__proof strong { color: var(--paper); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hero__scroll { position: absolute; z-index: 1; right: 48px; bottom: 44px; display: flex; align-items: center; gap: 12px; color: #9b9da1; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll span { width: 1px; height: 56px; background: var(--accent); }

.intro { background: var(--ink); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 70px; }
.intro__copy { max-width: 500px; color: var(--muted); }
.intro__copy p:last-of-type { margin-bottom: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-size: 0.86rem; font-weight: 800; text-decoration: none; }
.text-link span { color: var(--accent-bright); transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }
.image-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr); gap: 24px; align-items: end; }
.image-feature figure { margin: 0; }
.image-feature__main { position: relative; }
.image-feature__main img { width: 100%; aspect-ratio: 1.1 / 1; object-fit: cover; border-radius: var(--radius); filter: saturate(0.85); }
.image-feature figcaption { position: absolute; right: 18px; bottom: 16px; padding: 8px 11px; color: var(--paper); background: rgba(11, 12, 14, 0.75); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; font-size: 0.72rem; }
.image-feature__side { display: grid; gap: 24px; }
.image-feature__side img { width: 100%; aspect-ratio: 0.96 / 1; object-fit: cover; border-radius: var(--radius); }
.pull-quote { margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); color: var(--accent-bright); font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1.1; }

.programs { background: var(--paper); color: var(--ink); }
.programs .eyebrow, .membership .eyebrow, .gallery-section .eyebrow, .contact .eyebrow { color: var(--accent); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid #c8c4bb; background: #c8c4bb; }
.program-card { min-height: 350px; padding: 32px; background: var(--paper); }
.program-card--feature { background: var(--accent); color: var(--paper); }
.program-card--feature .program-card__number, .program-card--feature .text-link { color: var(--paper); }
.program-card p:not(.program-card__number) { max-width: 280px; color: #5c5d60; }
.program-card--feature p:not(.program-card__number) { color: #f5d3cf; }
.program-card__number { margin-bottom: 74px; color: var(--accent); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.17em; text-transform: uppercase; }
.program-card h3 { max-width: 300px; margin-bottom: 14px; }
.program-card .text-link { color: var(--ink); }

.kids-program { color: var(--paper); background: var(--ink-soft); }
.kids-program__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); align-items: start; gap: 80px; }
.kids-program__intro { max-width: 540px; margin-bottom: 30px; color: #c3c5c9; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.45; }
.kids-program__details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.kids-program__benefits, .kids-program__times { padding: 26px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); }
.kids-program__label { margin-bottom: 20px; color: var(--accent-bright); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.benefit-list { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; color: #e2e3e5; }
.benefit-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.92rem; }
.benefit-list li span { color: var(--accent-bright); font-weight: 900; }
.kids-time-row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.kids-time-row:first-of-type { border-top: 0; padding-top: 0; }
.kids-time-row span { color: var(--paper); font-size: 1rem; font-weight: 800; }
.kids-time-row strong { color: #9ea1a6; font-size: 0.78rem; font-weight: 600; }
.kids-time-row time { color: var(--gold); font-size: 0.84rem; font-weight: 800; }
.kids-program__note { margin: 18px 0 0; color: #9ea1a6; font-size: 0.76rem; }

.instructors { background: var(--paper); color: var(--ink); }
.instructor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.instructor-card { background: #e8e5dd; }
.instructor-card__image { overflow: hidden; aspect-ratio: 0.9 / 1; background: #b9b5ac; }
.instructor-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(0.2); transition: transform 400ms ease; }
.instructor-card:hover .instructor-card__image img { transform: scale(1.03); }
.instructor-card__body { padding: 24px; }
.instructor-card__body .eyebrow { margin-bottom: 10px; }
.instructor-card__body h3 { margin-bottom: 12px; }
.instructor-card__body p { max-width: 285px; color: #5e6063; }
.instructor-card__asset { display: block; margin-top: 22px; color: #88877f; font-size: 0.68rem; letter-spacing: 0.04em; }

.schedule { color: var(--paper); }
.schedule-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 8px; color: #b8bbc0; font-size: 0.75rem; }
.schedule-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--paper); }
.legend-dot--nogi { background: #4da6ff; }
.legend-dot--beginner { background: var(--accent-bright); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.schedule-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.9rem; }
.schedule-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.schedule-table th, .schedule-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.schedule-table thead th { color: #b8bbc0; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.schedule-table tbody th { color: var(--accent-bright); font-weight: 800; }
.schedule-table tbody tr:last-child th, .schedule-table tbody tr:last-child td { border-bottom: 0; }
.schedule-table tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.schedule-table .row--beginner { background: rgba(226, 52, 43, 0.08); }
.schedule-table .row--openmat { background: rgba(226, 196, 108, 0.08); }
.tag { display: inline-block; color: #e5e7ea; font-size: 0.74rem; font-weight: 800; }
.tag--nogi { color: #78baff; }
.tag--mixed { color: var(--gold); }

.membership { background: var(--paper); color: var(--ink); }
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.price-card { display: flex; min-height: 345px; flex-direction: column; align-items: flex-start; padding: 25px; background: #e8e5dd; }
.price-card--highlight { color: var(--paper); background: var(--accent); }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; border-radius: 999px; color: var(--ink); background: #d0cbc0; font-size: 0.63rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.price-card--highlight .badge { color: var(--accent); background: var(--paper); }
.price-card h3 { margin-top: 48px; margin-bottom: 16px; font-size: 1.38rem; }
.price { margin-bottom: 15px; font-size: 1.55rem; font-weight: 900; letter-spacing: -0.04em; }
.price small { color: inherit; font-size: 0.74rem; font-weight: 600; letter-spacing: 0; opacity: 0.68; }
.price-card > p:not(.price) { color: #696a6d; font-size: 0.88rem; }
.price-card--highlight > p:not(.price) { color: #f5d3cf; }
.price-card .button { margin-top: auto; }

.gallery-section { background: var(--paper); color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 0.85fr; grid-template-rows: 250px 250px; gap: 14px; }
.gallery-tile { overflow: hidden; margin: 0; border-radius: var(--radius); background: #c2beb5; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78); transition: transform 500ms ease; }
.gallery-tile:hover img { transform: scale(1.035); }
.gallery-tile--large { grid-row: span 2; }
.gallery-tile--wide { grid-column: span 2; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: stretch; min-height: 220px; background: #202328; }
.product-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.product-card > div { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { margin-bottom: auto; color: #c4c6ca; }

.contact { background: var(--accent); }
.contact-panel { display: flex; align-items: end; justify-content: space-between; gap: 70px; }
.contact h2 { max-width: 700px; color: var(--paper); }
.contact .lead-copy { max-width: 590px; color: #f5d3cf; }
.contact-actions { display: flex; min-width: 250px; flex-direction: column; align-items: stretch; gap: 10px; }
.contact-actions .button--primary { color: var(--accent); background: var(--paper); }
.contact-actions .button--primary:hover { color: var(--paper); background: var(--ink); }

.site-footer { padding: 34px 0 22px; color: #a6a8ac; background: var(--ink); }
.site-footer__top, .site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer__bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.72rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.78rem; }
.social-links a { text-decoration: none; }
.social-links a:hover { color: var(--paper); }
.floating-whatsapp { position: fixed; z-index: 10; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 15px; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 999px; color: var(--paper); background: #138d4c; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); font-size: 0.74rem; font-weight: 900; text-decoration: none; }
.floating-whatsapp:hover { background: #16a957; transform: translateY(-2px); }

@media (max-width: 1040px) {
  .nav-links { gap: 16px; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card:last-child { grid-column: span 1; }
}

@media (max-width: 820px) {
  .shell { width: min(var(--max), calc(100% - 36px)); }
  .section-pad { padding: 82px 0; }
  .section-pad--tight { padding-top: 72px; padding-bottom: 72px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-links { position: absolute; left: 18px; right: 18px; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: rgba(21, 23, 27, 0.98); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 13px; }
  .nav-links .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: 760px; }
  .hero__backdrop { background-position: 62% center; }
  .hero__scroll { display: none; }
  .split-layout, .image-feature { grid-template-columns: 1fr; gap: 36px; }
  .image-feature__side { grid-template-columns: 1fr 1fr; align-items: end; }
  .pull-quote { padding-top: 0; border-top: 0; }
  .section-heading--row { display: block; }
  .section-heading__aside { margin-top: 20px; }
  .program-grid, .instructor-grid { grid-template-columns: 1fr; }
  .program-card { min-height: auto; }
  .program-card__number { margin-bottom: 42px; }
  .kids-program__grid { grid-template-columns: 1fr; gap: 42px; }
  .kids-program__details { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 220px; }
  .gallery-tile--large { grid-row: span 2; }
  .gallery-tile--wide { grid-column: span 2; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-panel { display: block; }
  .contact-actions { max-width: 360px; margin-top: 35px; }
}

@media (max-width: 560px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .nav { min-height: 72px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 0.75rem; }
  h1 { font-size: clamp(3rem, 15vw, 5.1rem); }
  h2 { font-size: clamp(2.4rem, 13vw, 4rem); }
  .hero { min-height: 720px; }
  .hero__content { padding-top: 88px; }
  .hero__proof { gap: 16px; margin-top: 54px; }
  .hero__proof span { padding-right: 16px; }
  .hero__proof span:last-child { flex-basis: 100%; padding-top: 3px; border-right: 0; }
  .image-feature__side { grid-template-columns: 1fr; }
  .pull-quote { padding-top: 5px; border-top: 1px solid var(--line); }
  .kids-program__details { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 300px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 230px); }
  .gallery-tile--large, .gallery-tile--wide { grid-column: auto; grid-row: auto; }
  .product-card { grid-template-columns: 0.85fr 1.15fr; }
  .site-footer__top, .site-footer__bottom { display: block; }
  .social-links { margin-top: 24px; }
  .site-footer__bottom span + span { display: block; margin-top: 8px; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
