/* =====================================================
   RESET & BASE
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    /* font-family: "Segoe UI", system-ui, Arial, sans-serif; */
    /* font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif; */
    font-family: "Trebuchet MS";
    background-color: #f4f6f9;
    color: #1f2937;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}
/* =====================================================
   CONTENEDOR
===================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
/* =====================================================
   HEADER / NAV (LOGO IMAGEN)
===================================================== */
/* Color menu inicio */

.header {
    background-color: #24135f;
    padding: 14px 0;
    overflow: visible;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Navegación */
.nav {
    display: flex;
    gap: 22px;
}

.nav a {
    color: #ffffff;
    font-size: 15px;
    opacity: 0.85;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: all 0.2s ease;
}
/* Color linea menu inicio - Vacantes - Empresas - Empleados  */

.nav a:hover,
.nav a.active {
    opacity: 1;
    border-bottom-color: #38bdf8;
}

/* =====================================================
   HERO
===================================================== */

/* ================= HERO ================= */
.hero {
    background: 
        linear-gradient(rgba(11,44,77,0.7), rgba(11,44,77,0.7)),
        image-set(
    url("../img/hero.webp") type("image/webp"),
    url("../img/hero.png") type("image/png")
  ) center / cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero .container {
    max-width: 900px;
}

.hero h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 30px;
}

.btn-primary {
    /* background: rgba(4, 101, 197, 0.7); */
    background: #24135f;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #ffffff;   /* ← ENCERRADO EN BLANCO */

}
/* =====================================================
   SERVICIOS
===================================================== */
/* ESPACIO Nuestros servicios */

/* Espacio footer servicios */
.services {
    padding: 50px 0;          /* espacio interno superior e inferior */
    margin-bottom: 1px;      /* separación visual con el footer */
    background-color: #ffffff;
}

.services h1,
.services h3 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 50px;
    color: #0b2c4d;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Nuestros servicios */


.service-card h4 {
    color: #0b2c4d;
    margin-bottom: 10px;
}

/* =====================================================
   BOTONES FLOTANTES
===================================================== */
.flotantes {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

/* WhatsApp */
.btn-float.whatsapp {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    color: #ffffff;
    font-size: 34px;
}

/* MiPago Amigo */
.floating-recaudo {
    width: 105px;
    height: 59px;
    background: url("../img/botonpagoamigo.png") center/contain no-repeat;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
    background-color: #ffffff;
}

/* =====================================================
   FOOTER MODERNO 2026
===================================================== */
/* Color footer web */
/* Color letra footer */
.footer-modern {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #cbd5e1;
    padding: 60px 20px 30px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-modern h3,
.footer-modern h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-modern p {
    line-height: 1.6;
}

.footer-modern a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-modern a:hover {
    color: #38bdf8;
}

/* Certificaciones */
.cert-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.cert-item img {
    max-width: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 4px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

/* Línea inferior del footer*/
.footer-bottom {
    border-top: 1px solid #213b1e;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 28px;
    }

    .nav {
        gap: 14px;
    }

    .logo img {
        height: 42px;
    }

    .flotantes {
        bottom: 90px;
    }
}
/* RESPONSIVE */

@media (max-width: 768px) {

    /* HEADER */
    .header-content {
        flex-direction: column;
        gap: 14px;
    }

    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav a {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* HERO */
    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .hero p {
        font-size: 16px;
    }

    /* BOTONES FLOTANTES */
    .flotantes {
        left: 12px;
        bottom: 70px;
    }

    .btn-float.whatsapp {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    .floating-recaudo {
        width: 92px;
        height: 52px;
    }

    /* FOOTER */
    .footer-container {
        gap: 30px;
        text-align: center;
    }

    .cert-item {
        justify-content: center;
    }
}

/* ===============================
   MENÚ HAMBURGUESA PRO
================================ */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}
.menu-toggle span:nth-child(2) {
    top: 10px;
}
.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .header-content {
        flex-direction: row;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0b2c4d;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 20px 0;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        font-size: 16px;
        padding: 10px 0;
    }

    /* Animación botón */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 10px;
    }
}
.header-content {
    position: relative;
}

.experience {
    padding: 80px 0;
    background: #f8f9fc;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.experience-info h3 {
    color: #0b2c4d;
    font-size: 28px;
}

.subtitle {
    color: #5a5a5a;
    margin-bottom: 15px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stats div strong {
    font-size: 26px;
    color: #0b2c4d;
    display: block;
}

.stats div span {
    font-size: 14px;
    color: #555;
}

.experience-image img {
    width: 100%;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .experience-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.experience {
    background: #f8fafc;
    padding: 80px 20px;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.experience-text h2 {
    color: #0b2c4d;
    font-size: 2.2rem;
}

.experience-text h4 {
    color: #4b5563;
    margin-bottom: 15px;
}

.experience-text p {
    color: #555;
    margin-bottom: 30px;
    max-width: 520px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat i {
    font-size: 28px;
    color: #0b2c4d;
}

.stat strong {
    font-size: 1.6rem;
    color: #0b2c4d;
}

.stat span {
    display: block;
    font-size: 0.9rem;
    color: #555;
}

.experience-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .experience-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        justify-content: center;
    }
}
.stats-line {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap; /* 🔴 esto evita que bajen */
  font-size: 15px;
}

.stats-line span {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap; /* 🔴 evita salto de línea */
}
.stats-line {
  display: flex;
  justify-content: center;   /* centra horizontal */
  align-items: center;       /* centra vertical */
  width: 100%;
  gap: 60px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;       /* centra icono y texto */
  justify-content: center;
}

.stat-item strong {
  font-size: 18px;
  font-weight: 600;
}

.stat-item span {
  font-size: 14 px;
}

/* ===== HERO ===== */
.hero {
  padding-bottom: 80px;   /* separa del bloque de estadísticas */
}

/* ===== STATS LINE ===== */
.stats-line {
  background: #f8fafc;
  padding: 50px 0;        /* aire arriba y abajo */
  margin-top: -40px;     /* efecto overlay elegante */
  display: flex;
  justify-content: center;
  gap: 70px;
}

/* Items */
.stat-item {
  text-align: center;
}

.stat-item i {
  font-size: 36px;  /*tamaño iconos hero  1500 */
  color: #1d4ed8;
  margin-bottom: 6px;
}

.stat-item strong {
  display: block;
  font-size: 18px;
}

.stat-item span {
  font-size: 14px;
}

/*  Empresas usuarias Empleados en misión Años de experiencia Agencias en Colombia */

/* ================= VALORES CORPORATIVOS ================= */
/* Nuestro compromiso */


.values {
    padding: 1px 0;
    background: #ffffff;
}
.values h3 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 60px;
    color: #0b2c4d;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.value-card {
    background: #f8fafc;
    padding: 35px 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(224, 51, 51, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}
.value-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}
.value-card h4 {
    font-size: 18px;
    color: #0b2c4d;
    margin-bottom: 12px;
}
.value-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .values {
        padding: 60px 20px;
    }

    .values h3 {
        font-size: 26px;
        margin-bottom: 40px;
    }
} 

/* ================= VALORES CORPORATIVOS CON ICONOS ================= */

/* CONTENEDOR */

.values .container {
    padding-left: 1px;
    padding-right: 1px;
}
.values {
    padding: 80px 0;
    background: #ffffff;
}

.values h3 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 60px;
    color: #0b2c4d;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.value-card i {
    font-size: 48px;
    /* color: #4d0b16; */
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 18px;
    color: #0b2c4d;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

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

    .values h3 {
        font-size: 26px;
        margin-bottom: 40px;
    }
}

/* ================= SERVICIOS CON ICONOS ================= */

.service-card i {
    font-size: 42px;
    /* color: #0b2c4d; */
    margin-bottom: 18px;
    display: inline-block;
}

/* Centrar icono en tarjetas de servicios */
.service-card {
    text-align: center; /* 👈 esto centra el icono y el texto */
}

.service-card i {
    display: block;     /* 👈 fuerza al icono a ocupar su propia línea */
    margin: 0 auto 18px;/* 👈 lo centra horizontalmente */
    font-size: 42px;
    /* color: #0b2c4d; */
}
/* Hover elegante */
.service-card:hover i {
    color: #1d4ed8;  /* Color icono Servicios */
}
/* Hover elegante */
.value-card:hover i {
    color: #1d4ed8;  /* Color icono Nuestro compromiso
 */
}

.cta-empresas {
    padding: 50px 0;          /* espacio interno superior e inferior */
    margin-bottom: 10px;      /* separación visual con el footer */
    background-color: #ffffff;
}

/* ================= ICONOS UNIFICADOS  COLORES ================= */
:root {
    --icon-color: #24135f;       /* color normal */
    --icon-color-hover: #9ea5a8; /* color al pasar mouse */
}
.stat-item i,
.value-card i,
.service-card i {
    color: var(--icon-color);
    transition: color 0.3s ease;
}

.stat-item i:hover,
.value-card:hover i,
.service-card:hover i {
    color: var(--icon-color-hover);
}


/* =====================================================
   RESPONSIVE GLOBAL FINO (NO ELIMINA NADA)
===================================================== */

/* ---------- TABLETS GRANDES ---------- */
@media (max-width: 1024px) {

    .container {
        width: 94%;
    }

    .hero {
        min-height: 70vh;
    }

    .experience-grid {
        gap: 40px;
    }

    .stats-line {
        gap: 40px;
        flex-wrap: wrap;
    }
}

/* ---------- TABLETS ---------- */
@media (max-width: 900px) {

    .hero {
        padding: 80px 20px;
    }

    .hero p {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .experience-text p {
        max-width: 100%;
    }

    .experience-image img {
        max-width: 100%;
    }
}

/* ---------- MÓVILES GRANDES ---------- */
@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    /* HERO */
    .hero {
        min-height: auto;
        padding: 90px 20px 70px;
    }

    .hero h2 {
        line-height: 1.3;
    }

    .hero p {
        line-height: 1.6;
    }

    .btn-primary {
        padding: 12px 22px;
        font-size: 15px;
    }

    /* STATS LINE */
    .stats-line {
        flex-wrap: wrap;
        gap: 30px;
        padding: 40px 20px;
    }

    .stat-item strong {
        font-size: 16px;
    }

    /* EXPERIENCE */
    .experience {
        padding: 60px 20px;
    }

    .experience-text h2 {
        font-size: 1.8rem;
    }

    .stats {
        gap: 20px;
    }

    /* VALUES */
    .values-grid {
        gap: 30px;
    }

    .value-card {
        padding: 30px 22px;
    }

    /* SERVICES */
    .services-grid {
        gap: 25px;
    }

    /* FOOTER */
    .footer-modern {
        padding: 50px 20px 25px;
    }
}

/* ---------- MÓVILES ---------- */
@media (max-width: 576px) {

    /* HEADER */
    .logo img {
        height: 38px;
    }

    /* HERO */
    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 15px;
    }

    /* STATS */
    .stats-line {
        flex-direction: column;
        gap: 24px;
    }

    /* EXPERIENCE */
    .experience-text h2 {
        font-size: 1.6rem;
    }

    .stat {
        flex-direction: column;
        gap: 8px;
    }

    /* CARDS */
    .service-card,
    .value-card {
        padding: 26px 20px;
    }

    /* BOTONES FLOTANTES */
    .flotantes {
        left: 10px;
        bottom: 60px;
    }
}

