/* === public/assets/css/Pages/Consultoria.css === */

/* 1. HERO SECTION */
.consultoria-hero {
    position: relative;
    height: 60vh; /* Altura del banner */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    /* Imagen de fondo (Asegúrate de tener una imagen 'consultoria-bg.jpg' o cambia la ruta) */
    background-image: url('/assets/img/Consultoria_img/Consultoria2.jpg'); 
    background-size: cover;
    background-position: center;
}

/* Capa oscura sobre la imagen para que se lea el texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-Family-2);
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-Family-1);
    font-size: var(--text-lg);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* 2. INTRODUCCIÓN */
.intro-text {
    text-align: center;
    max-width: 800px;
}
.intro-text h2 {
    font-family: var(--font-Family-2);
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: var(--text-2xl);
}
.intro-text p {
    font-size: var(--text-md);
    color: var(--text-secondary);
    line-height: var(--line-relaxed);
}

/* 3. TARJETAS DE SERVICIOS */
.bg-alt {
    background-color: var(--bg-section); /* Color de fondo alterno suave */
}

.section-title {
    text-align: center;
    font-family: var(--font-Family-2);
    font-size: var(--text-2xl);
    color: var(--text-main);
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

/* Iconos dentro de las cards */
.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(11, 103, 155, 0.1); /* Tinte azul suave */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

.service-card h4 {
    font-family: var(--font-Family-2);
    font-size: var(--text-xl);
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: var(--weight-semibold);
}

.iso-tag {
    display: inline-block;
    background-color: var(--bg-section);
    color: var(--primary);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--line-normal);
}

/* 4. CTA SECTION */
/* 4. CTA SECTION */
.cta-section {
    text-align: center; /* Esto ya estaba, pero lo reafirmamos */
    /* Usamos el nuevo gradiente definido en variables */
    background: var(--gradient-primary); 
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section .container {
    /* Si el texto interno está desalineado, esta regla forzará el centrado */
    text-align: center; 
    
    /* Asegurar que el título y el párrafo tengan márgenes automáticos para centrarse */
    margin-left: auto;
    margin-right: auto;
}
/* Agregamos una línea naranja decorativa arriba */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--brand-orange);
}

.cta-section .Boton {
    display: inline-block; /* Asegurar que se comporte como un bloque centrado */
    background-color: #fff;
    color: var(--brand-blue); /* Texto azul */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    /* Agregar un margen superior para separarlo del párrafo */
    margin-top: 20px;
}

.cta-section .Boton:hover {
    background-color: #fff;
    color: var(--brand-orange); /* Al pasar el mouse cambia a naranja */
    transform: translateY(-3px);
}
.speciality-list {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color); /* Línea divisoria sutil */
    width: 100%; /* Asegura que la lista ocupe todo el ancho de la tarjeta */
}

.speciality-list h5 {
    font-family: var(--font-Family-2);
    font-size: 0.9rem;
    color: var(--brand-orange); /* Subtítulo en naranja */
    margin-bottom: 10px;
    font-weight: var(--weight-semibold);
}

.iso-tags-group {
    display: flex;
    flex-wrap: wrap; /* Permite que los tags salten de línea si es necesario */
    gap: 8px; /* Espacio entre los tags */
    margin-bottom: 15px;
}

/* --- FIN NUEVOS ESTILOS --- */


/* Estilo original de los Tags (ajustado ligeramente) */
.iso-tag {
    display: inline-block;
    background-color: var(--bg-section);
    color: var(--primary);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    padding: 4px 8px;
    border-radius: 4px;
    /* margin-bottom: 1rem; <-- ELIMINADO ya que usamos el gap del padre */
    border: 1px solid var(--border-color);
}

/* Descripción de la tarjeta (se mantiene) */
.service-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--line-normal);
    margin-top: 10px; /* Agrega espacio sobre la descripción si hay tags */
}