:root {
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

body,
button,
input,
textarea,
select,
.font-body,
.font-sans {
  font-family: "Montserrat", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: "Playfair Display", Georgia, serif;
}

#root header a[href="#inicio"] > img {
  height: 80px;
  width: auto;
  max-width: none;
}

#root header nav a,
#root header nav button {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

#root header nav { gap: 26px; }

@media (max-width: 1023px) {
  #root header a[href="#inicio"] > img { height: 66px; }
}

#inicio.hero-with-video {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
}

#inicio.hero-with-video > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  max-width: 1320px;
  width: 100%;
  padding-top: 0;
  text-align: left;
}

#inicio.hero-with-video > .container > .max-w-4xl {
  order: 1;
  max-width: none;
  width: 100%;
  margin: 0;
}

#inicio.hero-with-video h1 {
  font-size: clamp(2.8rem, 5.25vw, 5.75rem);
  line-height: 1.04;
}

#inicio.hero-with-video .max-w-2xl {
  margin-left: 0;
  margin-right: 0;
}

#inicio.hero-with-video .justify-center {
  justify-content: flex-start;
}

#inicio.hero-with-video .grid-cols-3 {
  margin-left: 0;
  margin-right: 0;
}

#inicio.hero-with-video .grid-cols-3 .text-center {
  text-align: left;
}

#inicio.hero-with-video .hero-video-panel {
  order: 2;
  width: min(100%, 315px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  overflow: hidden;
  border-radius: 24px;
  border: 4px solid #e9b52f;
  background: #123e2b;
  box-shadow: 0 0 0 2px rgba(255,255,255,.20), 0 24px 70px rgba(0,0,0,.36);
}

#inicio.hero-with-video .hero-main-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  #inicio.hero-with-video {
    padding-top: 130px;
    padding-bottom: 90px;
  }
  #inicio.hero-with-video > .container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }
  #inicio.hero-with-video .hero-video-panel {
    width: min(100%, 260px);
    aspect-ratio: 9 / 16;
  }
  #inicio.hero-with-video h1 {
    font-size: clamp(2.6rem, 8vw, 4.5rem);
  }
  #inicio.hero-with-video .grid-cols-3 {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  #inicio.hero-with-video .hero-video-panel { aspect-ratio: 9 / 16; border-radius: 16px; }
  #inicio.hero-with-video h1 { font-size: 2.75rem; }
  #inicio.hero-with-video .max-w-2xl { font-size: 1.1rem; }
  #inicio.hero-with-video .grid-cols-3 { gap: 14px; }
  #inicio.hero-with-video .grid-cols-3 .text-center { text-align: center; }
}
