/*
Theme Name: Wired & Linked
Description: Wired & Linked
Author: Wired & Linked
Author URI: https://wiredandlinked.com
Template: hello-elementor
Version: 1.0.0
Text Domain: wiredandlinked
*/

a[href^="https://wa.me/"] {
	bottom: 60px !important;
}


body {margin: 0;}

/*eliminamos las flechitas que suben y bajan el numero*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type=number] { 
	-moz-appearance: textfield;
}


.page-id-4282  .footer-das {display:none;}



/*Header menu y botones*/

.mi-header-2-botones {
	background-color: #00558C;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	box-sizing: border-box;
  }
  
  /* Logo (desktop y móvil) */
  .mi-header-2-botones .mi-header-logo {
	display: flex;
	align-items: center;
  }
  .mi-header-2-botones img.desktop-logo {
	display: block;
	max-height: 50px;
	width: auto;
  }
  .mi-header-2-botones img.mobile-logo {
	display: none;
	max-height: 50px;
	width: auto;
  }
  
  /* Botones (estilos generales) */
  .mi-header-2-botones .mi-header-botones {
	display: flex;
	align-items: center;
  }
  .mi-header-2-botones .mi-header-botones a {
	color: #00558C;
	border-radius: 20px;
	padding: 10px 15px;
	margin-right: 10px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	transition: background-color 0.3s ease;
  }
  .mi-header-2-botones .btn-number {
	margin-left: 5px;
  }
  
.espaciotxt-boton{margin-right: 5px;}

  
  /* Botón "Contratar" */
  .mi-header-boton1 {
	background-color: #F8F2D9;
	color: #00558C;
	border-radius: 20px;
	padding: 10px 15px;
	margin-right: 10px;
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	display: inline-flex;
	align-items: center;
  }
  .mi-header-2-botones div.mi-header-boton1:hover {
	background-color: #eae4cc;
  }
  .mi-header-2-botones div.mi-header-boton1 a {
	color: inherit;
	text-decoration: none;
	margin: 0;
	padding: 0;
	background: none;
	border-radius: 0;
  }
  
  /* Botón "Soy Cliente" */
  .mi-header-2-botones a.mi-header-boton2 {
	background-color: #FFFFFF;
  }
  .mi-header-2-botones a.mi-header-boton2:hover {
	background-color: #f3f3f3;
  }
  
  @media (max-width: 325px) {
	.mi-header-2-botones {
	  margin-bottom: 0 !important;
	}
  }
  
  /* Estilos para pantallas pequeñas */
  @media (max-width: 767px) {
	.mi-header-2-botones {
	  flex-direction: column;
	  align-items: center;
	  padding: 10px 8px;
	}
	.mi-header-2-botones .mi-header-logo {
	  width: 100%;
	  display: flex;
	  justify-content: center;
	  margin-bottom: 10px;
	}
	.page-id-5704 .mi-header-2-botones .mi-header-logo {
	  width: 100%;
	  display: flex;
	  justify-content: center;
	  margin-bottom: -6px;
	}
	.mi-header-2-botones .mi-header-botones {
	  width: 100%;
	  display: flex;
	  flex-direction: row;
	  justify-content: space-around;
	}
	.mi-header-2-botones .mi-header-botones a {
	  text-align: center;
	  font-size: 16px;
	  padding: 6px 9px;
	}
	.mi-header-2-botones div.mi-header-boton1 {
	  text-align: center;
	  font-size: 16px;
	  padding: 6px 9px;
	}
	.mi-header-2-botones img.desktop-logo {
	  display: none;
	}
	.mi-header-2-botones img.mobile-logo {
	  display: block;
	}
	.mi-header-botones a .btn-label {
	  display: inline;
	}
	.mi-header-botones a .btn-number {
	  display: inline-block;
	  overflow: hidden;
	  white-space: nowrap;
	  vertical-align: middle;
	  max-width: 0;
	  transition: max-width 0.3s ease;
	  margin-left: 5px;
	}
	.mi-header-botones a.expanded .btn-number {
	  max-width: 100px;
	}
  }
  

/*Fin header*/



/*Bloque de dudas*/
.preguntas-container {
	display: grid;
	grid-template-columns: 1fr auto 1fr; /* 3 columnas en desktop */
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	background-color: #FDFCF5;
	box-sizing: border-box;
	position: relative;
	font-family: 'Avenir', sans-serif; /* Fuente Avenir en todo el bloque */
}

