/* Font Montserrat */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* Font Cinema Web Font */
@font-face {
  font-family: "Cinema";
  src: url("../font/cinema.eot") format("eot"),
    url("../font/cinema.woff2") format("woff2"),
    url("../font/cinema.woff") format("woff"),
    url("../font/cinema.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-verde: #61c2a1;
  --color-amarillo: #fed02e;
  --color-naranja: #ff6c37;
  --color-dark: #000;
  --color-blanco: #fff;
  --color-grey: #f1ede5;

  --mask-fill-color: #fff;
}

body,
html {
  font-family: "Montserrat", sans-serif;
  background: var(--color-blanco);
  color: var(--color-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cinema", sans-serif;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 1px;
}

h1 span,
h2 span,
h3 span,
.logo a span {
  color: var(--color-verde);
}

h1.destacado {
  font-size: 3rem;
}

p {
  line-height: 1.5rem;
  font-size: 1.2rem;
}

#nosotros h1 {
  font-size: 3rem;
}

.container-fluid {
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.bg-verde-claro {
  background-color: rgb(97, 194, 161, 0.15);
}

.bg-trabaja {
  background-image: url("../imagenes/bgtrabaja.svg");
  background-position: left bottom;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
}

.card {
  position: relative;
  border: 0.1px solid rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 10px;
  margin: 0px auto;
  text-align: center;
  width: 95%;
}

.card-title {
  font-family: "Cinema";
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 1px;
  color: var(--color-verde);
  margin-top: 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0px;
  margin-top: 30px;
}

.grid-item {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  align-content: center;
}

.grid-container-competencias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0px;
  margin-top: 30px;
  align-items: stretch; /* 👉 esto hace que todos los items tengan igual altura */
}

.grid-item-competencias {
  padding: 20px;
  display: flex;
}

.grid-container-contacto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0px;
  margin-top: 30px;
}

.grid-item-contacto {
  padding: 20px;
}

/* Máscara fija que oculta el overflow */
.parallax-mask {
  width: 100%;
  height: 700px;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

/* Imagen que se mueve dentro de la máscara */
.parallax-img {
  position: absolute;
  width: 100%;
  height: 130%; /* un poco más alto para mover */
  background-size: cover;
  background-position: center;
  will-change: transform;
}

section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

section h1 {
  text-align: center;
  margin: auto;
}

#propuesta h1 {
  text-align: center;
}

#proyectos .hero-mask svg {
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.parallax-mask-proyectos {
  width: 90%;
  height: 450px;
  overflow: hidden;
  position: relative;
  margin: auto;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

#proyectos img,
#nosotros img {
  margin-top: 100px;
}

/* Contacto */
#contactForm {
  margin-top: 30px;
}

form {
  width: 100%;
  margin: auto;
  background: var(--color-blanco);
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  font-family: "Montserrat", sans-serif;
  min-width: 100%;
  font-size: 1.2rem;
  background-color: var(--color-blanco);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-dark);
  border-radius: 4px;
  transition: outline 0.75s ease, border 0.75s ease, background-color 0.75s ease;
  -webkit-transition: outline 0.75s ease, border 0.75s ease,
    background-color 0.75s ease;
  -moz-transition: outline 0.75s ease, border 0.75s ease,
    background-color 0.75s ease;
  -ms-transition: outline 0.75s ease, border 0.75s ease,
    background-color 0.75s ease;
  -o-transition: outline 0.75s ease, border 0.75s ease,
    background-color 0.75s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.1);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  background: #000;
  color: var(--color-amarillo);
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transition: background-color 0.5s, color 0.5s;
  -webkit-transition: background-color 0.5s, color 0.5s;
  -moz-transition: background-color 0.5s, color 0.5s;
  -ms-transition: background-color 0.5s, color 0.5s;
  -o-transition: background-color 0.5s, color 0.5s;
}

button:hover {
  background: var(--color-verde);
  color: var(--color-beige);
}

.btn-contacto {
  font-family: "Cinema";
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
}

/* Footer */
footer {
  background-color: var(--color-grey);
  padding: 50px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a,
#contacto a {
  font-family: "Cinema";
  font-size: 1.3rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: var(--color-dark);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: color 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -ms-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
}

footer a:hover,
#contacto a:hover {
  color: var(--color-verde);
}

