/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  font-family: "Poppins", sans-serif;
}
.header {
  display: none;
}

#menu-toggle {
  display: none;
}
nav#mobile-menu {
    visibility: hidden;
    position: absolute;
}

/* PRELOADER */
#preloader {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	color: #bdec00;
	font-size: 2rem;
	background-color: #000;
	background-image: url(../img/background_preloader_desktop.jpg);
	background-repeat: no-repeat;
}
#cargando{
	  font-family: "Poppins", sans-serif;
	  color:#FFF;
	}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  width: 260px;
  height: 100vh;
  background: #0a0a0a;
  background-image:url(../img/background_aside_nav.jpg);
  padding: 20px;
  display: flex;
  flex-direction: column;
 border-right: 2px solid #262626;
}

.sidebar__top img{
    width: 60%;
    margin-left: 20%;
    margin-bottom: 50px;
}

.sidebar__menu a {
	display: block;
	padding: 12px;
	color: #fff;
	margin-bottom: 4px;
	cursor: pointer;
	transition: 0.3s;
	text-decoration: none;
}

.sidebar__menu a:hover,
.sidebar__menu a.active {
  background: rgba(189,236,0,0.15);
  color: #bdec00;
}

.sidebar__menu a:hover {
  	border-radius: 5px;
}

/*MENU MOBILE*/
.mobile-menu a {
	display: block;
	padding: 12px;
	color: #fff;
	margin-bottom: 4px;
	cursor: pointer;
	transition: 0.3s;
	text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(189,236,0,0.15);
  color: #bdec00;
}

.mobile-menu a:hover {
  	border-radius: 5px;
}

.social {
    margin-top: 3%;
	color: #FFF;
    border-top: solid 1px #262626;
}

.social h4{
    margin-bottom: 10px;
    margin-top: 15px;
}

.social-icons {
    margin-bottom: 15px;
}

a.active {
    border-bottom: 1px solid;
	border-radius: 5px 5px 0px 0px;
}

.footer {
    color: #fff;
    font-size: 10px;
}

/* HEADER MOBILE */
.header {
  display: none;
}

/* HERO */
.hero {
  margin-left: 260px;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-image:url(../img/background_completev2_desktop.jpg);
  /*background: linear-gradient(120deg, #0c0c0c, #1a0f2e);*/
}

/* PARTICULAS */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* TEXTO */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 100px;
}

.hero h1 {
  font-size: 8.9rem;
  color: #ddd;
  line-height: 1;
  margin-top: 13%;
  font-weight: 500;
}

.hero h1 span {
  color: #bdec00;
}

/* IMAGEN */
.hero__image {
  position: absolute;
  right: 10%;
  bottom: 0;
  z-index: 3;
}

.hero__image img {
  max-height: 90vh;
  transition: transform 0.2s ease-out;
}

/* TAG */
.hero__tag {
  position: absolute;
  bottom: 80px;
  right: 120px;
  color: #fff;
  font-style: italic;
  z-index: 4;
}

/* CONTACTO */
.contact-header {
  width: 100%;
  padding: 40px 100px;
  background: linear-gradient(90deg, #1a0f2e, #0c0c0c);
}

.contact-header h2 {
  color: #fff;
  font-size: 3rem;
  text-align: right;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 150px);
}

.contact-container h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 29px;
}

