
/*HEADER*/
.logo-header {
    max-height: 70vh;
    max-width: 90vw;
}

#tituloEmpresa{
 
    font-size:1.2rem;
    color: #dadee8;
    text-align: center;
    margin-top: -3px;
    margin-bottom: 0;
    padding-inline: 1vh;
    border-radius: 366px;
    background-color: #000000c9;
    margin-left: auto;
    margin-right: auto;
}

#textoEslogan{    
    font-size: 1rem;
    color: #c4cada;
    text-align: center;
    text-shadow: -3px 1px 0px #000000;
    margin-bottom: 20px;
    animation: aparecer 20s linear infinite;

    
}
@keyframes aparecer {
  0% { opacity: 1; }   /* oculta */
  50% { opacity: 0; }  /* aparece rápido */
  100% { opacity: 1; } /* desaparece al final (a los 10s) */
}


/* Navigation */
.main-nav-outer{
    border-bottom:1px solid #dddddd;
    box-shadow:0 4px 5px -3px #ececec;
    position:relative;
    background: #000000;
    padding-top: 4px;
    z-index: 1000 !important;
}
.main-nav{
    text-align:center;
    margin:0px;
    padding:0;
    list-style:none;
    background-color: #000000;
}
.main-nav li{
    display:inline;
    margin:0 1px;
}
.main-nav li a{
    display: inline-block;
    color: #d1c6c6;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    line-height: 20px;
    font-size: 1rem;
    margin: 17px 18px;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}
.main-nav li a:hover{ 
    text-decoration:none;
    color: #7cc576;
}
.res-nav_click { 
    line-height:38px;
    font-family: 'FontAwesome';
    font-size:38px;
    text-decoration: none !important;
    color:#777777;
    font-style:normal;
    display:none;
    width:42px;
    height:27px;
    margin:20px 89%;
    transition:all 0.3s ease-in-out;
}
.res-nav_click i{
    position: absolute;
    right: 2vw;
}
.res-nav_click:hover, .res-nav_click:active, .res-nav_click:focus {
    color: #7cc576 !important;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
    z-index: 1001;
}

.language-switcher a {
    color: white;
    display: inline-block;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-switcher a:hover {
    background-color: rgba(124, 197, 118, 0.2);
    border-color: #7cc576;
    transform: scale(1.1);
}

.language-switcher a.active {
    background-color: #7cc576;
    border-color: #7cc576;
}

.flag-emoji {
    font-size: 20px;
    display: inline-block;
    line-height: 1;
}




.business-talking1{
    background-color:#1f3e51;
    background: url(../img/transfinox/1.jpg) center no-repeat;
    width: 100%;
	background-attachment: fixed;
    background-size: 102% 130%;
	background-position-y: 96%;
	height: 80vh;
}

#empresa-trayectoria{
    background:url(../img/fondo.jpg) center no-repeat;
    background-size: cover;
    background-color: #f0f1f5;
    color:#424141;
}

#empresa-trayectoria h1{
  font-weight: 100;
  font-size: 37px;
  line-height: 10mm;
  color: #424141;
  font-family: 'Dancing Script', cursive;
}

#empresa-trayectoria h2{
  font-weight: 400;
  font-size: 29px;
  line-height: 11mm;
  color: #373733;
  margin-bottom: 1rem;
  font-family: 'Dancing Script';
}

#empresa-trayectoria h3 {
  margin-block: 0.5rem;
  font-size: 34px;
  text-align: center;
  font-weight: bold;
}

#empresa-trayectoria h4{
  font-weight: 400;
  font-size: 29px;
  line-height: 11mm;
  color: #373733;
  margin-bottom: 1rem;
  font-family: 'Dancing Script';
  text-align: right;
  width: 100%;
}

#empresa-trayectoria p{
  font-size: 18px;
  line-height: 7mm;
  color: #373733;
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
  text-align: left;
}

.business-talkingvideo{

    height: 80vh;
    position: relative;
    overflow: hidden;
}

.business-talkingvideo video{
    position: fixed;
    bottom:  0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: brightness(80%);
    opacity: 0;
}

.business-talkingvideo video.visible {
    opacity: 1;
}

#servicios-integrales{
    background-color: rgb(253, 253, 253);
        padding-bottom: 6em;
}

#servicios-integrales article{
    margin-inline:8vw;
}

#servicios-integrales article{
    text-align: center;
}