footer a::after,
#contacto a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-verde);
  transform: scaleX(0);
  transform-origin: left; /* empieza desde la izquierda */
  transition: transform 0.3s ease;
}

footer a:hover::after,
#contacto a:hover::after {
  transform: scaleX(1);
  transform-origin: right; /* vuelve desde la derecha */
}

/* Efecto letra x letra */
.container-letter {
  width: 90%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.container-letter a {
  background-color: var(--color-verde);
  color: var(--color-beige);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.75s ease, background-color 0.75s ease, border 0.75s ease;
  -webkit-transition: color 0.75s ease, background-color 0.75s ease,
    border 0.75s ease;
  -moz-transition: color 0.75s ease, background-color 0.75s ease,
    border 0.75s ease;
  -ms-transition: color 0.75s ease, background-color 0.75s ease,
    border 0.75s ease;
  -o-transition: color 0.75s ease, background-color 0.75s ease,
    border 0.75s ease;
  padding: 0px 50px;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.container-letter a:hover {
  background-color: var(--color-amarillo);
  color: var(--color-dark);
  border: 1px solid var(--color-amarillo);
  cursor: pointer;
}

.text {
  text-decoration: none;
  font-family: "Cinema";
  font-weight: normal;
  font-style: normal;
  font-size: 17px;
  line-height: 50px;
  height: 55px !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.text:hover .letter,
.text.play .letter {
  transform: translateY(-100%);
}

.text .letter {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.024, 1);
}

.letter:nth-child(1) {
  transition-delay: 0s;
}

.letter:nth-child(2) {
  transition-delay: 0.03s;
}

.letter:nth-child(3) {
  transition-delay: 0.06s;
}

.letter:nth-child(3) {
  transition-delay: 0.09s;
}

.letter:nth-child(4) {
  transition-delay: 0.12s;
}

.letter:nth-child(5) {
  transition-delay: 0.15s;
}

.letter:nth-child(6) {
  transition-delay: 0.18s;
}

.letter:nth-child(7) {
  transition-delay: 0.21s;
}

.letter:nth-child(8) {
  transition-delay: 0.23s;
}

.letter:nth-child(9) {
  transition-delay: 0.25s;
}

.letter:nth-child(10) {
  transition-delay: 0.28s;
}

.letter:nth-child(11) {
  transition-delay: 0.31s;
}

.letter:nth-child(12) {
  transition-delay: 0.33s;
}

.letter:nth-child(13) {
  transition-delay: 0.35s;
}

/* Split text */
.split {
  opacity: 1;
  overflow: hidden;
  will-change: transform;
}

/* Loader base */
#loader {
  background-color: var(--color-blanco);
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999999;
  user-select: none;
}

/* Contenedor conjunto (SVG + dígitos) */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* SVG animado */
.svg-loader {
  width: 100px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2.5s ease-in-out infinite;
}

.shape {
  transform-origin: center center;
}

.shape-green {
  animation: spinLeft 3s ease-in-out infinite;
}

.shape-yellow {
  animation: spinRight 3s ease-in-out infinite;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

/* Números */
.digits {
  display: flex;
  gap: 0px;
}

.digit-mask {
  width: 2.3ch;
  height: 2rem;
  overflow: hidden;
  position: relative;
}

.digit-scroll {
  display: flex;
  flex-direction: column;
}

.digit-scroll span {
  font-family: "Cinema";
  font-size: 1.75rem;
  font-weight: normal;
  font-style: normal;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  color: var(--color-dark);
  letter-spacing: 0;
}

/* Keyframes SVG */
@keyframes spinLeft {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(-180deg) scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: rotate(-360deg) scale(1);
    opacity: 1;
  }
}

@keyframes spinRight {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
    opacity: 0.7;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Parallax secciones */
.parallax-mask-secciones {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 400px;
}

.parallax-img-secciones {
  position: absolute;
  top: -50px;
  width: 100%;
  height: 150%; /* un poco más alto para mover */
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.container-parallax-secciones {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-blanco);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px 0;
}

.container-parallax-secciones h1 {
  font-family: "Cinema";
  font-size: 3rem;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 10px 0 !important;
}

.container-parallax-secciones h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  margin: 10px 0 !important;
}

.container-parallax-secciones img {
  width: 60px;
  height: auto;
  margin-top: 50px;
}

/* Swiper */
.swiper-img img {
  max-width: 100%;
  padding: 20px;
}

.swal2-container {
  z-index: 99999 !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-dark) !important;
  transition: color 0.75s ease;
  -webkit-transition: color 0.75s ease;
  -moz-transition: color 0.75s ease;
  -ms-transition: color 0.75s ease;
  -o-transition: color 0.75s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--color-naranja) !important;
}

