:root {
  /* Colores base */
  --bulma-primary-h: 207;
  /* Hue */
  --bulma-primary-s: 28%;
  /* Saturation */
  --bulma-primary-l: 18%;
  /* Lightness */

  --bulma-dark-h: 207;
  /* Hue */
  --bulma-dark-s: 28%;
  /* Saturation */
  --bulma-dark-l: 18%;
  /* Lightness */

  /* o directamente en hex */
  --bulma-primary: #22333b;

  /* Texto */
  --bulma-text: #5d4f3f;
  --bulma-title-color: #c5ac8e;
  --bulma-subtitle-color: #8a7962;

  /* Fondos */
  --bulma-scheme-main: #FAFAFA;
  --bulma-scheme-invert: #22333b;

  /* Negros/grises personalizados */
  --bulma-black: #0b0907;

  --bulma-radius: .2rem;

  --swiper-theme-color: #c5ac8e !important;
  --swiper-pagination-bullet-inactive-color: #22333b !important;
}

[data-theme=light],
.theme-light {
  /* Colores base */
  --bulma-primary-h: 207;
  /* Hue */
  --bulma-primary-s: 28%;
  /* Saturation */
  --bulma-primary-l: 18%;
  /* Lightness */
}

.content a {
  text-decoration: underline;
  color: #5d4f3f;
  text-decoration-color: #5d4f3f22;
  text-decoration-thickness: .125em;
  text-underline-offset: .5em;
}

.content a:hover {
  text-decoration-color: #5d4f3fff;
  transition: all 0.2s ease;
}

.button {
  text-decoration: none !important;
  text-transform: uppercase;
}

.button svg {
  margin-right: 0.31em;
}

.content .button {
  color: var(--bulma-text);
  border-color: currentColor;
}

.hero-body a {
  text-underline-offset: .75em;
}

.has-background-dark a {
  color: #fff;
  text-decoration-color: #ffffff22;
}

.has-background-dark a:hover {
  text-decoration-color: #ffffffff;
}

.content {
  --bulma-content-heading-color: #c5ac8e;
}


body,
.video-trigger {
  background: url(../img/noise-bg.png) repeat 0 0 var(--bulma-scheme-main);
}

.hero {
  position: relative;
  min-height: calc(100dvh - 80px);
  /*margin-bottom: 80px;*/
}

.hero:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(34, 51, 59, 0.8) 0%, rgba(34, 51, 59, 0) 100%);
}

.hero .hero-body {
  z-index: 10;
  display: flex;
  align-items: center;
}

.hero .hero-body .links a {
  padding: 0.5em 1em;
}

#open-video {
  position: absolute;
  bottom: 0;
  right: 0;
  margin-bottom: -80px;
  display: flex;
}

.video-trigger {
  height: 200px;
  border-radius: 5px 0 0 5px;
  padding: 2px;
  display: flex;
  align-items: stretch;
  color: var(--bulma-text) !important;
}

.video-trigger .text {
  text-transform: uppercase;
  text-align: right;
  padding: 30px;
  max-width: 250px;
}

.video-trigger .text span {
  display: block;
}

.video-trigger .thumb {
  /*width: 300px;*/
  background: grey;
  border-radius: 3px;
  aspect-ratio: 1.9;
  position: relative;
  overflow: hidden;
}

.video-trigger .thumb .play-icon {
  padding: 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.5);
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  display: block;
}

.video-trigger .thumb .play-icon svg {
  display: block;
  transform: translateX(1px);
}

@media(max-width: 768px) {
  .hero {
    /*margin-bottom: 80px; */
    min-height: 70dvh;
    margin-bottom: 200px;
  }

  .video-trigger {
    width: 100%;
    flex-flow: column;
    border-radius: 0;
  }

  #open-video {
    margin-bottom: -120px;
  }

  .video-trigger .text {
    max-width: none;
    text-align: left;
    padding: 15px 20px;
  }

  .video-trigger .thumb {
    width: unset;
    aspect-ratio: 2;
    min-height: 220px;
  }
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
section .section{
	padding: 80px 40px;
	min-height: 300px;
}*/
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

section[id]:before {
  content: '';
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
}

#mapa {
  position: absolute;
  margin: 0;
  top: 0;
  right: 0;
  margin: -50px 0;
}

@media(min-width: 768px) {
  #ubicacion {
    min-height: 500px;
    overflow: hidden;
  }

  #mapa {
    right: -20%;
    margin: 0;
  }

}

@media(min-width: 1200px) {
  #mapa {
    margin: -60px 0;
  }

  #ubicacion {
    min-height: 600px;
    overflow: hidden;
  }
}

@media(min-width: 1400px) {
  #mapa {
    right: 0;
  }
}