/* ---------- MÓVILES PEQUEÑOS ---------- */
@media (max-width: 420px) {

    .hero {
        padding: 80px 16px 60px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .stats-line {
        padding: 30px 16px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* FORMULARIO CONTACTO */


.contact-section {
 background: linear-gradient(135deg, #24135f, #3a3c3d);      /*Color formulario */
    padding: 80px 20px;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    color: #ffffff;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-info i {
    margin-right: 10px;
    color: #ffffff;
}

/* FORMULARIO */
.contact-form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 22px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.contact-form label {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #777;
    font-size: 13px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: 0.3s;
    background: #ffffff;
    padding: 0 5px;
}

.contact-form textarea + label {
    top: 18px;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:valid + label,
.contact-form textarea:valid + label {
    top: -8px;
    font-size: 11px;
    color: #24135f;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}


/* ESTILOS BANNER */


/* ==============================
   CARRUSEL DE LOGOS (FIX FINAL)
============================== */
.logo-carousel {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 40px 0;
    position: relative;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
    animation: scroll-logos 18s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
}

.logo-item img {
    width: 160px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover */
.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* LOOP REAL SIN SALTOS */
@keyframes scroll-logos {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1024px) {
    .logo-item img {
        width: 140px;
    }
}

@media (max-width: 768px) {
    .logo-item img {
        width: 120px;
    }

    .carousel-track {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo-item img {
        width: 100px;
    }

    .logo-carousel {
        padding: 20px 0;
    }
}

/* ===================================================================
   BLOG PTA S.A.S — CSS completo
   Cubre: hero, listado, post destacado, tarjetas, sidebar, post individual
=================================================================== */

/* ── Variables de color del blog ────────────────────────────────── */
:root {
  --blog-primary:   #0b2c4d;
  --blog-accent:    #0465c5;
  --blog-accent-h:  #0353a4;
  --blog-surface:   #f8fafc;
  --blog-border:    #e2e8f0;
  --blog-text:      #374151;
  --blog-muted:     #6b7280;
  --blog-badge-bg:  #0b2c4d;
  --blog-badge-txt: #ffffff;
}

/* ── Hero del listado ───────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, #0b2c4d 0%, #0465c5 100%);
  padding: 60px 0 50px;
  text-align: center;
  color: #fff;
}
.blog-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #e0f2fe;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.blog-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.blog-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Layout principal ────────────────────────────────────────────── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 48px 0 64px;
  align-items: start;
}
.blog-grid-section { min-width: 0; }

/* ── Post destacado ─────────────────────────────────────────────── */
.blog-featured {
  background: #fff;
  border: 1px solid var(--blog-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow .2s;
}
.blog-featured:hover { box-shadow: 0 8px 32px rgba(4,101,197,.12); }
.blog-featured-link {
  display: flex;
  gap: 0;
  text-decoration: none;
  color: inherit;
}
.blog-featured-img {
  width: 340px;
  min-height: 220px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0b2c4d 0%, #0465c5 100%);
  display: flex;
  align-items: flex-start;
  padding: 20px;
  position: relative;
}
.blog-featured-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.blog-featured-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blog-primary);
  margin: 0;
  line-height: 1.4;
}
.blog-featured-body .blog-card-resumen {
  color: var(--blog-text);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Grid de tarjetas ───────────────────────────────────────────── */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--blog-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: 0 8px 28px rgba(4,101,197,.12);
  transform: translateY(-3px);
}
.blog-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.blog-card-top {
  background: linear-gradient(135deg, #0b2c4d 0%, #0465c5 100%);
  padding: 18px 20px 14px;
  min-height: 80px;
  display: flex;
  align-items: flex-start;
}
.blog-card-body {
  padding: 20px 20px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-card-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blog-primary);
  margin: 0;
  line-height: 1.4;
}
.blog-card-meta {
  font-size: .78rem;
  color: var(--blog-muted);
  margin: 0;
}
.blog-card-resumen {
  font-size: .85rem;
  color: var(--blog-text);
  line-height: 1.6;
  margin: 0;
}

/* ── Badges de categoría ────────────────────────────────────────── */
.blog-cat-badge {
  display: inline-block;
  background: var(--blog-badge-bg);
  color: var(--blog-badge-txt);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 20px;
}
.blog-cat-sm {
  font-size: .68rem;
  padding: 3px 10px;
  background: rgba(11,44,77,.12);
  color: var(--blog-primary);
}
.blog-featured-img .blog-cat-badge {
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

/* ── "Leer más" links ───────────────────────────────────────────── */
.blog-leer-mas {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blog-accent);
  font-size: .875rem;
  font-weight: 700;
  margin-top: 4px;
}
.blog-leer-mas-sm {
  display: block;
  padding: 12px 20px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blog-accent);
  border-top: 1px solid var(--blog-border);
  transition: color .15s;
}
.blog-card:hover .blog-leer-mas-sm { color: var(--blog-accent-h); }

/* ── Sidebar ─────────────────────────────────────────────────────── */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.blog-sidebar-widget {
  background: #fff;
  border: 1px solid var(--blog-border);
  border-radius: 14px;
  padding: 24px;
}
.blog-sidebar-widget h2,
.blog-sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blog-primary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blog-border);
}
.blog-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-cat-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-cat-list small { color: var(--blog-muted); font-size: .8rem; }

/* Sidebar artículos relacionados */
.blog-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-sidebar-list li { border-bottom: 1px solid var(--blog-border); padding-bottom: 12px; }
.blog-sidebar-list li:last-child { border: none; padding: 0; }
.blog-sidebar-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--blog-text);
  font-size: .85rem;
  line-height: 1.4;
  font-weight: 600;
  transition: color .15s;
}
.blog-sidebar-list a:hover { color: var(--blog-accent); }
.blog-sidebar-cat {
  display: inline-block;
  background: rgba(11,44,77,.08);
  color: var(--blog-primary);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 8px;
  border-radius: 20px;
  width: fit-content;
}

/* CTA widget */
.blog-cta-widget {
  background: linear-gradient(135deg, #0b2c4d 0%, #0465c5 100%);
  border-color: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.blog-cta-widget i {
  font-size: 2rem;
  color: rgba(255,255,255,.7);
}
.blog-cta-widget h2,
.blog-cta-widget h3 {
  color: #fff;
  border-color: rgba(255,255,255,.2);
  font-size: 1.05rem;
}
.blog-cta-widget p {
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  margin: 0;
}
.blog-cta-widget .btn-primary {
  margin-top: 4px;
  background: #fff;
  color: var(--blog-primary);
  font-weight: 700;
}
.blog-cta-widget .btn-primary:hover { background: #e0f2fe; }

/* ── Post individual ─────────────────────────────────────────────── */
.blog-single-hero {
  background: linear-gradient(135deg, #0b2c4d 0%, #0465c5 100%);
  padding: 56px 0 48px;
  color: #fff;
}
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.blog-breadcrumb a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .15s;
}
.blog-breadcrumb a:hover { color: #fff; }
.blog-single-hero .blog-cat-badge {
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  margin-bottom: 14px;
  display: inline-block;
}
.blog-single-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.3;
  max-width: 780px;
}
.blog-single-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}
.blog-single-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 48px 0 64px;
  align-items: start;
}
.blog-single-cover {
    margin: 0 0 32px 0;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}
.blog-single-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.blog-single-content {
  background: #fff;
  border: 1px solid var(--blog-border);
  border-radius: 14px;
  padding: 40px 44px;
  line-height: 1.85;
  color: var(--blog-text);
  font-size: .95rem;
}
.blog-single-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blog-primary);
  margin: 28px 0 12px;
  padding-top: 8px;
  border-top: 2px solid var(--blog-border);
}
.blog-single-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.blog-single-content ul {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-single-content strong { color: var(--blog-primary); }
.blog-single-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-layout,
  .blog-single-body { grid-template-columns: 1fr; }
  .blog-sidebar,
  .blog-single-sidebar { order: -1; }
  .blog-featured-link { flex-direction: column; }
  .blog-featured-img { width: 100%; min-height: 140px; }
}
@media (max-width: 640px) {
  .blog-hero { padding: 40px 0 32px; }
  .blog-hero h1 { font-size: 1.6rem; }
  .blog-layout { padding: 28px 0 40px; }
  .blog-cards-grid { grid-template-columns: 1fr; }
  .blog-single-content { padding: 24px 20px; }
  .blog-single-hero h1 { font-size: 1.45rem; }
}

/* ── Compatibilidad clases antiguas ─────────────────────────────── */
.blog-page  { margin: 0; padding: 0; }
.blog-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 24px; }

