* {
  box-sizing: border-box;
}

body {
  margin: 0;
    padding: 0;
 
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background-color: #f9f9f9;
}

header {
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #172a28;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
    justify-content: space-between;
  }
}


.hero-dos-columnas {
  margin-top: 5rem; /* separa visualmente del nav */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
    color: #ffcc00;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 60px;
    right: 0; /* antes estaba en 1rem o más */
    width: 100%; /* ocupa todo el ancho disponible */
    max-width: 120px; /* límite para que no se extienda demasiado */
    background-color: #172a28;
    border-radius: 0 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.2);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li a {
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .menu-toggle {
    margin-right: 0.5rem; /* más cerca del borde derecho */
  }

  header {
    padding: 1rem;
    justify-content: space-between;
    position: relative;
  }
}


nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.4s ease, transform 0.4s ease;
}

nav a:hover {
  color: #ffcc00; /* Cambia al color dorado que usas en tu marca */
  transform: scale(1.25); /* Efecto de zoom */
  /*font-size: 17px;  tamaño de la letra que cambia al pasar el mouse */
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
    margin-right: 1rem;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #0a0a23;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.2);
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  header {
    position: relative;
  }
}


.nav-link {
  position: relative;
  text-decoration: none;
  color: #fff; /* o el color que estés usando */
  font-weight: 500;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ffcc00; /* línea dorada */
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}


/* slide */

.slider-hero {
  position: relative;
  width: 100%;
  height: 50%;
    margin-bottom: 0 !important; /* o un valor pequeño como 20px */
  padding-bottom: 0 !important;
    margin-top: -150px;
}

.swiper-slide {
  position: relative;
  height: 100vh; /* o ajusta según tu diseño */
  overflow: hidden;
}


.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto-superpuesto {
  position: absolute;
  bottom: 25%;
  left: 13%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: auto;
}


.texto-superpuesto h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.texto-superpuesto p {
  font-size: 1.2em;
}

.btn-servicios {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
    position: relative;
  overflow: hidden;
}

.btn-servicios::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: #000; /* CAMBIA COLOR DE LINEA DEL BOTON CONOCE NUESTROS SERVICIOS*/
  transition: width 0.3s ease;
}

.btn-servicios:hover {
  background-color: #e2d81a;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-servicios:hover::after {
  width: 80%;
}


/* Responsivo */
@media (max-width: 768px) {
  .swiper-slide {
    height: 70vh;
  }

  .btn-servicios {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .texto-superpuesto {
    bottom: 12%;
  }
}

/* cuadro de texto que va sobre el slide*/

.macambo-intro {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  z-index: 1;
}

#macambo-intro {
  position: absolute;
  bottom: 0;
  left: 29%;
  transform: translateX(-50%);
  z-index: 10;
  width: auto;
  display: flex;
  justify-content: center;
  pointer-events: none; /* evita que el contenedor interfiera con clics si no es necesario */
    
}

#macambo-intro .macambo-card {
  display: block;
  text-decoration: none;
  position: relative;
    z-index: 101;
}

#macambo-intro .macambo-content {
  position: relative;
  top: 0px; /* Invade parte inferior del slide */
  margin: 0 auto;
  max-width: 600px; /* reduce los lados */
  padding: 10px 24px;
  background-color: var(--card-bg, rgba(23, 42, 40, 1)); /* Hereda si usas variables */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
    text-align: justify;
  transition: all 0.3s ease-in-out;
  z-index: 11;
    pointer-events: auto;
}

#macambo-intro .macambo-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* 📱 Responsivo */
@media (max-width: 768px) {
  #macambo-intro .macambo-content {
    max-width: 90%;
    padding: 16px 20px;
  }
}

@media screen and (max-width: 768px) {
  .macambo-intro {
    position: static !important;
    width: 100% !important;
    margin: 1rem auto !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: block !important;
    z-index: auto !important;
  }
}