.contact-form {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(189,236,0,0.15);
  border: none;
  padding: 15px;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form button {
  background: transparent;
  border: 1px solid #bdec00;
  color: #bdec00;
  padding: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #bdec00;
  color: #000;
}

/* SERVICIOS */
.services-header {
  width: 100%;
  padding: 40px 100px;
  background: linear-gradient(90deg, #1a0f2e, #0c0c0c);
}
.service-card h1 {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #bdec00;
}
.services-header h2 {
  color: #fff;
  font-size: 3rem;
  text-align: right;
}

/* GRID */
.services-container {
  position: relative;
  padding: 60px 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */
.service-card {
  border: 2px solid #444;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 🔥 CTA abajo */
  height: 100%;
  min-height: 500px;

  opacity: 0.5;
  transition: 0.3s;
}

.service-card:hover {
  opacity: 1;
}

.service-card img {
  width: 80px;
  margin-bottom: 20px;
}

.service-card p {
  color: #fff;
  flex-grow: 1;
  margin-bottom: 20px;
}
.service-card img {
    width: 40%;
    margin-left: 30%;
}

/* BOTÓN */
.service-card .btn {
  border: 1px solid #bdec00;
  color: #bdec00;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 10px;
}

.service-card .btn:hover {
  background: #bdec00;
  color: #000;
}

/* ACERCA DE MI */
.about-header {
  padding: 40px 100px;
  background: linear-gradient(90deg, #1a0f2e, #0c0c0c);
}

.about-header h2 {
  color: #fff;
  font-size: 3rem;
  text-align: right;
}

/* CONTENEDOR */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px 80px;
}

/* TEXTO */
.about-left p {
  color: #fff;
  line-height: 1.6;
}

/* LOGOS */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 40px 0px 70px 0px;
}

.tools-grid img {
  max-width: 100%;
  opacity: 0.8;
}

.tools-grid img {
    width: 90%;
    margin-top: 40px;
}

/* CTA */
.btn-cv {
  display: inline-block;
  background: #bdec00;
  color: #000;
  padding: 12px 20px;
  text-decoration: none;
    font-size: 12px;
    border-radius: 7px;
}

/* DERECHA */
.about-right {
  display: flex;
  gap: 20px;
background-color: #141414;
    border-radius: 19px;
}
.about-image {
    width: 30%;
}

/* JOBS */
.jobs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.job-item {
  border: 1px solid transparent;
  padding: 15px;
  opacity: 0.5;
  transition: 0.3s;
    margin-top: 15px;
    margin-left: 25px;
	border-radius: 5px;
}

.job-item:hover {
  opacity: 1;
  border: 2px solid #fff;
}

.job-item h4 {
  color: #fff;
}

.job-item p {
  color: #aaa;
}

.job-item span {
  color: #bdec00;
}

/* IMAGEN */
.about-image img {
width: 100%;
    height: 100%;
}

/* GRID */
.novedades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.novedad-card {
    background: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* IMAGEN */
.novedad-img {
    position: relative;
    overflow: hidden;
}

.novedad-img img {
    width: 100%;
    display: block;
    filter: grayscale(100%);
    transition: 0.4s ease;
}

/* HOVER COLOR */
.novedad-card:hover img {
    filter: grayscale(0%);
}

/* FECHA */
.novedad-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #bdec00;
}

/* NOVEDADES */
.novedad-content {
    padding: 20px;
}
.novedades-grid {
    width: 98%;
    margin-left: 1%;
    margin-top: 1%;
}

/* TEXTO LIMITADO A 2 LINEAS */
.novedad-content p {
    color: #fff;
    margin-bottom: 15px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* BOTON */
.btn-primary {
    display: inline-block;
    padding: 5px 10px;
    font-size: 13px;
    border: 1px solid #bdec00;
	border-radius: 5px;
    color: #bdec00;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #bdec00;
    color: #000;
}

.blog-detail {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CAJA INTERNA */
.blog-container {
    width: 100%;
    max-width: 1200px;
    padding: 80px 40px;
    margin: 0 auto;
}

/* HEADER */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
	background-image:url(../novedades/img/titulos_notas_blog.jpg);
	background-size: cover;
    padding: 2%;
    color: #fff;
	border-radius: 10px;
}

/* TAGS */
.blog-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tag {
    background: rgba(163, 255, 0, 0.1);
    color: #c6ff00;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    width: fit-content;
}

.date {
    font-size: 13px;
    opacity: 0.7;
}

/* NOTAS */
.blog-title {
    text-align: right;
    font-size: 36px;
    font-weight: 700;
    max-width: 500px;
}

.blog-title span {
    display: block;
    font-weight: 300;
    opacity: 0.8;
}

/* CONTENIDO */
.blog-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: flex-start;
}

/* TEXTO */
.blog-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
    color: #ccc;
}

/* IMAGEN */
.blog-image img {
    width: 100%;
    border-radius: 10px;
}