/* Animación fade */
.animacion-fade {
  opacity: 0;
  will-change: opacity, transform;
  transform: translateY(25px);
  -webkit-transform: translateY(25px);
  -moz-transform: translateY(25px);
  -ms-transform: translateY(25px);
  -o-transform: translateY(25px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  -webkit-transition: opacity 0.75s ease, transform 0.75s ease;
  -moz-transition: opacity 0.75s ease, transform 0.75s ease;
  -ms-transition: opacity 0.75s ease, transform 0.75s ease;
  -o-transition: opacity 0.75s ease, transform 0.75s ease;
}

.animacion-fade.visible {
  opacity: 1;
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
}

/* Menu principal */
nav.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  width: 135px;
  transition: width 0.3s ease;
  -webkit-transition: width 0.3s ease;
  -moz-transition: width 0.3s ease;
  -ms-transition: width 0.3s ease;
  -o-transition: width 0.3s ease;
  z-index: 1000000000;
}

.nav-logo svg {
  width: 100%;
  height: auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 20px 10px;
  transition: all 0.3s ease;
  background: var(--color-blanco);
  z-index: 100000000;
}

header.scrolled {
  background: var(--color-blanco);
  padding: 15px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

header.scrolled .nav-logo {
  width: 135px;
}

.menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu ul li {
  font-family: "Cinema";
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--color-dark);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: color 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -ms-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
}

.menu ul li:hover {
  color: var(--color-naranja);
}

.menu ul li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-naranja);
  transform: scaleX(0);
  transform-origin: left; /* empieza desde la izquierda */
  transition: transform 0.3s ease;
}

.menu ul li:hover::after {
  transform: scaleX(1);
  transform-origin: right; /* vuelve desde la derecha */
}

/* Hamburguesa */
.hamburguesa {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  width: 26px;
  height: 22px;
  position: relative;
  z-index: 100;
}

.hamburguesa span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Overlay del menú responsive */
.menu-overlay {
  font-family: "Cinema";
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-blanco);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 50;
  overflow: hidden;
}

.menu-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu-overlay li span {
  color: var(--color-dark);
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.menu-overlay li {
  position: relative;
  font-size: 2rem;
  letter-spacing: 0.2px;
  margin: 20px 0;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  transition: color 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -ms-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
}

.menu-overlay li:hover,
.menu-overlay li span:hover {
  cursor: pointer;
  color: var(--color-naranja);
}

/* Efecto máscara elegante */
.menu-overlay li span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0%;
  width: 0%;
  height: 1px;
  background: var(--color-naranja);
  transition: width 0.3s ease;
}

.menu-overlay li span:hover::after {
  width: 100%;
}

.menu ul li.activo,
.menu ul li:hover {
  color: var(--color-naranja);
}

.menu ul li.activo::after {
  transform: scaleX(1);
  transform-origin: right;
}

.menu-overlay li.activo span {
  color: var(--color-naranja);
}

.menu-overlay li.activo span::after {
  width: 100%;
}

/* responsive */
@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .hamburguesa {
    display: flex;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
}

.hero img {
  margin-top: 50px;
}

/* 🎥 Video de fondo */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Máscara SVG encima del video */
.hero-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.hero-mask .mask-fill {
  fill: var(--mask-fill-color);
  transition: fill 0.2s ease;
  -webkit-transition: fill 0.2s ease;
  -moz-transition: fill 0.2s ease;
  -ms-transition: fill 0.2s ease;
  -o-transition: fill 0.2s ease;
}

.hero-mask svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-mask-nosotros {
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 0px;
  width: 100%;
  z-index: 2;
  transform: rotate(180);
  -webkit-transform: rotate(180);
  -moz-transform: rotate(180);
  -ms-transform: rotate(180);
  -o-transform: rotate(180);
}

