/* --- VARIABLES Y CONFIGURACIÓN GLOBAL --- */
:root {
    /* Paleta de Colores basada en CEPROF y RedConocer */
    --primary-color: #00AEEF;    /* Azul Cian */
    --primary-dark: #007bb5;     /* Azul Oscuro para hovers */
    --accent-color: #ae0000;     /* Rojo Intenso (RedConocer) */
    --text-dark: #1a2a33;        /* Gris muy oscuro casi negro */
    --text-light: #5f6c7b;       /* Gris medio para párrafos */
    --bg-light: #f9fbfd;         /* Fondo muy suave azulado */
    --white: #ffffff;

    /* Efectos */
    --gradient-blue: linear-gradient(135deg, #00AEEF 0%, #0056b3 100%);
    --gradient-overlay: linear-gradient(rgba(0, 20, 40, 0.85), rgba(0, 50, 80, 0.7));
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 174, 239, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Tipografía moderna y limpia */
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    padding-top: 120px; /* 40px TopBar + 80px Navbar = 120px espacio */
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif; /* Títulos con peso y autoridad */
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--accent-color); /* Rojo para llamar la atención */
    color: var(--white);
}

.btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-light {
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 800;
}

.btn-light:hover {
    transform: scale(1.05);
}

.btn-white {
    background: #fff;
    color: #333;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
}

.btn-buzz {
    background: rgba(58, 170, 236, 0.85);
    color: #333;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 174, 239, 0.6);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(0, 174, 239, 0.9);
    transform: scale(1.05);
}

/* --- TOP BAR Y NAVBAR --- */
.top-bar {
    background-color: var(--primary-color); /* Celeste Institucional */
    color: var(--white);
    height: 40px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1001; /* Encima de todo */
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between; /* Separa izq y der */
    align-items: center;
    width: 100%;
}

