/*
Theme Name: Ewebot - Child
Author: GT3themes
Author URI: http://gt3themes.com
Description: -
Version: 1.0
Template: ewebot
*/
@import url("../ewebot/style.css");

/* CSS Custom Properties - Color Palette */
:root {
  /* Purple Colors */
  --color-purple-main: #5E21BA;
  --color-purple-light: #D4B0FF;
  --color-purple-medium: #BF8FF5;
  --color-purple-dark: #9966D9;
  
  /* Gray Colors */
  --color-gray-main: #8F91A6;
  --color-gray-light: #D4D4DB;
  --color-gray-medium: #BDBDC9;
  --color-gray-dark: #A6A6B8;
  
  /* Magenta Colors */
  --color-magenta-main: #BA45C2;
  --color-magenta-light: #E3B5E5;
  --color-magenta-medium: #D68FD9;
  --color-magenta-dark: #C969CC;
  
  /* Blue Colors */
  --color-blue-main: #0073C2;
  --color-blue-light: #82C7FF;
  --color-blue-medium: #61ABF5;
  --color-blue-dark: #3D8FD6;
  
  /* Secondary Colors */
  --color-blue-secondary: #051A40;
  --color-purple-secondary: #2E1242dd;
  
  /* Typography */
  --font-heading: 'Open Sans', Arial, sans-serif;
  --font-body: 'Epilogue', Arial, sans-serif;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Global Typographic Scale */
  /* 18px / 1.250 Major Third Scale */
  --font-h1: 68.66px;
  --font-h2: 54.93px;
  --font-h3: 43.95px;
  --font-h4: 35.16px;
  --font-h5: 28.13px;
  --font-h6: 22.5px;
  --font-p: 18px;
  --font-small: 14.4px;
  --font-xs: 11.52px;
}

html {
	scroll-behavior: smooth;
}

/* Prevenir overflow horizontal en móvil */
* {
	box-sizing: border-box;
}

body {
	overflow-x: hidden;
	max-width: 100vw;
}

/* Mobile Touch Targets - Read More Buttons */
@media (max-width: 768px) {
  .read-more-btn,
  .btn[class*="read"],
  a[class*="read-more"],
  .news-archive-item .btn {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    min-height: 48px !important;
    min-width: 120px !important;
    gap: 0.5rem !important;
  }
  
  .btn-icon {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Prevenir scrollbars internos en contenedores de archivos */
.news-archive-main,
.success-stories-archive-main,
.news-archive-grid,
.success-stories-archive-grid {
	overflow: visible;
}

/* Asegurar que los contenedores principales no tengan scroll interno */
.main_wrapper,
.container,
.wp-site-blocks {
	overflow-x: visible;
}

/* Typography Base Styles */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading) !important;
  line-height: 1.2 !important;
}