/* Fuente global */
* {
    font-family: "Trebuchet MS";
}

/* ================= NOSOTROS - CSS INDEPENDIENTE ================= */
/* ================= NOSOTROS - BLOQUES LADO A LADO ================= */

.nosotros-valores {
    padding: 10px 0;
    background: #f8fafc;
}

/* BLOQUE BASE */
.valor-bloque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    margin-bottom: 120px;
}

/* Invertir orden sin romper layout */
.valor-bloque.reverse {
    grid-auto-flow: dense;
}

.valor-bloque.reverse .valor-img {
    order: 2;
}

.valor-bloque.reverse .valor-texto {
    order: 1;
}

/* IMAGEN */
.valor-img img {
    width: 50%;
    height: 320px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 25px 55px rgba(0,0,0,0.14);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.valor-img img:hover {
    transform: scale(1.015);
    box-shadow: 0 35px 70px rgba(0,0,0,0.18);
}

/* TEXTO */
.valor-texto h3 {
    font-size: 2.1rem;
    color: #24135f;
    margin-bottom: 12px;
}

.valor-texto h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #64748b;
    margin-bottom: 22px;
}

.valor-texto p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #555;
    max-width: 520px;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 1024px) {
    .valor-bloque {
        gap: 50px;
        margin-bottom: 100px;
    }

    .valor-img img {
        height: 260px;
    }
}