@media(max-width: 768px) {
  #mapa {
    position: static;
    margin: 0 -25% -80px;
    width: 150%;
    height: auto;
    max-width: unset;
  }
}




.content {
  padding-left: 20px;
  padding-right: 20px;
}

.p-bottom {
  padding-bottom: 40px
}

.p-top {
  padding-top: 40px
}


.line-reveal {
  margin: 0 !important;
  padding: 0 !important;
}



.title,
.line-reveal,
.line-reveal .title,
.title-reveal {
  overflow: hidden;
  /* máscara */
}

.line-reveal span,
.title-reveal span,
.line-reveal .title,
.title span {
  display: inline-block;
  /* necesario para animar letras */
  overflow: hidden;
  /* máscara */
  margin: 0 !important;
  line-height: 1.1;
}

.content-reveal .links a {
  display: inline-block;
  /* permite animar transform */
  overflow: hidden;
  /* máscara */
}

.title-container {
  margin: 4rem 0 !important;
}

.columns {
  overflow: hidden;
  /* máscara */
}


.em-box {
  padding: 20px;
  border: 1px solid currentColor;
}

.navbar {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

.navbar-item {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.navbar-item .button {
  color: #fff;
  border-color: #fff;
  font-size: 14px;
}

.navbar-burger span {
  background: #fff;
}

a.navbar-item:hover,
.navbar-link:hover {
  background: hsla(var(--bulma-primary-h), var(--bulma-primary-s), var(--bulma-primary-l), 0.2);
}

.navbar-link:focus-within,
a.navbar-item:focus-within,
a.navbar-item:focus,
.navbar-link:focus,
.navbar-item.is-active {
  background: hsla(var(--bulma-primary-h), var(--bulma-primary-s), var(--bulma-primary-l), 0.7);
}

@media (min-width:768px) {
  .navbar {
    height: 80px;
  }
}

@media screen and (max-width: 1023px) {

  /*
    .navbar-brand .navbar-item{
      max-width: 50%;
    }*/
  .navbar-item img,
  .navbar-item svg {
    max-width: 80px;
  }

  .navbar-menu.is-active {
    background-color: var(--bulma-primary);
  }

  a.navbar-item:hover,
  .navbar-link:hover {
    background: rgba(0, 0, 0, .2);
  }
}



ul.is-list {
  margin-inline-start: unset
}

ul.is-list li {
  list-style: none;
}

ul.is-list svg {
  vertical-align: middle;
  margin-right: 0.31em;
}

.hero-body .links a {
  color: #fff;
}

/*
.hero-body .links{
  gap:1em;
}
.button.is-outlined.is-outlined-bottom{
  border-top:0;
  border-left:0;
  border-right:0;
  border-radius:0;
}*/


.section-video {
  position: relative;
}

.section-video:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(34, 51, 59, 0.8) 0%, rgba(34, 51, 59, 0) 100%);
}

.section-video video {
  max-height: 80dvh;
  object-fit: cover;
  width: 100%;
  display: block;
}

.footer-foot {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-foot a {
  text-decoration: none;
  opacity: 0.6;
}

.footer-foot a:hover {
  opacity: 0.8;
}

.footer-foot svg {
  vertical-align: middle;
  margin-left: 0.31em;
}

.footer-foot.has-background-dark {
  background: hsl(var(--bulma-dark-h), var(--bulma-dark-s), calc(var(--bulma-dark-l) - 5%)) !important;
}

/* --- Project Cards and Sections --- */
.section-landing-projects {
  padding-top: 150px;
  min-height: 100vh;
  background-color: #f7f7f7;
}

.section-other-projects {
  padding-top: 50px;
  padding-bottom: 50px;
  /*background-color: #f7f7f7;*/
}

.divider-center {
  margin: 0 auto 2rem;
  max-width: 150px;
  height: 1px;
  background-color: #ddd;
}

.project-card {
  padding: 0;
  overflow: hidden;
  display: block;
  border-radius: 12px;
}

.project-card.is-fullheight {
  height: 100%;
}

.project-card-inner {
  position: relative;
  overflow: hidden;
}

.project-card-inner.is-fullheight {
  height: 100%;
}

.project-card-img {
  width: 100%;
  object-fit: cover;
}

.project-card-img.is-fullheight {
  height: 100%;
}

.project-card-img.ratio-4-2 {
  aspect-ratio: 4/2;
}

.project-card-img.ratio-16-9 {
  aspect-ratio: 16/9;
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.project-card-overlay.alpha-30 {
  background: rgba(0, 0, 0, 0.3);
}

.project-card-overlay.alpha-40 {
  background: rgba(0, 0, 0, 0.4);
}

.has-text-shadow-strong {
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}