/* Columna Izq., Central, Der. en Desktop */
.preguntas-col {
	display: flex;
	flex-direction: column;
}
/* Columnas de Preguntas (Izq y Der) */
.preguntas-col.left,
.preguntas-col.right {
	justify-content: flex-start;  /* Alinea en la parte superior */
	align-items: flex-start;
	gap: 2rem; /* Espacio entre las preguntas dentro de la columna */
}
/* Columna Central con imagen (desktop) */
.preguntas-col.center {
	align-items: center;
	justify-content: center;
}

/* Imagen principal solo para Desktop */
.desktop-only {
	display: block; 
	max-width: 100%;
}

/* Pregunta con número y texto */
.pregunta-wrap {
	margin-bottom: 0; 
	text-align: left; /* Ajuste por defecto en Desktop */
}
/* El círculo con el número está oculto por defecto (solo en móvil se ve) */
.pregunta-wrap .numero {
	display: none;
}
.pregunta-wrap h3 {
	color: #D30000;
	font-size: 1.2rem;
	margin: 0 0 0.5rem 0;
	font-weight: 700; /* Más negrita */
}
.pregunta-wrap p {
	margin: 0;
	font-size: 1rem;
	font-weight: 400; /* Peso normal */
}

/* Imagen final (solo móvil) por defecto oculta en Desktop */
.mobile-only {
	display: none; 
	text-align: center;
}
.mobile-only img {
	max-width: 100%;
	height: auto;
}

/* ----------------------------------------------
   ESTILOS PARA MÓVIL (<= 767px)
---------------------------------------------- */
@media (max-width: 767px) {

	/* Estructura móvil:
	   - en vez de grid, un flujo vertical centrado */
	.preguntas-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 0; /* Quitamos el gap de columnas */
	}

	/* Oculta la imagen desktop, muestra la imagen móvil al final */
	.desktop-only {
		display: none;
	}
	.mobile-only {
		display: block;
		margin-top: 2rem;
	}

	/* Columnas izq. y der. se muestran en bloque vertical */
	.preguntas-col.left,
	.preguntas-col.right {
		width: 100%;
		align-items: center;  /* Centra el contenido horizontalmente */
		margin: 0;           
		padding: 0;
		gap: 0;              /* Para controlar espacio con .pregunta-wrap */
	}

	/* Cada pregunta centrada y con margen inferior uniforme */
	.pregunta-wrap {
		width: 100%;
		margin-bottom: 2rem; /* Espacio uniforme entre preguntas */
		padding-left: 30px;
		padding-right: 30px;
	}
	.pregunta-wrap h3, .pregunta-wrap p {
		text-align: center;
	}

	/* Mismo tamaño y estilo para números 
	   que ahora sí se muestran en móvil */
	.pregunta-wrap .numero {
		display: flex;       /* visible en móvil */
		margin: 0 auto 0.5rem auto;
		justify-content: center;
		align-items: center;
		background: #D30000;
		color: #fff;
		border-radius: 50%;
		width: 40px;         /* Más grande */
		height: 40px;
		font-weight: 700;
		font-size: 1.2rem;
	}

	/* Ajuste final: 
	   - Evitar un espacio extra entre la última pregunta y la imagen. */
	.preguntas-col.right .pregunta-wrap:last-child {
		margin-bottom: 0;
	}
}

/* ----------------------------------------------
   ESTILOS PARA DESKTOP (>=768px)
   Alineado a la derecha SOLO en la primera columna
---------------------------------------------- */
@media (min-width: 768px) {
	/* Alineamos la primera columna a la derecha */
	.preguntas-col.left {
		align-items: flex-end; /* Alinea los contenedores al final (derecha) */
	}
	.preguntas-col.left .pregunta-wrap {
		text-align: right;     /* Alinea el texto a la derecha */
	}
}

/*Fin bloque de dudas*/


/*tarjetas giratorias*/

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
/* 4 columnas en escritorio (pantallas > 992px) */
.col_third {
    width: 23%;
}
.col_third.end { }