/* TABLET / MÓVIL */
@media (max-width: 900px) {
    .valor-bloque,
    .valor-bloque.reverse {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .valor-img img {
        height: 300px;
    }

    .valor-texto p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* MÓVILES */
@media (max-width: 576px) {
    .nosotros-valores {
        padding: 70px 0;
    }

    .valor-bloque {
        margin-bottom: 80px;
    }

    .valor-img img {
        height: 240px;
        border-radius: 18px;
    }

    .valor-texto h3 {
        font-size: 1.7rem;
    }

    .valor-texto p {
        font-size: 0.98rem;
        line-height: 1.7;
    }
}



/* ===== CONTENEDOR MAESTRO NOSOTROS ===== */
.nosotros-page {
    width: 100%;
    overflow-x: hidden;
}

/* Todas las secciones internas centradas */
.nosotros-page section {
    width: 100%;
}

/* Contenido real centrado */
.nosotros-page .nosotros-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ================= NOSOTROS ================= */

.hero-nosotros {
    background: url('../img/hero-nosotros.jpg') center/cover no-repeat;
    min-height: 70vh;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.55);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.about-section {
    padding: 80px 0;
}

.about-section h2 {
    margin-bottom: 30px;
    color: #0b2c4d;
}

.about-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* ===== Valores alternados ===== */

.values-alt {
    background: #f8fafc;
    padding: 80px 0;
}

.value-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.value-row.reverse {
    direction: rtl;
}

.value-row.reverse * {
    direction: ltr;
}

.value-img img {
    width: 100%;
    border-radius: 14px;
}

.value-text h3 {
    color: #0b2c4d;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 900px) {
    .value-row {
        grid-template-columns: 1fr;
    }
}


/* ================== BASE ================== */
.nosotros-page {
    width: 100%;
}

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

/* ================== HERO ================== */
.nosotros-hero {
    background: linear-gradient(
        rgba(11,44,77,0.75),
        rgba(11,44,77,0.75)
    );
    padding: 120px 0;
    color: #fff;
}

.nosotros-hero-content {
    max-width: 700px;
}

.nosotros-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ================== INTRO ================== */
/* .nosotros-intro {
    padding: 30px 0;
    text-align: center;
} */

/* ================== BLOQUES ================== */
.nosotros-valores {
    padding: 50px 0;
    background: #f8fafc;
}

.valor-bloque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;        /* antes 70px */
    margin-bottom: 60px; /* antes 120px */
}

.valor-bloque.reverse {
    grid-template-areas: "texto imagen";
}

/* .valor-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
} */

.valor-img img {
    max-width: 100%;      /* escala la imagen hasta el tamaño del contenedor */
    width: 100%;          /* ocupa todo el ancho posible */
    height: auto;         /* mantiene la proporción */
    border-radius: 22px;  /* opcional */
    box-shadow: 0 25px 55px rgba(0,0,0,0.14);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.valor-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 35px 70px rgba(0,0,0,0.18);
}


.valor-texto {
    max-width: 520px;
}

.valor-texto h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.valor-texto h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #64748b;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 900px) {
    .valor-bloque {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .valor-texto {
        margin: 0 auto;
    }

    .valor-img img {
        height: 300px;
    }
}

.footer-logo {
    margin-top: 15px;
    max-width: 140px;      /* tamaño controlado */
    height: auto;
    opacity: 0.95;
}

/* Si quieres centrarlo */
.footer-col.brand {
    text-align: center;
}


/* ================= FOOTER SOCIAL ================= */


/* ================= FOOTER SOCIAL – COLORES POR RED ================= */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #cbd5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* FACEBOOK */
.footer-social a:hover .fa-facebook-f {
    color: #1877f2;
}
.footer-social a:has(.fa-facebook-f):hover {
    background: rgba(24, 119, 242, 0.15);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.45);
}

