/* =====================================================
   VARIABLES CSS Y CONFIGURACIÓN GLOBAL - PALETA RELAJANTE
   ===================================================== */
:root {
    /* Colores principales - Paleta relajante */
    --primary-color: #4a90a4;      /* Azul verdoso tranquilo */
    --secondary-color: #357a8a;     /* Azul más profundo */
    --accent-color: #7fb069;        /* Verde suave */
    --light-green: #a7c957;         /* Verde claro */
    --soft-blue: #89c2d9;          /* Azul pastel */
    --cream: #f1faee;              /* Crema suave */
    --sage-green: #8fbc8f;         /* Verde salvia */
    --mint: #b8e6b8;               /* Verde menta */
    
    /* Colores de estado */
    --success-color: #7fb069;
    --warning-color: #f4a261;
    --error-color: #e76f51;
    
    /* Colores de texto */
    --text-dark: #2d3748;          /* Gris oscuro suave */
    --text-light: #4a5568;         /* Gris medio */
    --text-lighter: #718096;       /* Gris claro */
    
    /* Fondos */
    --background: #ffffff;
    --section-bg: #f1faee;         /* Crema muy suave */
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    
    /* Gradientes relajantes */
    --gradient: linear-gradient(135deg, #4a90a4 0%, #7fb069 100%);
    --gradient-light: linear-gradient(135deg, #89c2d920 0%, #a7c95720 100%);
    --gradient-cream: linear-gradient(135deg, #f1faee 0%, #ffffff 100%);
    
    /* Sombras suaves */
    --shadow: 0 10px 25px rgba(74, 144, 164, 0.15);
    --shadow-light: 0 4px 6px rgba(74, 144, 164, 0.08);
    --shadow-medium: 0 8px 15px rgba(74, 144, 164, 0.12);
    
    /* Otros */
    --border-radius: 12px;
    --border-radius-large: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    overflow-x: hidden;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   UTILIDADES Y COMPONENTES BASE
   ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* =====================================================
   LOADING SCREEN
   ===================================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-screen p {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =====================================================
   NAVEGACIÓN
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(127, 176, 105, 0.95) 0%, rgba(74, 144, 164, 0.95) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.navbar.scrolled {
    padding: 15px 0;
    background: linear-gradient(135deg, rgba(127, 176, 105, 0.98) 0%, rgba(74, 144, 164, 0.98) 100%);
    box-shadow: var(--shadow-light);
    border-bottom-color: rgba(255,255,255,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border-radius: 25px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: rgba(255,255,255,0.9);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 1px;
}

/* =====================================================
   HERO SECTIONS
   ===================================================== */
.hero {
    background: 
                url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNSIgY3k9IjUiIHI9IjEiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMSIvPgo8L3N2Zz4K');
    background-size: cover, 20px 20px;
    background-position: center, 0 0;
    background-attachment: fixed, scroll;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 62vh;
    display: flex;
    align-items: center;
}

.page-hero {
    background: 
                url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNSIgY3k9IjUiIHI9IjEiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMSIvPgo8L3N2Zz4K');
    background-size: cover, 20px 20px;
    background-position: center, 0 0;
    background-attachment: fixed, scroll;
    color: white;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

/* Forzar imagen del salar */
.hero.salar-bg {
    background: 
                url('../images/salar-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.page-hero.salar-bg {
    background: 
                url('../images/salar-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.hero::before,
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" "/><circle cx="75" cy="75" r="1" fill="white" /></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    /* opacity: 0.4; */
}

.hero-content,
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1,
.page-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-hero-content h1 {
    font-size: 3rem;
}

.subtitle,
.page-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.95;
}

.page-subtitle {
    font-size: 1.2rem;
}

.credentials {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.85;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin: 30px 0 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.9;
    transition: var(--transition);
}

.contact-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* =====================================================
   BOTONES
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-button {
    background: var(--gradient);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px;
    box-shadow: var(--shadow-light);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cta-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-large);
    padding: 35px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
}

.card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Cards especiales */
.special-card {
    background: var(--section-bg);
    border: 2px solid var(--accent-color);
}

.network-info {
    margin-top: 40px;
}

.network-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.network-link:hover {
    color: var(--accent-color);
}

/* =====================================================
   TIMELINE DE EXPERIENCIA
   ===================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.experience-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
    border-left-color: var(--accent-color);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.experience-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.experience-company {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
}

.experience-period {
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-light);
}

.experience-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.experience-summary {
    max-width: 900px;
    margin: 0 auto;
}

/* =====================================================
   ESPECIALIZACIÓN CLÍNICA
   ===================================================== */
.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.specialization-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.specialization-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 50px;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.footer p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-info {
    max-width: 800px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-top: 5px;
    min-width: 20px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =====================================================
   SECCIÓN DE PERFIL - AGREGAR AL FINAL DEL ARCHIVO styles.css
   ===================================================== */

/* Profile Section - NUEVA SECCIÓN */
.profile-section {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-image {
    flex: 0 0 250px;
}

/* Método 1: Forzar imagen con content url */
.profile-image img {
    content: url('../images/perfil.jpg') !important;
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: var(--border-radius-large) !important;
    box-shadow: var(--shadow) !important;
    transition: var(--transition) !important;
    border: 3px solid var(--border-color) !important;
    display: block !important;
}

/* Método alternativo 2: Si el anterior no funciona, usar background-image */
/*
.profile-image {
    width: 250px;
    height: 250px;
    background-image: url('../images/perfil.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: var(--border-radius-large) !important;
    box-shadow: var(--shadow) !important;
    transition: var(--transition) !important;
    border: 3px solid var(--border-color) !important;
    flex: 0 0 250px;
}

.profile-image img {
    display: none !important;
}

.profile-image:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-medium) !important;
    border-color: var(--accent-color) !important;
}
*/

.profile-image img:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-medium) !important;
    border-color: var(--accent-color) !important;
}

.profile-text {
    flex: 1;
}

.profile-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.profile-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Responsive Design para Profile Section */
@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-image {
        flex: none;
    }
    
    .profile-image img {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto;
    }
    
    /* Para método alternativo en móviles */
    /*
    .profile-image {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto;
    }
    */
    
    .profile-text h2 {
        font-size: 1.5rem;
    }
    
    .profile-text p {
        font-size: 1rem;
    }
}

/* Animación fadeInUp que necesitas agregar también */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   ÁREAS DE TRABAJO - LAYOUT CORREGIDO (REEMPLAZAR EN styles.css)
   ===================================================== */

/* Layout principal: Cards (3 columnas) | Imágenes (derecha) */
.areas-trabajo-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 40px;
}

/* Grid de cards manteniendo 3 columnas */
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Contenedor de imágenes a la derecha */
.images-container {
    position: sticky;
    top: 100px;
    height: 700px;
    overflow-y: auto;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.images-container::-webkit-scrollbar {
    width: 6px;
}

.images-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.images-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.images-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.image-item {
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.image-item:last-child {
    margin-bottom: 0;
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.image-item:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 15px 12px 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Forzar las imágenes con CSS */
.image-item:nth-child(1) img {
    content: url('../images/imagen2.jpg') !important;
}

.image-item:nth-child(2) img {
    content: url('../images/imagen1.jpg') !important;
}

.image-item:nth-child(3) img {
    content: url('../images/imagen3.jpg') !important;
}

/* Ajustar el tamaño de las cards para que se vean bien en 3 columnas */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-large);
    padding: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.3;
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.85rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Card especial para la red */
.network-info {
    margin-top: 40px;
    grid-column: 1 / -1;
}

.special-card {
    background: linear-gradient(135deg, #f1faee 0%, #ffffff 100%);
    border: 2px solid var(--accent-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive design */
@media (max-width: 1400px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .areas-trabajo-layout {
        grid-template-columns: 1.8fr 1fr;
        gap: 35px;
    }
    
    .images-container {
        height: 500px;
    }
}

@media (max-width: 968px) {
    .areas-trabajo-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .images-container {
        position: relative;
        top: auto;
        height: 400px;
        order: 2;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .images-container {
        height: 300px;
        padding: 15px;
    }
    
    .image-item img {
        height: 150px;
    }
    
    .card {
        padding: 20px;
    }
}