#servicios-integrales h1{
    padding-top: 5px;
    font-size: 4rem;
    font-weight: bold;
    line-height: 5rem;
    text-align: center;
    color: #272727;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

#servicios-integrales h2{
    font-size: 1.5rem;
    color: #474444;
}

#servicios-integrales h3{
    font-size: 1.5rem;
    text-align: center;
    color: #696666;

}

#servicios-integrales .ciclotrabajo {
    text-align: center;
    padding-inline: 18px;
}

#servicios-integrales .ciclotrabajo .imagen-circular{
    max-width: 53%;
    margin-block: 2em;;
    justify-content: center;
}

#servicios-integrales .ciclotrabajo p{
     font-size: 1.8rem;
        line-height: 1.7; /* mejora la lectura */
        margin-bottom: 1.6rem;
        text-align: left;
        color: #2a2a2a;
     font-family: 'Inter', sans-serif;
}

#secNosotros{
    padding-top: 7px; 
    z-index: 100;
    background-image: url(../img/madera.jpg);
}

#secNosotros h2 {
    font-size: 37px;
    line-height: 10mm;
    color: #FFF8F8;
}

#proyectos-ejecutados h2{
   background-color: #000000;
   color: white;
   font-family: 'Tahoma', cursive;
   text-align: center;
    padding: 44px;
    margin: 0px;
}


#integracion-software-industrial{
    background: linear-gradient(162deg, black, #6b05a8);
    text-align: center;
    color: white;
}

#integracion-software-industrial h1{
    font-size: 3rem;
}

#integracion-software-industrial h2{
    font-size: 2rem;
}

#integracion-software-industrial img{
   width: 30%;
}

#integracion-software-industrial p{
   margin-top: 4em;
   font-size: 1.5rem;
   font-family: 'Inter', sans-serif;
   text-align: left;
}



/* Layout específico */
#gallery-section {
 overflow: hidden;
  padding-top: 6px;
  background-color: #242629;
  text-align: center;
  font-size: 2.5rem;
  padding-bottom: 0px;
}

#gallery-section h2 {
     font-size: 4rem;
  color: #bab9b9;
}

#gallery-section h3 {
     font-size: 2rem;
  color: #bab9b9;
}

.gallery-iframe {
  width: 98%;
  height: 1012px;
  border: none;
  padding-top: 20px;

}



.map-iframe {
  border: 0;
  width: 100%;
}

.map-container {
  margin-top: 24px;
}

.contact-info-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

/* Enlaces */
.privacy-link {
  color: #ddd;
  text-decoration: underline;
}


#reelTaller {
    background-color: #000000;
    padding: 0;
}

/*Reel Taller imagenes*/
#reelTaller article {
    background-attachment: fixed;
    background-size: 100% 100%;
    width: 100%;
    min-height: 960px;
    padding-top: 12px;padding-bottom: 0;
    margin-inline: 0px;
}
/* AJUSTE: Selector cambiado de P a H3 (porque el H3 reemplazó al P en el HTML optimizado) */
#reelTaller article h3{
    background-attachment: fixed;
    background-size: 100% 100%;
    width: 100%;
    height: 960px;
    text-align: center;
    margin-top: 126px;
    font-size: 55px;

}

#reelTaller article label{
    background-color: rgba(0, 0, 0, 0.8);
    padding: 24px 32px;
    border: 3px solid #7cc576;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: inline-block;
    max-width: 80%;
    text-align: center;
}

#reel1{
    background: url(../img/transfinox/Originales/Transfinox1.jpg) center no-repeat;
    background-position-y: 96%;
}

#reel2{
    background: url(../img/transfinox/Originales/Transfinox4.jpg) center no-repeat;
    background-position-y: 96%;
}

#reel3{
    background: url(../img/transfinox/Originales/Transfinox5.jpg) center no-repeat;
    background-position-y: 96%;
}

#reel4{
    background: url(../img/transfinox/5.jpg) center no-repeat;
    background-position-y: 0%;
}



#cofinanciados{
    background-color:black;
}

#cofinanciados div{
    padding: 24px 32px;
    text-align: center;
}


#cofinanciados div{
   padding:0px;
   margin:0px;
}

#cofinanciados img{
    margin: 16px;
    max-width: 92%;
    border-radius: 60px;
}