/* INSTAGRAM */
.footer-social a:hover .fa-instagram {
    color: #e1306c;
}
.footer-social a:has(.fa-instagram):hover {
    background: rgba(225, 48, 108, 0.15);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.45);
}

/* LINKEDIN */
.footer-social a:hover .fa-linkedin-in {
    color: #0a66c2;
}
.footer-social a:has(.fa-linkedin-in):hover {
    background: rgba(10, 102, 194, 0.15);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.45);
}


/* ================= NOSOTROS - CSS INDEPENDIENTE ================= */

.nosotros-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 10px;
}

/* HERO */
.nosotros-hero {
    background:
        /* linear-gradient(rgba(129, 137, 145, 0.75), rgba(129, 149, 168, 0.75)), */
        url("../img/nosotros-hero.jpg") center / cover no-repeat; /*  imagen nosotros hero */
    min-height: 55vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.nosotros-hero-content {
    max-width: 720px;
    margin: auto;
}

.nosotros-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
}

.nosotros-hero .nosotros-badge {
    display: none;
}
.nosotros-hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.nosotros-logo-img {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1); /* logo blanco sobre el hero oscuro */
}
.nosotros-hero h1 {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    margin-bottom: 0;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nosotros-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* INTRO */
.nosotros-intro {
    padding: 20px 0;  /* espacio quien somos nosotros */
    text-align: center;
    background: #ffffff;
}

.nosotros-intro h2 {
    font-size: 2.2rem;
    color: #0b2c4d;
    margin-bottom: 20px;
}

.nosotros-intro p {
    max-width: 800px;
    margin: auto;
    color: #555;
    font-size: 1.05rem;
}

/* VALORES */
.nosotros-valores {
    padding: 30px 0;
    background: #f8fafc;
}

.nosotros-valores .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

/* CARD */
.valor-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0,0,0,0.12);
}

