:root {
  --ink: #151515;
  --muted: #626975;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --line: #e4e7ec;
  --red: #d71920;
  --red-dark: #9f1218;
  --gold: #d6a84f;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #333943;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  background: #fff0f1;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.22);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #cfd4dc;
  box-shadow: none;
}

.hero .button.secondary,
.contact-band .button.secondary,
.callout .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.hero .button.secondary:hover,
.contact-band .button.secondary:hover,
.callout .button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(14, 15, 18, 0.96), rgba(14, 15, 18, 0.72), rgba(14, 15, 18, 0.16)),
    url("../images/club-grupo.jpg") center 44% / cover no-repeat;
}

.hero.compact {
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(14, 15, 18, 0.92), rgba(14, 15, 18, 0.62), rgba(14, 15, 18, 0.18)),
    url("../images/club-grupo.jpg") center 44% / cover no-repeat;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #ffd9dc;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 900;
}

.hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section {
  padding: 76px 0;
}

.section.soft {
  background: var(--soft);
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head > div {
  max-width: 760px;
}

.kicker {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
}

.lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.feature {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.portrait {
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  border: 1px solid var(--line);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.club-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 30px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.club-logo-card img {
  width: auto;
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.tatami-showcase {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  border: 1px solid var(--line);
}

.tatami-showcase img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 48%;
}

.callout {
  padding: 24px;
  background: #151515;
  color: #fff;
  border-radius: 8px;
}

.callout p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.text-flow p {
  margin: 0 0 18px;
  color: #3f4652;
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stat b {
  display: block;
  color: var(--red);
  font-size: 28px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-button {
  grid-column: span 3;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-button:hover img,
.gallery-button:focus img {
  transform: scale(1.04);
  opacity: 0.9;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 12, 17, 0.9);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1120px, 96vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.contact-band {
  background: #151515;
  color: #fff;
}

.contact-band .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.contact-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map {
  width: 100%;
  min-height: 440px;
  border: 0;
  border-radius: 8px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-row {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.info-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-row a,
.info-row strong {
  display: inline-block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  padding: 42px 0;
  background: #0f1115;
  color: #fff;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.site-footer strong {
  color: #fff;
}

.copyright {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav {
    width: 100%;
    min-height: auto;
    padding: 10px 16px 8px;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 4px;
    padding: 0 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 13px;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .hero.compact {
    min-height: 0;
    align-items: flex-end;
    background-position: 58% center;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(14, 15, 18, 0.52), rgba(14, 15, 18, 0.94)),
      url("../images/club-grupo.jpg") center 42% / cover no-repeat;
  }

  .hero.compact {
    background:
      linear-gradient(180deg, rgba(14, 15, 18, 0.50), rgba(14, 15, 18, 0.92)),
      url("../images/club-grupo.jpg") center 42% / cover no-repeat;
  }

  .hero-inner {
    padding: 58px 0 62px;
  }

  h1 {
    max-width: 680px;
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .hero p {
    max-width: 560px;
    font-size: 18px;
  }

  .section-head,
  .contact-band .wrap,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .grid.three,
  .grid.two,
  .stats {
    grid-template-columns: 1fr;
  }

  .portrait img {
    aspect-ratio: 16 / 10;
  }

  .club-logo-card {
    min-height: 440px;
  }

  .club-logo-card img {
    max-height: 390px;
  }

  .tatami-showcase img {
    aspect-ratio: 16 / 8;
  }

  .gallery-button {
    grid-column: span 6;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .nav {
    padding: 8px 12px 6px;
  }

  .brand {
    gap: 9px;
    font-size: 15px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .nav-links a {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(14, 15, 18, 0.46), rgba(14, 15, 18, 0.94)),
      url("../images/club-grupo.jpg") center 40% / cover no-repeat;
  }

  .hero.compact {
    background:
      linear-gradient(180deg, rgba(14, 15, 18, 0.48), rgba(14, 15, 18, 0.94)),
      url("../images/club-grupo.jpg") center 40% / cover no-repeat;
  }

  .hero-inner {
    width: min(var(--max), calc(100% - 28px));
    padding: 46px 0 44px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .eyebrow::before {
    width: 24px;
  }

  .hero p {
    margin-top: 16px;
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .section {
    padding: 44px 0;
  }

  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .section-head {
    margin-bottom: 24px;
  }

  .lead,
  .text-flow p {
    font-size: 16px;
  }

  .feature,
  .callout,
  .stat,
  .info-row {
    padding: 18px;
  }

  .portrait img {
    aspect-ratio: 4 / 3;
  }

  .club-logo-card {
    min-height: 360px;
    padding: 22px;
  }

  .club-logo-card img {
    max-height: 320px;
  }

  .tatami-showcase img {
    aspect-ratio: 4 / 3;
  }

  .gallery-grid {
    gap: 8px;
  }

  .gallery-button {
    grid-column: span 6;
    border-radius: 6px;
  }

  .map {
    min-height: 320px;
  }

  .footer-grid {
    gap: 18px;
  }
}

@media (max-width: 380px) {
  .nav {
    padding-left: 6px;
    padding-right: 6px;
  }

  .nav-links a {
    font-size: 11px;
    padding-inline: 8px;
  }

  h1 {
    font-size: 29px;
  }
}
