:root {
    --sc: #FF307C ;
    --sc2: #52E4FC;
    --sc3: #ECF458;
  }


.banner_principal {
  width: 100%;
  margin: auto;
  align-items: center;
  justify-content: center;
}
.banner_principal_ctn {
    width: 100%;
    height: 100%;
    max-width: 120rem;
    min-height: 800px;
    margin: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: first baseline;
    overflow: hidden;
}
.slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.banner-overlay {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2vw;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-left: 10%;
}
.banner-overlay h1 {
    margin-top: 30vh;
    line-height: 4rem;
    font-size: 3rem;
    text-transform: uppercase;
    margin-left: 2rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);

}
.banner-overlay h1 span {
    background-color: white;
    padding: 0 0.5rem;
    height: 2px;
    color: var(--sc);
    text-shadow: none;
}   
.banner-overlay p {
    font-size: 1.2rem;
    margin: 2rem 2rem;
    line-height: 2rem;
    font-family: 'light';
}
@media (max-width:768px) {
    .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
     background-position: 60%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
    .banner-overlay {
    background-color: rgba(0, 0, 0, 0.36);
    width: 100%;
   margin-left: 0;
  }

}
@media (max-width:450px) {
    .slide {
    background-position: 60%;
  }
}
@media (max-width:450px) {
 .banner-overlay {
  position: relative;
  z-index: 1;
  color: white;
  padding: 3vw;
  max-width: 100%;
  height: auto;
 }
}
@media (max-width:390px) {
.banner-overlay h1 {
    margin-top: 30vh;
    line-height: 4rem;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-left: 2rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);

}
}




.digitalmarketing {
    background-image: url(../images/back-opsgo.webp);
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}
.plan_marketing {
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
    position: relative;
}
.plan_marketing__ctn {
    width: 100%;
    max-width: 120rem;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
    padding: 5rem 0 2rem 0;
    position: relative;
    height: 700px;
    min-height: auto;
}
.plan_marketing_cdr {
    width: 100%;
    max-width: 700px;
    padding: 1rem;
    color: #fff;
}

.plan_marketing_cdr h2 {
    font-size: 3.5rem;
    height: 40px;
    line-height: 2rem;
    color: #fff;
    text-transform: uppercase;
}
.plan_marketing_cdr h2 span {
    color: #fff;
    background-color: var(--sc);
    padding: 0;
    width: 100%;
    height: 20px;
    padding: 0 1rem;
}
.plan_marketing_cdr h3 {
    font-size: 3.5rem ;
    text-transform: uppercase;
    color: var(--sc);
    line-height: 3rem;
}
.plan_marketing_cdr h4 {
    font-size: 1.5rem;
    color: #fff;
    padding: 1rem 0;
    font-family: 'light';
}
.plan_marketing_img {
    width: 100%;
    max-width: 300px;
    position: relative;
}
.plan_marketing_img img {
    width: 200%;
    left: -100%;
    top: 0%;
    position: absolute;
}
.plan_marketing_cdr p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

@media (max-width:999px) {
  .plan_marketing__ctn {
  height: auto;
  }
  .plan_marketing_cdr {
  text-align: center;
  height: auto;

  }
  .plan_marketing_cdr h4 {
  margin-bottom: 0px;
  line-height: 0;
  }
  .plan_marketing_cdr h2 {
  line-height: 3.5rem;
  margin-bottom: 0rem;
  height: auto;
  font-size: 2rem;
  line-height: 2.5rem;
  }
  .plan_marketing_cdr h2 span {
  color: #fff;
  background-color: var(--sc);
  padding: 0 0.5rem;
  width:auto;
  height:auto;
  }
  .plan_marketing_img {
  margin: auto;
  padding: 0rem 0 0 0;
  }
  .plan_marketing_img img {
  width: 100%;
  left: 0%;
  top: 0%;
  position: relative;
  }
  .plan_marketing_cdr h3 {
    font-size: 3.5rem ;
    text-transform: uppercase;
    color: var(--sc);
    line-height: 3rem;
    height: auto;
  }
    
}

/* SECTION */
.one-merch {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  gap: 2rem;
  flex-wrap: wrap;
  background-color: #fff;
  height: 800px;
  background-image: url(../images/om_back.png);
  background-repeat: no-repeat;
  background-position: center center;
}

/* TEXT */
.merch-text {
  max-width: 500px;
  text-align: left;
}

.merch-text h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--sc);
  line-height: 50px;
}

.merch-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.highlight {
  font-weight: bold;
  background-color: var(--sc);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: #fff;
}

.merch-btn {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  background-color: var(--sc);
  padding: 1rem 5rem;
}
.merch-btn img {
    width: 100%;
    max-width: 100px;
}

/* IMAGE */
.merch-image img {
  max-width: 600px;
  width: 100%;
  height: auto;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.3); */

}

/* RESPONSIVE */
@media (max-width: 768px) {
  .one-merch {
    flex-direction: column;
    text-align: center;
  }

  .merch-text {
    text-align: center;
  }

  .merch-text h1 {
    font-size: 1.5rem;
  }

  .merch-logo {
    font-size: 2rem;
  }
}
@media (max-width: 300px) {
  .one-merch {
  padding: 3rem 2rem;
  gap: 1rem;
  flex-wrap: wrap;
  background-color: #fff;
  height: auto;
  background-image: url(../images/om_back.png);
  background-repeat: no-repeat;
  }
  .merch-btn {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  background-color: var(--sc);
  padding: 0.8rem 3rem;
  }
  
}










/* SECTION */
.servicios-section {
  position: relative;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}

