/* STYLO_INTERNAS.CSS - ESTILOS PARA PÁGINAS SECUNDARIAS */

/* 1. CABECERA DE PÁGINA (PAGE HEADER) */
.page-header {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* 2. ESTILOS PARA LA PÁGINA "NOSOTROS" */
#mission {
    background-color: var(--white);
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mission-text { flex: 1; }
.mission-image { flex: 1; }
.mission-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

#team {
    background-color: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--secondary-gold);
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-member .title {
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

/* 3. ESTILOS PARA "CASOS DE ÉXITO" */
.case-studies-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.case-study-full-card {
    display: flex;
    gap: 40px;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.case-study-full-card:nth-child(even) {
    flex-direction: row-reverse;
}

.cs-image {
    flex: 1;
    min-width: 400px;
}
.cs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cs-content {
    flex: 2;
}

.cs-content h2 {
    text-align: left;
    margin-bottom: 10px;
}

.cs-client-info {
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.cs-results {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.cs-result-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    border-left: 4px solid var(--secondary-gold);
}

.cs-result-item .value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.cs-result-item .metric {
    font-size: 0.9rem;
    color: #666;
}

/* 4. ESTILOS PARA EL BLOG */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.blog-feed article {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.blog-feed article:hover {
    box-shadow: var(--shadow-md);
}

.post-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.post-content h2 {
    text-align: left;
    margin-bottom: 15px;
    font-size: 2rem;
}

.post-content h2 a {
    text-decoration: none;
    color: var(--primary-dark);
    transition: color 0.3s;
}
.post-content h2 a:hover {
    color: var(--accent-blue);
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
    color: var(--accent-blue);
    text-decoration: none;
}
.read-more:hover {
    text-decoration: underline;
}

/* Sidebar */
.sidebar .widget {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.sidebar .widget h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-gold);
    padding-bottom: 10px;
}

.sidebar .widget ul {
    list-style: none;
}

.sidebar .widget ul li a {
    text-decoration: none;
    color: #555;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s;
}

.sidebar .widget ul li a:hover {
    color: var(--primary-dark);
}