:root,::before,::after{--mec-color-skin: #40d9f1;--mec-color-skin-rgba-1: rgba(64, 217, 241, .25);--mec-color-skin-rgba-2: rgba(64, 217, 241, .5);--mec-color-skin-rgba-3: rgba(64, 217, 241, .75);--mec-color-skin-rgba-4: rgba(64, 217, 241, .11);--mec-container-normal-width: 1196px;--mec-container-large-width: 1690px;--mec-fes-main-color: #40d9f1;--mec-fes-main-color-rgba-1: rgba(64, 217, 241, 0.12);--mec-fes-main-color-rgba-2: rgba(64, 217, 241, 0.23);--mec-fes-main-color-rgba-3: rgba(64, 217, 241, 0.03);--mec-fes-main-color-rgba-4: rgba(64, 217, 241, 0.3);--mec-fes-main-color-rgba-5: rgb(64 217 241 / 7%);--mec-fes-main-color-rgba-6: rgba(64, 217, 241, 0.2);--mec-fluent-main-color: #ade7ff;--mec-fluent-main-color-rgba-1: rgba(173, 231, 255, 0.3);--mec-fluent-main-color-rgba-2: rgba(173, 231, 255, 0.8);--mec-fluent-main-color-rgba-3: rgba(173, 231, 255, 0.1);--mec-fluent-main-color-rgba-4: rgba(173, 231, 255, 0.2);--mec-fluent-main-color-rgba-5: rgba(173, 231, 255, 0.7);--mec-fluent-main-color-rgba-6: rgba(173, 231, 255, 0.7);--mec-fluent-bold-color: #00acf8;--mec-fluent-bg-hover-color: #ebf9ff;--mec-fluent-bg-color: #f5f7f8;--mec-fluent-second-bg-color: #d6eef9;}


.elementor-widget-container{
    display: flex;
    justify-content: center;
}

.icon-twitter{
    background-image: url(../img/iconx.png);
    background-size: contain;
}

.floating-icon.whatsapp {
    background-color: #25D366;
}

.floating-icon.visit-counter {
    background-color: #4f4f4f; /* A neutral dark gray */
    cursor: default;
}

.floating-icon.visit-counter:hover {
    background-color: #333;
}

.visit-count-number {
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* General responsive improvements */
body, html {
    overflow-x: hidden;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

/* ---------- Nuevo estilo principal inspirado en corporacionafropedagogica.mitiendanube.com ---------- */
:root {
    --main-bg: #f6f8fb;
    --card-bg: #ffffff;
    --accent: #3c7dca;
    --accent-dark: #285da8;
    --text-primary: #122e57;
    --text-muted: #5f6d82;
    --border: #dfe6ef;
    --shadow: 0 15px 30px rgba(15, 33, 64, 0.12);
}

body {
    background: linear-gradient(160deg, #edf2f8 0%, #f7fbff 100%);
    color: var(--text-primary);
    font-family: "Poppins", "Inter", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

.elementor-section, .elementor-column, .wp-block-column, .wp-block-group {
    width: min(100%, 1180px);
    margin-inline: auto;
    padding: 2rem 1.2rem;
}

.elementor-container, .elementor-row { gap: 1.5rem; }

.elementor-section:not(.elementor-section-boxed) {
    background: transparent;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.elementor-widget-heading .elementor-heading-title,
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.elementor-widget-text-editor p,
.elementor-widget-text-editor li,
.elementor-widget-text-editor span,
.wp-block-paragraph {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.elementor-image img, .wp-block-image img, .elementor-widget-image img {
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.elementor-button, .elementor-button a, .wp-block-button__link,
button, input[type='submit'], .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(60, 125, 202, 0.24);
    transition: all 0.3s ease;
}

.elementor-button:hover, .wp-block-button__link:hover, button:hover, input[type='submit']:hover {
    background-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 24px rgba(30, 60, 110, 0.3);
}

.elementor-widget-wrap, .elementor-column-wrap, .wp-block-column {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.35rem;
}

header, .elementor-location-header, .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(123, 142, 172, .15);
}

.elementor-widget-social-icons .elementor-social-icon,
.elementor-widget-icon-list .elementor-icon-list-icon,
.icon {
    color: var(--accent);
    background: rgba(60, 125, 202, 0.12);
    border-radius: 999px;
    width: 2.3rem;
    height: 2.3rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.elementor-widget-social-icons .elementor-social-icon:hover,
.elementor-widget-icon-list .elementor-icon-list-icon:hover,
.icon:hover {
    color: #fff;
    background: var(--accent);
}

footer, .site-footer, .elementor-location-footer {
    background: #10223f;
    color: #e9f1ff;
    padding: 2.5rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
}

footer a, .site-footer a, .elementor-location-footer a {
    color: #c7dcfb;
}

/* Secciones con fondo alterno */
.elementor-section:nth-of-type(odd) {
    background: linear-gradient(120deg, #ffffff 0%, #f8fbff 100%);
}

.elementor-section:nth-of-type(even) {
    background: #f4f8ff;
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .elementor-section, .elementor-column, .wp-block-column { padding: 1.3rem 0.8rem; }
    .elementor-widget-heading .elementor-heading-title { font-size: clamp(1.4rem, 4vw, 2.1rem); }
}

@media (max-width: 768px) {
    .elementor-widget-button, .wp-block-button__link { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    header, .elementor-location-header { padding: 0.8rem 0.6rem; }
}

/* Limpiar posible tipografía pesada del tema viejo */
* { font-family: "Poppins", "Inter", Roboto, Arial, sans-serif; }

/* Mantener iconos y botones visibles */
.fa, .fas, .far, .far, .fab, .elementor-icon, .elementor-icon-list-icon { text-shadow: none; }

/* mantenemos estructura/ contenido, solo diseño */