.top-info a {
    color: var(--white);
    opacity: 0.9;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.desktop-only { display: block; }

.navbar {
    background: var(--white);
    height: 80px;
    position: fixed;
    width: 100%;
    top: 40px; /* La bajamos 40px para dejar espacio a la Top Bar */
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0; /* Línea sutil abajo */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-light);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* --- HERO SLIDER --- */
.hero-slider {
    height: 450px;
    min-height: 450px;
}

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content-slide {
    max-width: 800px;
    z-index: 2;
    padding: 20px;
}

.hero-content-slide h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content-slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.badge-pill {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
    display: inline-block;
}

.badge-pill.bg-red { background: rgba(220, 53, 69, 0.8); border: none; }

.text-gradient {
    color: var(--primary-color);
    background: linear-gradient(to right, #00C6FF, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- BARRA DE CONFIANZA PRO --- */
.trust-bar-pro {
    background: #1a2a33;
    color: white;
    padding: 20px 0;
}

.trust-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-element {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.trust-element i { color: var(--primary-color); }

/* --- CATEGORÍAS --- */
.category-scroller {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.cat-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    border: 2px solid #eee;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    background: white;
}

.cat-pill:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- SECCIONES Y TARJETAS --- */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }

.section-header { text-align: center; margin-bottom: 60px; }

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

.linea-decorativa {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow:hover { gap: 12px; }

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none; /* Quitamos bordes antiguos */
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-header-visual {
    height: 100px;
    position: relative;
}

.icon-floating {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 1.5rem;
    color: #333; /* Fallback */
}

.badge-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.25);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.card-edu .card-header-visual {
    background: linear-gradient(135deg, #00AEEF 0%, #0072ff 100%);
}

.card-edu .icon-floating { color: #0072ff; }
.card-edu .cat-label { color: #0072ff; }
.card-edu .btn-card:hover { background: #0072ff; }

.card-salud .card-header-visual {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
}

.card-salud .icon-floating { color: #ff4b2b; }
.card-salud .cat-label { color: #ff4b2b; }
.card-salud .btn-card:hover { background: #ff4b2b; }

.card-gob .card-header-visual {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
}

.card-gob .icon-floating { color: #182848; }
.card-gob .cat-label { color: #182848; }
.card-gob .btn-card:hover { background: #182848; }

.card-prof .card-header-visual {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.card-prof .icon-floating { color: #11998e; }
.card-prof .cat-label { color: #11998e; }
.card-prof .btn-card:hover { background: #11998e; }

.card-body {
    padding: 35px 25px 25px 25px; /* Padding top extra por el icono flotante */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-dark);
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.btn-card {
    padding: 8px 16px;
    border-radius: 5px;
    background: #f0f0f0;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-card:hover { color: #fff; }

/* --- CLIENTES --- */
.clients-section { background: var(--white); }

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;          /* ← elimina el cuadro interno */
    border-radius: 8px;
    background: var(--bg-light);
    overflow: hidden;    /* ← recorta bordes */
    transition: all 0.3s ease;
}

.client-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.grayscale-hover img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s;
}

.grayscale-hover img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- CTA VISUAL --- */
.cta-visual {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.95) 0%, rgba(0, 114, 255, 0.95) 100%),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- DETALLE DE CURSO --- */
.course-page {
    --course-accent: var(--primary-color);
}

.course-header {
    padding: 140px 0 80px; /* Más alto para mayor impacto */
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 25px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.badge-code {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 4px;
    border-left: 3px solid #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(0,0,0,0.25);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.sidebar-card {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
    border: 1px solid #f0f0f0;
}

.price-tag {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: block;
    line-height: 1;
}

.currency {
    font-size: 1rem;
    color: #777;
    font-weight: 500;
}

.features-list li {
    margin-bottom: 14px;
    display: flex;
    gap: 12px;
    color: #555;
    font-size: 0.95rem;
    align-items: center;
}

.course-page .features-list i.fa-check {
    color: var(--course-accent);
    font-weight: bold;
}

.features-list i.fa-xmark { color: #ccc; }

/* --- FOOTER --- */
footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a2530 100%);
    color: #a0a0a0;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid #2a2a2a;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.footer-logo .logo-text {
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.footer-logo .logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.3);
    font-size: 0.85rem;
    color: var(--primary-color);
}

.footer-badge i {
    color: var(--primary-color);
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-contact ul li {
    margin-bottom: 18px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 0;
    }

    .nav-menu.active { left: 0; }

    .nav-menu li { margin: 15px 0; }

    .top-info { display: none; }
    .top-bar-content { justify-content: center; }
    .desktop-only { display: none; }

    .hero-slider { height: 60vh; min-height: 500px; }
    .hero-content-slide h1 { font-size: 2.2rem; }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-header h2 { font-size: 2rem; }
    .cta-content h2 { font-size: 2rem; }
    .cta-content p { font-size: 1.1rem; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .course-header { padding: 100px 0 60px; }
    .price-tag { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
}
/* --- TOP BAR (Redes Sociales y Contacto) --- */
.card-link {
    cursor: pointer;
}
.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px; /* separa redes y contacto */
}

.top-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-social a {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.9;
}
.top-social a:hover {
    color: #fff;
    transform: translateY(-2px); /* Efecto de flotar */
}

.top-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-info a {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.9;
}

.top-info a:hover {
    color: #fff;
    transform: translateY(-2px); /* Efecto de flotar */
}

.divider {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
.top-info { margin-left: auto; }

@media (max-width: 768px) {
    .top-info { display: none; } /* Ocultamos info en móvil */
    .top-bar-content { justify-content: center; } /* Centramos redes en móvil */
}

/*////////////*/
/* Recomendación: incluir este CSS en tu stylesheet global o importarlo en el layout.
   Si ya tienes variables (como --primary-color), esto se integra sin romper tu diseño. */

:root{
    --ceprof-ink: #0b1220;
    --ceprof-muted: #5b667a;
    --ceprof-border: rgba(15, 23, 42, 0.10);
    --ceprof-surface: #ffffff;
    --ceprof-surface-2: #f6f8fb;

    /* Ajusta a tu branding si ya existen */
    --ceprof-accent: var(--primary-color, #1e88e5);
    --ceprof-accent-2: #00bcd4;
    --ceprof-radius: 18px;
}

/* Sections */
.section.ceprof-section{
    padding: 72px 0;
}

.ceprof-section--muted{
    background: var(--ceprof-surface-2);
}

.ceprof-section__head{
    max-width: 820px;
    margin: 0 auto 26px;
    text-align: center;
}

.ceprof-h2{
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    color: var(--ceprof-ink);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.ceprof-lead{
    color: var(--ceprof-muted);
    margin: 0 auto;
    line-height: 1.7;
}

/* Hero */
.ceprof-hero{
    padding: 140px 0 88px;
    color: #fff;
    text-align: center;
    background:
            linear-gradient(135deg, rgba(0, 20, 40, 0.92) 0%, rgba(0, 60, 95, 0.82) 100%),
            url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center / cover no-repeat;
}

.ceprof-hero__inner{
    max-width: 920px;
}

.ceprof-eyebrow{
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.ceprof-hero__title{
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    line-height: 1.1;
}

.ceprof-hero__lead{
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.92;
    line-height: 1.7;
}

/* Two column layout */
.ceprof-two-col{
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px){
    .ceprof-two-col{
        grid-template-columns: 1fr;
    }
}

/* Divider */
.ceprof-divider{
    width: 70px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ceprof-accent) 0%, var(--ceprof-accent-2) 100%);
    margin: 12px 0 20px;
}

/* About text */
.ceprof-about p{
    color: var(--ceprof-muted);
    line-height: 1.85;
    margin: 0 0 14px;
}

.ceprof-actions{
    margin-top: 18px;
}

/* List */
.ceprof-list{
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.ceprof-list__item{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--ceprof-border);
    border-radius: 14px;
    background: var(--ceprof-surface);
}

.ceprof-list__icon{
    margin-top: 2px;
    color: var(--ceprof-accent);
    font-size: 1.05rem;
}

/* Media */
.ceprof-media{
    position: relative;
}

.ceprof-media__frame{
    margin: 0;
    border-radius: var(--ceprof-radius);
    overflow: hidden;
    background: #0b1220;
    border: 1px solid var(--ceprof-border);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.14);
}

.ceprof-media__img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

@media (max-width: 992px){
    .ceprof-media__img{ height: 360px; }
}

.ceprof-media__badge{
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--ceprof-border);
}

.ceprof-media__badgeTitle{
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ceprof-muted);
    font-weight: 700;
}

.ceprof-media__badgeText{
    margin: 2px 0 0;
    font-weight: 800;
    color: var(--ceprof-ink);
}

/* Cards */
.ceprof-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 992px){
    .ceprof-cards{ grid-template-columns: 1fr; }
}

.ceprof-card{
    background: var(--ceprof-surface);
    border: 1px solid var(--ceprof-border);
    border-radius: var(--ceprof-radius);
    padding: 26px 22px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    transition: transform .15s ease, box-shadow .15s ease;
}

.ceprof-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(2, 6, 23, 0.10);
}

.ceprof-card__icon{
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin: 0 0 12px;
    background: linear-gradient(135deg, rgba(30,136,229,0.12), rgba(0,188,212,0.12));
    color: var(--ceprof-accent);
    border: 1px solid var(--ceprof-border);
}

.ceprof-card__title{
    margin: 0 0 10px;
    color: var(--ceprof-ink);
    font-size: 1.18rem;
}

.ceprof-card__text{
    margin: 0;
    color: var(--ceprof-muted);
    line-height: 1.8;
}

/* Values list */
.ceprof-values{
    margin: 0;
    padding-left: 18px;
    color: var(--ceprof-muted);
    line-height: 1.9;
}

/* CTA */
.ceprof-cta{
    padding: 54px 0;
    background:
            radial-gradient(1200px 400px at 15% 50%, rgba(30,136,229,0.22), transparent 60%),
            radial-gradient(900px 350px at 85% 55%, rgba(0,188,212,0.18), transparent 60%),
            linear-gradient(180deg, #071426 0%, #0b1931 100%);
    color: #fff;
}

.ceprof-cta__inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 768px){
    .ceprof-cta__inner{
        flex-direction: column;
        align-items: flex-start;
    }
}

.ceprof-cta__title{
    margin: 0 0 6px;
    font-size: clamp(1.5rem, 2vw, 2.05rem);
}

.ceprof-cta__lead{
    margin: 0;
    opacity: 0.92;
    line-height: 1.7;
}

/* ================================
   CEPROF - PÁGINA NOSOTROS (CORPORATIVO)
   FIX: normalizar y completar estilos faltantes para nosotros.php
   ================================ */

/* La página usa section-padding + ceprof-about-section */
.ceprof-about-section{
    padding: 72px 0;
}

/* Como el body tiene padding-top (top bar + navbar), el hero se recorre hacia arriba */
.ceprof-hero{
    margin-top: -120px;
    padding-top: 200px;
}

/* Fallback corporativo para la lista check-list (si no está definida en otro lado) */
.check-list{
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.check-list li{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--ceprof-border, rgba(15, 23, 42, 0.10));
    border-radius: 14px;
    background: #fff;
    color: var(--text-dark);
}

.check-list li i{
    margin-top: 2px;
    color: var(--primary-color);
}

/* Mejor alineación del layout 2 columnas */
.ceprof-two-col{
    align-items: center;
}

/* Badge más estable en mobile */
@media (max-width: 768px){
    .ceprof-media__badge{
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}

/* ================================
   CEPROF - Información Institucional (Nosotros)
   ================================ */

.ceprof-info-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

@media (max-width: 992px){
    .ceprof-info-grid{ grid-template-columns: 1fr; }
}

.ceprof-info-card{
    background: var(--ceprof-surface, #fff);
    border: 1px solid var(--ceprof-border, rgba(15, 23, 42, 0.10));
    border-radius: var(--ceprof-radius, 18px);
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

.ceprof-info-card__icon{
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin: 0 0 12px;
    background: linear-gradient(135deg, rgba(30,136,229,0.12), rgba(0,188,212,0.12));
    color: var(--primary-color);
    border: 1px solid var(--ceprof-border, rgba(15, 23, 42, 0.10));
}

.ceprof-info-card__title{
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: var(--ceprof-ink, #0b1220);
}

.ceprof-info-card__text{
    margin: 0;
    color: var(--ceprof-muted, #5b667a);
    line-height: 1.8;
}

.ceprof-info-card__actions{ margin-top: 14px; }

/* Contacto */
.ceprof-contact-list{
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ceprof-contact-list li{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ceprof-muted, #5b667a);
    line-height: 1.7;
    flex-wrap: wrap;
}

.ceprof-contact-list a{
    color: var(--text-dark);
    font-weight: 800;
}

.ceprof-contact-list i{ color: var(--primary-color); }

.ceprof-contact-sep{ opacity: 0.6; }

/* Datos oficiales (dl) */
.ceprof-info-dl{
    margin: 0;
    display: grid;
    gap: 12px;
}

.ceprof-info-dl__row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--ceprof-border, rgba(15, 23, 42, 0.10));
    border-radius: 14px;
    background: #fff;
}

.ceprof-info-dl dt{
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ceprof-muted, #5b667a);
    font-weight: 900;
    margin: 0;
}

.ceprof-info-dl dd{
    margin: 0;
    color: var(--ceprof-ink, #0b1220);
    font-weight: 900;
}

/* Bloques institucionales (Antecedentes / Servicios / Clientes) */
.ceprof-institution-block{
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--ceprof-border, rgba(15, 23, 42, 0.10));
}

.ceprof-institution-title{
    margin: 0 0 12px;
    color: var(--ceprof-ink, #0b1220);
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.ceprof-institution-text{
    margin: 0;
    color: var(--ceprof-muted, #5b667a);
    line-height: 1.9;
    max-width: 980px;
}

/* Servicios: cards */
.ceprof-services{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 14px;
}

@media (max-width: 992px){
    .ceprof-services{ grid-template-columns: 1fr; }
}

.ceprof-service-card{
    background: #fff;
    border: 1px solid var(--ceprof-border, rgba(15, 23, 42, 0.10));
    border-radius: var(--ceprof-radius, 18px);
    padding: 18px 18px;
}

.ceprof-service-card__title{
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--ceprof-ink, #0b1220);
}

/* Listas con bullets corporativos */
.ceprof-bullets{
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ceprof-bullets li{
    position: relative;
    padding-left: 20px;
    color: var(--ceprof-muted, #5b667a);
    line-height: 1.85;
}

.ceprof-bullets li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #00bcd4 100%);
}

/* Clientes: un poco más de separación */
.ceprof-bullets--clients{
    margin-top: 12px;
    gap: 12px;
}

/* Pie institucional */
.ceprof-institutional-footer{
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--ceprof-border, rgba(15, 23, 42, 0.10));
    text-align: center;
}

.ceprof-institutional-footer p{
    margin: 0;
    line-height: 1.8;
}

.ceprof-institutional-footer__muted{
    color: var(--ceprof-muted, #5b667a);
    font-size: 0.95rem;
}

.ceprof-dot{
    margin: 0 8px;
    opacity: 0.6;
}

/* ================================
   CEPROF - Clientes (estilo revista premium)
   ================================ */

.ceprof-clients-magazine{
    margin: 14px 0 0;
    padding: 0;
    list-style: none;

    /* “revista”: divide el contenido en columnas */
    column-count: 2;
    column-gap: 34px;

    /* mejora la lectura */
    line-height: 1.85;
}

@media (max-width: 992px){
    .ceprof-clients-magazine{ column-count: 1; }
}

.ceprof-clients-magazine li{
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;

    /* “bullet” premium */
    position: relative;
    padding-left: 18px;
    margin: 0 0 12px;

    color: var(--ceprof-muted, #5b667a);
}

.ceprof-clients-magazine li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #00bcd4 100%);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.10);
}

/* ================================
   FOOTER PRO (estilo similar a IAP)
   ================================ */

.footer-pro{
    background: #0f1419;
    color: rgba(255,255,255,0.78);
    padding-top: 70px;
}

.footer-grid{
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
    gap: 46px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 992px){
    .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
    .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
}

.footer-title{
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 16px;
    font-weight: 800;
}

.footer-desc{
    margin: 16px 0 18px;
    line-height: 1.9;
    max-width: 420px;
}

.footer-links,
.footer-contact{
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-links a{
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover{
    color: #fff;
    transform: translateX(2px);
}

.footer-contact li{
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.7;
}

.footer-contact i{
    margin-top: 2px;
    color: var(--primary-color);
}

.footer-contact a{
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.footer-dot{
    margin: 0 8px;
    opacity: 0.55;
}

/* Social */
.footer-social{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-social a{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.footer-social a:hover{
    transform: translateY(-2px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
}

/* Legal link */
.footer-legal a{
    display: inline-block;
    margin-top: 6px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
}

.footer-legal a:hover{ color: #fff; }

/* Barra inferior estilo “IAP” */
.footer-bottom-bar{
    background: #00aeef; /* verde similar al IAP (ajústalo si quieres) */
    padding: 16px 0;
}

.footer-bottom-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-copy,
.footer-meta{
    margin: 0;
    color: #fff;
    font-weight: 600;
    opacity: 0.95;
}

.footer-meta{ font-weight: 500; opacity: 0.9; }

/* ================================
   CEPROF - Aviso de Privacidad (Legal)
   ================================ */

.ceprof-legal{
    max-width: 980px;
    margin: 0 auto;
}

.ceprof-legal__updated{
    margin: 0 0 18px;
    color: var(--ceprof-muted, #5b667a);
}

.ceprof-legal__card{
    background: #fff;
    border: 1px solid var(--ceprof-border, rgba(15, 23, 42, 0.10));
    border-radius: var(--ceprof-radius, 18px);
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    margin-bottom: 16px;
}

.ceprof-legal__text{
    color: var(--ceprof-muted, #5b667a);
    line-height: 1.9;
    margin: 10px 0 0;
}

.ceprof-legal__card a{
    color: var(--primary-color);
    font-weight: 800;
    text-decoration: none;
}

.ceprof-legal__list{
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.ceprof-legal__list li{
    position: relative;
    padding-left: 18px;
    color: var(--ceprof-muted, #5b667a);
    line-height: 1.85;
}

.ceprof-legal__list li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #00bcd4 100%);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.10);
}

.ceprof-legal__actions{
    margin-top: 18px;
}