@charset "UTF-8";
/* =====================
   BASE
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #F9F9F9;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
}

p,
li,
a {
  font-family: "Inter", sans-serif;
}

a {
  text-decoration: none;
}

/* =====================
   LAYOUT
===================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transition: background-color 0.3s ease, padding 0.3s ease, height 0.7s ease;
  padding: 30px 20px;
  z-index: 10;
  background-color: transparent;
  height: 100px;
}

header.abajo {
  background: #1F3C5B;
  padding: 15px 20px;
  height: 70px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

header .logo {
  position: relative;
  color: #1A1A1A;
  font-weight: bold;
  font-size: 2em;
  letter-spacing: 2px;
  transition: 1.5px;
  text-decoration: none;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li {
  list-style: none;
}

header ul li a {
  position: relative;
  font-family: Arial, Helvetica;
  margin: 0 15px;
  text-decoration: none;
  color: #1A1A1A;
  letter-spacing: 2px;
  font-weight: bold;
  transition: 0.7s;
  font-size: 18px;
}

header.abajo .logo,
header.abajo ul li a {
  color: #FFFFFF;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #1F3C5B;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  nav.active {
    transform: translateY(0);
  }
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    margin-bottom: 15px;
  }
  nav ul li a {
    margin-left: 0;
  }
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px 40px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  background-color: #1F3C5B;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 20px;
}

.footer p {
  color: #FFFFFF;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.footer-left a {
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-center a {
  margin: 0 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.footer-right .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  margin-left: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-right .icon:hover {
  background: #004D7A;
  border-color: #004D7A;
  color: #fff;
}

.footer i {
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .footer {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 30px 20px;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    flex: none;
    width: 100%;
  }
  .footer-right {
    text-align: center;
  }
  .footer-center a {
    display: inline-block;
    margin: 8px 12px;
  }
}
@media (max-width: 500px) {
  .footer-left h1 {
    font-size: 10px;
  }
  .footer-left p,
  .footer-center a {
    font-size: 11px;
  }
  .footer-right .icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .footer-center a {
    letter-spacing: 0.05em;
  }
}
/* =====================
   PAGES
===================== */
.home-zona-hero {
  position: relative;
  width: 100%;
  height: 800px;
  background: url(/assets/img/proyectos/imagen-hero-bar-en-samalayuka-grupo-bu.webp) no-repeat center center;
  background-size: cover;
  margin-top: 0;
  background-color: #1F3C5B;
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .home-zona-hero {
    height: 80vh;
    background-size: contain;
    background-color: #F9F9F9;
  }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .home-zona-hero {
    height: 90vh;
    background-position: center 30%;
  }
}
@media (max-width: 767px) {
  .home-zona-hero {
    height: 70vh;
    background-size: cover;
    background-position: center center;
  }
}

.home-hero-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 350px 50px;
}

.home-hero-overlay h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
}

.home-hero-overlay p {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
}

.home-btn-hero {
  padding: 15px 30px;
  background-color: #E07A00;
  border: none;
  border-radius: 5px;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.home-btn-hero:hover {
  background-color: #C96B00;
}

.home-zona-nosotros {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #FFFFFF;
}

.home-zona1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: auto;
  width: 90%;
  padding: 30px 50px;
  margin-top: 60px;
  margin-bottom: 60px;
  border-radius: 10px;
  background-color: #F9F9F9;
}

.home-zona1 h2 {
  font-size: 45px;
  margin-bottom: 20px;
  color: #1A1A1A;
}

.home-zona1 p {
  font-size: 20px;
  line-height: 1.6;
  color: #6E6E6E;
}

.home-card1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 400px;
  text-align: center;
  margin-top: 30px;
  background-color: #F9F9F9;
}

.home-titulo {
  text-align: center;
  font-size: 30px;
  width: 100%;
  margin-top: 20px;
}

.home-card2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 400px;
  text-align: center;
  margin-top: 30px;
}

.home-card2 h3 {
  font-size: 22px;
  font-weight: bold;
  margin: 10px 0 5px;
  color: #1A1A1A;
}

.home-card2 li {
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  margin: 0 10px 10px;
  line-height: 1.4;
  color: #6E6E6E;
}

.home-resaltar h2 {
  color: #1A1A1A;
}

.home-img img {
  width: 70px;
  height: 70px;
}

.home-zona-servicios {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 60px;
  background-color: #F9F9F9;
}

.home-zona2 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
}

.home-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 300px;
  height: 350px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #FFFFFF;
  padding: 5px;
  transition: all 0.3s ease;
}

