/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

#main-logo .navbar-brand img {
	height: 60px;	
}

.menu-horizontal-inner {
	padding: 50px 0 0 0;
}

#title-home h1 {
	line-height: 0.80;
}

#menu-call-to-action li.menu-item {
	background: #309cf1;
	padding: 10px 20px;
	border-radius: 40px;
}

#menu-call-to-action li.menu-item a {
	color: #f3eae2 !important;
}

.copy-footer .text-small p, .copy-footer h5 {
	font-size: 14px !important;
}

#menu-menu-footer .menu-smart > li > a {
	padding: 0px 0px 0px 25px !important;
}

@media (min-width: 960px) {
	
	#menu-menu-footer .menu-smart > li > a {
	padding: 0px 0px 0px 25px !important;
}
	
}

@media (min-width: 992px){
  .title-plan{ height: 100px; overflow: hidden; }
  .title-list .row-inner > .wpb_column > .vc_column-inner{
    display:flex; flex-direction:column; justify-content:flex-end; height:100%;
  }
}

@media (min-width: 992px){
  .list-plan{ 
		min-height: 300px; 
	}
}

.list-plan ul,
.list-plan ol { margin: 0; }

.list-plan li,
.list-plan li p,
.list-plan li span {
  line-height: 1.2; 
  margin: 0;
}

.list-plan li + li {
  margin-top: 0.9em;
}

.list-plan li .icon,
.list-plan li i { line-height: 1; margin-right: .45em; }

@media (min-width: 992px){
  .price-list{ min-height: 40px; }  
}

.number-module span {
	line-height: 1;
	font-size: 3vw;
}

.title-module span {
	font-size: 2.2vw;
	line-height: 1;
	letter-spacing: 0px;
}

.subtitle-module {
	margin-top: 12px !important;
} 

.info-module span {
	font-size: 20px;
	line-height: 1.2;
}

.icon-box.time-module {
	padding-top: 50px !important;
}

.time-module .icon-box-content {
	vertical-align: middle !important;
}

.time-module .icon-box-icon {
	background-color: #309cf1 !important;
	color: #fff !important;
	padding-left: 10px !important;
} 

.time-module .icon-box-content {
	background-color: #309cf1 !important;
	color: #fff !important;
} 

.time-module .icon-box-content p {
	color: #fff !important;
	padding-right: 10px;
} 

.list-module h2 ul{
  margin: 0;
  padding: 0;
}

.list-module h2 ul li,
.list-module h2 ul li span,
.list-module h2 ul li p{
  line-height: 1.2;
  margin: 0;           
}


.list-module h2 ul li + li{
  margin-top: 0.9em;    
}

.list-module h2 ul li i,
.list-module h2 ul li .icon{
  line-height: 1;
  margin-right: .5em;
  vertical-align: middle;
}

.list-module .heading-text.el-text h2 > span{
  display: contents;    
}

.list-home .divider-wrapper, .list-home .vc_custom_heading_wrap   {
	margin-top: 60px !important;
}

.title-header h3 {
	padding: 0.3em 0 !important;
}

.faq-list a:hover {
	color: #fd6572 !important;
}

.lets-talk-icons .social-icon {
	color: #082d4d !important;
}

.lets-talk-icons i {
	font-size: 35px !important;
}

/* ==== GALERÍA home-circle (Uncode Media Gallery) ==== */
/* 1) Anula zoom/transición de imagen (incluido el hover del tema) */
.un-media-gallery.home-circle .t-entry-visual img,
.un-media-gallery.home-circle .t-entry-visual:hover img {
  transform: none !important;
  transition: none !important;
}

/* 2) Quita el “aclarado”/filtros/overlay automáticos del tema */
.un-media-gallery.home-circle .t-entry-visual .t-background-cover,
.un-media-gallery.home-circle .t-entry-visual .t-background-cover:after,
.un-media-gallery.home-circle .t-entry-visual .tmb-content-overlay,
.un-media-gallery.home-circle .t-entry-visual .color-anim {
  opacity: 0 !important;
  background: none !important;
  transition: none !important;
}

/* 3) El texto del overlay: oculto por defecto… */
.un-media-gallery.home-circle .t-entry-visual .t-overlay-wrap,
.un-media-gallery.home-circle .t-entry-visual .t-overlay-inner,
.un-media-gallery.home-circle .t-entry-visual .t-overlay-content {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity .2s ease, visibility .2s ease !important;
  z-index: 3 !important;
}