.valor-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.valor-content {
    padding: 30px;
}

.valor-content h3 {
    color: #24135f;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.valor-content h4 {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.valor-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nosotros-hero {
        min-height: auto;
        padding: 90px 20px;
    }

    .nosotros-valores {
        padding: 40px 0;
    }
}

/* ================= BOTÓN COLSUBSIDIO / CONVENIOS ================= */
.btn-colsubsidio {
    display: inline-flex;
    margin-top: 20px;   /* separa del párrafo */
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #24135f, #24135f);
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(223, 216, 218, 0.35);
    width: fit-content;
}

/* Hover elegante */
.btn-colsubsidio:hover {
    background: linear-gradient(135deg, #24135f, #24135f);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(214, 208, 209, 0.55);
}

/* Responsive */
@media (max-width: 768px) {
    .btn-colsubsidio {
        font-size: 14px;
        padding: 10px 22px;
    }
}

/* ================== SECCIÓN VALORES ================== */
.valores-section {
    padding: 30px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

.valores-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 0 20px;
}

/* COLUMNA IZQUIERDA */
.valores-left h2 {
    font-size: 34px;
    color: #0a2540;
    margin-bottom: 10px;
}

.valores-left h3 {
    font-size: 22px;
    color: #0a2540;
    margin-bottom: 30px;
}

.valores-cita {
    font-size: 18px;
    color: #0a2540;
    line-height: 1.6;
    max-width: 420px;
}

/* COLUMNA DERECHA */
.valores-right {
    position: relative;
    padding-left: 40px;
}

.valores-right::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #e5e7eb;
}

/* ITEM */
.valor-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.valor-item h4 {
    font-size: 20px;
    color: #0a2540;
    margin-bottom: 8px;
}

.valor-item p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* PUNTO azul */
.dot {
    width: 14px;
    height: 14px;
    background: #24135f;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .valores-container {
        grid-template-columns: 1fr;
    }

    .valores-right {
        padding-left: 30px;
    }
}

.nosotros-imagen {
    margin-top: 35px;
    text-align: center;
}

.nosotros-imagen img {
    max-width: 100%;
    width: 520px;        /* tamaño ideal desktop */
    height: auto;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .nosotros-imagen img {
        width: 100%;
        max-width: 320px;
    }
}


/* =================================================================
   UTILIDADES — Clases extraídas de inline styles
   PTA S.A.S | Migrado desde atributos style=""
================================================================= */

/* Footer */
.footer-address       { font-style: normal; line-height: 1.7; }
.footer-col ul        { list-style: none; }
.footer-phone         { margin-top: 10px; }