.hero-mask-nosotros .mask-fill {
  fill: var(--mask-fill-color);
  transition: fill 0.2s ease;
  -webkit-transition: fill 0.2s ease;
  -moz-transition: fill 0.2s ease;
  -ms-transition: fill 0.2s ease;
  -o-transition: fill 0.2s ease;
}

.hero-mask-nosotros svg {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(180deg);
}

/* ✨ Contenido encima de todo */
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--color-blanco);
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: "Cinema";
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  font-size: max(3rem, min(4vw + 1rem, 6rem));
  margin-bottom: 20px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.95);
}

.hero-content h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: max(2.5rem, min(2.5vw + 1rem, 4rem));
  margin-bottom: 20px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.95);
}

.hero-content p {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
}

/* Trabajos */
.gallery-container {
  column-count: 3; /* cantidad de columnas */
  column-gap: 1rem; /* espacio entre columnas */
  overflow: hidden;
  padding: 20px;
}

.mix.mixitup-hidden {
  opacity: 0;
}

.mix {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 10px; /* aplica la “máscara” */
  overflow: hidden; /* recorta el contenido que sobresale */
}

.mix img {
  width: 100%;
  cursor: pointer;
  display: block;
  transition: transform 0.75s ease;
  -webkit-transition: transform 0.75s ease;
  -moz-transition: transform 0.75s ease;
  -ms-transition: transform 0.75s ease;
  -o-transition: transform 0.75s ease;
}

.mix img:hover {
  transform: scale(1.15);
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -ms-transform: scale(1.15);
  -o-transform: scale(1.15);
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-container {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-container {
    column-count: 1;
  }
}

/* -------------------------------------- */
/* WHATSAPP – SIEMPRE VISIBLE + FADE IN   */
/* -------------------------------------- */
#btnWhatsapp {
  position: fixed;
  bottom: 80px;
  right: 15px;
  width: 52px;
  height: 52px;
  background: var(--color-verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  cursor: pointer;
  opacity: 0;
  transition: opacity .6s ease;
}

#btnWhatsapp img {
  width: 28px;
  height: 28px;
}

#btnWhatsapp.visible {
  opacity: 1;
}


/* -------------------------------------- */
/* BOTÓN TOP – APARECE AL SCROLLEAR       */
/* -------------------------------------- */
#btnTop {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 52px;
  height: 52px;
  background: white;
  border-radius: 50%;
  border: 1px solid #333;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
  z-index: 99998;
}

#btnTop.visible {
  opacity: 1;
  visibility: visible;
}

#btnTop:hover {
  border-color: var(--color-verde);
  background: var(--color-verde);
  color: var(--color-blanco);
}

/* Filtros galeria */
.controls {
  text-align: center;
  margin-bottom: 1.5rem;
}

.controls button {
  margin: 0 0.5rem;
  padding: 15px 35px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  font-size: 1rem;
  border-radius: 8px;
  margin-bottom: 5px;
  border: none;
  background-color: transparent;
  border: 1px solid var(--color-naranja);
  color: var(--color-naranja);
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease;
  -webkit-transition: background-color 0.5s ease, color 0.5s ease;
  -moz-transition: background-color 0.5s ease, color 0.5s ease;
  -ms-transition: background-color 0.5s ease, color 0.5s ease;
  -o-transition: background-color 0.5s ease, color 0.5s ease;
}

.trabajos img {
  margin-top: 150px;
}

.controls button:hover {
  background: var(--color-naranja);
  color: var(--color-blanco);
}

/* Utilidades */
.amarillo {
  color: var(--color-amarillo);
}

.verde {
  color: var(--color-verde);
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.d-column {
  flex-direction: column;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.w-70 {
  width: 70%;
}

.w-80 {
  width: 80%;
}

.mt-20 {
  margin-top: 20px;
}

.m-auto {
  margin: auto;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mr-5 {
  margin-right: 5px;
}

.my-20 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.my-50 {
  margin-top: 50px;
  margin-bottom: 50px;
}

.my-100 {
  margin-top: 100px;
  margin-bottom: 100px;
}

.py-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.py-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.pt-100 {
  padding-top: 50px;
}

.text-none {
  text-decoration: none;
  list-style: none;
}