/* …y visible SOLO en hover/focus (desktop y accesible en móvil con focus) */
.un-media-gallery.home-circle .t-entry-visual:hover .t-overlay-wrap,
.un-media-gallery.home-circle .t-entry-visual:hover .t-overlay-inner,
.un-media-gallery.home-circle .t-entry-visual:hover .t-overlay-content,
.un-media-gallery.home-circle .t-entry-visual:focus-within .t-overlay-wrap,
.un-media-gallery.home-circle .t-entry-visual:focus-within .t-overlay-inner,
.un-media-gallery.home-circle .t-entry-visual:focus-within .t-overlay-content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 4) Asegura la maquetación centrada del overlay y muestra también el caption */
.un-media-gallery.home-circle .t-entry-visual .t-overlay-wrap {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  pointer-events: none; /* para no bloquear el hover */
}
.un-media-gallery.home-circle .t-overlay-text,
.un-media-gallery.home-circle .t-entry .t-entry-excerpt {
  display: block !important;     /* Uncode a veces lo oculta */
  opacity: 1 !important;
  color: #000 !important;        /* Ajusta si lo necesitas */
  max-width: 44ch !important;    /* ancho legible */
  margin: .5rem auto 0 !important;
}

/* ===== Título siempre visible, caption solo en hover (home-circle) ===== */

/* 1) Mantén visible el contenedor del overlay para poder mostrar el título fijo */
.un-media-gallery.home-circle .t-entry-visual .t-overlay-wrap,
.un-media-gallery.home-circle .t-entry-visual .t-overlay-inner,
.un-media-gallery.home-circle .t-entry-visual .t-overlay-content{
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none; /* no bloquea el hover */
}

/* 2) TÍTULO: visible siempre */
.un-media-gallery.home-circle .t-entry .t-entry-title{
  opacity: 1 !important;
  visibility: visible !important;
}

/* 3) CAPTION (excerpt): oculto por defecto… */
.un-media-gallery.home-circle .t-entry .t-entry-excerpt{
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity .2s ease, visibility .2s ease !important;
}

/* …y visible SOLO en hover / focus */
.un-media-gallery.home-circle .t-entry-visual:hover .t-entry-excerpt,
.un-media-gallery.home-circle .t-entry-visual:focus-within .t-entry-excerpt{
  opacity: 1 !important;
  visibility: visible !important;
}

