/*
Theme Name:   Kadence Child
Theme URI: https://www.kadencewp.com/
Description:  Child theme para Kadence
Author:       Oscar Valiente
Author URI:   https://ovaliente.com.ar/
Template:     kadence
Version:      1.0.0
Text Domain:  kadence-child
*/


/* Sección de Auditoría - Reforzado para Firefox */
.ov-cta-final {
    padding: 100px 24px;
    text-align: center;
    background-color: #FFFFFF;
    clear: both; /* Evita que flote algo raro de secciones previas */
}

.ov-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ov-title {
    font-family: 'Poppins', sans-serif;
    color: #1F2F46;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.ov-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: #2A2A2A;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* El botón - Aquí está el refuerzo */
.ov-btn-primary {
    /* Forzamos el comportamiento de bloque */
    display: inline-block !important; 
    vertical-align: middle;
    
    /* Reseteo de estilos de navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-decoration: none !important;
    
    /* Colores y forma */
    background-color: #3A7DFF !important;
    color: #FFFFFF !important;
    padding: 16px 32px !important;
    border-radius: 6px !important;
    border: none !important;
    
    /* Tipografía */
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    
    /* Efectos */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 16px rgba(58, 125, 255, 0.2);
    cursor: pointer;
}

.ov-btn-primary:hover {
    background-color: #22A699 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 166, 153, 0.3);
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* =========================
   PILARES – RESET MINIMO
========================= */
#pilares {
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
}

#pilares * {
  box-sizing: border-box;
}

/* Contenedor */
#pilares .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Título */
#pilares .section-title {
  text-align: center;
  margin-bottom: 50px;
}

/* =========================
   GRID PRINCIPAL
========================= */
#pilares .pilares-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Cards */
#pilares .pilar-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
}

/* Iconos */
#pilares .pilar-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  #pilares .pilares-grid {
    grid-template-columns: 1fr !important;
  }
    .ov-cta-final { padding: 60px 20px; }
	.ov-title { font-size: 1.7rem; }
    .ov-btn-primary { width: 100%; max-width: 320px; }
}

/*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
*/

/* ============================================
   SECCIÓN REDES SOCIALES - ESTILOS OPTIMIZADOS
   ============================================ */

:root {
  --social-azul-oscuro: #1F2F46;
  --social-azul-vibrante: #3A7DFF;
  --social-verde: #22A699;
  --social-gris-claro: #F5F5F5;
  --social-texto: #2A2A2A;
  --social-blanco: #FFFFFF;
}

/* Contenedor principal de la sección */
.redes-sociales {
  padding: 80px 20px;
  background-color: var(--social-blanco);
  text-align: center;
}

/* Título de la sección */
.redes-sociales h2 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--social-azul-oscuro);
  font-size: 2.2rem;
  margin-bottom: 50px;
  font-weight: 700;
  line-height: 1.3;
}

/* Contenedor de iconos */
.social-icons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

/* Enlaces de iconos sociales */
.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--social-gris-claro);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(31, 47, 70, 0.08);
  position: relative;
  overflow: hidden;
}

/* Efecto gradiente al hover */
.social-icon-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--social-azul-vibrante), var(--social-verde));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.social-icon-link:hover::before {
  opacity: 1;
}

.social-icon-link:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 8px 24px rgba(31, 47, 70, 0.15);
}

/* Iconos SVG */
.social-icon-link svg {
  width: 32px;
  height: 32px;
  fill: var(--social-azul-oscuro);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.social-icon-link:hover svg {
  fill: var(--social-blanco);
  transform: scale(1.1);
}

/* Colores específicos por red social al hover */
.social-icon-link.twitter:hover::before {
  background: #1DA1F2;
  opacity: 1;
}

.social-icon-link.instagram:hover::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  opacity: 1;
}

.social-icon-link.linkedin:hover::before {
  background: #0077B5;
  opacity: 1;
}

.social-icon-link.facebook:hover::before {
  background: #1877F2;
  opacity: 1;
}

.social-icon-link.youtube:hover::before {
  background: #FF0000;
  opacity: 1;
}

/* Tooltip al hover */
.social-icon-link::after {
  content: attr(data-network);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--social-azul-oscuro);
  color: var(--social-blanco);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
}

.social-icon-link:hover::after {
  opacity: 1;
  bottom: -40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .redes-sociales {
    padding: 60px 20px;
  }

  .redes-sociales h2 {
    font-size: 1.7rem;
    margin-bottom: 40px;
  }

  .social-icons-container {
    gap: 20px;
  }

  .social-icon-link {
    width: 60px;
    height: 60px;
  }

  .social-icon-link svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .redes-sociales h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .social-icons-container {
    gap: 15px;
  }

  .social-icon-link {
    width: 55px;
    height: 55px;
  }

  .social-icon-link svg {
    width: 26px;
    height: 26px;
  }
}