@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Antonio:wght@100..700&family=Cookie&family=Lilita+One&family=Londrina+Solid:wght@100;300;400;900&family=Nanum+Pen+Script&family=Oleo+Script:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ribeye&family=Yesteryear&display=swap');

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

body{
    font-family: Poppins;
    background:#E5A9A9 ;
}

html {
    scroll-behavior: smooth;
}

/* pestañita */
.pestana-lateral {
  position: fixed;
  top: 50%;
  left: 0; 
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 9999;
}

.icono-fijo {
  background-color: #6BB1AD;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-bottom: 10px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
  z-index: 1000; 
}

.icono-fijo i {
  color: #FFFEF3;
  font-size: 20px;
}

.iconos-hover {
  background-color: #FFFEF3;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.15); 
  position: relative;
  left: 0; 
}

.iconos-hover i {
  font-size: 24px;
  color: #a7bcbd;
  transition: color 0.3s;
}

.iconos-hover i:hover {
  color: #688384;
}


/* seccion yo */


.fondoyo {
    display: flex; 
    align-items: center; 
    gap: 80px; 
    height: 500px; 
    width: auto;
    padding-left: 150px; 
    background: #E5A9A9; 
}

.imgyo img {
    width: auto;
    height: 450px;
}
.textos{
  display: flex;
  flex-direction: column;
  gap: 10px; 
}
.titulo1 p{
    color: #E6748E;
    font-weight: 600;
    font-size: 80px;
    padding-top: 4px;
    padding-left: 140px;
    line-height: 1.2;
}
.texto1{
    color: #FFFEF3;
    font-weight: 200;
    font-size: 20px;
    padding-left: 140px;
}


/* seccion portafolio */


.fondoportafolio{
    background: #FFFEF3;
    width: auto;
    height: 300px;
    border-radius : 0 0 30px 30px;
}
.tituloporta{
  display: flex;
  justify-content: center; 
  align-items: center;
}
.tituloporta img{
    width: auto;
    height: 180px;
    padding-top: 30px;
}

.btn-toggle{
    background-color: #6BB1AD;
    color: #FFFEF3;
    padding: 12px 24px;       
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    margin: 20px auto;        
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.btn-toggle:hover{
    background-color: #57a39e;
}



/* seccion logofolio */

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

.textologofolio img {
  height: 150px;
  width: auto;
  padding-top: 25px; 
}

/* seccion logos */

.fondologos{
    background: #FFFEF3;
    width: auto;
    height: 500px;
    padding-top: 90px;
    padding-left: 120px;
    display: flex;
  align-items: flex-start; 
  justify-content: center; 
  gap: 100px; 
  margin: 10px auto;
  width: auto;
  padding-right: 65px;
}
.titulologo{
    color: #E6748E;
    font-size: 30px;
    font-weight: 700;
}
.descripcionlogo{
    color: #E6748E;
    font-weight: 300;
    font-size: 20px;
}
.btn{
    background-color: #6BB1AD;
    color: #FFFEF3;
    padding: 12px 24px;       
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;      
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.btn:hover{
    background-color: #57a39e;
}



/* caja logos */






/* textos */
.textoslogo {
    color: #e6748e;
  max-width: 50%; 
}

.textoslogo h4 {
  font-size: 28px;
  margin-bottom: 15px;
}

.textoslogo p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* botón logos */
.btn {
  padding: 10px 20px;
  border: none;
  background-color: #6BB1AD;
  color: #FFFEF3;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
}
.btn:hover {
  background-color: #57a39e;
}

/* logos */

/* caja de logos */
.cajalogos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 50px;
  max-width: 45%; 
  margin: 0 auto;    
}

.cajalogos img {
  width: 100%; 
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.cajalogos img:hover {
  transform: scale(1.1); 
  cursor: pointer; 
  z-index: 2; 
}

/* ajustes de márgenes individuales */
.cajalogos img.ajustar1 { margin-top: 35px; }
.cajalogos img.ajustar2 { margin-top: 30px; }
.cajalogos img.ajustar3 { margin-top: 50px; }
.cajalogos img.ajustar4 { margin-top: 55px; }




/* logo transición suave */
#logos {
  max-height: 1000px; 
  opacity: 1;
  overflow: visible;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

#logos.oculto {
  max-height: 0;
  opacity: 0;
}


/* ilustraciones */
.textoilus {
  display: flex;
  justify-content: center; 
  align-items: center;
  width: 100%;
}

.textoilus img {
  width: 50%;    
  height: auto;  
  margin: 15px 0;
}


@media (max-width: 780px) {
  .textoilus img {
    width: 75%;  
  }
}

.posters {
  background: #FFFEF3;
  width: 100%;
  min-height: 1800px; 
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
}

.tucan img {
  width: 1512px;
  max-width: 100%;
  display: block;
}

/* posters */
.primeros {
  display: flex;
  justify-content: center;
  gap: 60px; 
  margin-top: 80px;
  padding-top: 40px;
}

.primeros img {
  height: 415px;
  width: auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primeros img:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}
.poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.btn-info {
  background: #6BB1AD;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  font-family: Poppins, sans-serif;
  margin-top: 30px;
}

.btn-info:hover {
  background: #57a39e;
}

/* cuadro de info */
.infoposter {
  display: none; 
  position: absolute;
  bottom: -120px; 
  background: #fff;
  color: #6BB1AD;
  padding-top: 15px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  width: 220px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  z-index: 10;
}

/* titulo mascotas */
.titulomascotas{
  color: #e6748e;
  font-size: 90px;
 text-align: center;
 padding-top: 12px;
}

.ilusmascotas {
  background: #FFFEF3;
  width: 100%;
  min-height: 800px;
  text-align: center; 
  margin-top: 20px;
}

.mascotas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px; 
  padding-top: 80px;
}