/* 4) Centrado y legibilidad */
.un-media-gallery.home-circle .t-entry-visual .t-overlay-wrap{
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.un-media-gallery.home-circle .t-entry .t-entry-title,
.un-media-gallery.home-circle .t-entry .t-entry-excerpt{
  max-width: 44ch !important;
  margin: .25rem auto 0 !important;
  color: #f2eae2 !important; /* ajusta si necesitas otro color */
	font-size: 40px;
}

/* ===== Colores de texto por ítem (home-circle) ===== */

/* 1) PRIMERA imagen (ítem 1): título + caption + cualquier texto/links */
.un-media-gallery.home-circle .index-row .tmb:nth-child(1) .t-entry,
.un-media-gallery.home-circle .index-row .tmb:nth-child(1) .t-entry * ,
.un-media-gallery.home-circle .index-row .tmb:nth-child(1) .t-entry a{
  color: #0B1F2E !important;     /* color 1 (ajústalo) */
  text-shadow: none !important;
}

/* 2) TODAS LAS DEMÁS imágenes (ítems 2, 3, 4…): título + caption + cualquier texto/links */
.un-media-gallery.home-circle .index-row .tmb:not(:first-child) .t-entry,
.un-media-gallery.home-circle .index-row .tmb:not(:first-child) .t-entry * ,
.un-media-gallery.home-circle .index-row .tmb:not(:first-child) .t-entry a{
  color: #FFFFFF !important;     /* color 2 (ajústalo) */
  text-shadow: 0 1px 10px rgba(0,0,0,.35) !important;  /* mejor legibilidad */
}

/* (Opcional) aumentar contraste del texto en móviles */
@media (max-width: 767px){
  .un-media-gallery.home-circle .index-row .tmb:not(:first-child) .t-entry,
  .un-media-gallery.home-circle .index-row .tmb:not(:first-child) .t-entry *{
    text-shadow: 0 2px 14px rgba(0,0,0,.45) !important;
  }
}

/* 0) Uncode a veces aplica transform al wrapper y rompe sticky */
.un-media-gallery.home-circle .pin-wrap{
  transform: none !important;
}

/* 1) Sticky clásico al tope del viewport */
.un-media-gallery.home-circle .index-scroll-wrapper{
  position: sticky !important;
  top: 0 !important;              /* pegado arriba */
  height: 100vh !important;       /* ocupa el alto de la ventana */
  display: flex !important;       /* centramos el contenido dentro */
  align-items: center !important; /* centrado vertical real */
  z-index: 3;
  /* NO usar translateY aquí */
}

/* 2) Evita que contenedores corten el sticky */
.un-media-gallery.home-circle,
.un-media-gallery.home-circle .index-scroll,
.un-media-gallery.home-circle .tmb-container,
.un-media-gallery.home-circle .row-internal{
  overflow: visible !important;
}

/* 3) (Opcional) si tienes header fijo alto, compensa el espacio arriba */
header.uncode-header, .uncode-navbar { /* ejemplo de selector de header */
  --hdr: 0px;  /* ajusta si tu header es fijo: p.ej. 80px */
}
.un-media-gallery.home-circle .index-scroll-wrapper{
  padding-top: var(--hdr);
}

/* Altura del header fijo (si tienes navbar sticky) */
:root{ --hdr: 0px; }  /* ej.: 80px */

/* 0) Evitar que Uncode rompa sticky con transform */
.un-media-gallery.home-circle .pin-wrap{ transform: none !important; }

/* 1) Sticky estable: pegado al header, centrando verticalmente el contenido */
.un-media-gallery.home-circle .index-scroll-wrapper{
  position: sticky !important;
  top: var(--hdr) !important;                              /* pegado al header */
  height: calc(100vh - var(--hdr)) !important;            /* ocupa la ventana útil */
  display: flex !important;
  align-items: center !important;                          /* centra el carril */
  z-index: 3;
}

/* 2) Quita los “huecos” del ROW de Uncode alrededor de la galería */
.vc_row.home-circle-row,
.vc_row.home-circle-row > .row-internal{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

/* 3) Separa sólo con el bloque siguiente lo justo (6–10vh) */
.vc_row.home-circle-row + .vc_row{
  margin-top: 8vh !important;       /* ajusta 6–12vh a gusto */
}

/* (Opcional) Si el carril es más alto que el viewport, limítalo un poco */
.un-media-gallery.home-circle .index-row{ max-height: 80vh; }

.tags-ai-services {
	text-transform: none;
	border: solid 1px;
	padding: 0px 20px;
	border-radius: 60px;
	font-size: 40px;
	margin: 10px;
	display: inline-block;
	line-height: 1.5;
	font-weight: 400;
}

.tags-ai-services:hover {
	background-color: #fc6572;
}

.home-circle p.t-entry-meta {
	line-height: 1.2;
}

.home-circle p.t-entry-meta span {
	font-size: 20px !important;
	font-weight: 400 !important;
}

.home-circle-row p span {
	color: #f2eae2 !important;
} 

.style-light .btn-default, .style-dark .style-light .btn-default, .tmb-light .t-entry-text .btn-default, .style-dark .tmb-light .t-entry-text .btn-default, .tmb-dark .t-overlay-inner .btn-default {
		background-color: #00000000 !important;
	}

.tmb-light.tmb .t-entry-visual *:not(.add_to_cart_text):not(.view-cart), .tmb-light.tmb .t-entry-visual a:not(.add_to_cart_text):not(.view-cart) {
	color: #f2eae2;
}

.owl-prev i, .owl-next i {
	font-size: 50px;
	position: relative;
	top: 33px;
	font-weight: 700;
}

.style-light .btn-default, .style-dark .style-light .btn-default, .tmb-light .t-entry-text .btn-default {
	color: #041826 !important;
}

.copy-footer {
	margin-top: 20px !important;
}

.footer-menu a {
	padding-right: 20px !important;
}

#menu-menu-footer, #menu-menu-footer-inter {
	font-weight: 600;
	margin: 0px !important;
	padding: 0px;
}

.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
	width: 100%;
}

.style-light .input-background input[type="text"], .style-dark .style-light .input-background input[type="text"], .style-light .input-background input[type="email"], .style-dark .style-light .input-background input[type="email"], .style-light .input-background input[type="number"], .style-dark .style-light .input-background input[type="number"], .style-light .input-background input[type="url"], .style-dark .style-light .input-background input[type="url"], .style-light .input-background input[type="tel"], .style-dark .style-light .input-background input[type="tel"], .style-light .input-background input[type="search"], .style-dark .style-light .input-background input[type="search"], .style-light .input-background input[type="password"], .style-dark .style-light .input-background input[type="password"], .style-light .input-background input[type="date"], .style-dark .style-light .input-background input[type="date"], .style-light .input-background textarea, .style-dark .style-light .input-background textarea, .style-light .input-background select, .style-dark .style-light .input-background select, .style-light .input-background .select2-selection--single, .style-dark .style-light .input-background .select2-selection--single, .compose-mode.style-light .input-background .lateral-nav-parent li, .compose-mode.style-dark .style-light .input-background .lateral-nav-parent li {
	background-color: #f7f7f740 !important;
	border: solid #309cf199;
}

#about-home h2 {
	line-height: 0.95 !important;
}


.footer-scroll-top i {
	border-radius: 30px !important;
}

.copy-footer a {
	text-decoration: underline;
}

#newsletter input[name="your-email"]::placeholder {
  color: rgba(255,255,255,0.7); /* blanco suave */
  opacity: 1;                  /* Safari/Firefox */
}

