/* Club Felipe Marden — minimalist black / white / red theme */

:root {
  --black: #0d0d0d;
  --white: #ffffff;
  --red: #e10600;
  --red-dark: #b50500;
  --gray-bg: #f5f5f5;
  --gray-line: #e4e4e4;
  --gray-muted: #6b6b6b;
  --maxw: 1160px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 {
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--red);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 16px 32px;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--red); border-color: var(--red); }

.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--black); border-color: var(--black); }

.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--ghost-light:hover { background: var(--white); color: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand img {
  height: 46px;
  width: auto;
  background: var(--white);
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav a {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 4px 0;
}
.nav a:not(.nav-lang)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .2s ease;
}
.nav a:not(.nav-lang):hover::after { width: 100%; }
.nav-lang {
  border: 1px solid rgba(255,255,255,0.28);
  padding: 7px 14px !important;
  transition: border-color .2s ease, color .2s ease;
}
.nav-lang:hover { border-color: var(--red); color: var(--red); }

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--gray-line); }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  margin-bottom: 26px;
}
.hero h1 .accent { color: var(--red); }
.hero p {
  font-size: 1.15rem;
  color: var(--gray-muted);
  max-width: 34ch;
  margin: 0 0 38px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}
.hero-media::before {
  content: "";
  position: absolute;
  left: -18px; bottom: -18px;
  width: 120px; height: 120px;
  background: var(--red);
  z-index: -1;
}

/* ---------- Section frame ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.section-head p { color: var(--gray-muted); font-size: 1.1rem; margin: 16px 0 0; }

.section--dark { background: var(--black); color: var(--white); }
.section--dark .section-head p { color: #b5b5b5; }

/* ---------- Schedule ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-line);
  border-right: 0;
  border-bottom: 0;
}
.class-card {
  border-right: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 34px 30px;
  position: relative;
  transition: background .2s ease;
}
.class-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height .25s ease;
}
.class-card:hover { background: var(--gray-bg); }
.class-card:hover::before { height: 100%; }
.class-card .tag {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}
.class-card h3 { font-size: 1.5rem; margin-bottom: 18px; }
.class-card .days { color: var(--gray-muted); font-size: 0.98rem; margin: 0 0 6px; }
.class-card .time {
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact-info h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 20px; }
.contact-info > p { color: #b5b5b5; font-size: 1.1rem; max-width: 42ch; margin: 0 0 36px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 40px; }
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 1.05rem;
}
.contact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.contact-list svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--red); margin-top: 3px; }
.contact-map img {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  filter: grayscale(100%) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-line);
  padding: 40px 0;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 36px; width: auto; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-meta > span { font-size: 0.82rem; color: var(--gray-muted); }
.nocookies {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--black);
  border: 1px solid var(--gray-line);
  padding: 6px 12px;
}
.nocookies::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.8rem; color: var(--gray-muted); }
.footer-legal a:hover { color: var(--red); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-line);
  transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 16px; height: 16px; }
.footer-social a path { fill: var(--black); transition: fill .2s ease; }
.footer-social a:hover path { fill: var(--white); }

/* ---------- Legal pages ---------- */
.legal { padding: 80px 0 100px; }
.legal .container { max-width: 760px; }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 14px; }
.legal-updated {
  color: var(--gray-muted);
  font-size: 0.9rem;
  margin: 0 0 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-line);
}
.legal h2 {
  font-size: 1.35rem;
  margin: 44px 0 14px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
}
.legal p { margin: 0 0 16px; color: #2b2b2b; }
.legal ul { margin: 0 0 16px; padding-left: 22px; color: #2b2b2b; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--red); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal .back {
  display: inline-block;
  margin-top: 48px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--black);
  padding-bottom: 3px;
}
.legal .back:hover { color: var(--red); border-color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; padding-top: 60px; padding-bottom: 60px; }
  .hero-media { order: -1; max-width: 440px; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map { order: -1; }
  .section { padding: 72px 0; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-120%);
    transition: transform .28s ease;
    box-shadow: 0 16px 24px rgba(0,0,0,0.35);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nav-lang { border: 1px solid rgba(255,255,255,0.28); padding: 10px 14px !important; margin-top: 12px; width: auto; }
}

@media (max-width: 560px) {
  .schedule-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-legal { order: 3; width: 100%; justify-content: center; }
  .site-footer .container { justify-content: center; text-align: center; }
}
