:root {
  --negro: #0c0c0c;
  --blanco: #f7f7f2;
  --amarillo: #f2c94c;
  --rojo: #bf1e2e;
  --gris: #222;
  --max-ancho: 1120px;
  --sombra: 0 18px 45px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--blanco);
  background: var(--negro);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/fondoEsccalada1.png"), url("assets/fondoEscalada2.png");
  background-repeat: no-repeat, no-repeat;
  background-position: top center, bottom center;
  background-size: cover, cover;
  opacity: 0.5;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(130deg, rgba(0, 0, 0, 0.86), rgba(20, 20, 20, 0.82));
  z-index: -2;
}

.site-logo-watermark {
  position: fixed;
  right: -80px;
  bottom: -70px;
  width: 360px;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(94%, var(--max-ancho));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(11, 11, 11, 0.78);
  border-bottom: 1px solid rgba(242, 201, 76, 0.38);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blanco);
}

.brand img {
  width: 54px;
  height: auto;
}

.brand strong {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 1.6px;
  font-size: 1.8rem;
  line-height: 1;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--blanco);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

nav a:hover,
nav a.active {
  border-color: rgba(242, 201, 76, 0.9);
  color: var(--amarillo);
  background: rgba(191, 30, 46, 0.18);
}

.hero {
  position: relative;
  padding: 68px 0 60px;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 52px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-hint:hover {
  transform: translateX(-50%) translateY(2px);
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-hint-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--amarillo);
  border-bottom: 2px solid var(--amarillo);
  transform: rotate(45deg);
}

.scroll-hint-chevron + .scroll-hint-chevron {
  margin-top: -4px;
  opacity: 0.68;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero h1,
.section-title {
  margin: 0 0 12px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 2px;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.accent {
  color: var(--amarillo);
}

.hero p {
  margin: 0 0 22px;
  max-width: 60ch;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.badge {
  border: 1px solid rgba(242, 201, 76, 0.72);
  background: rgba(12, 12, 12, 0.7);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: 0.25s ease;
}

.btn-main {
  color: var(--negro);
  background: var(--amarillo);
}

.btn-main:hover {
  background: #ffd86d;
}

.btn-ghost {
  color: var(--blanco);
  border-color: rgba(247, 247, 242, 0.75);
}

.btn-ghost:hover {
  border-color: var(--rojo);
  color: var(--amarillo);
}

.visual-card {
  position: relative;
  border: 1px solid rgba(242, 201, 76, 0.4);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: var(--sombra);
  min-height: 420px;
}

.visual-card .main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.visual-card .boulder-hero {
  object-fit: contain;
  padding: 18px;
  background: rgba(0, 0, 0, 0.55);
}

.hero-match-photo {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(242, 201, 76, 0.38);
  display: block;
}

.visual-card .contact-triangle {
  object-fit: contain;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
}

.visual-card .floating-triangle {
  position: absolute;
  width: 140px;
  top: 20px;
  right: 16px;
  opacity: 0.45;
}

.visual-card .floating-boulder {
  position: absolute;
  width: 220px;
  left: -10px;
  bottom: -26px;
  opacity: 0.9;
}

.section {
  padding: 56px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.info-grid,
.cards-grid,
.columns-2 {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: rgba(16, 16, 16, 0.83);
  border: 1px solid rgba(247, 247, 242, 0.16);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--sombra);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--amarillo);
  font-size: 1.06rem;
}

.card p {
  margin-bottom: 0;
}

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(242, 201, 76, 0.38);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(8, 8, 8, 0.75);
  border-radius: 16px;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px 14px;
  text-align: left;
}

.schedule-table th {
  background: rgba(191, 30, 46, 0.4);
  color: var(--blanco);
}

blockquote.review {
  margin: 0;
  border-left: 4px solid var(--amarillo);
  padding: 12px 0 12px 14px;
  color: #ecece4;
}

blockquote.review small {
  color: #d6d6ce;
}

.review .stars {
  color: var(--amarillo);
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  background: rgba(12, 12, 12, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
}

.contact-list a {
  color: var(--amarillo);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-weight: 700;
  font-size: 0.95rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(242, 201, 76, 0.42);
  border-radius: 10px;
  background: rgba(8, 8, 8, 0.72);
  color: var(--blanco);
  padding: 10px 12px;
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(242, 201, 76, 0.72);
  outline-offset: 1px;
}

.contact-form .btn {
  justify-self: start;
}

footer {
  margin-top: 24px;
  border-top: 1px solid rgba(242, 201, 76, 0.3);
  background: rgba(0, 0, 0, 0.78);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
}

.socials {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: var(--blanco);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.socials a:hover,
.socials a:focus,
.socials a:visited,
.socials a:active {
  text-decoration: none !important;
}

.socials a:hover {
  transform: translateY(-2px);
}

.socials img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: transform 0.65s ease, opacity 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-media,
  .columns-2,
  .cards-grid,
  .info-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .visual-card {
    min-height: 360px;
  }

  .site-logo-watermark {
    width: 240px;
    right: -45px;
  }

  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0 14px;
  }

  nav ul {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 38px;
  }
}