.mascotas img {
  width: 400px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.mascotas img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border-radius: 12px;
}

.caja {
  display: flex;
  justify-content: center; 
  align-items: center;     
  padding-top: 30px;
  width: 100%;
  box-sizing: border-box;  
  padding-bottom: 20px;
}

.cajainfomascotas {
  display: inline-block;
  background: #6BB1AD;
  padding: 15px 25px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #FFFEF3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center; 
}
@media (max-width: 600px) {
  .cajainfomascotas {
    font-size: 12px;       
    padding: 10px 15px;    
    margin-top: 8px;       
  }
}

/* footer */
.footer{
  background: #6BB1AD;
  width: 100%;
  padding: 50px 0; 
}

.contenidofooter{
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.textosfooter h2{
  color: #FFFEF3;
  font-size: 50px;
  margin: 0 0 20px 0;
  padding-top: 28px;
}

.textosfooter p{
  color: #FFFEF3;
  font-size: 15px;
  font-weight: 200;
  width: 380px;
  line-height: 1.6;
}

.formulariofooter{

  border-radius: 20px;
  padding: 30px;
  display: flex;
  padding-top: 100px;
  flex-direction: column;
  justify-content: space-between;
  max-width: 400px;
 
}

















/* Para pantallas pequeñas (tablets y móviles) */
@media (max-width: 600px) {
  .primeros img {
    height: 100px; 
  }
}

/* Para móviles muy pequeños */
@media (max-width: 500px) {
  .primeros img {
    height: 200px; 
  }

  .primeros {
    gap: 20px; 
    flex-direction: column; 
  }
}



@media (max-width: 700px) {
  .cajalogos {
    display: inline-block;
    justify-content: center;
    align-items: center;
    gap: 50%; 
    max-width: 50%; 
    margin: 10px auto; 
  }

  .cajalogos img {
    display: inline;
    gap: 40px;
    width: 20%; 
    height: auto;
    margin-top: 0;
  }

  .cajalogos img.ajustar1,
  .cajalogos img.ajustar2,
  .cajalogos img.ajustar3,
  .cajalogos img.ajustar4 {
    margin-top: 0; 
  }
}




/* -----------------------------
RESPONSIVE / MEDIA QUERIES
----------------------------- */

/* Tablets */
@media (max-width: 1024px) {
  .fondoyo {
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    gap: 30px;
    height: auto;
  }
  .imgyo img {
    height: 300px;
  }
  .titulo1 p {
    font-size: 50px;
    text-align: center;
    padding-left: 0;
  }
  .texto1 {
    font-size: 18px;
    text-align: center;
    padding-left: 0;
  }
  .tituloporta img {
    height: 140px;
    padding-left: 0;
  }
  .textologofolio img {
    height: 120px;
    padding-left: 0;
  }
  .fondologos {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    gap: 40px;
    height: auto;
  }
  .textoslogo {
    max-width: 100%;
    text-align: center;
  }
  .cajalogos {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 20px;
  }
  .primeros {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
  }
  .primeros img {
    height: auto;
    width: 90%;
  }
  .titulomascotas {
    font-size: 60px;
    padding-left: 0;
    text-align: center;
  }
  .mascotas {
    flex-direction: column;
    gap: 20px;
    padding-top: 40px;
  }
  .mascotas img {
    width: 70%;
    max-width: 300px;
  }
  .cajainfomascotas {
    font-size: 13px;
    padding: 10px 20px;
  }
  .contenidofooter {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .textosfooter h2 {
    font-size: 36px;
    text-align: center;
    padding-top: 0;
  }
  .textosfooter p {
    width: 100%;
    text-align: center;
  }
  .formulariofooter {
    max-width: 90%;
    margin: 0 auto;
  }
  .formulariofooter button {
    margin-left: 0;
    width: 100%;
  }
}

/* Móviles */
@media (max-width: 600px) {
  .titulo1 p {
    font-size: 40px;
  }
  .texto1 {
    font-size: 16px;
  }
  .fondologo h4 {
    font-size: 24px;
  }
  .fondologos p {
    font-size: 14px;
  }
  .cajalogos {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .primeros img {
    width: 100%;
    height: auto;
  }
  .titulomascotas {
    font-size: 45px;
  }
  .mascotas img {
    width: 90%;
  }
  .infoposter {
    width: 180px;
    bottom: -100px;
  }
  .btn-toggle,
  .btn,
  .btn-info {
    font-size: 16px;
    padding: 10px 16px;
  }
  .pestana-lateral {
    top: auto;
    bottom: 0;
    flex-direction: row;
    left: 50%;
    transform: translateX(-50%);
  }
  .iconos-hover {
    flex-direction: row;
    gap: 10px;
    padding: 5px;
    border-radius: 15px;
  }
}
