* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050505;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 178px;
}

nav {
  display: flex;
  gap: 19px;
}

nav a {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

nav a:hover {
  color: #f5c518;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: url("assets/gravel_cipreses.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.44), rgba(0,0,0,.15)),
    linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 90px;
}

.tag,
.small-title {
  color: #f5c518;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 22px;
  max-width: 820px;
  font-size: clamp(52px, 7vw, 104px);
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.035em;
}

h3 {
  margin: 0 0 12px;
  font-size: 25px;
}

p {
  color: #d4d4d4;
  font-size: 18px;
  line-height: 1.75;
}

.subtitle {
  max-width: 600px;
  font-size: 22px;
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: #f5c518;
  color: #000;
}

.secondary {
  border: 1px solid rgba(255,255,255,.38);
  color: #fff;
}

.section {
  padding: 100px 0;
}

.dark {
  background: #101010;
}

.black {
  background: #000;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.image-box {
  overflow: hidden;
  border: 1px solid rgba(245,197,24,.34);
  background: #111;
}

.image-box img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

blockquote {
  margin: 30px 0 0;
  color: #f5c518;
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.card {
  min-height: 235px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
}

.card span {
  display: block;
  margin-bottom: 18px;
  color: #f5c518;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured {
  border-color: rgba(245,197,24,.55);
}

.list {
  padding-left: 22px;
  color: #ddd;
  font-size: 18px;
  line-height: 2;
}

.gallery-section {
  background: #050505;
}

.gallery-intro {
  max-width: 760px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  margin-top: 38px;
}

.gallery-item {
  position: relative;
  min-height: 370px;
  margin: 0;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(245,197,24,.32);
}

.gallery-item.large {
  grid-row: span 2;
  min-height: 770px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px;
  background: linear-gradient(0deg, rgba(0,0,0,.88), transparent);
  color: #fff;
  font-weight: 900;
}

.yellow-section {
  background: #f5c518;
}

.dark-text {
  color: #000;
}

.socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.socials a {
  padding: 28px;
  background: #000;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.sponsors {
  background: #080808;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}

.sponsor {
  min-height: 210px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.sponsor img {
  max-height: 125px;
  width: auto;
}

.contact {
  position: relative;
  background: url("assets/cima_veleta.jpg") center center / cover no-repeat;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.74);
}

.contact-box {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

footer {
  padding: 40px 20px;
  text-align: center;
  background: #000;
}

footer img {
  width: 180px;
  margin: 0 auto 12px;
}

footer p {
  margin: 0;
  color: #aaa;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .brand img {
    width: 156px;
  }

  .nav {
    min-height: 74px;
  }

  .hero {
    min-height: 88vh;
    align-items: flex-end;
    background-position: center center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(0,0,0,.92), rgba(0,0,0,.35), rgba(0,0,0,.18));
  }

  .hero-content {
    padding: 150px 0 54px;
    max-width: 100%;
  }

  .tag,
  .small-title {
    font-size: 12px;
    letter-spacing: .13em;
  }

  h1 {
    font-size: clamp(42px, 13vw, 56px);
    line-height: .98;
    letter-spacing: -.035em;
    max-width: 100%;
  }

  .subtitle {
    font-size: 18px;
    max-width: 95%;
  }

  .buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    min-height: 54px;
    width: auto;
  }

  .section {
    padding: 70px 0;
  }

  .grid,
  .cards,
  .gallery-grid,
  .socials,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.large {
    min-height: 360px;
    grid-row: auto;
  }

  .image-box img {
    min-height: 360px;
  }
}