@media screen and (max-width: 768px) {
  #macambo-intro {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    padding: 0 1rem !important;
    pointer-events: auto !important;
    z-index: auto !important;
  }

  #macambo-intro .macambo-content {
    position: static !important;
    top: auto !important;
    margin: 1rem auto !important;
    max-width: 100% !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
    text-align: justify !important;
  }

  #macambo-intro .macambo-glow {
    display: none !important; /* opcional si interfiere visualmente */
  }
}

@media screen and (max-width: 1024px) {
  #macambo-intro {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    padding: 0 1rem !important;
    pointer-events: auto !important;
    z-index: auto !important;
  }

  #macambo-intro .macambo-content {
    position: static !important;
    top: auto !important;
    margin: 1rem auto !important;
    max-width: 100% !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
    text-align: justify !important;
  }

  #macambo-intro .macambo-glow {
    display: none !important;
  }
}



/*----------------------------------------------*/



/* servicios estratégicos */

.servicios-estrategicos {
  padding: 40px 20px; /* espacio en contenedor de servicios */
  background-color: #f9f9f9;
    text-align: center;
    margin-top: 0; /* o 20px si quieres algo de aire visual */
  padding-top: 1px;
    margin-top: 50px; /* ajusta según el espacio que quieras recuperar */
}

.servicios-estrategicos h2 {
  font-family: 'Playfair Display', serif; /* elegante y profesional */
  font-size: 2.5rem;
  font-weight: 600;
  color: #172A28; /* tono sobrio y corporativo */
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.servicios-estrategicos p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #3A4A48;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


@media (max-width: 768px) {
  #servicios-estrategicos {
    margin-top: 80px;
  }
}

@media screen and (max-width: 1024px) {
  #macambo-intro .macambo-content {
    margin-bottom: 0.5rem !important; /* reduce el espacio inferior */
  }

  .servicios-estrategicos {
    margin-top: 0.5rem !important; /* reduce el espacio superior */
  }
}



/*------------------------------*/

.tarjetas-servicios {
  display: flex;
    flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 10px 20px;
    justify-content: center;
}

.tarjeta-hover {
    width: 100%;
    max-width: 300px;
    background-color: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 300px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color: rgba(0,0,0, 0.9); /* color de transparencia*/
   
}

.tarjeta-hover:hover {
  transform: translateY(-5px);
}

.tarjeta-hover .imagen img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s ease, opacity 0.5s ease;
    display: block;
    opacity: 0.5; /* transparencia de tarjetas homver*/
    
}


/* texto titulo de cada tarjeta*/

.titulo-inicial {
  position: absolute;
  top: 5px;
  left: 50%;
    transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.3);  /*fondo claro translúcido */
  color: #fff; /* gris oscuro elegante */
  font-size: 1.17rem;
  font-weight: bold;
  font-family: 'Georgia', serif; /* tipografía más formal */
    white-space: nowrap;
  padding: 10px 16px;
  border-radius: 15px;
  padding-bottom: 4px;
  width: fit-content;
  z-index: 2;
    transition: opacity 0.5s ease;
}

.tarjeta-hover:hover .titulo-inicial {
  opacity: 0;
}

@media (max-width: 480px) {
  .titulo-inicial {
    font-size: 1rem;
    padding: 8px;
  }
}

.tarjeta-hover .contenido-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #172a28;
  color: white;
  opacity: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  transition: opacity 0.5s ease;
}

.tarjeta-hover:hover .imagen img {
  transform: scale(1.1);
  opacity: 0;
}

.tarjeta-hover:hover .contenido-hover {
  opacity: 1;
}

.contenido-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000cc;
  color: white;
  opacity: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 🔧 Distribuye contenido arriba y abajo */
    box-sizing: border-box;
    gap: 10px;
}
/*
.contenido-hover h2 {
  background-color: rgba(0, 0, 0, 0.6); /* fondo transparente 
  color: #FFD700; /* dorado o el color que prefieras 
  padding: 10px;
  border-radius: 4px;
  font-size: 1rem;
  text-align: center;
}  */