.home-soluciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  color: #1A1A1A;
}

.home-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px;
  text-align: center;
  color: #1A1A1A;
}

.home-card p {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin: 0 10px 10px;
  line-height: 1.4;
  color: #1A1A1A;
}

.home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.home-boton {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.home-boton {
  padding: 10px 30px;
  background-color: #E07A00;
  border: none;
  border-radius: 5px;
  color: #FFFFFF;
  font-weight: bold;
  width: 300px;
  height: 50px;
  font-size: 20px;
}

.home-boton:hover {
  background-color: #C96B00;
}

hr {
  border: none;
  height: 1px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  background-color: #E0E0E0;
  width: 60%;
}

.home-zona-proyectos {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 60px;
}

.home-zona3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 30px;
  padding: 15px 0;
}

.home-card3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 500px;
  text-align: center;
  border-radius: 8px;
  margin-top: 30px;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.home-card3:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.home-card3 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.home-botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

@media screen and (min-width: 310px) and (max-width: 426px) {
  .home-zona1 h2 {
    font-size: 35px;
  }
}
@media screen and (max-width: 430px) {
  .home-card3 {
    width: 300px;
  }
}
@media screen and (min-width: 420px) and (max-width: 791px) {
  .home-hero-overlay {
    padding: 200px 20px;
  }
  .home-hero-overlay h1 {
    font-size: 32px;
  }
  .home-hero-overlay p {
    font-size: 18px;
  }
  .home-zona1,
  .home-zona2,
  .home-zona3 {
    flex-direction: column;
    padding: 20px;
  }
  .home-card,
  .home-card1,
  .home-card2,
  .home-card3 {
    width: 90%;
    margin-top: 20px;
  }
}
@media screen and (max-width: 419px) {
  .home-hero-overlay {
    padding: 200px 20px;
  }
  .home-hero-overlay h1 {
    font-size: 32px;
  }
  .home-hero-overlay p {
    font-size: 18px;
  }
  .home-zona1,
  .home-zona2,
  .home-zona3 {
    flex-direction: column;
    padding: 5px;
  }
  .home-card,
  .home-card1,
  .home-card2,
  .home-card3 {
    width: 90%;
    margin-top: 20px;
  }
}
.about-intro-nosotros {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 150px;
  margin-bottom: 50px;
}

.about-zona1 {
  text-align: center;
  width: 90%;
  height: auto;
  padding: 20px 40px;
  border-radius: 10px;
  background-color: #FFFFFF;
}

.about-zona1 h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #1A1A1A;
}

.about-zona1 p {
  font-size: 1.2rem;
  color: #6E6E6E;
  line-height: 1.6;
}

.about-quienes-somos {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 30px;
  margin-bottom: 50px;
  padding: 80px 0;
  background-color: #F9F9F9;
}

.about-zona2 {
  text-align: left;
  width: 500px;
  border-left: 4px solid #004D7A;
  padding-left: 24px;
}

.about-zona2 h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1A1A1A;
}

.about-zona2 p {
  font-size: 1.1rem;
  color: #6E6E6E;
  line-height: 1.6;
}

.about-zona3 {
  width: 500px;
  position: relative;
}

.about-zona3::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid #004D7A;
  border-radius: 12px;
  z-index: -1;
}

.about-zona3 img {
  width: 100%;
  border-radius: 12px;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-mision-vision {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 50px;
  padding: 80px 0;
  background-color: #F3F5F7;
}

.about-zona4 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.about-zona4 h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1A1A1A;
}

.about-mv-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.about-mv-cards .about-card {
  text-align: center;
  width: 340px;
  height: auto;
  padding: 20px;
  border-radius: 10px;
  background-color: #FFFFFF;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #004D7A;
}

.about-mv-cards .about-card:nth-child(2) {
  transform: scale(1.05);
  border-top: 5px solid #004D7A;
}

.about-valores {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 100px 0;
  background-color: #F9F9F9;
}

.about-zona5 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.about-zona5 h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1A1A1A;
}

.about-tarjetas-valores {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}

.about-card2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 380px;
  height: auto;
  background-color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  border-radius: 10px;
  padding: 20px;
  gap: 20px;
}

.about-card2:hover {
  transform: translateY(-6px);
}

.about-card2 img {
  width: 80px;
  height: 80px;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.04);
}

.about-porque-elegirnos {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 100px 0;
  background-color: #F9F9F9;
}

.about-zona6 {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
}

.about-zona6 h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #1A1A1A;
}

.about-razones {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-razones article {
  padding-left: 25px;
  border-left: 4px solid #004D7A;
}

.about-razones h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #1A1A1A;
}