/* Servicios */
.servicios-intro {
  text-align: center;
  color: #555;
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.servicios-cta-text  { font-size: .9rem; color: #555; margin-bottom: 20px; }
.btn-inline-block    { display: inline-block; }

/* Cambiar clave */
.cc-breadcrumb-active  { color: #0f2044; font-weight: 700; }
.cc-title-icon         { color: #2563eb; margin-right: 7px; }
.cc-card-narrow        { max-width: 480px; margin: 0 auto; }
.cc-aviso-warning      { margin-bottom: 20px; background: #fef9c3; border-color: #fbbf24; color: #92400e; }
.cc-aviso-error        { margin-bottom: 20px; background: #fee2e2; border-color: #f87171; color: #991b1b; }

.cc-ok-box             { text-align: center; padding: 32px 20px; }
.cc-ok-emoji           { font-size: 3rem; margin-bottom: 12px; }
.cc-ok-msg             { font-size: 1rem; color: #0f2044; }
.cc-ok-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: #24135f; color: #fff; padding: 10px 22px;
  border-radius: 9px; font-size: .84rem; font-weight: 700;
  text-decoration: none; margin-top: 16px;
  transition: background .15s;
}
.cc-ok-link:hover { background: #3a2180; }

.cc-form              { display: flex; flex-direction: column; gap: 18px; padding: 8px 0; }

.cc-field-label {
  display: block; font-size: .78rem; font-weight: 700; color: #374151;
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em;
}
.cc-field-hint        { font-size: .74rem; color: #64748b; margin: 5px 0 0 4px; }

.cc-input-wrap {
  display: flex; align-items: center;
  border: 1.5px solid #e2e8f0; border-radius: 9px;
  overflow: hidden; background: #f8fafc;
}
.cc-input-icon        { padding: 0 12px; color: #94a3b8; }
.cc-input-field {
  flex: 1; border: none; background: transparent;
  padding: 11px 8px; font-size: .88rem; outline: none; color: #0f172a;
}
.cc-eye-btn {
  border: none; background: transparent;
  padding: 0 12px; cursor: pointer; color: #94a3b8;
}

.cc-submit-btn {
  background: #24135f; color: #fff; border: none; border-radius: 10px;
  padding: 13px; font-size: .9rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; transition: background .15s; margin-top: 4px;
}
.cc-submit-btn:hover  { background: #3a2180; }

/* Dashboard - inline styles */
.dash-docs-icon {
  width: 56px; height: 56px; background: #ede9fe; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #5b21b6; margin: 0 auto 14px;
}
.dash-docs-desc       { font-size: .8rem; color: #64748b; line-height: 1.5; margin-bottom: 16px; }
.dash-docs-body       { padding: 22px 20px; text-align: center; }
.dash-docs-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: #24135f; color: #fff; border-radius: 9px;
  padding: 10px 20px; font-size: .82rem; font-weight: 700;
  text-decoration: none; transition: background .15s;
}
.dash-docs-link:hover { background: #3a2180; }
.dash-card-mb         { margin-bottom: 20px; }
.dash-alerta-link     { color: #dc2626; font-weight: 700; }
.xt td.td-muted       { color: var(--mu, #64748b); }
.xt td.td-center      { text-align: center; }
.xt th.th-sm          { width: 60px; text-align: center; }

/* Footer list utility */
.footer-col-list { list-style: none; }

/* =================================================================
   CONTACTO — Estados nuevos del formulario con backend real
================================================================= */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.contact-ok {
  text-align: center;
  padding: 40px 24px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
}
.contact-ok i {
  font-size: 2.5rem;
  color: #16a34a;
  margin-bottom: 12px;
  display: block;
}
.contact-ok strong {
  display: block;
  font-size: 1.1rem;
  color: #14532d;
  margin-bottom: 10px;
}
.contact-ok p {
  font-size: .88rem;
  color: #166534;
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact-errors {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #991b1b;
  font-size: .88rem;
}
.contact-errors i  { margin-top: 2px; flex-shrink: 0; }
.contact-errors ul { list-style: disc; padding-left: 16px; }
.contact-errors li { margin-bottom: 4px; }

.contact-wa-link   { text-decoration: none; color: inherit; }
.contact-wa-link i { color: #25D366; }

/* =================================================================
   BLOG — Diseño completo SEO-friendly
   PTA S.A.S
================================================================= */

/* ── Hero del blog ── */
.blog-hero {
  background: linear-gradient(135deg, #0f2044 0%, #24135f 100%);
  padding: 56px 0 48px;
  text-align: center;
}
.blog-hero-badge {
  display: inline-block;
  background: rgba(56,189,248,.15);
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,.3);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.blog-hero h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}
.blog-hero-desc {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Layout blog listado ── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 48px 0 64px;
  align-items: start;
}

/* ── Post destacado ── */
.blog-featured {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8edf5;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .2s;
}
.blog-featured:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.blog-featured-link  { text-decoration: none; color: inherit; display: block; }
.blog-featured-img {
  height: 220px;
  background: linear-gradient(135deg, #0f2044, #24135f);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.blog-featured-body  { padding: 24px 28px 28px; }
.blog-featured-body h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f2044;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color .15s;
}
.blog-featured:hover .blog-featured-body h2 { color: #24135f; }

/* ── Grid de cards ── */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8edf5;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-2px); }
.blog-card-link  { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.blog-card-top {
  height: 110px;
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.blog-card-body  { padding: 18px 20px; flex: 1; }
.blog-card-titulo {
  font-size: .95rem;
  font-weight: 700;
  color: #0f2044;
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color .15s;
}
.blog-card:hover .blog-card-titulo { color: #24135f; }

/* ── Categoría badge ── */
.blog-cat-badge {
  display: inline-block;
  background: #24135f;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.blog-cat-sm { font-size: .6rem; padding: 2px 8px; }

/* ── Metadata ── */
.blog-card-meta {
  font-size: .72rem;
  color: #94a3b8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card-resumen {
  font-size: .82rem;
  color: #64748b;
  line-height: 1.55;
}

/* ── Leer más ── */
.blog-leer-mas {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #24135f;
  font-size: .85rem;
  font-weight: 700;
  margin-top: 14px;
}
.blog-leer-mas-sm {
  display: block;
  padding: 12px 20px;
  color: #24135f;
  font-size: .78rem;
  font-weight: 700;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

/* ── Sidebar blog ── */
.blog-sidebar            { display: flex; flex-direction: column; gap: 20px; }
.blog-sidebar-widget {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8edf5;
  padding: 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.blog-sidebar-widget h2,
.blog-sidebar-widget h3 {
  font-size: .9rem;
  font-weight: 800;
  color: #0f2044;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}
.blog-cat-list           { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.blog-cat-list li        { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #64748b; }

.blog-sidebar-list       { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.blog-sidebar-list li    { border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; }
.blog-sidebar-list li:last-child { border: none; padding-bottom: 0; }
.blog-sidebar-list a {
  text-decoration: none;
  color: #1e293b;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  display: block;
  transition: color .15s;
}
.blog-sidebar-list a:hover { color: #24135f; }
.blog-sidebar-cat {
  display: block;
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  margin-bottom: 3px;
}

.blog-cta-widget         { background: #f0f4ff; border-color: #c7d7fd; text-align: center; }
.blog-cta-widget i       { font-size: 1.6rem; color: #24135f; margin-bottom: 10px; display: block; }
.blog-cta-widget h2,
.blog-cta-widget h3      { font-size: .88rem; border: none; padding: 0; margin-bottom: 8px; }
.blog-cta-widget p       { font-size: .8rem; color: #475569; margin-bottom: 16px; line-height: 1.5; }

/* ── Post individual (single) ── */
.blog-single-hero {
  background: linear-gradient(135deg, #0f2044 0%, #24135f 100%);
  padding: 48px 0 40px;
}
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.blog-breadcrumb a       { color: rgba(255,255,255,.7); text-decoration: none; transition: color .15s; }
.blog-breadcrumb a:hover { color: #fff; }
.blog-breadcrumb span[aria-hidden] { color: rgba(255,255,255,.3); }
.blog-single-hero h1 {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 10px 0 14px;
  max-width: 720px;
}
.blog-single-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: .8rem;
}
.blog-single-meta i      { opacity: .7; }

.blog-single-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 48px 0 64px;
  align-items: start;
}
.blog-single-content {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8edf5;
  padding: 36px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  line-height: 1.8;
  font-size: .93rem;
  color: #1e293b;
}
.blog-single-content h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f2044;
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 4px solid #24135f;
}
.blog-single-content h2:first-child { margin-top: 0; }
.blog-single-content p   { margin-bottom: 14px; }
.blog-single-content ul  { padding-left: 22px; margin-bottom: 14px; }
.blog-single-content li  { margin-bottom: 8px; }
.blog-single-content strong { color: #0f2044; }

/* ── Responsive blog ── */
@media (max-width: 1024px) {
  .blog-layout         { grid-template-columns: 1fr; }
  .blog-single-body    { grid-template-columns: 1fr; }
  .blog-sidebar        { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .blog-cards-grid     { grid-template-columns: 1fr; }
  .blog-sidebar        { grid-template-columns: 1fr; }
  .blog-hero h1        { font-size: 1.6rem; }
  .blog-single-hero h1 { font-size: 1.4rem; }
  .blog-single-content { padding: 24px 20px; }
}

/* =================================================================
   PÁGINAS LEGALES
================================================================= */
.legal-page    { padding: 60px 0; max-width: 900px; margin: 0 auto; line-height: 1.8; }
.legal-h2      { color: #0b2c4d; margin-bottom: 25px; }
.legal-list    { margin-left: 30px; }
.mb-12         { margin-bottom: 12px; }
.mt-12         { margin-top: 12px; }
.mb-8          { margin-bottom: 8px; }
.text-muted    { color: #64748b; }
.legal-page-wide { max-width: 1000px; }
.mt-40           { margin-top: 40px; }

/* =================================================================
   BOTFACTORY SENIOR — Posicionamiento garantizado
   La clase BotFactoryMessenger es estable entre versiones del SDK.
   Las clases sc-xxx son generadas por styled-components y cambian.
   !important es necesario para superar los estilos inline del SDK.
================================================================= */
.BotFactoryMessenger {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483640 !important;
}

/* =================================================================
   SECTORES ECONÓMICOS — Sección con grid responsivo
================================================================= */
.sectores {
    padding: 70px 0;
    background: #f8fafc;
}

.sectores h3 {
    text-align: center;
    font-size: 1.9rem;
    color: #24135f;
    margin-bottom: 12px;
}

.sectores-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.sectores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sector-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.sector-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(36, 19, 95, 0.13);
    border-top-color: #0465c5;
}

.sector-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #24135f, #0465c5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.sector-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.sector-card h4 {
    color: #24135f;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sector-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* RESPONSIVE sectores */
@media (max-width: 1200px) {
    .sectores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .sectores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .sectores h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .sectores {
        padding: 50px 0;
    }
    .sectores-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .sector-card {
        padding: 20px 12px;
        text-align: center;
    }
    .sector-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
    }
    .sector-icon i {
        font-size: 1.1rem;
    }
    .sector-card h4 {
        font-size: 0.85rem;
    }
    .sector-card p {
        font-size: 0.78rem;
        line-height: 1.5;
    }
}

/* =================================================================
   FIX RESPONSIVE — Logo Colsubsidio en móvil
================================================================= */

/* Contenedor específico del convenio Colsubsidio */
.nosotros-valores .valor-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-convenio {
    width: 200px !important;
    height: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .img-convenio {
        width: 160px !important;
        max-width: 160px !important;
        margin: 0 auto 16px !important;
    }
}

@media (max-width: 480px) {
    .img-convenio {
        width: 130px !important;
        max-width: 130px !important;
    }
}

/* =================================================================
   OVERRIDE FINAL — Garantías absolutas responsive
   (va al final para ganar la cascada sin !important extra)
================================================================= */

/* Sectores: siempre 2 col en móvil */
@media (max-width: 600px) {
    .sectores-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Colsubsidio SVG: nunca más grande de 200px */
img.img-convenio,
.valor-img img.img-convenio {
    width: 200px   !important;
    max-width: 200px !important;
    height: auto   !important;
    object-fit: contain !important;
    border-radius: 0    !important;
    box-shadow: none    !important;
}