h1, .h1 { 
    font-size: var(--font-h1) !important; 
    font-weight: var(--font-weight-bold) !important;
}
h2, .h2 { 
    font-size: var(--font-h2);
    color: var(--color-blue-main, #0073C2);
    font-weight: var(--font-weight-semibold) !important;
}
h3, .h3 { 
    font-size: var(--font-h3);
    color: var(--color-blue-main, #0073C2);
    font-weight: var(--font-weight-medium) !important;
}
h4, .h4 { 
    font-size: var(--font-h4);
    color: var(--color-blue-main, #0073C2);
    font-weight: var(--font-weight-medium) !important;
}
h5, .h5 { 
    font-size: var(--font-h5);
    color: var(--color-blue-main, #0073C2);
    font-weight: var(--font-weight-medium) !important;
}
h6, .h6 { 
    font-size: var(--font-h6);
    color: var(--color-blue-main, #0073C2); 
    font-weight: var(--font-weight-medium) !important;
}

/* Body text elements - excluir wpadminbar */
p, span, div, a, li, label, input, textarea, select {
  font-family: var(--font-body);
  font-weight: var(--font-weight-light) ;
}

.parrafo-importante div {
  font-weight: var(--font-weight-medium) !important;
}

.news-main a {
  font-weight: var(--font-weight-medium) !important;
  color: var(--color-blue-main, #0073C2) !important;
}
  
.news-main a:hover {
  color: var(--color-blue-secondary, #1a237e) !important;
}

p, .p {
  font-size: var(--font-p);
}

small, .small {
  font-size: var(--font-small);
}

.xs, .font-xs {
  font-size: var(--font-xs);
}


.share-buttons a {
    color: white !important;
}

/* Botón Hero */
.hero-btn {
    display: inline-flex;
    align-items: center;
    background: var(--color-blue-secondary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    border-radius: 2rem;
    padding: 0.7em 1.2em;
    text-decoration: none;
    gap: 0.7em;
    box-shadow: 0 2px 8px rgba(16, 26, 58, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.2rem;
    white-space: nowrap;
    min-width: fit-content;
    cursor: pointer;
}

/* Efecto de brillo deslizante para todos los botones */
.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 26, 58, 0.2);
}

.hero-btn.secondary-btn {
    background: var(--color-blue-main);
    color: #fff;
    padding: 0.4em 1.2em;
    margin-bottom: 0;
}

.hero-btn.secondary-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 115, 194, 0.3);
}

.hero-btn.tertiary-btn {
    background: var(--color-purple-main);
    color: #fff;
    padding: 0.4em 1.2em;
    margin-bottom: 0;
}

.hero-btn.tertiary-btn:hover {
    box-shadow: 0 4px 16px rgba(94, 33, 186, 0.3);
}

.hero-btn-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2em;
    height: 2.2em;
    border-radius: 50%;
    background: var(--color-gray-light); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.hero-btn-text {
    letter-spacing: 0.04em;
    margin-top: 1px;
    text-transform: none;
    white-space: nowrap;
}

.hero-btn:hover .hero-btn-icon,
.hero-btn:focus .hero-btn-icon {
    background: #b0b8d0;
    transform: translateX(2px);
}

.hero-btn:hover svg path,
.hero-btn:focus svg path {
    stroke: #101a3a;
}

/* Estilos globales para botones de Elementor */
.elementor-button,
.elementor-button-wrapper .elementor-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.elementor-button::before,
.elementor-button-wrapper .elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.elementor-button:hover::before,
.elementor-button-wrapper .elementor-button:hover::before {
    left: 100%;
}

.elementor-button:hover,
.elementor-button-wrapper .elementor-button:hover {
    transform: translateY(-1px);
}

/* Estilos globales para botones de Gutenberg */
.wp-block-button__link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.wp-block-button__link:hover::before {
    left: 100%;
}

.wp-block-button__link:hover {
    transform: translateY(-1px);
}

/* Estilos globales para botones nativos */
button,
input[type="submit"],
input[type="button"],
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button::before,
input[type="submit"]::before,
input[type="button"]::before,
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

button:hover::before,
input[type="submit"]:hover::before,
input[type="button"]:hover::before,
.btn:hover::before {
    left: 100%;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
    transform: translateY(-1px);
}

/* Responsive Button Improvements */
@media (max-width: 768px) {
    .hero-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        gap: 0.5em;
        min-width: auto;
        width: auto;
        max-width: none;
    }
    
    .hero-btn-icon {
        width: 1.8em;
        height: 1.8em;
    }
    
    .hero-btn-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .hero-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        gap: 0.4em;
        width: 100%;
        max-width: 280px;
        margin-bottom: 1rem;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
    
    .hero-btn-icon {
        width: 1.6em;
        height: 1.6em;
    }
    
    .hero-btn-text {
        font-size: 0.85rem;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        gap: 0.3em;
        max-width: 250px;
    }
    
    .hero-btn-icon {
        width: 1.4em;
        height: 1.4em;
    }
    
    .hero-btn-text {
        font-size: 0.8rem;
    }
}

/* Hero Image Hover Effect */
.hero-image {
    transition: all 0.3s ease-in-out;
    will-change: transform;
    transform-origin: center;
    position: relative;
}

.hero-image.is-hovered {
    transform: scale(1.01) translateY(-5px) rotate(1deg);
    z-index: 0;
}

/* Usando el contenedor padre común */
.elementor-element-2f0af9e #hero-btn:hover ~ .elementor-element-6697c29 .hero-image,
.elementor-element-2f0af9e #hero-btn:focus ~ .elementor-element-6697c29 .hero-image {
    transform: scale(1.01) translateY(-5px);
    z-index: 0;
}

/* Animación Nube Flotante */
.nube-flotante {
    animation: flotarNube 6s ease-in-out infinite;
    transform-origin: center;
    display: inline-block;
}

@keyframes flotarNube {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

/* Soporte para Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-btn,
    .hero-btn::before,
    .hero-btn .hero-btn-icon,
    .elementor-button,
    .elementor-button::before,
    .wp-block-button__link,
    .wp-block-button__link::before,
    button,
    button::before,
    input[type="submit"],
    input[type="submit"]::before,
    input[type="button"],
    input[type="button"]::before,
    .btn,
    .btn::before {
        transition: none;
    }
    
    .hero-btn:hover,
    .elementor-button:hover,
    .wp-block-button__link:hover,
    button:hover,
    input[type="submit"]:hover,
    input[type="button"]:hover,
    .btn:hover {
        transform: none;
    }
    
    .hero-btn:hover .hero-btn-icon {
        transform: none;
    }
    
    .hero-btn::before,
    .elementor-button::before,
    .wp-block-button__link::before,
    button::before,
    input[type="submit"]::before,
    input[type="button"]::before,
    .btn::before {
        display: none;
    }
}

/* Soporte para High Contrast */
@media (prefers-contrast: high) {
    .hero-btn,
    .elementor-button,
    .wp-block-button__link,
    button,
    input[type="submit"],
    input[type="button"],
    .btn {
        border: 2px solid currentColor;
    }
}

.hero-title h1 {
  font-size: var(--font-h3) !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
}
.hero-sub-title p {
  font-size: 23px !important;
  font-weight: 300 !important;
  /* line-height: 1.2 !important;
  margin-bottom: 1rem !important; */
}
  
  
  
/* Restaurar bullets en listas dentro del contenido de posts/páginas */
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
  list-style: disc inside;
  margin-left: 1.5em;
  padding-left: 0;
}

.entry-content ol,
.wp-block-post-content ol {
  list-style-type: decimal;
}

.entry-content ul li,
.wp-block-post-content ul li,
.entry-content ol li,
.wp-block-post-content ol li {
  margin-bottom: 0.5em;
}

/* Forzar la visibilidad de los bullets en listas dentro del contenido */
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol,
.post-content ul,
.post-content ol {
  list-style: disc inside !important;
  margin-left: 1.5em !important;
  padding-left: 0 !important;
}

.entry-content ol,
.wp-block-post-content ol,
.post-content ol {
  list-style-type: decimal !important;
}

.entry-content ul li,
.wp-block-post-content ul li,
.entry-content ol li,
.wp-block-post-content ol li,
.post-content ul li,
.post-content ol li {
  margin-bottom: 0.5em !important;
  display: list-item !important;
}
  
/* Bullets personalizados con solo CSS y design token */
.main_wrapper ul {
  list-style: none !important;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main_wrapper ul li {
  position: relative;
  padding-left: 1.5em;
}

.main_wrapper ul li::before {
  content: '';
  position: absolute;
  left: 0.5em;
  top: 1.4em;
  width: 0.7em;
  height: 0.7em;
  background: var(--color-purple-main);
  border-radius: 50%;
  display: inline-block;
}
  
/* Border-radius moderno para videos y figuras de video embebido */
.main_wrapper video,
.entry-content video,
.wp-block-video video {
  border-radius: 35px !important;
  overflow: hidden;
}

figure.wp-block-embed.is-type-video.is-provider-youtube,
figure.wp-block-embed-youtube {
  border-radius: 35px !important;
  overflow: hidden;
}
  
ol li, ul li {
    padding: 0px 0px 0px 0px;
}
  

.congero-menu-shadow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 10px;
    background: linear-gradient(to right, rgba(16, 26, 64, 0.3), transparent);
    backdrop-filter: blur(20px);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Menu current item style */
.current-menu-item a {
    font-weight: 700 !important;
}

/* Success Stories Archive */
main.success-stories-archive-main {
    padding-top: 40px !important;
}

.team-members-region-title h2 {
  /* font-size: 30px !important; */
  font-weight: 300 !important;
  line-height: 1.2 !important;
  /* margin-bottom: 1rem !important; */
}

/* Box Shadow */
.congero-box-shadow-1 {
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.congero-glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

/* Table border fix */
table tbody tr, table tfoot tr, table thead tr {
    border: 0px solid #f9f9f9 !important;
}

/* Title H1 size product page */
.h-product-title h1 {
    font-size: inherit;
}

@media (max-width: 1023px) {
    .h-product-title h1 {
        font-size: 52px !important;
    }
}

@media (max-width: 767px) {
    .h-product-title h1 {
        font-size: 45px !important;
    }
}

/* esreal fixes */
.elementor-widget .elementor-icon-list-item, .elementor-widget .elementor-icon-list-item a {
    align-items: flex-start !important;
}
span.elementor-icon-list-icon {
    padding-top: 5px !important; 
}

/* NO TOCAR EL WPADMINBAR - Es responsabilidad del core de WordPress */