/* FLOATING IMAGES */
.floating-img {
  width: 100%;
  position: absolute;
  top: 2rem;
  width: 520px;
  height: auto;
  z-index: 1;
}

.floating-img.left {
  left: -1rem;
  top: 3rem;
  width: 450px;
}

.floating-img.right {
  right: 1rem;
  top: -4rem;
  right: 4rem;
  width: 300px;
}
@media (max-width: 1355px) {
  .floating-img.left {
    left: -4rem;
    top: 6rem;
    width: 400px;
  }

  .floating-img.right {
    right: 1rem;
    top: 0rem;
    right: 4rem;
    width: 200px;
  }
}
@media (max-width: 925px) {
  .floating-img.left {
    left: 0rem;
    top: 10rem;
    width: 300px;
  }

  .floating-img.right {
    right: 1rem;
    top: 5rem;
    right: 4rem;
    width: 180px;
  }
}
@media (max-width: 876px) {
  .floating-img.left {
    left: -2rem;
    top: 15rem;
    width: 300px;
  }

  .floating-img.right {
    right: 1rem;
    top: 5rem;
    right: 4rem;
    width: 180px;
  }
}
@media (max-width:768px) {
  .floating-img.left {
    display: none;
  }

  .floating-img.right {
    display: none;
  }
}

/* GRID */
.servicios-grid {
  width: 100%;
  max-width: 1000px;
}

/* CARD */
.servicio-card {
  background-color: white;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  margin: 2rem auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
}

.card-header {
  padding: 2rem;
  text-align: center;
  color: white;
  font-family: 'medium';
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  text-transform: uppercase;
}
.card-header img {
  width: 100%;
  max-width: 60px;
  height: auto; 
  padding: 0.5rem;
}

.card-header h2 {
  margin: auto 1rem;
  font-size: 1.5rem;
  font-weight: 100;
  margin: auto 0;
}
@media (max-width:500px) {
  .card-header img {
    width: 100%;
    max-width: 15%;
    height: 100%; 
    padding: 0.5rem;
    margin: auto 0;
  }
  .card-header h2 {
    margin: auto 1rem;
    font-size: 1.2rem;
    font-weight: 100;
    margin: auto 0;
    width: 85%;
    text-align: left;
    line-height: 20px;
  }
}


.card-info {
  padding: 1rem 0;
  display: none;
  animation: fadeIn 0.3s ease;
  background: url(../images/back-opsgo.webp);
  background-position: center center;
  background-size: cover;
  height: auto;
  color: white;
  text-align: center;
  margin: auto;
  text-transform: none;
  border-radius: 0 0 20px 20px;
}

.card-info p {
  margin: 0.5rem 0;
  line-height: 1.5;
  text-align: center;
  font-size: 1rem;
}
.card-info h4 {
  width: 100%;
  margin: -1.1rem 0;
  padding: 1rem;
  line-height: 1.5;
  text-align: center;
  font-size: 1rem;
  font-weight: 100;
  text-transform: uppercase;
  color: white;
}
.button-card {
  width: 100%;
  max-width: 200px;
  height: 100%;
  margin: 2rem auto;
  background-color: var(--sc);
  color: white;
  padding: 0.5rem 2rem;
  /* border-radius: 10px; */
  border: none;
  font-family: 'medium';
  font-weight: 100;
  font-size: 1.2rem;
  display: inline-block;
}
.servicio-card.active .card-info {
  display: block;
}

/* COLORS */
.pink { background-color: var(--sc); }
.blue { background-color: var(--sc2);}
.yellow { background-color: var(--sc3); color: #606060!important; }
.multicolor {
  background: linear-gradient(45deg, #4caf50, #ff9800, #03a9f4);
}
.bluebck .button-card {
  background-color: var(--sc2);
  color: #095071;
}
.yellowbck .button-card {
  background-color: var(--sc3);
  color: rgb(55, 55, 55)
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .floating-img {
    display: none;
  }

  .servicios-section {
    padding: 2rem 1rem;
  }
}







/* SECTION */
.metodologia-section {
  background-color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.metodologia-title h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--sc);
}
.metodologia-title p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}
.metodologia {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

/* CARD */
.paso {
  background-color: white;
  border-radius: 16px;
  /* box-shadow: 0 6px 16px rgba(0,0,0,0.1); */
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.paso:hover {
  transform: translateY(-5px);
}

.paso img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.paso h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #757575;
  font-family: 'medium';
  font-weight: 100;
}

.paso p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .paso {
    padding: 1.5rem 1rem;
  }

  .paso img {
    width: 50px;
    height: 50px;
  }

  .paso h3 {
    font-size: 1rem;
  }

  .paso p {
    font-size: 0.9rem;
  }
}






/* PC: Galería tipo collage */
.galeria-collage-section {
  padding: 2rem;
  background-color: #fff;
}

.galeria-collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 1400px;
  margin: auto;
}

.imagen {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.imagen img {
  width: 100%;
  aspect-ratio: 1080 / 1350;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  transition: transform 0.3s ease;
}

.imagen:hover img {
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white;
  font-weight: bold;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.imagen:hover .overlay {
  opacity: 1;
}

/* 📱 Móvil: Carrusel horizontal automático con overlay visible */
@media (max-width: 768px) {
  .galeria-collage-section {
    overflow: hidden;
    padding: 1rem;
  }

  .galeria-collage {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scrollHorizontal 20s linear infinite;
  }

  .imagen {
    flex: 0 0 50%;
    width: 100%;
    max-width: 270px;
  }

  .overlay {
    opacity: 1;
    font-size: 0.85rem;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  }
}

@keyframes scrollHorizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