.about-razones p {
  font-size: 1.05rem;
  color: #6E6E6E;
  line-height: 1.6;
}

.about-card,
.about-card2,
article {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover,
.about-card2:hover,
article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.about-zona2 h2::before,
.about-zona4 h2::before,
.about-zona5 h2::before {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #004D7A;
  margin-bottom: 10px;
}

.about-cta-nosotros {
  width: 100%;
  padding: 100px 20px;
  background-color: #1F3C5B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
}

.about-cta-nosotros h2 {
  font-size: 2.4rem;
  color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  max-width: 700px;
}

.about-btn-cta {
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 6px;
  background-color: #E07A00;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.about-btn-cta:hover {
  background-color: #C96B00;
  transform: translateY(-2px);
}

@media screen and (min-width: 310px) and (max-width: 426px) {
  .about-zona1 h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2B2B2B;
  }
  .about-zona1 p {
    font-size: 1.2rem;
    color: #4F4F4F;
    line-height: 1.6;
  }
  .about-quienes-somos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }
  .about-zona2 {
    text-align: center;
    width: 300px;
  }
  .about-zona3 {
    width: 280px;
  }
  .about-zona4 {
    width: 100%;
  }
  .about-mv-cards .about-card {
    width: 300px;
  }
  .about-card {
    width: 300px;
  }
  .about-zona5 {
    width: 100%;
  }
  .about-tarjetas-valores {
    flex-direction: column;
    width: 100%;
  }
  .about-card2 {
    width: 300px;
  }
}
main {
  flex: 1;
  /* si usas flexbox en body */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.gallery-hero-proyectos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 150px;
  font-size: 2rem;
}

.gallery-filtros-proyectos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  gap: 20px;
}

.gallery-filtro {
  position: relative;
  background-color: transparent;
  border: none;
  color: #1A1A1A;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 20px;
  transition: color 0.3s ease;
  width: 150px;
}

.gallery-filtro::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 3px;
  background-color: #1F3C5B;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.gallery-filtro:hover::after {
  transform: scaleX(1);
}

.gallery-filtro.activo {
  color: #1F3C5B;
}

.gallery-filtro.activo::after {
  transform: scaleX(1);
}

.filtros-mobile {
  display: none;
}

.gallery-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 280px;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-height: unset;
}