/* Sección de contacto rápido */
.contact-section {
  background: radial-gradient(circle, #696969 0%, #555555 50%, #333333 100%);
  padding-top: 15vh;
  padding-bottom: 34vh;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-section h2{
    font-size: 3rem!important;
}

.contact-section img{
    width: 65%;
}



.contact-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 600;
  color: white;
  position: relative;
}

.contact-section h2::before {
  content: '\f2b5';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 6rem;
  display: block;
  margin-bottom: 20px;
  color: #3498db;
}

.contact-info-quick {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-item-quick {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item-quick:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact-item-quick i {
  font-size: 1.8rem;
  color: #3498db;
}

.contact-item-quick a {
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item-quick a:hover {
  color: #3498db;
}


.contact-color-tr{
    color: #121681;
    font-weight: bold;
}
.contact-color-fi{
    color: #bcc0cd;
    font-weight: bold;
}



.service-title {
  color: #2c3e50;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 30px 0 15px 0;
  padding: 18px 24px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-left: 5px solid #3498db;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.service-title:hover {
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.service-title i {
  color: #3498db;
  font-size: 1.4rem;
  min-width: 28px;
}



/* Contenedor para cada sección de servicio tipo tab */
.service-section {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

/* Estilo para párrafos dentro de las secciones */
#servicios-integrales .service-section p {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 15px 25px;
    margin: 0;
    line-height: 1.7;
    color: #495057;
    box-shadow: none;
    transition: none;
    position: relative;
    font-size: 1.6em;
}

#servicios-integrales .service-section p:last-child {
    padding-bottom: 25px;
}

/* Títulos dentro de las secciones */
.service-section .service-title {
    margin: 0;
    border-radius: 10px 10px 0 0;
    border-left: none;
    border-bottom: 2px solid #e9ecef;
}

.service-section:hover .service-title {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

#servicios-integrales strong {
    color: #2c3e50;
    font-weight: 600;
    background: transparent;
    padding: 0;
    border-radius: 0;
    transition: none;
}

#servicios-integrales p:hover strong {
    background: transparent;
}

/* Párrafo introductorio especial - no afectado por service-section */
#servicios-integrales .ciclotrabajo > p:first-of-type {
    background: linear-gradient(135deg, #e8f5e8, #f0f9ff) !important;
    border: 2px solid #28a745 !important;
    border-radius: 10px !important;
    padding: 24px 28px !important;
    font-size: 1.5em !important;
    font-weight: 500;
    text-align: center;
    margin: 0 0 30px 0 !important;
    box-shadow: 0 3px 15px rgba(40, 167, 69, 0.15) !important;
    transition: all 0.3s ease !important;
}

#servicios-integrales .ciclotrabajo > p:first-of-type:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.25) !important;
}

/* Sección de Clientes */
.clients-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.clients-section article {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.clients-section h2 {
    font-size: 4rem!important;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.clients-section h2 i {
    color: #3498db;
    font-size: 2.2rem;
}

.clients-description {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

#clients-splide .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
    align-content: center;
}

.splide__slide{
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 234, 234, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    min-height: 100px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    min-height: 153px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100px;

    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}
.client-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}


.logo-blanco {
    background-color: #b3b3b3;
}
.logo-blanco:hover  {
    background-color: #868484;
}



/* Sección de contacto rápido */
.contact-section {
    background: url(/img/transfinox/fin.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    color: white;
    padding-top: 80vh;
    padding-bottom: 0px;
    text-align: center;
    position: relative;
}

.contact-section article{
    margin-top: 25vh;
    width: 100%;
    border-radius: 47px;
    backdrop-filter: blur(5px);
    padding: 55px;
    background-color:  #696a70bd;
}


.contact-section h2{
    font-size: 3rem!important;
}

.contact-section img{
    width: 65%;
}

.contact-section article::before {
  content: '\f095';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  font-size: 15rem;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 600;
  color: white;
  position: relative;
}

.contact-section h2::before {
  content: '\f2b5';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 6rem;
  display: block;
  margin-bottom: 20px;
  color: #3498db;
}

.contact-info-quick {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-item-quick {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item-quick:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact-item-quick i {
  font-size: 1.8rem;
  color: #3498db;
}

.contact-item-quick a {
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item-quick a:hover {
  color: #3498db;
}

.contact-color-tr{
    color: #121681;
    font-weight: bold;
}

.contact-color-fi{
    color: #ffffff;
    font-weight: bold;
    text-shadow: -6px 6px 8px black;
}