.card, .card-back {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border-radius: 15px;
    border: 2px solid #005a8d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    text-align: left;
    position: relative;
}
.content-card {
    padding: 18px 15px;
}
.card h3 {
    color: #d32f2f;
    font-family: "Avenir", sans-serif;
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 600;
}
.card p {
    color: #004a73;
    font-size: 1.3em;
    line-height: 1.2;
}
.card-back h3 {
    color: #d32f2f;
    font-family: "Avenir", sans-serif;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 500;
    max-width: 260px;
    padding: 28px 28px 0 28px;
}
.card-back ul {
    list-style: none;
    padding: 28px;
    margin: 0;
    width: 100%;
}
.card-back li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
.check-column {
    margin-right: 7px;
    display: flex;
    align-items: center;
    margin-top: 5px;
}
.check-icon {
    min-width: 24px;
    height: 24px;
}
.card-back li p {
    margin: 0;
    color: #004a73;
    font-size: 15px;
    line-height: 1.4;
}
.full-width-image {
    width: 100%;
    height: auto;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
/* Contenedor con perspectiva para el flip */
.panel {
    position: relative;
    perspective: 1000px;
    width: 100%;
}
.panel .front,
.panel .back {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.6s;
    height: 308px;
}
.panel .front { padding-top: 10px; }
.panel .back {
    transform: rotateY(180deg);
}
.panel.flip .front {
    transform: rotateY(180deg);
}
.panel.flip .back {
    transform: rotateY(0deg);
}
/* Para pantallas entre 601px y 992px -> 2 columnas */
@media (max-width: 992px) and (min-width: 601px) {
  .col_third {
    width: 48%;
  }
  .mi-header-2-botones .mi-header-botones a {
      font-size: 15px;
  }
  .mi-header-2-botones div.mi-header-boton1 {
      font-size: 15px;
  }
  .panel .front, .panel .back {
      height: 338px;
  }
  .card-back li p {
      font-size: 19px;
  }
}
/* Para pantallas hasta 600px -> 1 columna */
@media (max-width: 600px) {
  .wrapper {
    flex-direction: column;
    align-items: center;
  }
  .col_third {
    width: 100% !important;
  }
  .panel .front, .panel .back {
      height: 345px;
  }
  
  /* Pseudo-elemento ::after para mostrar la imagen solo en móvil */
  .front.card::after {
      content: "";
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: url("/wp-content/uploads/2025/03/mano.svg") no-repeat;
      background-size: contain;
      width: 40px;
      height: 40px;
  }
}


@media (min-width: 601px) and (max-width: 767px) {
	.wrapper {
	  max-height: 678px;
	}
  }

/*Fin tarjetas giratorias*/



/*popup video*/


    /* Fondo del modal (oculto por defecto) */
    #popupVideoModal {
        display: none; /* Modal oculto inicialmente */
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        /* Estas propiedades de flex se aplicarán cuando se muestre */
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
    }
    /* Contenedor del modal */
    #popupVideoContent {
        position: relative;
        background: #fff;
        border-radius: 15px;
        max-width: 90%;
        width: 640px;
        overflow: hidden;
    }
    /* Contenedor responsivo para el video (16:9) */
    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%; /* Mantiene la proporción 16:9 */
        height: 0;
        overflow: hidden;
        border-radius: 15px;
    }
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    /* Botón de cierre */
    #popupVideoClose {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 30px;
        cursor: pointer;
        color: #333;
        z-index: 10000;
    }

/*fin popup video*/


/*Back to top*/

  /* Estilos para el botón Back to Top */
  #back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 35px;
	height: 35px;
	background-color: #ccc;
	color: #00558c;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s, visibility 0.5s;
	border: 2px solid transparent;
	border-radius: 50px; /* Ajusta el border-radius según necesites */
	/* Primer fondo: color de fondo interno; Segundo fondo: degradado para el borde */
	background-image: linear-gradient(white, white), linear-gradient(to bottom, #00558C, #D22630);
	background-origin: border-box;
	background-clip: padding-box, border-box;
  }
  #back-to-top.visible {
	opacity: 1;
	visibility: visible;
  }

  /*fin del back to top*/


/*Slider CASOS REALES*/
 /* Estilos originales del slider CASOS REALES */