@media (min-width: 900px) {
  .gallery-galeria {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery-proyectos {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeIn 0.8s ease forwards;
  width: 100%;
}

.gallery-proyectos img,
.gallery-proyectos video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gallery-proyectos:hover img {
  transform: scale(1.07);
  filter: brightness(1.1);
}

.gallery-zona4 {
  width: 100%;
  padding: 120px 20px;
  background-color: #1F3C5B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.gallery-zona4 h4 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #c48a2f;
  margin-bottom: 16px;
  font-weight: 600;
}

.gallery-zona4 h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

.gallery-cta-divider {
  width: 48px;
  height: 3px;
  background: #c48a2f;
  margin: 0 auto 32px;
  border-radius: 2px;
}

.gallery-zona4 p {
  color: #a0b0c0;
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.gallery-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.gallery-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #c48a2f;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 36px;
  border-radius: 3px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.gallery-btn-cta:hover {
  background-color: #a8741f;
  transform: translateY(-2px);
}

.gallery-btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 15px 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery-btn-cta-secondary:hover {
  border-color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-cta,
  .btn-cta-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
.gallery-zona4 button {
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 6px;
  background-color: #E07A00;
  color: #FFFFFF;
  transition: all 0.3s ease;
  border: none;
}

.gallery-zona4 button:hover {
  background-color: #C96B00;
  transform: translateY(-2px);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox.activo {
  display: flex;
}

.lightbox-content {
  max-width: 600px;
  max-height: 600px;
}

.lightbox-content img,
.lightbox-content video {
  width: 100%;
  height: auto;
  max-height: 100%;
  border-radius: 6px;
  display: block;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.lightbox .close:hover {
  color: #ff4444;
}

@keyframes fadeInBg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media screen and (min-width: 310px) and (max-width: 426px) {
  .gallery-hero-proyectos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 150px;
    font-size: 1.2rem;
    text-align: center;
  }
  .gallery-zona4 form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .gallery-zona4 input[type=text],
  .gallery-zona4 textarea {
    display: flex;
    justify-content: center;
    padding: 10px 15px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 280px;
  }
  .lightbox-content {
    max-width: 95vw;
    max-height: 80vh;
    width: 95vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .lightbox-content img,
  .lightbox-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .filtros-desktop {
    display: none;
  }
  .filtros-mobile {
    display: block;
    width: 90%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
  }
  .gallery-galeria {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    max-width: 100%;
    aspect-ratio: unset;
    /* esto es importante */
  }
  .gallery-proyectos {
    aspect-ratio: 4/3;
    /* cada imagen tiene su propia proporción */
  }
}
.contact-contacto {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 60px;
  padding: 11% 0;
  min-height: 92vh;
  height: auto;
  background-color: #FFFFFF;
}

.contact-resaltar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: auto;
  background-color: #F9F9F9;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 20px;
}

.contact-left,
.contact-right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 500px;
  gap: 30px;
}

.contact-right img {
  width: 100%;
  height: 420px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  filter: brightness(0.88);
  transition: filter 0.3s ease;
}
.contact-right img:hover {
  filter: brightness(1);
}

.contact-telefono,
.contact-redes,
.contact-locacion {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 500px;
  border-radius: 5px;
  padding: 20px;
  gap: 20px;
  background-color: rgba(0, 77, 122, 0);
  border: 1px solid rgb(10, 2, 2);
  color: #1A1A1A;
}
.contact-telefono h2,
.contact-redes h2,
.contact-locacion h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}
.contact-telefono h3,
.contact-redes h3,
.contact-locacion h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E07A00;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
}
.contact-telefono h3 i,
.contact-redes h3 i,
.contact-locacion h3 i {
  margin-right: 8px;
}
.contact-telefono a,
.contact-redes a,
.contact-locacion a {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-telefono a:hover,
.contact-redes a:hover,
.contact-locacion a:hover {
  color: #E07A00;
}
.contact-telefono p,
.contact-redes p,
.contact-locacion p {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  margin: 0;
}

.contact-redes .redes-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.contact-redes a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.contact-redes a:hover {
  border-color: #E07A00;
  color: #E07A00;
  transform: translateY(-2px);
}

@media screen and (min-width: 310px) and (max-width: 500px) {
  .contact-contacto {
    padding-top: 8rem;
    align-items: flex-start;
  }
  .contact-left,
  .contact-right {
    flex: 1 1 400px;
    width: 300px;
    gap: 30px;
  }
  .contact-right img {
    height: 220px;
  }
  .contact-telefono,
  .contact-redes,
  .contact-locacion {
    width: 300px;
  }
}
.politicas-contenedor {
  background-color: #fff;
  color: #000;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 40px 20px;
  margin: 0;
}

/* Título principal */
.politicas-contenedor h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 140px;
}

/* Texto de subtítulos (número y título de cada punto) */
.politicas-punto strong {
  font-size: 1.2rem;
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

/* Párrafos de texto dentro de cada punto */
.politicas-punto {
  max-width: 600px;
  /* para que no sea muy ancho */
  margin: 20px auto;
  /* centrado y con separación vertical */
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  /* texto alineado a la izquierda para lectura */
}

.politicas a {
  text-decoration: none;
}

.politicas i {
  color: #004D7A;
}

/* Fondo blanco y texto negro para todo */
.terminos-contenedor {
  background-color: #fff;
  color: #000;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 40px 20px;
  margin: 0;
}

/* Título principal */
.terminos-contenedor h2 {
  margin-top: 140px;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Texto de subtítulos (número y título de cada punto) */
.terminos-punto strong {
  font-size: 1.2rem;
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

/* Párrafos de texto dentro de cada punto */
.terminos-punto {
  max-width: 600px;
  margin: 20px auto;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

/* Móviles */
@media (max-width: 480px) {
  .terminos-contenedor {
    padding: 20px 10px;
  }
  .terminos-punto {
    max-width: 100%;
  }
}
.gracias {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #333;
}

.gracias-thank-you-box {
  background: #ffffff;
  max-width: 480px;
  width: 90%;
  padding: 40px 30px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gracias-thank-you-box h1 {
  margin-bottom: 15px;
  font-size: 32px;
  color: #1e3a5f;
}

.gracias-thank-you-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.gracias-thank-you-box a {
  display: inline-block;
  padding: 12px 26px;
  background: #1e3a5f;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.gracias-thank-you-box a:hover {
  background: #162c48;
}

/* =====================
  componentes
===================== */
.float-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

.float-button img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

.float-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
@media (max-width: 768px) {
  .float-button {
    display: flex;
  }
}
@media (max-width: 768px) {
  nav.active ul li a {
    color: #000;
  }
}
.g-recaptcha {
  display: flex;
  justify-content: center;
  align-items: center;
}