
:root {
  --blanco: #ffffff;
  --gris: #5e5f5e;
  --negro: #222222;
  --dorado: #dcc383;
  --verde-oscuro: #3a3f07;
}

@font-face {
  font-family: 'Niguella';
  src: url('../fonts/Niguella.ttf') format('truetype');
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8em;
  color: var(--negro);
  background-color: var(--blanco);
  text-align: left;
  overflow-x: hidden;
  box-sizing: border-box;
  transition: background-color 1s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.4em;
  line-height: 1.2em;
  margin-top: 10px;
  margin-bottom: 1.5em;
  color: var(--verde-oscuro);
}

strong {
  color: var(--negro);
}

a {
  color: var(--negro);
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: var(--dorado);
  text-decoration: none;
}

p {
  color: var(--negro);
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
  line-height: 1.5em;
}

p strong {
  font-weight: 700;
  color: var(--negro);
}

a {
  width: fit-content;
  color: var(--negro);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dorado);
}

ul {
  list-style: none;
  padding: 0;
  padding-left: 0;
  line-height: 1.8em;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
}

ol {
  font-family: "Montserrat", sans-serif;
  padding-left: 15px;
  line-height: 1.8em;
}

ul li,
ol li {
  font-size: 1em;
  line-height: 1.5em;
  color: var(--negro);
}

/*  -------  Custom scrollbar ------- */
body::-webkit-scrollbar {
  width: 10px;
  position: relative;
}

body::-webkit-scrollbar-track {
  background-color: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--negro);
  border-radius: 0;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: var(--dorado);
}

/* --------------  Selección de textos ---------------- */
::-moz-selection,
a::-moz-selection,
p::-moz-selection {
  color: var(--blanco);
  background-color: var(--negro);
  text-shadow: none;
}

::selection,
a::selection,
p::selection {
  color: var(--blanco);
  background-color: var(--negro);
  text-shadow: none;
}

h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection {
  color: var(--blanco);
  background-color: var(--negro);
  text-shadow: none;
}

/* Scroll */
.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ---------- MAIN ---------- */
#main {
  position: relative;
  width: 100%;
  height: 100vh;
}

#main .main-header {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 3.75em;
}

#main .main-header .main-logo a {
  font-family: "Montserrat", sans-serif;
  font-size: 2em;
  font-weight: 600;
  color: var(--verde-oscuro);
  margin: 0;
  transition: 1s all ease;
}

#main .main-header .main-logo a:hover {
  color: var(--dorado);
  transition: 0.3s all ease;
}

#main .main-header .main-navbar {
  display: flex;
  gap: 2em;
}

.navbar-link a {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8em;
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.4s ease;
}

.navbar-link a.nav-light {
  color: var(--blanco);
}

.navbar-link a.nav-dark {
  color: #444444;
}

.navbar-link a:hover {
  color: var(--dorado);
}

#main .main-bg {
  width: 100%;
  height: 100%;
  display: flex;
}

#main .col-left {
  width: 55%;
  height: 100%;
}

#main .col-right {
  width: 45%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

#main .col-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#main .col-right .white-box {
  width: 100px;
  height: 100px;
  background-color: var(--blanco);
  position: absolute;
  bottom: 0;
  left: 0;
}

#main .main-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


#main .main-title .name p {
  position: relative;
  display: inline-block;
  font-family: "Fraunces", serif;
  font-size: 16vw;
  color: var(--verde-oscuro);
  margin: 0;
  white-space: nowrap;
  visibility: hidden;
}

#main .main-title .name p span {
  position: relative;
  z-index: -1;
  display: inline-block;
  font-family: 'Niguella', sans-serif;
  font-size: 20vw;
  color: var(--dorado);
  margin: 0;
  margin-left: -3.6vw;
  visibility: hidden;
}

/* ---------- ABOUT ---------- */
#about {
  padding: 6em 0 0 0;
}

.about-content {
  padding-top: 8em;
  padding-bottom: 6em;
}

.about-content.no-pad {
  padding-top: 0;
}

.generic-text.in-about {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.generic-text.in-about p {
  font-family: "Montserrat", sans-serif;
  color: var(--gris);
  font-size: 2em;
  font-weight: 600;
  text-align: left;
}
.hidh1 h1{
  font-size: 0.01em;
  color: transparent;
  opacity: 0;
  line-height: 0;
  margin: 0;
}

.about-img {
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.about-img img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.generic-text {
  padding-top: 4em;
}

.generic-text.pad-right {
  padding-right: 4em;
}

.generic-text.pad-left {
  padding-left: 4em;
}

.generic-text p {
  font-family: "Montserrat", sans-serif;
  color: var(--gris);
  font-size: 1.35em;
  font-weight: 600;
  text-align: left;
}

.generic-text strong {
  font-size: 1.5em;
  /* color: var(--verde-oscuro); */
  color: #cabd66;
}

span.light {
  color: var(--dorado);
  font-size: 1.5em;
}

.generic-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  height: 500px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 0 auto;
}

.generic-img img {
  width: 110%;
  height: auto;
}

.two-img {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
}

.two-img img {
  display: inline-block;
  width: 100%;
  height: auto;
  margin-bottom: 4em;
}

.two-img .img1 {
  max-width: 40%;
  position: absolute;
  left: 4%;
  top: 15%;
}

.two-img .img2 {
  max-width: 50%;
  position: absolute;
  right: 20%;
  top: 40%;
}

/* ---------- FOOTER ---------- */
.page-footer {
  position: relative;
  width: 100%;
  height: 300px;
  background: linear-gradient(to left,
      #cbb37a 0%,
      #d6c18d 35%,
      #e2d2a8 70%,
      #e7d8b0 100%);
  display: flex;
  justify-content: center;
  align-items: end;
  margin-top: 6em;
}

.page-footer .white-box {
  width: 100px;
  height: 100px;
  background-color: var(--blanco);
  position: absolute;
  top: 0;
  right: 0;
}

.page-footer .footer-text {
  text-align: center;
  padding-bottom: 1em;
}

.page-footer .footer-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.1em;
  color: var(--blanco);
  text-align: center;
  margin-bottom: 0.4em;
}

.page-footer .footer-text a {
  font-family: "Montserrat", sans-serif;
  color: var(--gris);
  font-size: 1.3em;
  font-weight: 600;
}

.page-footer .footer-text a:hover {
  color: var(--blanco);
}

.page-footer .footer-text p {
  margin-top: 3em;
}

/* ---------- GALLERY ---------- */
.bgo-gallery {
  width: 100%;
  height: auto;
}

.bgo-gallery-item {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: transparent;
  padding: 0.7em 0;
  transition: 0.4s ease;
}

.bgo-gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

.bgo-gallery-item:hover {
  transform: scale(1.04);
  opacity: 0.7;
}

.bgo-gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

.bgo-gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.bgo-gallery-lightbox img {
  max-width: 80%;
  max-height: 85vh;
  border-radius: 6px;
  animation: bgoZoom .3s ease;
}

@keyframes bgoZoom {
  from {
    transform: scale(.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.bgo-gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--blanco);
  font-size: 65px;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.bgo-gallery-close:hover {
  color: var(--dorado);
  transform: scale(1.1);
}

.bgo-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: var(--gris);
  color: var(--blanco);
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s ease;
  backdrop-filter: blur(6px);
}

.bgo-gallery-btn:hover {
  background: var(--dorado);
}

.bgo-gallery-prev {
  left: 30px;
}

.bgo-gallery-next {
  right: 30px;
}

.gallery-padleft {
  padding-left: 16%;
}

.gallery-padleft .bgo-gallery-item img {
  width: 90%;
}