.caso-real {
	background: linear-gradient(to bottom, #00558C, #D22630);
	padding: 20px 50px;
	border-radius: 1rem;
	color: white;
	width: 100%;
	box-sizing: border-box;
  }
  
  .caso-real__titulo {
	text-align: center;
	font-size: 30px;
	margin-bottom: 2rem;
	font-family: "Apollo", Sans-serif;
  }
  
  .caso-real__contenido {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
	max-width: 977px;
    margin: 0 auto;
  }
  
  .caso-real__imagen {
	flex: 1 1 250px;
	display: flex;
	justify-content: center;
  }
  
  .caso-real__imagen img {
	width: 250px;
	height: 250px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid white;
  }
  
  .caso-real__texto {
	flex: 2 1 400px;
  }
  
  .caso-real__texto h2 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	font-family: "Avenir", Sans-serif;
  }
  
  .caso-real__texto p {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-family: "Avenir", Sans-serif;
	padding-right: 50px;
  }
  
  .caso-real__boton {
	display: inline-block;
	background: white;
	color: #00558C;
	padding: 0.8rem 1.5rem;
	border-radius: 25px;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.3s ease;
  }
  
  .caso-real__boton:hover {
	background: #f0f0f0;
  }
  
  .caso-real__nota {
	text-align: center;
	font-size: 0.8rem;
	color: #ffeaea;
	margin-top: 2rem;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
	.caso-real__contenido {
	  flex-direction: column;
	  text-align: center;
	}
	.caso-real__texto {
	  text-align: center;
	}
	.caso-real {
	  padding: 20px;
	}

	.caso-real__texto p {
 
		padding-right: 0px;
	  }
  }
  
  /* Estilos personalizados para flechas y puntos */
  /* Flechas en desktop: sin fondo, sin borde, solo icono blanco */
  .splide__arrow {
	background: #cccccc00!important;
	border: none;
	box-shadow: none;
	color: #fff!important;
	font-size: 23px;
	line-height: 1;
	cursor: pointer;
  }
  
  .splide__arrow svg {
    fill: #fff!important;
  
}
  
  .splide__arrow:focus {
	outline: none;
  }
  
  /* Opcional: Personalizar los puntos en mobile */
  .splide__pagination__page {
	background: #fff;
	border: none;
  }
  
  /* Ubicación de navegación: que no se monte sobre el botón del slide */
  /* Se fuerza a que los elementos de navegación se posicionen en el flujo del documento */
  .splide__arrows,
  .splide__pagination {
	position: static !important;
	margin-top: 1rem;
	text-align: center;
	z-index: 2;
  }

  .splide__arrow--prev {
    left: 0em!important;
}

.splide__arrow--next {
    right: 0em!important;
}
/* FIN Slider casos reales*/


/* ========================
   Footer Principal
   ======================== */
   .site-footer {
	background-image: linear-gradient(96deg, #00558C 49%, #D22630 100%);
	color: #ffffff;
	padding: 40px 20px;
	font-family: Arial, sans-serif;
	max-width: 100% !important;
  }
  
  /* Contenedor flex: enlaces centrados y logo a la derecha */
  .footer-container {
	display: flex;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
  }
  
  /* Enlaces legales (solo escritorio) centrados */
  .legal-links.desktop-only {
	flex: 1;
	text-align: center;
  }
  
  .legal-links.desktop-only p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
  }
  
  /* Enlaces en blanco y sin subrayado por defecto */
  .legal-links a {
	color: #ffffff !important;
	text-decoration: none;
  }
  
  /* Solo el enlace del mediador irá subrayado */
  .legal-links a.mediator-link {
	text-decoration: underline !important;
  }
  
  /* Logo a la derecha */
  .footer-logo {
	flex: 1;
	text-align: right;
  }
  .footer-logo img {
	max-width: 150px;
	height: auto;
  }
  
  /* Botón de llamada: oculto en escritorio */
  .footer-buttons {
	display: none;
  }
  
  /* Estilo del botón de teléfono */
  .footer-buttons .button-phone {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	border-radius: 25px;
	border: 2px solid #ffffff;
	text-decoration: none;
	font-size: 14px;
	background: transparent;
	color: #ffffff;
	transition: background 0.3s, color 0.3s;
  }
  .footer-buttons .button-phone i {
	margin-right: 8px;
  }
  .footer-buttons .button-phone:hover {
	background: #ffffff;
	color: #00558C;
  }
  
  /* Mostrar botón solo en móvil y centrar todo */
  @media (max-width: 768px) {
	.desktop-only {
	  display: none;
	}
	.footer-container {
	  flex-direction: column;
	  text-align: center;
	}
	.footer-logo {
	  margin: 0 0 20px;
	}
	.footer-buttons {
	  display: flex;
	  justify-content: center;
	  margin-top: 10px;
	}
  }
  