/* Prefijos por compatibilidad antigua */
#newsletter input[name="your-email"]::-webkit-input-placeholder { color: rgba(255,255,255,0.7); }
#newsletter input[name="your-email"]::-moz-placeholder { color: rgba(255,255,255,0.7); }
#newsletter input[name="your-email"]:-ms-input-placeholder { color: rgba(255,255,255,0.7); }
#newsletter input[name="your-email"]:-moz-placeholder { color: rgba(255,255,255,0.7); }

#newsletter input[name="your-email"]:focus::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer-top li {
	font-size: 18px;
	line-height: 1.2;
	margin: 18px 0 18px 0;
}

/* media */

@media (max-width: 430px){
	.owl-carousel-container .background-inner {
		background-position: right -70px center !important;
	}
	
	.owl-stage h1 {
		font-size: 17vw;
	}
	
	#about-home .row {
		padding-bottom: 0 !important;
	}
	
	#about-home h2 {
		font-size: 13vw;
	}
	
	#approach-home p {
		font-size: 7vw;
	}
	
	.bigtext * {
		white-space: normal !important;
	}
	
	#bigtext-id0 .bigtext-line0, #bigtext-id0 .bigtext-line1 {
		font-size: 15vw !important;
	}
	
	#approach-more-home h3 {
		font-size: 15vw;
	}
	
	.un-media-gallery.home-circle .t-entry .t-entry-title, .un-media-gallery.home-circle .t-entry .t-entry-excerpt {
		color: #fff !important;
	}
	
	.style-light .btn-default, .style-dark .style-light .btn-default, .tmb-light .t-entry-text .btn-default, .style-dark .tmb-light .t-entry-text .btn-default, .tmb-dark .t-overlay-inner .btn-default {
		background-color: #00000000 !important;
	}
	
	#ai-vertical-home h2 {
		font-size: 12vw;
	}
	
	#ai-vertical-home .h2 {
		padding-top: 40px;
	}
	
	#ai-vertical-home .empty-space.empty-double, #row-unique-14 .empty-space.empty-double, #ai-vertical-home .empty-space.empty-triple {
		padding-top: 0 !important;
	}
	
	.tags-ai-services {
		padding: 10px 20px;
    font-size: 6vw;
    margin: 10px;
    display: inline-block;
    line-height: 1.2;
	}
	
	#tit-services-home h2, #clients-intro-home h2, #newsletter-home h3, #agency-home h3 {
		font-size: 14vw;
		line-height: 1 !important;
	} 
	
	#services-home li {
		line-height: 1.2 !important;
		padding: 15px 0 0 1.5em !important;
	}
	
	.wpcf7-inline-wrapper.wpcf7-input-group {
		display: block;
	}
	
	body:not(.rtl) .wpcf7-inline-wrapper.wpcf7-input-group > *:first-child input:not(.btn-inset):not(.inset-input) {
		border-top-right-radius: 200px !important;
    border-bottom-right-radius: 200px !important;
		margin-bottom: 20px;
	}
	
	body:not(.input-underline):not(.rtl) form:not(.input-underline) .wpcf7-inline-wrapper.wpcf7-input-group > *:not(:first-child) input {
    border-top-left-radius: 200px !important;
    border-bottom-left-radius: 200px !important;
	}
	
	.title-contact h1 {
		font-size: 55px;
	}
	
	.wpcf7-inline-wrapper .wpcf7-inline-field {
		width: 100% !important;
		padding: 10px 0px 10px 0px !important;
		display: block;
	}
	
	form p {
		margin: 0px !important;
	}
	
	.holding-logos img {
		width: 70% !important;
	}
	
	.site-footer .logo-footer .single-wrapper {
		max-width: 65vw !important;
	}
	
	#main-logo .navbar-brand img {
		height: auto !important;
		width: 70vw !important;
	}
	
	.copy-footer .wpb_column {
		padding-top: 0px !important;
	}
	
	#agency-home .tmb .t-entry-visual img {
		margin: 0 10vw 0 10vw;
	}
	
	.footer-top i {
		display: none !important;
	}
	
}

@media (max-width: 767px) {
	
	
	.site-footer .main-container .row-container .double-top-padding {
		padding-top: 36px !important;
	}
	
	.site-footer .logo-footer .single-wrapper {
		max-width: 100vw !important;
	}

  .logo-footer .uncode-single-media-wrapper,
  .t-entry-visual {
    text-align: center !important;
  }

  .logo-footer .uncode-single-media-wrapper img {
    display: inline-block;       
    margin: 0 auto !important;
    float: none !important;
    max-width: 90%;               
    height: auto;
  }
}

@media (min-width: 960px) {
	
	.logo-image {
		padding-top: 20px;
	}
}
