@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/dm-sans.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-700.woff2') format('woff2');
}

:root {
  --background: #0b0907;
  --foreground: #f7f5f1;
  --card: #14110f;
  --primary: #e9d1a8;
  --primary-foreground: #0b0907;
  --secondary: #1d1a17;
  --secondary-foreground: #e9d1a8;
  --muted: #181513;
  --muted-foreground: #b4ada4;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 0.75rem;
  --sans: 'DM Sans', sans-serif;
  --serif: 'Playfair Display', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  background: transparent;
  border-color: rgba(247, 245, 241, 0.2);
  color: var(--foreground);
}
.btn-outline:hover { background: rgba(247, 245, 241, 0.06); }
.btn-large { padding: 1.1rem 2.5rem; font-size: 0.85rem; }
.btn-small { padding: 0.55rem 1.5rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(11, 9, 7, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  height: 5rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a:not(.btn) {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(247, 245, 241, 0.7);
  transition: color 0.2s ease;
}
.nav-desktop a:not(.btn):hover { color: var(--primary); }
.nav-toggle {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.nav-mobile.open { display: flex; }
.nav-mobile a:not(.btn) {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
}
.nav-mobile .btn { align-self: flex-start; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(11, 9, 7, 0.55);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 56rem;
}
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 0.98;
  margin: 0;
}
.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(247, 245, 241, 0.75);
}
.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

/* Ticker */
.ticker {
  background: var(--primary);
  padding: 1.1rem 1.5rem;
}
.ticker p {
  margin: 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-foreground);
}

/* Generic sections */
section { padding: 6rem 0; }
.grid-2 {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 1rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin: 0;
}
.body-text {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.img-rounded {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 0 auto;
  object-fit: cover;
}
.aspect-portrait { aspect-ratio: 4 / 3; }
.aspect-square { aspect-ratio: 4 / 3; }

/* Full-bleed banner */
.banner {
  position: relative;
  height: 50vh;
  min-height: 380px;
  padding: 0;
}
.banner-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute; inset: 0;
  background: rgba(11, 9, 7, 0.5);
}
.banner-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

/* Why padel cards */
.section-heading { text-align: center; margin-bottom: 4rem; }
.cards {
  display: grid;
  gap: 3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0;
}

.whats-on { background: var(--secondary); }

/* FAQ */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.faq-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0;
}

/* Register section */
.register {
  position: relative;
  padding: 0;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.register-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.register-overlay {
  position: absolute; inset: 0;
  background: rgba(11, 9, 7, 0.72);
}
.register-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 1.5rem;
  max-width: 34rem;
}
.register-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.form-row input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(247, 245, 241, 0.2);
  background: rgba(247, 245, 241, 0.06);
  color: var(--foreground);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.form-row input::placeholder { color: rgba(247, 245, 241, 0.45); }
.form-row input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(247, 245, 241, 0.1);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.register-form .btn { margin-top: 0.5rem; width: 100%; }
.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: rgba(247, 245, 241, 0.5);
}
.form-status {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.2em;
}
.form-status.success { color: #62bb78; }
.form-status.error { color: #ff8a8a; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand .brand { display: block; margin-bottom: 1rem; }
.footer-brand p { max-width: 24rem; color: var(--muted-foreground); font-size: 0.9rem; }
.footer-heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(247, 245, 241, 0.7);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.94); }
.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