.contenido-hover h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
    color: #fff;
}

.contenido-hover p {
  font-size: 0.95rem;
    color: #fff;
  margin-bottom: 15px;
    overflow-wrap: break-word;
}

.btn-detalle {
  padding: 10px 20px;
  background-color: #ffcc00;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}


.btn-expand {
    display: inline-block
   align-self: flex-end; /* 🔧 Alinea a la derecha dentro del contenedor */
    padding: 10px 15px;
  margin-top: auto;
  margin-bottom: 10px;
  margin-right: 10px;
  position: relative;
  font-size: 0.95em;
  font-weight: bold;
  text-transform: uppercase;
    background-color: #155454;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  padding-bottom: 5px;
  transition: color 1s ease;
    border-radius: 4px;
  text-align: center;
}

.btn-expand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #e2d81a;
  transition: width 1s ease;
}

.btn-expand:hover {
  color: #e2d81a; /* cambio de color de letra del hover al momento de pasar el mouse*/ 
}

.btn-expand:hover::after {
  width: 100%;
}



/* 📱 Modo responsivo */
@media (max-width: 480px) {
  .tarjeta-hover {
    height: auto;
  }

  .contenido-hover {
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .contenido-hover h3 {
    font-size: 1.2em;
  }

  .contenido-hover p {
    font-size: 0.95em;
  }

  .btn-detalle {
    font-size: 0.9em;
    padding: 8px 16px;
  }
}

/* el botón se hace mas grande en pantallas pequeñas */
@media (max-width: 480px) {
  .btn-expand {
    align-self: center;
    margin-right: 0;
    font-size: 0.98em;
  }
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .tarjetas-servicios {
    flex-direction: column;
    align-items: center;
  }

  .tarjeta-hover {
    max-width: 90%;
  }
}

/*-------------------------------------------------------------------------------*/


/* ALGUNO DE NUESTROS CLIENTES*/

.titulo-seccion {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 40px 0 20px;
  color: #333;
  font-family: 'Georgia', serif;
}

/* Contenedor horizontal con scroll suave en pantallas pequeñas */
.contenedor-logos {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 20px;
  justify-content: center;
  scroll-behavior: smooth;
}

/* Estilo de cada logo */
.logo-cliente {
  flex: 0 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-cliente img {
  height: 80px;
  width: auto;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Efecto elegante al pasar el mouse */
.logo-cliente:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Responsivo para tablets y móviles */
@media (max-width: 1024px) {
  .logo-cliente img {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .logo-cliente img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .logo-cliente img {
    height: 50px;
  }
}
/*-------------------------------------------------------------------------------*/

/* MAPA*/

.seccion-mapa {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #f5f5f5; /* fondo suave para destacar la imagen */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.contenedor-mapa {
  width: 100%;
  max-width: 1600px;
  padding: 20px;
  box-sizing: border-box;
  animation: fadeInUp 1s ease-out;
}

.contenedor-mapa img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

/* Efecto elegante al pasar el mouse */
.contenedor-mapa img:hover {
  transform: scale(1.02);
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo para tablets y móviles */
@media (max-width: 1024px) {
  .contenedor-mapa {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .contenedor-mapa img {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .contenedor-mapa {
    padding: 10px;
  }

  .contenedor-mapa img {
    box-shadow: none;
  }
}




/* experiencia comprobada */

.experiencia {
  background-color: #172a28; /* verde oscuro */
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.experiencia h2 {
  font-size: 2.2rem;
  color: #ffcc00; /* dorado */
  margin-bottom: 1rem;
}

.descripcion {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 3rem;
}

.metricas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.bloque-metrica {
  background-color: transparent;
  padding: 1rem;
  width: 200px;
  text-align: center;
}

.numero {
  font-size: 3rem;
  font-weight: bold;
  color: #ffcc00; /* dorado */
  display: block;
  margin-bottom: 0.5rem;
}

.titulo {
  font-size: 1rem;
  text-transform: uppercase;
  color: #fff;
}


@media (max-width: 768px) {
  .metricas {
    flex-direction: column;
    align-items: center;
  }

  .bloque-metrica {
    width: 100%;
    max-width: 300px;
  }

  .numero {
    font-size: 2.5rem;
  }

  .titulo {
    font-size: 0.95rem;
  }
}

/*-------------------------------------------------------------------------------*/

@media (max-width: 768px) {
  .servicios-dos-columnas {
    flex-direction: column;
  }

  .columna {
    width: 100%;
  }

  .servicio-bloque {
    text-align: center;
  }

  .destacado {
    text-align: left;
  }
}

/* ------------------------------------------------------------------------------------- */


/* fade in */


.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* -------------------------------------------------------------------------------------- */


.servicios, .nosotros, .contacto {
  padding: 3rem 2rem;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 250px;
}


/* nosotros */

.macambo-hero {
  background-color: #172A28;
  color: #ffffff;
  text-align: center;
  padding: 160px 20px 60px; /* reduce el padding inferior */
    padding-bottom: 30px;
    margin-bottom: 0; /* elimina el recorte visual */
    margin-top: 0;
    min-height: 100vh; /* asegura que el fondo cubra toda la pantalla si el contenido es corto */
    display: flex;
    flex-direction: column;
    justify-content: center;
   
}

.macambo-hero-content {
  position: relative;
  top: -40px; /* ajusta según lo que necesites: -10px, -15px, etc. */
}

.macambo-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
    visibility: visible;
}


.macambo-title span {
  color: #ffcc00;
    font-size: 4rem;
}

.macambo-subheadline {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  max-width: 800px;
  margin: 0 auto 2rem;
    visibility: visible;
}

/* .macambo-btn {
  background-color: #ffcc00;
  color: #172A28;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.9s;
} */

@keyframes zoomInImpact {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideLeftFade {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.macambo-title,
.macambo-subheadline {
  opacity: 0;
}

/* Animaciones activadas dinámicamente */
.animate-zoom {
  animation: zoomInImpact 1s ease-out forwards;
}

.animate-slide {
  animation: slideLeftFade 1.2s ease-out forwards;
  animation-delay: 1.1s;
}

@media screen and (max-width: 1024px) {
  .macambo-title {
    font-size: 2.4rem;
  }

  .macambo-subheadline {
    font-size: 1.8rem;
  }

  /*.macambo-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  } */
}

/* Tablets y pantallas medianas */
@media screen and (max-width: 1024px) {
  .macambo-hero {
    padding: 180px 20px 60px;
  }
}

/* Móviles grandes */
@media screen and (max-width: 768px) {
  .macambo-hero {
    padding: 140px 16px 40px;
  }
}

/* Móviles pequeños */
@media screen and (max-width: 480px) {
  .macambo-hero {
    padding: 70px 12px 70px;
  }
}


.macambo-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
    column-gap: 60px;
  row-gap: 0;
  padding: 40px 40px 80px;
  /* background-color: white; */
  align-items: center;
  justify-content: center; /* Centra el grid horizontalmente */
  max-width: 1200px;       /* Limita el ancho máximo */
  margin: 0 auto;          /* Centra el bloque en la página */
    padding-bottom: 40px; /* no más de esto */
}

.macambo-columns > *:first-child {
  margin-top: 0;
}

.contenido-nosotros h3 {
  font-family: 'Playfair Display', serif; /* elegante y profesional */
  font-size: 2em;
  margin-bottom: 20px;
}

.contenido-nosotros h3 span {
  color: #0c4f2c;
}

.contenido-nosotros h3 strong {
  color: #f4b942;
}

.contenido-nosotros p {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  text-align: justify;     /* Justifica el texto */
}


.imagen-nosotros {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente si hay altura definida */
}

.imagen-nosotros img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  object-fit: cover;
}

.image-placeholder {
  background-color: #f0f0f0;
  color: #666;
  text-align: center;
  padding: 80px 20px;
  font-size: 1em;
  border: 2px dashed #ccc;
  border-radius: 8px;
  max-width: 500px;
}

/* 📱 Responsivo */
@media (max-width: 768px) {
  .macambo-columns {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .macambo-header h2 {
    font-size: 2em;
  }

  .contenido-nosotros h3 {
    text-align: center;
  }

  .contenido-nosotros p {
    text-align: center;
  }

  .imagen-nosotros img,
  .image-placeholder {
    margin: 0 auto;
    display: block;
  }
}


@media screen and (max-width: 1024px) {
  .nosotros-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .macambo-columns {
    grid-template-columns: 1fr !important;
    padding: 40px 20px !important;
    gap: 40px !important;
  }

  .macambo-header {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }

  .macambo-header h2 {
    font-size: 2em !important;
    margin-bottom: 0.5rem !important;
  }

  .macambo-header p {
    font-size: 1rem !important;
    padding: 0 1rem !important;
    margin-bottom: 1rem !important;
  }

  .contenido-nosotros h3,
  .contenido-nosotros p {
    text-align: center !important;
    padding: 0 1rem !important;
  }

  .imagen-nosotros img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

/* --------------------------------------------------------------------------- */

/* CARRUSEL DE IMAGENES DE NOSOTROS*/
.carrusel-seccion {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  background-color: #f9f9f9;
}

.carrusel-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carrusel-imagenes {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrusel-imagenes img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
}

/* Botones */
.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carrusel-btn:hover {
  background-color: rgba(0,0,0,0.6);
}

.izquierda {
  left: 10px;
}

.derecha {
  right: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
  .carrusel-btn {
    font-size: 1.5rem;
    padding: 8px;
  }
}


/* como trabajamos */

.como-trabajamos {
  padding: 0 20px 60px; /* antes 80px arriba */
  background: linear-gradient(to bottom, #fdfdfd, #F8F8F8);
  text-align: center;
    
}

.titulo-animado, .subtitulo-animado {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.subtitulo-animado {
  animation-delay: 0.3s;
  font-size: 1.2em;
  color: #555;
  margin-bottom: 40px;
}

.grid-metodologia {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Línea inferior animada */
.btn-linea {
  display: inline-block;
  width: 100%; /* 🔧 Ocupa todo el ancho disponible */
  height: 50px; /* 🔧 Altura visible del botón */
  position: relative;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

/* Línea inferior animada */
.linea-gradiente {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 6px;
  background: linear-gradient(to right, #ffcc00, #ff6f61, #00c9ff);
  transition: width 0.4s ease;
}

.bloque-metodo:hover .linea-gradiente {
  width: 100%;
}


.bloque-metodo {
  background-color: white;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.bloque-metodo:hover {
  transform: translateY(-5px);
}

.numero-hover {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: #ffcc00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  color: black;
  transition: all 0.4s ease;
}

.numero-hover:hover {
  transform: scale(1.2) rotate(10deg);
  background-color: #000;
  color: #fff;
}

.bloque-metodo h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.bloque-metodo p {
  font-size: 1em;
  color: #666;
}

/* 🌀 Animación de entrada */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 Modo responsivo */
@media (max-width: 480px) {
  .titulo-animado {
    font-size: 1.8em;
  }

  .subtitulo-animado {
    font-size: 1em;
  }

  .numero-hover {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
  }

  .bloque-metodo {
    padding: 20px;
  }

  .bloque-metodo h3 {
    font-size: 1.2em;
  }

  .bloque-metodo p {
    font-size: 0.95em;
  }
}


/* ---------------------------------------------- */


/* nuestro equipo */
.nuestro-equipo {
  padding: 40px 20px 60px; /* antes 60px arriba */
  background-color: #fff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.nuestro-equipo h2 {
  font-size: 2.5em;
  color: #172a28;
  margin-bottom: 10px;
}

.subtitulo {
  font-size: 1.1em;
  color: #fff;
  margin-bottom: 40px;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.miembro {
  border: 1px solid #000;
  padding: 20px;
  background-color: #fff;
  text-align: center;
}

.miembro img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.miembro h3 {
  font-size: 1.1em;
  color: #172a28;
  margin-bottom: 5px;
}

.miembro p {
  font-size: 0.95em;
  color: #333;
  font-weight: bold;
}

.miembro:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Responsivo */
@media (max-width: 1024px) {
  .equipo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .equipo-grid {
    grid-template-columns: 1fr;
  }

  .miembro {
    margin-bottom: 20px;
  }
}

/* ---------------------------------------------- */

/* trabajemos juntos */

/* NUEVO FORMULARIO TRABAJEMOS JUNTOS*/
.formulario-trabajemos {
  background-color: #172A28;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.formulario-trabajemos__titulo {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.formulario-trabajemos__subtitulo {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-family: 'Segoe UI', sans-serif;
}

.formulario-trabajemos__form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.formulario-trabajemos__campo {
  margin-bottom: 20px;
}

.formulario-trabajemos__grupo {
  display: flex;
  gap: 20px;
}

.formulario-trabajemos__campo label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #ffcc00;
}

.formulario-trabajemos__campo input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.formulario-trabajemos__boton {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #ffcc00;
  color: #172A28;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-trabajemos__boton:hover {
  background-color: #e6b800;
}

@media (max-width: 600px) {
  .formulario-trabajemos__grupo {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .formulario-trabajemos__titulo {
    font-size: 2.2rem;
  }

  .formulario-trabajemos__subtitulo {
    font-size: 1.1rem;
  }

  .formulario-trabajemos__form {
    padding: 0 10px;
  }

  .formulario-trabajemos__campo input {
    font-size: 0.95rem;
    padding: 9px;
  }

  .formulario-trabajemos__boton {
    font-size: 0.95rem;
    padding: 10px;
  }
}

@media (max-width: 600px) {
  .formulario-trabajemos__grupo {
    flex-direction: column;
  }

  .formulario-trabajemos__titulo {
    font-size: 2rem;
  }

  .formulario-trabajemos__subtitulo {
    font-size: 1rem;
  }

  .formulario-trabajemos__campo input {
    font-size: 0.9rem;
    padding: 8px;
  }

  .formulario-trabajemos__boton {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/*-----------------------------------------------------------------------------*/

/* servicios */

/* scroll para fijar ubicación exacta de los servicios */
#marketing-digital,
#monitoreo-de-medios,
#btl-experiencial,
#atl-desentralizado {
  scroll-margin-top: 100px; /* ajusta según la altura real del header */
}


/* Sección hero para servicios */
.servicios {
  background-color: rgba(255, 251, 235, 0.9);
  color: #172A28;
  text-align: center;
  padding: 100px 20px 60px; /* reduce el padding inferior */
   padding-bottom: 30px;
    margin-bottom: 0; /* elimina el recorte visual */
    margin-top: 0;
    min-height: 100vh; /* asegura que el fondo cubra toda la pantalla si el contenido es corto */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Contenedor del texto */
.contenedor-servicios h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contenedor-servicios h2 span {
  color: #ffcc00;
  font-size: 4rem;
}

.contenedor-servicios p {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  max-width: 800px;
  margin: 0 auto 1rem;
  visibility: visible;
}

.visible {
  opacity: 1;
}


@keyframes zoomFadeIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Estado inicial */
.animate-servicios {
  opacity: 0;
}

/* Estado activado */
.animate-servicios.visible {
  animation: zoomFadeIn 1.2s ease-out forwards;
}



/* Responsividad */
@media screen and (max-width: 1024px) {
  
  .servicios {
    padding: 120px 20px 100px;
  }
    
  .contenedor-servicios h2 {
    font-size: 2.4rem;
  }

  .contenedor-servicios h2 span {
    font-size: 3.2rem;
  }

  .contenedor-servicios p {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  .servicios {
    padding: 50px 16px 120px;
  }
}

@media screen and (max-width: 480px) {
  .servicios {
    padding: 20px 12px 110px;
  }

  .contenedor-servicios h2 {
    font-size: 2rem;
  }

  .contenedor-servicios h2 span {
    font-size: 2.8rem;
  }

  .contenedor-servicios p {
    font-size: 1.4rem;
  }
}


/* ---------------------------------------------- */

/* monitoreo y analisis*/

.monitoreo-seccion {
  background-color: rgba(23, 42, 40, 1);
  padding: 60px 20px;
  color: #ffffff;
}

.monitoreo-contenedor {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.monitoreo-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.monitoreo-titulo {
  font-size: 2.5rem;
  margin-bottom: 1px;
  font-family: 'Playfair Display', serif;
}

.monitoreo-subtitulo {
  font-size: 1.3rem;
  margin-bottom: 12px;
    margin-top: 10px;
  font-weight: 600;
}

.monitoreo-descripcion {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
    margin-top: 0;
  font-family: 'Segoe UI', sans-serif;
}

.monitoreo-bloques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.bloque {
  background-color: #172a28;
    border: 5px solid #ffffff;   /* contorno blanco, ligeramente grueso */
  color: #ffffff;
  padding: 10px;
  border-radius: 18px;
  transition: transform 0.3s ease;
    text-align: center;
}

.bloque:hover {
  transform: translateY(-5px);
}

.bloque h4 {
  color: #ffcc00;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.bloque p {
  font-size: 1rem;
  line-height: 1.5;
    text-align: justify;
}

.monitoreo-imagen {
  flex: 1;
  max-width: 500px;
}

.monitoreo-imagen img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsivo para iPad Air y Pro */
@media (max-width: 1024px) {
  .monitoreo-contenedor {
    flex-direction: column;
    align-items: center;
  }

  .monitoreo-texto {
    text-align: center;
  }

  .monitoreo-titulo {
    font-size: 2.2rem;
  }

  .monitoreo-subtitulo {
    font-size: 1.2rem;
  }

  .monitoreo-descripcion {
    font-size: 1rem;
  }

  .monitoreo-bloques {
    grid-template-columns: 1fr 1fr;
  }

  .monitoreo-imagen {
    max-width: 100%;
    margin-top: 30px;
  }
}

/* Móviles */
@media (max-width: 600px) {
  .monitoreo-titulo {
    font-size: 2rem;
  }

  .monitoreo-subtitulo {
    font-size: 1.1rem;
  }

  .monitoreo-descripcion {
    font-size: 0.95rem;
  }

  .monitoreo-bloques {
    grid-template-columns: 1fr;
  }

  .bloque h4 {
    font-size: 1.1rem;
  }

  .bloque p {
    font-size: 0.95rem;
  }
}





















/*-------------------------------------------------------------------------------------------------------------------------------------------*/



/* ---------------------------------------------- */

/* BTL */

/* styles.css */


/* ---------------------------------------------- */

/* formulario */

/* formulario.css
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #f0f4f8, #e8f5e9);
  color: #333;
} */

/* Sección completa con fondo institucional */
.contact-form {
  width: 100%;
  background-color: #172A28; /* Cambia este color si deseas otro tono institucional */
  padding: 80px 20px;
  box-sizing: border-box;
}

/* Contenedor del formulario */
.contact-form form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Título y subtítulo */
.contact-form h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-form p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #ddd;
  text-align: center;
  margin-bottom: 2rem;
}

/* Campos del formulario */
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

/* Botón de envío */
.contact-form button {
  background-color: #ffcc00;
  color: #172A28;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e6b800;
}

/* Responsividad */
@media screen and (max-width: 768px) {
  .contact-form form {
    padding: 30px 20px;
  }

  .contact-form h1 {
    font-size: 2rem;
  }
}
/* ----------------------------------------------*/


/* Loader container */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #172a28; /* o blanco, según tu estilo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Texto principal */
.loader-text {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
}

/* Animación de letras */
.macambo span {
  color: #ffcc00;
  opacity: 0;
  animation: fadeInLetter 0.5s forwards;
  display: inline-block;
}

.macambo span:nth-child(1) { animation-delay: 0.2s; }
.macambo span:nth-child(2) { animation-delay: 0.4s; }
.macambo span:nth-child(3) { animation-delay: 0.6s; }
.macambo span:nth-child(4) { animation-delay: 0.8s; }
.macambo span:nth-child(5) { animation-delay: 1s; }
.macambo span:nth-child(6) { animation-delay: 1.2s; }
.macambo span:nth-child(7) { animation-delay: 1.4s; }

@keyframes fadeInLetter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Frase que palpita */
.mensaje {
  font-size: 1rem;
  color: white;
  margin-top: 1rem;
  animation: pulse 1.5s infinite;
}

/* Puntos suspensivos animados */
.dot {
  opacity: 0;
  animation: dotFade 0.5s forwards;
  display: inline-block;
}

.dot:nth-child(1) { animation-delay: 2s; }
.dot:nth-child(2) { animation-delay: 2.5s; }
.dot:nth-child(3) { animation-delay: 3s; }

@keyframes dotFade {
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}



/* página de contacto --------------------------------------------------------- */ 

.contact-form {
  width: 100%;
  background-color: #fff;
  padding: 80px 20px;
  box-sizing: border-box;
  color: #fff;
}

.frase-contacto h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffcc00;
  text-align: center;
  margin-bottom: 30px;
}

.grid-contacto {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.columna-formulario {
  flex: 1;
  min-width: 300px;
}

.columna-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.columna-info p {
  font-size: 1rem;
  margin-bottom: 20px;
    color: #000;
}

.columna-info img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  background-color: #ffcc00;
  color: #172A28;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e6b800;
}

@media screen and (max-width: 768px) {
  .grid-contacto {
    flex-direction: column;
  }

  .columna-formulario,
  .columna-info {
    width: 100%;
    margin-bottom: 40px;
  }
}


/*-------------------------------------------------------------------------- contacto*/



/* macambo-horizontal.css */

.barra-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: #fdd835;
  gap: 2rem;
  font-size: 0.95rem;
  text-align: center;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item strong {
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.item a {
  color: #fdd835;
  text-decoration: underline;
}

.item span {
  color: #fdd835;
}

.copyright {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  flex-basis: 100%;
}

@media (max-width: 768px) {
  .barra-horizontal {
    flex-direction: column;
    gap: 1rem;
  }

  .copyright {
    margin-top: 1rem;
  }
}



footer {
  background-color: #172a28;
  color: white;
  text-align: center;
}


#footer {
  background-color: #172a28;
  color: white;
  text-align: center;
  padding: 0.4rem;
  position: relative;
  overflow: hidden;
}

.footer-text {
  font-size: 1rem;
  position: relative;
  display: inline-block;
  animation: shine 3s infinite;
}

/* Efecto de brillo que recorre el texto */
@keyframes shine {
  0% {
    background-position: -200px;
  }
  100% {
    background-position: 200px;
  }
}

.footer-text {
  background: linear-gradient(90deg, #ffffff 0%, #ffcc00 50%, #ffffff 100%);
  background-size: 200px 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}
